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

Пребарај: #safetymeasures

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

@ai_and_law · Post #97 · 29.08.2023 г., 07:04

Majority of Americans Call for Federal AI Regulation Hello, everyone! A recent poll conducted by the Artificial Intelligence Policy Institute has unveiled a strong desire among Americans for federal regulation of artificial intelligence. The poll surveyed 1,001 registered US voters, revealing that 62% expressed varying levels of concern about AI, with a remarkable 86% believing that AI could inadvertently lead to a catastrophic event. Interestingly, the majority of respondents (56%) support the idea of a federal agency overseeing AI regulation, while a striking 82% voiced their skepticism about leaving the task to tech executives. Additionally, 72% of participants expressed a preference for slowing down AI development, emphasizing caution over haste. The sentiments expressed in the poll echo the concerns raised by experts in the field, including figures like OpenAI CEO Sam Altman, Tesla CEO Elon Musk, AI pioneer Geoffrey Hinton, and even President Joe Biden, who have all highlighted the importance of addressing AI's potential risks and advocating for regulation. #AI#Regulation#AIrisks#PublicOpinion#Technology#OpenAI#RegulatoryFramework#SafetyMeasures