Painel de Notícias

Tecnologia

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

Filtros
Hacker News

Last rites for Gentoo's Chromium package

Article URL: https://lwn.net/Articles/1097760/ Comments URL: https://news.ycombinator.com/item?id=50114359 Points: 57 # Comments: 50

LinuxDev
Interesse
Hacker News

Making big downloads resumable in Firefox

Article URL: https://lunarwatcher.codeberg.page/til/firefox/resumable-big-downloads.html Comments URL: https://news.ycombinator.com/item?id=50061791 Points: 91 # Comments: 33

Dev
Interesse
dev.to

AI Got Better While I Was Away. Software Didn't.

I haven't written here in a while. Not because I ran out of opinions. That would be concerning. I just got tired of the endless stream of: AI will replace developers AI will never replace developers this model changes everything this agent changes everything software engineering is dead software engineering has never been more important So I stopped writing for a bit. AI did not. And coming back now, one thing feels pretty obvious: Software didn't. The models are better. Coding agents are better. The amount of code you can generate in an afternoon is honestly ridiculous compared to even a year ago. And yet somehow we still have: overengineered backends seven abstractions around a simple database call dependency hell features nobody asked for microservices solving problems that did not exist teams proudly shipping complexity at machine speed So maybe code generation was never the bottleneck. Maybe we just wanted it to be. Developers love talking about coding as if typing the implementation is where all the value lives. I don't think it is. The hard part has always been deciding: Should this exist? Is this actually the right solution? Are we solving the real problem? Does this need another layer? Could this be deleted instead? AI can give you 600 lines of perfectly respectable-looking code before you've finished your coffee. That doesn't mean those 600 lines should exist. And this is where I think AI makes things slightly dangerous. It removes friction. Which sounds great. But friction sometimes saved us from our own terrible ideas. Before, if you wanted to build an unnecessarily complicated system, you at least had to suffer for it. Now an agent will enthusiastically help you construct the whole disaster. Ask an AI to solve something and it usually wants to be helpful. Very helpful. Suspiciously helpful. You ask for a small feature and suddenly you've got: a service layer repository pattern dependency injection validation abstraction retry logic configuration objects

IADev
Interesse
dev.to

TrailGemma: The Audio-First Nature Companion That Puts Your Phone In Your Pocket

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass Most modern software is deliberately engineered to maximize your screen dwell time. The longer your retinas stay glued to pixels, the more profitable the app becomes. TrailGemma does the exact opposite. I built TrailGemma under a singular design constraint: The best outdoor AI build must make the screen the shortest part of the experience. TrailGemma is an audio-first nature and outdoor trail companion designed for hikers, trail runners, birdwatchers, and anyone suffering from digital fatigue. You spend just 15 seconds interacting with the screen: Select your outdoor vibe (Fall Foliage Drift, Morning Songbird Chorus, Shinrin-Yoku Forest Bath, or Trail Tempo Run). Choose your walk duration (10 to 60 minutes). Tap "Enter Pocket Mode" and slide your phone into your pocket. From that moment on, your phone screen dims into a calm, ambient breathing orb. As you hike, run, or walk, TrailGemma's audio engine delivers: Procedural Ambient Forest Soundscapes: Synthesized canopy wind, rustling autumn leaves, and native bird chirps generated in real-time via the Web Audio API without needing external MP3 downloads. Timed Spoken Audio Checkpoints: Sensory nature guides that prompt you to look up at the tree canopy, smell the pine needle floor, and feel the mountain air. "Touch Grass" Micro-Quests: Tactile challenges at every checkpoint (e.g., "Touch the damp moss on the north side of the bark. Notice how much cooler it feels than the surrounding air."). TrailLens Specimen Scanner: If you spot an interesting leaf, bracket fungus, or bird track, Gemma identifies its taxonomy, foraging safety, ecological role, and observation tips with spoken audio. Live Application (Hosted on Render): https://trailgemma.onrender.com GitHub Repository: https://github.com/khushalkks/TrailGemma Core User Experiences: Pocket Mode (Screen-Off Guide): Locks and dims the screen so you never feel the urge to scroll or c

Mobile
Interesse
dev.to

What I Learned Building and Testing Forex EAs in MQL5

What I Learned Building and Testing Forex EAs in MQL5 I've spent a lot of time working with and testing Expert Advisors (EAs) for MetaTrader 5, and one thing I've learned is that getting an EA to open trades is the easy part. The difficult part is building something that behaves correctly when market conditions change. When developing an EA, I pay attention to things like: Proper entry and exit logic Stop loss and take profit handling Risk and lot-size management Drawdown control Spread and slippage Trade management Breakeven and trailing logic Economic news conditions Making sure the EA doesn't rely on dangerous recovery methods I've also learned that a good backtest doesn't automatically mean a good EA. An EA can look impressive in a short backtest and behave completely differently on a live account because of spreads, execution, slippage and changing market conditions. That's why I prefer to test the actual logic under different market conditions rather than focusing only on the final profit number. For me, EA development is not just about creating something that can trade. It's about creating software that follows its rules consistently and handles unexpected situations properly. I'm currently continuing to work with MQL5 and explore different approaches to automated trading. I'd be interested to hear from other MQL5 developers: What's the biggest lesson you've learned from developing or testing trading algorithms?

Dev
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

Build a Scratch-Exit Checklist for a Free-Model Patch

I wanted one gate before a free model edited code. The budget was zero extra paid services this week. The missing piece was evidence, not another clever prompt. Solo builders still ship a tiny tool the same day. A same-day patch can feel like real progress. Then the diff lands with no rollback note attached. Would you merge a patch that cannot be undone? I would not, yet the shortcut still looks tempting. Speed without an exit is how small tools rot. A free model can draft a small patch today. A free server can host one scratch run tonight. Neither availability claim counts as a production permit. Did you write the exit path before the run started? If not, the job is still only a draft. A draft does not get to touch main. Disclosure: This article was prepared as part of MonkeyCode's product outreach. Two operator-stated options are the only product claims here. Those options are free model access and a free server. I state no token quota, hardware size, uptime, or permanence. The operator also describes MonkeyCode as open source. I will not link a repository I have not verified here. Use the install docs you already trust for setup steps. Re-check those docs on the day you actually run. Terms for a free option can move without a warning. You get one command that fails closed on purpose. Missing evidence returns exit code two every time. A bad marker also returns exit code two. Only a complete pass is allowed to return zero. The time box for this exercise is sixty minutes. The cost box is local files and no paid calls. Abandon the job if scope evidence cannot be shown. Abandon it if rollback or a human ack is missing. Do not delete a red gate just to look green. Start inside a scratch directory, never on main. Ask what would prove this job is still small. If you cannot answer, stop before any model runs. Save this contract in the same folder as the checker. It is a template, not a live audit record. Change the scope line to match your real task. # readiness.yml — tem

DevIA
Interesse
dev.to

Groq returned the same 403 for my real key, a fake key, and no key

I was running a small Node benchmark script against a few hosted LLM APIs from a Windows machine. One provider failed with a bare fetch failed, which at least looked like a network problem. Groq did something more convincing. It answered, with a status code and a JSON body: HTTP 403 {"error":{"message":"Forbidden"}} A 403 from an API that has your key reads like "your key is not allowed to do this". Revoked, suspended, wrong project, account flagged. What stopped me from treating it that way was one boring test. If the 403 is about the key, then changing the key should change the answer. So I sent the same request three ways: with my real key with a key I made up (gsk_ plus random characters) with no Authorization header at all All three came back identical: 403, {"error":{"message":"Forbidden"}}. That settles more than it looks like. A server that has actually looked at your credentials cannot give the same verdict to a valid key, a fabricated one and a missing one. Whatever said "Forbidden" made its decision before anyone checked the key. The key was never the problem, so rotating it, regenerating it or emailing support about it would all have been wasted. For contrast, here is the same endpoint today, from a network path that works, with a fake key and then with no key at all: curl -s -w "\n%{http_code}\n" https://api.groq.com/openai/v1/models \ -H "Authorization: Bearer gsk_fake123" curl -s -w "\n%{http_code}\n" https://api.groq.com/openai/v1/models Both return: {"error":{"message":"Invalid API Key","type":"invalid_request_error","code":"invalid_api_key"}} 401 Two differences from the 403, and either one is enough to tell them apart: The status. A missing or wrong key gets 401. A 403 for a request that carried no credentials at all doesn't mean "this key lacks permission", because there was no key to judge. The body shape. The real auth error has type and code fields, the same shape as the API's other errors. The 403 body had only message. When an error doesn't

IAInfraDev
Interesse
Hacker News

Rust Port of TypeScript (Tsc)

Article URL: https://github.com/pingdotgg/ts-rust Comments URL: https://news.ycombinator.com/item?id=50000676 Points: 19 # Comments: 9

Dev
Interesse
dev.to

Cross-Modal Knowledge Distillation for autonomous urban air mobility routing under multi-jurisdictional compliance

Cross-Modal Knowledge Distillation for autonomous urban air mobility routing under multi-jurisdictional compliance Introduction: A Lesson from a Foggy Morning Last spring, I found myself staring at a LiDAR point cloud of a downtown corridor rendered on one monitor, and a noisy ADS-B telemetry stream on another. I was trying to make a small autonomous drone agent reason about where it was allowed to fly, not just where it could fly. The problem wasn't perception. The problem wasn't control. The problem was that the "rules of the road" for urban air mobility (UAM) live in a completely different modality than the sensor data — they live in legal text, geofencing polygons, altitude caps, noise ordinances, and jurisdiction-specific restrictions. My agent could see the world beautifully and understand almost none of its legal obligations. That morning triggered a rabbit hole that consumed several months of my research: how do you train a compact, real-time routing policy that fuses rich multi-modal perception (LiDAR, camera, radar, ADS-B) with dense, symbolic regulatory constraints that change the moment you cross a city or national boundary? The answer I converged on — and the subject of this article — is Cross-Modal Knowledge Distillation (CMKD). While exploring the intersection of distillation and multi-jurisdictional compliance, I realized that the hardest part of autonomous UAM isn't flying. It's flying legally, everywhere, all at once. This article walks through what I learned building a prototype CMKD pipeline, the architecture that emerged, the code that made it work, and the surprising failure modes I hit when regulations and perception disagreed. Urban air mobility vehicles — eVTOL air taxis, delivery drones, medical logistics craft — operate in a space that is simultaneously physical and legal. The physical space is captured by sensors: point clouds, images, RF signals. The legal space is captured by text: FAA Part 107, EASA SC-VTOL, local noise abatement zones

IA
Interesse
dev.to

Extending PcDevice Search: Regex Limits and Invoice Fields Integration

Extending PcDevice Search: Regex Limits and Invoice Fields Integration TL;DR: I tightened the collaborator‑number regex to accept only 3‑6 digits and added invoiceNumber / purchaseOrder fields to the PcDevice model, making them searchable and visible in the device detail sheet. The changes touch the Prisma schema, the global search logic, the device store hook, and the UI component that renders device details. The internal inventory tool (pcview) allowed users to search for collaborator numbers without any length restriction. This caused false positives when a user typed a long numeric string (e.g., a ticket ID) that matched the loose /^\d{3,}$/ pattern. Additionally, the product team requested that purchase information—invoiceNumber (factura) and purchaseOrder (ODC)—be stored on each PcDevice and be searchable, but the schema and UI did not expose these fields. Symptoms: Searching “1234567” (7 digits) returned collaborator results even though collaborator numbers are max 6 digits. No way to query devices by invoice or purchase order. The device detail sheet never displayed purchase metadata, forcing users to cross‑reference external spreadsheets. My first instinct was to add a front‑end length check inside GlobalSearch.tsx before invoking the regex. I wrote: if (q.length > 6 && isCollaboratorNumber(q)) return; But this introduced a race condition: the check ran after the regex, still allowing the long string to be processed and logged as an error in the backend. Moreover, it didn’t solve the core issue—the regex itself was too permissive—and it duplicated validation logic across the UI. For the invoice fields, I attempted a quick schema migration by adding raw SQL columns directly in the migration script, bypassing Prisma. That worked for the DB, but the TypeScript types in the codebase remained unaware of the new columns, causing compile‑time errors in use-devices-store.ts and DeviceDetailSheet.tsx. Both approaches failed to be maintainable or type‑safe, so I reve

Dev
Interesse
dev.to

Google Nano Banana 2.1 Brings GA Image Generation and Editing to Gemini

Google has made Gemini Nano Banana 2.1 generally available as an image generation and editing model on the Gemini Enterprise Agent Platform. The model is designed to balance price and performance while supporting image-and-text workflows, content credentials, and output resolutions up to 4K. For teams producing marketing assets, product visuals, or content variations, the release matters because it formalizes another Google image model option with documented limits and pay-as-you-go availability. According to Google Cloud's Nano Banana 2.1 model documentation, the model ID is gemini-nano-banana-2.1, its launch stage is GA, and its release date is October 6, 2026. Google lists the model as globally available and provisioned through the Gemini Enterprise Agent Platform. The important distinction is that Nano Banana 2.1 is not only a text-to-image model. Google documents both image generation and image editing, allowing a workflow to begin with a prompt or use images as part of the input. That can make the model relevant where teams need to create new assets and adapt existing ones, rather than treating image generation as a one-step creative task. Google positions Nano Banana 2.1 for multimodal image work. Its documented capabilities include interleaved text and images, which means prompts can combine written instructions with image inputs. The documentation also lists content credentials, image generation and editing, plus support for image-related prompting that can handle 2D and 3D-like concepts. For practical content operations, these capabilities could support tasks such as: Producing visual concepts from written campaign briefs. Creating alternate versions of product or promotional imagery from supplied images and instructions. Adapting the composition, aspect ratio, or resolution of visual assets for different channels. Building image steps into broader content-production processes that already use text prompts and source files. These are potential applications

IA
Interesse
dev.to

My desktop became a Proxmox home server

The desktop I wasn't using now runs storage, container services, a deployment manager and a Windows environment. Proxmox gives those jobs separate virtual machines on the same physical computer. My MacBook had already taken over everyday use, leaving the desktop available to become a more capable server. That is the useful change for me: more compute to run things, while the laptop remains the computer I sit down with. Getting there was annoying, and the separate VMs still share some important dependencies. The primary machine is an i7-9700K. Around 40 TB is available through OpenMediaVault, and October's usable-memory reading is consistent with the 64 GB specification recorded in July. Those checks describe the current machine, not exactly what was attached during the move. OpenMediaVault has its own VM. A Docker guest runs services including Plex and Home Assistant, while Komodo runs in a separate guest to manage container deployments. Windows has another VM. A second Proxmox host runs a Docker guest with the alternate Pi-hole. Current layout, checked on 6 October 2026. The boxes are separate VMs; the four guests in the upper group still share one physical host. The grouping matters. Four guests on the primary host still depend on that physical machine. The media services also depend on the storage OpenMediaVault supplies. Splitting the jobs into VMs does not remove those shared dependencies. My earlier server was an old i5 running OpenMediaVault, and I used it all the time. Transferring its role to the spare desktop took a day or two. Services went down, DNS broke, and I had to move things across slowly. There was a configuration I hadn't saved properly before wiping a drive. I cannot remember which one, so I can't give that mistake a more useful name now. I had to recreate it manually. “Ah damn it, lost that.” It was a huge pain, but it wasn't the end of the world and it ended up fine. I spun up a Windows VM at one point to do something, which was nice. It gave

InfraLinux
Interesse
dev.to

Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass

NatureLens — An AI Companion for the Outdoors I wanted to build something where AI doesn't ask people to spend more time looking at a screen. We already use our phones for almost everything. Even when we go for a walk, hiking, or simply sit in a garden, it is easy to end up looking at the phone instead of looking around us. So I thought: what if AI could do the opposite? That idea led me to NatureLens. NatureLens is a simple AI tool that helps people understand what they see outdoors. For the first version, I focused on something simple and practical: identifying birds from photos. Imagine you're walking through a park and see a bird you've never seen before. You take a photo with NatureLens, and the local AI analyzes it and tells you what it might be, along with a few useful facts. For example: This looks like an Indian Roller. Now look around and see if you can spot it. And that's where I want the interaction to end. I don't want the user to keep scrolling through an AI-generated page. Get the information. Put the phone down. And Just Look at the bird. While thinking about the project, one thing felt important to me: nature doesn't always have an internet connection. You might be on a hiking trail, in a forest, in a village, or simply somewhere with poor network coverage. So instead of building another application that sends everything to a cloud AI service, I wanted the AI to be able to come with you. The first version uses an open-weight AI model that runs locally. This means the basic identification can happen on the device without depending on an internet connection. That also means the user's photo doesn't have to leave the device just to get an answer. Who is it for? I built the idea for anyone who is curious about the world around them: Someone who notices a bird during their morning walk. A family exploring a park with their children. Someone hiking without a reliable network. A student trying to learn about nature. Or simply someone who sees something int

IAMobile
Interesse
dev.to

"What Happens After an x402 Payment?"

x402 solved a real problem: how does software pay? An AI agent needs an API result, the API responds with HTTP 402 (Payment Required), the agent pays in crypto, the API delivers. But x402 answers the payment question, not the economics question. After the USDC lands, someone has to decide: who deserves this money, and why? Here is what x402 gives you: Agent requests a resource Server responds: 402, pay $0.05 USDC to this address Agent pays on-chain Server verifies the transaction Server delivers the resource Clean. But now the $0.05 is sitting in a wallet. Who gets it? The API developer who built the endpoint? The data provider whose dataset powers it? The model provider whose weights it runs on? The platform that hosts the marketplace? The referrer who brought the agent customer? x402 does not answer this. It is a payment rail. Payment rails move money. They do not adjudicate economic claims. This is not a criticism of x402. It is the same gap that exists after every Stripe charge, every bank transfer, every crypto payment. The rail knows the amount and the destination wallet. It does not know the agreement, the revenue share, the recoupment schedule, or the waterfall. "What happens economically after it pays?" is the question behind every revenue-sharing arrangement in machine commerce: API marketplaces: developer sets a price, platform takes a cut, data contributors get royalties. Who calculates the split? AI agent economies: an agent earns USDC for completing tasks. The agent framework, the model provider, and the task requester all have economic claims. Who adjudicates? Data marketplaces: a dataset is licensed per-query via x402. Multiple contributors own pieces of the dataset. Who tracks attribution? Usage-based APIs: per-token or per-call billing with revenue shared among infrastructure providers, model developers, and application builders. In each case, the payment is the easy part. The economics are the hard part. And the economics are stateful: recoupment

IA
Interesse
MIT Tech Review

Bringing predictive analytics to the agentic AI era

In 2026, the question for enterprise AI is no longer whether predictive models can outperform statistical forecasts—that argument is settled. The big question now is how to enable predictive systems to act on their own conclusions without drifting from business intent. The frontier has moved from prediction to autonomous decision making, and the gap between…

IA
Interesse