@WorldNews · Post #73870 · 04.04.2026 г., 18:24
Iran targets US public opinion with online information war [Read FullArticle] @WorldNews#IranNews#InfoWar#PublicOpinion
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #239 · 3 мај
Один из самых удобных способов записать данные это использование готовых форматов, такие как JSON или YAML. Из плюсов такого подхода стоит отметить вот что: 🔸 готовый, повсеместно используемый и поддерживаемый формат 🔸 простой и понятный файл, удобочитаемый для человека 🔸 можно легко редактировать в любом текстовом редакторе без специальных программ и библиотек Но есть и минусы 🔹 затраты времени при записи файла (кодирование данных в нужный формат строки) 🔹 затраты времени при чтении файла (декодирование данных в Python объекты) 🔹 размер файла увеличивается из-за разметки данных (скобки, запятые, переносы, отступы...) 🔹 перед записью все данные должны быть помещены в память в полном объёме (не всегда) 🔹 при чтении необходимо считать весь файл в память и только потом декодировать данные Если нужно писать немного данных в несколько файлов, то затраты по времени не ощутимы. Обычно это файлы конфига или какие-либо метаданные. Это отличный вариант под такие задачи. Есть и другой поход к записи файлов - это бинарные файлы. Используется, когда данных достаточно много и никто их не собирается читать глазками😳. 🔸 очень быстрая запись 🔸 чтение значительно быстрей чем JSON, YAML итд 🔸 размер файла значительно меньше, так как нет разметки 🔸 можно записывать данные по мере поступления не загружая всё в память 🔸 можно извлечь любую часть данных независимо Из минусов 🔹 нужно определить свой формат записи данных (если не используете готовую спецификацию определённого формата) 🔹 не получится открыть файл и визуально понять что там записано, а для чтения файла потребуется знать его спецификацию. 🔹 не так-то просто создать такой файл без специальной библиотеки В таком виде удобно записывать большой массив любых однородных данных. Например, мониторинг валютной биржи или кэшированная анимация 3D геометрии. (Это не означает что нельзя записать данные разного типа, просто это будет не так удобно) Представьте себе JPG-картинку. По сути это немного мета-информации и большой массив пикселей. Тоже самое со звуком или видео файлом. Поэтому, если вы попробуете открыть картинку в текстовом редакторе вы увидите что-то вроде такого f15d cd29 a564 4578 ... 09e2 9bc4 a696 1253 ... 84e9 4de1 3b23 c24a ... 2534 5161 28e0 709d ... ... Это и есть записанные байтики. И для их чтения требуется определённый софт который знает что с ними делать. Под каждый тип файла. К чему это я? Читайте в следующем посте... #tricks#basic
Пребарај: #publicopinion
@WorldNews · Post #73870 · 04.04.2026 г., 18:24
Iran targets US public opinion with online information war [Read FullArticle] @WorldNews#IranNews#InfoWar#PublicOpinion
Hashtags
@ai_and_law · Post #97 · 29.08.2023 г., 07:04
Majority of Americans Call for Federal AI Regulation Hello, everyone! A recent poll conducted by the Artificial Intelligence Policy Institute has unveiled a strong desire among Americans for federal regulation of artificial intelligence. The poll surveyed 1,001 registered US voters, revealing that 62% expressed varying levels of concern about AI, with a remarkable 86% believing that AI could inadvertently lead to a catastrophic event. Interestingly, the majority of respondents (56%) support the idea of a federal agency overseeing AI regulation, while a striking 82% voiced their skepticism about leaving the task to tech executives. Additionally, 72% of participants expressed a preference for slowing down AI development, emphasizing caution over haste. The sentiments expressed in the poll echo the concerns raised by experts in the field, including figures like OpenAI CEO Sam Altman, Tesla CEO Elon Musk, AI pioneer Geoffrey Hinton, and even President Joe Biden, who have all highlighted the importance of addressing AI's potential risks and advocating for regulation. #AI#Regulation#AIrisks#PublicOpinion#Technology#OpenAI#RegulatoryFramework#SafetyMeasures
@american_observer · Post #5423 · 19.03.2026 г., 23:04
Netanyahu finally got his dream war with US backing — and may have picked the perfect moment to lose America for good. Bloomberg’s analysis calls Trump’s decision to launch a joint campaign with Israel against Iran the “crowning achievement” of Netanyahu’s decades-long project: ditch bipartisan consensus, bind Israel’s fate to the hard‑right base of the Republican Party, and turn US–Israel relations into a culture‑war brand. But like the attack on Iran itself, it’s a short‑term win glued to long‑term damage. Support for Israel has already cratered among US Democrats and is sliding even among Republicans; new polls show Democratic voters now tilting more toward Palestinians, with generational numbers that are devastating for Israel’s image. Among younger Americans, especially under 35, “unfavorable” is fast becoming the default setting. The Iran war pours gasoline on this trend. It sharpens the generational split inside the GOP, where older evangelicals still see Israel as sacred, while younger conservatives are tired of endless wars and trillion‑dollar guarantees. On the fringes of both parties, criticism of Israel slides into open antisemitism, and Bloomberg warns that this conflict is already raising the risk of attacks on Jewish institutions in the US. That’s the poisoned dividend of Netanyahu’s strategy: by turning support for Israel into a partisan loyalty test and wrapping it around Trumpism, he also ties Jewish safety and legitimacy to the most polarizing current in American politics. Meanwhile the material cost of this “victory” is brutal. The US–Israel war with Iran is rattling global markets and investors, driving up energy prices, disrupting trade routes and threatening global growth with tens of billions in losses; for the US and Israel, the military tab alone is running into the billions, day after day. For now, Netanyahu can boast on friendly Israeli TV that he got America into the war from day one and out‑Churchilled Churchill by dragging his superpower patron in at the start. But as US public support erodes, Democrats harden, young voters radicalize and even some Republicans flinch at the cost, that triumph looks more like a Pyrrhic win: he beat Trump in the room — and may end up sacrificing Israel’s standing in the country that bankrolls his wars. #Israel#Netanyahu#Trump#IranWar#USA#Democrats#Republicans#publicOpinion#antisemitism#geopolitics#warCost 📱American Оbserver - Stay up to date on all important events 🇺🇸