Painel de Notícias

Tecnologia

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

Filtros
dev.to

Which check in your pipeline has never fired?

I went through every automated check in my publishing pipeline this week and sorted them by how many times each had ever caught something. Four of them had never caught anything. My first reaction was that this was good news. A check that never fires is a check whose class of problem you have stopped having, which is what you want. I held that opinion for about an hour. Then I found a bug that had been live for twenty-four days and is still live a month later, sitting in front of all four of those checks, and realised that two of them had never fired for a completely different reason: they could not. Not "had no occasion to." Could not. The thing they were meant to catch was not visible from the data they were looking at, and no amount of occasion would have changed that. The specific case, briefly, because the shape matters more than the details. All six of my checks took a file and examined it. The bug was that two of my posts existed twice on the platform under different URLs. That is not a property of any file. You can hand a per-file checker every file I own, run it forever, and it will never see a duplicate, because the duplicate lives in a relationship between my repo and a remote system that no single file knows about. What unsettles me is that I could not tell the two groups apart by reading them. Both categories look identical in the code and identical in the logs. Both are a function that runs, examines something, and returns no findings. "Quiet because the problem is gone" and "quiet because I am blind to the problem" produce byte-identical output, and I had been reading that output as reassurance for weeks. I have been trying to find a reliable way to distinguish them and I do not have one. A few things I have tried, none of which fully work: Feed each check an input that should fail it. This catches the crudest version, where a check is misconfigured or its regex never matches. It caught one of my four. It does not catch the structural case, because to

Dev
Interesse
dev.to

I merged six checkers into one script. It found a real bug and committed one, on the same run.

I had six separate scripts checking different things about my posts, written weeks apart, each with its own idea of what a post is. This week I found the same defect in five of them, so I spent an afternoon collapsing them into one file. The first run reported this: 103 files · 115 errors · 60 warnings Of those 115 errors, 91 were a bug in the script I had just written to consolidate the lesson about that exact bug. I want to walk through that, because the useful part of this exercise turned out not to be the consolidation. The shared defect across the old scripts was that each one read the file as an undifferentiated blob. A markdown post is not a blob. It has a leading HTML comment where I keep private notes, a front matter block of metadata, and a body. Those three regions mean different things and almost no check should look at all three. def slice_post(raw): notes = LEAD_COMMENT.match(raw) notes = notes[0] if notes else "" rest = raw[len(notes):] m = FM.match(rest) front = m.group(1) if m else "" body = rest[m.end():] if m else rest return {"notes": notes, "front": front, "body": body} Every check now receives that dict and names the region it cares about. The em-dash density check reads body, because metadata is not prose and padding the word count with a long description used to move the score. The cover check reads front. Nothing reads notes, which was the entire point. CHECKS = [check_missing_imports, check_untagged_fences, check_notes_not_leaked, check_no_published_flag, check_cover_ratio, check_em_dash_density] check_missing_imports walks each Python block's AST, collects names it reads but never binds, and errors if any of them is a stdlib module. Sixteen percent of my published blocks raise NameError on paste for this reason. check_cover_ratio reads the PNG header and demands exactly 1000x420, because covers are served through fit=cover and anything off-ratio gets center-cropped with no warning. check_no_published_flag warns if front matter claims publi

Dev
Interesse
dev.to

I published the same two posts twice and didn't notice for a month

An audit script I wrote printed a line I had to read three times: ERROR live duplicate x2 (ids 4532492, 4532387): DeepSeek raised its prices in the middle of a pric ERROR live duplicate x2 (ids 4532489, 4532381): OpenHands takes a GitHub issue and hands back a pu Two posts exist twice. Different article IDs, different slugs, different public URLs, byte-identical bodies. They went live on 31 August, I found them on 24 September, and as I write this they are both still up, thirty-four days in. The thing that surfaced it was a one-line difference in how I counted. I had been comparing my local archive against a set of live titles, which silently collapses duplicates. The moment I counted articles instead of titles, the gap appeared: articles: 92 distinct titles: 90 The full timeline for that day, straight from the API: id time (UTC) views title 4532381 03:30:03 10 OpenHands takes a GitHub issue and hands back a pull request... 4532387 03:30:39 20 DeepSeek raised its prices in the middle of a price war... 4532489 03:54:51 10 OpenHands takes a GitHub issue and hands back a pull request... 4532492 03:55:26 20 DeepSeek raised its prices in the middle of a price war... 4532498 03:56:02 20 The 2026 coding setup isn't one agent, it's two: a frontier... Three posts intended. Five articles created. The first run at 03:30 published two of the three and then something went wrong before the third. I do not have the terminal output from that morning, but the shape is unmistakable: the write endpoint is rate limited to roughly one call per thirty seconds, my publisher spaces calls 35 seconds apart, and the first two calls are 36 seconds apart. Then nothing for 24 minutes. At 03:54 I re-ran the batch. The gaps between each original and its copy are 1487 and 1488 seconds, within a second of each other, which is what a single re-run of the same list looks like rather than two separate mistakes. The re-run republished everything from the top, because my script's idea of "has this been p

DevIA
Interesse
dev.to

SchoolDesk: AI-Powered Administration and Teaching Support for Schools

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built SchoolDesk, a dual-purpose administrative and academic web platform designed specifically for my father, who is a school principal. Managing a government school in India involves immense bureaucratic overhead, particularly the daily accounting for the "Midday Meal" scheme (tracking rice consumption, expenses, and student attendance). My father and his staff were losing hours daily to manual paper ledgers. Furthermore, teachers were spending significant off-the-clock time developing chapter notes and complex whiteboard diagrams. This platform solves both problems: The Administrative Ledger: A voice-activated inventory tracker that takes natural language audio, transcribes it, and automatically structures it into a secure, downloadable, government-compliant Excel sheet and a generated "analog-style" handwritten digital ledger. The Teaching Aid (Admin Notes): A client-side PDF scanner that ingests textbook chapters and uses a rigorously constrained LLM to output a master formula sheet, Higher-Order Thinking Skills (HOTS) questions, and dynamically generated SVG whiteboard diagrams. Demo school-desk-lime.vercel.app / SchoolDesk SchoolDesk Dual-Purpose School Administrative Ledger & AI Pedagogical Assistant 📖 Overview In government and public schools, headmasters, principals, and teachers face two recurring, time-consuming administrative challenges every single day: Manual Mid-Day Meal (MDM) Ledger Bookkeeping: Manually recording daily student attendance, calculating ingredient costs (eggs, vegetables, oil, pulses, spices, fuel), reconciling bulk rice grain stocks, and maintaining flawless handwritten inspection registers for government compliance. Time-Intensive Lesson Preparation: Extracting formulas, drafting Higher-Order Thinking Skills (HOTS) questions, synthesizing student mistake pitfalls, and drafting whiteboard diagrams across heavy textbook chapters. SchoolDesk solves both

IA
Interesse
dev.to

My Mum Keeps Getting Scam Texts. I Built Her a Telegram Shield.

My Mum Keeps Getting Scam Texts. I Built Her a Telegram Shield. This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend. Live: t.me/scamsshield_bot · Dashboard · Repo My mum gets parcel-scam SMSes in Thai almost weekly — "พัสดุถูกระงับ, ยืนยันตัวตนด่วน" with a bit.ly link, fake bank warnings, the works. She forwards them to me, I tell her "don't click that," and the cycle repeats. She's not going to learn to read headers. So I built the thing that reads them for her: ScamShield. She forwards any suspicious message to a Telegram bot, and in seconds gets back a verdict card — SCAM / SUSPICIOUS / LIKELY SAFE — with reasons in Thai first, English second, and what to do next. Send anything — an SMS forward, a link, a wallet address — and the bot runs a triage pipeline: Signal extraction — links, crypto addresses, phone numbers, urgency phrases ("ด่วน", "airdrop", "verify now"), impersonation hits (banks, Binance, Shopee, "ตำรวจ"…). Live web grounding (SerpApi) — the suspicious domain gets searched for scam/fraud reports, so the verdict cites the web, not vibes. On-chain probe — wallet addresses are checked against public RPCs: contract code (drainer pattern) vs plain wallet vs fresh/empty. Score — transparent point rules, capped at 100. ≥70 SCAM, ≥40 SUSPICIOUS, else LIKELY SAFE. Explanation by an open-weight model (Gemma) — two short sentences, Thai then English, written for a non-technical reader. The model explains; the rules decide. If the model is unreachable, the verdict still lands, honestly labelled rule-based. Real outputs from the pipeline (cards exactly as the bot sends them): 🚨 Thai parcel scam → SCAM 75 🚨 อันตราย: น่าจะเป็นมิจฉาชีพ (SCAM, 75/100) เหตุผล / Why: • pressure tactics: ด่วน, ระงับ, ยืนยันตัวตน • impersonates: พัสดุ • suspicious link (shortener / risky domain) ลิงก์ / Links: `http://bit.ly/kerry-th-99` เว็บพูดถึง / Web: • bit.ly url scan | Free Url Scanner & Phishing Detection — checkphish.bolster.ai/… 🤖 ข้อความนี้ดูน่าส

SegurançaDevIAMobile
Interesse
dev.to

How to Build a Voice AI Pipeline from Scratch

What’s a Voice AI Pipeline? When developers talk about “voice AI” they usually mean three core pieces: Speech‑to‑Text (STT) – turning audio into text Natural‑Language Understanding (NLU) – interpreting that text Text‑to‑Speech (TTS) – producing a natural‑sounding voice If you’re building a chatbot, a virtual assistant, or an audiobook generator, you’ll need all three. In this post we’ll focus on the last leg: building a TTS pipeline from scratch. We’ll walk through the data, the model, and the deployment steps, and we’ll use ElevenLabs as the go‑to TTS engine because it gives you a powerful, ready‑to‑use voice model that’s as close to a production‑grade service as you’ll get without a huge research budget. The quality of your voice AI depends on the data you feed into it. For TTS you need pairs of audio files and the exact transcript that produced them. Source Pros Cons Open‑source corpora (LJSpeech, VCTK) Free, large Limited speaker diversity Proprietary recordings High control Expensive to record Crowdsourced datasets (e.g., Mozilla Common Voice) Diverse Requires cleanup For a hobby project, start with LJSpeech (≈24 h of a single female speaker). If you want voice cloning, collect a few minutes of the target voice—usually 5–10 minutes is enough for ElevenLabs to create a convincing clone. Tip: Clean the audio (16 kHz, mono, 16‑bit PCM). Remove background noise and normalise volume. You have two options: Train a model from scratch (e.g., FastSpeech 2 + HiFi‑GAN). Use a pre‑trained, fine‑tuned model (like ElevenLabs’ proprietary voice models). Training a model is a deep‑learning rabbit hole. It requires GPUs, a lot of compute time, and a solid understanding of sequence‑to‑sequence training. If you’re new to the space, I recommend starting with ElevenLabs. Their API gives you a state‑of‑the‑art voice with minimal fuss. Below is a minimal, end‑to‑end pipeline in Python that takes raw text, sends it to ElevenLabs, and plays the resulting audio. import requests import t

IADev
Interesse
dev.to

How to write an AGENTS.md your AI agent actually follows

Originally published on no-code.supply. TL;DR An AGENTS.md is a file that tells your AI coding agent how a project works and which rules it must not break. Most of them get ignored because they're written like a wiki page. Write it like instructions for a new colleague on their first day. What works: where things live, numbered rules with the reason next to them, one recipe for the most common task, and a checklist for when it's done. What doesn't: vague advice ("write clean code"), things the agent can read from the code anyway, and docs nobody updates. Every template I sell ships with one, and here's exactly how they're written. 👉 See the templates I built 15 website templates with an AI coding agent, Claude Code, in about a week. (The whole story is here.) Two repositories, dozens of sessions, and the agent starting from zero every single time. That's the thing people forget: your agent has no memory of yesterday. Every session, it opens the project like a new hire on day one. Whatever it knows about how your project works, it learns from what's written down. If nothing is written down, it guesses. And guessing is where the weird bugs come from. Then there's the second reason. Every template I sell ships with an AGENTS.md, because most buyers won't edit a template by hand. They'll open it in Cursor or Claude Code and say "make the hero blue." That file is the difference between their assistant following the template's rules and their assistant quietly breaking them. So I've written a lot of these by now. Let's dig in! Everything in this post is how things work in October 2026. AI coding tools change every few months, and the rules have already changed more than once. A year ago, every tool wanted its own file. Now most of them read AGENTS.md, and even Claude Code reads it. So take the file names and tool details with a pinch of salt. The thinking behind them should last longer: write down what the agent can't read from the code, and say why. That was good advice

IADev
Interesse
dev.to

I built a safe sandbox for my friend where he or anyone can practice small talk and public speaking without being judged

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built Orbit for a close friend of mine in college. Stage Mode: A private rehearsal stage where he can speak out loud without anyone watching. It analyzes speech pace, flags filler words, and gives encouraging, constructive feedback so he can walk into class with confidence. Social Sandbox: Low stakes conversation simulations with AI personas. He can practice saying hello to a lab partner, joining a cafeteria conversation, or making friends in a crowded college fest. Stress Radar: A quick daily check-in that spots when he starts pulling away. If his stress trends up for three consecutive days, Orbit gently nudges him with low effort ways to say hello to a friend, keeping him connected before the isolation spiral takes hold. orbit-for-you.onrender.com / Orbit Orbit - Hacktoberfest 2026 AI-Powered Confidence & Connection Companion built for my friend Submission for DEV Challenge: Build for a Friend (Hacktoberfest / Open-Source AI) The Story: Why Orbit Exists My friend has severe stage fright and his goal in college is to make lasting friends. He constantly looks for a circle, but whenever exams arrive or assignments pile up, he experiences extreme stress and pulls away into total isolation. Orbit is designed to break this cycle. It acts as an empathetic, private space to practice speaking, simulate social interactions, and catch the warning signs of isolation before it takes over! Core Pillars 1. Stage Mode Real-time speech transcription via the browser-native Web Speech API (zero cloud voice tracking). Automated linguistic diagnostics: filler word detection ("um", "like", "you know"), speaking speed (wpm), sentence complexity. Compassionate AI evaluation scoring clarity, structure, and delivery confidence. 2. Social … View on GitHub Orbit is powered by open source models (Qwen 2.5 / Llama 3.3 open weights running via Groq for ultra-low latency inference) Backend is built with FastAPI (P

IA
Interesse
dev.to

CareerBuddy - Private Local AI That Tells You Exactly What to Do Next in Your Job Search

This is a submission for the [Hacktoberfest Weekend Challenge: Build for *This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built CareerBuddy for my friend Arun, a Computer Science final-year student at SRM Institute preparing to land his first developer job. Arun had the resume. He had the skills. He had a list of companies. But every day he asked the same question: what should I actually focus on today? Most tools tell you to improve your skills or apply to more jobs. That is not useful when you have 2 hours before your next interview. CareerBuddy answers one question: given your resume, your target jobs, your skill gaps, your upcoming interviews, and the time you have today, what is the single most impactful thing you should do right now? And it answers it. Specifically. With a plan. Powered entirely by local AI running on your own device. No cloud. No subscription. No data leaves your machine. Arun Kumar, B.E. Computer Science, SRM Institute 2024. Skills: Python, SQL, React, FastAPI, Git. Goal: land a junior developer role within 3 months. His biggest problem was not ability. It was knowing what to focus on each day. Career X-Ray is the signature feature. Paste your resume and any job description. Local AI runs a full pipeline and returns a career match score from 0 to 100, the skills you already have that the job needs, the missing skills ranked by job relevance, the single biggest opportunity to close, and one specific time-boxed next action. Next Best Move is the core product feature. Not 20 suggestions. One. The system weighs skill gap severity, interview proximity, application urgency, and available time. It surfaces the single highest-impact action for right now. Application Tracker covers the full pipeline from Saved to Applied to Assessment to Interview to Final Round to Offer or Rejected. It flags applications needing attention today. Interview Coach generates questions tailored to the exact role, company, and your speci

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
9to5Mac

This is my biggest AirPods complaint, and it’s not necessarily about the hardware

AirPods are one of Apple’s most interesting products. The demand for them was largely invented by the fact that the company removed the headphone jack 10 years ago, and now most of us carry this almost magical pair of earbuds that do so much more than just play audio. AirPods offer best-in-class noise cancellation, and also serve as a hearing aid. They get better and better almost every year. Despite everything that AirPods do so well, I have one annoyance with them, and it’s particularly annoying because it could be such an easy software fix. more…

Mobile
Interesse
dev.to

I Built a Phone-First Coding Agent in Five Days, on Infrastructure That Costs Nothing

Coding agents changed what a working session looks like. You describe the work, and it happens without you. You can walk away for twenty minutes and come back to a finished change. The tools around them haven't caught up. Almost all of them still assume you're sitting at the machine the agent runs on, watching it. I often wasn't. Some days I was nowhere near my PC, and on others I was near it but couldn't do any real work on it. Long-running agents looked like the obvious answer: start the work, walk away, let it run. What I wanted was a way to hand work to an agent while my PC was off. That raised two questions right away. If I'm away for hours, how do I keep the agent's output good enough to be worth keeping? And when I get back, how do I review what it did without digging through a terminal? Nautilus is my answer to both. I built it over the five days of the holiday. A phone is a good place to ask for work and a bad place to review it. A small screen is fine for a sentence of instructions and a glance at a live page. It's a poor place to read a 300-line diff. So Nautilus splits the job. On the phone, an installable web app lets you pick a project, send a prompt and watch the agent's turn stream in: every file it reads, every command it runs, every step of its reasoning. When it wants to run a command, it asks, and you approve or deny it from the phone. A preview tab shows the project's dev server live, so a UI change is something you can see, not just read about. Then you lock the screen, and it tells you when it's done. At your desk, a desktop app shows you what changed as a real diff, file by file. Nothing reaches your files until you pull. If you changed the same file while you were away, you choose a side per file, and the last pull can be undone. Your .env files never leave the PC. If the preview needs some of their values, you pick them in the desktop app. It keeps them in the OS keychain and sends them to the runner for the dev server alone. The agent runs

IADevMobile
Interesse
Hacker News

Show HN: Build with Python – a beginner course where your code draws

Hi HN, I built this because I watched my daughter struggle at learning Python. I made something that runs only in the browser with visuals rather than relying on CLI/terminal output. No need to worry about python installation, package versions, venv etc. The lab runs with Pyodide in a web worker, and the program output is a picture by the side of the code block. A user would experiment with the code, and see the immediate changes in the visual output. The course has 13 modules, with the first 6 foundation modules free, module 7-13 with free readings but guide labs for a one-time price of $49. Please give it a try at https://scimigo.com/en/learn/build-with-python Send me feedback on the UX and on the exercise design, especially if you teach kids to program. I am also working on a C++ version for beginners (also with browser, no gcc or command lines). stay tuned. Comments URL: https://news.ycombinator.com/item?id=49956771 Points: 4 # Comments: 1

Dev
Interesse
dev.to

Idea Board — Turn 3 AM Idea Overload into Actionable 30-Minute Tasks with Local AI

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built Idea Board for my best friend who suffers from severe "3 AM idea overload." He constantly wakes up with ambitious side-project ideas, writes down vague goals like "Learn AI vectors" or "Build a search engine," but gets completely overwhelmed trying to figure out where to start. Within a few days, those ideas die in his notes app clutter. Idea Board solves this by converting any vague goal or project idea into a structured, step-by-step Kanban task board in seconds. Each generated task is concrete, starts with an action verb, and is strictly capped at 15 to 60 minutes so he can make real progress in bite-sized sessions without feeling overwhelmed. https://github.com/Vijaykr35/idea-board/blob/main/ideaBoard.mp4 Note: Video demo is also stored in the codebase at frontend/public/ideaBoard.mp4. (https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/yl90zu2o2de8gssk66d4.png) (https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/w4lgwy0lehfcz7i3c8vw.png) github Vijaykr35/idea-board Repository: https://github.com/Vijaykr35/idea-board Idea Board is built with local open-source AI at its core: Local AI Inference Engine: Powered by Ollama running the open-weight qwen2.5:3b model locally at http://localhost:11434. Backend: Built with FastAPI (Python 3.10+), SQLAlchemy, SQLite, and httpx for async local REST calls to Ollama. Frontend: A custom React (Vite) application styled with Tailwind CSS using a dark notebook aesthetic with hand-drawn Patrick Hand SC typography, interactive HTML5 drag-and-drop Kanban columns (To do, Doing, Done), progress bar tracking, and batch text import. 100% Privacy & Zero Server Leakage: My friend doesn't want his raw startup ideas or personal notes sent to third-party cloud LLM APIs or used to train corporate models. Running qwen2.5:3b locally via Ollama keeps all data strictly on his machine. Runs Offline on a Laptop: It requires zero

IADev
Interesse
dev.to

Byte-Gemma: An Offline C++ Tutor That Asks Instead of Tells

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend A fully offline C++ tutor that runs on a phone, built for [friend's name], who is learning C++ from scratch. Most AI tools hand over the answer, and my friend ended up copy-pasting code without understanding it. Byte-Gemma is a fine-tuned Gemma 3 1B that teaches Socratically. It stays under ~100 words, praises one thing you got right, and asks one guiding question. It runs locally on Android, so it works without internet or an API bill. Slash commands control how much help you get: Command Behaviour /explain Concept via analogy, tiny example, one question /debug Only the first hint /hint A more specific hint, no full solution /solution Full fix, explanation, practice question /review One thing done right, the key issue, you fix it /quiz One question, waits for your answer Model: https://huggingface.co/99Amit99/byte_v2-gemma-3-1b-it-v2-GGUF/tree/main Repo: https://github.com/amitsinha-cell/byte_v2.git How I Built It Base: Gemma 3 1B (open weights), fine-tuned and quantized to Q4_K_M GGUF. Data: [~300] examples generated with Gemma 4 as a teacher via the Gemini API. Validation scripts filtered out low-quality outputs, and I merged in cleaned examples from my friend's real coding mistakes. Runtime: llama.cpp-based, with PocketPal/Termux on Android. A pivot: My first version was a gamified "Byte" persona. Testing showed it wasn't teaching well, so I rebuilt it around Socratic tutoring. My friend and I compared Byte-Gemma against stock Gemma 3 1B on struct vs class, pointers vs references, and multithreading. My first attempt gave only Byte-Gemma the tutoring system prompt, which made the result meaningless. So I re-ran it with the identical system prompt, runtime, and questions for both models. Where Byte-Gemma won: following the tutoring rules. 6 of 6 replies stayed under 100 words (about 66 words on average for first replies). The stock model went over in 3 of 3 (131 to 214 words). Byte-G

IADevMobile
Interesse
dev.to

I benchmarked my own security tool against 3 others — and wrote down what it lost

I built gedik, a security-audit skill for Claude Code. Before telling anyone it was good, I wanted a number. So on 30 September 2026 I ran it against three other tools on two targets, with the answer key kept outside every run directory. Then I put the results in the README, including the parts where it lost. This post is about those parts. If you build tools on top of an LLM, the losses are more useful to you than the wins. Four tools. The three LLM-based ones ran on the same model (claude-sonnet-5-5), each in its own isolated claude -p process, with the same prompt: gedik v2.6.0 cloudflare/security-audit-skill Anthropic's built-in /security-review Semgrep 1.178.0, free registry rules only (no Pro, no login) A fifth candidate, Anthropic's claude-security plugin, was left out: its licence restricts use with non-Anthropic products, including competing ones, and I read that as covering this test. Two targets: Target 1: NodeGoat (commit c5cb68a), an intentionally vulnerable Node app. I deleted the tutorials, the tests and every JavaScript comment so the tools couldn't read the answers. That left 17 known issues in the copy. Target 2: a small Supabase + LLM-tool repo I built myself. 11 seeded issues, 5 decoys. I couldn't restrict file-system access, so I checked afterwards instead: every session and sub-agent log searched for the key's path, zero matches. One person scored everything: me. Target 2, my repo, 11 seeded issues (runs of 30 Sep 2026): gedik cloudflare /security-review Semgrep found 11/11 11/11 (9 confirmed) 9/11 1/11 false positives 0 0 0 0 Target 1, NodeGoat, 17 known issues (30 Sep and 1 Oct 2026; competitors one run each): gedik cloudflare /security-review Semgrep detection, when the report arrived 16–17/17 (5 delivered runs) 16/17 5/17 6/17 report delivered 2 of 6 runs (30 Sep, evening and night) · 3 of 3 (1 Oct) yes yes yes That second row is the story. On 30 September, in the first scored run on NodeGoat, gedik's report never reached me. Twice. Every s

SegurançaDevIA
Interesse
dev.to

Building CyberRef: A Single-Binary Offline Reference for Cybersecurity Practitioners

I built CyberRef to solve a problem I kept seeing in labs and on engagements: nobody remembers the exact syntax of a command under pressure. You know the command exists. You know roughly what it does. But it's 2 AM during an incident, or you're mid-engagement with a client watching, and the exact flags slip away. So you open twelve tabs of cheatsheets, dig through your notes app, ask Slack — and twenty minutes disappear on something you knew cold last week. CyberRef is my attempt to fix that. This article is a walkthrough of what it does, the design decisions behind it, and what I learned building it. What It Is A single binary you download and run. It opens a local web UI at http://localhost:8787 with a searchable command reference and a set of guided lab scenarios. No install. No server. No internet required. Everything is embedded — the UI, the datasets, the assets. Written in Go for the backend, Alpine.js + vanilla CSS for the frontend, all served from one binary via embed.FS. Why Offline-First Most cheat-sheet tools are websites. That's fine until you're in an air-gapped lab, an isolated client environment, or a VM with no network egress. In those settings, an online tool is dead on arrival. Offline-first isn't a limitation — it's a constraint that shaped every decision: Data is embedded at build time. YAML files are compiled into the binary via go:embed. No external file reads at runtime. No network calls at startup. The binary doesn't phone home, doesn't check for updates, doesn't do telemetry. Stateless by default. Nothing is written to disk unless the user explicitly exports something. Single binary distribution. One .exe on Windows. Copy it to a USB stick, run it on any machine. This means the tool works in the environments where cyber work actually happens — not just where developers are comfortable. Why Not React The obvious frontend choice would have been React with Vite and a build pipeline. I went with vanilla HTML/CSS/JS + Alpine.js instead. Here's w

SegurançaDev
Interesse
dev.to

My Friend Can't Explain Loglan Grammar Fast Enough — So I Built Him an AI That Speaks a 1955 Artificial Language

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend Meet Alex — one of a small handful of mentors who keep Loglan alive. Loglan (Logical Language) was invented in 1955 by Dr. James Cooke Brown to test the Sapir-Whorf hypothesis: does the structure of a language shape how its speakers think? Brown's answer was radical: build a language from scratch with a strict mathematical guarantee that no natural language possesses. Every grammatically valid Loglan sentence has exactly one parse tree. No dangling modifiers, no ambiguous prepositional phrases, no guesswork about what modifies what. Every week, Alex and other veterans field the same questions from new learners: "What are the argument slots for 'donsu' (give)?" "Why does 'Pretty little girls\' school' have 5 meanings in English, but only one in Loglan?" "How do grouping particles like ge and ke…gu actually prevent ambiguity?" Each answer requires digging through a 10,000-word SQLite database, cross-referencing 1970s grammar textbooks, checking case-tag theory papers, and formulating a coherent explanation. It is mentally exhausting and takes 20–30 minutes per question. I built Alex an assistant that does it in milliseconds — using open-source AI. A standard cloud model fails badly on Loglan: It hallucinates words that don't exist in the 9,988-word dictionary It borrows from Lojban — a 1987 descendant with different vocabulary — confusing the two It scrambles argument slots: for donsu, it can't reliably tell whether x2 is the gift or the recipient That last failure matters deeply. Loglan words aren't nouns or verbs in the English sense — they are multi-place predicates with strict argument positions. donsu means roughly: K gives B to D. So x1 = giver, x2 = gift, x3 = recipient. Swap two and the meaning inverts completely. A generic LLM has no reliable model of this. We needed something strictly grounded, deeply linguistic, and 100% open-source. Loglan Bench is a two-tier RAG-powered gramm

IADev
Interesse
dev.to

HearthLore - Preserving the Recipes, Voices & Stories of Home

HearthLore: Preserving the Recipes, Voices, and Stories of Home This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend. HearthLore is an AI-powered family recipe and oral history preservation app built for the people in our lives whose best dishes exist only in memory, voice notes, and casual conversations rather than neat cookbooks. Think of that one relative who explains a dish with phrases like: "Bas thoda sa daalna hai... jab tak khushboo na aaye tab tak pakao." Everyone at the table knows exactly what that tastes like, but nobody actually has the measurements written down. The instructions rely on intuition and aroma, and the stories tied to those meals risk being lost when the person who cooks them is no longer around. HearthLore lets you record a family member talking through a recipe naturally in their own language. The application takes that spoken audio and handles the heavy lifting: Transcribes the recording using Whisper Detects the spoken language automatically Interprets the raw transcript using Gemma Extracts structured ingredients, measurements, and cooking steps Preserves the verbatim original transcript alongside the parsed recipe Stores everything in MongoDB Atlas so it stays accessible for the family The aim is not simply running speech-to-text. It is about keeping a piece of family heritage intact. Live Frontend: https://hearthlore.onrender.com GitHub Repository: https://github.com/avrojitduttaj/HearthLore The frontend is live on Render. The AI pipeline runs locally for this demo, as Render's free tier has a 512 MB memory threshold that cannot comfortably load the Whisper and PyTorch runtime. The production backend can be hosted on a dedicated instance with sufficient RAM. This is a solo project: I handled the design, pipeline architecture, API integration, and deployment. The data flows through a straightforward pipeline: Voice Input: User records or uploads an audio clip of a family member explaining a dish. Audio Pro

IADev
Interesse
dev.to

Lingua: Mastering Languages with Open-Source AI

What I Built I built Lingua, a deeply patient, non-judgmental AI language practice partner designed for real-time voice conversations. I built this specifically for a close friend who is currently learning a new language. Like many language learners, they hit a massive roadblock: anxiety. They were terrified of practicing with native speakers because they felt embarrassed about making grammar mistakes, freezing up, or having a bad accent. Lingua solves this exact problem. It provides a completely safe, low-pressure environment where my friend can hold a push-to-talk button, speak naturally, and get instant, warm, encouraging responses back in their target language. Lingua never switches to English, always uses the native writing script, and gently corrects mistakes just once before keeping the conversation flowing. It feels like practicing with a comfortable best friend rather than a strict teacher. Drive Link You can view the full source code for Lingua below. / lingua Key parts of the codebase to check out: /backend/agent.py — This contains the OpenAIAgentHarness, which manages the logic for swapping between cloud-based open weights (Groq) and local inference (Ollama). /backend/main.py — The FastAPI server handling the audio processing, WebM blobs, and TTS mapping. /frontend/src/CallScreen.jsx — The React component that handles the MediaRecorder API, the Push-To-Talk logic, and the live waveform animations. Lingua is a full-stack application built with a React (Vite) frontend and a FastAPI (Python) backend, but the true core of the project is its flexible, open-source AI architecture. The Open-Source AI Stack I purposefully avoided closed-source, black-box APIs like OpenAI. Instead, I built the intelligence using open-weight models: Speech-to-Text (STT): I used Whisper Large V3 Turbo. It is insanely accurate at picking up foreign languages and heavy accents, which is critical for language learners. LLM Engine: For the conversational brain, I used Qwen-2.5-32B, an

IADev
Interesse
dev.to

After an API Key Leak in 2026 — Establish Actual Touches with Postgres Logs

An API key leak creates two competing operational constraints: stop further access, but preserve enough trustworthy evidence to learn what the key already touched. Revoke too early without capturing the relevant records and responders may lose the easiest correlation handle; wait without containment and the exposure continues. TL;DR: create a replacement credential, deploy it alongside the still-valid old one, verify the replacement is serving production traffic, then revoke the leaked key. For the investigation, build one UTC-ordered usage series from immutable gateway, application, data-access, and control-plane logs. Join on a keyed fingerprint, request or trace ID, authenticated principal, source context, action, resource, outcome, and timestamp. The blast radius is the set of resources and operations supported by those records, not every resource the credential was theoretically allowed to reach. This is an evidence problem first. A request count can tell you how busy a credential was. It cannot tell you whether the caller listed projects, read a secret, changed a webhook, or received a denial. Counts mislead. Start by separating three quantities that incident notes often blur together: Entitlement radius: everything policy allowed the credential to do during the exposure window. Observed radius: resources and actions present in retained, attributable logs. Confirmed impact: successful operations whose semantics imply a read, mutation, deletion, or privilege change. These sets answer different questions. Entitlements provide the conservative upper bound. Observed activity narrows the investigation. Confirmed impact drives recovery work, such as restoring a changed configuration or rotating a downstream secret that was read. A missing event is not proof that nothing happened; it may instead expose a retention, sampling, or instrumentation gap. The exposure window needs equally careful bounds. Use the earliest credible disclosure or suspected access as the lower

SegurançaInfraDev
Interesse
dev.to

I Built My Friend a Study Buddy That Reads Her Notes and Never Uploads Them

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built this for Kanishka, who is preparing for Engineering 1st sem exams. She has a problem every serious student knows: hundreds of pages of lecture slides, scanned handwritten notes and typed summaries, scattered across folders, none of it searchable. Before every revision session she spends the first hour just finding things. The obvious fix is to upload everything to a chatbot. She won't, and I agree with her. Her notes hold her draft answers, her mnemonics and her margin scribbles about what she doesn't understand. That is a record of how she thinks, and she shouldn't have to hand it to a server she has never heard of. StudyBuddy is a local-first study assistant: Drop a PDF into a folder, and about a minute later it's searchable. Ask a question in plain English and get a short, cited answer pointing at the exact page of her own notes. Take quizzes (MCQ) generated from those same notes. See her weak spots, with topics ranked by how often she gets them wrong. It runs on a laptop. After the one-time model download it works with the Wi-Fi off, including on her commute. The recording shows: A new PDF dropped into /uploads, with its status flipping from pending to ready "What is a pointer?" answered with two cited bullets instead of a page of text A repeated question answered instantly from cache and counted as an LLM call skipped A quiz, a wrong answer, and that topic moving up the weak-topics list Her real notes never leave her machine. GitHub Repository: StudyBuddy drop file → parse → chunk → embed → pgvector question → cache → hybrid search → rerank → gate → (LLM only if needed) quiz → cached questions → code-graded MCQs → weak-topic ranking The principle: the LLM is the last resort. A small local model is slow and sometimes unreliable, so every step that can work without it does. Ingestion has no LLM. Search has no LLM. Repeat questions hit a semantic cache. MCQs are graded in plai

IA
Interesse