@WorldNews · Post #73870 · 04.04.2026 г., 18:24
Iran targets US public opinion with online information war [Read FullArticle] @WorldNews#IranNews#InfoWar#PublicOpinion
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #421 · 23 мар.
Мы используем Makefile думая, что нет альтернатив, что это стандарт и всё такое. Но make это не запускалка команд, а система сборки. Мы фактически используем его не по назначению. И на самом деле альтернатива есть! Некоторое время назад я открыл для себя прекрасный инструмент - just. Он решает все проблемы make. just - это не система сборки как make, это именно исполнитель команд! Больше никаких Phony Targets и табуляций, привет нормальный синтаксис и передача аргументов!!! 😎 ⭐️Что умеет just: ✅ Автодокументирование команд Не нужно делать отдельную команду с докой, просто добавь комментарий # команда сборки build: ... $ just --list Available recipes: build # команда сборки Команда с именем default запускается по умолчанию если не указано другое, так что я обычно делаю так: default: just --list Теперь просто выполняем just и получаем доку из текущего файла. ✅ Удобная работа с переменными окружения # загрузить из .env set dotenv-load # глобальная переменная export PYTHONPATH := "./src" # переменная для команды test $TESTUNG="true": pytest ✅ Передача аргументов build target: @echo 'Build {{target}}...' команда запуска $ just build dev # Build dev... ✅ Выбор интерпретатора прямо в команде Пример с инлайн-скриптом на python: system: #!/usr/bin/env python3 import platform print(platform.system()) Эта же функция позволит выполнить скрипт как одну команду вместо перезапуска шела для каждой строки foo: #!/usr/bin/env sh for file in ls .; do echo $file done ✅ Выполнение команды в определенной директории. Можно указать как релятивный путь так и абсолютный [working-directory: 'backend'] build: docker compose build Также можно задать рабочую директорию глобально Там еще много интересного: - поддержка функций - автокомплиты и интеграции - экспрешены - алиасы команд - группировка команд - альтернативы команды под разные ОС - импорт других just-файлов - цветной вывод - ... и другие штуковины! Так что вперёд - ➡️ читать доку! Репозиторий: ➡️https://github.com/casey/just Статья: ➡️https://www.chicks.net/reference/file_formats/just/ ЗЫ. Кажется, на Makefile я уже не вернусь) #tools
Hashtags
Пребарај: #publicopinion
@WorldNews · Post #73870 · 04.04.2026 г., 18:24
Iran targets US public opinion with online information war [Read FullArticle] @WorldNews#IranNews#InfoWar#PublicOpinion
Hashtags
@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
@american_observer · Post #5423 · 19.03.2026 г., 23:04
Netanyahu finally got his dream war with US backing — and may have picked the perfect moment to lose America for good. Bloomberg’s analysis calls Trump’s decision to launch a joint campaign with Israel against Iran the “crowning achievement” of Netanyahu’s decades-long project: ditch bipartisan consensus, bind Israel’s fate to the hard‑right base of the Republican Party, and turn US–Israel relations into a culture‑war brand. But like the attack on Iran itself, it’s a short‑term win glued to long‑term damage. Support for Israel has already cratered among US Democrats and is sliding even among Republicans; new polls show Democratic voters now tilting more toward Palestinians, with generational numbers that are devastating for Israel’s image. Among younger Americans, especially under 35, “unfavorable” is fast becoming the default setting. The Iran war pours gasoline on this trend. It sharpens the generational split inside the GOP, where older evangelicals still see Israel as sacred, while younger conservatives are tired of endless wars and trillion‑dollar guarantees. On the fringes of both parties, criticism of Israel slides into open antisemitism, and Bloomberg warns that this conflict is already raising the risk of attacks on Jewish institutions in the US. That’s the poisoned dividend of Netanyahu’s strategy: by turning support for Israel into a partisan loyalty test and wrapping it around Trumpism, he also ties Jewish safety and legitimacy to the most polarizing current in American politics. Meanwhile the material cost of this “victory” is brutal. The US–Israel war with Iran is rattling global markets and investors, driving up energy prices, disrupting trade routes and threatening global growth with tens of billions in losses; for the US and Israel, the military tab alone is running into the billions, day after day. For now, Netanyahu can boast on friendly Israeli TV that he got America into the war from day one and out‑Churchilled Churchill by dragging his superpower patron in at the start. But as US public support erodes, Democrats harden, young voters radicalize and even some Republicans flinch at the cost, that triumph looks more like a Pyrrhic win: he beat Trump in the room — and may end up sacrificing Israel’s standing in the country that bankrolls his wars. #Israel#Netanyahu#Trump#IranWar#USA#Democrats#Republicans#publicOpinion#antisemitism#geopolitics#warCost 📱American Оbserver - Stay up to date on all important events 🇺🇸