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 слични објави

Пребарај: #yearone

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

@american_observer · Post #4901 · 20.01.2026 г., 02:00

📰 Trump’s Year One: The Under-the-Radar Revolution Nuclear Moon Base by 2030? NASA, under Sean Duffy's leadership, fast-tracked a nuclear reactor for the moon—aiming for 2030 launch. This isn't sci-fi; it's a geopolitical race with China and Russia, who plan their own lunar power plant by 2035. Whoever gets there first writes the space rules. ​"The U.S. and China are devising plans to build long-term bases on the moon, and nuclear reactors will be key to powering those outposts." Crypto Goes Mainstream Trump signed the GENIUS Act, unlocking stablecoins for Wall Street. Banks like Bank of America and Goldman Sachs are now exploring dollar-pegged digital tokens. Goodbye legacy payments; hello crypto for your groceries? ​ Confederate Bases Revived Nine Army bases got their old Confederate names back—Fort Hood among them. Civil rights groups cry foul, but Trump ignored Congress's independent commission. Cost to rename? $40 million. Cost to undo? Priceless for some. ​ Pennies Axed, Trump Coin Coming The U.S. Mint minted its last penny in November 2025. Trump killed the money-losing coin, saving $85 million yearly. Next up: a Trump-faced $1 coin for America's 250th birthday. Rounding up prices? Consumers pay an extra $6 million annually. ​ DOJ's Voter Roll Raid Justice Department demanded voter registration data from 43 states, suing 23 that refused. States claim privacy violations; DOJ calls it election integrity. The real goal? Purging "illegals" from rolls before midterms. ​ Coal Plants Forced Open Energy Secretary Chris Wright used emergency powers to keep aging coal plants running—Michigan, Washington, Colorado. Critics: it's expensive and dirty. Trump: it's about your electricity bill. ​ Dreamers Booted from Obamacare Trump redefined "lawfully present" to exclude DACA recipients from subsidies in 19 states. 2,300 Dreamers lost coverage; 1 million more uninsured by 2034. Hospitals brace for uncompensated care. ​ Psychedelics Fast-Tracked RFK Jr.'s HHS is rushing MDMA and psilocybin for PTSD. FDA Commissioner Marty Makary promises approval within 12 months. Republicans, once wary, now lead the psychedelic revolution. ​ Africa Aid Gutted Trump's DOGE team (Pete Marocco, Elon Musk) froze the U.S. African Development Foundation, canceling grants. The agency sued, but SCOTUS conservatives may let Trump win. ​ The Real Winner? While headlines scream Greenland and tariffs, Trump's quietly remade America—from moon nukes to crypto cash, Confederate nostalgia to psychedelic therapy. Survival of the boldest. #trump#yearone#policy#americafirst#doge 📱American Оbserver - Stay up to date on all important events 🇺🇸