@trumpsear_tg · Post #1934 · 19.12.2025 г., 19:59
A math lesson from Secretary of Commerce Howard Lutnick #Lutnick#Commerce 👂More on Trump's Ear
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #303 · 27 дек.
Наверняка вы замечали, что в Python есть удобная функция для получения переменной окружения os.getenv(NAME) И её "сестра" для создания или изменения переменных окружения os.putenv(NAME, VALUE) Но почему-то putenv() не работает как должно. Энвайромент не обновляется! os.putenv('MYVAR', '1') print(os.getenv('MYVAR')) ... и ничего 😴 Почему так? На самом деле энвайромент обновляется, но это значение не добавляется в словарь os.environ. Откройте исходник функции os.getenv(). Это просто шорткат для os.environ.get() В то время как putenv() это built-in С-функция. Словарь os.environ (или точней класс из MutableMapping) создаётся из энвайромента в момент инициализации. Функция putenv() самостоятельно его не изменяет. В тоже время, когда вы создаёте или изменяете ключ в os.environ, автоматически вызывается putenv() в методе __setitem__(). То есть, технически putenv() всё делает верно, но в os.environ это не отражается. Можно проверить так: >>> os.putenv('MYVAR', '123') >>> os.system('python -c "import os;print(os.getenv(\'MYVAR\'))"') 123 Я объявил переменную в текущем процессе и вызвал дочерний процесс, который её унаследовал и получил в составе os.environ. Аналогично при удалении переменной вызывается еще одна built-in функция unsetenv(), удаляющая переменную из системы. Итого ▫️ Удобней всего явно обновлять переменные через os.environ ▫️ Есть способ неявно создать/удалить переменную через putenv/unsetenv, что не повлияет на os.environ но изменит энвайромент и передаст изменения сабпроцессам. Но так лучше не делать! ▫️os.environ это просто обертка для built-in функций putenv() и unsetenv(). #basic
Hashtags
Пребарај: #commerce
@trumpsear_tg · Post #1934 · 19.12.2025 г., 19:59
A math lesson from Secretary of Commerce Howard Lutnick #Lutnick#Commerce 👂More on Trump's Ear
@venturevillagewall · Post #4187 · 19.02.2025 г., 04:00
Crypto-Friendly Lutnick Confirmed as Commerce Secretary The US Senate has confirmed Howard Lutnick as Secretary of Commerce, known for his pro-crypto stance. In related news, State Street and Citi, two major banks, are both entering the cryptocurrency custody business, with State Street planning to launch services next year. State Street manages $46.6 trillion while Citi holds $25 trillion in custody assets. Read more here and further details on custody here. #Crypto#Commerce#Banking#Custody#HowardLutnick#StateStreet#Citi#Finance#Assets#Investment#DigitalAssets#BitCoin#CustodianServices#Blockchain#Senate#Regulation#USPolitics#Cryptocurrency#Innovation#CryptoNews
@githubtrending · Post #15100 · 29.08.2025 г., 11:30
#typescript#commerce#e_commerce#javascript#marketplace#marketplace_solution#medusa#medusajs#medusajs_v2#multi_vendor#multi_vendor_ecommerce#multivendor_ecommerce#nodejs#open_source#shopping_cart Mercur is a free, open-source platform that lets you build and run your own multi-vendor marketplace with full control over your data, infrastructure, and customizations. It combines the ease of SaaS with the freedom of open source, so you avoid transaction fees and vendor lock-in. Built on modern MedusaJS technology, Mercur supports both B2C and B2B marketplaces, offering customizable storefronts, admin and vendor panels, and integrations like Stripe for payments. This means you can create a unique, scalable marketplace tailored to your business needs without relying on costly or restrictive platforms. It requires some technical skill but gives you complete ownership and flexibility. https://github.com/mercurjs/mercur
@venturevillagewall · Post #4186 · 19.02.2025 г., 01:00
Howard Lutnick Named Secretary of Commerce Pro-Bitcoin advocate Howard Lutnick confirmed as U.S. Secretary of Commerce. By Q4 2024, 1,576 firms invested in U.S. spot Bitcoin ETFs, totaling $26.8bn AUM (+113%). Institutional investments rose to 25.4% of AUM, up from 21.3% in Q3, propelled by high IBIT activity. More details here: watcher Guru #Bitcoin#ETF#Finance#Investing#HowardLutnick#Commerce#InstitutionalInvesting#IBIT#Crypto#AUM#USA#ProBitcoin#MarketTrends#InvestorInterest#Q42024#WallStreet#CryptoNews#Regulations#DigitalAssets#VC
@venturevillagewall · Post #3435 · 19.12.2024 г., 06:42
E-commerce Conversion Crisis E-commerce stores face a critical issue: they struggle to convert social media traffic into purchases, with conversion rates half as effective as average standards. Social media is a key source for online sales, with 64% of internet users shopping through these platforms, accounting for one-third of total online sales. The significant loss from unconverted traffic prompts stores to seek solutions, making platforms that improve conversion rates highly valuable. Learn more about a startup addressing this issue: Read here #Ecommerce#SocialMedia#Conversion#OnlineSales#Startup#Traffic#Retail#DigitalMarketing#Commerce#Business#Tech#Innovation#Sales#Marketing#UserExperience#Platforms#Shopping