@elfcryptovip · Post #11738 · 19.07.2025 г., 08:51
JUST IN: 💰 According to report, Jack Dorsey's #Block is set to join the S&P 500.
Hashtags
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
Пребарај: #block
@elfcryptovip · Post #11738 · 19.07.2025 г., 08:51
JUST IN: 💰 According to report, Jack Dorsey's #Block is set to join the S&P 500.
Hashtags
@NEASingapore · Post #803 · 31.03.2024 г., 07:19
Over 5,000 dengue cases were reported in the first quarter of 2024, more than double the 2,360 cases reported in the same period last year. Since the start of 2024, the weekly number of reported dengue cases has remained high, at above 300. There have also been 7 dengue deaths this year. Read on at https://go.gov.sg/dengue-outlook-2024 Dengue risk factors present – high Aedes mosquito population, low population immunity against the Dengue virus – may lead to a surge in dengue cases. Collective responsibility and action are critical. Here’s what you can do to prevent mosquito bites and break dengue transmission: S-A-W (especially if you are diagnosed with or suspected to be infected with dengue) ✔️Spray insecticide in dark corners around the house ✔️Apply insect repellent regularly ✔️Wear long-sleeve tops and long pants Let’s practise these #BLOCK steps at least once a week, to protect ourselves and our families from dengue. B-L-O-C-K ✔️Break up hardened soil ✔️Lift and empty flowerpot plates ✔️Overturn pails and wipe their rims ✔️Change water in vases ✔️Keep roof gutters clear and place BTI insecticide inside 📲Download the myENV app to receive alerts on high Aedes mosquito populations near you, or visit https://go.gov.sg/dengue-high-risk Areas with higher Aedes aegypti mosquito population have a higher risk of dengue and Zika transmission: https://www.nea.gov.sg/dengue-zika/Aedes
Hashtags
@spherecryptoofficial1 · Post #334 · 19.07.2025 г., 08:27
JUST IN: According to report, Jack Dorsey's #Block is set to join the S&P 500. @spherecryptoofficial1
Hashtags
@NEASingapore · Post #629 · 31.08.2023 г., 23:01
#SGDengueUpdate 198 new dengue cases and 35 active dengue clusters were reported in the week ending 26 Aug 2023. Let’s actively do the #BLOCK steps: https://go.gov.sg/mozzieproof
Hashtags
@NEASingapore · Post #626 · 24.08.2023 г., 10:06
#SGDengueUpdate 193 new dengue cases and 41 active dengue clusters were reported in the week ending 19 Aug 2023. Let’s actively do the #BLOCK steps: https://go.gov.sg/mozzieproof
Hashtags
@NEASingapore · Post #624 · 17.08.2023 г., 10:14
#SGDengueUpdate 197 new dengue cases and 37 active dengue clusters were reported in the week ending 12 Aug 2023. No new Zika case was reported last week. Let’s actively do the #BLOCK steps: https://go.gov.sg/mozzieproof
Hashtags
@NEASingapore · Post #604 · 27.07.2023 г., 09:38
#SGDengueUpdate 202 new dengue cases and 41 active dengue clusters were reported in the week ending 22 Jul 2023. 1 new Zika case was reported. Let’s continue to actively do the #BLOCK steps: https://go.gov.sg/mozzieproof
Hashtags
@Kompyuter_akademiyasi · Post #5566 · 01.11.2023 г., 14:56
#youtube#block 📹 YouTube butun dunyo bo‘ylab foydalanuvchilar reklama blokerlaridan foydalansalar, video ko‘rishlarini taqiqlashni boshladi. ➖@texnologiyait➖
@true_flipper · Post #4162 · 27.02.2026 г., 17:55
10 тыс сотрудников vs 6 тыс сотрудников #block#AI
@NEASingapore · Post #694 · 26.10.2023 г., 09:00
#SGDengueUpdate 208 new dengue cases and 51 active dengue clusters were reported in the week ending 21 Oct 2023. #DidYouKnow that individuals infected with dengue are advised to avoid further mosquito bites, to prevent passing on the virus to mosquitoes and other people in the neighbourhood? They can do so by practising S-A-W. To protect ourselves and our families from dengue and Zika, it is critical that we all play our part and do the #BLOCK steps at least once a week. ⚠️ Urgent action from all is critical to prevent a surge in dengue cases at year-end. Areas with higher Aedes aegypti mosquito population have a higher risk of dengue and Zika transmission: www.nea.gov.sg/dengue-zika/Aedes
Hashtags
@TFGames · Post #2066 · 01.02.2024 г., 23:14
#BLOCK#BLAST https://testflight.apple.com/join/3Lq0cEQg
@TFGames · Post #1946 · 18.01.2024 г., 10:42
#BLOCK#BLAST! #GAMES https://testflight.apple.com/join/W8aGAsi5