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 слични објави

Пребарај: #trademark

当前筛选 #trademark清除筛选
AI & Law

@ai_and_law · Post #247 · 23.02.2024 г., 08:04

OpenAI's Trademark Application for 'GPT' Denied Greetings everybody! The US Patent and Trademark Office (PTO) has rejected OpenAI's bid to trademark the term 'GPT' (generative pre-trained transformer), citing its generic nature. According to the PTO, granting the trademark could impede competitors from accurately describing their products as GPT. OpenAI argued that 'GPT' isn't merely descriptive and doesn't immediately convey its meaning to consumers. However, the PTO emphasized that those familiar with the technology understand 'GPT' as a general type of software, not exclusive to OpenAI products. The decision marks a setback for OpenAI, whose association with 'GPT' grew significantly with the popularity of ChatGPT and its subsequent AI models. Despite previous denials, OpenAI may appeal to the Trademark Trial and Appeal Board for another chance to secure the trademark. #OpenAI#GPT#Trademark#USPTO#AI

Venture Village Wall 🦄

@venturevillagewall · Post #4240 · 25.02.2025 г., 13:00

Court Approves Name Change for GigAnt The startup GigAnt, previously led by Denis Reshanov, has lost its name due to legal proceedings initiated by a different company with a similar name. The court ruled against GigAnt's usage of the name due to trademark similarities with a firm producing computer equipment, leading to a required payment of 5 million rubles. GigAnt has since rebranded to GigWork. The legal dispute lasted nearly eight months, despite both companies operating in different sectors. More details here. #GigAnt#Trademark#Legal#Corporate#Rebranding#GigWork