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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #9 · 7 јан.

Иногда бывает ситуация когда dev-сервер по какой-либо причине не закрылся и висит в процессах, занимая порт. Это может быть из-за падения IDE или просто сам забыл погасить и закрыл терминал. Для таких случаев я набросал простую функцию с командой: kill_on_port() { port=$(lsof -t -i:$1) echo "KILL PROCESS:" $port sudo kill -9 $port } alias killonport="kill_on_port $@" Код поместить в ~/.bashrc и рестартнуть систему. Если во время старта dev-сервера получаете ошибку что порт уже занят, просто выполните команду, подставив свой порт. Bash kill_on_port 8000 Скорее всего бесполезно, если другой процесс назначен на перезапуск вашего dev-сервера в случае падения. Имя команды можете изменить на любое другое. #linux

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