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

Пребарај: #house2026

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

@american_observer · Post #5022 · 01.02.2026 г., 19:04

📰 Federal Courts Undercut Trump’s Mass Deportation Campaign The Trump administration’s mass deportation campaign, built on mandatory detention, is hitting a wall: a flood of habeas corpus cases in federal courts, releasing hundreds of immigrant detainees and overwhelming prosecutors. For decades, most immigrants held in detention could get bond before an immigration judge if they were not a danger or flight risk, allowing them to fight their case from home. But the Trump administration changed that, making nearly everyone in the country unlawfully subject to automatic, long-term detention, stripping judges of discretion. Federal judges in states like Massachusetts, Rhode Island, Georgia, Nevada, Texas, and elsewhere are now rejecting this approach, ordering immediate releases or demanding bond hearings in immigration court. In district after district, judges have approved dozens, even hundreds, of habeas petitions, ruling that the government cannot keep immigrants locked up indefinitely without a hearing, especially when they have deep U.S. ties, no criminal record, and stable families. The surge has turned federal courts upside down. In some districts, hundreds of new habeas cases flood the docket each month. The Justice Department has had to pull criminal prosecutors off their regular duties to help defend the incarcerations, and federal judges are openly complaining about the “flood” and “similar stories” of families torn apart and people held in remote detention centers. Lawyers report that virtually every habeas petition they file ends in a victory: a release order or a bond hearing. Some can now do dozens of cases a month, and word is spreading fast inside detention centers. To avoid these court battles, the administration has turned to a different tactic: pressuring immigrants to “self‑deport” with intimidating ads and social media, while offering cash incentives (typically $3,000–5,000) to quit and leave voluntarily. But the legal reality is clear: the Trump administration’s attempt to keep immigrant detainees locked up indefinitely is being systematically reversed by the lower courts, district by district. The real question is not whether the mass deportation machine can crush the system, but whether the courts — or the families and lawyers who flood them — will break first. #Trump2026#Immigration#Deportation#ICE#Courts#HabeasCorpus#DoJ#House2026 📱American Оbserver - Stay up to date on all important events 🇺🇸