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

Резултати

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

Пребарај: #afp

当前筛选 #afp清除筛选
Addis Standard

@addisstandardeng · Post #21455 · 19.02.2026 г., 13:45

#AFP journalist blocked from flying to #Ethiopia's #Tigray region An AFP journalist was on Thursday barred from boarding a flight to Tigray in northern Ethiopia, where renewed tensions in recent months have raised fears of fresh conflict. An accredited AFP reporter based in Addis Abeba was blocked from boarding a flight to Shire in Tigray because he did not have authorization from the Ethiopian Ministry of Foreign Affairs. https://addisstandard.com/?p=55247

Addis Standard

@addisstandardeng · Post #21460 · 20.02.2026 г., 07:14

#Drone strike at #Sudan's border with #Ethiopia kills one: authorities A drone attack blamed on paramilitary forces killed one person Thursday in the Sudanese town of Kurmuk, on the border with Ethiopia, authorities said. "One person was killed, eight injured and 16 houses destroyed," a government source told #AFP by phone from #Kurmuk, a border town controlled by the army in Sudan's Blue Nile state. In a statement, Kurmuk governor Abdelaty Mohamed al-Fiky blamed the strike on the paramilitary Rapid Support Forces (#RSF), at war with the army since April 2023, and their allies, a faction of the Sudan People's Liberation Movement-N orth (SPLM-N). Blue Nile state is the latest front in nearly three years of devastating war, now being fought mainly with deadly drone strikes. The fighting has left tens of thousands dead and around 11 million displaced, creating the world's largest hunger and displacement crises. https://www.facebook.com/share/18JNprLucH/

Addis Standard

@addisstandardeng · Post #21930 · 03.04.2026 г., 09:39

News: AI-generated war narratives fuel #Ethiopia–Eritrea tensions online: report Artificial intelligence (#AI) generated images and videos portraying a hypothetical #Ethiopian military takeover of #Eritrea’s strategic port of #Assab are increasingly shaping online narratives and inflaming tensions between the two countries, according to a report by #AFP. One of the most prominent creators, 24-year-old Ethiopian law graduate Eliyas Kebede Zemedkun, who has more than 87,000 Facebook followers, told AFP he has spent much of 2026 producing AI-generated content depicting Ethiopia occupying Assab to promote what he described as “Ethiopia’s national narrative.” “I am also motivated to use AI-generated content to challenge narratives that try to downgrade the national army through different demoralizing tactics,” he said, adding that he uses free platforms such as #ChatGPT and #Gemini alongside editing software to create the material. Read more: https://addisstandard.com/?p=56283