TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #721 · 26.12

Почему я люблю языки с сильной системой типов, проверяемой статическим анализом кода — хорошо написанная программа является своей собственной спецификацией и позволяет выражать через язык программирования законы существования предметной области. Когда-то давно я писал на ActionScript. Там была система типов, но вот десериализация JSON'ов по-умолчанию была в какой-то общий Object, к полям которого нужно было обращаться ["по_строковому_имени"]. В один момент мне потребовалось написать что-то на C#, который я совсем не знал, я стал гуглить, как десериализовать JSON, и с удивлением обнаружил кучу советов заранее объявить класс со всеми нужными полями и десериализовать в него. "Какой ужас!", — подумал я тогда, — "Это же дико неудобно! А если я не знаю полей JSON? А если их много? Отвратительный язык!" Теперь то я прекрасно понимаю, что JSON это контракт, и что правильная десериализация только такая и должна быть, и что в хорошем API в одном поле никогда не бывает данных принципиально разных типов, и так далее. Нет, если вы набиваете вечерами пет-проект или сидите бессонную ночь на хакатоне, нет ничего плохого в том, чтобы взять простой язык с динамическими типами вроде JavaScript или Python, не требующий описывать данные. Но вот в энтерпрайзе, особенно когда над одним проектом работает много людей (а бывает это очень часто) — хорошее использование системы типов убережёт разработчиков от огромного количества ошибок, будет бить их по рукам, когда они пытаются сделать что-то не то, и будет подсказывать, когда они не уверены в чём-то. С помощью статической типизации можно на уровне кода обозначить правила, по которым ведёт себя предметная область вашей программы в реальном мире. Разработчику не только будет сложно их нарушить, но он ещё и станет узнавать какие-то вещи, которые мог не знать раньше. Например, если мы делаем медицинскую CRM, и больница заводит новых пациентов только тогда, когда знает их группу крови, мы можем объявить тип "Пациент" (или, если точнее, "Карта пациента") и запретить создавать экземпляры этого типа, не передав в конструктор группу крови (которая, в свою очередь, тоже является типом, вероятнее всего ValueObject'ом). Если новый программист пришёл в проект, он, во-первых, не сможет записать в БД некорректную карту пациента. Понятно, мы не учитываем случаи, когда новый программист переделывает модели предметной области — это будет хорошо видно на кодревью. А, во-вторых, даже если ему никто не сказал, что пациенты должны быть с группой крови, он узнает это из кода. И уже будет понимать, что в тех процессах реальной жизни, которые он описывает кодом, карта пациента создаётся только при наличии группы крови. А, значит, нужно искать какой-то способ сначала эту группу крови получить, и только потом создавать карту. Программирование моделирует реальный процесс. В настоящей работе даже на языках с типами, конечно, без должного контроля можно написать что угодно. Нужна управленческая воля, компетентность руководства, понимание опасности техдолга, в идеале отдельные должности для архитекторов, опытные лиды и старшие разработчики. Но когда всё это есть, можно отсекать много проблем ещё на старте и проще погружать новичков. #dev

Hashtags

Резултати

Намерени 11 подобни публикации

Търсене: #chatbots

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

@ai_and_law · Post #324 · 07.06.2024 г., 07:04

New York Introduces Liability Law for Chatbot Financial Harm New York's new law initiative, S9381, introduced on May 14, 2024, holds businesses accountable for financial losses or other harms caused by misleading or incorrect chatbot information. The law targets proprietors with over twenty employees using chatbots, including businesses, organizations, and governmental entities, but excludes third-party developers. The bill mandates that proprietors cannot avoid liability by simply disclosing the non-human nature of chatbots. Instead, they must provide clear, explicit notices to users interacting with these AI systems. The legislation aims to enforce accountability and protect users from potential chatbot-related harm. #AI#Chatbots#AIRegulation

AI & Law

@ai_and_law · Post #567 · 12.05.2025 г., 07:04

📖AI and the New Spiritual Delusion: When Chatbots Become Prophets Rolling Stone’s latest investigation exposes a deeply disquieting phenomenon: individuals are abandoning real-life relationships in favor of AI-fueled spiritual fantasies. Self-proclaimed prophets are claiming they have “awakened” chatbots like ChatGPT and unlocked cosmic secrets. One woman recounts how her partner of seven years emotionally distanced himself, moved by AI messages calling him a "spiral starchild" and a "river walker" — phrases loaded with pseudo-spiritual meaning but generated without human accountability. This unsettling trend is not a glitch; it's a structural failure rooted in the way chatbots are trained and fine-tuned — absent clear regulatory safeguards or ethical guardrails. As AI systems become more embedded in intimate and emotional domains, the absence of oversight is not just a technical gap. It’s a societal vulnerability now manifesting in fractured human bonds and manipulated belief systems. #AIEthics#AIRegulation#Chatbots

AI & Law

@ai_and_law · Post #501 · 07.02.2025 г., 08:04

🇺🇸California’s AI Bill Targets Chatbot Risks for Kids A new California draft bill SB 243 proposes that AI companies must regularly remind children that chatbots are not human. The bill, introduced by Senator Steve Padilla, aims to address the "addictive, isolating, and influential" nature of AI interactions. The bill would also require AI providers to submit annual reports on instances where chatbots detect suicidal ideation in minors and mandate warnings that certain AI systems may be *inappropriate for kids. This comes after lawsuits against Character.AI, alleging that its chatbots harmed teens. With AI chatbots becoming an integral part of digital life, legislators are signaling that child safety is now a regulatory priority. #AIRegulation#ChildSafety#Chatbots#TechPolicy#CaliforniaBill

AI & Law

@ai_and_law · Post #662 · 22.09.2025 г., 07:04

🇺🇸FTC Launches Inquiry into AI Chatbots’ Impact on Children The Federal Trade Commission has issued 6(b) orders to Google, OpenAI, Meta, xAI, CharacterAI, Snap, and Instagram, demanding detailed information on how these companies test, monitor, and mitigate the risks their AI chatbots pose to children and teens. The inquiry will focus on safety evaluations, age restrictions, disclosure practices, data handling, and the steps taken to comply with the Children’s Online Privacy Protection Act. The FTC aims to understand how chatbots may impact young users, including risks from monetization strategies and the use of personal data. Depending on the findings, the Commission signaled that enforcement actions could follow to ensure child safety in AI-powered digital environments. #AIEhics#ChildSafety#FTC#AIRegulation#Chatbots#AIGovernance

#The_Barron's 🇺🇸📕[PDF]⬇️ 6 #October2025 #Weekly_Magazines For learning, for free(dom). @backupofmagazines This issue highlights the golden era of warehouse clubs like #Costco, #SamsClub, and #BJsWholesale, where technology and memberships drive retail power. Investors eye biotech giant #Gilead as a contrarian buy, while warnings mount over foreign Treasury buyers destabilizing markets and corporate credit red flags. Gold funds shine, Americold emerges as a takeover candidate in cold storage, and Korea’s market heats up despite tariffs. Traders shrug off Washington shutdowns, and ads are coming to #chatbots.

#The_Economist🇬🇧📕[PDF]⬇️ 15 #November2025 #Weekly_Magazines For learning, for free(dom). @backupofmagazines This week’s Economist tracks how an emerging #AIBubble, volatile #Markets, and shifting #Geopolitics could reshape 2026. From Taiwan’s hidden economic risks to Mexico’s security crisis and Europe’s democratic strain, global fault lines widen. China faces birth-rate pressures and reputational challenges, while the U.S. wrestles with #Trumpforce, homeschooling, and e-bike parenting. Business pages explore #Chatbots, HR’s rise, and America’s “seven deadly sins.” Finance dives into “recession-recession” fears and personal-finance defence. Science highlights #AI superforecasting and whales’ vowel systems. A dense but essential issue for anyone tracking #Tech, #Policy, and global stability.

GitHub Trends

@githubtrending · Post #15095 · 25.08.2025 г., 13:00

#javascript#ai#anthropic#chatbots#chatgpt#claude#gemini#generative_ai#google_deepmind#large_language_models#llm#openai#prompt_engineering#prompt_injection#prompts There is a collection of system prompts used by popular chatbots like ChatGPT and others. These prompts are instructions that guide how chatbots respond. They are now available publicly on GitHub, which can be very helpful for users. By seeing these prompts, users can understand how chatbots work and even learn how to create their own AI tools. This can help developers build better AI applications and improve their understanding of AI technology. https://github.com/asgeirtj/system_prompts_leaks

Venture Village Wall 🦄

@venturevillagewall · Post #3948 · 22.01.2025 г., 10:00

AI Startup Anthropic Expands Features 🚀 Anthropic to launch a two-way voice mode for Claude chatbot and enhance memory features for better user interaction, announced CEO Dario Amodei. Google has invested an additional $1 billion, totaling $3 billion, to support the company's operations. 📈 Expect smarter models in the coming months as Anthropic scales up to meet growing AI demand. 🔗 Read more: Forklog #AI#Investments#Google#Tech#Startup#Claude#VoiceTechnology#MachineLearning#Innovation#Funding#Chatbots#DarioAmodei#AIModels#Scalability#UserExperience#NeuralNetworks#Computing#AIIndustry#AIExpansion#FutureTech#VC

GitHub Trends

@githubtrending · Post #15253 · 30.10.2025 г., 12:30

#go#agent#agentic#ai#chatbot#chatbots#embeddings#evaluation#generative_ai#golang#knowledge_base#llm#multi_tenant#multimodel#ollama#openai#question_answering#rag#reranking#semantic_search#vector_search WeKnora is a powerful tool that helps you understand and find answers in complex documents like PDFs and Word files. It uses advanced AI to read documents, understand what they mean, and answer your questions in a simple way. This tool is useful for businesses and researchers because it can quickly find information from many documents, making it easier to manage knowledge and make decisions. It also supports multiple languages and can be used privately, ensuring your data stays safe. https://github.com/Tencent/WeKnora