TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #45 · 2 мар.

В фреймворке PyQt (и PySide тоже) часто встречается настройка чего-либо с помощью так называемых флагов. widget.setWindowFlags(Qt.Window) Взаимодействие нескольких флагов делается с помощью бинарных (или побитовых) операторов. Несколько флагов можно указать с помощью оператора "|" list_item.setFlags(Qt.ItemIsSelectable | Qt.ItemIsEnabled) исключить флаг из уже имеющегося набора можно так list_item.setFlags(list_item.flags() ^ Qt.ItemIsEnabled) Добавить новый флаг к имеющимся можно так list_item.setFlags(list_item.flags() | Qt.ItemIsEnabled) А проверка наличия делается так is_enabled = item.flags() & Qt.ItemIsEnabled > 0 Почему именно так? Всё дело в том как именно работают побитовые операторы. Но об этом в следующем посте. #qt

Hashtags

Резултати

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

Пребарај: #ethicsandai

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

@ai_and_law · Post #56 · 14.07.2023 г., 07:04

Google takes steps towards responsible AI in the EU Hey there, AI and Law friends! 👋 We have an exciting update to share with you today. Google is making significant strides towards responsible AI in the EU. They are actively engaging in discussions with regulators about the AI Act, a crucial piece of legislation. Led by Thomas Kurian, Google's cloud computing division is addressing the concerns raised by the EU regarding artificial intelligence. One of the main challenges discussed is the ability to distinguish between human-generated and AI-generated content. But fear not! Google has come up with a clever solution. They have introduced a "watermarking" feature that labels AI-generated images, making it easier for users to identify them. On top of that, Google is actively working on developing innovative technologies to ensure that people can easily differentiate between content created by humans and content generated by AI. This move showcases how major tech companies like Google are taking the lead in implementing private sector-driven oversight of AI. They are not waiting for formal regulations to be in place; they are proactively working on solutions to ensure responsible and ethical AI practices. Now, here's a thought-provoking question for you all: Can technology companies and regulatory bodies effectively collaborate to ensure responsible and ethical AI practices? #AIRegulations#ResponsibleAI#TechIndustry#EthicsAndAI