@viral_today · Post #2463 · 26.05.2024 г., 12:30
This luxury kitchen tool instantly cools your glass whenever you want your drink to be cold. ❤️ — Would like to have one 👎 — Think that it is useless @Viral_Today / #technologies
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
Пребарај: #technologies
@viral_today · Post #2463 · 26.05.2024 г., 12:30
This luxury kitchen tool instantly cools your glass whenever you want your drink to be cold. ❤️ — Would like to have one 👎 — Think that it is useless @Viral_Today / #technologies
Hashtags
@viral_today · Post #2428 · 20.05.2024 г., 16:30
Pipedream’s new autonomous, underground delivery system promises fast and cost-effective deliveries, aiming to handle over 95% of consumer products with no emissions or traffic jams. Let’s just hope it doesn’t turn into a subway service for the local rat population! @Viral_Today / #technologies
Hashtags
@viral_today · Post #2396 · 14.05.2024 г., 12:30
OpenAI has launched GPT-4o, and it’s a game-changer for AI interaction! With GPT-4o, ChatGPT now delivers ultra-fast, natural voice conversations that feel incredibly human. It’s not just about talking, though—the model can actually see and interpret what’s happening around it in real time. Now it can respond to visual inputs and adjust its tone and expressions based on emotional cues, making conversations smoother and more engaging. The model will be available to all users for free soon. @Viral_Today / #technologies
Hashtags
@viral_today · Post #2388 · 12.05.2024 г., 18:30
Meet Smart Plant Ivy: a smart plant pot with sensors to assist in plant care. It expresses emotions to show what your plant requires and includes real-time sensors for monitoring growth. All data is conveniently sent to a smartphone app. @Viral_Today / #technologies
Hashtags
@viral_today · Post #2375 · 10.05.2024 г., 19:09
This innovative tool detects dents and generates comprehensive reports, enhancing quality control in the aviation industry. @Viral_Today / #technologies
Hashtags
@viral_today · Post #2335 · 30.04.2024 г., 18:31
Boston Dynamics dressed up their robot dogs. Sparkles is a custom costume designed just for Spot to explore the intersections of robotics, art, and entertainment. @Viral_Today / #technologies
Hashtags
@viral_today · Post #2314 · 26.04.2024 г., 12:31
An interesting ad showcasing the potential of AI bots @Viral_Today / #technologies
Hashtags
@viral_today · Post #2280 · 17.04.2024 г., 18:30
The Limitless pendant is a new AI device you wear that records everything you hear. The $99 device is meant to help you make the most of every conversation by organizing neat notes and providing post-meeting summaries. The company claims that all data is encrypted and stored in the Limitless Confidential Cloud. @Viral_Today / #technologies
Hashtags
@viral_today · Post #2259 · 13.04.2024 г., 14:30
Would you get this $130,000 Ferguson Hill Jetstream speaker system? @Viral_Today / #technologies
Hashtags
@viral_today · Post #2253 · 11.04.2024 г., 17:45
Two extremely polite autonomous robots trying to pass each other on the narrow path while humans observe them @Viral_Today / #technologies
Hashtags
@viral_today · Post #2209 · 29.03.2024 г., 19:05
Xiaomi SU7 received 50,000 orders in 27 minutes, undercuts Tesla Model 3 by 4,100 USD @Viral_Today / #technologies
Hashtags
@Viral_Today · Post #2167 · 17.03.2024 г., 12:30
All behaviors are learned (not teleoperated) and run at normal speed (1.0x). The images from the robot's cameras and transcribed text from speech captured by onboard microphones are fed to a large multimodal model trained by OpenAI that understands both images and text. The model processes the entire history of the conversation, including past images, to come up with language responses, which are spoken back to the human via text-to-speech. The same model is responsible for deciding which learned, closed-loop behavior to run on the robot to fulfill a given command, loading particular neural network weights onto the GPU and executing a policy. @Viral_Today / #technologies
Hashtags