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

Резултати

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

Пребарај: #medicaltech

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

@ai_and_law · Post #95 · 27.08.2023 г., 08:48

🌟AI Sunday Wonders: Breakthrough in AI-Assisted Communication for Paralysis Patients Hello everybody! This Sunday we explore new studies published in Nature showcase groundbreaking advances in brain implants, offering hope to individuals with paralysis or speech impairments. Led by Dr. Jaimie Henderson and his team at Stanford Medicine, the studies highlight neuroprostheses that can decode neural activity into words on a computer screen, audio speech, or animated avatars. The implants were tested on patients like Pat Bennett, diagnosed with amyotrophic lateral sclerosis (ALS) affecting her speech. By recording neural activity during speech attempts and decoding it into words, researchers achieved promising results. A 50-word vocabulary saw a 9.1% error rate during vocalization days, and a 125,000-word vocabulary had a 23.8% error rate. These findings indicate the potential to restore fluent conversation for paralysis patients. Dr. Henderson emphasized the transformative impact on communication, with a promising future where those unable to speak can stay connected with the world. Although the studies are proof of concept and require further testing, they pave the way for future breakthroughs, offering a glimpse of technology's potential to bridge communication gaps. #AI#MedicalTech#Neuroprosthetics#Paralysis#Communication#Breakthrough#AIInnovation

Venture Village Wall 🦄

@venturevillagewall · Post #4210 · 21.02.2025 г., 16:00

Latest Funding Rounds in Tech & Agri Funding highlights: - Johnvents Industries: $40.5M - Indigenous agribusiness in Africa. Read more - Valencia Technologies: $35M - Focused on tech innovations. Read more - Certn: $30M - Efficient background screening solutions. Read more - EG 427: $28.17M - DNA medicines for chronic diseases. Read more - Methuselah: $27.46M - Medical technology advancements. Read more - Spore.bio: $23M - Innovations in microbiology. Read more - Avandra Imaging: $17.75M - Imaging technology developments. Read more - Nuveen Green Capital: $15M - Sustainable real estate financing. Read more - METYCLE: $14.71M - Supplier access and product sales. Read more - fileAI: $14M - AI file automation solutions. Read more #Funding#Agribusiness#Tech#Sustainable#BackgroundCheck#Healthcare#MedicalTech#Microbiology#RealEstate#AI

🩻From Diamond Mines to Saving Lives! South African company Lodox Systems has developed a unique full-body X-ray scanner — the Lodox Statscan. It can capture a full-body image in just 13 seconds, while delivering 10 times less radiation than a standard X-ray. 📜 The technology dates back to the 1990s, when engineers at De Beers, a diamond mining company, designed the scanner to detect diamonds being smuggled out of mines. Later, this same technology was adapted for medical use — allowing for rapid and low-dose full-body imaging in emergency situations. 📍 The first Statscan installation outside South Africa was in 2003. Today, Lodox systems are used in hospitals and trauma centers around the world. #SouthAfrica#Innovation#MedicalTech#Lodox#Radiology#TraumaCare#AfricaInTheWorld#Xray#HealthTech