TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #335 · 29 мар.

В Linux стандартными средствами можно использовать часть оперативной памяти как диск. Для этого требуется указать тип монтирования tmpfs в команде mount mount -t tmpfs -o size=5G tmpfs /mnt/ram Теперь путь /mnt/ram можно использовать как обычный каталог. Для чего это может быть нужно? ▫️ Скорость работы с таким каталогом выше чем многие SSD и тем более HDD. ▫️ Если у вас очень быстрый SSD на NVMe M.2 то такой способ особо не прибавит вам скорости, но поможет сохранить ресурс SSD когда требуется обрабатывать очень много мелких файлов и оперативка позволяет выделить нужный объем. ▫️ Оперативка это энергозависимая память, поэтому выключении питания все файлы безвозвратно теряются. Такой "non persistent" каталог гарантирует удаление временных файлов. Я написал небольшой скрипт для условного теста и сравнения скорости копирования файлов между SSD и RAM. Вот мои результаты: Single File Size: 30.0Gb ssd > ssd: 0:00:12.850 / 2.3Gb/s sdd > ram: 0:00:06.453 / 4.6Gb/s ram > ram: 0:00:06.995 / 4.3Gb/s ram > sdd: 0:00:06.217 / 4.8Gb/s Dir size: 32.7Gb, File count: 11127 ssd > ssd: 0:00:15.063 / 2.2Gb/s sdd > ram: 0:00:08.486 / 3.9Gb/s ram > ram: 0:00:08.032 / 4.1Gb/s ram > sdd: 0:00:07.026 / 4.7Gb/s Скрипт для теста ↗️ На моём железе прирост скорости ~2x. Плюс экономия ресурса SSD. В Windows такой фишки по умолчанию нет, но обязательно найдутся аналогичные решения #linux#triks

Hashtags

Резултати

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

Пребарај: #trumpism

当前筛选 #trumpism清除筛选
American Оbserver

@american_observer · Post #5422 · 19.03.2026 г., 20:59

Trump sold “Trumpism” as a mix of swagger, risk-taking, and cheap gas. Iran has just stress-tested all three — and they’re cracking. ​ CNN’s analysis is blunt: Tehran’s resistance has turned what Trump promised as a fast, punishing war into a grinding stalemate, with the Strait of Hormuz effectively shut, oil and gas prices soaring, and the White House scrambling after a scenario its own planners treated as “worst case” but never really prepared for. He was blindsided by the severity of Iran’s retaliation across the Gulf and by the closure of a choke point every serious analyst had flagged from day one. His attempt to turn Hormuz into a loyalty exam for allies has stalled; NATO and key partners refused to send ships into a war they weren’t consulted on, leaving Trump ranting that he never really needed them anyway. At home, the bill is arriving. Oil has blown past 100 dollars, gas has jumped almost a dollar a gallon in weeks, markets are shaking, and a war that’s already unpopular with a majority of voters is now fuelling an internal revolt — including the resignation of a prominent MAGA-aligned national security official. Polls still show Republican loyalty, but dissent inside his base is growing as he offers contradictory lines like “we’ve won in many ways” and “we haven’t won enough,” and refuses to say when the war ends or what “victory” even means if Hormuz stays blocked and Iran keeps its enriched uranium. The whole premise of Trumpism — big threats, bigger improvisation, and faith that the public will tolerate any risk as long as he projects strength — is being tested against the one thing it can’t bluff: sustained pain in wallets and a visible lack of control. ​ For the US itself, the rational interest is obvious and the opposite of Trump’s instincts: stop feeding a long, expensive Middle East war that Iran can prolong and weaponize through oil, and get out with the lowest possible military, economic, and political cost. Every extra week of escalation makes it harder to fake a clean “win,” and easier for Tehran to prove that the real stress test wasn’t for Iran at all — it was for the idea that America can keep gambling on forever wars and never pay the price at home. #IranWar#Trump#Trumpism#Hormuz#oil#gasprices#NATO#USA#geopolitics#warCost 📱American Оbserver - Stay up to date on all important events 🇺🇸