Painel de Notícias

Tecnologia

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

Filtros
Wired

Spend Elon Musk’s Money

What’s it like to be the richest man in the world? Find out for yourself.

Geral
Interesse
dev.to

Scheduling in High-Mix Low-Volume Manufacturing: Why Rules Break

High-mix low-volume manufacturing scheduling is one of the harder operational problems in industry. ERP scheduling modules are built for repetitive production. Custom rules break under complexity. Here is what AI scheduling actually delivers and what it does not. High-mix low-volume manufacturing — job shops, contract manufacturers, specialty fabricators — has a scheduling problem that standard ERP tools were not designed to solve. When you are producing hundreds of different part numbers in small quantities, with sequence-dependent setup times, shared constrained resources, and customer-specific due dates, the scheduling problem becomes combinatorially complex fast. Rules that work for fifty active jobs fall apart at five hundred. ERP production scheduling modules are built around the assumptions of repetitive manufacturing — standard routings, predictable cycle times, stable demand. HMLV environments violate all of these assumptions regularly. The result: schedulers spend most of their time manually adjusting the ERP schedule, working around its recommendations rather than relying on them. The schedule is a starting point, not an operating plan. Key insight: The scheduling problem in HMLV manufacturing is not that the rules are wrong — it is that the problem is too large and too dynamic for any static rule set to handle well. The complexity requires optimisation, not just sequencing. "The ERP schedule is what we show customers. The actual production sequence is what the floor supervisor decides every morning." Several characteristics of high-mix low-volume environments combine to make scheduling genuinely difficult. Sequence-dependent setup times. On a CNC machining centre or a paint line, the setup time between consecutive jobs depends on which job was run immediately before. Switching from a long part to a short part may require a fixture change that takes two hours; switching between two similar parts may take fifteen minutes. Optimal sequencing minimises total

Geral
Interesse
dev.to

Predictive Maintenance: The Gap Between the Pilot and Production

Predictive maintenance pilots succeed regularly. Production deployments are harder. The difference is usually not the model — it is asset coverage, alert fatigue, maintenance workflow integration, and the trust gap that builds when the first false positives arrive. Predictive maintenance is one of the most piloted AI applications in manufacturing — and one of the most frequently stalled between pilot and production. The concept is straightforward enough: detect patterns in sensor data that precede equipment failure, alert the maintenance team early enough to schedule a planned repair instead of responding to an unplanned breakdown. The ROI case is clear. The pilot usually works. The full deployment frequently does not. Pilots are run on selected assets, with dedicated engineering support, in controlled conditions. Production deployments have to work across the full asset base, integrate with existing maintenance workflows, generate alerts that maintenance planners trust enough to act on, and survive the realities of sensor data quality, shift changes, and competing priorities. The gap between those two environments is where most predictive maintenance programs stall. Key insight: The model is rarely the failure point. Alert fatigue, workflow integration, and the trust gap created by the first wave of false positives are what prevent pilot-proven technology from reaching production scale. "The pilot ran for three months and the model was excellent. Then we deployed it across all forty pumps and maintenance stopped looking at the dashboard within six weeks." Predictive maintenance pilots are usually set up for success. Asset selection is deliberate — engineers choose the assets with the best sensor coverage, the clearest failure history, and the highest maintenance cost. The team running the pilot is engaged and attentive. When the model generates an alert, someone investigates it. When the alert proves correct, it gets documented. When it proves incorrect, the team d

IA
Interesse
dev.to

RelayZero: Offline Edge-AI Semantic Compression for Disaster Mesh Networks

The Problem: When the Grid Goes Dark When catastrophic natural disasters strike, the first thing to collapse is centralized telecommunications. Cell towers lose power, fiber lines are severed, and dialing emergency numbers fails because there is no base station to route the call. In these blackouts, search-and-rescue teams rely on decentralized, sub-GHz mesh radios (like LoRa). These radios are incredible: they run for days on tiny batteries, require no central towers, and their low frequencies punch straight through concrete rubble. But there is a fatal physical bottleneck: bandwidth. Mesh radios transmit at bytes per second, not megabits. If you try to force a standard voice call (thousands of bytes per second) or even a lengthy text paragraph through a mesh network, the frequency chokes, packets drop, and the entire network crashes. What We Built: RelayZero RelayZero is a 100% offline, edge-AI semantic compression protocol. We built it to bridge the gap between human panic and low-bandwidth machine telemetry. Instead of sending messy, paragraph-long emergency dispatches over fragile radio links, RelayZero intercepts the message at the edge. It uses Gemma 4 : E2B to strip away conversational filler, extract the vital triage facts, and compress the dispatch into a dense 25-byte telemetry packet formatted as: PRIO:CRITICAL | LOC:LIBRARY | HAZ:FIRE | CAS:2 | REQ:MEDICS This intelligent edge compression yields an ~88% reduction in data size, allowing life-saving SOS alerts to slip effortlessly through low-power mesh radios. How We Built It We designed a two-node, 100% offline architecture to simulate a disaster deployment zone. To quickly scaffold our Python backends and style our tactical UI interfaces, we leveraged Antigravity. The Field Unit (Laptop A - Edge Transceiver) transmitter.py). Gemma parses the raw input locally, extracting the core variables (Priority, Location, Hazard, Casualties, Requirements) and serializing them into the 25-byte string. The Base Stat

IADev
Interesse
dev.to

Three Clocks Pick Local or Server

A model call should stay local until three clocks agree. Latency, secrets, and offline need are those clocks. A free server wins only inside that narrow overlap. The laptop is a workshop with the lights already on. The network is a ferry with a posted schedule. You board when the cargo is clean and the crossing fits the deadline. Habit is a bad dispatcher for this choice. A fast demo last week does not price today's hop. A free seat does not make a secret safe to move. Latency is the first clock on the desk. Interactive completion dies when the pause outlasts the thought. Batch work can spend more time and still stay useful. Write the budget before you choose a host. A completion loop might allow four hundred milliseconds. A nightly rename can allow several seconds of delay. Measure the hop with a probe you control. Keep the median of five runs from the same network. Discard a blog number that names a different city and hour. # Proposed probe. Point it at a host you operate or trust. for i in 1 2 3 4 5; do curl -o /dev/null -s -w '%{time_total}\n' https://example.invalid/health done Sort those five totals and take the middle value. That middle value is your median round trip. Compare it with the budget you wrote down first. If the median already consumes the budget, the server cannot win. Local execution or a plain deferral is the honest result. Do not average away a failure with a lucky first sample. Cold start is a separate reading on the same clock. The first call often pays a load cost later calls skip. Warm the process once, then record the five interactive samples. Use the warm median for a loop that stays open. Use the cold reading when each task starts a fresh process. Mixing those two numbers produces a policy that lies. Secrets are the second clock on the same desk. A prompt can carry keys, rows, and unreleased diffs. Those fields do not become harmless because a server invoice is zero. Scan the payload before any client opens a socket. A keyword hit is a

IAInfraDev
Interesse
dev.to

AI for Quality Control: What Actually Works on the Line

Vision-based AI inspection is mature for specific defect types on uniform parts. Process parameter correlation is underused. Root cause analysis and real-time process control are different problems requiring different architectures. AI quality control generates significant interest in manufacturing, and for good reason — defect detection, process correlation, and root cause analysis are all problems where machine learning has demonstrated real value. The practical picture is more nuanced than the vendor demonstrations suggest: some applications are mature and deployable today, others require infrastructure and data that most plants do not have, and some are genuinely hard problems that the current generation of models handles inconsistently. Quality teams are often handed AI pilots scoped to the most visually impressive problem — a camera detecting surface defects — without a clear view of whether that problem is the one costing the most money, whether the data to train a reliable model exists, or whether the deployment environment matches the conditions under which the demo worked. The result is a pilot that succeeds in the lab and struggles on the line. Key insight: The right quality AI application depends on where the quality cost actually lives, not which demo is most impressive. Defect detection, process correlation, and root cause analysis require different data, different architectures, and different integration approaches. "The vision model worked perfectly on the samples we sent to the vendor. On the line, it was flagging 40% false positives because the lighting changed between shifts." Camera-based defect detection is the most visible AI quality application and one of the most mature. For the right problem profile, it is genuinely deployable today. It works well when: the product geometry is consistent (same shape, same orientation in the field of view every cycle), the defect types are visually distinct from acceptable variation, the lighting is controlle

IA
Interesse
dev.to

What I Learned After My Instagram Scraper Broke While Vetting Influencers

What I Learned After My Instagram Scraper Broke While Vetting Influencers When I was checking Instagram profiles before paying influencers, my previous approach eventually broke. The problem wasn't the Python code itself—it was the usual scraping problems: requests failing, changes on the platform side, and more maintenance than I wanted for a fairly simple task. I only needed profile data. I didn't need another project maintaining a scraper. So I switched to an API approach with HikerAPI, a REST Instagram API starting at $0.001 per request with 100 free requests. What You Need You need Python, the requests package, and an HikerAPI access key. Install requests if it isn't already installed: pip install requests Then the actual request is only a few lines: import requests headers = {"x-access-key": "YOUR_KEY"} r = requests.get( https://api.hikerapi.com/v2/user/by/username", print(r.json()) The API returns the profile information as JSON, which makes it straightforward to inspect or pass into the rest of a Python workflow. Using the Response Because the response is JSON, I can store it in a variable and access individual fields when needed: import requests headers = {"x-access-key": "YOUR_KEY"} r = requests.get( https://api.hikerapi.com/v2/user/by/username", data = r.json() print("Username:", data.get("username")) The exact fields available depend on the response, so I usually print the JSON first when I'm building a new script. For influencer vetting, this is enough to make profile lookups part of a larger workflow without manually opening every profile and copying information. Why I Prefer This Approach The main lesson for me was that scraping and using an API solve different problems: scraping means maintaining the collection mechanism yourself, while an API gives me a defined interface for requesting the data. For a small marketing workflow, that trade-off is useful. I can keep the Python code short, make requests when I actually need them, and spend less time deb

Dev
Interesse
dev.to

Stop describing UI to your AI agent in words. Point at it.

I asked my agent to move a price tag 8 px down. It edited the wrong : the one in the desktop layout, three components away from the one I was looking at. I rebuilt, looked, described it again — "no, the small grey one under the title, in the card, on mobile" — and lost another five minutes. Coding agents can read your whole codebase. They still can't see which pixel you mean. So I built layout-debug-mcp: a local window over your running UI where you click the element, drag it where you want it, and send that to your agent together with the element's file:line, box, parents and the measured delta. It works with any MCP client (Claude Code, Cursor, Codex CLI, VS Code Copilot, Gemini CLI, Claude Desktop, Zed) and installs with one line: { "command": "npx", "args": ["-y", "layout-debug-mcp"] } A typical UI fix with an agent goes like this: Take a screenshot, maybe circle the button. Describe it: "the secondary button in the footer of the pricing card". The agent greps, picks a candidate, edits it. Rebuild, look, it's the wrong one or the wrong amount. Go to 2. Two things are lost in step 2. Identity: words don't map to one node in the tree, especially with repeated components, responsive variants and wrappers. Quantity: "a bit lower" isn't a number, and the agent can't measure your screen. The fix for both is the same: stop translating. Let the human point at the real node and show the change, and let the tool turn that into data the agent can act on. You tell your agent one sentence: Open the layout-debug window and listen for my edits. The agent calls the open_window tool. A local server starts on 127.0.0.1, a window opens in your browser with your dev page inside (or a bundled demo page until you set your own URL). Hold Alt and the tightest box under the cursor lights up. Alt+click selects it. Breadcrumbs go up to parents, "Details" lists children. It works on wrappers and layout containers, not only on accessible nodes, because the selection is about layout, not sem

IADev
Interesse
dev.to

The Machine Data You're Collecting but Not Using

Most modern plants log process parameters every second, store years of it in historians, and act on almost none of it. The gap is not data collection — it is the connection between what is stored and a decision someone can act on. Most modern manufacturing plants are already data-rich. PLCs log process parameters every few seconds. SCADA systems aggregate them. Historians — OSIsoft PI, Wonderware, Ignition — store years of it. Maintenance systems have every work order and failure event. Quality systems have inspection records going back a decade. By any measure, these plants have more data than they know what to do with. Most of it sits unread. The gap is not collection. It is the connection between what is collected and the decisions that get made on the floor. A maintenance engineer learns a pump is failing when it trips a breaker or starts making noise — not because a pattern in the vibration data flagged it three weeks earlier. A quality engineer traces a batch failure by pulling historian data after the fact — not by catching the process drift while it was still preventable. The historian has the signal. Nobody built the path from signal to decision. Key insight: The question is rarely whether you have enough data. Plants almost always do. The question is whether there is a working path from the data to a specific operational decision — and for most use cases, that path does not exist yet. "The historian has ten years of operational data. The maintenance team still finds out about failures when the equipment stops running." Plant sensor data supports a large number of potential AI applications, but three are consistently the most mature and the most tractable as starting points. Predictive maintenance is the most discussed. The idea is straightforward: detect patterns in sensor data (vibration, temperature, pressure, current draw) that precede equipment failure and alert maintenance teams early enough to schedule planned repairs rather than emergency ones. The

Infra
Interesse
dev.to

HumanEval Passes. Production Burns. The Real Story of AI Code Generation in the Vibe Coding Era

GPT-4 scores 87% on HumanEval. Claude solves competitive programming problems. Yet engineering teams are merging regressions, leaking secrets, and shipping logic bugs they did not write. What the benchmarks are measuring and what actually ships are two different things. The benchmark says the model is a brilliant programmer. The pull request says something else entirely. GPT-4 scores 87% on HumanEval. Gemini Ultra and Claude hit similar numbers. Leaderboards keep climbing. Meanwhile, engineering teams are merging regressions they did not write, shipping auth flows with subtle logic errors, and discovering that the AI-generated database query works perfectly on the test fixture and catastrophically on real data. The gap between what benchmarks measure and what production systems require is not a rounding error. It is the central unsolved problem of AI code generation — and the vibe coding era has made it impossible to ignore. HumanEval, the canonical code generation benchmark, tests whether a model can complete a Python function given a docstring. Each problem has a handful of unit tests. Pass the tests, score a point. This is useful for measuring raw code synthesis capability. It is almost entirely disconnected from the challenges that make software engineering hard: understanding existing codebases, maintaining invariants across modules, handling edge cases that do not appear in toy examples, writing code that another person can read and extend, and building systems that stay correct as requirements change. Vibe coding — the practice of describing what you want in natural language and letting an AI write the code — has taken the HumanEval gap and scaled it across the entire software development lifecycle. Key insight: A model that passes HumanEval has demonstrated it can write a correct function in isolation. It has not demonstrated it can build a correct system. The difference between those two things is most of what software engineers actually do. "The benchmark

IADev
Interesse
dev.to

Why Hermes bytecode defeats binary diffing — and how we got a one-line OTA hotfix down to 3.4 KB

Disclosure: I maintain react-native-update, the open-source SDK behind Cresc, an OTA update service for React Native. The benchmark code and data are public, and the technique applies to anyone shipping Hermes bundles. If you ship React Native over-the-air updates, you've probably assumed binary diffing solves the bandwidth problem: compute a bsdiff between the old and new bundle, send the patch, done. With plain JS bundles that's mostly true. With Hermes bytecode it isn't, and the reason is interesting. We measured on real release bundles of a React Native 0.86 app (Hermes HBC v98, with common dependencies like Paper, SVG, Sentry and CameraKit; ~1.5 MB gzipped): Release scenario Full bundle (gzip) Classic bsdiff Hermes-aware diff One-line text change 1,544.6 KB 93.7 KB 3.4 KB (28× smaller) Small feature (+1 component, ~60 LOC) 1,555.8 KB 411.6 KB 50.2 KB (8.2× smaller) Medium feature (+2 screens, ~300 LOC) 1,604.7 KB 551.6 KB 97.8 KB (5.6× smaller) A one-line change producing a 94 KB bsdiff patch is the giveaway: something is amplifying tiny source edits into large binary changes. Hermes stores strings in a table and refers to them by ID throughout the bytecode. On every compile it sorts that table by identifier frequency, so a one-line change perturbs the frequencies and renumbers dozens or hundreds of string IDs. Every instruction that references a shifted ID changes too. Result: two builds that differ by one line of JS end up differing in bytes all over the file. A generic diff algorithm sees thousands of scattered edits. Fix: Hermes has a delta mode (hermesc -base-bytecode= ). Compiling every release against the root bytecode of its version chain pins existing string IDs in place, so only code that actually changed shows up in the diff. Hermes embeds debug info in the bytecode by default. Compiling with -output-source-map moves it into an external .map, which shrinks the bytecode by about 21% before any diffing happens. You keep the map for symbolicating crashe

DevMobile
Interesse
dev.to

GlamSync

GlamSync What if your laptop camera could do more than just show you your reflection? We built GlamSync AI, a personal beauty styling coach that combines Gemma 4, OpenCV, and real-time AR to help users understand what makeup and styling choices actually suit them. Choosing makeup that works with your individual face, skin undertone, and outfit can be surprisingly difficult. Most beauty applications either provide static filters or generic recommendations. They may tell you what to use, but they don't understand your facial features or show you how to apply it. We wanted to bridge that gap. GlamSync AI creates a personalized styling pipeline: Outfit → Facial Analysis → AI Recommendation → AR Application Guidance We use OpenCV and K-Means clustering to extract dominant colors from an outfit and understand its palette. OpenCV YuNet analyzes facial geometry while CIELAB-based ITA colorimetry and skin segmentation help estimate skin tone and undertone. The user's facial profile, outfit colors, occasion, budget, and available products are passed to Gemma 4, which generates personalized styling looks and step-by-step recommendations. This is where GlamSync goes beyond a normal recommendation system. Using MediaPipe's 468-point Face Mesh, our AR mirror tracks facial landmarks and overlays guidance for areas such as the cheeks, eyelids, eyeliner, and lips. The user can follow the guidance while applying their makeup, with voice instructions for a hands-free experience. We wanted AI to be an actual part of the product rather than simply adding a chatbot. Our pipeline combines open/open-weight AI and local computer vision components so that facial analysis and personalization are tightly integrated into the application. This also gives us the flexibility to experiment with different models and reduce dependence on a single closed AI provider. React + TypeScript + Vite FastAPI + Python Gemma 4 Multimodal OpenCV + YuNet MediaPipe Face Mesh NumPy CIELAB / ITA color analysis Googl

IADev
Interesse
dev.to

Runpod: My Experience Using On-Demand GPUs to Serve Open-Source AI Models

Runpod is basically a cloud platform for AI and ML work. What makes it unique is GPU compute on-demand - like Uber for GPUs. Pay only for what you use, without owning or managing infrastructure. Runpod is basically a cloud platform for AI and ML work. Now, I know what you're thinking — there are already a lot of such platforms. So, why Runpod? What problem does it solve? The high cost of GPUs like NVIDIA A100s and H100s, managing GPU infrastructure, and the additional budget and expertise needed to configure and scale them are major challenges companies face today. Key insight: Runpod's unique selling point is 'GPU compute on-demand.' It lets users, developers, or companies access powerful GPUs without needing to own or manage them. "Think of it like Uber. I don't need to own a car or maintain it. I don't need to rent it for days or months. I can just get an Uber, go to my destination, and pay only for that ride. That's exactly what Runpod does — pay as you go." When working with AI models, companies typically encounter several significant challenges: • The high cost of GPUs like NVIDIA A100s and H100s These barriers often prevent smaller companies and individual developers from accessing the compute power they need for AI workloads. Runpod addresses these challenges by providing: • Pay-as-you-go (serverless) compute The platform essentially democratizes access to high-end GPU resources, making them available to anyone who needs them without the traditional barriers to entry. We were working on a specific, not-so-mainstream open-source model and ran into issues like cold starts and late responses. For example, we started with Amazon Bedrock. They provide both Converse API and Invoke API for many models. The problem? Sometimes a model only has Invoke API support. For our model, Converse API wasn't available. We had to rely on Invoke API, which behaves more like a text generation endpoint — it gives a full response instead of streaming tokens. Not great for chat-based

IAInfra
Interesse
Rock Paper Shotgun

Star Wars Galactic Racer will soon welcome larger podracing parties, with multiplayer group size limits set to double in a future update

I've admittedly not delved into any multiplayer action in Star Wars: Galactic Racer since the gates to its racetracks were opened to the masses early this week. Look, I needed a quick breather after ramjetting my way through 40 or so hours of it for review. It looks like I might have to try and convince my colleagues to hop on for an RPS Boonta Eve classic soon though, as devs Fuse Games have already announced plans to up multiplayer party sizes so you can invite six mates along instead of three. Read more

Games
Interesse
Hacker News

OLED burn-in test: 30-month update

Article URL: https://www.techspot.com/article/3178-oled-burn-in-test/ Comments URL: https://news.ycombinator.com/item?id=50004115 Points: 54 # Comments: 34

Mobile
Interesse
dev.to

Move the First Agent Run Off Your Laptop Clone

Do not let your first agent edit land in the laptop clone. Run that first session on a remote sandbox instead. Bring back one reviewed patch after the checks pass. You joined this repository with a thin map of its risks. A coding agent can still draft a small change for you. That speed is not a safe first pull request. Keep the default branch untouched during this first hour. Explain every changed line before you request review. Treat the steps below as a proposal you must adapt. Write a one-page brief before you open an agent chat. The brief is the only contract for this hour. If the brief feels vague, do not start the session. Lock five facts in that brief before you type a prompt. Name the ticket and the one behavior you will change. Also name allowed paths, the CI test command, and the base SHA. Do not ask the agent to invent those facts for you. You write them from the repository and the ticket. The agent may work only inside that written fence. Your first commands should only read local repository state. They should not create an agent branch on this clone. Save the default-branch SHA where you can find it later. git fetch origin git status --short git rev-parse --abbrev-ref HEAD git rev-parse origin/main git log -1 --oneline origin/main Write that SHA into a note outside the work tree. If this repository uses master, record that name instead. This note is your return point if the session goes wide. git rev-parse origin/main > "$HOME/hour-one-base.txt" Do not commit that personal note into the repository. Do not push it to the remote by mistake either. It is a personal checkpoint, not a project file. Confirm the work tree is clean before you continue. A dirty clone will mix your scraps with the agent patch. Stash or drop those scraps before you record the base. You need a place the agent can edit without touching your clone. A free server can be that place when the offer includes one. A local virtual machine remains a valid substitute here. Disclosure: This ar

IADev
Interesse
dev.to

BugLens

Many bug reports in open-source projects arrive as a screenshot and one line of text. Before anyone can fix them, a maintainer has to rewrite the report in the project's issue format and work out which file is responsible, and new contributors often get stuck at that step. BugLens takes a public GitHub repository, a screenshot of the bug and one sentence. It returns: An issue draft that follows the repository's own issue template and uses only its real labels. Details nobody stated are marked [please confirm] instead of being invented. The top suspected files, each with a reason, a confidence value and the code excerpt that search matched, linked to the exact lines. A plain-language brief for a first-time contributor. Similar existing issues, so duplicates are noticed before filing. Gemma 4 reads the screenshot, ranks the candidate files and writes the draft. Code search runs locally with an open-source embedding model and combines three signals: meaning, exact on-screen text, and file names seen in stack traces. The model can only choose among files that search found, so it cannot make up a path. In our demo on a real, already-fixed bug from the File Browser project, BugLens ranked first the one file that the maintainers' fix changed, out of 353 files. BugLens finds likely files. It does not fix the bug, and its output is a suggestion to verify before filing.

IADev
Interesse
dev.to

Quovex Blocks: A Post Grid, Featured Posts and Announcement Bar Built on the Interactivity API

Most WordPress sites end up needing the same few things: a grid of recent posts, a featured section on the homepage, and a banner for announcements. The usual answer is a page builder or a stack of separate plugins, each bringing its own UI and its own frontend scripts. Quovex Blocks is a free WordPress plugin that does all three as native Gutenberg blocks, with the frontend interactivity running on the WordPress Interactivity API instead of jQuery. Here's a quick demo: The three blocks Query Grid A filterable, paginated grid that works with any public post type: Posts, Pages, WooCommerce products or your own custom post types. Grid, List, Masonry and Carousel layouts Search bar and taxonomy filter pills (multi-select within a taxonomy), optionally in a left or right sidebar Numbered pagination or a "Load more" button, plus a "Show all posts" toggle Responsive column counts, plus color and typography controls that use your theme's fonts A magazine-style section for up to three posts. Magazine, Split, Overlay and Two-Thirds/One-Third layouts Automatic mode (latest posts, optionally filtered by taxonomy) or manual mode (hand-pick a post for each slot) Image hotspots: pins you place on a post's image, each opening a popover with its own title, text and link A dismissible announcement bar or inline alert. Announcement, Info, Success and Warning presets, with five style variations Emoji, dashicon or SVG icon picker, and an optional call-to-action button Dismissal is remembered in the visitor's browser, so a closed banner stays hidden on their next visit Query Grid and Content Showcase are dynamic blocks rendered in PHP through render.php, so the first paint is plain server-rendered HTML. Frontend behavior (search, filters, pagination, the carousel and hotspots) is attached with the Interactivity API through a viewScriptModule, so it ships as a script module and no jQuery or other framework is loaded. Here's the relevant part of Query Grid's block.json: { "apiVersion": 3,

Dev
Interesse
dev.to

Refuse the Round You Have Not Sent

You do not control spend when the invoice shows up. You control it in the quiet second before the next model round leaves your process. A meter that has not moved is not permission to widen the loop. If that lane is free, the round still costs time, context, and the tool you are about to fire. Picture a kitchen that has already called the next plate. The check in your hand describes the last plate, not the one on the grill. An agent run behaves the same way. The person typed one message. Behind it sits a chain of rounds: prompt, completion, tool result, prompt again. That chain is the unit you should fence. A user turn is a poor proxy, because one turn can hide several model calls, and the later prompt is carrying tool text it did not start with. The round tends to get heavier, not lighter. You feel this when a short lookup starts pasting file bodies back into the prompt, and the next answer is mostly a recap of what the tool just returned. The mistake is to treat a quiet meter as slack. Free model access feels like an empty pan, so you add another tool call, then another, because the dollar field stayed at zero. Free capacity is the wrong bet when the thing you are buying with it is a wider loop. Your caller still waits. Your tools still run. When the run starts, write down a ceiling in tokens and in milliseconds. After each completed round, keep the observation: prompt tokens, completion tokens, elapsed milliseconds, and the size of any tool payload you are about to attach. Before you send the next round, project it from the last observation plus that payload, and add the projection to what you have already spent. If the sum crosses the ceiling, return the partial result. Do not send the call and hope the other side is gentle. The module below is a proposal you can run on your own machine. It is not a provider client, and it is not a bill. This article does not include a live model run. Token fields are observations you pass in. The byte divisor is a stand-in for

IADev
Interesse
BleepingComputer

Owner of Empire cybercrime market gets 40 years in prison

The co-creator of Empire Market, one of the largest dark web marketplaces before its shutdown, has been sentenced to 40 years in prison for facilitating $430 million in illegal transactions from 2018 to 2020. [...]

Segurança
Interesse
dev.to

AI “What Went Wrong?” — An Incident Detective Using Gemma 4 and Laya

What if an AI system could look at an incident scene, identify the visible evidence, suggest what might have happened, and then evaluate those possible explanations based on the evidence? That is the idea behind our hackathon project, AI “What Went Wrong?” — Incident Detective, built by **Team Tech Fusion. Our system takes two inputs: An image of an incident scene A short description or context about the incident For example, the user could upload an image of a messy laboratory workspace and provide context such as: “This incident happened in an electronics laboratory.” The system then performs the analysis in two stages. We use Gemma 4's multimodal capabilities to analyze the uploaded image together with the provided context. Gemma extracts: Visible objects Visible conditions Evidence Possible explanations Uncertainties The explanations are treated as hypotheses, not confirmed facts. For example, Gemma might identify: Stains on a work surface A bottle lying near the stained area Protective gloves Residue on containers and suggest possible explanations such as: Accidental spill Routine laboratory activity Material handling issue The output is returned as structured JSON so that it can be passed directly to the next stage. The structured output generated by Gemma is then passed to Laya, an open-source decision engine. Laya evaluates the possible explanations against the evidence identified by Gemma and produces a confidence score for each hypothesis. The dashboard then displays the explanations as cards, with the highest-confidence explanation highlighted as the most likely explanation. The goal is not to claim certainty, but to make the reasoning process transparent: Gemma sees → Evidence is extracted → Laya evaluates → Explanations are ranked text Hypotheses Uncertainties │ ▼ Laya │ ▼ Ranked Explanations Confidence Scores │ ▼ React Dashboard Gemma 4 — multimodal incident scene analysis Laya — evidence-based hypothesis evaluation Python — AI/backend implementation F

IA
Interesse
dev.to

Introducing WasteConnect — AI-Powered Recycling Marketplace

Introducing WasteConnect — AI-Powered Recycling Marketplace We built WasteConnect, an intelligent recycling marketplace that connects waste generators with suitable recyclers using AI-powered waste understanding, semantic matching, and competitive bidding. What does WasteConnect do? WasteConnect turns the process of selling recyclable waste into an intelligent marketplace. AI Waste Identification Automatic Listing Creation Intelligent Recycler Matching The system identifies recyclers who can actually handle the material. Semantic embeddings + pgvector** match the waste with recycler capabilities even when different terminology is used. Smart Eligibility Filtering Deterministic algorithms check important constraints such as material compatibility, service radius, recycler verification, and safety authorization. Competitive Bidding AI-Powered Bid Analysis price, distance, pickup convenience, reliability, and risk, helping the user understand which option provides the best overall value. Recycler AI Copilot** Recyclers can interact with the platform using natural language to discover relevant waste listings and identify promising opportunities. Trust & Dispute Intelligence** Transaction history and quantity discrepancies can be analyzed to identify potential issues and assist in resolving disputes. How we built it The core idea was to give each component the responsibility it is best suited for: Gemma 4 + Ollama** → vision, reasoning, extraction, reranking and bid analysis 🔎 Sentence Transformers → semantic embeddings 🗄️ PostgreSQL + pgvector → semantic recycler search ⚙️ FastAPI + Python → backend and APIs 💻 Next.js + React + Tailwind CSS → frontend 🐳 Docker → development and deployment 📐 Deterministic algorithms → distance, filtering, validation and business rules WasteConnect is not simply an "upload → ask AI → get an answer" application. It combines: Multimodal AI + Semantic Search + Vector Database + Deterministic Algorithms + Competitive Marketplace + AI Dec

IADev
Interesse
dev.to

Nutrilens

What We Built : NutriLens is an open-source, edge-first multimodal AI agent that audits packaged food labels in real time. Powered by Google's Gemma 4 model and built strictly according to the Agent Skill Open Standard (agentskills.io), NutriLens reads nutrition panels, verifies packaging claims, identifies hidden glycemic sweeteners, and computes an automated Claim Integrity Score (0–100). Unlike generic food-scanning apps, NutriLens combines multimodal vision perception with deterministic Python verification, ensuring that math and regulatory checks are 100% accurate without relying on LLM arithmetic. How We Built It : ┌─────────────────────────────────────────────────────────┐ Technologies & Tools Used : AI & Multimodal Intelligence: Gemma 4 (via Google Gemini API & local Ollama weights) Agent Framework: Agent Skill Open Standard (agentskills.io) Backend API: FastAPI & Uvicorn Frontend UI: Streamlit Local Hardware Optimization: NVIDIA RTX 3050 (6GB VRAM) running quantized weights Quality Assurance & Testing: Pytest & GitHub Actions CI/CD License: Apache License 2.0 youtube link https://youtu.be/PngWvji0x_Q github https://github.com/venky829/hacktoberfest-hack-day-coimbatore-x-init-club-and-idea-club/tree/main#open-source-and-ai-usage

IADev
Interesse
dev.to

HACKTOBER FEST

We built CampusWatch this Hacktoberfest: a 3D campus energy monitor that spots devices left on in empty rooms, catches sudden power spikes, and alerts the person responsible. If the alert is ignored, it escalates to the warden. ⚡ An open-weight AI (Qwen2.5-7B) runs fully offline to write and explain every alert, so room-level data stays on campus. The project runs on synthetic data today and is designed to switch to real room sensors next. Open source on GitHub.

IA
Interesse
dev.to

3 Days to Build, 14 Days to Debug: The 14 Bugs I Fixed in My Vibe-Coded Game (Google Play Closed Testing)

In part 1 I made a game in 3 days with zero coding experience, just by describing it to an AI. I was ready to hit "publish" when Google Play stopped me: a new personal developer account has to run a closed test with at least 12 testers for 14 days before it can launch. Fourteen days. More than four times longer than building the game. Instead of just waiting, I decided to play it every day. And I found out that without those 14 days, launch would have been a disaster. 3 days to build, 14 days to debug. This is the story of the 14 bugs I fixed, from building through the closed test to after launch. If you created a personal Google Play developer account after November 13, 2023, you have to run a closed test before your app can go to production. Testers: at least 12 people who opted in Duration: those testers stay opted in for 14 days Then: apply for production access from the Play Console dashboard Organization accounts don't have this requirement. I found about 20 testers through test-for-test swaps with other indie developers. A lot of solo developers treat these 14 days as dead time. For me, they were the last chance to catch bugs before launch. I counted the code in the version files still on my computer (translation files excluded). In the first two days I got 16 revisions from the AI, and the code doubled. While turning it into an Android app, about 2,250 lines were added, and the "this used to be a bug" notes in the code went from 8 to 17. From the first version to the latest, about 10,900 lines were added. That includes new features like Survival mode and Play with friends, not just bug fixes. I didn't write a single one of those lines. All I did was play and describe what I saw. The code passed 8,000 lines, and a Claude Pro plan was still enough all the way to launch. If you want to know how many tokens your own code is, paste it into the Claude token counter. At first I just said "find the bug and fix it." The AI would confidently say "Fixed!", but the bug

MobileDevGames
Interesse
dev.to

Pin the Tool Host Before You Spend a Token

Stop spending model quota on chats you cannot rerun. A free model call is not an environment. Pin the tool host first, then spend the tokens. You are not short of demos this month. You are short of proof that another person can rebuild. A transcript from one warm process is a story. Here is the position, stated with no hedge. An agent run counts only when both sides are disposable. The model call must be logged as its own record. The tool host must restart without your personal shell. If either side is "my machine that day," discard the run. Do not cite that run in a pull request. Do not paste it into a contest writeup as proof. This is not a plea for a bigger cluster. This is a plea for a named host and a frozen contract. You can hold that bar on a small server. You cannot hold it with a warm laptop session. A session dies, and the proof dies with it. Developers keep collapsing two products into one sentence. They say the model itself built the feature. The model emitted text, and a host may have acted. Those two failures are not the same failure. A fluent model can still call a missing binary. A healthy host can still receive a broken call. If you grade them as one blob, you learn nothing. You only learn that one afternoon was kind to you. Kind afternoons do not survive a clean reboot. Agent contests reward a screenshot more than a boot log. Vibe-coded side projects reward that same bad habit. The missing artifact is a host you can boot again. Pinned does not mean large, costly, or permanent. Pinned means a stranger can rebuild the tool side. They should not need your shell history to do it. Use this checklist before you spend any quota. Give the host a name that is not your laptop. Keep the tool list in a versioned file. Give each tool a timeout and a real error path. Keep secrets in the host environment, not the transcript. Write a manifest before you write any verdict. Reboot the host and confirm the contract still holds. Miss one item and the run is only a reh

IAInfraDev
Interesse
dev.to

PCSense - an AI technician that proves it fixed your PC before it tells you so

What we built PCSense is a local-first AI technician for Windows 11. Instead of just showing raw diagnoses why your PC is struggling, explains its reasoning in plain language, proposes a fix, simulates the effect before anything changes, asks for approval, and then verifies with a real before/after measurement whether the fix "PCSense never says it fixed something until it has measured it." Built for Hacktoberfest Hack Day 2026 (INIT Club x iDEA Club x MLH) by team YVL. Natural-language request routing via Gemma 4, served locally through Ollama — with a deterministic keyword-baseline fallback if the model is unavailable Multi-factor diagnosis: a primary cause, secondary contributors, and plain-language notes about metrics that are elevated but not actually a problem A what-if simulator that predicts the effect of a fix (e.g. "RAM: 62% → ~41%") before you approve anything A policy-gated safety core with adversarial tests: sandbox confinement, path-traversal and junction/reparse-point rejection, protected-process checks, and plan-hash binding so an approved plan can't be swapped out from under you Reversible cleanup via quarantine (never a direct delete) and a full SQLite audit log A faithfulness checker that verifies every number the AI states against real evidence Battery, GPU (NVIDIA), network, driver inventory, and Windows Event Log ("PC Black Box") telemetry, a hardware upgrade advisor, a simple game-compatibility checker, and workload-mode-aware health scoring A shared, frozen pydantic contracts module so four people could build in parallel against one typed interface from minute one A safety core written test-first and adversarially (junction traps, path traversal, protected paths/processes, plan-hash mismatches) before the real implementation An orchestrator tying router → diagnosis → plan → approval → policy → executor → verify into one event stream a Streamlit UI consumes Real integration work reconciling two tracks' independently-built (and differently shap

IADev
Interesse