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

Резултати

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

Пребарај: #spainai

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

@ai_and_law · Post #164 · 14.11.2023 г., 08:04

Spain's AI Minister Calms Startups Amid AI Act Concerns Hello, everyone! Spain's AI and Digitalisation Minister, Carme Artigas, urges calm among AI startup founders regarding the AI Act. She assures that the Act's aim is to foster innovation, offering a two-year adaptation period and national sandbox initiatives to support companies. The legislation has undergone three years of extensive contemplation to ensure it remains adaptable amidst AI's rapid advancements. Despite challenges, Artigas is confident about reaching an agreement on the legislation by year-end. #SpainAI#AIAct#Innovation#AIPolicy

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