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

Пребарај: #aesia

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

@ai_and_law · Post #104 · 05.09.2023 г., 07:04

New AI Regulatory Body Established in Spain Hello, everyone! Spain has taken a pioneering step in the European Union by creating a dedicated authority for the regulation of artificial intelligence. The Spanish Agency for the Supervision of Artificial Intelligence (AESIA) has been officially established through a Royal Decree and confirmed by the Council of Ministers on August 22. The institution aims to ensure that AI development in Spain aligns with inclusivity, sustainability, and the welfare of its citizens. It will oversee the National Artificial Intelligence Strategy, positioning Spain as a frontrunner in AI innovation. This move is part of Spain's Digital Spain 2025 Agenda, a €600 million initiative encompassing over 50 measures to shape the nation's digital future. AESIA is also expected to enforce the EU's landmark AI Act, putting Spain at the forefront of responsible AI regulation in Europe. #AIRegulation#SpainAI#DigitalEurope#Innovation#AESIA