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

Резултати

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

Пребарај: #milesguo

当前筛选 #milesguo清除筛选
Free•News

@NFSCHimalayaNews · Post #296224 · 11.03.2026 г., 14:37

【CCP Provokes Regional Disputes and Its UN Strategy】 During its most dangerous phase, the Chinese Communist Party (CCP) stirs conflicts in Asia through North Korea and exerts pressure internationally via Iran and Russia. In South America, Africa, and the Southern Hemisphere, the CCP mainly manipulates United Nations voting to shape global public opinion and decisionmaking rather than using direct military force. In Asia, the CCP fuels tension among North Korea, South Korea, and Japan to tie down the United States and distract attention from the RussiaUkraine war, laying the groundwork for possible future actions against Taiwan. While the approach may appear sophisticated on the surface, it carries great risk and is fundamentally flawed. 【中共挑起地區爭端及其聯合國戰略】 在最為危險的階段,中國共產黨通過朝鮮在亞洲挑起衝突,並通過伊朗和俄羅斯在國際上施加壓力。 在南美洲、非洲和南半球,中共主要通過操縱聯合國投票來影響全球輿論和決策,而非直接訴諸武力。 在亞洲,中共煽動朝鮮、韓國和日本之間的緊張關係,以牽制美國,轉移國際社會對俄烏戰爭的關注,並為未來可能對台灣採取的行動鋪路。 這種策略表面上看似高明,實則風險巨大,且存在根本性缺陷。 #MilesGuo#TakeDownTheCCP

Free•News

@NFSCHimalayaNews · Post #296190 · 09.03.2026 г., 19:51

Strategy to Eliminate the CCP: Cutting Off Western Economic and Political Support! The CCP knows that without economic and political backing from the U.S. and the West, it cannot survive. The mission of the New Federal State of China is to make the West realize that it must eliminate the CCP's hidden influence in the U.S. and Europe and cut off financial support. Only by doing this can the West restore security and civilization, reduce global disasters, expose the truth about the coronavirus, and maintain world stability and peace. 消滅中共的戰略:切斷西方經濟和政治支持! 中共深知,若失去美國及西方的經濟和政治支持,它便無法生存。新中國聯邦的使命正是讓西方覺醒:必須消除中共在美國和歐洲的隱蔽影響力,並切斷其經濟支持。唯有如此,西方才能恢復安全與文明,減少全球災難,揭露新冠病毒的真相,維護世界穩定與和平。 #MilesGuo#TakeDownTheCCP

Free•News

@NFSCHimalayaNews · Post #297082 · 16.04.2026 г., 15:55

Rule 2004 is a sweeping discovery weapon. A Trustee can compel documents, records, and testimony from nearly anyone deemed tied to a debtor’s estate, with far broader reach than criminal process. In Miles Guo’s case, that power was exercised by a Trustee whose glaring conflicts surfaced only when challenged, then went unaddressed. Subpoenas reached deep into the anti-CCP movement, targeting hundreds of Guo’s followers, supporters, banks, and even his legal team. The stated aim was asset recovery. The real function was pressure: map the network, find the weak points, and squeeze. 第2004條是一項威力巨大的證據開示武器。受託人可以強制要求幾乎任何被認為與債務人財產有關聯的人提供文件、記錄和證詞,其適用範圍遠超刑事訴訟程序。 在郭文貴的案件中,這一權力由一名受託人行使,其明顯的利益衝突直到遭到質疑時才浮出水面,隨後卻未得到解決。傳票深入到反共運動內部,針對郭文貴的數百名追隨者、支持者、銀行,甚至他的律師團隊。表面上的目的是追回資產,但實際目的卻是施壓:摸清關係網,找出薄弱環節,並加以施壓。 #MilesGuo#NFSC#TakeDownTheCCP

Free•News

@NFSCHimalayaNews · Post #297081 · 16.04.2026 г., 15:44

The case against Guo was not built by the SDNY alone. By 2022, Homeland Security and the FBI were already approaching followers while seized accounts fueled panic and CCP operatives hidden inside the movement spread the scam narrative. At the same time, a bankruptcy process opened a quieter channel of pressure. After DOJ abruptly replaced its first vetted trustee with Luc Despins of Paul Hastings, a firm with deep business ties in Communist China, a new layer of access opened. 針對郭文貴的指控並非僅由紐約南區聯邦檢察官辦公室(SDNY)單獨構建。早在2022年,美國國土安全部和聯邦調查局(FBI)便已開始接觸其追隨者;與此同時,被查封的賬戶加劇了恐慌情緒,而潛伏在該運動內部的中共特工則趁機散布“騙局”論調。與此同時,破產程序開闢了一條更為隱蔽的施壓渠道。在司法部(DOJ)突然撤換其此前已通過審查的首任受託人,轉而任命保羅·黑斯廷斯律師事務所(Paul Hastings)的盧克·德斯平斯(Luc Despins)接手之後——鑑於該律所與共產中國有著深厚的商業聯繫——一條新的介入渠道隨之開啟。 #MilesGuo#NFSC#TakeDownTheCCP

Free•News

@NFSCHimalayaNews · Post #297017 · 14.04.2026 г., 14:01

By moving first with arrests, warrants, and seizures, the politicized and weaponized justice system turned false accusations into public belief. Inside the movement, CCP operatives waited as fear and doubt spread. Then the Three Warfares escalated: the psychological operation and legal offensive widened from one man to an entire network, tightening pressure until someone broke. Four months before trial, the superseding indictment revealed the tactic in full: widen the circle, squeeze the weakest links, and find the witnesses needed to carry the case. 通過率先採取逮捕、簽發搜查令及扣押資產等行動,這個被政治化並淪為武器的司法系統,成功地將虛假指控轉化為公眾的普遍認知。在運動內部,中共特工靜待恐懼與懷疑蔓延。隨後,“三戰”(Three Warfares)策略全面升級:心理攻勢與法律攻勢的打擊範圍從針對個別目標擴大至整個網絡,步步緊逼,直至有人徹底崩潰。在庭審開始前四個月,一份補充起訴書徹底揭示了這一策略的全貌:擴大打擊圈子,擠壓最薄弱的環節,從而搜羅維持整個案件所需的證人。 #MilesGuo#NFSC#TakeDownTheCCP

Free•News

@NFSCHimalayaNews · Post #297002 · 14.04.2026 г., 13:10

A congressional report laid out the CCP’s political warfare model—public opinion warfare, psychological warfare, and legal warfare. Guo’s case is the best real-world example of that strategy in action. For years, false allegations against Guo were repeated until they hardened into accepted fact, while fear and doubt were used to weaken belief. Preserved court evidence made the strategy explicit: shape media coverage, manipulate public consensus, then carry that pressure into the courtroom. 一份國會報告詳細闡述了中共的政治戰模式——輿論戰、心理戰和法律戰。郭文貴案正是這一戰略在現實世界中付諸實踐的的最佳例證。多年來,針對郭文貴的虛假指控被反覆炒作,直至被固化為公認的事實,同時利用恐懼和懷疑來動搖人們的信念。保存下來的法庭證據清晰地揭示了這一戰略:先塑造媒體報道,再操縱公眾輿論,最後將這種壓力帶入法庭。 #MilesGuo#NFSC#TakeDownTheCCP

Free•News

@NFSCHimalayaNews · Post #296969 · 12.04.2026 г., 03:16

After the fire, the evidence was gone. What remained was the government’s narrative: if supporters say they were harmed, it is fraud; if they say they were not, they were “brainwashed” by Guo. That is not justice. It is inverted justice. A mission to take down the CCP is recast as manipulation, belief as criminality, and dissent as deception. The same DOJ that recognized Guo as a top CCP repatriation target tried to erase an entire movement by redefining its participants as “victims,” whether they agreed or not. 火災過後,證據蕩然無存。留下的唯有政府的一套說辭:如果支持者聲稱自己遭受了損失,那就是欺詐;如果他們聲稱沒有遭受損失,那就是被郭文貴“洗腦”了。這絕非正義,而是正義的顛倒。旨在推翻中共的使命被定性為操縱;堅定的信仰被視為犯罪行徑;而異議之聲則被誣指為欺騙。正是那個曾認定郭文貴為中共頭號遣返目標的美國司法部,如今卻試圖通過將該運動的參與者重新定義為“受害者”——無論他們是否認同——來徹底抹殺這場運動。 #MilesGuo#NFSC#TakeDownTheCCP

Free•News

@NFSCHimalayaNews · Post #296921 · 06.04.2026 г., 15:24

The government’s math doesn’t work. After the 2021 GTV settlement, $487M was already returned. Himalaya Exchange processed nearly $270M in client redemptions before the seizure warrant. Refunds and stolen assets added nearly $70M more. Then came the seizures: over $642M taken since 2022, plus another $157M wrongfully taken in parallel bankruptcy proceedings during the same period. All of them were still counted as loss. That's over $1.6B returned, recovered, or seized—more than the alleged $1.3B loss. So how did the government get the arrest warrant and the testifying “victims”? 政府的這筆賬根本算不通。在2021年的GTV和解案之後,已有4.87億美元被返還。而在查封令下達之前,喜馬拉雅交易所(Himalaya Exchange)已處理了近2.7億美元的客戶贖回款項。此外,各類退款及被追回的被盜資產又增加了近7000萬美元。緊接著便是資產查封行動:自2022年以來,被扣押的資產超過6.42億美元;同期在另一項並行的破產訴訟程序中,又有1.57億美元被錯誤地扣押。然而,所有這些資金——無論是已返還、已追回還是已被查封——竟然全都被政府計入了“損失”一欄。這意味著,已被返還、追回或查封的資金總額已超過16億美元——這一數字甚至高於政府所聲稱的13億美元的“損失”總額。既然如此,政府究竟是如何拿到逮捕令,又是如何找到那些出庭作證的所謂“受害者”的呢? #MilesGuo#NFSC#TakeDownTheCCP

Free•News

@NFSCHimalayaNews · Post #296916 · 06.04.2026 г., 15:02

The $1.3 billion number did not persuade because it was proven. It persuaded because it was performed. The jury was shown summary charts, arrows, repeated transfers, and a visual scale—not the bank records. Even the government’s own expert admitted the presentation could have been simplified, but prosecutors chose amplification over clarity. Then came the loaded language: victims, spies, traitors. The facts were narrowed, the visuals remained, and the theater made the fraud narrative feel real. 那筆13億美元的數字之所以具有說服力,並非因為它已得到證實,而是因為它是被“編造”出來的。呈現在陪審團面前的,是各類摘要圖表、箭頭符號、反覆轉賬的示意圖以及視覺化的圖表——唯獨沒有銀行賬戶的原始記錄。就連政府方自己的專家也承認,這種呈現方式本可以更簡潔,然而,但檢方卻選擇了誇大其詞而非清晰明了。緊隨其後的,是那些充滿煽動色彩的措辭:受害者、間諜、叛徒。事實被刻意掩蓋,視覺呈現卻被刻意強化;正是這種充滿戲劇張力的“表演”,賦予了整個欺詐敘事以逼真的實感。 #MilesGuo#NFSC#TakeDownTheCCP

Free•News

@NFSCHimalayaNews · Post #296915 · 06.04.2026 г., 14:34

The government says the number is $1.3 billion. But its own expert admitted he did not trace funds. Instead, categories were defined in advance, accounts were chosen by the government, and only selected transactions were counted. When the inflows and outflows did not match, prosecutors did not reduce the number. They expanded categories, added more entities, and inserted vague “other inflows” to make the model work. That is not a measured fraud loss. It is a constructed narrative. 政府聲稱這一數字為13億美元。然而,其自身的專家卻承認並未對資金流向進行追蹤。相反,他們預先劃定了類別,由政府指定相關賬戶,且僅對選定的部分交易進行了統計。當資金的流入與流出數據無法吻合時,控方並未下調這一數字(涉案金額);取而代之的是,他們擴大了類別範圍,增列了更多實體,並強行插入了含糊不清的“其他流入”項,以此強行湊合出這一模型結果。這絕非經審慎核算得出的欺詐損失金額,而不過是人為編造的一套敘事罷了。 #MilesGuo#NFSC#TakeDownTheCCP

Free•News

@NFSCHimalayaNews · Post #296837 · 04.04.2026 г., 05:56

They said GTV, Farm Loans, G-Club, and Himalaya Exchange were fraud. But to thousands of supporters, they were something else entirely: a way to build capital, community, and independence outside the Chinese Communist Party’s control. GTV raised hundreds of millions in weeks. HEX launched with strong demand and substantial reserves. These were not just financial products. They were an emerging parallel system. And that is what made them intolerable. The crackdown was not about protecting investors. It was about stopping a movement before it grew too strong. 他們聲稱 GTV、Farm Loans、G-Club 和 Himalaya Exchange 均為欺詐項目。但在成千上萬的支持者眼中,這些項目卻有著截然不同的意義:它們是人們擺脫中共控制,並積累資本、建立社群乃至實現獨立自主的途徑。GTV 在短短數周內便籌集了數億美元資金;HEX 推出伊始便需求強勁,且擁有雄厚的儲備。這些絕不僅僅是金融產品,而是一個正在崛起的“平行體系”。正因如此,使其變得令當權者無法容忍。當局的打壓並非是為了在保護投資者,其真正目的在於:趁著這場運動尚未壯大之前,將其扼殺在萌芽之中。 #MilesGuo#NFSC#TakeDownTheCCP

Free•News

@NFSCHimalayaNews · Post #296815 · 02.04.2026 г., 15:02

This was not law enforcement. It was political persecution, coordinated across two superpowers and driven by the highest level of leadership. The CCP wanted GTV silenced, while the former First Family turned the justice system into a weapon after GTV exposed truths too dangerous to contain. What followed was not just a shutdown. It was a full-spectrum campaign to destroy the platform, then destroy Miles Guo by criminalizing everything connected to him and the anti-CCP movement. 這並非執法行動,而是一場由兩大超級大國協調、最高領導層主導的政治迫害。中共想要封殺GTV,而前第一家庭則在GTV曝光了危險到無法掩蓋的真相後,將司法系統變成了武器。隨之而來的不僅僅是關閉,而是一場旨在摧毀該平台、進而將郭文貴及其反共運動相關的一切都定為犯罪的全方位運動。 #MilesGuo#NFSC#TakeDownTheCCP

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