Один из самых удобных способов записать данные это использование готовых форматов, такие как 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
Appian CEO Challenges AI Industry to Prioritize Trust
Matt Calkins, CEO of Appian, has called on the AI industry to prioritize responsible development and trust. At a critical moment for AI, Calkins unveiled guidelines promoting data transparency, user consent, and respect for intellectual property.
"We must ensure AI flourishes by building trust," Calkins stated. His four principles include disclosing data sources, using private data with consent, anonymizing personally identifiable data, and compensating for copyrighted information. These steps aim to shift AI development from a data race to a trust race.
As AI faces increasing scrutiny, Calkins positions Appian as a leader in responsible AI, encouraging others to join this movement. Trust, he argues, will unlock AI's full potential and redefine industry success.
#AI#ResponsibleAI#DataPrivacy#Appian#TechLeadership
🚀 ICT WEEK UZBEKISTAN 2026
The future isn’t coming.
It’s being built — right here, right now.
This September, Tashkent becomes the meeting point of global innovation. Visionary leaders, fast-growing startups, top tech companies, policymakers, and international partners will gather to shape the next era of digital transformation in Central Asia and beyond.
🌍 Discover breakthrough technologies
🤝 Meet decision-makers and global partners
💡 Turn bold ideas into real projects
📈 Unlock new markets and opportunities
This is not just an event.
Whether you are a government leader, investor, entrepreneur, tech professional, or innovator —
ICT Week Uzbekistan is where you need to be.
✨ Why attend?
✔️ High-level networking with global tech leaders
✔️ Startup & innovation showcases
✔️ Strategic forums and policy dialogues
✔️ Investment and partnership opportunities
✔️ Access to the fast-growing Central Asian tech market
📍 Tashkent, Uzbekistan
📅 September 22–25, 2026
Be part of the conversations that will define your tomorrow.
Join ICT Week Uzbekistan 2026.
Let’s connect. Let’s collaborate. Let’s build the future — together.
#ICTWeekUzbekistan2026#ICTWeek#DigitalTransformation#Innovation#TechLeadership#CentralAsia#FutureIsNow#Uzbekistan
🚀 ICT WEEK UZBEKISTAN 2026
The future isn’t coming.
It’s being built — right here, right now.
This September, Tashkent becomes the meeting point of global innovation. Visionary leaders, fast-growing startups, top tech companies, policymakers, and international partners will gather to shape the next era of digital transformation in Central Asia and beyond.
🌍 Discover breakthrough technologies
🤝 Meet decision-makers and global partners
💡 Turn bold ideas into real projects
📈 Unlock new markets and opportunities
This is not just an event.
Whether you are a government leader, investor, entrepreneur, tech professional, or innovator —
ICT Week Uzbekistan is where you need to be.
✨ Why attend?
✔️ High-level networking with global tech leaders
✔️ Startup & innovation showcases
✔️ Strategic forums and policy dialogues
✔️ Investment and partnership opportunities
✔️ Access to the fast-growing Central Asian tech market
📍 Tashkent, Uzbekistan
📅 September 22–25, 2026
Be part of the conversations that will define your tomorrow.
Join ICT Week Uzbekistan 2026.
Let’s connect. Let’s collaborate. Let’s build the future — together.
#ICTWeekUzbekistan2026#ICTWeek#DigitalTransformation#Innovation#TechLeadership#CentralAsia#FutureIsNow#Uzbekistan
Trump Signs AI Development Plan
President Trump has signed an executive order to establish the U.S. as the world leader in AI. A 180-day deadline is set for creating an AI Action Plan aimed at strengthening America's global dominance in this field. Additionally, Trump has tasked his AI advisor to eliminate policies from the previous administration. This announcement was made during his speech at the World Economic Forum, affirming plans for leadership in AI and cryptocurrency.
For more details, check the full articles: Forklog News
#AI#Crypto#Policy#TechLeadership
#AI#Crypto#Policy#TechLeadership#Trump#Innovation#Economy#NationalSecurity#ExecutiveOrder#Davos#ActionPlan#America#FutureTech#Leadership#GlobalDominance
Market Trends Impact Developer Salaries
Developers face salary stagnation as the job market grows competitive. With more candidates than job openings, mid-senior professionals find job switches yield minimal salary increases. Becoming a tech lead is rare and corporations limit hiring senior candidates. Stability may lie in entrepreneurship or pet projects instead. Consider exploring these options for long-term financial health.
#JobMarket#DeveloperSalaries#Entrepreneurship#PetProject#IT#CareerGrowth#TechIndustry#EmploymentTrends#SalaryTrends#BusinessModel#Stability#Competition#JobSwitch#MidCareer#SeniorDevelopers#MarketAnalysis#ITCareers#FinancialPlanning#TechJobs#Startup#TechLeadership