Painel de Notícias

Tecnologia

7045 posts · 26 feeds · tópicos e interesse por Jev

Filtros
dev.to

Connect Everywhere: Agent Kernel Now Supports Slack, WhatsApp, and Messenger

By Yaala Labs We're thrilled to announce that Agent Kernel now seamlessly integrates with the world's most popular messaging platforms - Slack, WhatsApp, and Facebook Messenger! Deploy your AI agents where your users already are, and deliver intelligent conversational experiences across multiple channels. Your users don't live in a single app - they're on Slack for work, WhatsApp for personal communication, and Messenger for social connections. With Agent Kernel's messaging integrations, you can deploy the same AI agent across all these platforms without writing platform-specific code. Whether you're building: Customer support bots that handle inquiries 24/7 Internal productivity assistants for team collaboration Sales and lead generation agents that engage prospects Notification and alert systems with two-way interaction Personal assistants that help users manage their daily tasks Agent Kernel makes it simple to reach your audience on their preferred platform. Deploy your agents as Slack bots that can participate in channels, respond to direct messages, and integrate seamlessly with your team's workflow. Perfect for: Internal knowledge bases and FAQs DevOps automation and incident response Team productivity and scheduling assistants Code review and development helpers Onboarding and training bots Key Features: Real-time message processing via webhooks Support for threads and mentions Interactive components support Read the Slack Integration Guide → Reach over 2 billion users worldwide by deploying your agents on WhatsApp Business API. Perfect for: Customer support and service Order tracking and notifications Appointment scheduling and reminders Marketing campaigns and lead nurturing Community engagement and support Key Features: WhatsApp Cloud API integration Message templates for outbound messaging Session management and context retention Verification and security built-in Read the WhatsApp Integration Guide → Connect with Facebook's massive user base through inte

IA
Interesse
dev.to

Dos Protocolos de Agentes aos Runtimes Semânticos

Por que o AllasCode, meu runtime Zig com uma arquitetura um evolutiva, adaptativa, generativa, anti-fragil e com auto-cura baseada em intenção; precisa de uma camada acima de MCP, A2A e Wasm. Os sistemas agentivos estão evoluindo rapidamente. Hoje já temos protocolos para agentes conversarem com ferramentas, protocolos para agentes conversarem com outros agentes, runtimes para executar tarefas de longa duração, mecanismos de observabilidade, motores de políticas e plataformas capazes de executar código de forma isolada. Mas existe uma questão que ainda permanece parcialmente sem resposta: Como representar, de maneira independente do protocolo, framework, modelo ou linguagem de implementação, o significado daquilo que o agente está tentando realizar? Essa é a questão central que o AllasCode procura abordar. A proposta não é substituir MCP, A2A, WASM, OpenTelemetry, LangGraph ou os runtimes existentes. Pelo contrário: é posicionar essas tecnologias embaixo de uma camada semântica comum. A ideia pode ser resumida assim: Intenção → Comportamento → Ação → Ator → Runtime → Resultado → Aceitação → Evidência Essa camada permitiria que diferentes protocolos e tecnologias fossem utilizados como mecanismos de transporte, comunicação, execução e observabilidade sem que o significado da operação ficasse preso a nenhum deles. O que temos hoje A arquitetura típica de um sistema agentivo pode ser simplificada para: Usuário Isso já funciona muito bem para diversos casos. O problema aparece quando precisamos responder perguntas mais profundas: O que exatamente o usuário queria realizar? Qual comportamento do sistema foi escolhido? Qual ação foi realmente executada? Quem estava autorizado a executá-la? Qual política permitiu essa execução? Qual estado mudou? Qual foi o resultado semântico da operação? Esse resultado foi realmente aceito? Que evidência comprova que tudo isso aconteceu? Se algo falhou, o que exatamente deve ser corrigido? Podemos executar o mesmo comportamento usando ou

IADev
Interesse
Simon Willison

Qwen3.8 27B addition in words

Research: Qwen3.8 27B addition in words Colin Frasier posted on Bluesky about an experiment he ran over two years ago using GPT-4o to see how well it could "compute the sum but return the answer in words" across increasingly large numbers. Here's the chart he shared of those results: I'm confident GPT-4o didn't cheat and use a calculator, especially since it got so many of the calculations wrong, but I was inspired to run the experiment again on local hardware (a DGX Spark) to explore the effect in a fully controlled environment. I pasted his image into a Codex Remote session (GPT-6 Astra) and had it run the same experiment using Qwen3.8-27B-Q4_K_M.gguf . Here's the result for a run of 30 attempts per combination with reasoning disabled: Then I ran it again with reasoning enabled. This took a lot longer per pair, so instead of running 30 samples per square I ran just one - which results in a much less visually appealing heatmap since each square is either 100% or 0%: It got the right answer in 167 out of 169 attempts, and since these were one-shot I'm confident a second run would produce different results here. Here's a version of the report that includes the reasoning traces from some of those larger calculations, which include text like this: Wait, let me redo this more carefully. 4,299,366,105,622 6,088,794,067,970 Let me align them: 4 2 9 9 3 6 6 1 0 5 6 2 2 6 0 8 8 7 9 4 0 6 7 9 7 0 Adding from right to left: Position 1 (units): 2 + 0 = 2 Position 2 (tens): 2 + 7 = 9 Position 3 (hundreds): 6 + 9 = 15, write 5, carry 1 Tags: mathematics , ai , generative-ai , local-llms , llms , qwen , llm-reasoning , dgx-spark

IA
Interesse
dev.to

Down the Rabbit Hole: An AI Mini-Podcast Generator

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built Rabbit Hole Explorer, an interactive web app designed for my deeply curious friends who love getting lost in obscure internet mysteries and niche historical events (like the 1932 Great Emu War or The Dancing Plague of 1518). Instead of reading boring, dry Wikipedia articles, a user simply types in a topic. The app automatically researches the internet, synthesizes the facts, and generates a custom, fully voiced mini-podcast audio script along with a factual summary. It solves the problem of "information fatigue" by turning raw research into an engaging, bite-sized listening experience. It even suggests dynamic "Go Deeper" follow-up topics to keep them tumbling down the rabbit hole! Bonus: When I handed this to my friend, they immediately spent an hour generating podcasts about weird deep-sea creatures and said, "This is incredibly addictive—it's like having a personalized radio host for my ADHD." rabbit-hole-explorer-eight.vercel.app / rabbit-hole-explorer 🕳️ Rabbit Hole Explorer Dive deep into obscure internet mysteries with AI-generated, fully-voiced mini-podcasts. Rabbit Hole Explorer is a web application that cures "information fatigue." Instead of reading dry, lengthy Wikipedia articles about niche topics (like The Great Emu War or Number Stations), you simply type in a topic and the app automatically researches, synthesizes, and generates a personalized mini-podcast for you to listen to. Built as a submission for the Hacktoberfest 2026: Build for a Friend challenge! ✨ Features Interactive Neo-Brutalism UI: A custom, vibrant design system featuring heavy borders, hard shadows, and a reactive pixel-art hover grid background. Live Web Grounding: Uses SerpApi to fetch real-time facts, preventing AI hallucinations. Open-Weight AI Synthesis: Powered by Qwen (via Groq) to instantly write engaging podcast scripts and factual summaries. On-the-fly Text-to-Speech: Uses ElevenLabs t

IA
Interesse
dev.to

How to Validate and Format JSON in JavaScript (and a Free Tool That Does It Instantly)

Working with JSON in JavaScript means dealing with one constant problem: is this string actually valid JSON, and how do I make it readable? Whether you're debugging an API response or hand-writing a config file, here are the essential techniques. try/catch JSON.parse() throws a SyntaxError when the input isn't valid JSON, so the standard way to validate is to wrap it in try/catch: function isValidJSON(str) { try { JSON.parse(str); return true; } catch { return false; } } isValidJSON('{"name": "Ada"}'); // true isValidJSON('{"name": "Ada",}'); // false — trailing comma isValidJSON("{'name': 'Ada'}"); // false — single quotes aren't valid JSON Common culprits for invalid JSON: trailing commas, single-quoted strings, comments, and unquoted keys. All are fine in JavaScript object literals, but none are legal in JSON. A plain boolean isn't always enough. Return the parsed value or the error message instead: function validateJSON(str) { try { const data = JSON.parse(str); return { valid: true, data, error: null }; } catch (err) { return { valid: false, data: null, error: err.message }; } } const result = validateJSON('{"a": 1'); console.log(result.valid); // false console.log(result.error); // something like "Expected ',' or '}' after property value..." Note: exact SyntaxError messages differ between engines (V8, SpiderMonkey, JavaScriptCore), so don't parse the message text programmatically — only rely on the fact that it throws. JSON.stringify The third argument to JSON.stringify controls indentation: const data = { name: "Ada", languages: ["JavaScript", "Rust"], active: true }; JSON.stringify(data); // compact, one line JSON.stringify(data, null, 2); // pretty-printed with 2 spaces JSON.stringify(data, null, "\t"); // indented with tabs Put it together into one utility you can drop into any project: function formatJSON(str, indent = 2) { try { return JSON.stringify(JSON.parse(str), null, indent); } catch (err) { throw new Error(`Invalid JSON: ${err.message}`); } } cons

Dev
Interesse
dev.to

What's in My Fridge? — An Open-Source AI Cooking Assistant I Built for a Friend

The problem A friend of mine has a habit: they open the fridge, stare at a handful of random ingredients — some eggs, half a chicken, a bag of rice — and just... close it again. Not because there's nothing to cook, but because turning "what I have" into "what I could make" takes a kind of mental effort that's easy to skip when you're tired. So for this weekend's Hacktoberfest challenge — Build for a Friend — I built them exactly that: What's in My Fridge? Tell me what you have. I'll tell you what you can cook. You add the ingredients sitting in your kitchen, optionally tell it something like "no spicy food" or "only 15 minutes," hit one button, and get back a handful of realistic meal ideas — each one clearly split into what you already have and what you'd still need to buy. No chat window. No meal-planning dashboard. Just: ingredients in, meal ideas out. Code: github.com/fatik07/my-frigde Live demo: not deployed yet — this was built and tested locally during the challenge window. The README has full setup instructions if you want to run it yourself. The AI model is the core feature of this app — not a bolt-on. It runs through OpenRouter, defaulting to openrouter/free, OpenRouter's router that automatically picks a free, open model for each request. Why that choice specifically, and not a single proprietary model locked behind one vendor's API: It costs nothing to run. A friend using this shouldn't need me to keep a paid API key topped up. openrouter/free means the running cost is zero. It isn't locked to one model. The entire AI call is isolated behind one small module (src/server/ai/adapter.ts). Swapping to a different open model — or a different provider entirely — is a one-line change, not a rewrite. The rest of the app doesn't know or care which model answered. Everything downstream just sees validated, typed JSON. To be precise about what "open" means in this build: inference doesn't run locally on my friend's laptop — it still happens on OpenRouter's infrastr

IA
Interesse
dev.to

NutriGhar: A Personal Nutrition Companion Built for My Sister and Best Friend

What I Built I built NutriGhar for my sister and best friend, Ayushi Sinha. Ayushi wanted to lose some weight, get fitter, and build a little more shape, and she asked me if I could make something that would help her keep track of her daily calories and protein without making the process complicated. That conversation became NutriGhar. NutriGhar is an offline-first nutrition and weight-management app designed around Indian food. It lets a user track meals, calories, protein, weight, goals, activity, and progress while working with foods and portions that actually make sense in an Indian household. For this challenge, I extended NutriGhar with an open-source AI layer that can understand natural meal descriptions and convert them into structured food and portion information before passing them to the application's nutrition engine. The idea is simple: You describe what you ate naturally. NutriGhar does the tracking. A typical interaction looks like: "2 roti, aadha katori rajma, thoda paneer aur ek glass chaas" Instead of manually searching for each food, the AI interprets the meal, identifies the relevant foods and portions from NutriGhar's food database, and converts them into structured entries. The app can then update the user's daily calorie and protein totals and help them understand what they still need to eat. / NutriGhar nutrighar A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this is your first Flutter project: Learn Flutter Write your first Flutter app Flutter learning resources For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference. View on GitHub NutriGhar is built with Flutter and Dart and follows an offline-first approach. The project includes an Indian food database, food search, meal logging, portion handling, nutrition calculations, goals, progress

MobileDev
Interesse
dev.to

DEV Challenge 1 Complete - StudyMate

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend StudyMate is an AI-powered study companion built for students who spend too much time converting long study material into something they can actually revise. I built it with fellow students in mind — especially when exams are approaching and there is a lot of material to go through. StudyMate allows a student to paste their study material and automatically generates: 📝 Concise study notes 🔑 Important key points 🧠 AI-generated multiple-choice questions ✅ Interactive quizzes with instant scoring Instead of manually reading through lengthy material and creating revision notes and questions, StudyMate turns the material into a structured revision experience in seconds. 💻 GitHub Repository: https://github.com/ShouryaShinde/StudyMate The project is organized as a monorepo containing: client/ — React + Vite frontend packages/ui/ — Shared shadcn/ui components server/ — Node.js + Express backend Ollama integration for local AI inference StudyMate is built around open-source AI and local inference. Frontend React TypeScript Vite Tailwind CSS shadcn/ui React Router Backend Node.js Express.js Ollama AI Model llama3.2:3b The core AI functionality runs through Ollama locally rather than relying on a proprietary hosted AI API. When a student submits study material, the frontend sends it to the Express backend: Student ↓ Study Material ↓ React Frontend ↓ Express API ↓ Ollama ↓ Llama 3.2 3B ↓ Structured JSON ↓ Notes + Key Points + Quiz

IADev
Interesse
dev.to

HanashiGemma (話Gemma): a patient Japanese conversation partner that runs on my friend's laptop

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend My friend Marc is learning Japanese for a trip to Japan next year. He has been studying with real dedication, and like many learners, they find that the jump from textbook to a live conversation is the hardest part: real replies come quickly, there's little time to think about which particle fits, and it's hard to find a relaxed place to practise where small mistakes don't matter. I wanted to give them exactly that: a calm, patient partner they can practise with whenever they like, at their own pace. So I built HanashiGemma (hanashi 話 = "talk"): a patient roleplay partner for real situations. You pick a scene: buying a train ticket at Shinjuku, ordering ramen at an izakaya, or asking for directions in Kyoto. Gemma plays the station clerk, the server or a friendly local, in beginner Japanese (JLPT N5–N4, polite form). Every line Gemma says comes with the help a beginner needs, at their own pace: Furigana over the kanji, so every word can be read. Romaji and English one click away (hidden by default, so you try to read first). Gemma's Breakdown: the particles and phrases in that line, explained in English. Suggested replies: if you freeze, click one, edit it, send it. Gentle Fix: if your sentence is off, a friendly card shows what you wrote, a more natural version and why, and the scene just continues. No red marks, never the word "wrong". HanashiGemma DEMO In the video, everything runs locally on my laptop with Ollama, with no internet. I order ramen at an izakaya: first in English (Gemma shows おすすめは何ですか?, "What do you recommend?"), then in romaji (ビールもお願いします。, "A beer too, please."), then in Japanese (おかいけいをおねがいします。, "The bill, please."), and finally with a real mistake: カードがはらえますか? → Gentle Fix カードで払えますか? ("Can I pay by card?"; GITHUB The open pieces it runs on Gemma 4: the open-weight model at the core. The demo runs gemma4:12b locally; on a smaller laptop, gemma4:e4b works too. gemma

IA
Interesse
dev.to

The Friend Who Doesn't Disappear

There is a particular kind of loneliness that is difficult to explain. It's not being alone. It's having someone you care about slowly disappear from your life — and realizing that if you stop initiating, checking in, reminding, planning, and asking, the relationship seems to stop moving altogether. You send the message. You ask how they're doing. You remember the important dates. You make the plans. You remind them to call. And eventually, you start wondering: “Why do I always have to remind you that I exist?” So for this challenge, I want to build something for a friend. Not another chatbot. Not another productivity app. I want to build a small AI-powered device whose job is much simpler: Help you show up for the people you care about. Imagine a small device sitting on your desk. It has a microphone, a small display, a speaker, and a physical button. You talk to it naturally. You might say: “Alex has been having a really difficult week. I should check in on him tomorrow.” The device doesn't just turn that into a calendar reminder. It stores the context. Later, it might tell you: “Hey. You mentioned Alex was having a rough week. You haven't checked in yet. Want to call him?” That's the difference I want to explore. A normal reminder remembers what you asked it to remember. An AI-powered companion can potentially remember why it mattered. The interesting part isn't putting an LLM inside a box. The interesting part is giving the model the right kind of memory and letting it reason over time. I'd design the system roughly like this: ┌────────────────────┐ │ YOU │ │ voice / button / │ │ simple interaction │ └─────────┬──────────┘ │ ▼ ┌────────────────────┐ │ Speech-to-Text │ │ (local) │ └─────────┬──────────┘ │ ▼ ┌────────────────────┐ │ Open LLM │ │ intent + context │ │ extraction │ └─────────┬──────────┘ │ ┌─────────┴─────────┐ ▼ ▼ ┌──────────────┐ ┌───────────────┐ │ Relationship │ │ Temporal │ │ Memory │ │ Engine │ └──────┬───────┘ └───────┬───────┘ │ │ └─────────┬

IA
Interesse
dev.to

Healtify: Turn your everyday bad habits into good one

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built Healtify, a personal lifestyle tracking and wellness companion for a friend who has been struggling with smoking and other unhealthy habits. Food & Nutrition Smoking Alcohol Physical Activity Sleep & Recovery Hydration Screen Time Mental Wellness The application calculates a transparent Healtify Score from 0–100 using a deterministic scoring system. The score is calculated by the backend rather than being guessed by AI. Healtify also provides AI-generated lifestyle reflections that interpret the user's trends and suggest small, practical actions. The AI is an interpretation layer, not a medical diagnostic system. Live Demo: https://healtify-fcik.onrender.com/] https://youtu.be/MJy8uAH1tzk] Recording daily lifestyle habits Real-time Healtify Score calculation Lifestyle category trends Habit Balance visualization Positive habits vs. risk factors AI-generated wellness reflections Lifestyle goals and areas needing attention GitHub Repository: https://github.com/Mritunjaii/Healtify.git] React Backend Node.js Express.js Database MongoDB AI Llama 3.2 via Ollama — primary/local AI Gemini API — cloud fallback Architecture: React ↓ Node.js + Express ↓ MongoDB ↓ AI Service Layer ↓ Llama 3.2 via Ollama ↓ Gemini Cloud Fallback The AI service is separated from the rest of the application so that Healtify can use local AI whenever available and fall back to Gemini when the local model is unavailable. One of the main design decisions in Healtify was to make AI an interpretation layer, rather than allowing AI to control the application's core logic. This information is passed to the AI service. Daily reflections Weekly summaries Score explanations Practical micro-actions Achievable lifestyle goals For example: "Your activity and sleep have been strong this week. Your biggest opportunity is reducing smoking while maintaining your current exercise routine." Cloud Fallback This gives the applicatio

DevIA
Interesse
Hacker News

Crypto thieves sell hardware wallets with secret eSIM

Article URL: https://www.heise.de/en/news/Crypto-thieves-sell-hardware-wallets-with-secret-eSIM-11485188.html Comments URL: https://news.ycombinator.com/item?id=50068508 Points: 7 # Comments: 0

SegurançaMobile
Interesse
The Verge

How Apple can win the smart home

Apple’s second-gen HomePod. | Photo by Chris Welch / The Verge This week, Apple is hosting its first-ever dedicated smart home event. While the company hasn't shared details about what it will reveal at the "Welcome Home experience" in New York City on Tuesday, October 13th, it doesn't take an army of internet sleuths to deduce we'll get news about Apple Home - specifically, new hardware. Apple finally seems to be taking the smart home seriously. According to Bloomberg, Apple will release a smart home display alongside a refreshed HomePod Mini and Apple TV. The display, which MacRumors reports may be called HomeView, is arguably Apple's first dedicated Apple Home hardware since it launched the HomeKit … Read the full story at The Verge.

Mobile
Interesse
dev.to

TouchGrass: The Open-AI Agent That Succeeds When You Stop Using It

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass Most modern consumer software is built around a single, predatory funnel: $$\text{Attention} \longrightarrow \text{Screen Time} \longrightarrow \text{Algorithmic Feed} \longrightarrow \text{Ad Impressions}$$ Even modern AI tools often optimize to keep you typing in a chat window forever. TouchGrass reverses this equation. TouchGrass is an open-AI-powered real-world challenge platform built on the principle: The application succeeds when the user stops using it. Instead of outputting text for you to consume on a screen, TouchGrass's primary output is real-world physical action. The system uses an open-weight Gemma 2 agent orchestrator to understand your personal context, difficulty level, and history, then generates personalized missions across 9 real-world categories: Outdoor: Horizon walks, sun & shadow tracking, reverse-loop neighborhood walks. Nature: Flora texture expeditions, wild seed nurturing, avian song identification. Kindness: Anonymous door holding, carrying neighbor groceries, sincere compliments. Happiness: Daylight resets, ripple smiling. Human Connection: Screen-free coffees, listening to elderly neighbors. Community: Sidewalk plastic cleanups, local library contributions. Health: Power walks, barefoot lawn grounding, outdoor mobility stretches. Creativity: Urban texture discovery. Exploration: Turning down unexplored alleyways. State A — Attract: A crisp, inspiring mission briefing with XP bounties and an ElevenLabs voice narration. State B — Release (Zen Mode): The moment you accept, the UI visually disappears into a minimal ambient breathing circle: > YOU'RE OUTSIDE. GO DO IT. You don't need this screen. A timer logs your outdoor minutes while your phone stays in your pocket. State C — Reward: When you return and speak your reflection ("I helped my neighbor carry her groceries"), the Gemma Evaluator scores your sincerity, awards bonus XP, triggers level-up cele

IA
Interesse
dev.to

TrailMate AI — Your AI Companion for the Trail

What if AI could help you explore the world instead of keeping you glued to a screen? That's the idea behind TrailMate AI — an AI-powered outdoor companion designed to help people understand and interact with their surroundings while hiking, walking, or exploring nature. Instead of using AI to generate another piece of content to consume, TrailMate uses AI to make the real world itself the content. 🥾 What is TrailMate AI? TrailMate AI helps outdoor explorers learn more about what they encounter on their journey. Take a picture of something you find on a trail and TrailMate can help you understand it — whether it's a plant, landmark, natural feature, or something else interesting around you. The goal is simple: Take your phone outside. Use AI. Then put the phone away and explore. 🌱 🧠 How It Works The basic experience is: 📱 Capture → 🤖 Analyze → 🌲 Explore Capture Analyze Learn Explore The AI is designed to be a companion to the outdoor experience, not the experience itself. 🌍 Why Open-Source AI? Open-source and open-weight AI is at the core of TrailMate. Instead of relying completely on a closed AI service, the project explores how open models can be used for real-world applications. This gives the project more control over: 🔓 Model selection 🧩 Customization 🔒 Privacy 💻 Local inference 🔄 Switching between models 💰 Reducing dependence on paid APIs For an outdoor application, this is particularly interesting because the long-term goal is to make TrailMate increasingly useful even when internet connectivity is limited. 🏕️ Designed for the Real World TrailMate isn't meant to become another app that you constantly stare at. The ideal interaction looks like this: Open TrailMate → Identify something → Learn → Lock your phone → Keep walking. That's what makes the project fit the "Touch Grass" theme. The technology should make people more curious about their surroundings, not more dependent on their screens. ⚙️ Tech Stack AI / ML Open-weight vision model Image cl

IAMobile
Interesse
Phoronix

Google Working To Leverage More Compiler Optimizations Within The Linux Kernel

While Linus Torvalds previously shot down plans for Profile Guided Optimizations (PGO) in the mainline Linux kernel, Google engineers are hoping still to get that out-of-tree functionality upstream. They also would like to see PGO supported for Linux kernel modules rather than just the main Linux kernel image. Additionally, they hope to see limitations overcome around AutoFDO and Propeller optimizations of kernel modules...

LinuxInfraDev
Interesse
dev.to

Null hypothesis: AI code differs

I spot AI code in PRs to repos I know. Usually it means nothing. Sometimes it annoys me. Like recognizing a colleague’s style. But a colleague learns; an agent needs an external gate saying "don't do it this way". I wanted a reproducible signature to work with. Started from the observation I already had: AI code looks overengineered to me. The plan was to compute target metrics over time/commits and watch the curve bend around agent adoption. I tried cyclomatic complexity, cognitive complexity, max nesting, conditions per entity, and call stack depth. The first snag was size. Complexity tracked SLOC almost one to one. So I normalized everything on SLOC and kept looking. Then added methods and functions per entity, entities per API method, entities per package, dependency count, edges in the dependency graph, and error handling density. About 280 metrics in all with their pairwise correlations. I found no anomalies outside statistical error. Same for public repos and my private ones. As per my understanding, a model emits roughly the mean of its training distribution, while each human deviates from that mean. The means land on top of each other, and the statistic goes quiet. If that's what happened, comparing AI with human code hides the signal. I would need to compare it with one specific person instead, but I don't have enough single-author code to run that test. The process did one useful thing: it taught me the proper questions, and those led me to people who had already run the measurements. A Large-Scale Comprehensive Measurement of AI-Generated Code in Real-World Repositories Not All Agents Are Equal: Code Quality and Post-Merge Maintenance Across Five Autonomous Coding Agents in the Wild Human-Written vs. AI-Generated Code: A Large-Scale Study of Defects, Vulnerabilities, and Complexity These papers do find differences: raw AI-involved code is "more comment-heavy, less cross-file reused, ..." these differences disappear in real-world repos (my guess: AGENTS.m

IADev
Interesse
dev.to

SweepSheet: turn cleanup voice notes into reviewed counts

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass. A cleanup has two different jobs: picking things up and keeping track of what was collected. SweepSheet puts the bookkeeping after the outdoor part. Use your usual voice recorder to leave a short note: “Three plastic bottles and two cans.” Put the phone away. When you’re back, import the recording into SweepSheet. An open speech model transcribes it on your device, and a small parser proposes quantities in six categories. Listen, correct anything necessary, and confirm. Only then do the numbers enter your notebook and CSV. The person I designed for is someone keeping the tally for a small cleanup, with several voice memos to turn into a table. This is a working prototype for that task, not a report of a cleanup I have already conducted. The examples are synthetic speech and are labeled that way throughout. The most revealing test was a mistake. The sentence “Twenty three wrappers and twelve cans” came back as “23 rappers and 12 kids.” SweepSheet did not try to rescue it with another model. It left the counts for a person to enter after listening. That decision shapes the whole application: speech recognition can help with transcription, but it does not get to approve the record. Open SweepSheet — no account or API key needed. A real browser run with a clearly marked synthetic recording. The total is five because one note has been confirmed; the other two are still pending. Choose Try the example notebook, then open Along the canal. The initial example transcript comes from the saved model test. Transcribe again runs Whisper on your own device; the first use downloads the model. Play the note and check 3 plastic bottles + 2 cans. Confirm: the total becomes 5. Review By the footbridge: 4 wrappers + 6 cigarette butts + 1 glass bottle. Confirm: 16 in total. Open An uncertain count. Its transcript says “Maybe 4 or 5 rappers.” The app holds the proposal; it adds nothing. Correct a con

IA
Interesse
dev.to

How to Set Up Contact Forms Using PHP and PHPMailer (SMTP Guide)

Learn how to configure contact forms with PHPMailer and Gmail SMTP. Step-by-step guide to set up secure email sending with App Password. Setting up a contact form on your website is essential for connecting with visitors. This guide will show you how to configure your contact form using PHPMailer and Gmail SMTP with a secure App Password. What you'll learn: ✅ Understanding the PHP file structure ✅ Enabling 2-Step Verification on Google ✅ Generating a Gmail App Password ✅ Configuring submit.php file ✅ Testing your contact form Let's get started! 🚀 Your template contains the following PHP files: File Structure: /assets/php/ ├── submit.php ← Contact form configuration ├── newsletter.php ← Newsletter subscription configuration ├── smtp/ │ ├── Exception.php ← PHPMailer exception handling │ ├── PHPMailer.php ← PHPMailer core library │ └── SMTP.php ← SMTP protocol handling Before generating an App Password, you must enable 2-Step Verification. Steps: Login to your Google Account Click on the Security tab (left sidebar) Under "Signing in to Google", click 2-Step Verification Click Get Started Enter your password to verify your account Enter your phone number for verification Choose how to receive the code (SMS or call) Enter the verification code you receive Click Turn On 📌 Note: 2-Step Verification is required to generate App Passwords. This keeps your account secure. Once 2-Step Verification is enabled, you can create an App Password. Steps: Go back to Security tab Under "Signing in to Google", click App passwords Verify your account if prompted Under "Select app", choose Mail Under "Select device", choose Other (custom name) Enter a name (e.g., "Contact Form" or "My Portfolio") Click Generate 📋 Copy Your App Password: The App Password is a 16-character code in the yellow bar. Copy it NOW and save it somewhere safe. You won't be able to see it again! ⚠️ Important: Your regular Gmail password will NOT work with PHPMailer. You MUST use the 16-character App Password gener

Dev
Interesse
dev.to

Mikroslužby verzus monolitické architektúry: prečo izolované frontendové uzly víťazia pri špičkových zaťaženiach

V tomto článku si vysvetlíme, prečo sa distribuovaný frontend a izolované statické uzly stávajú štandardom pre prácu s vysoko intenzívnym webovým prevádzkou. Cena monolitického nafukovania Náročné parsovanie DOM: Univerzálne CMS a ťažké frameworky načítajú obrovské balíky JavaScriptu, rozsiahle knižnice animácií a nadbytočné štýly. Mobilné prehliadače míňajú drahocenné milisekundy procesora len na spracovanie nepotrebného kódu ešte pred vykreslením prvej obrazovky. Zaťaženie databázy: Dynamické generovanie stránok vyvoláva neustále požiadavky na databázu. Pri špičkovom prevádzkovom zaťažení sa skupiny pripojení okamžite zaplnia, čo používateľom vráti chybu 502 Bad Gateway. Jediný bod zlyhania: Ak sa zasekne proces bežiaci na pozadí alebo pomocná tabuľka v databáze, zlyhá celá aplikácia. Prechod na statickú izoláciu a hraničné smerovanie Čistá statika: Vysielanie optimalizovaného HTML5 a CSS3 bez ťažkých klientskych frameworkov umožňuje prehliadaču zobraziť stránku okamžite. Ľahký VPS a Nginx: Umiestnenie statického obsahu na čistých virtuálnych serveroch pod kontrolou optimalizovaného Nginx eliminuje zbytočné náklady na runtime. Ochrana Cloudflare Edge: Prechod všetkých prichádzajúcich požiadaviek cez globálnu CDN a firewall (WAF) skryje IP adresu zdrojového servera, odfiltruje botnety a poskytuje cacheovaný obsah priamo z okrajových uzlov. Ak chcete vidieť príklad toho, ako tento model čistej infraštruktúry vyzerá v produkčnom prostredí, môžete si prezrieť... Takáto konfigurácia úplne oddeľuje klientske zobrazenie od spracovania dát, čím zaručuje okamžitú odozvu na akýchkoľvek mobilných zariadeniach. Vyvažovanie zaťaženia a odolnosť voči zlyhaniam Záver

InfraDev
Interesse