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

Пребарај: #detention

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

@american_observer · Post #5190 · 21.02.2026 г., 19:02

“Terror Against Noncitizens”: When Trump’s Deportation Machine Meets a Fed-Up Judge A federal judge in California just called Trump’s immigration policy what immigrant communities have been calling it for years: “terror.” U.S. District Judge Sunshine Sykes accused the administration of “terrorizing” migrants, “recklessly” violating the law, and even “extending its violence on its own citizens” by linking the crackdown to two fatal shootings in Minnesota. The core fight is over mandatory detention. Under previous administrations, undocumented people with no criminal record generally had a shot at a bond hearing while their cases crawled through immigration court. Trump’s team shut that door, cutting off hearings and forcing thousands to file individual habeas petitions in federal court just to get a judge to look at their detention. More than 20,000 such cases have been filed since he took office. Judges keep granting release — and then catching the government ignoring, delaying, or creatively “misunderstanding” their orders. Sykes had already ruled in November and December that Trump’s blanket detention policy violated federal law and extended her order nationwide. The administration kept denying hearings anyway. In her new decision, she ordered DHS to notify eligible detainees they may qualify for bond and to give them access to a phone and a lawyer within an hour. She also vacated an immigration court ruling the White House was using as cover to continue the policy. ​ She isn’t alone. A judge in Minnesota just held a Trump lawyer in contempt for failing to return IDs to a migrant who’d already been ordered released, and a New Jersey judge demanded the administration explain why it missed court‑ordered deadlines in a dozen bond cases since December. “Judicial orders should never be violated,” one wrote — a sentence that shouldn’t need to exist in a functioning separation of powers. The administration’s answer? Homeland Security insists the Supreme Court has repeatedly backed its view of mandatory detention and says ICE “adheres to all court decisions until it ultimately gets them shot down by the highest court in the land.” Translation: we follow lower‑court orders only long enough to get them overturned, and if we don’t, well, you can always file another lawsuit. So on paper this is about bond hearings and statutes. In practice, it’s about an executive branch testing how far it can push the courts, how much fear it can generate, and how many people it can keep locked up by default — until a judge finally uses the word everyone else has been avoiding. #immigration#Trump#courts#detention#ruleOfLaw#fakeDemocracy 📱American Оbserver - Stay up to date on all important events 🇺🇸