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

Резултати

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

Пребарај: #insects

当前筛选 #insects清除筛选
Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40801 · 15.03.2026 г., 15:03

The praying mantis is the only insect that can turn its head rotating it up to 180 degrees due to a flexible joint between the head and prothorax. This unique, adaptation allows them to track prey and monitor surroundings without moving their bodies. @googlefactss#insects

Hashtags

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #39916 · 10.10.2025 г., 10:50

A tarantula hawk wasp finds and stings a tarantula then carries the paralyzed spider to its lair, where it lays a single egg on the spider before burying it alive. Once the egg hatches, the larva eats the inside of the still-living spider, being careful to avoid vital organs until last. @googlefactss#insects

Hashtags

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40524 · 11.01.2026 г., 15:05

Dragonfly nymphs (larvae) breathe and move using their anus, drawing water in for gas exchange (breathing via internal rectal gills) and expelling it forcefully for jet propulsion to escape danger or catch prey, a remarkable adaptation for their aquatic life. @googlefactss#insects#nowyouknow

Interesting Planet 🌍

@interesting_planet_facts · Post #421 · 26.07.2025 г., 00:22

🌎 Some cicada species spend 17 years underground as nymphs before emerging in huge synchronized swarms. This odd lifecycle helps them overwhelm predators and ensures their survival. ✨ #insects⚡#evolution⚡#adaptation 👉subscribe Interesting Planet

Interesting Planet 🌍

@interesting_planet_facts · Post #1159 · 24.12.2025 г., 12:11

🌎 The orchid mantis of Southeast Asia blends in with flowers thanks to petal-shaped limbs and white, pink, or yellow coloring that matches local orchids. This insect both camouflages from predators and attracts pollinators, which it ambushes for food. ✨ #animals⚡#camouflage⚡#insects 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1246 · 22.01.2026 г., 18:11

🌎 The Indian leaf butterfly disguises itself as a dead leaf when at rest, with veins and brown patterns mimicking real foliage. When disturbed, it reveals bright blue and orange wings underneath—stunning colors that help startle predators. This butterfly is native to forests in South and Southeast Asia. ✨ #camouflage⚡#adaptation⚡#insects 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #378 · 21.07.2025 г., 18:22

🌎 The mimicry leaf insect looks exactly like a real leaf, down to brown spots that resemble decay. This remarkable disguise protects it from hungry predators by blending perfectly into the forest floor. ✨ #insects⚡#camouflage⚡#adaptation 👉subscribe Interesting Planet

ПретходнаСтраница 1 од 3Следна