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

Резултати

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

Пребарај: #dashboard

当前筛选 #dashboard清除筛选
Discord | Parser

@parserdiscord · Post #170 · 10.11.2025 г., 03:17

$CC Discord: link Ветка: community-updates —————————————————— 💬 Новое сообщение: [03:17:55] ## Attention Canton Network Users! I would like to start by saying how much we appreciate everyone in this community for integrating into what we at Canton Network and its ecosystem partners have worked so hard to build! We know that many of you have been early supporters, and some of you have simply shown up, so we want to do something special for all of you. I know there have been many discussions about an airdrop for specific role holders, but this will not be the typical airdrop you're used to, where all you needed to do was participate on mainnet or hold a role within the community. No, we will be offering a variety of opportunities for everyone to participate and earn fairly, with some extra leverage for those who have been helping to build Canton and share updates about what’s happening in the ecosystem. Canton Network is committing $50,000 in $CC (regardless of price fluctuations) to the community and here are all the ways you could potentially earn the rewards throughout the next 30 days: **Canton XP:** We will be introducing Canton XP (CXP) to the community. Canton Points will be integrated into the ecosystem using . We will release various tasks, quests, and opportunities to earn Canton Points. These could include attending an AMA, creating *quality* content for Canton, building with DAML, or simply helping users get more involved in the ecosystem. Our moderators will award different amounts of CXP for all these activities and more. The events might offer CXP rewards, Secret Role rewards, or just $CC rewards—you'll have to wait and see which events give what, but all rewards are valuable—and your roles matter too! There has been a lot of discussion about what your roles could provide, and we have the answer that fits here. These quests and tasks also give you the chance to earn multipliers for the CXP you receive, and yes, role multipliers stack! There will be role-specific opportunities as well as time-based multiplier opportunities, giving everyone a chance to climb the leaderboard! Just keep in mind, as easily as you can earn points, they can also be taken away from you bad actors. **Regional Channels:** Each regional channel, all 13, will have access to its own $1,000 and CXP that you can win within your local channel by completing events and tasks there. Your content will matter, your participation will matter, and, as always with me, your voice will matter. **Role Raffles:** Your roles are something many of you have worked hard for—creating content, participating in events, being a builder, or even just showing up early—and we believe that's an achievement in itself. Each role will have its own raffles where you can randomly win $CC just by entering. The roles eligible for raffles include , , , and (we may still do ). Each will have its own reward pool and raffle for you all to join. Sometimes you might win $50 in $CC; other times, it could be $500. We're giving the roles the opportunity to decide how much some of the raffles should be for. Each role will have a dedicated channel for discussions, but ultimately, the decisions will be put to a vote. Work together and consider whether one big prize for a raffle is worth it, or if multiple smaller raffles make more sense. The choice is yours. **Leaderboards:** All the CXP will accumulate until the end of the 30 days, placing you on a Drip Leaderboard. You can view this leaderboard in #dashboard as you earn CXP. At the end of the 30 days, we will award $CC rewards to the top participants ranked 1-500, with the top prize being $3000 to a single winner. Now, we will be sharing more and more details as time goes on but i will be sure to keep everyone updated. We kick things off tomorrow! —————————————————— 📖Дневник Тойошика

Hashtags

Dataviz jobs

@dataviz_jobs · Post #1984 · 28.04.2026 г., 11:07

В Binance (Taiwan, China) требуется: Business Intelligence Data Analyst. Из инструментов: Tableau / Qlik. https://remotefirstjobs.com/companies/binance/jobs/business-intelligence-data-analyst-777278 #foreign #dashboard

Dataviz jobs

@dataviz_jobs · Post #1973 · 27.04.2026 г., 09:31

В Dreamix требуется: Lead Data Engineer AWS Architect. Из инструментов: Power BI / Tableau / Looker. https://remotefirstjobs.com/companies/dreamix/jobs/lead-data-engineer-aws-architect-776829 #foreign #dashboard

Dataviz jobs

@dataviz_jobs · Post #1970 · 24.04.2026 г., 16:14

В Upwork требуется: Senior Analyst, Product Analytics: Marketplace. Из инструментов: Tableau / Looker. https://remotefirstjobs.com/companies/upwork/jobs/senior-analyst-product-analytics-marketplace-774354 #foreign #dashboard

Dataviz jobs

@dataviz_jobs · Post #1919 · 17.04.2026 г., 08:55

В Revelator требуется: Distribution Operations Director. Из инструментов: Tableau / Looker / Excel. https://remotefirstjobs.com/companies/revelator-ltd/jobs/distribution-operations-director-767319 #foreign #dashboard

123•••5•••10•••15•••20•••25•••30•••35•••40•••45•••50•••5455
ПретходнаСтраница 1 од 55Следна