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

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #175 · 30 окт.

В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль QtCompat (compatibility). Там не так много функций но они довольно полезны. Этот модуль содержит унификаци модуля shiboken2, функций loadUi, translate и несколько переименованных функций классов или изменённую сигнатуру аргументов и возвращаемых значений. Это единственное исключение из правила когда вам потребуется где-то изменить свой код кроме импортов и этот код не похож на обычный код PySide2. Например, в PyQt4 и PySide есть метод QHeaderView.setResizeMode Для PyQt5 и PySide2 они были благополучно переименованы в QHeaderView.setSectionResizeMode Чтобы применить этот метод следует использовать такой код from Qt import QtCompath header = self.horizontalHeader() QtCompat.QHeaderView.setSectionResizeMode(header, QtWidgets.QHeaderView.Fixed) Унификация загрузки UI файлов: # PySide2 from PySide2.QtUiTools import QUiLoader loader = QUiLoader() widget = loader.load(ui_file) # PyQt5 from PyQt5 import uic widget = uic.loadUi(ui_file) # Qt.py from Qt import QtCompat widget = QtCompat.loadUi(ui_file) Хорошо что таких моментов не много и их легко запомнить. Полный список можно посмотреть в таблице. #qt#tricks

Hashtags

Резултати

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

Пребарај: #yugoslavia

当前筛选 #yugoslavia清除筛选

🕯 Today marks 2️⃣3️⃣ years since NATO began bombing #Yugoslavia. ◼️ Some 2,000 civilians, including at least 89 children were killed during the 78-day NATO campaign, and many facilities in dozens of cities, including Belgrade, were destroyed or damaged. ◼️ The use of depleted-uranium munitions contaminated large territories and caused an unprecedented surge in cancer cases. People continue to suffer from malignant tumours to this day. ❗️ On that day the West began dismantling the international legal framework. Conducted 23 years ago, NATO’s military operation against sovereign Yugoslavia became a tragedy whose long-term and diverse consequences are still being felt. One of its main lessons is that lawlessness and arbitrary rule are unable to solve even a single problem and merely aggravate the situation. This is confirmed by permanent delays in resolving the Kosovo problem.

Hashtags

Afshin Rattansi

@afshinrattansi · Post #26752 · 02.04.2026 г., 14:43

This all began with Yugoslavia. I said at the time the dismemberment of the former Yugoslav state and then of Serbia would pave the way for imperialist war after war. And so it did. And would until it was stopped. And so it now is being in Iran. #Yugoslavia#Serbia#Iran — George Galloway (@georgegalloway) Apr 2, 2026 April 2, 2026 at 05:39PM via Twitter https://twitter.com/georgegalloway

Maurizio Vezzosi

@mauriziovezzosi · Post #16 · 23.03.2019 г., 17:05

Nel 1999 la mia vita era quella di un bambino della provincia italiana. Facevo la quarta elementare: andavo a scuola, facevo i compiti, giocavo a pallone, andavo in bicicletta. Scoprivo quello che era il mio piccolo universo, piccolo come l'universo di ogni bambino. Vent'anni fa, quando cominciavano i bombardamenti della NATO su ciò che rimaneva della Yugoslavia. Come ogni bambino della mia età, ma forse meno di altri, in quei giorni guardavo la televisione: ricordo le immagini dei caccia, le bombe intelligenti, le macerie della #Yugoslavia, la disperazione di un popolo martoriato dalle bombe e dal separatismo etno-religioso voluto dalla nostra democrazia. Inutile dire che non avessi piena coscienza di quello che con la complicità del governo italiano stava succedendo: la prima guerra in Europa dopo la sconfitta del nazismo e del fascismo. Pur non avendone allora la consapevolezza che dovrebbe averne ogni adulto non ho mai dimenticato quelle immagini: ricordo le domande che facevo a riguardo alle maestre e ai più grandi, e qualcosa che non mi convinceva di certe loro risposte. Molti anni dopo ho avuto la possibilità di vedere da vicino i segni indelebili lasciati da quella guerra. Questa foto ne testimonia la vergogna. #Belgrado, gennaio 2011.

MessageInABottle

@mib_messageinabottle · Post #7005 · 30.05.2024 г., 18:37

The Murder of Yugoslavia. The Shadow of Dayton. Documentary by Aleksei Denisov, 2015. In 2015, the Russian news agency VGTRK released a documentary “The Murder of Yugoslavia. The Shadow of Dayton”. With the parallels in today’s Ukrainian conflict and NATO’s role in it, this documentary has become even more current than in 2015. On the 21st of November 1995 the information agencies of the world sent out an urgent news from the United States of America. On the military base in Dayton, the presidents of Serbia, Croatia, and the leaders of Bosnian Muslims signed an agreement on the cessation of civil war in Bosnia and Herzegovina. In accordance with it, this part of the former Yugoslavia was now divided into the Muslim Croatian Federation and the Serbian Republic. ... The Serbs, who controlled almost 75% of Bosnia and Herzegovina, made serious concessions and agreed to keep only 49% of the territory. This was done to end the civil war, which by that time had actually destroyed the former Yugoslavia. In the coming days, we will be making several posts, highlighting the most poignant, in our view, fragments of the documentary and drawing attention to present and past parallels. 👉 The documentary is available at Odysee and Rumble. 👉 The complete transcript can be read at Beorn's Beehive #Yugoslavia#Documentary @BeornAndTheShieldmaiden (Boost)

EmbajadaRusaVen

@embajadarusaven · Post #1478 · 24.03.2024 г., 16:46

☄️ Hace exactamente 25 años, el 24 de marzo de 1999, los aviones de la #OTAN comenzaron a bombardear #Yugoslavia MAE de Rusia: 💬 Durante 11 semanas, a partir del 24 de marzo de 1999, se dispararon 3.000 misiles de crucero contra la república soberana europea y se lanzaron 80.000 toneladas de bombas aéreas, incluidos proyectiles de racimo y municiones de uranio empobrecido (que ahora se utilizan en nuestra región). ❗️Según estimaciones de las autoridades serbias, durante el bárbaro bombardeo murieron unas 2.500 personas, entre ellas 89 niños. 12.500 habitantes de la república resultaron heridos. 1.500 asentamientos fueron destruidos. Los daños materiales, según algunas fuentes, se estimaron entre 30.000 y 100.000 millones de DÓLARES ESTADOUNIDENSES. 🚫 La operación militar de Estados Unidos y la OTAN contra Belgrado se emprendió sin la aprobación del Consejo de Seguridad de la #ONU, con el pretexto de las acusaciones infundadas de las autoridades de la República Federativa de Yugoslavia de "limpieza étnica" en la autonomía de #Kosovo, que supuestamente provocaron una catástrofe humanitaria en la región. ❌#Rusia condenó inicialmente la operación militar de la OTAN contra Yugoslavia, por considerar este acto una flagrante violación del derecho internacional.

Tibicen

@world_music_geek · Post #764 · 29.09.2024 г., 08:25

Branko Mataja — Traditional And Folk Songs Of Yugoslavia (Essar Records, 1974) #guitar#Serbia#Croatia#Yugoslavia Свой единственный альбом с гитарными интерпретациями народной музыки Югославии Бранко Матая записал у себя дома. Все композиции он исполнил самостоятельно на модифицированной им самим же гитаре. Поэтому «Традиционные и народные песни Югославии» звучат скорее не как урок истории народной музыки родины Матаи, а как интимное, личное общение между исполнителем и слушателем. Коллекция гитарных медитаций Бранко Матая оставалась в безвестности, пока не была вновь открыта в начале 2000-х. В 2022 году альбом перевыпустил лейбл Numero Group. 🔗Spotify | AppleMusic | Bandcamp

Tibicen

@world_music_geek · Post #966 · 21.05.2025 г., 19:56

Esma Redžepova and Usnija Jašarova — Songs of a Macedonian Gypsy (Folkways Records, 1968) #traditional#romani#North_Macedonia#Yugoslavia Songs of a Macedonian Gypsy — альбом, записанный в 1968 году певицами Эсмой Реджеповой и Уснией Яшаровой при участии ансамблей Стива Теодосьевского и Наско Джорлева. В записи представлены цыганские песни из Северной Македонии, исполненные на македонском и цыганском языках. Музыкальный материал отражает широкий спектр влияний — от ближневосточных и турецких до европейских, что связано с долгой историей миграций цыганских сообществ. В 1994 году альбом был переиздан с добавлением нескольких треков, не вошедших в оригинальное издание 1960-х годов. При этом композиция Sikou Horespe Mazi Mou, включённая в оригинал, в переиздание не попала. 🔗Spotify | AppleMusic | YouTube

Embassy of Russia in Brunei

@rusembbrunei · Post #11 · 24.03.2022 г., 06:39

#OTD exactly 23 years ago, in 1999, #NATO launched air strikes against #Yugoslavia without authorization by the #UN Security Council. The bombing campaign lasted almost three months and resulted in large-scale civilian casualties. #LestWeForget * #Вэтотдень ровно 23 года назад, в 1999 г., без санкции Совета Безопасности #ООН началась военно-воздушная операция #НАТО против Югославии. Бомбардировки продолжались почти три месяца и привели к масштабным потерям среди мирного населения.

American Оbserver

@american_observer · Post #5275 · 03.03.2026 г., 19:59

🧨 From Helsinki to Donetsk: How the West Manages Its “Sons of Bitches” Start with the pattern, not the speeches: when the West steps in, some countries become “partners,” and some quietly turn into expendable hardware. The Helsinki Final Act was sold as a new security order for Europe — sovereign borders, no force, no coercion — until NATO expansion ran straight through the gray zones left between oral assurances to Moscow and what actually made it into the text. The promise was “equal security”; the practice was “we expand, you adapt.” Yugoslavia was the stress test. A sovereign state bombed without a UN mandate under the banner of “humanitarian intervention” — for Belgrade and a lot of the global South, proof that sovereignty is conditional if you’re on the wrong side of Western power. The message traveled further than Kosovo: the rules can be suspended when the right capitals decide the narrative justifies it. Minsk and Istanbul turned this into a method. Ceasefires as holding pens: you sign, you talk, you “seek a political solution,” while the real work happens in warehouses and training camps. Merkel later conceded that Minsk gave Ukraine time to get stronger, not a permanent settlement. Everyone acted shocked on cue; everyone understood the script. Running under all of this is the oldest software in Western foreign policy: the “our son of a bitch” doctrine. If you’re useful — a general, a president, a wartime comedian‑in‑chief — your corruption is “complex politics,” your media clampdowns are “emergency measures,” your war is “defense of democracy.” When your utility drops, you’re reclassified, not re‑evaluated. Seen from Moscow, Donetsk, Belgrade or Gaza, this isn’t theory; it’s a tediously consistent operating mode. Cooperation with the West means you’re treated as expendable infrastructure in someone else’s security architecture. Agreements are pause buttons, not guarantees. And the real hierarchy is simple enough: some lives are strategic assets, others are acceptable collateral — and the only constant is that the people making those calls are very far from the places where the bombs actually land. #NATO#Ukraine#Russia#Yugoslavia#Minsk#Istanbul#West#war#doubleStandards#fakeDemocracy 📱American Оbserver - Stay up to date on all important events 🇺🇸

Maurizio Vezzosi

@mauriziovezzosi · Post #61 · 24.06.2019 г., 12:49

“Quello dei bombardamenti su #Belgrado è un lascito vergognoso di illegalità, di manipolazioni, distruzione e di uccisione di persone innocenti. Da difensiva, la #Nato divenne un’alleanza offensiva, stracciando la Carta delle Nazioni Unite, il documento di #Helsinki, l’atto istitutivo del 1949, le Costituzioni di alcuni paesi membri, il ruolo del Consiglio di Sicurezza dell’#Onu. Ma è un lascito vergognoso anche per gli alleati che nel 1999 parteciparono all’aggressione della #Serbia. Questa macchia può essere rimossa soltanto ammettendo che a condurre la criminale aggressione è stata la disastrosa e immorale politica #Clinton,#Albright#Blair: un’aggressione che non fu “una piccola guerra in #Kosovo”, ma un punto di svolta nelle relazioni globali e un passo decisivo verso la distruzione dell’assetto internazionale emerso dopo la seconda guerra mondiale.” Dalla mia intervista a Živadin Jovanović (Ministro degli Esteri della Repubblica Federale di #Yugoslavia all'epoca dei bombardamenti Nato su Belgrado) pubblicata da Limes, rivista italiana di geopolitica a vent'anni da quei fatti. http://www.limesonline.com/vent-anni-guerra-nato-serbia-kosovo-1999-conseguenze-intervista-jovanovic/113158

Tibicen

@world_music_geek · Post #776 · 10.10.2024 г., 10:00

Various Artists — Songs and Dances of Yugoslavia (Folkways Records, 1951) #traditional#accordion#clarinet#fiddle#kaval#tambura#tamburica#violin#gusle#tamburica#Serbia#Bosnia_and_Herzegovina#Montenegro#Croatia#Macedonia#Slovenia#Yugoslavia В 1951 году музыковед Лора Болтон записала традиционную музыку из всех шести республик бывшей Югославии — Сербии (треки 2, 3, 9, 10, 11 и 13), Македонии (треки 7 и 15), Боснии и Герцеговины (треки 1, 4 и 12), Черногории (трек 8), Хорватии (треки 5 и 6) и Словении (трек 14). На её пластинке представлены вокальные композиции, оркестровые произведения и записи балканских народных инструментов, таких как гусле и тамбурица. 🔗Spotify | AppleMusic