TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #239 · 3 мај

Один из самых удобных способов записать данные это использование готовых форматов, такие как JSON или YAML. Из плюсов такого подхода стоит отметить вот что: 🔸 готовый, повсеместно используемый и поддерживаемый формат 🔸 простой и понятный файл, удобочитаемый для человека 🔸 можно легко редактировать в любом текстовом редакторе без специальных программ и библиотек Но есть и минусы 🔹 затраты времени при записи файла (кодирование данных в нужный формат строки) 🔹 затраты времени при чтении файла (декодирование данных в Python объекты) 🔹 размер файла увеличивается из-за разметки данных (скобки, запятые, переносы, отступы...) 🔹 перед записью все данные должны быть помещены в память в полном объёме (не всегда) 🔹 при чтении необходимо считать весь файл в память и только потом декодировать данные Если нужно писать немного данных в несколько файлов, то затраты по времени не ощутимы. Обычно это файлы конфига или какие-либо метаданные. Это отличный вариант под такие задачи. Есть и другой поход к записи файлов - это бинарные файлы. Используется, когда данных достаточно много и никто их не собирается читать глазками😳. 🔸 очень быстрая запись 🔸 чтение значительно быстрей чем JSON, YAML итд 🔸 размер файла значительно меньше, так как нет разметки 🔸 можно записывать данные по мере поступления не загружая всё в память 🔸 можно извлечь любую часть данных независимо Из минусов 🔹 нужно определить свой формат записи данных (если не используете готовую спецификацию определённого формата) 🔹 не получится открыть файл и визуально понять что там записано, а для чтения файла потребуется знать его спецификацию. 🔹 не так-то просто создать такой файл без специальной библиотеки В таком виде удобно записывать большой массив любых однородных данных. Например, мониторинг валютной биржи или кэшированная анимация 3D геометрии. (Это не означает что нельзя записать данные разного типа, просто это будет не так удобно) Представьте себе JPG-картинку. По сути это немного мета-информации и большой массив пикселей. Тоже самое со звуком или видео файлом. Поэтому, если вы попробуете открыть картинку в текстовом редакторе вы увидите что-то вроде такого f15d cd29 a564 4578 ... 09e2 9bc4 a696 1253 ... 84e9 4de1 3b23 c24a ... 2534 5161 28e0 709d ... ... Это и есть записанные байтики. И для их чтения требуется определённый софт который знает что с ними делать. Под каждый тип файла. К чему это я? Читайте в следующем посте... #tricks#basic

Резултати

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

Пребарај: #indoeuropean

当前筛选 #indoeuropean清除筛选

On 'Stella Solis' Did you know that the scholiast on Germanicus lists the planet Saturn as 'Stella Solis' - 'Star of the Sun'? Did you know the Babylonians referred to Saturn as '(Mul) Lu-Bat Sag-Uš Mul (il) Šamaš šu-u' - '[the planet] Saturn is the Star of the Sun'? Did you know that in Sanskrit (an #IndoEuropean language) Saturn is called 'Suryaputrah' - 'Son of the Sun'? How can this speck in the sky be referred to as 'star' or 'son of the sun'? It is even smaller than the Sky Father Jupiter. How can weird Caballistic/Christian theories about Saturn being the 'Lord of the (((Chosen People)))' take a hold? I have the answer for you. It will be short, simple and obvious. Coming in an article in a few days. The (((tribe))) is just a bunch of impostors, who obfuscate the real history and re-define it to their advantage! @EuropeanTribalism

On Marduk The Babylonian prime god appeared first in the 3rd millenium B.C. as a Sumerian deity. His serpent-like enemy is Tiamat, the Dragon of Chaos. In order to fight her, he "... grabs a mace, throws lightning before him..." and ultimately vanquishes Tiamat, after chasing her with "... his storm-chariot drawn by four horses." Here we already see a connection to #IndoEuropean roots, as the chariot is a typical symbol.

Just to add one thing: #IndoEuropean|s are around since at least 5.600B.C. In contrast, the Canaanites/Yehudim/Hebrews/(((they))) are around since about 900B.C. - 800B.C. and are, as is their deity, typical children of the Iron (Martian) Age. In order to fix our situation we have to find and reconnect to our true heritage. @EuropeanTribalism

On Christianity Broke: 'Judeo-Christian Occident' Woke: 'Evil Christianity' Bespoke: 'Christians are a joke. Their entire religion revolves around scavenged myths from older times and their doctrine produces only slave brains, which are in fundamental opposition to the Aryan spirit!' The fundamental atrocity of Christianity is the destruction of the Aryan spiritual connection to the divine. The body, the vessel of godlike powers is mutilated to a mere piece of flesh, which only exists to worship and obey a god which is above it. Refuse to be a mental slave! Seek your spiritual roots in the teachings of the #IndoEuropean|s! @EuropeanTribalism

In the Proto-Indo-European language there is no word for king, however there is a word for 'clan chieftain' (wiḱpótis). We could now theorize that #IndoEuropean|s were organized in small groups or clans. Guess where our compatibility with small, manageable tribes comes from!

In the Proto-Indo-European language there are many words for animals and few for fruits, veggies, and grains suggesting a meat-based diet. Combined with the fact that for example the Scythians were nomadic pastoralists makes the Keto diet a peak #IndoEuropean way of nutrition. @EuropeanTribalism

In Proto-Indo-European there is a word for winter/cold (h₂ŕ̥ḱtos). (It also is translated to 'bear'.) It suggest #IndoEuropean|s originated in a more northern climate. Colder climate indicates higher intelligence, as higher temperatures do not benefit a high cognitive performance. @EuropeanTribalism

On the Oseberg Buddha Aboard the 🔗Oseberg Ship there was a little statue, decorated with a cross (pre-Christian time!) and four swastikas positioned with the lotus-seat, known by Asian Buddha statues. We have to connect multiple things here: - swastikas are an Indo-European symbol - the cross is not a Christian symbol - Indo-European lore stretches from India to Scandinavia Who is this statue representing? Thor maybe? In a later article I will elaborate on a possible origin of the swastika, explaining why we Europeans are the bearers of this symbol and why some self-chosen tribe tries to suppress this. #indoeuropean#artifacts @EuropeanTribalism

On Ukko The Finnish Kalevala describes Ukko as an old man, but a powerful one. The legendary character was the god of sky, weather and crops. He could create thunderstorms just by driving his chariot through the clouds. The most significant god in Finnish mythology also had a great weapon: variously described as a hammer, an axe or sword, with which he could create lightning. Ukko was so powerful that a literal thunderstorm took place every time he hooked up with his wife Rauni. Does this sound like an #IndoEuropean archetype, like 🔗Thor to you? #mythology @EuropeanTribalism

On connections I just was reading through some of my old articles and came across 'Scythian Art'. Maybe you want to compare the depiction of the Scythian goddess Apa with the depiction of Kali in this article. There should be no doubt that Apa is based on Kali, the raging hag. In fact we find many female deities who are similar to this Vedic goddess or based on her, like Hathor, Ku-Bao (who derived also from Matar Kubileya), Hera and Astarte. If we give value to this connection, we will be abled to identify the origin of Kali and subsequently all derived goddesses, who are not of the Neolithic fertility archetype, but of Vedic and thus #IndoEuropean origin. #mythology @EuropeanTribalism

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