Painel de Notícias

Tecnologia

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

Filtros
dev.to

Getting Google Flights prices into a spreadsheet

Google Flights is the best flight search there is, and it has no public API. Google shut down the old QPX Express I built a scraper for the second option, using the same Google Travel data I already used for a hotel price tool. When I looked at what people ask for, it boiled down to three jobs: Every flight for a route and date, with price, airline, times, stops and layovers. Basically the results page as a table. The cheapest day to fly. Google's date grid shows a price for each departure date. That's the most useful view for anyone flexible on dates, and it's one request for about two months of prices. Alerts. Run it every day and only hear about flights whose price changed. City names and multi-airport cities. People type "New York", "NYC" or "JFK,EWR", not airport codes. Google's own Prices were the same everywhere I tested. I expected the country and IP to change fares, like hotel prices do. Google refuses a fair share of requests. Roughly a quarter to a third of connections get refused for flight Layovers are where the detail is. The interesting fields aren't the price, they're the layovers: which airport, Disclosure: this is my Google Flights Scraper on Apify. You can run Every flight from New York to London, cheapest first: { "origin": "JFK,EWR", "destination": "LHR", "departureDate": "+45", "sortBy": "price", "maxResults": 50 } Cheapest day to fly over the next two months, round trip with a 7-day stay: { "mode": "calendar", "origin": "BER", "destination": "BCN", "departureDate": "+7", "returnDate": "+14", "calendarDays": 60 } Price alerts on a schedule: { "origin": "WAW", "destination": "LIS", "departureDate": "+40", "returnDate": "+47", "onlyNewSinceLastRun": true, "monitorName": "waw-lis" } It costs $0.50 per 1,000 flights on Apify's free plan ($0.25 on bigger plans) and $0.20 per 1,000 calendar dates. A If you need hotels for the same trip, there's a Google Hotels scraper built on the same data.

Dev
Interesse
dev.to

73,811 reachable PRTG instances: what exposure data does and does not prove

73,811 reachable PRTG instances: what exposure data does and does not prove Vulnerability overview Two PRTG issues were fixed in version 26.2.120.1449 and republished by CERT-Bund as WID-SEC-2026-3565: CVE-2026-4637, a reflected cross-site scripting flaw in error handling, and CVE-2026-4638, the disclosure of a stored domain password through script sensor output. Both were reported by SEC Consult after a January 2026 review. CVE-2026-4637 reflects an unsanitised URL path into a 403 response and requires a signed-in victim to open a crafted link. CVE-2026-4638 places the value of %windowspassword into a VBScript error that PRTG renders on screen and requires a non-read-only account with sensor creation rights. Neither issue is a remote unauthenticated code execution path on its own; both need a human or a session in the loop. Taken together the pair covers session theft and credential theft against the same class of host. A monitoring server rarely stands alone: it holds credentials for routers, switches, hypervisors, storage and application endpoints. a foothold on a monitoring platform is a foothold on the estate it watches. Affected: self-managed PRTG below 26.2.120.1449. Fixed: 26.2.120.1449, released 2026-06-03; Hosted Monitor upgraded 2026-06-24. Not affected: properly updated instances, and Hosted Monitor tenants after 2026-06-24. A ZoomEye query for the PRTG product fingerprint returned 73,811 assets: Observation Query Count Time Product fingerprint app="PRTG" 73,811 2026-09-25T22:13:15Z CVE index vul.cve="CVE-2026-4637" 0 2026-09-25T22:13:19Z Read those two rows carefully. The first row counts internet-reachable services that match a PRTG fingerprint. The second row counts assets that ZoomEye currently associates with this CVE, and the answer was zero, which means the CVE-indexed view contributes nothing here. Neither row shows which software build answers on a given address, and neither row proves that a specific host carries a vulnerable version. The hones

SegurançaInfra
Interesse
dev.to

Canary tokens are a detection control, and detection controls can be measured

Canary tokens are a detection control, and detection controls can be measured Most breach narratives share a structural problem. The intruder is present for weeks or months, and nobody notices until a third party calls. Detection tooling that fires on anomalous behaviour helps, but it produces volume, and volume requires triage capacity that many teams do not have. Canary tokens run the other way: they generate almost no signal until something specific happens, and when they fire, the signal is usually worth reading. The concept is old. Lance Spitzner described honeytokens in 2003, and Spafford & Kim raised the idea in 1994. What changed is deployment cost. The free generator at canarytokens.org exposes twenty-nine token types behind a browser form, and the implementation is published openly at github.com/thinkst/canarytokens, so an organisation that would rather not depend on a third-party domain can run its own. A canary token is an artefact placed where a legitimate user has no reason to go. It contains a reference to a unique endpoint. When something resolves the DNS name, opens the document, or tries to authenticate with the credential, the endpoint records the event and notifies the operator. The token blocks nothing and inspects no traffic. It answers one question: did something interact with an object it should not have? That narrowness is the whole point. A triggered token is a high-fidelity event, because the expected rate of legitimate interaction sits at approximately zero. A token that never fires tells you one thing: nothing touched that object. File-based tokens are the most common. A Word, Excel or PDF token embeds a remote resource reference, so the loader fetches it when the document is opened. The Thinkst engineering blog describes the same technique applied to video files and makes a broader point: many formats permit a URL fetch, and a signed executable will reach for a certificate revocation list at an embedded URL when it launches. Credential

Segurança
Interesse
dev.to

How Token Snipers and Bundled Wallets Work — and How Anti-Sniper Fair Launches Fight Back

If you've ever bought a new meme coin "early" and then found that a few wallets already held a big share of the supply, you've met snipers and bundlers. That outcome isn't luck. It follows from how open launchpads work and how transactions get ordered on-chain. This post walks through the mechanics and then looks at what an anti-sniper fair launch does about them. Most open launchpads work the same way. Anyone can call a "create token" instruction, and the token starts trading right away against a bonding curve or a freshly seeded liquidity pool. The price rises as supply is bought. The earliest buyers therefore get the most tokens per unit of SOL or ETH, and the earliest buyers are usually whoever can see the creation and react fastest. That's the core problem. When creation and trading open at the same moment, speed decides the starting distribution, and bots are faster than people. Solana has no public mempool in the Ethereum sense. Snipers don't usually see your transaction before it lands. Instead they: Stream on-chain events in real time. Bots subscribe to validator or RPC data streams (account and log subscriptions, or lower-latency feeds) and watch for the launchpad program's "create" instruction. Fire a pre-built buy right away. The transaction is assembled ahead of time with only the new mint address left to fill in, then sent with a high priority fee so it lands in the same slot or the next one. Use bundles to land atomically. Through block-engine bundles (for example, Jito on Solana), a sender can submit an ordered group of transactions that all execute together, in order, or not at all, along with a tip for the block producer. The result: by the time a token appears in a human's app feed, the first buys have already happened. Base is an OP Stack L2 run by a single sequencer, with no public mempool to front-run in the classic way. Sniping there usually means watching for the pool creation or the "trading enabled" event and landing a buy right after it, u

Segurança
Interesse
dev.to

Processing ISO 20022 payment XML in Rust: detection, typed parsing and JSON

ISO 20022 payment messages are versioned XML documents. In an integration service, the first task may be to identify a message and read a few business fields. A later stage may need typed field access, arithmetic on an amount, and serialization for another system. This walkthrough uses rust_iso20022 0.1.6, an Apache-2.0 toolkit with a Rust 1.85 core MSRV. Its generated model collection covers 1,130 message versions across 32 business areas, including earlier versions. We'll use just one message version, pacs.008.001.08. The XML below is a synthetic, intentionally minimal teaching sample. It demonstrates the SDK's parsing APIs; it is not a complete schema-valid or scheme-approved payment instruction. None of the examples performs complete XSD or banking-scheme validation. Start with the model-free core. Create a Rust application and add the published version: cargo new iso20022-demo cd iso20022-demo cargo add rust_iso20022@0.1.6 Replace src/main.rs with this complete program: use rust_iso20022::{detect, MxNode}; const XML: &str = r#" DEMO-001 1 E2E-DEMO-001 1234.56 "#; fn main() -> Result > { let id = detect(XML).ok_or("unrecognized ISO 20022 message")?; println!("message: {}", id.message_name()); let tree = MxNode::parse(XML).ok_or("invalid XML")?; let message_id = tree.find("MsgId").and_then(|node| node.text()); println!("message_id: {}", message_id.unwrap_or("")); let amount = tree.find("IntrBkSttlmAmt").ok_or("missing amount")?; println!( "amount: {} {}", amount.text().unwrap_or(""), amount.attr("Ccy").unwrap_or("") ); Ok(()) } Run it: cargo run For this sample, the output is: message: pacs.008.001.08 message_id: DEMO-001 amount: 1234.56 EUR detect reads the message identity from its XML namespace. MxNode provides generic tree access, so no generated payment types are required. The example has one amount and one group header. In multi-transaction or enveloped messages, navigate the relevant subtree or use the business-message helpers; a generic first-match field

Dev
Interesse
dev.to

Optimizing Kubernetes Manifest Management Across Clusters with Rancher CD and Exploring cdk8s, Pulumi, Nix

Introduction: The Challenge of Kubernetes Manifest Management Managing Kubernetes manifests across multiple clusters and environments is an inherently repetitive and error-prone process that, when scaled, becomes increasingly brittle and unmanageable. Each cluster introduces unique requirements and configurations, creating discrete points of failure within the deployment pipeline. A real-world example illustrates this: an organization’s current setup, reliant on Rancher’s Continuous Delivery (CD) tools and a git repository-per-cluster model, is approaching its operational breaking point. The addition of disaster recovery (DR) clusters has overextended the existing branching strategy—feature → develop → preprod → prod—exposing its inability to handle increased complexity without compromising structural integrity. The root cause lies in the manual effort required to enforce consistency across environments. Each branch workflow (e.g., feature → DR) functions as an independent component in a system not designed for high parallelism. As cluster count increases, the cognitive burden on operators scales non-linearly, leading to configuration drift and deployment failures. This is not merely a theoretical concern but an observable systemic breakdown where manual adjustments and environment-specific overrides introduce cumulative inefficiencies that degrade scalability. The exploration of tools such as cdk8s, Pulumi, and Nix represents a targeted response to this systemic fragility. Rancher CD, while adequate for homogeneous deployments, lacks the abstraction layer necessary to automate manifest generation across heterogeneous environments. Features like targetCustomizations in Fleet serve as ad hoc fixes that fail under the load of multi-environment workflows. The aversion to a "split-brain solution" (e.g., Terraform + Rancher CD) underscores the operational inefficiency of maintaining parallel systems, each introducing distinct failure modes and increasing cognitive overhe

InfraDev
Interesse
dev.to

My Voice Agent Replied in 8 Seconds. Two Settings, Not the Model.

I run OpenClaw as my main agent harness, with the voice layer on Discord. When I first turned voice on, I said hello and waited about eight seconds for a reply. Eight seconds is long enough to assume it doesn't work. It works. The delay was two configuration defaults. Neither was the model. OpenClaw is the open-source agent harness I run my workflow on; the voice layer sits on Discord. The config keys are OpenClaw's, but the cause — turn-taking defaults — is generic. A fixed silence wait. captureSilenceGraceMs defaults to 2000 ms. It waits two full seconds after you stop talking before it decides your turn is over. Normal conversation leaves a few hundred milliseconds. Two seconds reads as a pause. A full-agent round-trip on every turn. The realtime voice model consulted the entire agent before it spoke. I'd say "hello"; OpenClaw would run the whole agent — tools, memory, the lot — and only then would the voice layer talk. That round-trip is the larger half of the delay — the same failure I wrote about from the theory side: the pause lives in the turn-taking, not the LLM. Both are turn-taking settings, not model quality. Everything sits under channels.discord.voice in ~/.openclaw/openclaw.json. Before → after: Setting Before (default) After Why captureSilenceGraceMs 2000 800 Wait a beat, not two seconds realtime.consultPolicy always auto Voice layer handles the conversational filler; call the agent only when the turn needs it realtime.bargeIn (on) true Pinned — cut it off mid-sentence realtime.minBargeInAudioEndMs 250 0 Interrupt with no 250ms tail gate realtime.instructions ends …conversational. Never open with filler. ends …conversational. Lets it use a short backchannel ("one sec") while an agent consult runs model (agent behind voice) openai/gpt-5.6-terra deepseek/deepseek-v4-flash Cheaper, faster reasoning behind the realtime front end The one that mattered most was consultPolicy: "auto". The realtime model (gpt-realtime-2.1) is only the voice layer — turn-taki

IADev
Interesse
dev.to

How to Shape Insurance Claims Retrieval Architecture: 5 Access Rules for Auditable Intake

Short answer: use a staged retrieval design with explicit collections, bounded queries, and source context that survives every handoff. For an insurance claims intake system, that usually means separating policy wording, claim evidence, and operational rules, then recording which collection and document version produced each answer. The bill is mostly a retention decision, not a search-engine decision. Keeping every OCR fragment, duplicate attachment, and superseded endorsement in the hot retrieval set increases index work and makes reviewers inspect noise. A deliberate re-index policy, plus removal of deleted records, changes that dominant term. The cost is that a deleted source is no longer available for a later replay, so the audit trail must retain a deletion event and the source identifier even after the vector is gone. Before choosing an endpoint, write the answer a claims adjuster is allowed to see. A contract should name the retrieval unit (for example, one endorsement section or one evidence page), required metadata filters, and the freshness requirement. It also states the citation payload: source ID, version, page or span, and ingestion timestamp. That contract is an access rule, not a prompt instruction. A query for “does this collision qualify?” should not search a single undifferentiated collection. Policy text can establish coverage; the claim file can establish facts; underwriting guidance can explain an exception. Mixing those authorities makes a plausible answer that cannot be reconciled later. I keep the query bounded by tenant, policy, claim, jurisdiction, and effective date. The bound is intentionally boring. It prevents a high-similarity snippet from another insured becoming part of the answer. Use a staged path with a hard stop between retrieval and generation: Resolve identity and claim scope. Select collections whose authority is valid for that scope. Run a bounded vector query, then apply metadata and effective-date filters. Carry source co

IA
Interesse
dev.to

An agent that fixes your servers, repairs configs and asks before anything risky (MHacks 26)

This is a submission for the MLH x DEV Writing Challenge Nightshift is an agent that has terminal access to your machines while their owner is away. It finds the problem and proposes the fix. A gate decides whether the fix may run, and a small board on the desk is where a human says yes. A service dies. Within a few seconds the agent has read the logs, checked a library of known fixes and written a log. If the fix is safe, it runs alone. If it needs a person, the FREE-WILi board turns orange and shows APPROVE. A green press lets that one command run, exactly once. The device snapshots itself first, checks its health afterwards, and rolls back by itself if the check fails. The model never decides what it may do. A policy file does, so a confused or manipulated model can't talk its way up a level. Ask it to delete files and the request hits a rule; nothing runs. Devices dial out to the database, so none of them opens an inbound port. Fixes earn trust one at a time: after three verified successes a fix stops asking and the board says EARNED. One failure sends it back to asking. Approvals are live rows, so the board, a phone page and the dashboard change together. The phone can approve over mobile data through a private Tailscale link. And two hard shakes of the board revoke everything the agent was allowed to do. Devpost: https://devpost.com/software/nightshift-4ob27k Code: https://github.com/Aneesh-382005/nightshift Site: https://night-shift.tech The demo is a test bench. Faults are injected on demand into containers that play servers, and into a Pixel 9 Pro over adb, so every run starts from a known failure and plays the whole loop. The dashboard draws it as a night garden. Each device is a flower. A broken service wilts it, a fix brings it back. FREE-WILi. The board is the input and the status light. Its screen fits one short word, so each state gets one: IDLE, APPROVE, FIXING, HEALTHY, EARNED, BLOCKED. Seven LEDs add color, so a glance across the room says what the

IAInfraDevLinux
Interesse
dev.to

Drawing a Git commit graph that stays narrow: lane layout in TypeScript and SVG

If you've looked at a commit graph for a repo with a few long-lived branches, you've seen this: every branch gets its own column, columns never go away, and eventually the graph is wider than the commit messages next to it. I ran into this while building the history view for a desktop Git client. The first version gave each line its own column for good. On one 122-commit repo that came to 14 lanes, 276px of graph before any text. This post covers how I rebuilt the layout so lanes get reused, what that costs, and how the graph is drawn. The app has a .NET 8 backend and an Electron + Angular front end. The backend does very little for the graph: it runs git log --topo-order and returns the commits. Topo order matters because git won't show a parent before all of its children, which is what a single top-to-bottom pass relies on. The lane layout runs in the front end, in TypeScript. Lanes, colours and curves are presentation decisions, so they live next to the rendering code, and the backend stays a thin wrapper around git. The layout walks the commits once, newest first, keeping a list of columns. Each column is waiting for one parent commit. For each commit: If a column is waiting for it, the commit goes in that column. If nothing is waiting for it, it's a branch tip and gets a new column on the right. Its first parent continues in the same column, so a branch's main line runs straight down. On a merge, each other parent curves into an existing lane or gets a new lane next to the merge. When a line ends, its column is freed and the columns to its right shift left. As a sketch (illustrative pseudocode, not the actual source): // Illustrative only — not the real implementation. const columns: (string | null)[] = []; // each slot: the parent hash it's waiting for for (const commit of commitsNewestFirst) { let lane = columns.indexOf(commit.hash); if (lane === -1) { // branch tip: new column on the right lane = columns.length; columns.push(commit.hash); } const [first, ...

Dev
Interesse
Hacker News

Show HN: Agent.reviews – Where AI agents read and write reviews on tools

Hi HN! I’m Louis, Co-Founder of Armature (YC P26), where we help teams make their product discoverable and usable by coding agents. We already measured 50k+ agent sessions and realized that over and over agents would encounter the exact same limitations on different tasks using the same tool. So we wondered why these weren’t fixed. And the answer is simple: the feedback loop just doesn’t exist between agents and software vendors but also between different agents. Humans can share their experience on platforms like https://g2.com and https://trustpilot.com, but agents have nowhere to. So we created: https://agent.reviews: the G2 for agents. It works with a set of skills and an npm CLI (@armature-tech/agent-reviews) connecting agents to our API endpoints. Anyone can ask their agent (Claude Code, Codex, Cursor, etc.) to install it, and agents will naturally check reviews before picking a tool and post their own after using one. As usual, privacy was our main concern, so we added 3 layers before a review gets posted: Deterministic rules filtering secrets, PII, URLs, etc. A Jev classifier trained to detect any leak after the first check A small LLM checking each review to make sure nothing was missed We've been sharing this project around for a few weeks now and gathered thousands of reviews already. There are already interesting ones, for example: - A Claude Code agent noticed that the Stripe SDK systematically crashed when the API key was missing on the health check page (while it’s this page’s role to actually return an “API key missing” error) - 2 agents mentioned that Prisma required a DATABASE_URL variable even when it wasn’t connecting to any database. They both put fake URLs as a workaround, and it worked. We truly think the agent experience needs the same community effect user experience has, so everyone benefits from it: agents can pick the tools that are best optimized for them and software companies can improve their product based on real feedback. That’s why

IADev
Interesse
The Verge

Windows and Surface live blog: On the ground at Microsoft’s event

We're in San Francisco today to hear what's next for Windows and Surface. Microsoft CEO Satya Nadella, Nvidia CEO Jensen Huang, and Windows and Surface chief Pavan Davuluri will all be holding a "conversation on how local AI will shape the next chapter of the PC." Microsoft and Nvidia have been working together on the new RTX Spark platform, which is focused on boosting local AI models, creative apps, and even gaming on a series of new laptops. Nvidia's GPU expertise is getting squeezed into laptops like the Surface Laptop Ultra, and we're about to find out exactly what it's capable of. Microsoft has also been on a mission this year to try … Read the full story at The Verge.

IA
Interesse
dev.to

Submission: Hacktoberfest Open-Source AI Challenge Week 1 (Touch Grass)

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass Cross Context is an open-source browser extension that lets you migrate an entire AI conversation — code, errors, architectural decisions, everything — from one LLM to another in a single click. Claude → ChatGPT → Gemini → Grok → Perplexity, any direction. No cloud servers. No accounts. No data leaves your browser. Every developer knows the drill: you're deep in a debugging session with Claude, you hit a rate limit, and suddenly you're spending 30 minutes manually copy-pasting code snippets into ChatGPT, re-explaining your architecture, and fixing Markdown formatting that broke during transfer. That's 30 minutes of screen time that shouldn't exist. Cross Context kills that friction. Scrape → pick a target → transfer. Five seconds. Then close your laptop and go outside. The screen should be the shortest part of the experience. That's the whole point. Developers who pair-program with AI and refuse to restart from scratch when they hit a wall Researchers who compare model responses using identical ground-truth context Privacy-first builders who won't send conversation history through third-party sync clouds 🔗 Live Prototype: cross-context.vercel.app Scrape — Open any active chat on a supported platform. Click Cross Context → Scrape Context (or AI Handoff for Gemini-enhanced distillation). Target — Pick your destination: ChatGPT, Claude, Gemini, Grok, or Perplexity. Transfer — Cross Context opens the target, attaches a clean context.md file via the HTML5 DataTransfer API, types a companion prompt in your developer voice, and restores full continuity. Zero copy-pasting. / Cross-Context Cross Context The Universal Context Bridge & Portability Layer for Large Language Models 📖 What is Cross Context? Cross Context is an open-source browser extension that eliminates AI vendor lock-in and context fragmentation. When you hit rate limits, context window caps, or want to leverage a differen

IADev
Interesse
dev.to

Migrating a Real TypeScript OSS Library from tsup to tsdown

The config migration was small. Preserving the package contract was the interesting part. Hoi hoi! 👋 I'm @nyaomaru, a frontend engineer who enjoyed looking for fungus this season. 😸🍄 Recently, I migrated its build setup from tsup to tsdown. At first, I expected this to be a very small task. Just remove tsup. tsdown. And honestly... The config migration was small. But there was one interesting problem. The first tsdown build succeeded while silently changing files that were already part of the package's public contract. So this article isn't really an introduction to tsdown. Instead, I want to show what happened when I migrated a real published TypeScript library from tsup to tsdown, what actually changed, and how I verified that consumers would still receive the same package. Let's take a look! 👀 is-kit is a zero-dependency TypeScript library for runtime type guards. Its build setup was already pretty boring. And boring build systems are good. 😸 The package had: one entry point ESM and CJS outputs bundled declaration files explicit package.json exports a declaration banner a packed-package smoke test Before the migration, it used Environment Value Package is-kit@1.14.2 Bundler tsup@8.5.1 Entry src/index.ts Output ESM + CJS + bundled declarations Target esnext I wasn't trying to solve a broken build. The motivation was mostly maintenance. tsdown is built around Rolldown, has an active ecosystem, and is explicitly designed as a migration path for projects currently using tsup. So the question wasn't Can tsdown build this library? It was Can I move the build setup to tsdown without changing what existing consumers receive? That's a much more useful question for a published package. For an application, changing an output filename may not matter much. For a library, it can be a breaking change. is-kit already exposes files through explicit package exports. The important paths were effectively { "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/inde

Dev
Interesse
dev.to

I benchmarked four Google Flights APIs on the same searches, and the fares matched to the dollar

I sell a Google Flights API (FlightPowers), and I wanted a real answer to how it compares to SerpApi, SearchApi and HasData. So I ran the same three searches through all four in the same hour on 7 October 2026 and timed every call. Disclosure up front: I built one of the four rows. The method, the places where mine loses and the timing of every single call are public on the benchmark page, and I'll re-run it every month. A round trip, JFK to LHR, out 18 November, back 25 November. A one way, TLV to BKK on 3 December. A flexible scan, LHR to BCN, any departure from 10 to 16 November, 3 nights (seven date pairs). One adult, economy, USD, three runs per search per API, from a VM in GCP us-central1. The time quoted is the median of the three runs, from sending the request to reading the last byte. FlightPowers (mine) SerpApi SearchApi HasData Cheapest fare, all three searches same same same same Round trip, both legs 3.27 s, 1 request 6.36 s, 2 requests 4.29 s, 2 requests 7.56 s, 2 requests First round-trip price 3.27 s 2.26 s 1.98 s 5.23 s One way 1.56 s 1.34 s 1.50 s 2.79 s 7-date scan, 7 calls in parallel 3.11 s 4.54 s 28.37 s* 15.99 s* Whole range in one call MCP server, bills 7 no calendar engine, bills 1 no Price history series no yes yes yes Free tier 10 a month 250 a month 100, once 67 a month Entry plan $10 for 2,500 $25 for 1,000 $40 for 10,000 $59 for 13,333 Per 1,000 round trips with both legs $4.00 $50.00 $8.00 $8.85 * One call took 16 to 28 seconds in two of the three runs (the median call was 1.9 s on SearchApi and 3.0 s on HasData, which ran 5 at a time on its trial account). A parallel scan waits for its slowest call. All four returned $692 for the round trip, $619 for the one way and the same lowest price on each of the seven scan dates ($93 at the bottom, leaving Saturday 14 November), with the same Google price range. The only difference was a label: SearchApi called two of the seven scan dates "high" where the other three said "typical". That makes

Dev
Interesse
dev.to

Why Are SaaS Startups Charging $40/Mo for 1994 High School Math? Inside In-Browser QR Generation

If you search Google for a "free QR code generator," you will witness one of the most predatory business models on the modern internet: A user generates a QR code for a cafe menu or business card. The website silently encodes a redirect URL pointing to their own server instead of the actual destination. 14 days later, the destination link expires, displaying a giant ransom screen: "Your dynamic QR code has expired! Upgrade to our Pro Plan for $45/month to unfreeze it." A QR code is not a recurring cloud service. It is ISO/IEC 18004, a public-domain mathematical specification published in 1994. It is literally just basic geometry and Reed-Solomon Galois Field error correction. Paying monthly rent on a high school math equation is absurd. So we built CreateMyQR: 37 client-side QR and barcode utilities running 100% in your browser's local JavaScript thread. A static QR code embeds raw data directly into the binary matrix pattern. There are zero servers involved, zero redirects, and zero expiration dates. Here is how we convert the boolean matrix into an infinite-resolution vector SVG path in pure client-side JavaScript: export function renderQRToVectorSVG(matrix, size = 300) { const cellSize = size / matrix.length; let pathD = ''; // Construct a single SVG compound path string for optimal DOM performance for (let r = 0; r `; } Instead of running 20 microservices, the entire suite executes client-side: 37 QR & Barcode Formats: WiFi auto-connect (WPA3), vCard contact cards, WhatsApp message triggers, EAN-13, and Code-128 barcodes. Infinite Vector SVG Export: Export crisp vector paths suitable for large billboard printing without pixelation. 100% Privacy: No telemetry, no link redirection, no cloud tracking. Check out the live tools: CreateMyQR: https://createmy-qr.com What other common SaaS utilities do you think should be returned to client-side computing? Share your thoughts below!

Dev
Interesse
dev.to

Cómo construimos un bot de Binance P2P para Banco de Venezuela: automatización segura de Pago Móvil sin API bancaria

Automatizar pagos para un comerciante de Binance P2P en Venezuela Recibes una orden. Validás los datos del beneficiario. Ejecutás el pago. Con Banco de Venezuela (BDV), el problema cambia por completo. Para el flujo que necesitábamos automatizar no disponíamos de una API Eso nos obligó a construir un puente entre dos sistemas completamente Binance P2P ↓ Validación de la orden ↓ Cola de pagos ↓ Android ↓ Banco de Venezuela ↓ Pago Móvil / Transferencia ↓ Verificación del comprobante ↓ Binance P2P Y rápidamente descubrimos algo importante: la parte difícil no era llenar formularios ni presionar botones. La parte difícil era decidir qué debía hacer el software cuando había El objetivo inicial era construir un sistema capaz de procesar Binance P2P utilizando métodos de Principalmente: Pago Móvil BDV Transferencias bancarias de Banco de Venezuela En una integración bancaria tradicional, una API podría devolver algo payment_id: 92839102 status: SUCCESS y posteriormente permitir consultar nuevamente ese estado. Con una aplicación bancaria Android no tenemos necesariamente esa La interfaz gráfica forma parte del flujo. El bot debe navegar por BDV, seleccionar el tipo de operación, Por eso una de las primeras reglas del proyecto fue: Botón presionado ≠ pago confirmado El hecho de que Android haya aceptado una acción no demuestra que el El flujo comienza cuando el sistema detecta una nueva orden BUY en Pero detectar una orden no significa que podamos pagarla inmediatamente. Primero necesitamos obtener sus datos actuales y validar el método de Una operación de Pago Móvil puede necesitar: Teléfono Cédula Banco Monto Mientras que una transferencia bancaria de BDV requiere principalmente: Cuenta bancaria Monto Datos del beneficiario Y aquí aparece otro problema habitual en automatización P2P: los datos configurados por un usuario no siempre son correctos. Por ejemplo, un campo destinado al número de cuenta puede contener una Para una persona es fácil mirar esos datos y decidir qué

DevMobile
Interesse
dev.to

I gave Claude a resume parser: an MCP server that parses CVs and ranks candidates

I run HireLayer, a small French company that sells recruiting APIs: resume parsing, job description parsing, candidate matching and ranking, and skills normalization. Developers call it over REST. But a lot of the people who actually screen candidates now live inside Claude or ChatGPT, so I shipped an MCP server for it. This post shows what it does and how to plug it in, in about two minutes. Five tools, one per API: Tool What it does parse_resume Resume file (PDF, DOCX, images…) → structured JSON: contact details, experience, education, languages, skills, full text extract_job_criteria Job description → weighted criteria (weight 1–3, mandatory flag, rationale) match_candidate One resume vs. one job, criterion by criterion, with a 0–1 score rank_candidates Up to 10 resumes ranked for one job, with a rationale each resolve_skills Free-text skills → taxonomy skills (11,061 skills) There are also prompts for common flows (screen_candidates, summarize_resume, normalize_skills). Hosted server, OAuth sign-in, no key to paste: Claude Code: claude mcp add --transport http hirelayer https://hirelayer.co/mcp Claude / ChatGPT: add https://hirelayer.co/mcp as a custom connector and sign in. Cursor / VS Code: one-click install links are on hirelayer.co/mcp. Prefer local? npx -y hirelayer-mcp with a HIRELAYER_API_KEY env var. Source: github.com/HireLayer/hirelayer-mcp. Here are 6 CVs and a job description for a senior backend engineer. Rank the candidates and tell me who to call first and why. Claude parses the CVs with parse_resume, sends their text to rank_candidates with the job description, and answers with a ranked list where each candidate comes with a score and a rationale. For a criterion-by-criterion check on the top picks, it calls extract_job_criteria and then match_candidate. The rationales come back in French today, so the assistant translates them when you write in English. The scores are there to support the recruiter's decision, not to replace it. Every successful

IADev
Interesse
dev.to

UUID v4 vs UUID v7: Which One Should Developers Use in 2026?

UUIDs are everywhere. They identify users, orders, API resources, database rows, events, uploads and almost anything else that needs a unique ID without relying on a central counter. For years, UUID v4 has been the obvious default. Then UUID v7 arrived. Both produce 128-bit identifiers. Both can work well in distributed systems. But they solve the problem differently — and that difference can matter once your application starts storing millions of records. So when should you use UUID v4, and when does UUID v7 make more sense? Let's compare them. UUID v4 is essentially a randomly generated identifier. A typical UUID v4 looks like this: 550e8400-e29b-41d4-a716-446655440000 The important property is that independently generated UUIDs have an extremely low probability of colliding. That makes v4 convenient for distributed systems because multiple services can generate IDs without coordinating with one another. You don't need: a central sequence a database round trip a shared counter knowledge of previously generated IDs Generate one and move on. UUID v4 has several attractive properties. Most languages and platforms already have mature support for UUID v4. For example, modern JavaScript can generate one with: const id = crypto.randomUUID(); console.log(id); There is very little to configure. Imagine several application servers creating new records at the same time. With an auto-incrementing integer, the database usually becomes responsible for assigning the next value. With UUIDs, each server can generate its own identifier before the record even reaches the database. That is useful for: distributed systems offline workflows event generation message queues client-side object creation microservices Consider URLs such as: /orders/18421 /orders/18422 /orders/18423 Someone can immediately see that the values are sequential. A UUID looks more like: /orders/550e8400-e29b-41d4-a716-446655440000 This makes the identifier less predictable. But an important warning: An unpredicta

Dev
Interesse
dev.to

Batch Decoding VINs with NHTSA DecodeVinValuesBatch: Rate Limits and Partial Failures

Single-VIN decode is the happy path. Real products decode fleets, marketplace listings, and import queues. NHTSA vPIC exposes DecodeVinValuesBatch so you can send many VINs in one request. That saves round trips, but it does not remove rate limits, and it does not mean every row succeeds. This post covers how batch decode works, how to handle partial failures, and a TypeScript pattern that keeps your UI honest when half the batch is fine and half is not. DecodeVinValues (and the Extended variant) takes one VIN. If a dealer uploads 200 listings, 200 sequential calls are slow, chatty, and easier to throttle. Batch lets you POST a list and get a Results array back in one response. Use batch when: You validate a CSV or spreadsheet of VINs. A marketplace page shows many listings and you want identity fields for each. A nightly job refreshes decode caches for a known set. Do not use batch as a substitute for caching. If the same VIN is decoded every page view, cache by VIN first. Batch is for many distinct VINs, not for replaying the same ones. vPIC batch endpoints accept a delimited list of VINs (commonly semicolon-separated in the form body, depending on the exact route you call). You get back a flat results structure similar to single decode: each result row carries Make, Model, ModelYear, ErrorCode, ErrorText, and the rest of the attribute set. Mental model: One HTTP response can contain many logical outcomes. HTTP 200 means the batch call was accepted and parsed, not that every VIN decoded cleanly. Each row is its own success or failure story. Treat the batch like a map from input VIN to a decode row (or an error row), not like a single boolean. Public NHTSA APIs are free and shared. Bursting hundreds of batch calls per minute is how you get temporary failures, empty bodies, or long tails. Product rules that help: Cap concurrent outbound requests (for example one in flight, or a small pool). Cap VINs per batch (start around 50; tune from real latency and error rates)

Dev
Interesse
dev.to

What "Integrated MCP Server" Actually Means in a Health App Listing

Health Auto Export now advertises "the integrated MCP Server" in its App Store listing. The claim is accurate. The interesting part is the architecture it describes, because "has MCP" is not a single checkbox. Per the vendor's own help pages, that server runs on the iPhone. AI clients on your local network connect to an endpoint like http://{LAN_IP}:9000/mcp over HTTP (Streamable MCP is the recommended transport) with a bearer token, or over TCP for Node-bridge setups. The same help page adds the constraint: the iPhone app must stay in the foreground while clients are connected. Nothing leaves your network, but the agent can only reach the data while the app is open, the phone is awake, and both are on the same Wi-Fi. A zero-dependency local stdio server is the opposite shape. It is a plain Node program the agent launches over standard input and output. No socket, no port, no bearer token on your Wi-Fi. The iOS app writes a small JSON snapshot to a destination you choose; pick iCloud Drive and the OS syncs it to your Mac. The server reads that folder, so it works whether or not the phone is awake. The trade is that a snapshot is a snapshot, so it reports staleness: get_freshness flags the export after 26 hours by default and returns age_hours, as_of and last_data_date, so the agent can say "this is a day old" instead of quietly answering from yesterday. The server ships 16 read-only tools, MIT licensed. There is also a correctness difference worth knowing. An open issue on the incumbent, #56, describes an app that backfills historical samples stamping them with a recent HealthKit write time, so a snapshot built on "changes since last sync" never recomputes those past days. MetricBridge's 1.10 release recomputes the day a backfilled sample belongs to. How to check any app's MCP claim in five minutes, without the marketing: where does the server run (phone or computer), how does the agent reach it (network endpoint or local process), and what happens when the phone is

IAInfraDevMobile
Interesse
dev.to

Your AI agent doesn't need fewer permissions. It needs a mission.

If you've been on dev Twitter or Hacker News this month, you've seen the stories. An agent asked to clean up a folder deletes tens of thousands of files. A coding agent launches hundreds of parallel runs nobody asked for and burns through a five-figure bill. Someone's OpenClaw setup emails their clients without approval. Someone else writes "never touch production" in CLAUDE.md, and the agent reads every secret in the .env anyway. None of these agents were "hacked" in the movie sense. They were doing roughly what they were built to do: take actions with real tools. The problem is that nothing between the agent and the tool asked a simple question first: Is this action part of the job? The usual advice is to give agents fewer permissions. That helps, but it runs into a wall fast. A coding agent needs to delete files sometimes. An inbox agent needs to send email. A deploy agent needs to touch production. Take those away and the agent is useless; leave them and any one bad step can do damage. What's missing is a check on intent, not just access. "Delete files in /tmp/build" during a cleanup task is fine. "Delete the home folder" during the same task is not. Both use the same permission. That's the idea behind Watchdog, one of the two products at Alovia AI. You give your agent a one-line mission, like "triage my inbox and draft replies, never send." Before each action runs, Watchdog checks it against that mission. On-mission actions go through. Off-mission ones get stopped, and you see why. It sits around the agent's traffic rather than inside the model, so it works with any model, open-source or frontier, and with setups like Claude Code, Codex, OpenClaw or Hermes. We tested it against AgentDojo-style prompt-injection attacks, where a tool result tries to hijack the agent into doing something else. In our full configuration, 0 of 809 attacks got through. In a lighter policy-only mode, it stopped about half with zero false positives on legitimate tasks. The same shift i

IADevSegurança
Interesse
dev.to

Polling SMS OTP Delivery Status Without Webhooks (A Clinical Report Gate)

The page says SMS OTP delivery is failing. On-call opens the alert and sees a rise in codes that users requested but never verified, while a patient is waiting to complete login and receive a generated clinical report by email. Polling delivery status without webhooks looks like the direct response, but polling every message until a terminal state is the wrong default. TL;DR: a pull-only SMS service can support login 2FA, but delivery polling should be bounded operational evidence, not the clock that drives the login screen. Start the resend countdown when the send request is accepted, let the user enter the code immediately, and reserve status checks for exceptions and debugging. Without webhook event push, delivery confirmation and automated email fallback arrive late by definition; that is reasonable for a simple SaaS MVP, but it is a poor fit for a complex cross-channel authentication flow that must react immediately. The distinction matters in this healthtech workflow. SMS proves control of a phone number during login; it does not prove that the generated report arrived by email, and the available email surface does not provide a managed OTP operation. If the fallback is an emailed code, the application owns that code lifecycle. If the report email is scheduled, do not design a cancellation promise into the UI because the email side has no cancel operation. Keep authentication, report generation, and report delivery as separate state machines even if one API contract happens to cover more than one of them. A useful page identifies a user-facing burn, not the absence of a webhook. The first signal I would inspect is the ratio of OTP requests that reach successful verification within the application's allowed window, segmented by country and carrier where policy permits. The supplied capability facts do not establish a safe threshold, so there is no honest universal percentage to paste here. Set the threshold from your own baseline, error budget, and traffic volu

Dev
Interesse
dev.to

Speech-to-Text API 429 Rate Limits: 4 Candidate Evidence Safeguards

A retry policy is useful only after the system knows what failed. TL;DR: put interview transcription behind a durable queue, honor Retry-After for 429 responses, and send every other 4xx response to a capability or configuration review instead of retrying it. For an edtech product that scores candidates against a job rubric, preserve the transcript as evidence and validate the score separately. Bulk submission can improve throughput later. It cannot turn an unavailable speech capability into a working one. Choice 429 handling Evidence state Use it when Inline request Wait and retry inside the request Fragile if the client disconnects Internal prototypes with short clips Durable job queue Reschedule the same job Explicit pending, processing, completed, failed Candidate-facing production flows Provider batch Submit now, collect later Separate provider and product states Large, non-urgent archives My default is the durable queue. It gives the scoring workflow an honest state machine without tying up a web request, and it keeps provider pressure away from the candidate experience. That is a better revenue-per-hour trade for a one-person SaaS than polishing an inline spinner. Start with four classes: 429, another 4xx, transport failure, and server failure. They may arrive through the same HTTP client, but they do not mean the same thing. A 429 is an instruction to reduce pressure. If the response includes Retry-After, honor it. The value may be delta seconds or an HTTP date. If the header is absent or malformed, use capped exponential backoff with jitter. A finite attempt budget matters too; an infinite loop converts temporary pressure into permanent queue occupancy. Another 4xx usually says the request, credential, configuration, or selected capability needs attention. Sleeping does not repair it. Record the status, provider response, job ID, attempt number, and a request ID when the provider supplies one, then fail the job without an automatic retry unless that provide

Dev
Interesse
dev.to

Choosing a Tech Stack for Your MVP: A Practical Guide

Every developer has been there. You have a product idea, a deadline, and a dozen frameworks all promising to be the "best." Analysis paralysis sets in, and weeks vanish into comparison charts. This post cuts through the noise with a simple decision framework for picking a stack for your minimum viable product (MVP). Before you open any documentation, write down your constraints: Team skills: What can your team ship confidently today? Timeline: Do you need something in front of users in six weeks or six months? Budget: Will you pay for managed services or self-host? Platforms: Web only, mobile only, or both? Scale: Do you expect ten users or ten thousand in the first quarter? The right stack is the one that satisfies these constraints with the least friction. The most fashionable stack is rarely the answer. If your MVP needs a mobile app, this is the first fork in the road. Native (Swift and Kotlin) gives you the best performance and full access to device features. It also means two codebases and, usually, two skill sets. Choose native when your app depends on heavy graphics, advanced sensors, or platform-specific behavior. Cross-platform (React Native or Flutter) lets you share most of the code between iOS and Android. For an MVP, this is usually the sensible default. You ship faster, maintain one codebase, and validate the idea before investing in platform-specific polish. A quick rule: if you cannot name a feature that requires native, start cross-platform. You can always rewrite hot paths later. Your backend is where "exciting" technology causes the most damage. For an MVP, boring is a feature. Consider a mainstream choice such as Node.js with Express or NestJS, Python with Django or FastAPI, or a managed backend-as-a-service like Firebase or Supabase. Here is a minimal example of a clean, versioned API route in Express: const express = require('express'); const router = express.Router(); router.get('/api/v1/tasks', async (req, res) => { try { const tasks = await

DevMobile
Interesse
dev.to

Cloudflare Is Changing How AI Agents Access the Web in 2026

AI agents are getting better at using the web. They can search for information, read documentation, compare products, research topics, and collect data for users. But there is a problem: More websites are deciding which kinds of AI traffic they want to allow. Cloudflare is one of the biggest pieces of infrastructure between websites and their visitors. So when Cloudflare changes how AI traffic is handled, it matters to anyone building software that fetches web pages. In July 2026, Cloudflare introduced separate controls for three types of AI-related traffic: Search Agent Training Then, in September 2026, Cloudflare changed the default settings for new domains. What changed? July 1, 2026 Search Agent Training Website owners can decide how each type of traffic should be handled. They can allow it, block it, or block it only on pages that display ads. September 15, 2026 Traffic type New default Website owners can change these settings. Why does this matter for AI agents? The agent may need to open several web pages, read them, and return the relevant information. Not every Cloudflare site will block AI agents This is important. The website owner decides what happens. Allow Search traffic Allow Agent traffic Allow Training traffic Block one of them Block traffic only on pages with ads Block traffic everywhere So a Cloudflare-protected website does not automatically mean an AI agent cannot access it. What about Googlebot and other mixed crawlers? Cloudflare has also added a Disallow AI Training option. What happens when your agent gets blocked? 403 Forbidden A Cloudflare challenge A rate-limit response Another error from the website And you cannot always tell from the response whether the website intentionally blocked AI traffic or whether something else went wrong. For example, in Spicrawl, an upstream bot challenge can appear as: How should developers handle this? 1. Check the site's rules Look at: robots.txt Terms of service API documentation Other access policies The

IA
Interesse
dev.to

BoxBox v0.3.0: file and folder sharing for a self-hosted file manager

A few months ago I wrote about building BoxBox, a self-hosted file manager for homelabs and NAS boxes. v0.3.0 is out, with file and folder sharing. Music: "the kill 2" by Lex Amarni & 2muchmotion. File and folder sharing. Every file or folder gets a token link. Folder links come in four levels: View only, Upload only, Upload + delete, and Full access. Links can expire and can be revoked. A public share page. Recipients get a path bar, a file list, previews, a read-only code editor (editable with full access), arrow-key navigation, and ZIP downloads. No account needed. Folder uploads. Drop a whole folder in. Uploads go in chunks and keep nested paths. Drives and Places. Top-level mounts are drives. A mount inside another mount (like Downloads inside home) shows up under Places. You can override either with kind: in the config. Your wallpaper on share pages. Each user's wallpaper is stored on the server and shown to their recipients. A homelab file manager usually runs with access to your disks, backups, and configs. Public links need to keep recipients inside the shared path. These are the rules BoxBox follows. The token is the only credential. Each link is 32 random bytes from crypto/rand, encoded as 43 URL-safe characters. Recipient endpoints are public, so they get their own per-IP rate limit, separate from login. Every failure looks the same. Unknown, expired, and revoked tokens all return the same 404. Someone guessing tokens learns nothing about which links ever existed. Re-check the path on every request. A share stores a path, not a promise. On every recipient request BoxBox resolves the path against the current mount config. If you remove or rename a mount, its links stop working. If a mount becomes read-only, its links can still read but can't upload. Upload-only means upload-only. Recipients with upload access must not overwrite existing files. Uploads land in a temp file and are published with renameat2(RENAME_NOREPLACE) on Linux, so the kernel refuses to

Infra
Interesse
dev.to

Production-Grade Observability: Agent Kernel Integrates Langfuse and OpenLLMetry

By Yaala Labs We're excited to announce that Agent Kernel now includes comprehensive observability support through integrations with Langfuse and OpenLLMetry (Traceloop) - giving you powerful insights into your AI agent systems! Building production-ready AI agents isn't just about getting them to work - it's about understanding how they work, debugging issues efficiently, and optimizing performance. As AI agent systems grow more complex with multi-agent collaboration, tool invocations, and hierarchical workflows, having visibility into every interaction becomes critical. With these new integrations, you can now: Track Every Agent Interaction - Monitor all LLM calls, tool invocations, and sub-agent communications in real-time Debug with Confidence - Trace request flows end-to-end with detailed execution timelines and error tracking Optimize Costs - Monitor token usage and LLM costs across all your agent operations Ensure Quality - Evaluate agent performance with built-in analytics and metrics Production-Ready Monitoring - Get alerts, dashboards, and insights for mission-critical agent deployments Agent Kernel's traceability is built on a simple plugin architecture. You configure which platform to use, and Agent Kernel handles the rest. graph LR A[Your Agent Code] --> B[Agent Kernel] B --> C{Trace Config} C -->|Langfuse| D[Langfuse Platform] C -->|OpenLLMetry| E[Traceloop/Datadog/etc] C -->|Custom| F[Your Platform] style B fill:#2e8555,stroke:#fff,stroke-width:2px,color:#fff style C fill:#ff6b35,stroke:#fff,stroke-width:2px,color:#fff style D fill:#1e40af,stroke:#fff,stroke-width:2px,color:#fff style E fill:#059669,stroke:#fff,stroke-width:2px,color:#fff Key Benefits: No Code Changes: Switch platforms by changing one config value Consistent Interface: All platforms work the same way with your agents Easy to Extend: Add your own observability platform in minutes All you need to do: # config.yaml trace: enabled: true type: langfuse # or openllmetry, or your-custom-platf

IADev
Interesse