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

Резултати

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

Пребарај: #businessmodel

当前筛选 #businessmodel清除筛选
Venture Village Wall 🦄

@venturevillagewall · Post #3609 · 21.12.2024 г., 08:00

Disrupting Subscription Models A startup aimed at transforming content purchasing models could emerge as a billion-dollar company. Current subscription systems frustrate users who prefer one-time access without ongoing commitments. With over 70% of subscribers dropping off within 3-6 months, creators are hesitant to implement one-time payment options, as they often yield lower revenue. However, innovation in this area could change the game. For more details, visit FastFounder. #Startup#Subscription#Content#Innovation#Revenue#BusinessModel#Fintech#CustomerExperience#Payment#MarketTrends

Venture Village Wall 🦄

@venturevillagewall · Post #4029 · 30.01.2025 г., 13:00

From Pet Project to Europe's Top Startup Klarna, founded by three Swedish students in 2005, progressed from an idea into Europe's most valuable startup worth $45.6 billion. Initially losing a school competition, they launched a unique payment service. By offering a secure, easy checkout and features like BNPL, Klarna solved key challenges for sellers and buyers. Despite major fluctuations in valuation, they are now preparing for their IPO. This journey emphasizes resilience in entrepreneurship and the complexities of attracting investments. Read more here. #Klarna#Startup#Europe#FinTech#Payments#BNPL#IPO#Entrepreneurship#Investment#TechInnovation#BusinessGrowth#E-commerce #Sweden#Funding#BusinessModel#TechStartups#FinancialServices#OnlinePayments#Disruption#VentureCapital#AI#Crypto

Venture Village Wall 🦄

@venturevillagewall · Post #3446 · 19.12.2024 г., 13:01

Insight on Pricing Strategy A Telegram bot for online store owners is launching with a subscription price of 320 rubles per month, which is lower than competitors to attract users. The creator struggled with pricing, consulting friends and family, leading to a divide in opinions. A seasoned relative advised that the price might be too low, suggesting a higher price to target a more serious audience. The discussion emphasizes that proper pricing should balance economic viability and marketing return, stating that high perceived value justifies higher pricing. Key takeaway: avoid relying on inexperienced opinions about business strategies. #Subscription#Ecommerce#PricingStrategy#MarketResearch#OnlineStore#BusinessAdvice#UserFeedback#ProductValue#Entrepreneur#Marketing#TelegramBot#ValuePricing#MarketCompetition#ConsumerInsights#Startup#BusinessModel

Venture Village Wall 🦄

@venturevillagewall · Post #3719 · 26.12.2024 г., 10:00

Nvidia's Earnings Shift Expected in 5 Years AI companies are struggling to earn enough to cover investments, according to David Kahn from Sequoia, who noted they should earn 6 times more. Currently, Nvidia leads AI earnings. SK Capital projects a shift in 3-5 years where solution developers like OpenAI will earn significantly more. This mirrors trends from the tech boom when software developers eventually outpaced hardware manufacturers. For detailed insights, read the full report here. #Nvidia#AI#Crypto#Sequoia#SKCapital#OpenAI#TechBoom#Earnings#Investments#MarketTrends#Software#Hardware#Developers#Graphics#Chips#GenerativeAI#InvestmentForecast#TechIndustry#BusinessModel#ValueChain#AIRevenue

Venture Village Wall 🦄

@venturevillagewall · Post #3903 · 17.01.2025 г., 13:00

Market Trends Impact Developer Salaries Developers face salary stagnation as the job market grows competitive. With more candidates than job openings, mid-senior professionals find job switches yield minimal salary increases. Becoming a tech lead is rare and corporations limit hiring senior candidates. Stability may lie in entrepreneurship or pet projects instead. Consider exploring these options for long-term financial health. #JobMarket#DeveloperSalaries#Entrepreneurship#PetProject#IT#CareerGrowth#TechIndustry#EmploymentTrends#SalaryTrends#BusinessModel#Stability#Competition#JobSwitch#MidCareer#SeniorDevelopers#MarketAnalysis#ITCareers#FinancialPlanning#TechJobs#Startup#TechLeadership