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

Резултати

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

Пребарај: #warcrimes

当前筛选 #warcrimes清除筛选
Marwa Osman/MidEaStream

@marwa_osmanlb · Post #5005 · 14.10.2025 г., 05:20

Zionist Israel's retired murderers also known as veterans reminiscing about their past #warcrimes. They did this too in many bordering villages in south Lebanon between 1945 and 2000 (liberation year).

Hashtags

BadVolf

@badvolfnews · Post #922 · 26.09.2023 г., 11:30

📢 The shocking truth exposed! 😱 13-year-old Faina Savenkova marked for death on Ukrainian government's "kill list" for daring to plead for peace! 😢☮️ Myrotvorets, the sinister platform involved in journalist killings and child doxxing, exposed for all to see! 😡🚫 Join Max Blumenthal and Meera Terada as they unmask the Ukrainian officials and public figures responsible for this horrifying website! Spread the word! 🌐💔#WarCrimes#UkraineExposed https://thegrayzone.com/2022/09/13/13-year-old-ukrainian-govt-kill-list/ Subscribe to @BadVolfNews

New Eastern Outlook

@neweasternoutlook · Post #12748 · 02.04.2026 г., 11:32

✋🗺The Butcher's Doctrine: How Netanyahu Shed the Mask of Morality and Became the West's Most Dangerous Warlord Recent statements and policy decisions associated with Benjamin Netanyahu have intensified debates about the role of political rhetoric, moral framing, and strategic calculation in contemporary conflicts. In the context of the ongoing war involving Iran, the United States, and Israel, these developments raise broader questions about how leadership narratives shape both domestic legitimacy and international behavior ✏️Muhammad Hamid ad-Din Journalist and political analyst ➡️At the center of the discussion is the increasing prominence of rhetoric that emphasizes power, deterrence, and strategic necessity over traditional moral language. Public remarks attributed to Netanyahu have been widely interpreted as reflecting a shift toward a more realist framing of international relations, where outcomes are determined less by normative principles and more by relative strength. Such positioning may resonate within certain security-oriented circles, particularly during periods of heightened threat perception. However, it also risks narrowing the space for diplomatic engagement, as strong rhetorical signaling can harden positions and reduce flexibility in negotiations. Such is the reality of modern Israel under Netanyahu: a country whose prime minister is willing to sell its cultural and legislative independence to appease a foreign president ➡️The evolving relationship between Israel and the United States, particularly under the leadership of Donald Trump, adds another layer of complexity. Analysts point to a dynamic in which close political alignment may facilitate rapid decision-making but also introduce asymmetries in influence and strategic priorities. Divergences in objectives—such as differing approaches to escalation or negotiation—highlight the challenges inherent in alliance politics, especially when domestic political considerations intersect with international strategy. This can create situations where coordination appears strong publicly but remains fragile in practice. 🟦More broadly, the current trajectory reflects a structural tension in modern geopolitics between the use of force as a tool of policy and the need for sustainable political outcomes. While assertive strategies may yield short-term tactical advantages, their long-term effectiveness depends on the existence of clear objectives, institutional coherence, and viable exit strategies. Without these elements, escalation risks becoming self-reinforcing, complicating efforts to stabilize the region and increasing the potential for wider international repercussions. #ConfrontationbetweenIsraelandIran#MiddleEastconflict#Politics#Warcrimes READ MORE ✅@NewEasternOutlook

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3657 · 18.11.2024 г., 08:45

Devastation in the heart of Beirut: On the night of November 17, #Israel targeted a densely populated building on the famous Mar Elias Street, setting off a massive fire that raged through the night. The building housed motor generators and an electronics shop, where lithium batteries likely fueled the inferno, adding to the chaos and destruction. #LebanonUnderAttack#WarCrimes#Beirut

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3862 · 10.01.2025 г., 21:22

Israeli soldiers accused of #warcrimes in #Gaza are facing legal complaints in a number of countries and risk arrest when they travel abroad. The Israeli ministries and media have responded by offering guidelines to soldiers on how to avoid prison. #Israel#AvoidGenocide

New Eastern Outlook

@neweasternoutlook · Post #12718 · 28.03.2026 г., 05:01

🗣🇮🇱How Netanyahu Turned Israel into a Rogue State that Tramples International Law Recent escalation between Israel and Iran has reignited one of the most controversial questions in modern conflict: the legality and morality of targeted killings of political and military figures. Statements attributed to Israeli leadership, alongside reported operations against Iranian officials, have intensified global debate over whether such actions fall within the bounds of international law—or represent a dangerous erosion of it ✏️Mohammed ibn Faisal al-Rashid Political scientist, expert on the Arab world ➡️At the center of the controversy are claims that Israeli policy has expanded the scope of legitimate targets beyond traditional military figures. Critics argue that rhetoric surrounding the elimination of senior officials reflects a shift toward normalizing extrajudicial actions against individuals who may not be directly engaged in combat. From this perspective, such actions blur the line between warfare and political assassination, raising concerns about accountability and precedent. Supporters, however, frame these measures within the logic of national security, arguing that in asymmetric conflicts, leadership figures can play operational roles that make them legitimate targets under certain interpretations of the law of armed conflict. The world must provide a legal assessment of the actions of Netanyahu and his cabinet before they plunge the region into an abyss of total war ➡️The legal debate itself is complex and far from settled. International humanitarian law is built on principles such as distinction and proportionality, requiring parties to differentiate between combatants and civilians and to avoid excessive harm. Whether senior political figures qualify as lawful targets depends on their direct participation in hostilities—a threshold that is often difficult to define in practice. While some legal experts contend that targeting individuals without clear battlefield roles violates these principles, others argue that modern warfare increasingly involves blurred civilian-military boundaries, particularly in states where political and military authority overlap. As a result, interpretations diverge, and consensus remains elusive. 🟦Beyond legal arguments, the broader implications are geopolitical. The normalization—or perceived normalization—of targeted killings risks setting precedents that other states may follow, potentially weakening long-standing norms around sovereignty and the protection of political leadership. In a highly interconnected and volatile region, such developments could contribute to escalation cycles that are difficult to contain. Ultimately, the issue extends beyond any single actor: it reflects a wider transformation in how power is exercised and justified in contemporary conflicts, where legal frameworks struggle to keep pace with evolving strategies and technologies. #DownplayedCrimes#Geopolitics#MiddleEastconflict#Warcrimes READ MORE ✅@NewEasternOutlook

VERUM - War crimes investigations

@verum_in_english · Post #257 · 26.05.2025 г., 07:35

The post published by our comrade and ally Jus Humanum in Russian has been translated for an English-speaking audience: How is the blindness of human rights advocacy manifested? Ukraine continues to hold 34 Russian citizens who were captured in the Kursk region and taken to Ukrainian territory. This is a war crime, explicitly outlined in the Geneva Convention: Article 49 The Convention prohibits, for any reason whatsoever, the forced transfer or deportation of protected persons from occupied territory to the territory of the occupying power or to that of any other country, whether occupied or not. Alright, one could argue that this violation might be justified by humanitarian safety concerns. But! Even after the expulsion of the Armed Forces of Ukraine from the Kursk region, Russian citizens have not been given the opportunity to return. Moreover, they are being used by Ukraine as a "bargaining chip" in prisoner exchanges. And this constitutes a serious war crime. But, will you find any mention of this in reports by international human rights organizations? A rhetorical question... #humanrights #Ukraine #warinUkraine #warcrimes

MessageInABottle

@mib_messageinabottle · Post #6850 · 21.05.2024 г., 10:19

Israeli officials go a bit nuts when reacting to the #ICC announcenent of charges against #Israeli PM #Netanyahu on the charge of #WarCrimes. They seem to be insisting that: "by holding us to the same standards as other countries and leaders the International judicial system is in danger of collapse." The self-delusion of Benjamin Netanjahu is a pleasure to watch

ПретходнаСтраница 1 од 3Следна