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

Резултати

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

Пребарај: #earthscience

当前筛选 #earthscience清除筛选
🐎 Mustang Debbie Channel🐎

@mustangdebb · Post #48418 · 13.05.2026 г., 17:59

https://x.com/paulgoldeagle/status/2054619457520271823?s=52 🚨 ANOTHER MASSIVE SURGE IN THE EARTH'S FREQUENCY TODAY. 🚨 The Schumann Resonance—the natural electromagnetic heartbeat of our planet—is lighting up the charts again today. We are seeing strong, bright bands of energy blasting through the atmosphere for hours on end. Instead of feeling heavy, today's energy is highly electric. The Schumann Resonance is created by global lightning and electromagnetic waves trapped between the Earth's surface and the edge of space. When this field gets this charged up, a lot of people across the country report feeling it directly in their nervous systems. Here is what people are experiencing right now: • Racing thoughts and mental restlessness • Interrupted sleep and incredibly vivid dreams • Sudden pressure in the head or a "buzzing" feeling in the body • Random bursts of energy followed by quick exhaustion • A feeling like you just can't slow down or relax With all this extra static in the air, your body needs a break to process it. Drink plenty of water, step away from the overstimulation, and get some solid rest to help your system reset and ground itself. Monitoring the electric pulse of our planet here at Glynce. 📡🩵🟣 👇 Are you feeling any of these electric "symptoms" today? Drop what you are experiencing in the comments! #Glynce#SchumannResonance#EarthScience#SpaceWeather#ElectromagneticField#EnergyShift#BreakingNews#Frequency

IELTS|Newspapers & Magazines|English

@emagzinewspars · Post #9464 · 03.11.2025 г., 03:27

#The_Science🇺🇸📕[PDF]⬇️ 30 #October2025 #Weekly_Magazines For learning, for free(dom). @backupofmagazines This issue delivers a powerful special on the #MandalayEarthquake, unpacking rupture physics and how Earth’s crust defies its own limits. Seismic data, #AI-based imaging, and dual-material energy models reveal a new frontier in #Geophysics. Meanwhile, reports span #BigTech access wars, #COVID19 legacy effects, and synthetic antibodies for #Snakebite treatment. Behavioral studies highlight chimpanzee rationality and neural rewiring. Advances in #Catalysis, #Recycling, and #Neuroscience mark the rise of adaptive science facing global turbulence. From earthquakes to evolution, this issue captures the restless pulse of a changing planet. #ClimateCrisis#EarthScience#Innovation#Research