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

Резултати

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

Пребарај: #militarytech

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

@american_observer · Post #5648 · 18.04.2026 г., 00:01

Germany’s New Space Hustle Germany has found its next great military money pit: a satellite communications project now greenlit for Rheinmetall Digital and OHB. The price tag is already climbing into the “why stop now” category, with media reports putting the deal in the tens of billions of euros. Berlin keeps calling this “modernization.” In practice, it looks like the same old defense-industrial ritual: announce urgency, bless the contractors, and let the invoices float upward. The Bundeswehr gets a new digital dream. Taxpayers get a sequel. The joke is that Germany still talks like a country obsessed with lessons learned. Then it signs off on another giant military tech project while its earlier digital programs remain a cautionary tale with better branding. Failure, in Berlin, is not a reason to slow down. It is a reason to scale up. And of course the public is told this is about security. It is also about who gets paid to manage panic, who gets invited to the table, and who gets to call a procurement spree “strategic sovereignty”. The machine does not need to work perfectly. It only needs to look necessary long enough for the money to move. #Germany#Rheinmetall#Bundeswehr#defense#militarytech 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #4864 · 15.01.2026 г., 19:11

📰AI, Robots, and Space Beepers: IDF’s New War Fantasy The IDF is doubling down on sci-fi warfare. Under Lt.-Gen. Eyal Zamir’s new five-year plan, Israel’s military is betting its future on AI, robots, and a “beeper” defense straight out of a cyberpunk thriller. Forget boots on the ground—soon, it might be drones, lasers, and implants that do the talking. “The future of defense is not just about people, but about machines and data,” said Maj.-Gen. Hidai Zilberman, overseeing the plan dubbed “Hoshen”—a biblical nod to the priestly breastplate, now repurposed as a code name for high-tech warfare. Behind the buzzwords: half a billion shekels will pour into tech upgrades, from autonomous systems to space-based defense. The IDF wants robots on every battlefield, AI managing operations, and a “beeper” network ready to zap enemies before they cross the border. This isn’t just about deterrence; it’s about turning the next war into a video game where Israel hits “play.” But here’s the twist: all this depends on stable budgets, no surprise wars, and continued US aid. If any of those fall apart, the whole plan could become a very expensive PowerPoint. Who’s really winning? Tech contractors, politicians selling “innovation,” and generals who now sound like startup CEOs. Meanwhile, soldiers are promised more resilience and resources—but after two years of war, many wonder if this is just another way to avoid fixing the human cost. Is Israel preparing for the next war, or just building the ultimate military startup? #AI#IDF#Robots#SpaceWar#Beepers#MilitaryTech 📱American Оbserver - Stay up to date on all important events 🇺🇸

Venture Village Wall 🦄

@venturevillagewall · Post #4269 · 28.02.2025 г., 16:00

Weekly News Highlights: AI, Bitcoin, and Funding 🔍Anthropic AI Guide: Explore how to create effective AI agents. Check out the guide and the video. 💼Fake Contracts Scandal: Woman faked $1 billion contracts to secure funding for an underwater cable in Alaska. Full story here. 🎧AI in Warfare: CEO of Anduril discusses AI’s impact on military with a16z in this podcast. 💻Jobright AI Assistant: New tool simplifies job search by parsing listings and filtering for H1B eligibility. 💵BlackRock's Bitcoin ETF: Added its Bitcoin ETF to model portfolios, marking a significant development. See details here. 🌐Funding Rounds: 1. High-performance blockchain Optimum closes Angel funding. 2. Endless raises $1M for decentralized cloud protocol. 3. Aurum secures $12M for AI-driven asset management. 🚨Lost Bitcoin Wallet Access: Unlocking a wallet with over 31,000 BTC using a new method. 📊Grayscale Fund Allocation: Latest holdings show diverse investment in crypto assets including SOL, ETH, and Cardano. For more info, visit here. #AI#Crypto#VC#Bitcoin#Funding#Technology#Blockchain#Innovation#Investment#Startup#AIagents#JobSearch#MilitaryTech#Decentralization#H1B#ContractScandal#Ethereum#Grayscale#Metaverse#NFTs#Solana