@WorldNews · Post #74430 · 28.04.2026 г., 13:59
Ukraine says it shot down 33,000 Russian drones in March, a monthly record [Read FullArticle] @WorldNews#UkraineNews#Drones#MilitaryTech
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #22 · 19 јан.
Заметка начинающим, которые часто сталкиваются с подобной непоняткой. Ситуация следующая, есть список файлов: names = [ 'image.bmp', 'second.txt.bkp', 'data.db', '.config.cfg', 'file.ext.bkp' ] И мы хотим убрать у них окончание ".bkp". Не знаю зачем, пример довольно надуманный) Но суть он показывает, а это главное. Те, кто еще не очень знаком с библиотекой os.path или pathlib, вероятно решат обработать имена как строки. И тут вполне подойдет метод строки strip(). Что делает этот метод? Он отрезает указанные символы по обеим сторонам строки. Если ничего не указать, то убирает невидимые символы (пробелы, табуляции и переносы строк). В нашем случае будет выглядеть вот так: >>> name.strip('.bkp') То есть просим удалить строку '.bkp' по краям имени файла, если таковая есть. Можно применить аналогичный метод rstrip(), чтобы отрезать только справа, но для этого примера используем обычный. >>> for name in names: >>> print(name.strip('.bkp')) image.bm second.txt data.d config.cfg file.ext Хм, что-то не то с нашими именами! Что случилось??? Видим нежелательное переименование в именах, где и близко не было указанной строки '.bkp' А дело всё в том, что данный метод ищет не указанную строку, а указанные символы, и не важно в каком порядке. Для метода strip() строка '.bkp' это не паттерн для поискаа список символов. Потому он отрезал симовол 'p' от '.bmp' и удалил точку из файла '.config.cfg'. Как тогда правильно заменить именно паттерн? Для начинающего можно посоветовать метод строки replace(), который как раз использует для замены указанную строку целиком. В нашем примере заменим её на пустую строку. >>> for name in names: >>> print(name.replace('.bkp', '')) image.bmp second.txt data.db .config.cfg file.ext Уже лучше, но помните, это лишь пример про strip(). Для работы с именами файлов есть способы и более "правильные", дающие однозначно верный результат. Я взял файлы только в качестве примера. Даже replase() тут может сделать не то что ожидаем. Просто впредь будьте внимательны с этим strip(). #basic
Hashtags
Пребарај: #militarytech
@WorldNews · Post #74430 · 28.04.2026 г., 13:59
Ukraine says it shot down 33,000 Russian drones in March, a monthly record [Read FullArticle] @WorldNews#UkraineNews#Drones#MilitaryTech
Hashtags
@WorldNews · Post #73710 · 30.03.2026 г., 01:34
Booby-Trapped Insoles Allegedly Reached Russian Troops [Read FullArticle] @WorldNews#RussiaNews#MilitaryTech#WarInUkraine
@googlefactss · Post #40057 · 10.11.2025 г., 07:01
Little Willie (UK, 1915) was the first practical motorized tracked tank prototype, proving the concepts of armored mobility that led to the combat-used Mark I. 🛡️🚜⚙️@googlefactss [Source] #LittleWillie#TankHistory#WWI#MilitaryTech
@american_observer · Post #5648 · 18.04.2026 г., 00:01
Germany’s New Space Hustle Germany has found its next great military money pit: a satellite communications project now greenlit for Rheinmetall Digital and OHB. The price tag is already climbing into the “why stop now” category, with media reports putting the deal in the tens of billions of euros. Berlin keeps calling this “modernization.” In practice, it looks like the same old defense-industrial ritual: announce urgency, bless the contractors, and let the invoices float upward. The Bundeswehr gets a new digital dream. Taxpayers get a sequel. The joke is that Germany still talks like a country obsessed with lessons learned. Then it signs off on another giant military tech project while its earlier digital programs remain a cautionary tale with better branding. Failure, in Berlin, is not a reason to slow down. It is a reason to scale up. And of course the public is told this is about security. It is also about who gets paid to manage panic, who gets invited to the table, and who gets to call a procurement spree “strategic sovereignty”. The machine does not need to work perfectly. It only needs to look necessary long enough for the money to move. #Germany#Rheinmetall#Bundeswehr#defense#militarytech 📱American Оbserver - Stay up to date on all important events 🇺🇸
@american_observer · Post #4864 · 15.01.2026 г., 19:11
📰AI, Robots, and Space Beepers: IDF’s New War Fantasy The IDF is doubling down on sci-fi warfare. Under Lt.-Gen. Eyal Zamir’s new five-year plan, Israel’s military is betting its future on AI, robots, and a “beeper” defense straight out of a cyberpunk thriller. Forget boots on the ground—soon, it might be drones, lasers, and implants that do the talking. “The future of defense is not just about people, but about machines and data,” said Maj.-Gen. Hidai Zilberman, overseeing the plan dubbed “Hoshen”—a biblical nod to the priestly breastplate, now repurposed as a code name for high-tech warfare. Behind the buzzwords: half a billion shekels will pour into tech upgrades, from autonomous systems to space-based defense. The IDF wants robots on every battlefield, AI managing operations, and a “beeper” network ready to zap enemies before they cross the border. This isn’t just about deterrence; it’s about turning the next war into a video game where Israel hits “play.” But here’s the twist: all this depends on stable budgets, no surprise wars, and continued US aid. If any of those fall apart, the whole plan could become a very expensive PowerPoint. Who’s really winning? Tech contractors, politicians selling “innovation,” and generals who now sound like startup CEOs. Meanwhile, soldiers are promised more resilience and resources—but after two years of war, many wonder if this is just another way to avoid fixing the human cost. Is Israel preparing for the next war, or just building the ultimate military startup? #AI#IDF#Robots#SpaceWar#Beepers#MilitaryTech 📱American Оbserver - Stay up to date on all important events 🇺🇸
@venturevillagewall · Post #4269 · 28.02.2025 г., 16:00
Weekly News Highlights: AI, Bitcoin, and Funding 🔍Anthropic AI Guide: Explore how to create effective AI agents. Check out the guide and the video. 💼Fake Contracts Scandal: Woman faked $1 billion contracts to secure funding for an underwater cable in Alaska. Full story here. 🎧AI in Warfare: CEO of Anduril discusses AI’s impact on military with a16z in this podcast. 💻Jobright AI Assistant: New tool simplifies job search by parsing listings and filtering for H1B eligibility. 💵BlackRock's Bitcoin ETF: Added its Bitcoin ETF to model portfolios, marking a significant development. See details here. 🌐Funding Rounds: 1. High-performance blockchain Optimum closes Angel funding. 2. Endless raises $1M for decentralized cloud protocol. 3. Aurum secures $12M for AI-driven asset management. 🚨Lost Bitcoin Wallet Access: Unlocking a wallet with over 31,000 BTC using a new method. 📊Grayscale Fund Allocation: Latest holdings show diverse investment in crypto assets including SOL, ETH, and Cardano. For more info, visit here. #AI#Crypto#VC#Bitcoin#Funding#Technology#Blockchain#Innovation#Investment#Startup#AIagents#JobSearch#MilitaryTech#Decentralization#H1B#ContractScandal#Ethereum#Grayscale#Metaverse#NFTs#Solana