@trumpsear_tg · Post #2202 · 27.02.2026 г., 15:04
New York Mayor Zahran Mamdani unexpectedly arrived at the White House for a meeting with Donald Trump #Trump#Mamdani 👂More on Trump's Ear ⚠️
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
Пребарај: #mamdani
@trumpsear_tg · Post #2202 · 27.02.2026 г., 15:04
New York Mayor Zahran Mamdani unexpectedly arrived at the White House for a meeting with Donald Trump #Trump#Mamdani 👂More on Trump's Ear ⚠️
@trumpsear_tg · Post #1829 · 26.11.2025 г., 00:04
Really the spitting image of Mamdani #Trump#Mamdani 👂More on Trump's Ear
@trumpsear_tg · Post #1825 · 25.11.2025 г., 18:01
Trump loves handsome and confident men very much. For example, Bill Clinton. No wonder Mamdani kept his hands in one place throughout the meeting. #Trump#Mamdani 👂More on Trump's Ear
@trumpsear_tg · Post #2037 · 21.01.2026 г., 19:59
Fox News is outraged that the new socialist mayor of New York, Zohran Mamdani, installed a bidet in his residence. The article did not specify which specific bidet was installed in the mayor's residence, but kindly noted that it could cost from 40 to 2000 dollars. #Mamdani#Media 👂More on Trump's Ear ⚠️
@trumpsear_tg · Post #1748 · 07.11.2025 г., 00:00
Media about Mamdani's victory #Media#Mamdani 👂More on Trump's Ear
@trumpsear_tg · Post #1808 · 21.11.2025 г., 01:00
This person is part of President Trump's inner circle and influences his decision-making. Loomer quickly corrected the tweet when it was explained to her that the whole world uses Arabic numerals anyway. #Mamdani#GOP 👂More on Trump's Ear
@trumpsear_tg · Post #1891 · 10.12.2025 г., 19:05
The warnings were stark. If Zohran Mamdani were to win the New York City mayoral election, his plans to raise taxes – slightly – on the city’s wealthiest residents would cause millionaires to bolt en masse, decamping to lower-tax states such as Florida and Texas. #NY#Mamdani 👂More on Trump's Ear
@trumpsear_tg · Post #1769 · 12.11.2025 г., 15:05
Hochul opposed free buses, but is ready to support Mamdani's other ideas. New York Governor Kathy Hochul refused to support the idea of the new mayor of the city, Zohran Mamdani, to make bus travel free. At the Somos Puerto Rico conference in San Juan, she said she was not ready to "take money out of a system that survives by paying for travel." According to her, assistance can be sent to those who are unable to pay, but the payment cannot be completely canceled, writes abc7NY. Hochul says that canceling the payment will hit the MTA's budget and the stability of transportation. And Transport Minister Sean Duffy wrote on social media that "nothing is free" and called Mamdani's idea utopian. The mayor himself considers the victory a "mandate for change" and promised to fulfill all his election promises, including free buses. In addition, Mamdani wants to expand access to kindergartens. According to Hochul, the program will require about $15 billion, but she is ready to support it. #NY#Mamdani 👂More on Trump's Ear
@trumpsear_tg · Post #1743 · 06.11.2025 г., 14:12
🔥Mamdani presented his plan for the transformation of the city The new mayor of New York Zohran Mamdani promised to turn the metropolis into a "city accessible to all" 🗺 and has already presented the first points of his program. His plan involves large-scale social reforms, which critics call utopian, and supporters - a chance for a new era for New York. One of Mamdani's main initiatives is free public transport. 🚎 He wants to make all bus routes within the city free and expand the network of dedicated lanes. In addition, the mayor intends to introduce free kindergartens for families with children under five years of age and open city grocery stores with a minimum margin. 🛒 Economists warn that similar experiments in the United States have already failed: for example, in Kansas City, such stores have closed due to losses and thefts. Mamdani pays special attention to housing: he promised to freeze the growth of rental rates 🏠 and build a new "affordable" housing stock. The mayor plans to pay for all this by increasing taxes for the rich and large companies — by 2 percentage points for millionaires and up to 11.5% for businesses. 📊 Experts warn that such measures can scare off investors and lead to companies fleeing the city. In the field of security, Mamdani wants to reduce the role of the police ⚡️ and transfer some of its functions to social services. It will not be easy for the new mayor to implement an ambitious program, since for tax changes he needs the consent of the governor of the state, Kathy Hochul, who has already stated that she does not intend to raise taxes. #NY#Mamdani 👂More on Trump's Ear
@trumpsear_tg · Post #1731 · 04.11.2025 г., 14:01
Once upon a Time in New York #NY#Mamdani 👂More on Trump's Ear ⚠️
@trumpsear_tg · Post #1729 · 03.11.2025 г., 21:59
Jeremy Corbyn supports Mamdani #NY#Mamdani 👂More on Trump's Ear ⚠️
@savinobalzano · Post #1203 · 05.11.2025 г., 11:55
https://x.com/SavinoBalzano/status/1986039391706353723?t=gAy-_lGAvfSxEYApv8mr-w&s=19 Desidero esprimere le mie congratulazioni alla sinistra italiana. Mi inchino dinanzi a tutti i sinistri d'Italia, a tutti i profili con la bandierina arcobaleno e l'emoticon del pugno chiuso. Desidero altresì congratularmi con tutti i nostri ecologisti: oggi ho letto messaggi di esultanza, assolutamente comprensibile, per il trionfo degli autobus elettrici. Socialismo ecosostenibile, nuove parole d'ordine. Insomma, rivolgo tutte le mie felicitazioni alla sinistrucola italiana per l'elezione di Zohran #Mamdani a sindaco di #NewYork. Traguardo davvero epocale, ma nessun indugio, mi raccomando: mai crogiolarsi sugli allori. Schlein, Fratoianni e Bonelli guardano già a Miami.