В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль 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
Jarayonlarni optimallashtirish: Bojxona va IIV
Yaqinda oʻzim ishtirok etgan ikkita jarayon va ular aslida qanaqa ishlashi haqida:
https://farhodjon.uz/blog/customs-and-police-process-optimization/
#government#koronavirus@FarLives🌀
Federalism and Conservatism in Ethiopia: Reframing the Debate Beyond Ethnic and Civic Models. Read more.
https://borkena.com/2026/04/21/federalism-and-conservatism-in-ethiopia-reframing-the-debate-beyond-ethnic-and-civic-models/#Ethiopia#politics#government#Federalism
Стал доступен текст Постановления Правительства РФ от 14 мая 2021 года №733 [1]. В тексте даны определения ряда понятий используемых в НСУД, в законопроекте поправок в 149-ФЗ.
Получается что сейчас постановление правительства дублирует положения проекта законопроекта. Документ уже подвергался критике экспертов [2], в том числе и довольно "циничной".
Ссылки:
[1] http://static.government.ru/media/files/UN7KKWcK3TgpjAmRcaTzRWUZezbIQQWf.pdf
[2] https://t.me/smart_regulation/3449
[3] https://t.me/CynExp/3241
#nsud#government#data
Привет, коллеги!
Делимся интересными новостями, анонсами и вакансиями:
📞Искусственный интеллект и искусство обмана. Как искусственный интеллект превращается в инструмент мошенников.
Мошенничество с использованием искусственного интеллекта уже не сценарий фантастического фильма, а наша реальность. Но не стоит забывать, что с развитием технологий, существует вопрос об их защите. Полная статья по ссылке
📆28 июля 2023 года в г. Астана Chainalysis проведет мастер класс "Navigate with Confidence in Crypto and Building Social Trust in Blockchain", который будет посвящен криптосфере и повышению доверия к технологии блокчейн.
Регистрация по ссылке
#cryptocompliance#blockchain
👨💻Если вы задумываетесь о работе в государственных органах, то вам будут интересны эти вакансии:
1. Агентство Республики Казахстан по финансовому мониторингу (служба экономических расследований) объявила отбор на первоначальную профессиональную подготовку для лиц, впервые поступающих на правоохранительную службу.
2. Высший Судебный Советобъявил о новом этапе формирования кадрового резерва.
#government#supervisory
Кстати, если вы у вас есть вакансии, напишите нам и мы поделимся со всеми участниками Compliance Hub.
Желаем отличного дня!
Закончена архивация Instagram аккаунтов официальных лиц и политиков РФ. Сохранён 171 аккаунт. Код архивации и список инстаграм аккаунтов выложены в репозитории на Github [1], а итоговые данные собраны в архиве в 1.4GB [2]
Успешно были заархивированы все сообщения и метаданные, но лишь ограниченно изображения и видео. Если у Вас есть время и возможно Вы можете помочь с архивацией сохранив все или выделенные аккаунты вместе с изображением. Для архивации использовался инструмент instaloader.
Также пишите если Вы знаете аккаунты не вошедшие в список заархивированных.
Этот архив полезен ещё и тем кто может захотеть сделать над ним UI для навигации по архивам Instagram, по аналогии с UI для архивов Telegram каналов. Здесь также нужна помощь волонтеров-разработчиков.
P.S. За помощь в сборе списка аккаунтов спасибо коллегам из Трансперенси.
Ссылки:
[1] https://github.com/ruarxive/rugovinstagrams
[2] https://cdn.ruarxive.org/public/webcollect2022/govinst2022/_govinstagrams_20220325.zip
[3] https://github.com/ruarxive/rugovinstagrams/blob/main/instagram.csv
#instagram#government#archives#socialnetworks
[UZ] 2024-yil 20-iyun kuni Vakhidov & Partners raisligida EUROUZ Sog'liqni saqlash va hayot fanlari qo'mitasining 2024-yil 20-aprelda O‘zbekistonda bo‘lib o‘tgan hukumat manfaatdor tomonlari va Yevropa diplomatik missiyalari bilan yaqinda bo‘lib o‘tgan ochiq davra suhbatini muhokama qilish uchun ichki muvofiqlashtirish yig‘ilishini o‘tkazdi. Qo'mita ichidagi o'zgarishlarni ko'rib chiqdi va yilning qolgan qismi uchun qo'mitaning navbatdagi rejasini muvofiqlashtirdi.
-
[EN] On June 20, 2024, the #EUROUZ Healthcare and Life Sciences Committee chaired by Vakhidov & Partners held an internal coordination meeting to discuss the recent open #Roundtable with #Government Stakeholders and #European Diplomatic Missions in #Uzbekistan, which took place on April 20, 2024. Additionally, the internal meeting addressed further developments within the Committee and coordinated the next Committee plan for the remainder of the year.
-
[RU] 20 июня 2024 года комитет EUROUZ по здравоохранению и наукам о жизни под председательством Vakhidov & Partners провел внутреннее координационное совещание для обсуждения недавнего открытого круглого стола с участием государственных заинтересованных сторон и европейских дипломатических миссий в Узбекистане, который состоялся 20 апреля 2024 года. Кроме того, на внутреннем заседании были рассмотрены дальнейшие вопросы. развития внутри Комитета и координировал следующий план Комитета на оставшуюся часть года.
Follow EUROUZ: @eurouz_official
Web | Instagram | Facebook| Twitter (X) |LinkedIn
政府於周二(24日)刊憲,保安局局長鄧炳強行使《維護國家安全條例》,對七名涉嫌違反《國安法》的海外人士採取針對措施,包括撤銷特區護照、禁向他們提供資金等。
這是政府第二度依據該條例對潛逃者採取行動。鄧炳強表示,這些人潛逃海外後仍從事危害國家安全的活動,並會議外國官員請求制裁香港官員。這一行動顯示出香港政府對海外港人的威脅,試圖阻止人們發聲,壓制言論自由。
#國安法#香港#言論自由
On Tuesday (24th), the government published a notice, with Secretary for Security Chris Tang invoking the National Security Law to take targeted measures against seven overseas individuals suspected of violating the law, including the revocation of their SAR passports and prohibition of funding.
This marks the second time the government has acted against fugitives under this law. Tang stated that these individuals continued to engage in activities harmful to national security after fleeing overseas, including meeting foreign officials to request sanctions against Hong Kong officials. This action reflects the Hong Kong government's threats to overseas Hongkongers and attempts to silence voices, suppressing freedom of speech.
#NationalSecurity#NSL#HongKong#Government#FreedomOfSpeech
Ethiopia : The Price of Becoming “Modern”
Read
https://borkena.com/2026/04/26/ethiopia-the-price-of-becoming-modern/#Ethiopia#government#tax#modernity#liberalization#market
Bitcoin Sale Cost US $17 Billion
David Sacks reports U.S. government sold 195,000 BTC for only $366 million in the past ten years. The potential worth now exceeds $17 billion. This highlights a significant oversight in the government's long-term strategy for cryptocurrency, with an ongoing effort to create a strategic crypto reserve. Read more
#Bitcoin#Crypto#US#Government#BTC#Investment#LongTermStrategy#DeFi#Tax#Binance
🚀 Political Shift in Italy: New Opposition Challenges Meloni
A new political figure is gaining traction in Italy, aiming to challenge the leadership of Prime Minister Giorgia Meloni. Bloomberg posted on X that this emerging opposition is seeking to unseat Meloni, who has been a prominent figure in Italian politics. The movement is gaining momentum as it appeals to those dissatisfied with the current administration's policies. This development marks a significant shift in Italy's political landscape, as the opposition seeks to offer an alternative to Meloni's government. Observers are closely watching how this political dynamic will unfold and impact Italy's future direction.
#Italy#Politics#PoliticalShift#Opposition#GiorgiaMeloni#Government#Election#PoliticalNews
🚀 White House Issues Warning on Futures Market Speculation Following Policy Shift
On April 10, insiders revealed that shortly after U.S. President Donald Trump unexpectedly announced a halt to attacks on Iran last month, the White House cautioned staff against exploiting their positions for speculative activities in the futures market. According to BlockBeats, the White House Office of Management sent an email to all employees on March 23, issuing this warning. Earlier that day, Trump had announced the decision to pause the attacks via Truth Social. Approximately 15 minutes before this abrupt policy change, the futures market experienced a series of mysterious trading activities. A senior government official who received the email noted that the warning served as a timely 'reminder,' given the frequent reports of suspicious large bets in the futures market.
#WhiteHouse#FuturesMarket#Speculation#PolicyShift#Trump#Iran#Trading#MarketWarning#FinancialRegulation#Government