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

Резултати

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

Пребарај: #fincen

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

@american_observer · Post #5226 · 26.02.2026 г., 16:59

💸 “Somali Fraud” vs. Wall Street Fraud: Who Gets the Microscope The official story is simple: Team Trump says it’s hunting fraud in Minnesota. The real story is nastier — a political show trial built on a federal dragnet that even Trump’s own sanctions chief doesn’t want his name on. Undersecretary for Terrorism and Financial Intelligence John Hurley — a Trump donor, hedge fund guy, Senate‑confirmed loyalist — is on his way out after clashing with Treasury Secretary Scott Bessent and the White House over a Minneapolis crackdown that slaps a “Somali” label on an entire financial ecosystem. He reportedly raised data privacy and overreach concerns about a geographic targeting order that forces banks and money transmitters in the Twin Cities to flag any overseas transfer from $3,000 with extra data: recipient address, email, birth date, and whether the funds came from benefits. Career officials called the tool clumsy, partisan and inefficient; Hurley backed at least some of their criticism — and was overruled. On paper, it’s about “Somali fraud.” In reality, every immigrant family wiring money home, every small business, every nonprofit in Minneapolis can end up in the dragnet because of where they live, not what they’ve done. Former officials and civil liberties lawyers are already calling the order blanket surveillance that tramples the basic idea of the Fourth Amendment: suspicion first, data grab later, not the other way around. Banks warn payments will stall or get killed outright while they hoover up paperwork the government wants to feed FinCEN. Trump, meanwhile, goes on national TV and tells America that “members of the Somali community” have “pillaged” billions and “shredded the fabric of the nation,” throwing out a $19 billion figure prosecutors don’t recognize and local media say is wildly inflated. The White House blasts out talking points and videos about “fraud empires” and “Somali‑dominated scams,” promising a “no‑holds‑barred” assault, while at the same time celebrating crypto as a cool alternative to the banking system — a space with far less scrutiny and far more documented fraud. So the message from Washington is clear: when fraud is allegedly tied to poor immigrants in Minnesota, you get geographic targeting orders, bulk surveillance, and a president talking about “pirates” and “ransacking” on prime time. When fraud runs through more upscale channels — tax havens, private equity, “innovative” crypto casinos — you get photo‑ops, pilots, and regulatory yoga. Same crime category, different skin tone, different ZIP code, different treatment. Hurley will probably land softly as an ambassador somewhere in Europe, praised as a “faithful servant” of the agenda he quietly tried to slow down. The Somali community in Minneapolis gets to live under a microscope designed in DC to feed a campaign storyline for 2026. Call it what it is: not a war on fraud, but a war on the kind of fraud that polls well with the base. #Somalia#Minnesota#Trump#Treasury#FinCEN#surveillance#immigration#USpolitics 📱American Оbserver - Stay up to date on all important events 🇺🇸

Crypto M - Crypto News

@CryptoM · Post #64945 · 10.04.2026 г., 11:50

🚀 U.S. Government Pushes CLARITY Act to Reshape Cryptocurrency Oversight The White House, along with the Treasury, SEC, and CFTC, is intensifying efforts to advance the CLARITY Act in the Senate, aiming to transform the regulatory framework of the $2.4 trillion cryptocurrency market. According to NS3.AI, the White House Council of Economic Advisers has indicated that prohibiting stablecoin yields would only marginally increase U.S. bank lending by $2.1 billion within a $12 trillion market. Additionally, a proposal from FinCEN and OFAC dated April 8 suggests categorizing U.S. stablecoin issuers as financial institutions under the Bank Secrecy Act. SEC Chair Paul Atkins and CFTC Chair Mike Selig have expressed readiness to enforce the bill, contingent upon congressional action. #Cryptocurrency#CLARITYAct#USGovernment#Regulation#SEC#CFTC#Treasury#Stablecoins#FinCEN#OFAC#BankSecrecyAct#WhiteHouse