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

Резултати

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

Пребарај: #edps

当前筛选 #edps清除筛选
AI & Law

@ai_and_law · Post #670 · 02.10.2025 г., 07:04

🇪🇺Human Oversight in Automated Decision-Making: EDPS Weighs In The European Data Protection Supervisor (EDPS) has released a new TechDispatch examining the role and limits of human oversight in automated decision-making technologies (ADMT). The report highlights both the necessity of human involvement and the risks of overestimating its effectiveness. While oversight is often seen as a safeguard against bias, misclassification, and opacity in ADM systems, the EDPS warns that inserting humans into the process does not automatically guarantee fairer or safer outcomes. The paper underscores that flawed assumptions about human involvement can lead to weak or symbolic oversight, risking harm to individuals and undermining fundamental rights such as privacy, non-discrimination, and due process. For oversight to be meaningful, it must be carefully designed, accounting for the complexities of human-machine interaction and ensuring accountability remains with system providers and deployers. The EDPS calls for structured approaches that align oversight practices with ethical standards, societal values, and democratic principles. #AIRegulation#FundamentalRights#EDPS

AI & Law

@ai_and_law · Post #704 · 18.11.2025 г., 08:04

🇪🇺EDPS Releases New Guidance on AI Risk Management for EU Institutions The European Data Protection Supervisor has issued guidance designed to help data controllers assess risks when developing, procuring, or deploying AI systems. Although targeted at EU institutions, offices, and agencies, the document also serves as a practical reference for private organizations aiming to align AI practices with existing data protection obligations. The guidance outlines a structured approach to risk management methodology, emphasizes AI life cycle oversight, and integrates interoperability considerations. It also examines specific categories of risk and pairs them with corresponding technical mitigation measures — offering a clearer operational pathway for organizations working to embed data protection into AI governance. #AI#Law#AIGovernance#EDPS#DataProtection

AI & Law

@ai_and_law · Post #326 · 10.06.2024 г., 07:04

EDPS Issues Guidance on Data Protection for Generative AI Systems The European Data Protection Supervisor (EDPS) has released new guidance on ensuring data protection compliance when using generative AI systems. This guidance is pivotal, given the EDPS's crucial role in the AI Act. According to the AI Act, the EDPS will: ✅ Establish AI regulatory sandboxes for EUIs ✅ Participate as an observer in the European AI Board ✅ Supervise EUIs under the AIA ✅ Act as a market surveillance authority for EUIs ✅ Impose administrative fines on EUIs. These roles mean that the EDPS's interpretations and guidance on AI development and use will significantly impact other AI operators. Despite lack of specificity in some areas, the guidance provides a good initial overview of key challenges in generative AI. #AI#DataProtection#EDPS#AIAct#GenerativeAI

AI & Law

@ai_and_law · Post #792 · 25.03.2026 г., 08:04

🇪🇺EDPS Defines Role Under the EU AI Act The European Data Protection Supervisor (EDPS) published a report outlining its responsibilities as the AI Act market authority for AI systems used by EU institutions. The document sets out priority areas for the next two years as the EDPS assumes its new supervisory role. The report details the EDPS’s tasks under the AI Act mandate, the operational context for exercising its authority, and four strategic pillars that will guide its work as a market authority. #AIRegulation#EUAIAct#DataProtection#AIgovernance#EDPS

AI & Law

@ai_and_law · Post #745 · 19.01.2026 г., 08:04

🇪🇺EDPS Launches Podcast Series on Emerging AI Trends The European Data Protection Supervisor has launched a new podcast series examining key AI trends identified in its TechSonar 2025–26 report. The six-part series focuses on how emerging AI technologies intersect with data protection, security, and fundamental rights. The first episode discusses agentic AI, with EDPS officials addressing risks for personal data protection and potential impacts on individuals’ decision-making autonomy. Upcoming episodes will cover AI companions, automated proctoring, AI-driven personalized learning, coding assistants, and confidential computing. #AIRegulation#DataProtection#EDPS#AITrends#ResponsibleAI

AI & Law

@ai_and_law · Post #142 · 19.10.2023 г., 07:04

European Data Protection Supervisor Weighs In on AI Liability Rules Hello, everyone! The European Data Protection Supervisor (EDPS) provided valuable insights into the European Commission's two proposals, addressing liability rules for artificial intelligence products. These proposals focus on establishing liability for AI developers producing "defective products" and defining civil liability regulations for individuals negatively affected by AI systems. The EDPS presented several key recommendations. Notably, they emphasized the need for uniform protection levels, ensuring that individuals harmed by defective AI systems employed by EU institutions receive the same protection as those impacted by a private entity's use of such systems. These recommendations highlight the ongoing efforts to shape comprehensive AI liability frameworks in the European Union, aiming to balance innovation and safeguard individual rights. #AIandLaw#EDPS#AILiability#EURegulations