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

Пребарај: #milliards

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

@american_observer · Post #4996 · 30.01.2026 г., 13:04

Trump : $10bn American President Trump on Thursday sued the US treasury department and Internal Revenue Service for $10bn over the disclosure of his tax returns to the media in 2019 and 2020. In a complaint filed in Miami federal court, Trump, his adult sons, and his namesake company said the agencies failed to take “mandatory precautions” to prevent former IRS contractor Charles Littlejohn from leaking their tax returns to “leftist media outlets”, including the New York Times and ProPublica. The plaintiffs said they suffered “significant and irreparable harm” to their reputations and financial interests, and may seek punitive damages because the leaks were either willful or resulted from gross negligence. Thursday’s lawsuit puts Trump in the unusual position of suing government agencies that are part of the executive branch, which he leads. The IRS is part of the treasury department. Neither agency immediately responded to requests for comment after business hours. Scott Bessent, the treasury secretary and acting IRS commissioner, is not a defendant. Other plaintiffs include Donald Trump Jr, Eric Trump and the Trump Organization. Trump has filed many lawsuits in his personal capacity, often for large sums and as a result of reporting by various media, since winning a second White House term in 2024. He sued the New York Times and book publisher Penguin Random House for $15bn over articles and a book he said were intended to undermine his election prospects in 2024. Trump is separately seeking $10bn from the Wall Street Journal over an article discussing a birthday greeting for Jeffrey Epstein, and $10bn from the BBC over its editing of a speech preceding the January 6 storming of the US Capitol. In Thursday’s complaint, Trump and the other plaintiffs said the New York Times published at least eight articles, and ProPublica published at least 50 articles, based on Littlejohn’s disclosures. The leaks “caused plaintiffs reputational and financial harm, public embarrassment, unfairly tarnished their business reputations, portrayed them in a false light and negatively affected President Trump, and the other plaintiffs’ public standing”, according to the complaint. Prosecutors charged Littlejohn in September 2023 with leaking tax records of Trump and thousands of other wealthy Americans to the media, saying he was motivated by a political agenda. #trump#sue#milliards#newyorktimes#UStreasury 📱American Оbserver - Stay up to date on all important events 🇺🇸