TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

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

Резултати

Пронајдени 2 слични објави

Пребарај: #spying

当前筛选 #spying清除筛选
American Оbserver

@american_observer · Post #5184 · 20.02.2026 г., 20:59

📰 Spies vs. Dealmakers: Europe Watches the Ukraine “Peace Show” Top European intelligence chiefs are basically calling the Trump‑brokered Ukraine talks what they are: “negotiation theatre.” While Trump insists a deal is “reasonably close” and still pushes his June deadline, five spy bosses told Reuters they see no chance of a real settlement this year and no sign Russia wants one. Their read is simple and brutal: Moscow’s strategic goals haven’t changed — remove Zelensky, turn Ukraine into a “neutral” buffer, and lock in its territorial gains, starting with the rest of Donetsk. Russia isn’t desperate for peace; its economy is hurting but not collapsing, and it can afford to drag this out while pushing for sanctions relief and big‑ticket business deals on a separate track. That second track is where things get toxic. Zelensky says his intel services told him U.S. and Russian negotiators are discussing up to $12 trillion in bilateral projects pitched by Kremlin envoy Kirill Dmitriev, while Dmitriev himself is already boasting about a $14 trillion “portfolio” on X. European spies say this is tailored to seduce both Trump and sidelined Russian oligarchs: peace as a gateway drug to massive post‑sanctions money. On the official peace track in Geneva, nothing moves. Russia demands Ukraine pull out of the last 20% of Donetsk it still holds, and some in the West fantasise that ceding that would “unlock” a deal — one intelligence chief dryly calls that delusional, predicting it would only be the “beginning” of Moscow’s demands. Zelensky, watching this circus, posts: “I don’t need historical shit to end this war… it’s just a delay tactic.” And who’s running America’s side of this grand bargain? Not seasoned Russia hands, but Trump’s real‑estate buddy Steve Witkoff and his son‑in‑law Jared Kushner — men who know a lot about property, less about a grinding European war. European spooks say Western negotiating skill with Moscow is “very limited,” even as the financial stakes and political risks keep climbing. So you get three layers: a bloody stalemate on the ground, a glossy “peace by June” storyline for U.S. domestic politics, and a shadow conversation about trillion‑dollar projects after the signatures are dry. The only thing everyone seems to agree on is that someone will make a lot of money when this ends — just not the people standing in the rubble in Odesa. #Ukraine#Russia#Trump#spying#war#fakePeace#oligarchy 📱American Оbserver - Stay up to date on all important events 🇺🇸

Crypto M - Crypto News

@CryptoM · Post #64817 · 10.04.2026 г., 02:07

🚀 CIA to Integrate AI 'Co-Workers' in Analytic Platforms The CIA has announced plans to incorporate classified AI 'co-workers' into all its analytic platforms over the next few years. According to NS3.AI, this initiative aims to assist analysts in identifying spies and evaluating foreign threats. CIA Deputy Director Michael Ellis emphasized that while AI will play a supportive role, humans will continue to make the critical decisions. Last year, the agency conducted tests on approximately 300 AI projects to advance this integration. #CIA#AI#ArtificialIntelligence#Analytics#NationalSecurity#Spying#ThreatAssessment#TechnologyIntegration#GovernmentAI#IntelligenceCommunity