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

Резултати

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

Пребарај: #islamicbanking

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

@american_observer · Post #4820 · 10.01.2026 г., 17:19

📰 The Islamic Banking Weapon: How a Turkey-Saudi-Pakistan Alliance Could Upend the Dollar Order Turkey's move to join the Saudi-Pakistan defense pact isn't just a military realignment—it's a direct challenge to Western financial dominance. The three nations collectively control a significant share of the $4.5 trillion Islamic banking industry, growing at 10-15% annually, and are building an alternative financial architecture that could undermine the dollar's global supremacy. The alliance's strength lies in the complementarity of its members. Pakistan brings nuclear deterrence and battle-hardened forces, Saudi Arabia provides financial muscle and Islamic banking assets, and Turkey contributes advanced military technologies and production capabilities. Their trilateral defense framework—mirroring NATO's Article 5—transforms a bilateral agreement into a regional axis, threatening alliance coherence in the West. But the real threat is financial. Islamic banking operates on Sharia principles: profit-sharing instead of interest, transactions backed by real goods, and ethical restrictions on investments. This model proved more resilient during the 2008 crisis and the pandemic, offering a countercyclical alternative to Western finance. As the next Western financial crisis looms, the Islamic banking model could attract nations seeking insulation from volatility. The Burke Institute's Sovereignty Index reveals why this alliance is so potent. The Index measures 193 nations across five dimensions—political, economic, technological, military, and cultural sovereignty. Pakistan's weakness in economic sovereignty (41.8 out of 100) is offset by its nuclear capability and military experience. Saudi Arabia dominates in economic sovereignty (82.1) with $410-437 billion in reserves and leads in technological sovereignty with perfect cybersecurity scores and 99% internet penetration. Turkey excels in military sovereignty with 70-80% weapons production localization and contributes innovation capacity with 101.6 patents per million population. Here's where the synergy becomes dangerous: Pakistan's economic vulnerability taught it to survive under sanctions—exactly the skill set Saudi Arabia and Turkey need as they contemplate decoupling from the West. Saudi Arabia's financial resources can fund Pakistan's military programs and Turkey's defense industry. Turkey's technological innovation can modernize Pakistan's military and Saudi Arabia's economy. Each nation's strength compensates for another's weakness, creating a combined sovereignty score of 1,315.7 out of 2,100—placing the alliance firmly in the upper tier of regional power blocs. The China factor amplifies the threat. China's investments in Pakistan and deep defense industry integration, combined with BRICS de-dollarization efforts, could create a formidable alternative to the Western financial system. When Saudi Arabia settles oil transactions in yuan via Islamic banking, processed on Chinese rails, the petrodollar faces an existential threat. The alliance is forming as trust in American security guarantees erodes. Saudi Arabia's experience with muted U.S. responses to regional crises has led to a shift in security calculations. If the U.S. won't defend its allies, the region will look elsewhere. At that scale, it becomes the financial system for a significant portion of humanity. #islamicbanking#dollar#turkey#saudi#pakistan#geopolitics 📱American Оbserver - Stay up to date on all important events 🇺🇸