Painel de Notícias

Tecnologia

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

Filtros
dev.to

What is Hermes Agent? The open-source AI agent, explained for business

Hermes Agent is an open-source AI agent built by Nous Research and released under the MIT license. It runs as a long-lived assistant on a small server or your own infrastructure, connects to whichever language model you choose, and talks to you through Slack, Telegram, Discord, WhatsApp, a terminal or the Hermes Desktop app. What sets it apart is a built-in learning loop: it turns experience into reusable skills, keeps notes on what it learns and builds a model of the person it works for across sessions. VantaSoft runs its own operations on Hermes Agent and deploys it for customers as a managed service, so this explainer draws on daily use as well as the documentation. Facts about the software below come from the official documentation and the public repository as of September 2026. Most AI tools a business comes across are chat windows: you type, it answers, and the conversation ends. Hermes Agent works differently. It is a process that stays running, holds tools it can use (a terminal, files, web access and any integrations you grant), remembers across conversations, and can be reached from the messaging apps your team already uses. Three properties from the documentation matter most for a business reader: Self-improving. It creates skills from experience, improves them during use and prompts itself to save what it learns, so a task it did last month is easier this month. Model-agnostic. It works with Nous Portal, OpenRouter, OpenAI or your own model endpoint, and switching models is a configuration change rather than a rebuild. Runs anywhere. The project describes running it on a $5 VPS, a GPU cluster, or serverless infrastructure that costs almost nothing when idle, so it does not depend on anyone's laptop being switched on. Option What it is Where it runs Learning across sessions License and cost Hermes Agent Open-source agent runtime with tools, memory, skills, and messaging integrations Your VPS, cloud, or serverless; also a desktop app Built-in loop: skills,

IA
Interesse
dev.to

My Journey of Learning and Building in Tech

Hello everyone, I’m a college student who is passionate about technology and enjoys learning by building projects. Recently, I’ve been exploring areas such as web development, artificial intelligence, databases, and cloud technologies. Working on different projects has helped me understand not only how technologies work, but also how to approach problems, debug errors, and find practical solutions. One thing I’ve learned along the way is that building projects is one of the best ways to improve. Every error and challenge gives me an opportunity to learn something new. I’m looking forward to learning from this community, connecting with other developers, and sharing my progress along the way. What is one technology or skill you are currently learning?

Dev
Interesse
dev.to

6 Production Rules to Delete User Accounts and Revoke Sessions Safely

Treat account deletion as a durable, one-way state machine, and make credential invalidation the first externally visible transition. For an education platform that accepts Google and GitHub sign-in, the practical rule is: block new logins, revoke local sessions and API keys, erase owned data through retryable steps, and retain only the minimum tombstone needed to make retries harmless. TL;DR: use six stages: requested, locked, credentials_revoked, data_erased, provider_unlinked, and completed. A repeated request must return the same operation identifier; a crashed worker must resume from durable state; and completion must never imply that an upstream identity-provider account was deleted. The page worth trusting is "a locked account still authenticated," not a green dashboard saying the queue is healthy. Social sign-in separates identity proof from the application account. Google or GitHub can still issue a valid identity assertion after the learning-platform profile is gone, because deleting the local profile does not delete the person's upstream account. If the callback treats every valid assertion as permission to create a profile, the next login can resurrect an erased student with the same provider subject. That is the failure mode I would design the page around. The callback must check a deletion tombstone keyed by the issuer and provider subject before provisioning anything. It must also reject an account whose deletion state has reached locked, even when an older browser cookie remains cryptographically valid. Signature verification answers whether a token was issued by the expected authority; it does not answer whether this application still permits the account to act. Bot resistance changes the front door, too. Do not let an anonymous caller use the deletion endpoint as an account-enumeration oracle. Require a recently authenticated session, apply the same response shape regardless of whether a background operation already exists, and step up authenticati

SegurançaDev
Interesse
dev.to

Hiring Pipelines as Distributed Systems: Why Silent Failures Cascade

A candidate moves to Interview stage. Your three panelists get notified. One schedules immediately. One says yes but forgets to add it to their calendar. One never responds. The round hangs, invisible—not because anything errored, but because a handoff broke. If you've spent time monitoring automation workflows in n8n or Make, you know this pattern. A workflow "succeeds" but produces zero output. No errors fire. Alerts stay quiet. The pipeline just stops moving. Hiring is the same distributed system with the same failure mode—except hiring teams rarely think of it that way. A candidate doesn't just move through your pipeline in one atomic step. Instead: Applied → AI resume screening scores the candidate Review → your panel triages and advances Interview → panelists book time, conduct interviews, score Offer → staff extends and tracks acceptance Hired → confirmed start date Each stage hands off to the next. Applied hands to Review implicitly—when screening finishes, Review stage exists and someone has to triage it. Review hands to Interview only if a staff member manually moves the candidate and assigns at least one panelist. Interview hands to Offer only when every panelist on that round has scored. That's not one transaction. That's five different actors (AI screener, staff triager, panelists × 3, hiring manager) across five decision points. Distributed systems fail at handoffs. A coordinator moves a candidate to Interview and assigns three panelists. One schedules within an hour. One agrees in Slack ("yes, I can do it") but never actually blocks their calendar. One is traveling and missed the email. Status: the round is now In Interview. It looks alive. Reality: the round is blocked on one person's calendar entry, one person's actual response, and one person's timezone coordination. Nothing says so. The coordinator checks back in three days wondering why it stalled. In a workflow, you'd call this a missing dependency. A task that depends on three downstream jobs,

Geral
Interesse
dev.to

The spec was unbuildable, and only building it showed that

Development covered 6 Aug 2026 to 9 Aug 2026 (commit dates). Myriad Immortal Sect has a design document per system, and I write the document before I write the system. This week I finally built one of the oldest ones and discovered it described something that cannot exist. The system is a slow-earning currency. The document said, in effect, that you earn it while you are in the game, at a rate set against a balance, with the earning gated on a condition. I had read that paragraph perhaps thirty times over several months and understood it every time. Then I sat down to implement it exactly as written, and the gate could never be satisfied. The condition the document set was one the game reaches only after the currency already exists. Read literally, the faucet never opens on a new account, which is the only kind of account that matters for a currency meant to accumulate slowly. I want to be clear that this is not a typo I could have caught by proofreading. The sentence is grammatical and it names real things. It is wrong in the way a plan for a bridge is wrong when the two banks are at different heights and nobody drew the elevation. Settling it meant answering a question the document had been quietly avoiding: what is one hour of play actually worth here? An idle game has to answer that in a currency, not in a feeling. Once the number exists, everything downstream stops being an argument. The production rate became plain arithmetic that a test can assert, which sounds obvious and was not obvious for months, because the rate had been living inside a paragraph as a description rather than inside the game as a value. The moment it was arithmetic, a second problem showed itself: a faucet with no relationship to a balance is just a number going up. So the rate now reads from the same balance the rest of the economy reads, and the two move together. If I change what an hour is worth, one number changes and the whole system follows. Each attribute that rate eventually feed

Games
Interesse
dev.to

backend development

Unveiling the Engine Room: The World of Backend Development In the intricate landscape of modern software, while users interact with the sleek interfaces of front-end applications, a robust and invisible machinery works tirelessly behind the scenes. This is the domain of backend development – the foundational layer that powers every digital experience, from mobile apps to sophisticated enterprise systems. Understanding backend development is crucial for anyone looking to grasp the full scope of software creation. Backend development encompasses the server-side logic, database management, and API (Application Programming Interface) creation that enable the front end to function. It is the brain of the operation, processing requests, storing data, and ensuring seamless communication between different parts of an application. Without a well-engineered backend, even the most aesthetically pleasing front end would be a static, non-functional shell. Servers: These powerful computers host the application's logic and data, responding to requests from client-side applications. Databases: Essential for storing, organizing, and retrieving data. Backend developers work with various database types, including relational (e.g., PostgreSQL, MySQL) and non-relational (e.g., MongoDB, Cassandra). APIs: These are sets of rules and protocols that allow different software applications to communicate with each other. Backend developers design and implement APIs to expose functionality to front-end clients. Programming Languages: A diverse array of languages are used in backend development, each with its strengths. Popular choices include Python, Java, Node.js (JavaScript), Ruby, PHP, and Go. Frameworks: To streamline development, frameworks like Django (Python), Spring Boot (Java), Ruby on Rails (Ruby), and Express.js (Node.js) provide pre-built components and structures. Backend developers are problem-solvers and architects. Their responsibilities often include: Designing and implementin

Dev
Interesse
dev.to

How to Create the Glassmorphism (Frosted Glass) Effect with CSS

Glassmorphism is the frosted-glass look: a translucent panel that blurs whatever is behind it, with a thin light border and soft shadow. It works best over colorful or image backgrounds and gives interfaces a sense of depth. .glass { background: rgba(255, 255, 255, 0.15); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 16px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); } A semi-transparent background lets the content behind show through. backdrop-filter: blur() blurs whatever is behind the element (not the element's own content). A 1px light border catches the edge like the rim of glass. A soft shadow lifts the panel off the background. Put the panel over a colorful gradient or photo; on a flat color the blur is invisible. Set the translucent background with a low alpha (0.1 to 0.25 for light glass, similar for dark). Add backdrop-filter with a blur between about 8px and 20px, including the -webkit- prefix for older Safari versions. Add the border, radius, and shadow, then tweak until the text is easy to read. Text on translucent panels can drop below the contrast minimum when the background behind it changes. Test over the brightest and darkest parts. Add a slightly more opaque background, or a text shadow, if readability suffers. Respect users who prefer reduced transparency where the platform exposes it. Blurring is GPU-intensive; avoid huge blurred areas and many stacked layers, especially on mobile. Provide a fallback using @supports not (backdrop-filter: blur(1px)) with a more opaque solid background. Don't animate the blur radius; animate opacity or transform instead. Use it sparingly The effect is eye-catching but easily overused. Reserve it for a few prominent surfaces such as a modal, card, or navigation bar, and keep everything else simple. backdrop-filter: blur(), combined with a semi-transparent background color. The element needs a translucent background, there must be content b

Dev
Interesse
dev.to

BFS has one line people get wrong: where you mark a node visited

Breadth-first search is usually the second graph algorithm anyone learns, and it looks almost too simple: a queue, a loop, a visited set. Most BFS bugs I see come down to one decision in that loop: when you mark a node as visited. Drop a stone in a pond. The first ripple reaches everything one step away, the second ripple everything two steps away, and so on. BFS explores a graph the same way. It visits every neighbour of the start node, then every neighbour of those, one layer at a time. The queue is what keeps the layers in order. It is first-in, first-out, so every node from layer 1 is processed before any node from layer 2 is even looked at. That ordering is also why BFS finds the shortest path in an unweighted graph: the first time it reaches a node is along the fewest possible edges. from collections import deque def bfs(graph, start): visited = {start} # mark the start as soon as it is queued queue = deque([start]) order = [] while queue: node = queue.popleft() order.append(node) for neighbour in graph[node]: if neighbour not in visited: visited.add(neighbour) # mark on ENQUEUE queue.append(neighbour) return order graph = { 'A': ['B', 'C'], 'B': ['A', 'D', 'E'], 'C': ['A', 'E'], 'D': ['B'], 'E': ['B', 'C'], } print(bfs(graph, 'A')) # ['A', 'B', 'C', 'D', 'E'] Here is the version that looks equivalent: def bfs_buggy(graph, start): visited = set() queue = deque([start]) order = [] while queue: node = queue.popleft() if node in visited: continue visited.add(node) # mark on DEQUEUE order.append(node) for neighbour in graph[node]: if neighbour not in visited: queue.append(neighbour) return order It returns the same order, so tests pass. Now trace the queue on the graph above. A is dequeued. B and C are enqueued. Queue: B, C B is dequeued. D and E are enqueued. Queue: C, D, E C is dequeued. E isn't visited yet, because it's still waiting in the queue, so it's enqueued again. Queue: D, E, E E is now in the queue twice. On this graph that costs one wasted loop. On a

Dev
Interesse
dev.to

Axios in React

What is Axios? Axios is a JavaScript library used to make HTTP requests. In a React application, it is commonly used to communicate with APIs and backend servers. Through Axios, a React application can send requests to a server and receive data from it. For example, a React application may need to get a list of movies from an API, send a new user to a backend, update existing data, or delete a record. Axios provides methods such as get(), post(), put(), patch(), and delete() for these operations. The basic flow can be understood as: React Application ↓ Axios ↓ HTTP Request ↓ API ↓ HTTP Response ↓ Axios ↓ React Application Axios itself is not a database and does not permanently store the data. Its main responsibility is communication between the application and the server. Axios can be installed in a React project using: npm install axios After installing it, import Axios into the component or JavaScript file where it is required: import axios from "axios"; Now Axios methods can be used to communicate with APIs. The GET method is used when we want to retrieve data from a server. const response = await axios.get("https://example.com/users"); console.log(response.data); Axios returns a response object that contains information such as the response data, status, and headers. The actual data returned by the server is normally accessed using response.data. For example, if the API returns an array of users: [ { id: 1, name: "John" }, { id: 2, name: "David" } ] then response.data contains this array. When data needs to be fetched when a component loads, Axios is commonly used inside useEffect(). import { useEffect, useState } from "react"; import axios from "axios"; function App() { const [users, setUsers] = useState([]); useEffect(() => { const getUsers = async () => { const response = await axios.get( "https://example.com/users" ); setUsers(response.data); }; getUsers(); }, []); return ( {users.map((user) => ( {user.name} ))} ); } Initially, users is an empty array. The c

Dev
Interesse
dev.to

why your analytics silently stops working (and the 4 checks i run first)

the worst analytics bug never shows up in your console. it shows up weeks later, as a gap in your dashboard you can't explain. i'm om yaduvanshi, 18, an applied ai developer. cloudline is my cookieless google analytics alternative, and this is day 12 of 90 building in public. today's lesson cost me real data: analytics fails silently, and nobody tells you. a broken button throws an error. a failed deploy gets someone paged. but broken analytics just stops recording. your site looks fine. your visitors keep coming. the numbers quietly flatline, and you find out when you open the dashboard for something else and notice the line died two weeks ago. content security policy is the usual suspect. if your site's csp doesn't list the analytics domain in script-src and connect-src, the browser kills the request. it does log to the console, but nobody watches the console on a production site. your deploy worked, your script tag is correct, and zero events land. filter lists block tracker.js paths on sight. this is the check where i stop pretending: no client-side analytics tool survives every ad blocker, and any vendor telling you otherwise is lying. some visits will never land. cookieless doesn't mean blocklist-proof. the honest trade is right there in the numbers you do get. every visit you see is real, no sampled ghosts. i'd rather have true partial data than confidently wrong complete data. cloudline refuses localhost events in production, on purpose. you test your install on localhost, the dashboard stays empty, and you spend an hour confused. rite of passage. same with domain matching: events only count for the site the script tag was made for. if the domain doesn't match what's registered, nothing lands. the fastest check in the world. open the live visitors view, load your site in another tab, and see if you show up. if you appear, the pipeline works and the gap is upstream. if you don't, you just saved yourself an hour of guessing. if you haven't installed yet: one l

Dev
Interesse
dev.to

My Entire Site 500’d, and the Build Was Green

My whole site went down on a green deploy. Every route, every API call, every cron job. The only clue in wrangler tail was this: n. One letter, in a method I had never touched. Next.js 16.3 added a second binding to a destructured declaration. The ast-grep patch OpenNext applies after the build was replacing that whole declaration and putting back only one of the names, while the code underneath kept reading the other one. In the minified chunks that serve real traffic, the first line of the method reads the deleted name and throws. In the unminified file it happened to work, because the name the patch put back was the name the guard read. That's why every build stayed green. The test snapshot had the orphaned variable in it the whole time. The test only compared strings, and a string can't throw a ReferenceError. I fixed it by replacing the whole method body instead of one declaration, and wrote tests that actually run the patched output. It merged into OpenNext, after a maintainer carried my PR into his. All I wanted was my site to be back up. https://aashikbaruwal.com.np/blog/nextjs-16-3-composable-cache-referenceerror-fix/

Dev
Interesse
dev.to

How do you guys market yourself

I wish to know from all the developers in here, how do you market yourself? Like, what techniques do you use to bring actual visibility to yourself so that you stay available and visible in the market? Any suggestions will help! :)

Geral
Interesse
dev.to

How I built a privacy-first JSON formatter that runs 100% in the browser

A while ago I kept running into the same problem: I needed to format, validate and compare JSON payloads every day, but I didn't want to paste sensitive API responses into some random website. So I built JSONMini — a JSON toolkit that does everything in your browser. No uploads, no server, no data leaves your machine. Minify & Beautify — with configurable indentation (2/3/4 spaces or tabs) Validate — with error line/column highlighting so you know exactly where the JSON broke Format — pretty-print with optional key sorting Diff — side-by-side comparison of two JSON payloads Viewer — tree view with image previews for URLs inside your JSON Since everything runs client-side, there is no backend to worry about. The heavy lifting is done with the built-in JSON.parse/JSON.stringify plus a custom tokenizer for error positions, and the whole UI is a Next.js app deployed on Cloudflare Workers. Two features I ended up loving: URL sharing — you can pass JSON via the ?json= query parameter, so sharing a payload with a colleague is as easy as sending a link. Local history — the last 10 payloads are kept in localStorage, so you can restore previous work without re-pasting. It's free, no sign-up required: https://jsonmini.com If you're building something similar, happy to answer questions in the comments!

Dev
Interesse
dev.to

Building a No-Framework Solitaire Portal: What I Learned Shipping 15 Card Games Without React

The constraint that shaped everything When I started building a solitaire portal, I gave myself one rule: if a feature does not need a server, it does not get one. No user sessions, no API layer, no database. Progress and statistics live in localStorage. That single constraint eliminated most of the traditional game-portal stack before I wrote a line of game code. The result is SolitairePicks — 15 classic card games, statically generated, playable in the browser with no install and no signup wall. Each game (Klondike, Spider, FreeCell, Pyramid, Golf, TriPeaks...) is a self-contained JavaScript file with the same small interface: deal a deck, render a tableau, validate moves, detect a win. No framework lifecycle to fight. When I fixed a Spider-specific edge case last week, the diff touched exactly one file. The tradeoff is honest: I re-implement drag-and-drop per game instead of reusing a component library. For card games the interaction surface is small enough that this costs less than maintaining a shared abstraction nobody else depends on. Win-rate tracking runs entirely client-side. Every finished hand appends a row to localStorage; the stats page reads it on load. Cross-session progress persists without a single network request. If a player clears their browser data, they lose their history — acceptable for a free portal, and it keeps the privacy story simple: nothing about gameplay ever leaves the device. Klondike — the Windows-era standard, draw-one and draw-three modes Spider — 1/2/4 suit difficulty tiers with per-tier win-rate tracking FreeCell, Pyramid, Golf and a dozen more — the "second coffee" tier If I started today I'd still skip React for the game logic — but I'd add a tiny shared module for the drag layer earlier. Rebuilding it six times was the tuition fee for learning where the real commonality lives. The portal lives at SolitairePicks. Feedback welcome, especially on game feel and difficulty tuning.

DevGames
Interesse
dev.to

I Built a Brush-Based AI Photo Eraser (People, Objects, Text, Watermarks)

I’m leony, an indie maker. I kept wanting a small, focused flow for cleaning a photo: paint over the distraction, let AI rebuild that patch from the surrounding scene, download, done. Full design suites are overkill for that, and generic “generate a new image” tools don’t preserve the rest of the frame the way a local erase-and-fill does. So I built RemoveGenie — a brush-based AI photo eraser for people, objects, text, watermarks, and stickers. The product loop is intentionally short: Upload a JPG, PNG, or WebP (up to 20 MB). Paint a red mask over what you want gone. Undo, Clear, and a brush-size slider are there when the first pass is messy. Sign in with Google and submit when the cost/credits look right. The model reconstructs the masked region from context around it. Covered pixels are generated, not recovered from under the object. Download a PNG. Large inputs are resized so the longest edge is at most 1536 px — check dimensions before anything print-related. That “generated, not recovered” line matters. If a tourist’s head covered a storefront sign, you get a plausible wall or window, not the real letters that were behind them. Same editor, six focused tool pages so the intent is obvious: People — strangers in a coastal portrait, photobombers on a trip shot (remove people from photo). Objects — a cyclist at the edge of a street frame, clutter on a desk (AI object remover). Text — burned-in captions, date stamps, a few short words on an image. Watermarks — only on images you have the right to edit. Removing a mark does not transfer copyright. Stickers / emojis — overlays on screenshots or shared photos. Magic eraser — the same brush/fill loop when you just want “erase this blob.” Include shadows and reflections in the mask when you can; the model does not reliably invent unmarked ones. Login to submit. You can prepare the mask first, but Google sign-in is required to run a removal. 16 credits per removal. New accounts get 16 credits (enough for one try), valid 3

IA
Interesse
dev.to

My Stripe idempotency key was correct. It just stopped working after 24 hours.

I added a reward feature that pays out through Stripe's customer balance, and I did what every payments guide tells you to do: I passed an idempotency key on the write that moves money. A security review pass then found a double-payment path anyway, and the key was not wrong. The key was correct, unique, and deterministic. It simply had an expiry date that my retry design ignored. This post is about the gap between "I used an idempotency key" and "this operation is idempotent." They are not the same claim, and the distance between them is a time window. The stack is Next.js, Drizzle, Neon and the Stripe Node SDK, but the lesson has nothing to do with any of those. When a referred user's paid subscription goes through, the referrer gets a credit on their Stripe customer balance. In Stripe terms that is a negative customer balance transaction, which Stripe automatically applies to the customer's next invoice. The reward logic lives in one function, rewardReferralIfEligible, and it can be called from three places: a webhook for customer.subscription.updated, a webhook for invoice.paid, and a manual sweep script I run to catch anything the webhooks missed. Because the same function can be reached from several triggers, it has to be safe to call repeatedly. That requirement is where the story starts. There is a referrals table with a status column: pending or rewarded. The function's job is to move a row from pending to rewarded exactly once and, as a side effect of that single transition, create exactly one balance transaction on the referrer's Stripe customer. The first thing I wrote was a compare-and-swap. Before touching Stripe, claim the row: const updated = await db .update(referrals) .set({ status: "rewarded", rewardedAt: new Date() }) .where(and(eq(referrals.id, referral.id), eq(referrals.status, "pending"))) .returning(); if (updated.length === 0) return; The WHERE status = 'pending' clause is the important part. If two webhook deliveries race, both run this UPD

Dev
Interesse
Hacker News

Calling It Quits on ServerFault

Article URL: https://sysadmin1138.net/mt/blog/2026/10/calling-it-quits-on-serverfault.shtml Comments URL: https://news.ycombinator.com/item?id=49988142 Points: 10 # Comments: 1

Infra
Interesse
dev.to

I Built a Data-Driven Palworld Breeding Calculator for Version 1.0

Palworld breeding looks simple when you are just putting two Pals into the farm. I built and maintain a free Palworld Breeding Calculator for Palworld 1.0. It lets players pick two parents and see the egg, pick a target and find valid parents, plan multi-generation breeding trees, and inspect the data behind the tool. Disclosure: this is my project, and the link above goes to it. It is free to use, does not require an account, and is not affiliated with Pocketpair or Garena. This post is the build story: how the calculator ended up as a static Next.js app powered by bundled game data instead of a runtime API. The first useful constraint is that Palworld breeding is not fuzzy. For ordinary pairs, every Pal has a hidden value usually called CombiRank. The game averages the two parents' ranks, rounds up, and returns the closest Pal in the ordinary breeding pool. Conceptually: function calculateTargetRank(firstRank: number, secondRank: number) { return Math.floor((firstRank + secondRank + 1) / 2); } Then the calculator searches the ordinary pool for the Pal closest to that target rank. The wrinkle is that ordinary formula does not cover everything. Palworld 1.0 has: 299 Pal entries in the breeding dataset 183 entries in the ordinary formula pool 164 special combo rows that override the formula 297 Pals that can actually enter a Breeding Farm So the algorithm is not just "average two numbers." It is: Check whether the parent pair has a special combo. If so, return the fixed child. If not, calculate the target CombiRank. Search only the ordinary formula pool. Apply the dataset's tie rule consistently. That is small enough to run in the browser, but important enough that I did not want every component to reimplement it. The app has a shared breeding library that loads the local JSON data and exposes the same primitives everywhere: calculateOffspring(first, second) buildReverseBreedingMap() rankedParentPairs(target) Pal lookup by name and slug farm eligibility and unbreedab

GamesDev
Interesse
dev.to

I don’t code. My AI usage still reached 145 million tokens.

When I checked my AI usage dashboard, two numbers made me stop: 145 million tokens. 8,377 requests. I don’t code. Vijay, our founder and main developer at 123sudo, handles that side of the work. These were my conversations. In September, I wrote about those figures on Medium. My 9xchat dashboard showed an all-time cost of about $637. That wasn’t my complete AI spending for the year. Including other AI tools and services, I estimated I was approaching ₹1 lakh. Those are different totals: one was a dashboard figure, the other my broader spending estimate. But both raised the same question: What was I actually getting from all this usage? I’m a co-founder working on product experience, creative direction, and growth. My AI usage comes from the ordinary work of building and growing products: Working through product ideas. Researching an audience. Drafting launch content. Finding clearer language for a confusing feature. Comparing possible approaches. Asking another model to challenge an idea. Sometimes I need a draft. Sometimes I need a second opinion. Sometimes I haven’t understood the problem well enough to ask a useful question yet. The total wasn’t one dramatic project. It was thousands of small interactions. That’s what surprised me: you don’t need to be writing code for AI usage to become a meaningful expense. Some conversations help me make a decision. Others help turn an unclear idea into something we can work on. That can be valuable. I don’t want to reduce AI usage simply to make a dashboard number smaller. A useful conversation can be worth more than several cheap but unhelpful ones. The question I’m learning to ask is: Did this interaction move the work forward? A finished brief, a clearer decision, or a usable draft is different from another page of options I won’t act on. I expect to explain a new task. What gets tiring is rebuilding the background around it: What is 123sudo? Which product are we discussing? Who is it for? What have we already decided? Whi

IA
Interesse
dev.to

I built a game that replaces doomscrolling with quizzes, hidden history, and brain puzzles

I kept catching myself doomscrolling, so I built something to replace it: CurioQuest, a free web game where curiosity earns you XP. 👉 Try it: https://curio-quest-phi.vercel.app/ 🏛️ Forgotten Wonders: stories about obscure history and nature mysteries (the Antikythera Mechanism, the Dancing Plague of 1518, Göbekli Tepe), each with a 3-question quiz 🔬 Science Fact Lab: rapid true/false facts with sourced explanations and accuracy streak multipliers 🧩 Brain Games: memory match, word scramble, math sprint, and a daily cipher puzzle 🌍 World & Tech Pulse: live news cards plus a 3-question daily quiz Everything feeds one progression system: XP, unlimited levels, daily streaks with a calendar, 12 badges, 32+ collectible museum relics, and two leaderboards (points and streaks). Stack: React + TypeScript, built with Google AI Studio and Gemini Live news: a server-side endpoint calls Gemini with Google Search grounding, so cards come with citations and source links Feedback: procedural sounds with the Web Audio API, haptics with navigator.vibrate, and confetti on rewards Auth: salted and hashed passwords with session tokens, plus guest mode that saves progress when you sign in Hardening: security headers, an in-memory rate limiter, and a request body size limit Streak logic is trickier than it looks. Missed days, same-day logins, and migrating old saved state all needed careful handling. I had fake multipliers on the leaderboard early on and replaced them with real per-day XP tracking, so the timeframes now come from actual activity. Gemini works well for current-events content only when it's grounded with search and sources. Does the XP and leveling feel motivating or too grindy? Which game mode or content category should come next? Anything confusing or broken? Thanks for reading!

GamesDev
Interesse
dev.to

Nine Bugs That Taught Me Reliability: Post-Mortem of a Zero-Cost Hybrid AI System

canonical_url: https://arielchangdev.github.io/angelina-finance-agent/ Building a hybrid local+cloud AI system under two hard rules — $0 cost and never break production. The interesting part wasn't the happy path; it was the 9 production bugs and what each taught me about where reliability actually lives. A war-stories write-up. The system was fun to design. The interesting part was the nine ways it quietly broke — and what each one taught me about where reliability actually lives. I spent a few months building and operating a small AI agent under two rules that never moved: It must cost exactly $0. Every component lives inside a provider's always-free tier, with a $1 budget alert sitting on top as a tripwire. It must never regress the running production service. There's a live daily job that real usage depends on. Every change had to ship without breaking what was already working. Those two constraints turned out to be the whole story. When you can't throw money or a staging cluster at a problem, you're forced to get the boring details right. This post is about the boring details — specifically, the nine production bugs I had to fight, written up so you can skip the ones I didn't. If you want the full architecture and trade-off write-up, that's in a separate case study (linked at the bottom). Here I'll keep the system context short and spend the words on the failures. It's a self-hosted AI agent (Python + FastAPI, a hosted LLM on its free tier, a vector DB for retrieval, SQLite for state). A cron job runs a scheduled daily task, logs results to a shared spreadsheet, and keeps a small knowledge base in sync. Over three iterations, it grew from one home-lab VM into a hybrid topology: a local VM is the primary and does all the real work; a cloud always-free VM sits passive and only takes over if the local node goes dark. Coordination happens through a heartbeat written to a shared sheet; data moves through a token-gated HTTPS sync endpoint. That's it. Everything below

IAInfraDev
Interesse
dev.to

I Opened the Palworld Breeding Dataset Behind My Calculator

I built a Palworld breeding calculator, but the part I most want other developers to use is the data. The dataset behind the site is now public as JSON and CSV: https://www.palworldonline.net/data Disclosure: I built and maintain the calculator I am linking to here. It is free to use, does not require an account, and is not affiliated with Pocketpair or Garena. This post is about what is in the dataset, why I opened it, and the breeding-data bugs it is designed to prevent. There are four lightweight endpoints: All Pals JSON All Pals CSV Special combos JSON Special combos CSV The data page also links the full Paldeck profile JSON used by newer lookup features. The breeding exports cover Palworld 1.0 breeding data: 299 Pal entries 297 Pals that can enter a Breeding Farm 183 ordinary formula-pool entries 164 special combo rows CombiRank values parent-pair counts element types gender ratio breedable and farm-eligible flags gender fields for special combos The endpoints are served with: Access-Control-Allow-Origin: * That means you can fetch them from another browser-based tool without needing a proxy. type PalRow = { name: string; slug: string; combi_rank: number; rank_position: number; special_only: boolean; breedable: boolean; breeding_farm_eligible: boolean; parent_pair_count: number; elements: string[]; male_percent: number; icon_url: string | null; guide_url: string; }; type PalsResponse = { pals: PalRow[]; }; const data: PalsResponse = await fetch( "https://www.palworldonline.net/api/pals.json", ).then((response) => response.json()); const pals = data.pals; const targets = pals .filter((pal) => pal.breedable && pal.parent_pair_count > 0) .sort((a, b) => b.parent_pair_count - a.parent_pair_count) .slice(0, 10); console.table(targets.map((pal) => ({ name: pal.name, pairs: pal.parent_pair_count, rank: pal.combi_rank, }))); For spreadsheet work, use the CSV versions. The schema is intentionally flat. Because breeding tools tend to hide the assumptions that matter. If

GamesDev
Interesse
dev.to

Overwhelmed by DSPM Findings? Structured Prioritization and Action Plan Offers Relief

Understanding the DSPM Findings Landscape Data Security Posture Management (DSPM) tools generate a deluge of findings, each representing a potential vulnerability in an organization’s data security infrastructure. Analogous to cracks in a dam, these findings vary in severity—from minor misconfigurations to critical exposures. Without a structured approach, the sheer volume of alerts overwhelms security teams, leading to inefficiencies and heightened risk of catastrophic breaches. The challenge lies not in the quantity of findings but in the absence of a systematic method to prioritize and address them. DSPM tools function as diagnostic sensors, identifying stress points within complex data environments. Each finding signals a compromised component—whether a policy gap, configuration error, or process flaw. The volume of findings exacerbates a systems-level issue: without prioritization, teams default to reactive firefighting, akin to replacing every bolt in an engine without assessing its criticality. This approach squanders resources and fails to address root causes, leaving the system vulnerable to cumulative failure. Risk in DSPM is a tangible process of cumulative stress leading to systemic failure. The causal chain unfolds as follows: Impact: Unprioritized findings create cognitive overload, diverting attention from critical vulnerabilities. This fragmentation of focus increases the likelihood of missing high-risk exposures. Internal Process: Teams resort to ad-hoc remediation, equivalent to patching a structural flaw with temporary fixes. These stopgap measures fail to address underlying issues, perpetuating systemic fragility. Observable Effect: Neglected critical vulnerabilities result in data breaches, regulatory non-compliance, and reputational damage. Like a weakened structural beam, the system collapses under pressure, rendering temporary fixes ineffective. Two scenarios illustrate the pitfalls of inadequate prioritization: False Negatives: A low-risk fi

Segurança
Interesse
dev.to

Games got prettier. The game stayed mostly the same.

Better graphics do not automatically create a new way to play. The question I care about is whether AI can change what happens between the player and the game. Gaming spent decades improving the surface. More polygons, bigger maps, faster networks, and production budgets large enough to fund a small country. The actual relationship between player and game barely moved. We still press buttons while software follows rules written months ago. AI agents finally have a chance to change that relationship. Something inside the game can understand what is happening, make a plan, adapt, and coordinate while you play. I do not want AI to play games instead of us. That sounds boring. I want to build games that can actually play with us. Originally published on Johannes Cortez’s site.

GamesIA
Interesse
dev.to

LopeBase: The Meta-Tool for Managing the Side Project Graveyard

LopeBase: The Meta-Tool for Managing the Side Project Graveyard Why It Matters Most developers experience a specific type of burnout known as "dashboard fatigue." You have a SaaS product, a personal blog, and maybe a utility library, and you’re expected to monitor uptime, manage deployments, and curate content across three different interfaces that don’t speak to each other. LopeBase, shared on Hacker News, attempts to solve this by acting as a unified orchestrator for these disparate systems. It isn't just another monitoring tool; it’s a harness that tries to bridge the gap between infrastructure health and content automation. The core value here isn't the monitoring itself—there are plenty of Pings or Uptime Kuma clones for that. The value lies in the "automation of content" aspect. When your SaaS project is stable, your side project’s marketing engine should be able to fire. By connecting multiple projects through a shared admin layer, it reduces the cognitive load of context switching. For the solo builder, every minute spent toggling browser tabs is a minute not spent coding. My Take I’m skeptical of any tool that promises to automate "content" without specifying exactly what that means, but the architectural pattern is sound. As an engineer, I prefer tools that treat my projects as a portfolio rather than isolated silos. If LopeBase can successfully abstract the API endpoints of my various SaaS tools into a single control plane, it solves a genuine friction point. However, the risk is bloat. Adding automation layers on top of other tools often creates a new, more complex tool that needs maintaining. I’d only adopt this if the initial setup cost was lower than the time I currently spend manually coordinating these tasks. For now, it’s an interesting experiment in "tools for building tools," but I’ll be watching to see if the maintenance overhead outweighs the convenience. Source: https://lopebase.com/

DevInfra
Interesse
dev.to

Why the Outbox Pattern, Queue, and Embedding Worker?

The previous post covered why I chose pgvector for semantic search. But there was another question: When should a memory be embedded? At first, it might seem simple: Create memory ▼ Generate embedding ▼ Save embedding But this makes memory creation dependent on the embedding process. If the embedding provider is slow or unavailable, creating a memory could also fail or become slow. I wanted to separate these two operations. The architecture became: Memory Service ▼ PostgreSQL ▼ Outbox Table ▼ Queue / Job Runner ▼ Embedding Worker ▼ pgvector When a user creates a memory, the Memory Service writes the memory and an outbox event in the same database transaction. For example: Transaction ┌─────────────────────────────┐ │ INSERT memory │ │ INSERT outbox event │ └─────────────────────────────┘ The important part is that they succeed or fail together. This avoids a common problem with distributed systems: Memory saved ▼ Embedding event lost The outbox gives me a durable record of the work that needs to happen. The outbox is not the queue itself. It is a reliable bridge between the database transaction and asynchronous processing. A separate process reads pending outbox events and puts jobs onto a queue. Outbox ▼ Queue ▼ Embedding Worker This gives the embedding process some useful properties: asynchronous processing retries independent scaling failure isolation no need to block the memory API The user can save a memory without waiting for the embedding provider. The embedding worker has one main responsibility: turn memory text into an embedding and store it in pgvector. flowchart TD A[Get Memory] --> B[Generate embedding] B --> C[Store Vector] This keeps embedding-specific logic out of the Memory Service's synchronous request path. It also gives me a place to evolve the embedding pipeline later. For example, I could change: embedding models chunking strategy retry behaviour batch processing embedding dimensions without changing the API used to create a memory. There is an

Dev
Interesse
dev.to

Wazuh FIM "not detecting" a changed file usually means it has not looked yet

You add a directory to Wazuh file integrity monitoring, change a file, and nothing happens. On Wazuh 4.14.7 the usual reason is the schedule, not a bug. We measured it on a manager container. The block in the 4.14.7 manager image's default ossec.conf: 43200 yes yes /etc,/usr/bin,/usr/sbin /bin,/sbin,/boot 43200 seconds is 12 hours. No directory has realtime or whodata. So a changed file is reported at the next scheduled scan, up to 12 hours later. Two test directories, one plain and one with realtime="yes", files changed after the first scan: What we did Alert first scan after start, files already present none: the first scan only records a baseline changed a file in the plain directory, default 12 h interval, waited 25 s none same, with 60 rule 550, level 7, mode scheduled, after about 64 s changed a file in the realtime directory rule 550, level 7, mode realtime, within seconds created a new file there rule 554, level 5, mode realtime grep '(6003)' /var/ossec/logs/ossec.log | tail -n 20 # monitored paths and their options grep -E '\(600[89]\)' /var/ossec/logs/ossec.log | tail -n 4 # last scan start (6008) and end (6009) If your path's (6003) line does not end in realtime (or whodata), changes wait for the next scan. If the path is not listed at all, it is not monitored. Real-time on the paths you would actually act on, on the agent or in the group's agent.conf: /etc/nginx,/var/www/app/config After the restart, the (6003) line for that path ends in realtime, followed by (6012): Real-time file integrity monitoring started. Keep real-time to small, meaningful directories: real-time on large or busy trees is how FIM turns into noise. And when you test, wait for the (6009) scan-ended line before changing a file, because changes before the baseline exists are not alerts. Measured on a Wazuh 4.14.7 manager container, with wazuh-syscheckd monitoring its own Linux filesystem; agents use the same module, but we did not run a separate agent. Not measured: whodata, Windows, n

SegurançaInfraDevLinux
Interesse