Painel de Notícias

Tecnologia

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

Filtros
dev.to

EP05: How Simulcast works and what it's for

Episode 5 of 20 in the **PPCDN Low-Latency Live Streaming Course* — building a self-hosted, low-latency live-streaming CDN from protocols to global delivery. Originally published on the PPCDN docs site; see the full course index for all episodes.* Recap EP04 "Transport showdown: RTMP / SRT / WHIP" covered how the three ingest protocols handle loss Next EP06 "Publish/play security: signing, tokens and anti-hotlinking" By the end, the viewer should be able to: Explain Simulcast's underlying mechanism: why "one publish, multiple quality layers" needs no server transcode, and who encodes the layers, where, and how. Explain why Simulcast, not SVC — not an arbitrary choice but a trade-off set by the codec ecosystem today. EP02 said "no transcoding on the network side". EP04 covered the ABR degradation logic Simulcast is not "one encode that the server crops into layers" — the sender produces For example, a 1080p input with Compare the traditional way to get multiple layers without Simulcast: server-side transcoding Simulcast moves that work from "decode then encode on the server" to "encode several copies at no decode, no re-encode, just byte forwarding. That's the technical Someone who knows codecs may ask: isn't Scalable Video Coding (SVC) more bitrate-efficient? Why SVC's idea: the encoded output contains a base layer plus one or more temporal/spatial/ quality enhancement layers, with dependencies between layers. A forwarder can select a subset to forward according to the dependency structure. It is usually more bitrate-efficient than multiple fully independent encodes, but encoding complexity, actual gains and sender compute cannot be generalized. The cost is complexity and compatibility: the SFU/Edge must understand and correctly handle layer identifiers, dependencies and switch points, and the receiver must support the matching codec/profile/scalability mode. VP9 and AV1 commonly use SVC modes in WebRTC; whether H264/HEVC is usable depends on browser, system decoder

Infra
Interesse
dev.to

MCP connection errors explained: 404 on /sse, 406 Not Acceptable, session 400s, 402

MCP Streamable HTTP is one URL. The client POSTs JSON-RPC to it and may open a GET stream on the same URL; nothing else is part of the address. Most connection failures we see in our own server log are a client talking to a different address than the one it was given, or sending the wrong headers. Here is what each status means and the fix, with the exact messages the official TypeScript and Python SDKs send. /sse, or with /mcp appended The earlier HTTP+SSE transport (protocol revision 2024-11-05) opened a GET to an SSE URL and read an endpoint event that named a second URL for POSTs. Streamable HTTP (2025-03-26 and later) replaced both with a single URL. A client that still speaks SSE-only, or a bridge that guesses, appends /sse and gets a 404 from any Streamable HTTP server. Some clients also append /mcp to a URL that already ends in the server path. Fix: use the URL exactly as published. For a client that only speaks stdio, run a bridge such as npx mcp-remote https://tanod.dev/mcp --transport http-only so it does not fall back to SSE. For Tanod, every server is Streamable HTTP: https://tanod.dev/mcp and the focused servers such as https://tanod.dev/mcp/docs; /mcp/docs/sse, /mcp/docs/mcp and /api/mcp are all 404. A POST must carry Accept: application/json, text/event-stream, because the server may answer a request either with one JSON body or with an SSE stream. Both SDKs reject anything else with this message. A GET (the optional server-to-client stream) must accept text/event-stream. Curl and most HTTP libraries send Accept: */*, which some servers take and others do not; set the header explicitly. The request body is JSON-RPC and must be sent as Content-Type: application/json. Form encoding, a missing header, or text/plain from a quick script all produce this. A stateful server expects an initialize request first. Its response carries an Mcp-Session-Id header, and the client must send that header on every later request. Calling tools/list before initialize, or

Dev
Interesse
dev.to

EP04: Transport showdown — RTMP / SRT / WHIP

Episode 4 of 20 in the **PPCDN Low-Latency Live Streaming Course* — building a self-hosted, low-latency live-streaming CDN from protocols to global delivery. Originally published on the PPCDN docs site; see the full course index for all episodes.* Recap EP03 "Content sovereignty: control it yourself, the ultimate moat" wrapped up Module 0 (breaking out) Next EP05 "How Simulcast works and what it's for" By the end, the viewer should be able to: Explain the concrete loss/latency trade-off mechanisms of RTMP, SRT and WHIP, rather than the coarse "TCP bad, UDP good" conclusion. Understand why this project keeps WHIP and SRT side by side instead of picking one and dropping the other — they solve different problems. Module 0 covered three dilemmas and the overall architecture. From this episode we enter RTMP (Real-Time Messaging Protocol) usually runs over a persistent TCP connection; after the This design made sense in its era: TCP's reliable delivery saved the protocol from handling if any . That wasn't a problem when RTMP was designed (typical scenarios were stable wired uplinks), but RTMP's place in the ecosystem is thin now: Flash's end removed it from the playback side (EP01), SRT (Secure Reliable Transport) sits on UDP and targets low-latency reliable transport over ARQ: the receiver detects missing packets by sequence number and sends NAK; the sender retransmits while data is still timely. It solves "how to recover loss". TSBPD: schedules delivery based on send timestamps and the negotiated latency, absorbing jitter and restoring send timing. It solves "when to deliver" and is not a synonym for the ARQ window. TLPKTDROP / stale-packet drop: when enabled and its conditions are met, abandons data that can no longer be delivered on schedule, letting both ends skip stale packets. It solves "when to stop remediating", and should not be written as "TSBPD drops packets automatically". The latency parameter gives retransmission and jitter absorption a time budget: larger

InfraDev
Interesse
Hacker News

Bevy 0.20

Article URL: https://bevy.org/news/bevy-0-20/ Comments URL: https://news.ycombinator.com/item?id=50013610 Points: 13 # Comments: 1

GamesDev
Interesse
dev.to

Why Your AI Cost Dashboard Never Matches Your Invoice

If you've ever looked at a token counter after a long session with Claude Code, Codex, or Copilot and tried to reconcile it with your actual bill, you've probably hit a wall. Here's why that number is structurally unreliable, not just imprecise. 1. Most dashboards show list-price tokens, not what you paid. https://code.claude.com/docs/en/analytics?utm_source=devto&utm_medium=post&utm_campaign=cost-estimate). If you're on a flat-rate plan like Max or Copilot Business, there's no per-request price at all — you're paying for a quota, and the tool still shows you an API-equivalent cost that has nothing to do with your invoice. 2. Cache pricing moves 60-75% between model launches, and nothing recalculates your old numbers. 3. Flat-rate limits track what's reserved, not what's used. https://www.devclass.com/ai-ml/2026/04/01/anthropic-admits-claude-code-users-hitting-usage-limits-way-faster-than-expected/?utm_source=devto&utm_medium=post&utm_campaign=cost-estimate), and some found their own console analytics blank when they went looking for an explanation (https://www.theregister.com/2026/01/05/claude_devs_usage_limits/?utm_source=devto&utm_medium=post&utm_campaign=cost-estimate). There's no visibility into which project or session actually consumed the quota. 4. None of the usage dashboards know about your git history. https://github.com/orgs/community/discussions/207634). An open ccusage issue asks for the same thing (https://github.com/ryoppippi/ccusage/issues/281). Vendors meter by workspace or seat. Nobody meters by project or client, because that mapping only lives in your repo. https://github.com/jdleonruiz/estela-cli?utm_source=devto&utm_medium=post&utm_campaign=cost-estimate), an open-source CLI that reconstructs hours and AI cost per project and client from your local agent logs and git history instead of trusting any single vendor's dashboard. It doesn't solve the pricing-page problem — nothing can, short of vendors publishing real per-request invoices — but it

IADev
Interesse
dev.to

Margaret Hamilton, Apollo Programmer, Dies at 90: Legacy in Space Exploration Endures

Analytical Reconstruction of Margaret Hamilton's Legacy Announcement System The announcement of Margaret Hamilton's passing triggers a multifaceted system designed to honor her legacy, preserve her contributions, and ensure her impact endures. This system, comprising five interrelated mechanisms, underscores the complexity of commemorating a figure whose work revolutionized software engineering and space exploration. By examining these mechanisms, we reveal the delicate balance between public recognition, historical accuracy, and personal respect—all critical to maintaining Hamilton's legacy as a trailblazer for women in STEM and a cornerstone of modern technology. Impact: Initiation of closure and historical documentation. Internal Process: Obituary writers and editors meticulously verify biographical details, including age and achievements, to ensure accuracy. This step is foundational, as it sets the tone for all subsequent mechanisms. Observable Effect: The publication of the obituary in The New York Times adheres to rigorous journalistic standards, providing a credible and authoritative record of Hamilton's life and work. Stability: The system remains stable if accuracy and timeliness are maintained. Failure occurs with inaccurate reporting or delayed publication, which could undermine public trust and historical integrity. Analytical Insight: This mechanism is the linchpin of the entire system. Its success ensures that Hamilton's legacy is introduced to the public with precision and respect, laying the groundwork for meaningful engagement and preservation. Impact: Broad public awareness of Hamilton's passing and legacy. Internal Process: Media outlets prioritize her pivotal achievements, such as her work on the Apollo missions, over personal details. This focus aligns with expert analysis, which emphasizes her professional contributions. Observable Effect: Widespread sharing of the obituary and related articles across digital and print platforms amplifies her

Geral
Interesse
dev.to

SMS Event Notification Alerts with Delivery Status Polling for Fitness Waitlists

The page says waitlist_offer_expired_without_delivery, and the on-call view is painfully specific: a fitness class seat was offered, the offer expired, but the member-facing state never moved beyond "sending." The team wanted SMS event notification alerts; the Node.js worker submitted one, yet delivery status never became terminal. At that point the seat may already have gone to somebody else. The useful response is not to send SMS twice and hope. Short answer: use SMS as the secondary, urgent channel for a short-expiry waitlist offer, keep the message template and business state in your application, and poll provider delivery state until it becomes sent, delivered, failed, or undeliverable. Put per-user cooldowns, a country allowlist, and a spend circuit breaker in front of every send. Resend only a recoverable failure; allow cancellation only while a scheduled message remains pending. That is the least complex design that preserves a defensible SLO. It also puts ownership in the right place: the application owns what the message means, when the offer expires, and whether another attempt is legitimate; the SMS service owns transport. A provider template can be a deployment artifact, but it should not become the source of truth for product behavior. The page arrived too late because it described a business outcome without exposing the transport state that led to it. Work backward. A waitlist worker accepted an event, checked whether the member and destination country were eligible, rendered fixed copy, submitted one message, and then polled status and events. The earlier signal is a growing count of offers whose SMS state has remained nonterminal beyond the polling budget, split by provider, destination country, and message age. Do not page on every failed response. Some failures are final, some may be recoverable, and a single member's unreachable phone is not necessarily a platform incident. Page when the service-level symptom threatens the waitlist notification S

Dev
Interesse
dev.to

Discussion on Computer fundamentals 2

Hello everyone, my name is Oluwademilade Ala. I am currently studying and understanding Cloud computing. On today's topic I will be discussing about the CPU, RAM, Storage, Motherboard and OS (Operating System). Before I begin, here is a side note of what I learned from my late night youtube series: The earliest recognised device for computing was the “Abacus”, invented in Mesopotamia around 2500 BCE. It is a hand operated calculator that helps add and subtract many numbers. It also stores the current state of the computation much like our hard drive does today If you want to learn more about that, I'll leave the link at the end of the lesson. 1. CPU CPU which stands for Central Processing Unit excutes instructions. Our programs are made up of instructions that the CPU executes. There are three terms we need to understand. a. Core: This is an individual processing unit within a CPU. A CPU can contain multiple cores, most modern CPUs contain multiple cores b. Clock speed: This roughly indicates how many CPU cycles occur per second, and it is usually measure in GHz(gigahertz). Note that a higher GHz alone doesn't guarantee that you'd have a faster computer because other things matter, like the CPU's architecture and workload. c. Instruction: This is a basic operation that the processor can execute I saw that later in AWS, I'd encouter something like EC2 and vCPU. A vCPU represents virtualised CPU capacity that is made available to your virtual machine 2. RAM so let us imagine you are working on your desk/table. Your *SSD (Storage) * is the drawer containing all your books Your RAM is where you put the books you are currently using Your CPU is you, actively working on your maths assignment in your book (or maybe you're sneak watching NBA, I see you 👀.), and that's about it One thing to note is that RAM is volatile, its content normally disappear when power is removed. That's why RAM isn't where you permanently store your books (documents, images,etc). 3. Storage Comput

Infra
Interesse
dev.to

EP03: Content sovereignty — control it yourself, the ultimate moat

Episode 3 of 20 in the **PPCDN Low-Latency Live Streaming Course* — building a self-hosted, low-latency live-streaming CDN from protocols to global delivery. Originally published on the PPCDN docs site; see the full course index for all episodes.* Recap EP02 "The self-hosted CDN answer: PPCDN architecture overview" ended by naming the principle of content sovereignty and deferring the trade-offs to this episode Next EP04 "Transport showdown: RTMP / SRT / WHIP" By the end, the viewer should be able to: Break "content sovereignty" from a slogan into three concrete, judgeable risks: takedown risk, throttling risk, and data-sovereignty risk. State how far self-hosting can respond — not "self-hosting = no censorship" but "decision-making moves from a third party to yourself": two different propositions. Honestly list what self-hosting makes you responsible for — this episode is about trade-offs, not a one-sided list of benefits. Last episode closed with: "under your control" is a harder moat than any performance number. EP01 §2.3 said "handing your lifeline to a third party you can't control". This episode splits When you depend on a third-party live/RTC cloud, whether your business keeps running ultimately terms that let the platform suspend or terminate an account , triggered by content More common and harder to notice than a plain takedown is throttling: a third party can adjust This is the most easily overlooked, yet consequential: where servers that store, process and forward but not the only one. The operator's location, where the data controller/processor This must be stated clearly, or the whole episode is marketing: self-hosting does not exempt you ; self-hosted or third-party, your business still follows the Architecturally, PPCDN already has capabilities that directly serve "you decide where data lands": Physical deployment location is entirely your own choice, and the isolation boundary is set by the node pool: Origin/Edge nodes can be deployed at whatever ph

Infra
Interesse
dev.to

Overcoming Onboarding Challenges: Strategies for Navigating Complex Codebases with Limited Handover

Understanding the Challenge Joining an existing project with a complex codebase and limited handover is like stepping into a maze blindfolded. The initial disorientation isn’t just common—it’s expected. Here’s why: the Onboarding Process is often rushed, leaving you with fragmented knowledge from handover meetings and a code repository that feels like a foreign language. Simultaneously, the Environment Constraints stack up: outdated documentation, a web of technologies (Docker, Airflow, APIs), and team dynamics that may offer little mentorship. The result? A Knowledge Acquisition bottleneck that slows your ability to map the Architecture Understanding and clarify your Role Clarification. The overwhelm isn’t random—it’s systemic. When the Onboarding Process skips critical steps like environment setup or task prioritization, you’re forced to reverse-engineer the system. This triggers a cascade of Typical Failures: you might misinterpret how components interact (e.g., assuming an API call is synchronous when it’s asynchronous), or overlook dependencies (like a Docker container relying on a specific environment variable). The pressure to deliver under Productivity Expectations exacerbates this, leading to rushed changes that introduce bugs or inefficiencies. Documentation is often the first lifeline you reach for, but it’s frequently outdated or missing. This isn’t just an inconvenience—it’s a Technical Complexity amplifier. For example, if the docs describe an Airflow workflow that was refactored six months ago, you’ll spend hours debugging a non-existent issue. The causal chain here is clear: impact (wasted time) → internal process (misguided debugging) → observable effect (delayed productivity). Without a clear Architecture Understanding, you’re at risk of Misunderstanding System Behavior. For instance, if you don’t grasp how data flows between pipelines, you might modify a transformation step that breaks downstream processes. The mechanism of risk formation is strai

Dev
Interesse
dev.to

Grass Gate: my feeds only unlock after an open-weight model sees me outside

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass Grass Gate is a doomscroll lock that only opens outdoors. A browser extension blocks the sites I lose hours to. When I hit one, I don't get a guilt-trip timer. I get a quest. I open Grass Gate on my phone, and it picks a real place near me from OpenStreetMap: 💧 Mallard Lake is 330 m south. Walk there and photograph the water. I pocket the phone and walk. When I arrive, it buzzes and chimes. I take the photo, and an open-weight vision model running on the phone checks two things: am I actually outdoors, and is that actually water? If both pass, I get a one-time 6-digit code. I type it into the blocked page, and my feeds open for 30 minutes. Then they lock again. The screen is only the lock. Everything that counts happens outside. Today Quest complete Field journal It's for anyone whose thumb opens a feed before their brain has decided to, which is me. A few things make it more than a gimmick: Real places, not "go for a walk." Quests come from what's actually mapped near you: trees, lakes, parks, benches, viewpoints, public art. Each shows a walking time and direction. Pocket navigation. A compass arrow that turns with your phone, a progress ring, and a buzz when you arrive, so you aren't staring at the screen on the way. A field journal. Every finished quest is saved with its photo, place and time, on the phone only. Streaks, km walked, minutes outside, and 12 collectible stamps, one per quest type. A home screen that follows the real sky. The landscape changes with the time of day and season, with a line like "2h 10m of daylight left · sunset 6:44 PM", worked out on the device. The blocked page keeps count: "Try #7 today." Seeing that number does more than any timer did for me. Try it on your phone: grassgate.vercel.app Open it in your phone's browser, allow location and camera, and tap Find me a quest. Add it to your home screen to install it. After the first photo check, the v

IAMobile
Interesse
dev.to

From a 345-video YouTube playlist to a news digest grouped by topic

I follow a lot of YouTube channels about AI, tech and current affairs, and I make daily news podcasts in Italian. Watching everything is impossible, so I built a small pipeline that does the first pass for me: it takes a whole playlist, summarizes every video and groups the summaries by topic into one HTML page I can read in ten minutes. This is what the output looks like (a sample: 8 of the 43 topics from yesterday's run, only the AI and tech ones): Each topic has a short synthesis written by the LLM and the list of videos that talk about it, linked to YouTube. 1. Transcripts with Supadata. The playlist IDs and the native captions come from the Supadata API through its Python SDK (client.youtube.playlist.videos() and client.transcript(..., mode="native", lang=...)). At this stage no video or audio is downloaded. The language is inferred from the title and checked against the lang field of the response, because some videos have dubbed tracks in other languages. Requests go through a small rate limiter (the free plan allows 1 request per second) and every transcript is cached on disk, so a restart only fetches what is missing. On this playlist, fetching a transcript took about 4 seconds per video (median). I wrote a separate tutorial with the full, working code for this step: PASTE_TUTORIAL_LINK_HERE 2. Fallback for videos without captions. Only those get their audio downloaded with yt-dlp and transcribed locally with faster-whisper (large-v3-turbo, batched, on a 6 GB RTX 3060: about 13 seconds for 12 minutes of audio). 3. Summaries. Each transcript is summarized in Italian by an LLM (GLM 5.3 Flash in my setup), four videos at a time. Long transcripts are split into 6,500-word chunks. The videos I care most about get an extra pass that checks the summary against the transcript for missing points. 4. Grouping by topic. The summaries are grouped in batches of 20, then the batch topics are merged into the final list. This merge was the weak spot: with 345 videos the sin

DevIA
Interesse
dev.to

Error Handling for AI Agent Web Tools: Retryable Errors, Timeouts and Partial Pages

Error Handling for AI Agent Web Tools: Retryable Errors, Timeouts and Partial Pages An agent loop that treats every failure the same way does two expensive things. It retries pages that will never load, and it pastes raw error text into the model as if the model were the retry layer. Web tools fail in two different shapes, and only one of them should ever reach the model. This guide is the handling layer in front of the AgentSearch web tools on the Pocket Agentic Portal: Web Search, Web Extract and Web Render. Each call is $0.005 in USDC, over x402 on Base or MPP on Tempo, with no signup and no API key. The payment client itself is covered in Pay-per-call APIs for AI agents. What follows is what you do with the response. The call did not go through. The portal answers with a non-2xx status and a JSON body that is not the usual envelope: { "error": { "code": "UPSTREAM_ERROR", "message": "...", "retryable": true } } The tool never returned a page. Retry in your own code when retryable is true, and honor a Retry-After header. A 503 with Retry-After means the service is temporarily not offered. A 400 with UPSTREAM_REJECTED (retryable: false) means the service refused your request body; sending the same body again gets the same answer, so fix the input instead of retrying. If the supplier does not deliver, the portal settles nothing on x402, so that attempt is not a paid call. (With an MPP push payment the transfer has already moved; it stays redeemable for 15 minutes on a retry with the same credential.) The call went through, and the website (or the search backend) did not. Search, Extract and Render still answer HTTP 200. Through the portal that body is wrapped: { "portal": { "provenance": "third-party-supplier", "serviceId": "agentsearch-web-extract-v1", "schemaCheck": "passed" }, "data": { "url": "https://example.com/slow", "requested_url": "https://example.com/slow", "markdown": "", "error": { "code": "TARGET_TIMEOUT", "retryable": true } } } data is the supplier's

IADev
Interesse
dev.to

Are $2 Bills Actually Worth Anything? I Built a Free Tool to Find Out

Everyone has the same story. A $2 bill shows up in change, at a garage sale, in grandpa's drawer, and the first question is always: is this worth more than two dollars? Short answer: usually no. Long answer: sometimes very much yes, and it comes down to details most people never check. This surprises people. The $2 bill is still printed today. The Bureau of Engraving and Printing runs new series whenever the Federal Reserve orders them. Your local bank can order a strap of them if you ask. So a random circulated $2 bill from recent series is worth exactly $2, no matter how cool it feels to hold one. A few things move a $2 bill above face value: Series year. Older series like 1928 and 1953 with red seals trade at real premiums. Even the famous 1976 series, the first of the modern era, can carry a small premium in crisp uncirculated condition. Seal color. Red seal, brown seal, green seal. The seal tells you the note's legal type and era, and collectors pay for the older ones. Star notes. If the serial ends in a star instead of a letter, it is a replacement note printed when a sheet was damaged. Fewer exist, so they carry a premium on their own. Condition. This is the big one people underestimate. A crisp uncirculated note can be worth many times the same note after years in a wallet. Fancy serial numbers. Ladders, radars, repeaters, low serials. A $2 bill with a solid serial or a true ladder is a different animal entirely. I got tired of answering "what is my $2 bill worth" from memory, so I built a free $2 bill value guide that breaks it down by series, seal color and condition. There is also a serial number lookup on the same site if you want to check whether your bill's serial matches a collectible pattern. No account, no sign-up, everything runs in your browser. If you have ever wondered about the $2 bill sitting in your drawer, now you can get an actual answer in about ten seconds.

Geral
Interesse
dev.to

EP02: The self-hosted CDN answer — PPCDN architecture overview

Episode 2 of 20 in the **PPCDN Low-Latency Live Streaming Course* — building a self-hosted, low-latency live-streaming CDN from protocols to global delivery. Originally published on the PPCDN docs site; see the full course index for all episodes.* Recap EP01 "The interactive-video dilemma": the latency paradox, the retiring RTMP/HTTP-FLV, the single-point and sovereignty paradox Next EP03 "Content sovereignty: control it yourself, the ultimate moat" By the end, the viewer should be able to: Draw PPCDN's topology on a whiteboard: publisher, Origin, Edge, viewers, and where the control plane handling scheduling/signaling sits. Explain the engineering response PPCDN gives to each of EP01's three dilemmas — the low-latency path, the real-time protocol choice, and a controllable distributed topology. Explain the three concrete engineering reasons "self-hosting can beat big-cloud services on cost-effectiveness", rather than the empty claim "self-hosting is cheaper". Last episode we broke down three dilemmas: dynamically-accumulating latency across the PPCDN's media path has just three tiers, plus a control plane that never touches media data: Publisher: the in-house ppobs (deeply customized from OBS Studio), or any standard WHIP/SRT publisher. Origin: the source that receives the publish stream — the sole entry for media into the system. Edge (multiple): pulls from Origin and serves viewers; multiple viewers of the same stream on one Edge share a single origin-pull link. ppcenter (control plane): scheduling, auth, node management, P2P signaling, billing metadata and health reports. It carries no media and proxies no media packets. Keeping the control plane and media plane fully separate is the most fundamental design If scheduling/auth "decision logic" shared a path with audio/video, a control-plane wobble the control plane This Another easily missed premise is clock synchronization. Short-lived credentials' iat/exp/txTime, cross-device latency instrumentation and fault d

InfraDev
Interesse
The Verge

US plans livestream of execution by firing squad

The United States' execution of the Fort Hood shooter will be livestreamed, anonymous officials from the Defense Department told the BBC and Associated Press. The planned execution of Nidal Hasan, the former US Army major convicted of killing 13 people at the Texas military base, was announced this week. He is scheduled to be executed by firing squad on December 3rd at 2PM ET. The Verge contacted YouTube, Twitch, TikTok, Meta, Rumble, and Kick to ask if they plan to allow the livestream to be aired on their platforms. None responded before publication. "We'll make sure that people are able to watch it, that it's public, because people need … Read the full story at The Verge.

Geral
Interesse
dev.to

Desenvolvimento de Kernels de Alta Performance com TileLang

O que é O Tile Language (tile-lang) é uma linguagem de domínio específico (DSL) projetada para simplificar a criação de kernels de alto desempenho para GPU, CPU e aceleradores. Utilizando uma sintaxe baseada em Python integrada a uma infraestrutura de compilador desenvolvida sobre o TVM, o tile-lang permite que você se concentre na produtividade sem perder o controle das otimizações de baixo nível essenciais para a performance de hardware. A ferramenta é voltada para desenvolvedores e engenheiros que criam ou otimizam kernels de alta performance, como GEMM, Dequant GEMM, FlashAttention e LinearAttention. O ecossistema oferece suporte multiplataforma para diferentes arquiteturas de hardware, incluindo compatibilidade com caminhos de hardware da NVIDIA (CUDA), AMD (ROCm), Apple (Metal com suporte a tensor cooperativo), processadores tradicionais (via backend LLVM) e NPUs, como o Huawei Ascend 950. Para iniciar o desenvolvimento utilizando o TileLang, você pode adotar as seguintes etapas: Acesse a documentação: Verifique os guias oficiais de instalação para configurar o seu ambiente de desenvolvimento. Estude os exemplos: O projeto disponibiliza diversos códigos de exemplo práticos, abordando desde operações básicas até implementações complexas de atenção esparsa. Pratique com desafios: Utilize o "TileLang Puzzles" para aprender os conceitos da linguagem de forma prática. Configure o ambiente de desenvolvimento: Instale a implementação do TileLang LSP (Language Server Protocol) no seu editor de código para contar com diagnósticos precisos, informações sobre layouts e dicas visuais dos formatos de buffers durante a programação. pip install tilelang 🔗 Repositório oficial: https://github.com/tile-ai/tilelang 📚 Mais conteúdos do canal: https://gist.github.com/VictorHugodaSilvaSousa/d1e955e97cd27fc662351821d0a3fdbe

Dev
Interesse
dev.to

Your Self-Hosted AI Assistant Keeps Forgetting You. Here Is How We Measured a Fix.

Your self-hosted AI assistant keeps forgetting you. Here is how we measured a fix. Every guide to running your own AI assistant covers the easy half: install Ollama, point a web UI at it, add an API key for a bigger model when you need one. None of them warn you about the hard half, which shows up around week three. The assistant starts forgetting things you told it in week one. Not in a dramatic way. It just re-asks your preferences, loses a project detail you corrected twice, and confidently invents an answer that used to be on a sticky note inside its own context window. We hit this while building ScallopBot, an open-source self-hosted assistant (we work on it, and this post links to our site once at the end). Rather than guess at a fix, we tried to measure the problem and the fix against a published benchmark. Here is what we learned, in the order you will probably need it. "Bad memory" is three different bugs wearing one coat: Storage failure. The fact was never written down anywhere. When the conversation ended or got compacted into a summary, it was gone. If your assistant only remembers what fits in the context window, this is you. Retrieval failure. The fact was stored, but the search could not find it. You asked about "the container thing" and nothing came back for "Docker configuration" because the retrieval was pure keyword, or pure vector, and the phrasing did not line up. Fabrication failure. Retrieval found nothing relevant, and instead of saying so, the model generated a plausible answer from weak matches. This is the worst one, because it erodes trust in the two cases where memory was working fine. Which fix you want depends on which bug you have. Dump the raw transcripts and grep them. If the fact is in the transcript but the assistant still forgot it, you have a retrieval problem, not a storage problem. Keep the whole memory store in one file. We use SQLite: memories, relations between memories, and session transcripts all live in one database. Th

IADev
Interesse
dev.to

Flash Loan Attack Vector Analysis: Robinhood

Flash Loan Attack Vector Analysis: Robinhood Target Protocol: Robinhood (TVL: $15018.9M) Protocol: Robinhood (DeFi “Robinhood” style platform) – TVL ≈ $15.0 B across Ethereum and L2 roll‑ups Date: 8 Oct 2026 Prepared by: Senior DeFi Security Researcher – [Your Name] Robinhood is a high‑throughput, permission‑less trading platform that aggregates liquidity from multiple AMM pools, offers margin/leveraged positions, and provides a “zero‑fee” user experience. Its core value proposition is the ability to open large, leveraged positions instantly, which makes it a prime target for flash‑loan‑driven attacks. Our analysis focuses on the flash‑loan attack surface across the following layers: Layer Primary Function Flash‑loan exposure 1. Price Oracle & Market Data Supplies spot & index prices for collateral valuation, liquidation triggers, and funding rates. Susceptible to price manipulation via short‑lived flash loans on underlying AMM pools or oracle feeds. 2. Collateral & Liquidation Engine Calculates health factor, triggers liquidations, distributes rewards. Can be forced into under‑collateralisation or “liquidation sandwich” attacks. 3. Leveraged Position Manager Opens, modifies, and closes leveraged positions using on‑chain margin contracts. Flash loans can be used to artificially inflate/de‑inflate position size before settlement. 4. Reward & Incentive Distribution Disburses RBN (Robinhood token) and fee rebates to liquidity providers and traders. Flash‑loan‑driven “reward‑drain” attacks can harvest disproportionate token rewards. 5. Governance & Upgradeability Proxy pattern with admin‑controlled logic contracts. Flash‑loan‑sponsored governance attacks (e.g., “flash‑vote”) if voting power can be temporarily acquired. Overall, the protocol’s reliance on external, on‑chain price feeds and its rapid, atomic settlement model create a high‑impact flash‑loan attack surface. While the codebase follows many industry best practices (e.g., re‑entrancy guards, checks‑effects‑int

Segurança
Interesse
dev.to

The benchmark score is the number to trust least

Claude Opus 5.5 scores 58 on Artificial Analysis's Intelligence Index, more than double the median of 26 for comparable reasoning models. That is the figure that gets quoted. It also tells you the least about what the model costs to run. The same evaluation run that produced the 58 recorded everything else. Getting through the Intelligence Index took Opus 5.5 some 260 million output tokens. The median model needed 81 million. That verbosity shows up on the bill: Artificial Analysis puts the average at $5.98 per task to run the index. Input is $4 per million tokens and output $20, both at the top of the range against medians of $2 and $10. The composite score hides the number an operator actually budgets against. A model that reaches the same answers in a third of the tokens, and lands a few points lower on the index, can be the better buy for a given workload. The headline will not tell you that. Latency is the other figure the score buries. Artificial Analysis reports a time to first token of 724.53 seconds against a 3.77-second median. Opus 5.5 is a reasoning model, so that window covers the extended-thinking phase before the first answer token appears; the site's end-to-end response time folds thinking time in for exactly this reason. Once it starts writing it is quick, 96 tokens per second against an average of 76. The wait is front-loaded into the thinking phase. For an interactive tool that difference is the whole user experience. For a batch pipeline it may not matter at all. The Intelligence Index scores neither case; it scores correctness and leaves you to discover the rest. None of this makes 58 a bad result. It places the model among the leaders on capability, with a 1M-token context window and text-plus-image input. The point is narrower: a single composite number is a ceiling on what the model can do, not a profile of what it does on your traffic. Treat it as a filter for the shortlist, then measure the candidates yourself, on your own prompts, counting

IA
Interesse
dev.to

Edge Servers as the Payload Delivery Surface: Sizing nginx and WordPress Exposure

Edge Servers as the Payload Delivery Surface: Sizing nginx and WordPress Exposure The Australian Cyber Security Centre published an advisory on 7 September 2026 on crypter services that keep malware undetected. The advisory received wide attention for the malware side of the story. That distinction matters. The advisory describes crypter-as-a-service operators who wrap malicious files with obfuscation, packers, anti-VM checks and optional process hollowing or DLL side-loading, then validate results against counter-antivirus services. The price of an automated crypt starts around US$25. The same service can re-process a file repeatedly, so signature-based detection has a short useful life. app="nginx" returned 310,393,217 assets. app="WordPress" returned 7,999,003 assets. These are fingerprint matches, not vulnerability counts. The nginx figure covers reverse proxies, load balancers and countless embedded appliances that ship with the same server string. The WordPress figure covers sites the platform identifies as running that CMS. Neither tells you which of them run a vulnerable plugin, and neither implies that any of them has been compromised worth stating clearly. ZoomEye answers an inventory question: which of our internet-visible services exist, where are they hosted, and when were they last observed. That is the prerequisite for judging whether a delivery path exists at all. It does not replace endpoint detection or mail filtering, and it cannot confirm that crypted malware reached anyone. Run app="nginx" and app="WordPress" scoped to your own ranges and confirm each match against an owner. Compare the result with your change and certificate records; unclaimed edge hosts deserve a patch or removal decision. Repeat monthly and work from the diff, so newly appeared deployments are reviewed promptly. Australian Cyber Security Centre, advisory of 7 September 2026, cited in the source list above. ZoomEye application fingerprint searches executed 26 September 2026 UT

SegurançaInfra
Interesse
dev.to

CS50x progress

Hi everyone! My name is Deivyd, and I'm a Brazilian future Computer Scientist. I'm excited to learn and gain knowledge through the CS50x course. I have taken other basic courses before, but I chose to do CS50x now because people say this course is pretty good and beginner-friendly. I'm still learning English, so, if there are any mistakes in my text, I apologize.

Dev
Interesse
dev.to

Negotiating Your Salary Like a Jedi: One Technique That Works

The Quest Begins (The "Why") I still remember the first time I got a job offer after months of interviewing. The recruiter threw out a number that felt… low. My inner monologue went something like: “Do I just take it? Do I ask for more? What if they think I’m greedy?” I ended up mumbling a vague “I’m flexible” and walked away feeling like I’d left gold on the table. That experience haunted me for a while. I kept seeing peers walk away with packages that were 15‑20 % higher, and I wondered what secret spell they were casting. After a few awkward conversations and a lot of googling, I discovered that the real magic isn’t about being loud or aggressive—it’s about anchoring the discussion with a precise, data‑driven number and then sticking to it. The technique that changed everything for me is simple: state a specific salary range based on concrete market research, and frame it as the minimum you need to consider the role. Not a wishy‑washy “I’m hoping for something around…”, but a tight band that reflects what comparable engineers are earning at similar companies, adjusted for your unique skills. Why does this work? It sets the anchor. The first number mentioned tends to bias the rest of the conversation. It shows you’ve done your homework. Recruiters respect candidates who come prepared with data. It gives you a clear walk‑away point. If they can’t meet the low end, you know it’s not a fit. I’ll share the exact wording I use now—feel free to steal it. Recruiter: What salary expectations do you have? You: I’m open to whatever is fair for the role. Why it fails: You’ve handed over control. The recruiter now lowballs you, and you have no data to push back. First, do your homework: Look at sites like Levels.fyi, Glassdoor, and Blind for the exact title, location, and years of experience. Note the median base salary and the 25th‑75th percentile range. Adjust upward for any rare skills you bring (e.g., expertise in a niche language, leadership experience, or a track record

Geral
Interesse
dev.to

Letting a team's AI run commands on shared computers: two layers of permissions and an audit log

Once ChatGPT or Claude can edit files and run commands on your computer through MCP, using it alone is easy. Sharing it with a team raises questions fast: Who asked the AI to do what, on which computer? What if a command the AI ran had an API key in it? Where do you see what someone did after they left the team? Disclosure: I'm the maker of BCD, a hosted remote MCP server that lets AI apps work on your own Mac, Windows or Linux computer. This week I shipped a team activity log, and these are the decisions behind it. Each computer runs a small agent that only opens an outbound connection to a relay. No ports are opened. AI apps (ChatGPT, Claude, Codex) connect by adding https://bcd.snack-wrap.com/mcp as a connector. In a team, each member shares computers they paired. What the computer's owner allows: read / write / run commands / control the screen / clipboard. A new computer starts read-only. The member's team role: admin (everything, plus managing members), builder (read, write, run commands), viewer (read). A member gets the narrower of the two. A builder on a computer its owner left read-only can only read. Every call on a shared computer is recorded, including the owner's own: who, on which computer, through which AI app (ChatGPT, Claude…) what they did (ran a command, read a file, deleted files…), the result, why it failed, how long it took the files and folders, web addresses (without their query) and commands the call named team changes: invitations, joins, role changes, removals, shared computers Never recorded: typed text, file contents, clipboard contents, output. Admins filter by member, computer, result and period, search by file path or command, and export CSV. The team owner picks how long entries are kept: 30, 90, 180 or 365 days. Only admins can see the log. Commands an AI runs tend to carry tokens. These are real outputs of the masking code: curl -H "Authorization: Bearer eyJhbGciOi..." https://api.example.com → curl -H "Authorization: *** ***" htt

IAInfraDev
Interesse