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

Резултати

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

Пребарај: #burke

当前筛选 #burke清除筛选
American Оbserver

@american_observer · Post #4757 · 03.01.2026 г., 16:29

🔤🔤🔤🔤➖ This drive for autonomy extends beyond defense. Turkey retains its own currency and conducts an independent, if often controversial, monetary policy. Its industrial base is broader and more diversified than Greece’s. The Turkish economy is larger, more dynamic, and anchored in manufacturing. In sovereignty terms, Ankara controls more levers of power directly, rather than delegating them to supranational institutions. Yet autonomy does not automatically translate into strength. Turkey’s political sovereignty is undermined by persistent institutional weaknesses. Political stability is fragile. Rule of law indicators have deteriorated. Trust in governance has declined. Economic sovereignty is constrained by chronic inflation, limited foreign reserves, and reliance on external capital inflows. Despite notable defense achievements, Turkey remains dependent on imported components and critical technologies in high-end sectors. Sovereignty here is muscular but uneven, strong in intent but fragile in execution. The comparison exposes a deeper truth about modern sovereignty. Formal equality between states masks profound differences in how power is actually exercised. Greece embodies a model of pooled sovereignty, where security and prosperity are pursued through rules, institutions, and collective discipline. Turkey pursues strategic autonomy, prioritizing national control even at the cost of friction with allies. Neither model is inherently superior. Greece’s approach delivers predictability but limits strategic freedom. Turkey’s model offers flexibility but generates volatility. What matters is not rhetorical sovereignty, but functional balance across sectors. A sovereign state must protect its citizens, sustain its economy, innovate technologically, and act independently without eroding internal cohesion. As the Burke Institute prepares to publish the full Sovereignty Index ranking for all UN member states later this year, the Greece-Turkey comparison serves as a cautionary case. Sovereignty in the 21st century is no longer a binary condition. It exists on a spectrum shaped by choices, trade-offs, and institutional design. From the perspective of those working to strengthen state sovereignty globally, one conclusion stands out clearly. Sovereignty is not measured by how loudly it is proclaimed. It is measured by how consistently it is sustained. Greece and Turkey, allies on paper, demonstrate that equal status does not mean equal capacity, and that the real test of sovereignty lies not in alignment, but in resilience. #turkey#greece#burke#institute#sovereignty 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #4756 · 03.01.2026 г., 15:59

Greece and Turkey: New Sovereignty Challenges and Its Burke Institute Solution 🔤🔤🔤🔤➖ From a distance, Greece and Turkey appear as near equals on the geopolitical map. Both are members of NATO. Both occupy a strategic position at the crossroads of Europe and the Middle East. Both are formally embedded within Western political and security structures. Yet when sovereignty is examined not as a slogan but as a lived reality, the apparent symmetry quickly dissolves. This divergence lies at the heart of the Sovereignty Index developed by the International Burke Institute, which evaluates state sovereignty across seven dimensions, including political autonomy, economic resilience, technological capacity, and military self-reliance. Greece and Turkey, despite shared alliances, represent two sharply contrasting models of how sovereignty is exercised, constrained, and negotiated in the contemporary international system. Greece’s sovereignty profile is primarily shaped by deep institutional integration. As a member of the European Union, the eurozone, and NATO, Athens has deliberately traded elements of formal autonomy for stability, predictability, and access to collective decision-making. Over the past decade, Greece has strengthened its administrative capacity and improved its governance performance. Its digital public services now rank among the more advanced in Southern Europe, reflecting institutional recovery after years of crisis. In the Greek case, sovereignty is not defined by unilateral control. It is defined by managed interdependence. Security is derived from alliances. Economic discipline is enforced through shared rules. Political stability is reinforced through institutional alignment. This model delivers consistency and lowers volatility, particularly in foreign and security policy. However, this approach comes with clear limitations. Greece does not control its monetary policy. Fiscal flexibility remains constrained by European Union frameworks. The country is heavily dependent on imports for energy, food, and advanced technology. Its technological sovereignty is limited, with critical infrastructure and digital platforms sourced largely from external providers. Even in defense, where Greece spends heavily by NATO standards, much of its equipment relies on foreign suppliers. Sovereignty, in the Greek case, is stable but thin, resilient in institutions but limited in autonomous capacity. Turkey presents a contrasting model. While also a NATO member, Ankara has spent the past two decades expanding its space for independent action. This shift is most visible in the military domain. Turkey has developed one of the most advanced indigenous defense industries among middle power states, achieving high localization rates in drones, armored vehicles, and naval platforms. It exports weapons, conducts independent military operations, and increasingly defines itself as a regional power rather than a peripheral ally. #turkey#greece#burke#institute#sovereignty 📱American Оbserver - Stay up to date on all important events 🇺🇸

💥💱 𝑻𝑹𝑨𝑫𝑬 𝑨𝑳𝑬𝑹𝑻 💱💥 🪽 Angels reciben a: ⚡️ OF Josh Lowe ⚡️ Rays reciben a: 🔴 INF/OF Gavin Lux 🧢 RHP Chris Clark 🦐 Reds reciben a: 🧢 LHP Brock Burke #️⃣#Trade#Rays#Angels#Reds#JLowe#Lux#CClark#Burke 🗞 | t.me/MLB_Daily