Painel de Notícias

Tecnologia

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

Filtros
dev.to

Model selection is an architecture decision

Stop Asking “Which LLM Is Best?” – Ask Which Model Fits This Workload Last quarter I was elbow‑deep in a fintech product that had to turn noisy bank statements into clean expense reports. My first instinct was to grab the “biggest” LLM, fire‑off GPT‑4, Claude‑2, Gemini‑1.5 and hope it would magically understand every column, currency and weird abbreviation. After a weekend of latency checks, cost tallies and exploding error logs I realized the “best” model on every public leaderboard still missed our real KPI: cost per successful parsing. The fix was to stop treating LLMs like shiny toys and start treating them as replaceable services. I listed the dimensions that actually mattered: capability (financial jargon, tables) reasoning (multi‑step extraction without hallucination) latency (<300 ms for a smooth UI) context length (statements can be 10 k tokens) modality (sometimes we get a PDF image, so OCR + generation matters) cost (every API call eats our margin) Then I built a tiny benchmark that mirrors the exact workflow: feed a real statement, ask for JSON line items, measure success (JSON parses, totals match). I ran it against three services: OpenAI gpt‑3.5‑turbo‑16k, AWS Bedrock Claude‑3 Opus, and Google Gemini‑1.5‑Flash. Model Accuracy Cost / 1k‑tok Latency gpt‑3.5‑turbo 92 % $0.012 420 ms Claude‑3 Opus 95 % $0.018 280 ms Gemini‑Flash 88 % $0.006 150 ms Cost‑per‑successful‑task = (cost per call) ÷ (success rate). GPT‑3.5: $0.013 Claude‑Opus: $0.019 Gemini‑Flash: $0.007 Suddenly Gemini‑Flash became the clear winner for our budget‑tight pipeline, even though its raw accuracy looked lower on paper. The trick is to version‑track the exact model you use (e.g., gpt-3.5-turbo-0613) and re‑run the benchmark whenever a new upgrade lands. In a later ed‑tech project I swapped Claude‑2 for Claude‑3‑Sonnet after a single test showed a 30 % latency drop and a 5 % reasoning bump, shaving $0.003 per student quiz from the cost‑per‑task metric. So the next time someone asks “Whic

IADev
Interesse
9to5Mac

A fun night video test of the iPhone 18 Pro

After taking a series of portrait photos to test the wider aperture of the iPhone 18 Pro, my original plan had been to hang around until it was dark in order to see whether letting in more light would reduce the duration of Night mode photos. I ended up postponing that test because something more interesting was going on: the extremely rare sight of a cruise liner passing through Tower Bridge. That provided the perfect opportunity to test the night video capabilities of the new device … more…

Mobile
Interesse
Engadget

How to fix distorted audio on your PS5

Your PS5 can have audio issues depending on how complex of a setup you use, but they're fixable with some troubleshooting.

Games
Interesse
Hacker News

What's Earth's dominant species by mass?

Article URL: https://signoregalilei.com/2026/09/27/whats-earths-dominant-species-by-mass/ Comments URL: https://news.ycombinator.com/item?id=49977531 Points: 20 # Comments: 4

Geral
Interesse
TechCrunch

Facebook tests going Reels-first in India

Meta is testing a new Facebook UX in India that sends some users directly into full-screen video when they open the app, putting Reels front and center.

Mobile
Interesse
Rock Paper Shotgun

PlatinumGames CEO pauses a discussion on Stellar Blade's Bayonetta costume crossover to casually imply more Bayonetta may be on the way

It's been a bit since Bayonetta has had any time in the spotlight. 2022's Bayonetta 3 released to pretty good reception (although did earn ire for its depiction of the witch herself), but all's been quiet on the Umbral front since. With creator Hideki Kamiya having left PlatinumGames in 2023, it seemed even more unlikely for the series to continue. A ray of hope appeared in an unexpected place, though: Stellar Blade. That game's Switch 2 port, due for release next month, will feature four new costumes based on characters from the Bayonetta series, demonstrating that Platinum are willing to do something with it (well, that and letting her be added to Sonic Racing: Crossworlds alongside Minecraft Steve and Spongebob.) Read more

Games
Interesse
Rock Paper Shotgun

PlatinumGames CEO pauses a discussion on Stellar Blade's Bayonetta costume crossover to casually infer more Bayonetta may be on the way

It's been a bit since Bayonetta has had any time in the spotlight. 2022's Bayonetta 3 released to pretty good reception (although did earn ire for its depiction of the witch herself), but all's been quiet on the Umbral front since. With creator Hideki Kamiya having left PlatinumGames in 2023, it seemed even more unlikely for the series to continue. A ray of hope appeared in an unexpected place, though: Stellar Blade. That game's Switch 2 port, due for release next month, will feature four new costumes based on characters from the Bayonetta series, demonstrating that Platinum are willing to do something with it (well, that and letting her be added to Sonic Racing: Crossworlds alongside Minecraft Steve and Spongebob.) Read more

Games
Interesse
Hacker News

Subquadratic 3SUM and Subcubic APSP

Article URL: https://arxiv.org/abs/2610.06783 Comments URL: https://news.ycombinator.com/item?id=49977437 Points: 4 # Comments: 0

Geral
Interesse
dev.to

Best practices for implementing LLM access controls and monitoring

The question Teams ask a version of the same thing: we wired an LLM to tools, it works, what do we actually have to build before we ship it. This article answers that with the concrete ordering and the failure modes, not with a maturity model. An AI agent is a model that can emit actions. The model itself is stateless text generation. The security problem starts at the boundary where generated text becomes a tool invocation, a database query, a file read, an HTTP request. That boundary is where you own the risk. The model will produce whatever token sequence is most probable given its context. It has no concept of your authorization model. If your handler executes what the model emits, the model is effectively your authorization layer, and it is not one. Three things go wrong repeatedly. Confused deputy. The agent runs with the credentials of the service hosting it. A user who is only allowed to read triggers a tool that writes. The tool does not know the difference because the identity it sees is the service account. Scope creep through arguments. The tool is permitted, the identity is permitted, but the argument is not. A search tool called with a filter that reaches a tenant it should not. A file tool called with a path that escapes the intended directory. Silent success. The call was blocked, or should have been, and nothing recorded why. Weeks later nobody can distinguish a denied attack from a broken integration, so the block gets removed to make the dashboard green. None of this requires a novel exploit. It requires a tool call that was authorized at the wrong granularity. Put the decision in the request path, before execution, and make it ordered. Identity. Resolve who is asking. Not the service account. The end user or the workload that originated the request, propagated through the agent. Tool. Is this identity allowed to invoke this tool at all. Resource. Is this tool allowed to touch this resource for this identity. Arguments. Does this specific argument

SegurançaDevIA
Interesse
dev.to

Warmup Deep Dive: What You’re Throwing Away and Why

Why this lesson exists Warm‑up runs are the silent hero of performance measurement. When you skip them or treat the first run as the final result, you discard the very data that tells you whether your compiler, runtime, or hardware is in a steady state. We have traversed a path of incremental rigor: Problem Ep 1: single‑shot timings mislead. Ep 2: warm‑up and repeat are essential. Ep 3: screenshots are not evidence. Ep 4: metadata makes cross‑machine claims reliable. Ep 5: csperf observatory gives quick evidence. Ep 6: csperf doctor diagnoses toolchain. Ep 7: quickstart yields a reproducible artifact in 30 s. Ep 8: JSON is the source of truth. Ep 9: choosing the right backend. Ep 10: stability metrics expose volatility. Observatory We have seen how csperf captures machine metadata (Ep 4) and how the doctor command validates the environment (Ep 6). Measurement Today we focus on the warm‑up phase itself, the first step that often gets ignored. Comparison We will compare two runs: zero warm‑up vs five warm‑up runs. Depth The lesson will dig into the numbers that csperf records for each warm‑up iteration. Many developers assume that the first run of a benchmark is already representative. In reality, the first few iterations trigger JIT compilation, cache misses, and other transient effects that inflate the time. csperf lets you explicitly control the number of warm‑up runs and then compare the resulting artifacts. By keeping the repeat count constant, you isolate the effect of warm‑up. Think of a warm‑up run as a pre‑flight check. The first few passes prepare the system—load libraries, prime caches, and stabilize the CPU frequency. The repeat runs are the actual flight data. # Install csperf (if not already) pip install csperf # Run with no warm‑up csperf run \ --input examples/cpp/matrix_traversal.cpp \ --backend cpu \ --warmup-runs 0 \ --repeat-runs 5 \ --output results/w0.json # Run with five warm‑up runs csperf run \ --input examples/cpp/matrix_traversal.cpp \ --bac

Dev
Interesse
The Verge

The easiest Apple Watch to recommend is $50 off

The discounted Apple Watch SE 3. | Photo by Amelia Holowaty Krales / The Verge The Apple Watch SE 3 is the smartwatch that we recommend for most people because it’s affordable, yet packed with most of the features found in pricier versions. We spotted Amazon October Prime Day discounts across the lineup, including both the 40mm and 44mm sizes, and GPS only or cellular options. The Wi-Fi and GPS model is $199 for the 40mm size (matching the lowest price to date), and $229 for the 44m size. If you also want a cellular connection, the 40mm version is $249, and the 44mm version is $279. Apple Watch SE 3 The Apple Watch SE 3 is a major glow-up, adding an always-on display, wrist-temperature sensor, a more powerful processor, and fast charging. Read our review. Where to Buy: $249 $199 at Amazon When it released in late 2025, the more budget-friendly Apple Watch 3 SE caught up with all the core functionality that had built up on the higher-end models of the time, including the always-on display, wrist flick and double tap gestures, 5G connectivity, and on-board Siri. Read our Apple Watch 3 SE review. window.HYPE_DESK_CONFIG = { productImageUrl: "https://platform.theverge.com/wp-content/uploads/sites/2/2026/09/ChatGPT-Image-Sep-16-2026-12_50_24-PM.png", productImageAlt: "Roborock F25 Steam", productTitle: "Roborock F25 Steam", shortDescription: "A wet-dry floor cleaner combining high-temperature steam with powerful suction for sticky messes, stains, and pet hair.", longDescription: "When unexpected messes happen, F25 Steam is ready to clean them instantly — especially in high-traffic areas like kitchens and bathrooms. The Roborock F25 Steam is designed for busy households and pet owners who regularly encounter wet spills, dried stains, grease, and hair. Its 356°F VaporFlow steam helps loosen stubborn messes without harsh chemicals, while 25,000Pa suction and the JawScrapers anti-tangle system collect wet and dry debris with minimal hair wrapping. It also offers up to 80 min

Mobile
Interesse
dev.to

Authentication in Node.js Applications: JWT, Password Hashing and Secure APIs

Authentication is one of the first security boundaries developers build when creating a Node.js application. Whether you are building a REST API, SaaS platform, mobile backend, or internal dashboard, you need a reliable way to verify who is making a request. Node.js gives us the building blocks to implement authentication, but secure authentication requires more than checking a username and password. Password hashing, token validation, expiration, input validation, and careful error handling all play important roles in protecting user accounts and application data. A common authentication flow starts when a user submits an email and password to a login endpoint. The server looks up the account, compares the supplied password with the stored password hash, and issues an authentication token when the credentials are valid. The original password should never be stored directly in the database. For password storage, Node.js provides the built-in crypto module, which can derive a strong key from a password using scrypt. In production systems, dedicated password-hashing libraries such as Argon2 or bcrypt are also common choices. The important principle is that passwords must be salted and computationally expensive to hash so that leaked password databases are harder to exploit. JWTs are another common approach for API authentication. After successful login, the server signs a token containing limited claims such as the user's identifier and expiration time. Protected routes then verify the token before allowing access, while the server should reject malformed, expired, or incorrectly signed tokens. The following example demonstrates the core concepts using only Node.js built-in modules. It creates a small HTTP API with registration, login, and protected-profile endpoints, while keeping the example dependency-free and easy to run and inspect. const http = require('http'); const crypto = require('crypto'); const PORT = 3000; const JWT_SECRET = 'replace-this-with-a-long-rand

DevSegurança
Interesse
dev.to

Phase 0, Part 1: Turning Copy-Pasted Terraform Into a Reusable Proxmox Module

My original infrastructure is three bare-metal Proxmox machines clustered together. The clustering just makes administration a bit easier. Those run the VMs that hold my k3s nodes and other lab systems like an Ansible Automation Platform. All of it was hand-configured. My goal is to have the foundation infrastructure come up from code too, the same way the cluster does, so I can add machines or spin everything down and back up without clicking through a UI. It's also a good exercise on its own. This piece is the DNS setup using Technitium. The plan for DNS is to spin up an LXC container, provision it, and back it up. I chose an LXC container because it's lighter than a full VM while keeping the features I care about. The reason it's not just the containerized (Docker) version of Technitium: in that version the logs show every request coming from the bridge, so you can't tell who actually asked. A real OS install fixes that, but I don't want to hand a whole VM's worth of resources to one small service. I also don't want all my services on one VM. If that VM goes down, that's one big blast surface, so I'd rather have a bunch of small machines. LXC containers act like smaller VMs for services you treat like pets instead of cattle. I can run them on Proxmox, on bare metal with systemd-nspawn, or on another hypervisor through Incus. I still get backups, and if I ever need to pull a service out, the migration path is easier because the backup is just the filesystem, so I can mount it somewhere else later. I worked in a strange order, doing things as they came to me. One was centralizing the important values, so I made a common-outputs folder that just exports the things every foundation system needs. The thing that pushed me to it was upstream DNS versus the DNS server. Most machines need to use the dns_server, and then the DNS server itself needs to use the upstream_dns_server. Keeping those in one place beat redefining them in every repo. output "proxmox_endpoint" { val

InfraDevLinux
Interesse
dev.to

Rod Cutting: Unbounded Knapsack With a Different Label on the Inputs

Chapter 7 introduced Unbounded Knapsack and ended with a promise: every problem in the unbounded family inherits the same structure, just with a different question. Rod Cutting is the first of those problems, and it's a good one to start with because the mapping from Knapsack to Rod Cutting is clean and direct. Once you see the mapping, the code practically writes itself. You have a rod of length n. For every possible piece length, there's a price you can sell it for. price = [1, 5, 8, 9] Length 1 → price 1 Length 2 → price 5 Length 3 → price 8 Length 4 → price 9 Cut the rod into pieces in whatever combination maximises total profit. For a rod of length 4, some options: Don't cut at all: length 4 → profit 9 Cut into two halves: 2 + 2 → profit 5 + 5 = 10 Cut three pieces: 1 + 1 + 2 → profit 1 + 1 + 5 = 7 Cut four pieces: 1 + 1 + 1 + 1 → profit 1 + 1 + 1 + 1 = 4 The best option here is 2 + 2 with profit 10. One thing to notice: some versions of this problem give you both a length array and a price array. Others give only price, with the lengths implied as [1, 2, 3, ..., n]. When the length array isn't given, just construct it as range(1, n+1) where n = len(price). There's nothing more to it. For each available piece length, you decide: use this length or don't. That's the TAKE / SKIP structure of Knapsack. And the same piece length can be used multiple times. 2 + 2 uses the length-2 piece twice. 1 + 1 + 1 + 1 uses the length-1 piece four times. There's no restriction on repetition. That's Unbounded Knapsack. The variable names just change: Unbounded Knapsack → Rod Cutting weight → piece length value → price capacity → rod length maximum value → maximum profit T[i][j] = maximum profit using the first i piece lengths for a rod of length j Rows represent which piece lengths are available. Columns represent the rod length being considered. Rod Length (j) → 0 1 2 3 4 Length 0 0 0 0 0 0 1 0 ? ? ? ? 2 0 ? ? ? ? 3 0 ? ? ? ? 4 0 ? ? ? ? Base cases are the same as always: no pi

Dev
Interesse
dev.to

How to schedule posts for future publication?

Sometimes you may write several posts in one sitting when you have ideas, but you may not want to publish them all at once. Instead, you’d like to publish them one at a time on future dates. You can automate this with GitHub Actions. Here’s how. hugo.yml. Open your Hugo workflow file, usually at .github/workflows/hugo.yml or .github/workflows/hugo.yaml. In the on: section, add a schedule trigger as follows: on: push: branches: - main #add the following two lines schedule: - cron: '0 1 * * *' What do the cron fields mean? The first two fields specify the minute (0-59) and the hour (0-23) of the scheduled time (in UTC), respectively. In the example above, 0 1 specifies 01:00 UTC. The last three fields specify the day of the month (1-31), the month (1-12), and the day of the week (0-6, where Sunday is 0). An asterisk (*) matches all values in that field. So when the last three fields are * * * , there is no restriction on the day, month, or day of the week, and the workflow runs daily. Together with 0 1, 0 1 * * * means the workflow runs daily at 01:00 UTC. git add .github/workflows/hugo.yml git commit -m"add daily schedule build for future posts" git push Note: Scheduled workflows run from the default branch, and GitHub may delay scheduled runs during periods of high load. In the front matter of a new post, set the date field to the time when you want it to be published. Set the time in the date field slightly earlier than the schedule build time. For example, if the workflow runs at 01:00 UTC, use 00:00 UTC or earlier. This ensures that the post is no longer in the future when Hugo builds the site. You can run hugo server to preview your site locally, but future-dated posts will not appear. To include them, run hugo server --buildFuture or hugo server -F. Note: Do not add --buildFuture to the GitHub Actions build command (hugo); otherwise, future-dated posts will be published immediately. The key to scheduling future posts is that the build must happen after the post

Dev
Interesse
dev.to

Why Industrial Edge Gateways Need Store-and-Forward

Why Industrial Edge Gateways Need Store-and-Forward Many teams still treat an industrial edge gateway as a simple protocol bridge: collect data from the field, forward it to the cloud, and relay commands back down when they arrive. If the link works while the network is healthy, the design looks good enough. That assumption usually breaks in real deployments. Industrial links are not just "online or offline." A gateway may face: intermittent 4G or private WAN instability broker reconnect storms after a short outage API throttling on the cloud side telemetry that keeps arriving from PLCs while upstream delivery is blocked commands that were accepted by the gateway but not yet confirmed by the platform delayed replay mixed with newly collected realtime data The core argument here: if an industrial gateway sits between stable field collection and unstable upstream delivery, it should not behave like a transparent forwarder. It should behave like a reliable delivery boundary. That means implementing store-and-forward with local persistence, ordering control, deduplication, replay recovery, acknowledgment tracking, and expiration policy. Without that layer, the platform does not merely receive delayed data — it loses the ability to explain whether a record is complete, duplicated, stale, or still pending confirmation. A network break interrupts more than transmission time. It breaks a chain of operational meaning: when the value was produced when the gateway received it whether the platform ever acknowledged it whether the record was already consumed downstream whether the replayed record should still affect alarms or reports If the gateway does not preserve that chain, recovery produces a pile of late data with no trustworthy context. The result is usually: reports polluted by late-arriving values treated as current state duplicate alarm evaluations after replay operations teams unable to tell whether a gap came from field collection failure or upstream delivery failure

Infra
Interesse
dev.to

Matrix Chain Multiplication: Making the Skeleton Concrete

Chapter 1 introduced the MCM skeleton. This chapter fills in the one line that was left abstract: tempAns. For Matrix Chain Multiplication specifically, that line becomes the cost of multiplying two groups of matrices together after splitting the chain at position k. Everything else — the i, j boundaries, the k loop, the recursion into both halves, the min aggregation — comes directly from Chapter 1. You're given an array of dimensions representing a chain of matrices. arr = [40, 20, 30, 10, 30] Matrix A1: 40 × 20 (arr[0] × arr[1]) Matrix A2: 20 × 30 (arr[1] × arr[2]) Matrix A3: 30 × 10 (arr[2] × arr[3]) Matrix A4: 10 × 30 (arr[3] × arr[4]) The matrices must be multiplied in order — you can't rearrange them. But you can choose where to put the parentheses, and different parenthesizations have different costs. (A1 × A2) × (A3 × A4) A1 × (A2 × (A3 × A4)) (A1 × (A2 × A3)) × A4 All three produce the same result matrix. But the number of scalar multiplications required is different for each. Find the parenthesization with the minimum cost. To multiply a matrix of dimensions a × b by a matrix of dimensions b × c, you perform a × b × c scalar multiplications, and the result is a × c. A = 40 × 20 B = 20 × 30 A × B costs: 40 × 20 × 30 = 24,000 Result: 40 × 30 This formula — arr[i-1] × arr[k] × arr[j] — becomes the combining cost in the MCM recurrence. This indexing is important and trips people up. Matrix Ai has dimensions: arr[i-1] × arr[i] A1 = arr[0] × arr[1] A2 = arr[1] × arr[2] A3 = arr[2] × arr[3] A4 = arr[3] × arr[4] If arr has n elements, there are n-1 matrices. For arr = [40, 20, 30, 10, 30] with n = 5, there are 4 matrices. This is why the initial call is solve(1, n-1) not solve(0, n-1). The matrices are indexed 1 through n-1, not 0 through n-1. From Chapter 1, the skeleton is: def solve(i, j): if i >= j: return 0 ans = INF for k in range(i, j): left = solve(i, k) right = solve(k + 1, j) tempAns = left + right + cost(i, k, j) ← fill this in ans = min(ans, tempAns)

Dev
Interesse
dev.to

Top IoT Development Tools & Platforms for 2026

Developing Internet of Things (IoT) applications requires a balanced combination of hardware controls, low-latency protocols, real-time data ingestion, and cloud-scale infrastructure. With dozens of tools flooding the market, choosing the right tech stack can be overwhelming. Here is a curated breakdown of the top IoT development platforms and tools in 2026, categorized by their primary role in the ecosystem. Best for: Fast device management, seamless telemetry ingestion, and rapid UI dashboard creation. Key Features: Real-time MQTT message broker, end-to-end device onboarding, automated alerting systems, and customizable telemetry visualization panels. Pros: Exceptionally quick setup time, clean interface, and minimal infrastructure setup to get edge devices streaming data. Cons: Designed for agile projects and growing device fleets; massive enterprise deployments may require specific integrations. Best for: Enterprise-grade cloud infrastructure, high scalability, and serverless integration. Key Features: Native support for MQTT, HTTP, and WebSockets. Seamlessly integrates with AWS Lambda, DynamoDB, and Greengrass for edge computing. Pros: Unmatched scalability, robust security mechanisms, and granular device shadow policies. Cons: Steeper learning curve and complex pay-per-message pricing model for beginners. Best for: Enterprise deployments and hybrid-cloud/edge architectures. Key Features: Built-in support for Azure Digital Twins, real-time stream analytics, and hardware-level security via Azure Sphere. Pros: Fantastic developer experience if you are already inside the .NET / Azure ecosystem. Cons: Can become expensive quickly under heavy message volumes. Best for: Custom open-source dashboards and telemetry analysis. Key Features: Drag-and-drop dashboard builder, built-in rule engine for alerts, and multi-protocol support (MQTT, CoAP, HTTP). Pros: Can be easily self-hosted using Docker or deployed as a managed cloud service. Cons: Advanced features like multi-t

InfraDev
Interesse
dev.to

Hybrid Search and Reranking: What Each One Actually Buys You

Enterprise RAG Engineering — Part 2 of 3 Part 1 argued that most enterprise RAG systems fail at the ingestion layer, before a single query is ever issued — and that the fix is layout-aware parsing rather than a better model. We built that stage. Docling with HeadingHierarchyOptions enabled to recover section structure, generate_parsed_pages on so the font-style signal survives, HybridChunker to split at structural boundaries rather than fixed token counts, and metadata carried through to every chunk: page number, filename, and the heading breadcrumb the chunk sits under. The result is an index where structure survived. Tables did not get flattened into a single text stream. Headings stayed attached to the content they govern. Chunks mean something on their own. That was the write path. This article is about the read path — what happens when the first query arrives. Because a corpus can be indexed perfectly and still fail to return the right chunk. The default retrieval pattern in almost every RAG tutorial is three lines long. Embed the question, run a nearest-neighbour search, return the top k. It works well enough in a proof of concept that most teams ship it. Then a user searches for WH-1000XM5. The system returns wireless headphones. All of them. Not that one. This is not a tuning problem, and no amount of prompt engineering fixes it. It is a property of how embeddings work. An embedding model compresses a span of text into a fixed-width vector that encodes what the text is about. A model number is not about anything. It is an opaque string with no distributional meaning, and whatever position it occupies in vector space is determined almost entirely by the words around it. Two chunks that both discuss wireless headphones sit close together regardless of which specific model each one names. The same failure appears with any exact identifier: a part number, an error code, a control reference, a contract clause, an internal project name. Enterprise corpora are full

IADev
Interesse
dev.to

Structured SaaS Application Logging for Request and Trace Context (4 Retention Layers)

TL;DR: The expensive part of structured application logging is usually the multiplication of event volume, event size, and retention time. Measure those three terms before choosing fields or storage. For a SaaS product whose nightly data pipeline must be searchable, I use four retention layers: compact operational events, short-lived diagnostic detail, quarantined security records, and aggregate metrics. Every event carries a request ID and trace ID when available; actor IDs are pseudonymous, and secrets or direct identifiers are removed before serialization. The schema is versioned so a logging change can be rolled back without making last night's records unreadable. This is a rollback decision, not a formatting contest. JSON helps machines parse an event, but JSON alone does not control cardinality, prove that masking happened, or preserve meaning after a deploy is reversed. The useful design starts with the bill, then works backward to the minimum evidence needed to answer: which pipeline run failed, which tenant was affected, which stage changed state, and can the previous application version still read the record? Start with a measurement from production-like traffic. For each event class, record events per pipeline run, mean encoded bytes per event, runs per day, and retained days. The rough storage input is: events per run x runs per day x bytes per event x retained days Indexing, replication, compression, and query work add system-specific costs, so they belong in separate measured columns rather than a universal multiplier. This distinction matters. Trimming 80 bytes from a rare deployment event may accomplish less than stopping a verbose per-row success event emitted millions of times. For a nightly pipeline, the dominant term is often discovered by grouping volume by event_name and schema_version, then comparing encoded bytes rather than row counts. Do that before debating retention. I would keep one completion event per stage and counters for routine row

InfraDev
Interesse
dev.to

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

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

IAMobile
Interesse
Phoronix

Blender 6.0 May End Up Removing OpenGL Support

With Blender 5.0 having nice Vulkan API support that's now grown mature, Blender developers are contemplating on potentially removing OpenGL support in Blender 6.0...

DevLinux
Interesse