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

Резултати

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

Пребарај: #weirdfacts

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

@googlefactss · Post #40061 · 10.11.2025 г., 19:02

Chanel Tapper holds the Guinness World Record for the longest tongue — 3.8 in (9.75 cm) — and says she loves watching people shriek in disbelief. She can remove Jenga blocks, grab a lemon from a glass, flip plastic cups, lift a spoon by curling it, and touch her nose and chin with the tip. [Read more] 👅✨😲 @googlefactss#weirdfacts#worldrecords#humanbody#nowyouknow#funfact

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40863 · 26.03.2026 г., 23:01

There is a naturally occurring metal called gallium that melts in your hand. It has a melting point of about 29.8°C (85.6°F), so just holding it makes it turn from a shiny solid into a silvery liquid. Gallium doesn’t react with air, so it can sit in your hand safely, but it can melt containers made of aluminum. Scientists use gallium in electronics, LED lights, and solar panels because of its unique properties. [Read more] @googlefactss #Science#WeirdFacts#Chemistry#DidYouKnow#Materials#Innovation

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40862 · 26.03.2026 г., 15:02

In Death Valley’s Racetrack Playa, large rocks, some weighing hundreds of kilograms, move across the dry lake bed, leaving long tracks behind. This happens when a rare set of conditions align. First, rain fills the lake bed with a shallow layer of water. At night, the water freezes into thin sheets of ice. As the sun warms the ground, the ice breaks into large, floating panels. Light winds then push the ice, slowly moving the rocks across the playa. The tracks left behind can last for decades, creating unique patterns. This natural process has been understood by scientists and is one of the most fascinating geological phenomena. 🪨❄️🌞 [Read more] @googlefactss #Nature#WeirdFacts#Geography#DidYouKnow#Deserts#Science#Mystery

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40844 · 23.03.2026 г., 07:01

There is a volcano in Indonesia called Kawah Ijen that glows bright blue at night. The blue glow comes from burning sulfur gases that ignite as they escape from the crater. Miners work in the area collecting solidified sulfur, even though the fumes are toxic. The effect makes the crater look like a surreal, electric-blue river flowing through the volcano, attracting photographers and adventurers from around the world. 🌋🔵🔥 [Read more 1] [Read more 2] @googlefactss #Nature#WeirdFacts#Volcanoes#DidYouKnow#Science#Adventure#Indonesia

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40821 · 18.03.2026 г., 15:03

There is a place in the Sahara Desert called the Richat Structure, also known as the “Eye of the Sahara.” It is a giant circular formation nearly 50 kilometers wide, visible from space. Scientists believe it formed from erosion, exposing layers of rock in concentric rings. The structure is perfectly round, which makes it look like a massive bullseye in the desert. It has fascinated explorers and geologists for decades because of its unusual shape. 🎯🏜️🌍 [Read more] @googlefactss #Geography#WeirdFacts#Nature#DidYouKnow#Desert#Earth#Landmarks

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40830 · 19.03.2026 г., 15:10

Mammatus clouds look like a sky full of hanging pouches or bubbles. Their name comes from the Latin word “mamma,” which means “breast,” because of their rounded, pouch-like shapes. These clouds often appear after thunderstorms and can be bright white, gray, or even orange during sunset. Despite their dramatic appearance, they are mostly harmless and form when cold air sinks into warmer air below, creating the pouch-like shapes. ☁️🌅🌩️ [Read more 1] [Read more 2] Show your own mammatus cloud pictures, the one with the most likes gets added to the post. 😉 @googlefactss #Nature#WeirdFacts#Weather#DidYouKnow#Clouds#Atmosphere#Sky