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

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

Резултати

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

Пребарај: #narrativewars

当前筛选 #narrativewars清除筛选
Russian Consulate in Cape Town

@rusconct · Post #2804 · 02.07.2025 г., 09:03

🕊️ South African Journalist Gillian Schutte Responds Critically to The Washington Post’s Narrative on Ukrainian Children ✍️ South African Journalist Gillian Schutte has published a critical commentary in response to an article originally published by The Washington Post and later republished by South African news platform IOL. The piece in question details the story of a 12-year-old Ukrainian boy allegedly taken to Russia and later “rescued.” According to Schutte, the article represents a highly stylised narrative designed more to mobilise emotion than to inform public understanding. Her response, titled “The Spectacle of Innocence: How the Narrative of ‘Stolen Children’ Became the West’s Weapon of War,” was published by African Stream and offers a sober reassessment of the narrative widely promoted in Western media regarding alleged “child abductions” during the Ukraine conflict. 📌 Key Points from Schutte’s Analysis: 1. Discrepancy Between Reported Figures and Verified Data Schutte notes the striking difference between media claims and officially documented figures. 🗨 “Ukrainian officials inflate the figure still further: ‘maybe 50,000, maybe 100,000.’ No one knows for sure. No one can prove anything.” 🗨 “According to Russia’s official delegation at the Istanbul peace talks… the only list ever presented to Moscow by Ukraine includes 339 names. Russia says it has already returned 101 of these children.” 2. Lack of Balanced Coverage of Humanitarian Actions She highlights the absence of media attention to cases where Russian forces reportedly evacuated children from conflict zones and facilitated family reunifications. 🗨 “Many [children] were found alone in buildings or hospitals. Others were taken to safety at great personal risk by Russian soldiers, some of whom died in the effort.” 3. Selective Framing of Child Suffering Schutte questions why only certain child stories are given prominence in the international media, often those that reinforce a specific political message. 🗨 “There is no Pulitzer bait in the case of a child returned to a reunited family in Donetsk. These children do not cry in English. They are not crying for NATO.” 4. Historical Pattern of Emotional War Narratives She draws parallels with earlier emotionally charged media campaigns used to justify foreign intervention. 🗨 “Western soft power thrives on emotional shorthand: Saddam’s incubator babies, Gaddafi’s Viagra-fuelled soldiers, and now Putin’s child kidnappers.” 5. A Call for Balanced Humanitarian Concern Schutte urges readers to approach such narratives with compassion — but also with critical thinking and insistence on factual accuracy. 🗨 “We should care for every child affected by war. But we should be suspicious of which children we are told to care about, and why.” 📎 Read the full article (English): 👉https://africanstream.media/opinion/the-spectacle-of-innocence ✍ Author: Gillian Schutte #MediaLiteracy#InformationSecurity#ChildrenInConflict#NarrativeWars#HumanRights#RussiaSouthAfrica#AfricanVoices#GillianSchutte