Painel de Notícias

Tecnologia

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

Filtros
dev.to

I benchmarked seven hotel price APIs on the same Rome room, and the prices were 16% apart because of tax

I run FlightPowers, a small API that reads live Booking.com rates, so I'm biased about one row of this table. I wanted to know how it holds up next to the APIs people usually compare it with, so I spent an afternoon sending them all the same questions and kept every response. Same stay for everyone: check-in 2026-11-20, check-out 2026-11-23, 2 adults, 1 room, USD. Three questions, three runs each, median wall time from one server in the US: A destination search for Lisbon, sorted by price where the API can sort. One named hotel: Hotel Artemide in Rome. (I started with Hotel Sant'Angelo, but it was sold out on Booking.com for those dates.) That same hotel seen from Germany and from the US, where the API has an input for it. Free tiers only. SerpApi got no_cache=true, because its default hands back an identical search from cache for an hour and that would have flattered its time. API (source) Lisbon search, median sorts by price one named hotel StayAPI (Booking.com) 1.1 s no 2 calls: ID lookup, then prices (2.5 s for the prices call) SearchApi (Booking.com) 1.9 s yes room list in 2 calls: search for the URL, then the property (3.0 s for that call) HasData (Booking.com) 2.1 s yes room list in 2 calls: search for the URL, then the place (3.2 s for that call) SerpApi (Google Hotels) 2.4 s yes 1 call by name (2.5 s) FlightPowers, mine (Booking.com) 7.9 s no 1 call by name (10.2 s) Apify voyager/booking-scraper 75 s with actor start asked, rows came back unsorted 1 run by name (39 s, one run) Xotelo (TripAdvisor rates) 0.7 s, but the list takes no dates n/a by TripAdvisor key (0.7 s) Mine is the slow one. It loads the page in a real browser through a residential proxy for every call, and you pay for that in seconds. It also has no price sort yet: I sent "sort": "price" and it was accepted and ignored, which is a bug on my list. SearchApi's and HasData's search take a hotel name too (SearchApi put Hotel Sant'Angelo first when I searched it by name), so one row price for a n

Dev
Interesse
dev.to

Azure Container Apps vs Cloud Run: Which is Right for Your Deployment?

Introduction As cloud-native applications continue to gain traction, developers are increasingly looking for efficient ways to deploy their services. Among the popular options available today are Azure Container Apps and Google Cloud Run. Both platforms offer serverless container management, but they cater to different needs and use cases. In this article, we will explore the key features, advantages, and limitations of each service to help you determine which is best suited for your deployment strategy. Azure Container Apps is a fully managed serverless container service that allows developers to build and deploy applications without worrying about the underlying infrastructure. It is designed for microservices architectures and supports various programming languages and frameworks. Key features include: Event-driven architecture: Azure Container Apps can automatically scale based on incoming requests or events, making it suitable for applications with variable workloads. Integrated Dapr support: This enables developers to easily build distributed applications with state management, pub/sub messaging, and service invocation. Custom domains and SSL: Azure Container Apps allows you to configure custom domains and automatically provision SSL certificates for secure connections. Google Cloud Run is another serverless container platform that allows you to deploy and manage applications in a fully managed environment. It is built on top of Knative and provides a seamless experience for deploying containerized applications. Key features include: Automatic scaling: Cloud Run automatically scales your application up or down based on traffic, ensuring you only pay for what you use. Support for any language or library: You can run any application that can be packaged in a container, giving you the flexibility to choose your preferred tech stack. Integration with Google Cloud services: Cloud Run easily integrates with other Google Cloud services, making it a great choice for a

Infra
Interesse
dev.to

How do you give an AI real design taste?

An AI needs a design process it can use and inspect: a product brief, visual guidance, drawing tools and a review loop. SVG Lab (svglab.app)'s Design Harness provides its Design Engine, tools and checks to your existing assistant through the SVG Lab MCP. Treat that as a different tool environment, rather than a change to the model's weights. You still choose the product's purpose and inspect what the model produces. We build SVG Lab; this walkthrough uses a real historical output and keeps its defect visible. Recorded fact Historical run Model Claude Opus 5.5 (Anthropic) Client and tools Claude with SVG Lab MCP and Design Engine Tested on 26 September 2026 Time and steps About 40 minutes; 119 recorded design steps Reasoning effort Not recorded After the run No edits; first screen subtitle still overflows We reuse the original brief and unedited output below. This article contains no new run or matched with-and-without benchmark. The Model Context Protocol lets an assistant call remote tools. Connect the SVG Lab MCP and the model designs inside your SVG Lab project using the Design Engine's drawing tools, guides and checks. You can inspect the work and ask for revisions there. SVG Lab exports artwork as SVG, PNG or PDF. It does not return a working React application. Use your coding workflow to implement the design and its behavior. The remote address is https://svglab.app/mcp, using OAuth sign-in. These client steps follow SVG Lab's setup guide checked on 6 October 2026: Claude: Open Customize and Connectors, choose Add custom connector, add the name and address, leave OAuth client credentials empty, then Connect and approve. Enable it for the chat too. ChatGPT: Enable Developer mode on a supported plan where allowed, create an app in Plugins, Apps or Connectors using the address and OAuth, approve access and select it for the chat. Codex: Add a custom Streamable HTTP MCP under Settings, Plugins, MCPs. Save, Authenticate, approve and start a new chat. The terminal a

IADev
Interesse
dev.to

I Don't Build Things in "One Shot." Here's Why.

Scroll through any dev timeline right now and you'll see it: "Built this in one shot." 🚀 A full app, a landing page, a SaaS dashboard, all from a single prompt. And honestly? It's impressive. The tools have gotten that good. I use AI every day at work and on my own products. But I've never shipped anything I'm proud of in one shot. And I've stopped wanting to. AI is incredible at getting you from zero to something. A layout, a working component, a reasonable API structure. That used to take hours. Now it takes seconds. But "something" isn't the goal. The goal is the right thing. When I was working on the landing page for Clarly (a WhatsApp AI support tool we're building), the first AI-generated version was technically clean. Good structure, no bugs, decent spacing. It also looked exactly like every other default SaaS page on the internet. Nothing was wrong. It just wasn't ours. So I went back in. Changed the typography, broke the symmetric card grid, replaced the generic hero with an actual WhatsApp conversation, because that's what the product is. Every change had a reason. That second pass is where the product actually showed up. I don't consider something done until I can answer these: 1. What did I change, and what did I actually need? Not what I prompted. What I needed. Those are often different. The prompt is your best guess at the problem. Reviewing the output is where you discover what the problem actually was. If I can't explain what I changed from the first draft and why, I probably didn't think hard enough about it. 2. How will the end user feel when they use it? The user doesn't care how many prompts it took. They care whether it's clear, fast, and feels like it was built for them. That only happens when someone sits in their seat and asks, "does this actually make sense?" AI can't do that part for you. Not yet, anyway. I'm not saying one-shot builds are bad. They're great for prototypes, demos, and testing ideas fast. Use them. But there's a difference

IA
Interesse
dev.to

What Is Copy-on-Write? How Can a Process "Copy" Memory Without Actually Copying It?

When a process calls fork(), the operating system creates a child process with what appears to be an identical copy of the parent's memory. If the parent had two gigabytes of working memory, did the kernel just allocate another two gigabytes? The answer is no. And the reason why reveals something genuinely elegant about how operating systems manage memory. Before getting to the trick, it helps to have a precise mental model of what a process's memory actually is. A process does not own physical RAM the way a warehouse owns inventory. Instead, it operates through an abstraction: the virtual address space. Every memory address the process works with is a virtual address. When the CPU needs to read or write memory, it translates that virtual address to a physical address using a structure called a page table. The page table is a mapping: Virtual address ↓ Page table ↓ Physical address Memory is divided into fixed-size chunks called pages. A typical page is 4 KB. The page table maps virtual pages to physical pages (sometimes called frames). The CPU's memory management unit performs this translation automatically on every memory access. The critical insight: two different processes can have virtual addresses that map to the same physical page. Their virtual address spaces are separate, but the underlying physical memory can be shared. This is not a bug or a security hole when the kernel controls it deliberately. It is the foundation that makes Copy-on-Write possible. fork() Actually Does to Memory When a process calls fork(), the kernel creates a child with a logically equivalent virtual address space. The child sees the same variables, the same stack, the same heap, the same loaded libraries. The naive approach: allocate new physical pages for everything, copy all the contents. For a process with gigabytes of memory, that means gigabytes of allocation and copying, taking real time and consuming real resources. The Copy-on-Write approach: do not allocate new physical pag

Infra
Interesse
dev.to

Network Forensics: Understanding TCP/IP Protocols (Week 3)

This week, we are focusing into the analysis of TCP/IP protocols, focusing on how to examine network flows, extract data, and analyze higher-layer traffic. Flow analysis is the "examination of sequences of related packets ('flows')". This process is typically conducted to identify traffic patterns, isolate suspicious activity, analyze higher-layer protocols, or extract data. According to RFC 3679, a flow is "a sequence of packets sent from a particular source to a particular unicast, anycast, or multicast destination that the source desires to label as a flow". In modern network analysis, the terms "flow" and "stream" are increasingly becoming interchangeable. To analyze these flows, investigators rely on several key tools: Wireshark: Provides a highly visual "Follow TCP Stream" feature to read conversations. Tshark: A command-line network protocol analyzer. Tcpflow: Parses non-fragmented IP packets and reassembles the TCP stream into a file. Pcapcat: Lists all the streams it sees and can dump individual streams. Tcpxtract: Uses file signatures (magic numbers) to extract and reconstruct payload data. You can view packet conversations directly from the command line using Tshark. For example, to view TCP conversations from a capture file: $ tshark -qn -z conv,tcp -r evidence01.pcap You can also use Pcapcat to list specific TCP flows to identify IP addresses and ports of interest. Once you identify the conversation containing potential evidence, you can export it. Pcapcat and Tcpflow are highly effective for this. $ tcpflow -r evidence01.pcap 'host 192.168.1.158 and port 5190' Data carving is the process of extracting files directly from the raw data payload. Manual Carving: Involves opening the exported flow in a hex editor and looking for "magic numbers" (file signatures). For example, a JPEG file always begins with 0xffd8 and ends with 0xffd9. Once extracted, you should gather hashes (using md5sum or sha256sum) and confirm the file size. Automatic Carving: Tools lik

SegurançaInfraDev
Interesse
dev.to

Listening Loop: three stops, six seconds, and an open model that stays on your phone

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass. Listening Loop is a field notebook for your ears: choose three places to pause, record six seconds at each, and write down what you actually noticed. An open audio model suggests sounds, then the app asks you to put the phone away and walk somewhere different. The design question was: how little screen time does a useful AI walking app need? I chose a short loop with no map, score, streak or infinite feed. A doorway, a green corner and the way home are enough. You can adapt those stops to your neighbourhood and mobility. The model can help you notice a sound you would otherwise pass by. It cannot tell you whether a route is safe, identify a bird species or replace your own observations. The journal deliberately asks: What did you actually notice? Open Listening Loop Press Prepare for a walk while online. Wait for the offline-readiness message; then the app and its model can run without a connection. The initial download is about 19 MB. To try it at your desk, select Analyse example birdsong. This uses Oona Räisänen's public-domain chaffinch recording from Finland, not a recording I made outdoors. It never adds a stop to your journal. For a walk, name your first stop and press Listen for 6 seconds. Microphone permission is requested at that point. Add a note, move somewhere different, and repeat twice. The finished journal downloads as JSON. Remembering it on the device is optional. Imported audio is supported for testing and accessibility, but every imported stop is labelled as imported, not a verified outdoor observation. Public repository Original application code and SVG artwork are MIT licensed. Google YAMNet and TensorFlow.js retain Apache 2.0 licences. Source links, notices and model-file hashes are included. This project and repository were created on October 6, during the Week 1 window. The core is Google YAMNet, an open audio-event model with 521 labels, running through

IAMobile
Interesse
dev.to

Beyond First-Order Reasoning: Why LLM Strategies Fail Under Pressure

Most AI-generated strategies suffer from the same terminal flaw: they are forward-only. If you ask an LLM to propose a market entry plan or a scaling architecture, it will present a linear progression of successful steps. It describes the ascent, but it never maps the cliffs. This isn't just a minor oversight; it is a fundamental reasoning deficit. In my years building high-performance systems and later moving into the AI agent space via Vinkius, I've seen that the difference between a robust system and one that collapses under load is rarely the primary objective—it's the secondary and tertiary consequences that no one accounted for. When we treat an AI agent as a pure reasoning engine without constraints, we are essentially handing a junior analyst with infinite confidence and zero lived experience the keys to our most critical business decisions. After observing how various models approach complex decision theory, several recurring patterns of failure emerge. These aren't random errors; they are predictable logical gaps inherent to current transformer architectures: Forward-Only Thinking: The model focuses exclusively on how to achieve a goal. It lacks the instinctual drive to perform a pre-mortem—asking "how will this fail?" before committing resources. First-Order Fixation: There is an obsession with immediate results. If reducing latency solves X, the model stops there, ignoring whether solving X creates Y (an expensive resource bottleneck) or Z (a downstream data integrity issue). Incentive Blindness: Agents often assume participants act according to stated intentions rather than actual rewards. They ignore the reality that people respond to incentives, not speeches. Competence Overreach: High parameter counts create an illusion of expertise. A model may reason perfectly within its training distribution but hallucinate wildly when pushed toward specialized domains like niche regulatory frameworks or hyper-specific hardware constraints. Fragility Tolerance: Pl

IA
Interesse
dev.to

SFTP vs. FTPS: Choose the Right Secure File Transfer Protocol

SFTP and FTPS both transfer files securely, but they are different protocols. The similar names are easy to mix up—and choosing the wrong one can leave you troubleshooting the wrong port, client, or firewall rule. The practical distinction is simple: SFTP runs over SSH, while FTPS adds TLS to FTP. They are not interchangeable, so first confirm which protocol the server or integration partner expects. SFTP FTPS Built on SSH FTP secured with TLS Typical control port TCP 22, or the server’s configured SSH port TCP 21 for explicit FTPS; conventionally TCP 990 for implicit FTPS Connections One connection for commands and file data Separate control and data connections Common authentication Password, SSH key, or keyboard-interactive Password; can also use client X.509 certificates Firewall setup Usually one port Control port plus data-connection ports SFTP is a file-transfer subsystem of SSH. If you already connect to a server with SSH, you may be able to transfer files using the same service and authentication setup. That depends on the server: a working SSH shell does not guarantee that its SFTP subsystem is enabled. For a protocol-level explanation, see what SFTP is and how it differs from a normal SSH session. FTPS is FTP with TLS protection. It retains FTP’s separate control and data connections, so opening the control port alone may not be enough to make transfers work. FTPS has two choices that are easy to confuse: Explicit vs. implicit describes how TLS starts. Explicit FTPS usually connects on port 21, then upgrades the control connection with TLS. Implicit FTPS conventionally starts TLS immediately on port 990. Active vs. passive describes how the data connection is established. In active mode, the server opens a connection back to the client. In passive mode, the client connects to a port specified by the server. These are separate decisions. For passive FTPS, the server generally needs a configured range of data ports, and the firewall must allow that range. A

Infra
Interesse
dev.to

Building a server-rendered admin UI with Express, EJS, and SEN-JS

Admin screens usually need the same building blocks: navigation, tables, search, filters, and forms. In my public project SEN-JS, I organize those pieces as reusable EJS components, with Express handling the page rendering. This walkthrough covers the project’s documented component model and how to explore it locally. The source is available at Darkguyaiman/SEN-JS. A server-rendered page can receive its title, navigation, and rows in one render operation. In SEN-JS, the renderPage helper connects the page template to the component registry. That keeps a route focused on preparing data while templates describe the interface. The repository separates routes/, views/, and components/. Shared rendering behavior lives in lib/core/Component.js. A component has an EJS template and, when it needs browser behavior, an optional JavaScript file. For example: components/ sidebar/ sidebar.ejs sidebar.js table/ search-bar/ filter/ calendar/ button/ This makes the unit of reuse concrete: markup and related behavior live together. The project loads scripts for the components used on the page, so adding a button does not mean manually importing every component script. Here is a small EJS example using the documented button interface: The button API includes props such as label, variant, size, href, and disabled. Tables receive columns and rows, while filters receive their options and selected value. Explicit inputs help keep page-specific content out of shared templates. The table component also supports a cardTitle property for its mobile card presentation. That is useful when the same records need to be readable on both a wide admin screen and a phone. With Node.js and npm available, clone the repository and install its dependencies: git clone https://github.com/Darkguyaiman/SEN-JS.git cd SEN-JS npm install npm run build:css npm run dev The README documents demo data when MySQL is unavailable. To use a database, copy .env.example to .env, configure MySQL, and follow the schema set

Dev
Interesse
dev.to

An Optional Property Isn't the Same as undefined

undefined Is Not the Same as Not Being There An optional property looks a lot like a property whose value can be undefined. But they are not quite the same thing. That difference becomes important when you care about whether a property exists at all. Consider these two objects: const a = {}; const b = { value: undefined, }; At a glance, they can look equivalent. Reading value gives you undefined in both cases: console.log(a.value); console.log(b.value); Both print: undefined But the objects are different. One does not have a value property. The other does. You can see that with: console.log("value" in a); console.log("value" in b); The result is: false true That distinction is easy to miss because normal property access hides it. Now look at this type: type Config = { value?: string; }; The ? means the property may be absent. So this is valid: const config: Config = {}; And this is also valid: const config: Config = { value: "hello", }; Depending on your TypeScript configuration, this can also be valid: const config: Config = { value: undefined, }; But those last two objects still represent different runtime states. The first has a value. The second has a property whose value is undefined. That difference matters when the presence of the property itself has meaning. Imagine an API where omitting a property means: "Don't change this setting." while explicitly passing undefined has a different meaning. Or imagine code that checks whether a property was supplied: if ("value" in config) { // the caller supplied the property } Now these two values are no longer interchangeable: const a: Config = {}; const b: Config = { value: undefined, }; The type might make them look similar. The runtime object does not. This becomes especially interesting when objects are passed between functions, merged together, serialized, or used as configuration. There is a compiler option specifically related to this distinction: { "compilerOptions": { "exactOptionalPropertyTypes": true } } With

Dev
Interesse
dev.to

I built DrawDesign to make system architecture easier to explain

A system design diagram can contain all the right boxes and still leave the reader wondering what actually happens. Where does a request start? What does each arrow mean? Which part of the design needs a discussion? I'm Darshit, the creator of DrawDesign, a browser-based tool for system architecture diagrams and flowcharts. In this post, I'll introduce the tool and share a small exercise you can use to make your next diagram easier to explain. DrawDesign provides a canvas with shapes for the components developers often need to describe: servers, databases, load balancers, caches, message queues, API gateways, containers, and Kubernetes. The shape library also covers networking and security, data and analytics, monitoring, and DevOps. The editor includes templates and an AI Assistant. The use cases I want to support are straightforward: Sketching an architecture before implementing it. Explaining a request flow to another developer. Practising system design discussions. Turning a rough workflow into a diagram people can review. But choosing a diagramming tool is only one part of the work. The more useful question is: what should the diagram communicate? Imagine you're sketching a product catalogue API. Resist the temptation to draw every service the application might eventually need. Start with one question: How does a user request product details? Begin with a client, an API, and a database. Give them specific names: “Web client,” “Product API,” and “Product database” communicate more than three identical boxes labelled “service.” Keep the scope visible in a note: “Product detail reads.” Someone looking at this diagram should not have to guess whether it also covers checkout, inventory updates, or payment processing. An arrow tells the reader that two components interact. Its label tells them why. For this exercise, use labels such as: Connection Example label Client to API Request product details API to database Look up product by ID API to client Return product de

Dev
Interesse
dev.to

When You Need Me 💛 — A Private AI Companion Built for a Friend

What I Built When You Need Me 💛 When You Need Me is a private AI companion built for a real friend. Sometimes someone we care about wants to talk, share how they feel, or simply have someone listen — but we may be busy, unavailable, or unable to respond immediately. I built this project to create a small bridge during those moments. Instead of building another generic chatbot, I wanted the AI to understand how I communicate and combine that with what I know about my friend. The system can: Analyze an approved sample of my conversations to create a communication-style profile Learn my tone, vocabulary, sentence style, emoji usage, humor, language mixing, and support style Build a friend profile based on information I choose to provide Generate responses using the communication style + friend profile + current conversation Explain why a response feels like my communication style Run the AI locally using an open-weight model Provide safety handling for conversations involving serious distress Allow users to delete stored chats, profiles, memory, and other personal data Most importantly, the AI does not pretend to actually be me. It clearly identifies itself as an AI companion inspired by my communication style. https://monisha14206.github.io/when-you-need-me/ The GitHub Pages version demonstrates the frontend experience. The complete AI experience runs locally with Ollama and an open-weight model. Demo video: https://drive.google.com/file/d/1tFId9IJMRS3d-3FGy0tEpueLhSw4rFPG/view?usp=sharing https://github.com/Monisha14206/when-you-need-me The repository contains the complete frontend, backend, safety system, local AI integration, demo data, tests, and setup instructions. React Vite JavaScript CSS Python FastAPI SQLite Ollama llama3.2:3b Open-weight local inference Local-first data storage Rule-based safety layer Communication-style analysis Friend profile and memory system The basic architecture is: ┌─────────────────────┐ │ Friend │ └──────────┬──────────┘ │ ▼ ┌─────

IA
Interesse
dev.to

Unbox — Get Everything Out. Put Everything in Place.

This is a submission for the [Hacktoberfest Weekend Challenge: Build for a Friend] ##What I Built I built Unbox, a voice-first productivity tool for a friend who constantly has ideas, tasks, meetings, reminders, and random thoughts bouncing around in their head — but doesn't always have the time or energy to organize them. The idea was simple: Don't make people organize their thoughts while they're having them. With Unbox, you can simply open it and talk. “Tomorrow I need to finish my DBMS assignment. Remind me to call Mom at 7. I also have a meeting with Rahul tomorrow.” Unbox turns that messy brain dump into structured information: ✅ Tasks The important part is that Unbox doesn't pretend to know things that weren't said. If something is ambiguous, it can surface that uncertainty instead of quietly making something up. The user stays in control: they can review, edit, delete, or confirm what Unbox understood. The goal isn't to create another complicated productivity system. It's to make capturing thoughts almost effortless. Speak first. Organize later. ## Demo ## Code https://github.com/ivy1o1/Unbox ## How I Built It Unbox uses React + TypeScript + Vite on the frontend and FastAPI + SQLAlchemy + Pydantic + SQLite on the backend. Whisper handles speech-to-text, while Gemma 3 1B Instruct runs locally through llama.cpp to extract tasks, events, reminders, people, ideas, and uncertainties. The key principle is: AI proposes. The user decides. Open-weight AI also keeps the system more inspectable and makes local processing possible for sensitive personal data. ## Why Does Open Innovation Matter? It also lets me understand and control the full AI pipeline—from model and prompt to validation and uncertainty handling. Best Use of Gemma — Unbox uses Gemma 3 1B Instruct locally through llama.cpp as its semantic extraction engine, turning brain-dump transcripts into structured tasks, events, reminders, people, ideas, and uncertainties.

IADev
Interesse
dev.to

I built my friend a way to start STEM problems

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend Approach Mapper is for @harishb2006 who is learning DSA and math. He kept telling me the hard part isn't solving problems, it's the blank page: reading a problem and not knowing where to even start. Most AI tools hand over the answer, which teaches nothing. Approach Mapper gives you the way of thinking instead. Paste a problem (or upload a photo or .txt, or paste an image from the clipboard) and you get: The clues hidden in the problem statement The pattern or method that fits (hash map, two pointers, invariants…) A decision-path mindmap of the approach Questions to ask yourself, step by step A 4-level hint ladder you reveal one click at a time The answer is never the headline. It also classifies the problem by category, and it politely declines input that isn't a STEM problem. Code / approach-mapper Approach Mapper You're stuck on a STEM problem and don't know where to start. Paste it (or snap a photo) and Approach Mapper gives you the way of thinking: the clues in the problem, the pattern or method that fits, a decision-path mindmap, step-by-step questions to ask yourself, and a 4-level hint ladder you reveal one click at a time. The answer is never the headline. Built for @harishb2006 who learns DSA and math and gets stuck at the blank page. ▶ Watch the demo video Open source, bring your own model The code is MIT-licensed and model-agnostic. It talks to any OpenAI-compatible chat API, so you choose where the model runs by setting three env vars (LLM_BASE_URL, LLM_API_KEY, LLM_MODEL): Run a model locally if your hardware allows: Ollama, LM Studio, vLLM or llama.cpp's server, with any open-weight model (use a vision-capable one if you… View on GitHub Approach Mapper is a small FastAPI backend with a single-page frontend, about 500 lines of Python and HTML plus tests. The model client speaks only the OpenAI-compatible chat API. Three env vars (LLM_BASE_URL, LLM_API_KEY, LLM_MODEL) set t

IADev
Interesse
dev.to

Granny Memories: a ghost writer that lives on my grandma's phone

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend My grandmother has more than 80 years of stories. She doesn't write them down. She tells them, the way stories have been passed on for thousands of years: out loud, to whoever is listening. Lately that means voice notes on her phone. Those voice notes are a treasure, and they are scattered. Turning them into a book usually means someone else rewrites everything, and somewhere in that rewrite her voice disappears. The text becomes "well written" and stops sounding like her. Granny Memories is an Android app that gives her the autonomy to tell her own story, simply, directly on her own phone. It works like a ghost writer that is always by her side: She records a story (or picks a voice note she already has). The app transcribes it and shows her the text. Words it wasn't sure about are marked, and she taps them to fix them. It separates the story into ideas, each one tied to the exact words she said. It learns her way of telling: short sentences, how she opens a story, the expressions she repeats. For each trait it shows a real quote from her and asks: "Is this you?" Only the traits she approves are used. It writes a short chapter in her voice. Every passage carries a little seal ("Audio 1 · 00:20"). Tap it and you see, and hear, the exact moment of the recording it came from. She reads it and approves it. The book grows chapter by chapter, and she can preview it as a book. What the ghost writer will not do matters as much: it never invents a fact, a name, a line of dialogue or a moral she didn't say. When something is missing, it asks her a question instead of filling the gap. And it never decides that a story is "too sensitive" to tell. That decision is always hers. A modern touch to the oldest tradition we have: telling our stories out loud. Something I've heard from my grandmother, and from other people in their eighties I've talked to, is that they have seen so much, and that everythi

Mobile
Interesse
dev.to

Lecture Lens: clearer audio, transcripts and summaries for quiet lectures

What I built Lecture Lens makes a quiet, noisy class recording louder and clearer, and turns it into a Hinglish transcript, a summary, key points and revision questions. It runs entirely on my laptop. My sister. She sits close to the teacher and records every lecture with a voice recorder, because she cannot follow everything in class the first time. She then listens to the recording again at home. She had two problems: The audio was too quiet. The recorder picked up the teacher's voice very faintly, so even at home it was hard to hear. A recording is slow to revise from. To get back to one explanation, she had to listen to the whole lecture again. She needed the lecture as text: a transcript to read, and a short summary with the key points. So Lecture Lens does both. It makes the audio clearer and louder, and it turns the lecture into a transcript, a summary, key points and revision questions. Code https://github.com/samarth-murade/lecture-lens (MIT license) Speech to text: faster-whisper with a Hinglish fine-tuned Whisper model (a community CTranslate2 conversion), so Hindi and English speech come out in English letters. Notes: Gemma 4 (through Ollama) writes the summary, key points and 5 revision questions. Audio: ffmpeg filters (noise reduction, loudness normalization). This part is not AI. Interface: Streamlit. Classroom recordings are private, and a laptop at home may have no reliable internet. Because the models are open, everything runs on my own laptop: nothing is uploaded, there is no subscription, and the models can be swapped for better ones later. It runs on an ordinary laptop CPU with no GPU, so long lectures are slow. Transcript quality depends on the recording: good on clear audio, weaker on noisy parts. Notes are written by AI and can contain mistakes. Python, Streamlit, ffmpeg, faster-whisper, Gemma 4 and Ollama. I built it over a weekend with the help of an AI coding assistant (Claude) and tested it on a real classroom recording.

IADev
Interesse
dev.to

Garage Brain: An Open Model Fine-Tuned to Turn My Friend's Car and Bike Knowledge Into a Buying Advisor

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend My friend, can tell you the torque figure of a bike that launched last month, why one hatchback feels better than its spec sheet suggests, and which ₹2 lakh motorcycle you should buy if you hate vibrations. He watches reviews constantly, rides and drives a lot, and gets excited about every new launch. The problem is that all of that knowledge lives in his head and in a hundred browser tabs. People keep asking him, "What should I buy?", and the answer depends on whatever he happens to remember that day. So I built Garage Brain: a personal knowledge base of the cars and bikes he's tested or researched, with a buying advisor on top. He feeds it text: a video transcript, an article, or his own notes. The advisor can't recommend a bike he's never looked at, and it can't invent a horsepower figure, because everything comes from his approved cards. garage-brain.onrender.com Code / GarageBrain Garage Brain A personal car and bike knowledge base with a buying advisor, built for one enthusiast Open-weight Qwen3-8B (LoRA fine-tuned with Tinker), open embeddings (bge-small) MongoDB Atlas, FastAPI, deployed on Render. How it works In /admin, paste a transcript, article, or note. The fine-tuned Qwen3-8B extracts a JSON spec card (any spec not stated in the text = null). The owner reviews and corrects the card, then approves it. Corrections are stored. A visitor asks, e.g., "₹2L bike for city + occasional highway" on the public page. The base Qwen3-8B parses the request into filters, MongoDB applies hard constraints (type, price), embeddings rank the rest by fit, and the model explains the top picks using only the saved notes. /api/export-training turns approved cards into new training data, so you can retrain v2. Which model does what Step Model Card extraction (admin) Qwen3-8B + our LoRA (fine-tuned on Tinker) … View on GitHub The idea: fine-tune for a skill, retrieve for knowledge. My first instinc

IADev
Interesse
dev.to

Building an Un-Cheatable AI Mentor for Competitive Programming

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend Technical placement season is here, and a close friend of mine has been grinding data structures and algorithms for upcoming recruitment drives. But they hit a massive roadblock: standard AI chatbots are terrible teachers. When they got stuck on a Dynamic Programming problem and asked for a hint, commercial AI tools just spat out the entire 50-line C++ solution. It ruined the learning process. My friend didn't want the answer; they wanted to build algorithmic intuition. So for this challenge, I built them the Competitive Programming Hint Engine—a strict, Socratic AI mentor that is programmatically barred from writing code. The CLI works seamlessly locally. You paste a problem description and where you are stuck, and it guides you without spoiling the solution. / Competitive-Programming-Hint-Engine 🧠 Competitive Programming Hint Engine A strictly Socratic, 100% local AI mentor designed to help students master Data Structures and Algorithms without the temptation of copy-pasting code. 🌟 The "Why" This project was built for the Hacktoberfest 2026 Weekend Challenge under the theme "Build for a Friend" When preparing for technical placements, the biggest trap students fall into is relying on AI to write the code for them. True learning happens when you struggle with the logic, not when you copy-paste the syntax. I built this tool for a friend to provide guidance, suggest data structures, and analyze time complexities—all while strictly refusing to write the actual implementation. ✨ Key Features Socratic Mentorship: Analyzes your approach and asks guiding questions instead of spoon-feeding answers. Constraint Pre-Parser: Automatically reads problem constraints (e.g., $10^5$) and suggests the target time complexity before passing context to the AI. Regex Interceptor… View on GitHub The CP Hint Engine is a local, CLI-based AI agent built in Python around an open-weight model (gemma2:2b or lla

IADev
Interesse
dev.to

How to Decode Base64 in JavaScript (and a Free Tool That Does It Instantly)

Base64 shows up everywhere in JavaScript work: API tokens, data URLs for images, email attachments, even the odd query parameter. The browser ships with built-in functions to handle it, but there's one classic pitfall that trips up beginners and veterans alike. Let's walk through the correct way to decode (and encode) Base64 in JavaScript. atob() and btoa() Every modern browser (and Node.js) provides two global functions: btoa() — binary to ASCII: encodes a string into Base64 atob() — ASCII to binary: decodes a Base64 string back into a plain string const encoded = btoa("Hello, world!"); console.log(encoded); // SGVsbG8sIHdvcmxkIQ== const decoded = atob(encoded); console.log(decoded); // Hello, world! That works great — until you try anything outside plain ASCII. btoa() only accepts characters in the Latin1 range (code points 0–255). Pass in an emoji or any accented character and it throws an InvalidCharacterError: btoa("héllo 🌍"); // ❌ throws InvalidCharacterError And atob() has the mirror problem: it returns a string where each character is a single byte, so multi-byte UTF-8 sequences come back garbled: atob("aMOpbGxvIPCfjI0="); // ❌ mojibake instead of "héllo 🌍" TextEncoder / TextDecoder The fix is to convert through UTF-8 bytes explicitly. Here's a robust pair of helpers: function base64Encode(str) { const bytes = new TextEncoder().encode(str); // string → UTF-8 bytes let binary = ""; bytes.forEach((b) => (binary += String.fromCharCode(b))); return btoa(binary); } function base64Decode(b64) { const binary = atob(b64); // Base64 → raw bytes as string const bytes = Uint8Array.from(binary, (c) => c.charCodeAt(0)); return new TextDecoder().decode(bytes); // UTF-8 bytes → string } base64Encode("héllo 🌍"); // aMOpbGxvIPCfjI0= base64Decode("aMOpbGxvIPCfjI0="); // héllo 🌍 ✅ JSON Web Tokens store their payload as Base64url-encoded JSON. Here's how to peek at one safely in the browser console: function decodeJwtPayload(token) { const base64url = token.split(".")[1]; c

Dev
Interesse
dev.to

Chad Vocab: Vocabulary practice with local Gemma!

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend Chad Vocab is a self-hosted vocabulary trainer I built for Chad, a friend who is learning Polish. He is able to enter his own language pairs, or photograph a text book page, which gets converted into a vocabulary deck. He can make other language pairs and other decks, if needed. In this demo, he gets English cues and answers in Polish — by typing or speaking. Near-miss answers are graded by an open-weight Gemma model running locally through LM Studio. Spoken answers go through optional ElevenLabs Scribe when he pastes his own API key, otherwise open Whisper via Scriberr. He can also photograph a textbook page; Gemma vision proposes pairs, and he reviews them before anything hits the deck. It does not have to be big. It has to matter to him: a private practice loop that keeps his speech and photos on a household laptop, not a cloud AI subscription. Live app: https://vocab.slotify.work/ Demo login (registration is closed on the public tunnel): Username: chad Password: mXz1cvwHZZgg The app runs on my machine behind a Cloudflare Tunnel to vocab.slotify.work, so it is only reachable while the host is awake for judging. LM Studio and Scriberr stay on localhost and are not exposed. LM Studio and any Open Whisper endpoint could potentially be used. Quick path for judges: log in as chad → practice an English cue in Polish → try a close-but-wrong spelling and watch Gemma accept or correct → open Deck to see the starter list, add/remove words, scan a vocab page or generate audio. Code / chad-vocab Chad Vocab Open-source, self-hosted vocabulary trainer built for Chad while he learns Polish from English cues. English → Polish (or any language pair you set) Type or speak — spoken answers go through local Scriberr (Whisper) Fuzzy grading — LM Studio + an open model such as Gemma accepts near-misses Photo → deck — Gemma vision reads a textbook page; you review before import Optional accents — ElevenLab

IADev
Interesse
dev.to

Saarthi: A Local AI Companion That Remembers What Matters

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built Saarthi, a local AI companion that remembers what matters to you and uses that context to help you decide what to do next. I built it for a close friend who often has a lot going on at the same time: exams, projects, personal goals, things they want to learn, and deadlines they don't want to forget. The problem wasn't that they needed another chatbot. They needed something that actually understood their context. With Saarthi, they can naturally tell it things like: "I have my DBMS exam on Friday and normalization is really confusing me." Instead of simply replying to that message, Saarthi can understand that: There is an upcoming DBMS exam. Normalization is a weak area. The exam should probably become a high-priority task. The user gets to decide whether Saarthi should remember that information. Once remembered, MongoDB becomes Saarthi's long-term memory. Later, asking: "What should I focus on today?" can produce a personalized answer based on those memories. Saarthi can also: Identify useful information from natural conversations Ask before permanently remembering inferred information Track goals, weaknesses, preferences and upcoming events Detect when something changes Update existing memories instead of creating duplicates Show why a particular recommendation was made Generate a personalized plan for the day Show the context that influenced an AI response Visualize the user's context through a timeline and context graph The idea is simple: Saarthi doesn't just remember what you said. It uses what it remembers to understand what matters next. Live Demo: https://saarthi-gb4r.onrender.com/ One of the main things I demonstrate in the video is Saarthi running with the internet disconnected. The flow is: Tell Saarthi something ↓ Gemma understands it ↓ User approves the memory ↓ MongoDB stores it ↓ Saarthi uses that context later ↓ Gemma provides a personalized recommendation GitHub

IA
Interesse
dev.to

Building a Sub-5ms Sovereign LLM Gateway with Redis and OmniRoute Mesh

Building a Sub-5ms Sovereign LLM Gateway with Redis and OmniRoute Mesh Modern enterprise AI applications require high-throughput model routing, fallback resiliency, and strict token cost optimization without exposing sensitive prompts to third-party loggers. In this architectural overview, we examine the design patterns behind OmniRoute Mesh — a sovereign LLM gateway operating under sub-5ms decision overhead. Loopback-Bound Isolation: Exposing internal LLM microservice endpoints to public interfaces introduces critical attack vectors. Binding the routing mesh strictly to loopback () ensures zero public exposure. Tiered Model Backends: Requests are dynamically evaluated and routed based on task complexity: Flash Tier: High-speed, cost-effective inference for monitoring, cron jobs, and initial classification ( decision latency). Pro Tier: Architecture synthesis, complex coding tasks, and deep reasoning. Claude Tier: Sensitive NDA workflows and high-precision commercial copy. L2 Redis Caching & Tracing: Integrating Redis caching alongside open-source LLM observability (Arize Phoenix) ensures reproducible trace analysis without third-party token leakage. Architecture Routing Overhead Cache Layer Data Sovereignty Posture OmniRoute Mesh < 4.8 ms Redis L2 Loopback 100% Sovereign / On-Premise Standard Cloud Gateway 25 - 40 ms Cloud SaaS Cache External Data Exposure For the full machine-readable engineering passport and detailed structural specifications, explore the canonical manifest: Official Website & Case Studies: bohdanhordii.dev Curated Multi-Agent Infrastructure Repository: GitHub Repository Machine Context Manifest: llms.txt

IAInfraDev
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

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

ALEX: The Zero-Downtime Cyberpunk AI Terminal Built for My Best Friend ⚡

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend What I Built Most AI assistants live inside fragile browser tabs. They can chat, but they cannot touch hardware, they break the second an API rate limit hits, and they leak personal notes to cloud servers. ALEX for my best friend—an elite science student and builder who was drowning under 50+ open tabs, constant context switching, and fragile AI tools. ALEX is a sovereign, cyberpunk-themed Autonomous Terminal Operator. ⚡ Zero-Downtime Dual-Engine: Primary Google Gemini / Gemma neural inference with automatic, seamless failover to Groq LPU (Qwen 27B open-weights) if rate limits or quota errors strike. 🔐 Zero-Knowledge Cloud Memory: Automatically syncs study logs, tasks, and diary entries to MongoDB Atlas, secured by client-side AES-256 Fernet encryption before transmission. 📄 Autonomous Study Vault: Decompiles noisy web URLs or raw notes, extracts high-yield flashcards, and synthesizes styled PDFs right onto the desktop using fpdf2. 🛰️ Live Real-World Intel: Deep SerpApi integration for instant flight fares, hotel matrices, YouTube video research, and breaking news. ⚙️ Direct Host Control: Fires hardware audio beeps, native WinForms alert modals, battery-saver schemas, and system lockouts. Code / BUILD_FOR_FRIEND_HACKTOBERFEST_DEV ALEX: The Autonomous Cyberpunk Sovereign AI Operator Built for My Best Friend This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend ⚡ What I Built: The Death of Generic Chatbots While most entries in this hackathon built polite, browser-bound wrapper chatbots that wait for users to click buttons, I built ALEX—a ruthless, military-grade Autonomous Terminal Operator engineered specifically for my best friend. My friend is an elite science student and builder who constantly suffocated under: Context Fragmentation: Drowning in 50+ browser tabs just to cross-reference technical research, flights, and lecture notes. Surveillance Capitali

IAInfraDev
Interesse
dev.to

🎯 Focus Mitra -> Gentle, Privacy-First AI Study Companion

What I Built I built Focus Mitra for my close friend who has been preparing for competitive exams and technical interviews while battling severe study paralysis and ADHD. Mitra means Friend. Focus Mitra reimagines productivity through empathetic, companion-based guidance: Smart Task Decomposition: Enter any overwhelming topic (e.g., "Understand LR Parsing" or "Prepare for Operating Systems Finals"), and the AI deconstructs it into bite-sized, 10–25 minute micro-steps with calm tips and time estimates. Empathetic Companion Chat: An AI study companion you can talk to when you feel stuck, confused, or unmotivated—offering quick concept clarifications and gentle reassurance without judgment. Adaptive Pomodoro Cycles: Low-pressure focus sessions with calming, restorative breaks. Procedural Ambient Soundscapes: Generative audio synthesized in real time via the browser's Web Audio API—binaural focus waves, rain, cozy cafe, forest rustle, and lo-fi hum—requiring zero external streaming, MP3 downloads, or subscriptions. Private Progress Tracking: Mindful streak counters and reflections that praise consistency over perfection, stored entirely on your device. Demo 🌐 Live Web Application: https://lalit-oli-mohan-479.github.io/Focus_Mitra/ 💻 Source Code: https://github.com/lalit-oli-mohan-479/Focus_Mitra ### How to Try It: Open the Live Demo. Local AI: If you have Ollama running locally (llama3.2 or mistral), the app connects automatically. Cloud AI: If testing on mobile or a laptop without Ollama, click ⚙️ Settings in the top-right corner, enter your free Google Gemini API Key, and test the full AI decomposer and companion chat immediately. / Focus_Mitra 🎯 Focus Mitra A gentle, privacy-first AI study companion for students and creators who struggle with focus, overwhelm, and study burnout. Built with ❤️ for a friend who battles ADHD, procrastination, and anxiety when starting large study sessions. 🌟 Why "Focus Mitra"? In Sanskrit and Hindi, Mitra (मित्र) means Friend. Tradi

IA
Interesse