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

Резултати

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

Пребарај: #uscourts

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

@ai_and_law · Post #175 · 28.11.2023 г., 08:04

U.S. Appeals Court Proposes Certification for AI Use in Filings Hello dear subscribers! The 5th U.S. Circuit Court of Appeals, based in New Orleans, in a recent notice, proposed a rule requiring lawyers to certify the non-reliance on AI or ensure human review of AI-generated content in court filings. The proposed rule applies to lawyers and litigants, obligating them to confirm, under penalty of sanctions, the accuracy of citations and legal analysis in filings generated by AI tools like OpenAI's ChatGPT. Recognizing the increasing use of AI in legal work, the court is inviting public comments on this rule until January 4, 2024. This move aligns with a broader national discussion on regulating AI's role in courtrooms. This development comes in the wake of some courts in the 5th Circuit's jurisdiction adopting local rules and policies addressing AI use. In June, U.S. District Judge Brantley Starr in Texas became one of the first to mandate lawyers' certification of non-AI use without human verification. #LegalTech#AIinLaw#USCourts#LegalInnovation

AI & Law

@ai_and_law · Post #227 · 29.01.2024 г., 08:04

Two US Appeals Courts Dive into AI Examination Greetings everyone! Two federal appeals courts in the United States are establishing committees dedicated to studying the influence of AI on the legal system. U.S. Circuit Judge Eric Miller is set to lead an AI-focused committee for the 9th U.S. Circuit Court of Appeals, headquartered in San Francisco. As the nation's largest federal appeals court, the 9th Circuit is yet to formulate regulations governing AI use among legal practitioners. Similarly, Chief Judge Michael Chagares of the 3rd U.S. Circuit Court of Appeals, based in Philadelphia, has instituted an AI committee, according to Joel McHugh, the court's deputy circuit executive. The announcement about the 9th Circuit's committee followed the revelation by the law firm Bradley Arant Boult Cummings that A.J. Bahou, a Nashville partner chairing its AI practice, had been appointed to serve on this newly formed panel. Chief U.S. Circuit Judge Mary Murguia is convening the 9th Circuit's committee, aiming to assist the court in assessing appropriate rules and applications of AI technology. "The court is in the process of forming a committee, and we will issue an announcement in due course," stated Miller. While the timing of potential actions by these committees remains unclear, McHugh offered no information on whether rules regulating AI use would be introduced. These decisions to establish AI-focused committees come amid a national exploration by judges on how to cope with the rapid ascent of generative AI programs, such as OpenAI's ChatGPT, and how to regulate their use within legal proceedings. Chief U.S. Supreme Court Justice John Roberts, in his annual report on December 31, emphasized the potential benefits of AI while urging caution and humility in its application. He pointed out incidents of AI "hallucination," where lawyers using AI programs submitted briefs with citations to non-existent cases. #AIinLaw#LegalTechnology#USCourts#ArtificialIntelligence