Painel de Notícias

Tecnologia

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

Filtros
dev.to

Podcast to text in Python: transcribe any episode from its RSS feed

I wanted transcripts of a few podcast episodes for notes and search. The options I found were either a web service with a monthly plan, or a Whisper tutorial that starts with "first, download the MP3". I didn't want to do the download part by hand every time, so I wrote a small script that takes whatever link I have, an RSS feed, an Apple Podcasts link or a direct audio URL, and gives me .txt, .srt, .vtt and .json. It's on GitHub: podcast-to-text (MIT). This post walks through the parts that turned out to be interesting. python podcast_to_text.py "https://podcasts.apple.com/us/podcast/hacker-public-radio/id281699640" --search "wl-copy" Apple Podcasts link -> RSS feed: https://hackerpublicradio.org/hpr_rss.php Episode: HPR4743: wl-copy (2026-10-07) Transcribing with faster-whisper 'base' (4 threads) ... Done: 15.7 min audio in 18 s (0.02 s per audio second), language en. Podcasting 2.0 added a tag to RSS. Some hosting platforms generate transcripts and put the link right into the feed. So before burning CPU, check the feed. I was curious how common that is, so I looked at the Apple top-chart podcasts for the US, UK, Germany and Austria (109 feeds I could read, checked on 8 October 2026; the script and the raw results are in the repo's research/ folder): Chart Newest episode has a transcript tag At least one episode has one US 5 / 49 5 UK 2 / 25 3 Germany 8 / 25 15 Austria 3 / 10 5 Total 18 / 109 28 So for roughly one in six popular shows the transcript is already there. German shows were ahead in this sample, mostly because many of them are hosted on Podigee: 18 of the 28 hits were Podigee feeds (a few shows chart in both Germany and Austria, so they count twice). The others were on Omny, Buzzsprout, Flightcast, Captivate and two smaller hosts. Most of them were WebVTT, some JSON, a few SRT or plain text. The script prefers JSON, then SRT, then VTT, then plain text, downloads it and stops. --force transcribes anyway. Reading the tag is a few lines with the standard l

Dev
Interesse
dev.to

Dev.to 피드가 내 데이터셋을 잠식했을 때

왜 이렇게 Dev.to가 내 전체 수집량의 30% 넘게 차지했는지 궁금했어? 처음엔 "아, 그냥 인기 글이라서" 정도로 넘겼는데, 대시보드에 뜬 비율이 30%를 웃도는 걸 보니 뭔가 심상치 않더라. 야, 58건이나 한 주에 다 모아버린 거 알았어? sources.json에 피드당 최대 개수를 제한해둔 게 없었거든. 그래서 매 사이클마다 Dev.to가 끝없이 새로운 글을 내보내고, 다른 소스는 뒤처지는 상황이었어. 결국 나는 sources.json에 "max_entries": 5 을 넣어줬다. 이렇게 하면 각 피드당 최대 5개만 수집하도록 강제할 수 있거든. 적용하고 나서 다음 주에 다시 확인했을 때, Dev.to 비중이 8%대로 떨어졌고, 전체 데이터가 훨씬 고르게 섞이기 시작했어. 정리하자면, 피드당 최대 수집 개수를 명시하지 않으면 예상치 못한 편향이 생길 수 있다. 특히 트렌드가 빠르게 변하는 플랫폼은 더더욱 조심해야 해. 직접 적용해봤는데, 설정 하나만 바꿔도 수집 균형이 확 달라진다. 이제는 새 피드 추가할 때마다 max_entries를 꼭 체크한다.

Dev
Interesse
dev.to

ผู้โจมตีที่ล็อกอินถูกทุกอย่าง: รีวิวงาน Radware Thailand PoP Launch จากมุมวิศวกร เขียนให้ผู้บริหารอ่าน

วันที่ 8 ตุลาคม 2026 Radware จัดงานเปิด PoP ในประเทศไทยสำหรับลูกค้าและพาร์ทเนอร์ ที่ Ritz-Carlton Bangkok ภายใต้ธีม "Investing in Thailand's AI and Security Transformation: Technology. Talent. Trust." ผมไปในฐานะวิศวกรเครือข่ายและความปลอดภัย และถ่ายสไลด์ไว้ 9 รูป โพสต์นี้คือสิ่งที่ผมคิดว่าสไลด์เหล่านั้นหมายถึง เขียนให้ผู้บริหารที่ไม่ต้องอ่าน log ของ WAF แต่เป็นเจ้าของความเสี่ยงที่ log เหล่านั้นอธิบายอยู่ ข้อมูลทั้งหมดมาจากสไลด์ ยกเว้นที่ระบุไว้ และเป็นเอกสารของผู้ขาย ตัวเลขจึงเป็น claim ไม่ใช่ผลวัด สไลด์เปิดงาน Customer & Partner Plenary, Ritz-Carlton Bangkok, 8 ต.ค. 2026 "Radware - This Is Us": ตัวเลขบริษัทตามสไลด์ (เป็น claim ของผู้ขาย) ภาพรวม Radware Cloud Security Services Radware ประกาศเปิด cloud security service center ในไทย (newsroom ของบริษัทลงข่าวในสัปดาห์ของงาน) สไลด์แนะนำบริษัทว่ามีพนักงาน 1,200 คน mitigation capacity ทั่วโลก 40 Tbps และ cloud security center มากกว่า 60 แห่ง ผมตรวจตัวเลขเหล่านี้จากแหล่งอิสระไม่ได้ และสไลด์ไม่ได้บอกว่าศูนย์ในไทยมี capacity เท่าไร ความหมายต่อธุรกิจ การ scrub traffic ใกล้ผู้ใช้ในไทยน่าจะลด latency ตอนถูกโจมตี และช่วยให้บริษัทที่อยู่ภายใต้กำกับดูแลตอบคำถาม "traffic ของเราไปที่ไหน" ได้ง่ายขึ้น แต่ต้องระวังจุดสุดท้ายนี้ การมีศูนย์ในไทยไม่ได้แปลว่า TLS termination หรือการเก็บ log จะอยู่ในไทยโดยอัตโนมัติ ให้ถามผู้ขายสองข้อนี้เป็นลายลักษณ์อักษรก่อนสรุปเรื่อง data residency "The customer who logs in perfectly": สิ่งที่ระบบเห็น เทียบกับสิ่งที่เกิดขึ้นจริง สถานการณ์ง่ายมาก username และ password ถูก API call ปกติ ลำดับขั้นตอนถูก ทุก control ที่มีบอกว่า "ลูกค้าดี" แต่จริงๆ คือ credential ที่ถูกขโมยมายิงซ้ำเป็นจำนวนมาก บอทที่เรียนรู้ flow ของแอป หรือสคริปต์ที่ทำตามขั้นตอนได้แม่นกว่าคนจริง ข้อสรุปของสไลด์: signature จับได้เฉพาะของที่รู้แล้วว่าไม่ดี มีแต่ behaviour เท่านั้นที่เผย intent ที่ไม่ดี มุมเทคนิค ผมเห็นด้วยกับทิศทาง และมีข้อแม้หนึ่งข้อ เมื่อผู้โจมตีถือ credential จริงและหมุนเวียนผ่าน residential proxy ไม่มี signature ที่ไม่ดีให้จับ behavioural detection จึงเป็นสิ่งเดียวที่ได้ผล ข้อแม้คือโมเดลแบบ behavioural มี false positive และต้

SegurançaInfra
Interesse
+1 fonte
dev.to

Building an AI Side Project That Actually Ships — Lessons from Shipping 3 MVPs

I remember the exact moment I almost gave up on AI side projects. I had spent three weeks building a context-aware documentation assistant that would sit on top of my team's internal wikis. The architecture was beautiful. The prompt engineering was surgical. And after all that polish, exactly zero people used it. That's when I realized something uncomfortable: I wasn't building products, I was building demos. The line between "working demo" and "usable product" is where most AI side projects go to die. So I changed my approach completely, and in the last two months, I've shipped three MVPs that real people actually use. Here's what I learned. When I talk to developers about AI side projects, the pitch is always the same: "I'm building this thing that parses meeting notes and generates action items." Or "It's like Notion, but AI-native." And then they show me a beautifully designed landing page and a GitHub repo with 400 commits. The reality is that you're competing with every other developer's midnight inspiration. The market is saturated. But worse than that, your own perfectionism is the real enemy. I've seen developers spend four weeks building a custom fine-tuning pipeline when the actual use case needed a simple fetch() call to an existing API. My first shipped MVP in this new batch was painfully simple: a browser extension that rewrites selected text to be more concise. The entire "AI" component is a single API call wrapped in a background script. The whole thing took me a weekend. And guess what? People use it because it solves one specific problem without any friction. If you're building an AI feature, the model is usually the least difficult part. The hard part is everything around it: the user flow, the latency management, the error states, the UI. Here's a concrete example. I built a small endpoint that takes a URL and returns a structured summary. The entire AI part looks like this: from openai import OpenAI import httpx client = OpenAI() def summarize_u

IADev
Interesse
dev.to

Orchestrating Multiple AI Agents with the OpenAI Decisions API and Responses API

Introduction Modern AI applications increasingly rely on multiple specialized agents rather than a single general-purpose assistant. A travel-planning application, for example, may have separate agents for hotel recommendations, flight search, hotel-and-flight packages, car rentals, and vacation-house rentals. The challenge is determining which agents should be invoked for each user request. The OpenAI Decisions API provides a lightweight way to classify incoming requests and identify the capabilities required to fulfill them. The selected agents can then use the OpenAI Responses API to perform their respective tasks, reason over available information, and generate results. This article demonstrates an architecture in which the Decisions API acts as the decision and routing layer, while a Python orchestrator coordinates specialized agents that use the Responses API. The examples use a travel-planning application, but the same architecture can be applied to enterprise support, financial services, shopping assistants, developer tools, and other multi-agent systems. Understanding the two APIs OpenAI Decisions API The Decisions API evaluates text or image input against explicitly defined questions. It supports three question types: Predicate: Estimates the probability that a condition is true. Choice: Selects one option from a predefined list. Score: Evaluates input against an ordered scoring rubric. For multi-agent orchestration, predicate questions are especially useful because multiple predicates can be evaluated against the same request. Each predicate can indicate whether a particular agent capability is needed. For example, a request to find flights, reserve a hotel, and rent a car can activate three separate agent capabilities. The Decisions API returns typed answers that the application can use to make routing decisions. It does not execute the agents itself. Official documentation: https://developers.openai.com/api/docs/guides/decisions OpenAI Responses API The

IADev
Interesse
dev.to

Midnight Mimosa: Malware Preinstalled in Android Firmware for Ad Fraud and Residential Proxying

1. Basic Information Article Title: The phone was compromised before the user turned it on: the rise of Midnight Mimosa Publisher: Bitdefender Labs Publication Date: 2026-10-08 Original: Bitdefender Labs Related Source: BleepingComputer Related Malware and Threat Groups: Midnight Mimosa Related CVE: None specified Related Products: MediaTek Android devices, Google Play Severity: Critical Midnight Mimosa is embedded in the firmware of low-cost MediaTek Android devices as a platform-signed system app, enabling unauthorized payload installation, privilege grants, ad fraud, and residential proxying. A malicious enabler is integrated into the device firmware as a platform-signed system app. After the initial boot, a native library decrypts and loads an embedded framework, which retrieves remote configuration from a C2 server disguised as a weather API and downloads additional modules. The Google Play Store is temporarily disabled to silently install a disguised payload app and grant dangerous permissions. A cover app performs ad fraud, or a no-icon app registers the device for a residential proxy service. Payloads are rotated frequently, updating hashes and visual artifacts. The threat actors utilize a system app embedded in the factory firmware alongside a remote C2 server. The specific injection phase and involved entities remain unconfirmed. Users: The firmware-resident enabler masquerades as a system component, has no launcher icon, and cannot be uninstalled through standard methods. Payload apps may resemble weather or AppLock apps; some also hide their launcher icons. Administrators: Indicators include unauthorized permission modifications by system apps, disabled Google Play Stores, silent package installations, and anomalous ad or proxy traffic. Devices preloaded with the malicious firmware are distributed and powered on. The system app successfully communicates with the C2 server and module CDN. Apply firmware updates if the vendor provides a clean version confi

SegurançaMobile
Interesse
dev.to

Scheduling Nightly Data Cleanup Around a Deadline — Cron Triggers and Worker Queues

The trade-off in a scheduled data cleanup is latency against cost, and for this class of work the latency side is nearly free to give away: nothing downstream notices whether the job fires at 02:00:00 or 02:00:07. So use the cheap scheduler — the one that reliably calls a public HTTP endpoint — and spend the engineering budget on the worker that does the deleting. For app-level cleanup a hosted cron plus a queue tends to fit better than a CI scheduler or a serverless cron trigger on its own, because the deletes then run inside the service that already owns the transaction boundaries. Take an edtech platform that sells seat licences to school districts. A trial lapses, and two scheduled things have to happen. The renewal reminder has to wait for the district's purchase-order deadline — send it a week early and it sits unread until the budget holder has already moved on, send it late and the seats go dark mid-semester. Then, thirty days after the trial ends, the trial roster has to go: student names, class lists, assignment attempts. Now put the two clocks side by side. The business deadline is a date, sometimes a date plus a local hour. The scheduler's accuracy is measured in seconds. That's three or four orders of magnitude of slack, which means trigger precision is worth close to nothing here and predictable cost is worth a lot. Jitter isn't the problem. The problems are missed windows and partial deletes. A scheduler that silently skips a night leaves a batch of rosters past their retention promise, and an audit doesn't care that the trigger was free. A cleanup that dies halfway through a 400,000-row delete leaves orphaned assignment attempts pointing at rosters that no longer exist. Both of those are worked out in your application, not in the scheduler's dashboard, and that's the actual reason CI-style schedulers make an awkward home for this: they're built to run repo workflows, so you end up shipping database credentials and a migration-shaped script into a run

InfraDev
Interesse
dev.to

Test a TCP Port from PowerShell with Test-NetConnection

When an application cannot reach a server, first check whether your computer can establish a TCP connection to the destination port. In PowerShell, Test-NetConnection does that without installing a separate utility. Test-NetConnection -ComputerName server.example.com -Port 443 The key result is TcpTestSucceeded. A value of True means the TCP connection succeeded from the machine and network where you ran the command. It does not prove that the application behind the port is working correctly. Use -ComputerName for a hostname or IP address and -Port for the TCP port you want to test: Test-NetConnection -ComputerName 203.0.113.25 -Port 22 The short alias tnc runs the same cmdlet: tnc server.example.com -Port 443 This is a PowerShell command, not a Command Prompt command. If you see “not recognized” in cmd.exe, open PowerShell and try again. The cmdlet is provided by the NetTCPIP module. To check whether it is available in your current session, run: Get-Command Test-NetConnection The test runs from your computer, so run it from the same machine and network path as the failing application. A test from a different network may get a different result because of firewalls, routing, VPNs, or access rules. For a script or a quick Boolean result, use -InformationLevel Quiet: Test-NetConnection -ComputerName server.example.com -Port 443 -InformationLevel Quiet For diagnostic details, request Detailed output: Test-NetConnection -ComputerName server.example.com -Port 443 -InformationLevel Detailed Useful fields include: RemoteAddress: the IP address selected after resolving the target name. Check that it is the address you expected. SourceAddress: the local address used for the connection attempt. PingSucceeded: whether an ICMP ping received a reply. TcpTestSucceeded: whether the TCP connection to the specified port succeeded. Keep the ping and TCP results separate. A host can block ICMP ping while still accepting TCP connections, or respond to ping while a particular TCP port is

InfraDev
Interesse
dev.to

How to Implement Video Consultation Presence UX in Python: Trust Scoped Tokens

Short answer: implement presence UX for a video consultation room as a server-authoritative membership protocol, let a scoped token decide who may observe or change one room, and treat WebRTC connection state as a separate local signal rather than proof that a participant has left. This distinction matters in a fintech consultation: a reconnecting adviser should not briefly appear to vanish, while an expired or wrong-room credential must never be translated into an innocent network wobble. Trust the server. A presence badge looks trivial because its vocabulary is tiny: joining, online, reconnecting, and left. The protocol behind it is not tiny. Browser sleep, duplicate tabs, a replaced access token, and an interrupted media path can all produce the same apparent symptom while requiring different UI and security decisions. If the client can publish arbitrary membership, a stale tab can resurrect itself. If the server equates a peer-connection transition with departure, a recoverable transport interruption becomes a false clinical handoff. Start by separating three questions that are often compressed into one green dot. Is this subject authorized to enter this room? Does the presence service still hold a live membership lease for this session? Is this browser's media connection usable? The authorization service answers the first, the room service answers the second, and the local WebRTC state helps answer the third. None may impersonate another. The W3C WebRTC specification defines RTCPeerConnection.connectionState and its connectionstatechange event. Its state vocabulary describes the aggregate peer connection; it doesn't define application membership, practitioner availability, or permission to read a fintech room roster. Use it as evidence for the local call experience — especially the difference between a connected path and a failed one — but keep the roster authoritative on the server. That yields a small event model. JOINED creates or refreshes one authorized se

Dev
Interesse
dev.to

Office to PDF API: Word, Excel and PowerPoint to PDF, pay per call

POST https://tanod.dev/v1/docs/to-pdf turns an Office document into a PDF. Send a public url or the file as file_base64 with its filename. It costs USD 0.01 per call, paid in USDC through x402, with no account and no API key. The same converter is the convert_office_to_pdf tool in the documents MCP server at https://tanod.dev/mcp/docs. Word: DOCX, DOC, ODT, RTF. Excel: XLSX, XLS, ODS. PowerPoint: PPTX, PPT, ODP. The format is detected from the content, not the file name. Other files get 422 unsupported_format; password-protected documents get 422 encrypted_document. curl -s -X POST https://tanod.dev/v1/docs/to-pdf \ -H "Content-Type: application/json" \ -d '{"url": "https://example.com/report.docx"}' Without payment the answer is 402 Payment Required with the price in USDC; an x402 client signs and repeats the call. Our own test call converted a 1.3 MB nine-page Word document to a nine-page PDF. The reply carries pages, the detected format, the PDF as base64 in file, active_content_removed and a fidelity_note. Macros never run. The converter's profile disables them, and conversion mode does not execute them. Unsafe links are removed. Only http, https, mailto and in-document links stay in the PDF; others such as javascript: or file: are dropped and counted. No local files. Documents that reference pictures or files on a local disk are refused with 422 unsafe_xml. Sandboxed and capped. Each job runs in a throwaway LibreOffice profile with resource limits and a 50-second wall clock; nothing is kept after the reply. LibreOffice renders the document, so layout and page breaks can differ from Microsoft Office. Calibri and Cambria are replaced by metric-compatible fonts, and Chinese, Japanese, Korean and Devanagari text renders with Noto fonts. Document to Markdown API PDF to Word API HTML to PDF API Full guide, kept current: https://tanod.dev/learn/office-to-pdf-api.html

Dev
Interesse
dev.to

I Built an AI Tesla Wrap Generator for Tesla Paint Shop

I'm an indie maker, and I just shipped the biggest update my app has ever had — v1.5.0, built during a focused week of heads-down work. I build Tesla Wrap Gallery (teslawrap.io) — a free online gallery and designer for Tesla Paint Shop wraps. Quick clarification because it confuses everyone: these are digital wraps that show on your car's touchscreen and 3D vehicle display, not physical vinyl. Tesla's Paint Shop feature lets owners load custom Tesla wrap images onto the car via the Tesla app or a USB stick. Designers making custom Tesla wraps today mostly wrestle with Photoshop or generic design tools: manually mapping artwork onto Tesla's UV templates, fixing seams by hand, guessing export settings, then finding out the car silently rejects the file. Generic AI image generators aren't much better — they get the orientation wrong, happily paint patterns across the windows and headlights (non-paint areas), and every fix costs you another five rounds of prompting. So I built a purpose-built Tesla wrap generator instead. The v1.5.0 update does the thing I'm proudest of: one-click AI generation where the orientation comes out correct and the seams don't leak, by construction — because it generates directly against the Paint Shop UV spec instead of hoping a generic model gets lucky. The toolbox around it: 6,000+ free Tesla wrap designs, searchable by Model 3, Model Y and Cybertruck — no account required A browser-based 2D/3D studio with live preview — no Photoshop, nothing to install A big built-in sticker template library, plus import-your-own and one-click AI stickers A dedicated editor for people who want to design a Tesla wrap from scratch An export checker that validates resolution (512–1024px), file size (under 1MB) and UV template/model match before you bother walking to the car It's free to browse and download, no signup. There's also an iOS app, Tes Wraps - AI 3D Design, on the App Store. If you've fought with UV seams or AI orientation fails on a custom Tesla w

IA
Interesse
dev.to

SNMP Ports 161 and 162: Follow the Traffic, Not Just the Numbers

When SNMP monitoring fails, it’s tempting to open UDP 161 and 162 everywhere. But those ports serve different roles—and a polling response doesn’t go to UDP 162. The useful question is: which machine is sending which kind of SNMP message, and where is it supposed to arrive? UDP 161: An SNMP agent on a managed device receives requests from a monitoring manager. UDP 162: A manager or notification receiver listens for traps and informs. Polling replies: Return to the source address and source port used by the manager’s request—not to UDP 162. SNMPv1, SNMPv2c, and SNMPv3 commonly use these same default UDP ports. Implementations can be configured differently, so check the actual listener and destination if the defaults don’t fit your setup. A manager sends a query, such as a GET or GETBULK request, to the agent’s UDP 161. The agent replies to the address and source port the manager used for that request. Monitoring manager ── request ──> Device agent : UDP 161 Monitoring manager Receiver : UDP 162 If you’re only polling devices and don’t receive notifications, you generally don’t need inbound UDP 162 open on the monitoring system. If you do use notifications, configure the sender with the receiver’s address and port, then allow that traffic to reach the receiver. For polling, allow the monitoring host to reach UDP 161 on the managed devices. For notifications, allow the configured senders to reach UDP 162 on the receiver. Restrict source addresses to your management network where possible rather than opening both ports on every machine. For example, these UFW rules allow polling from one manager and notifications from a trusted subnet: sudo ufw allow from 192.0.2.10 to any port 161 proto udp sudo ufw allow from 192.0.2.0/24 to any port 162 proto udp Replace the example addresses with your real management host or network. Apply rules on the systems and network paths that actually filter the traffic. A local firewall rule alone may not account for network ACLs, cloud fire

Infra
Interesse
Phoronix

New AI Agent Resources Proposed For The Linux Kernel, AI Skills To Help Developers

The latest proposal for the upstream Linux kernel is introducing infrastructure for AI agent resources. Initially these agent resources would be for a skill so AI agents can automatically add a "Fixes: " tag on relevant patches for noting the first problematic Git commit automatically that a patch fixes...

IAInfraDevLinux
Interesse
Simon Willison

ttok 1.0

Release: ttok 1.0 I released ttok 0.4 , ran uv tool upgrade ttok , piped a file into the new version... and realized that it was defaulting to the GPT-4 tokenizer when it should very clearly default to GPT-5/GPT-6 instead! I figured switching the default was a reasonable excuse to finally ship a 1.0. OpenAI haven't actually confirmed that GPT-6 uses the same tokenizer as the GPT-5 family yet - there's an angry issue about it - but I found this commit by William Liu which reports on an experiment he ran confirming that the tokenizers are likely the same: All seven GPT models (5.5, 5.6 Sol/Terra/Luna, 6 Astra/Sol/Luna) report 44,794 tokens and match each other on every one of the 31 fixtures. GPT-6 introduces no input-count change on this corpus. Tags: projects , ai , openai , generative-ai , llms , tokenization

IADev
Interesse
Phoronix

Valve Lands VK_AMD_anti_lag Support For AMD RADV Driver In Mesa 26.3

There is yet another feature to get excited about for this quarter's Mesa 26.3 release. Months in the making, the Valve-contributed VK_AMD_anti_lag support for the Radeon RADV driver was merged today for benefiting AMD Linux gamers as a nice improvement over the former implementation...

GamesDevLinux
Interesse
dev.to

Point your AI assistant at your invoices — we shipped an MCP server

FoxyInvoice now speaks MCP — the Model Context Protocol. Connect Claude "Invoice Globex for 10 hours of consulting at $150/hour, due in 30 days." → Created INV-2026-0007 for $1,608.75 ($1,500 + $108.75 CA tax), due Every number in that sentence came from the server, not the model. That's the Try it on a real workspace: FoxyInvoice is free to start — create one at foxyinvoice.com/login and redeem founding code U8B4Z8S87X on the Upgrade page for 6 months of Pro, free, no card. Then Settings → AI assistants → Generate token, and ask Claude to invoice someone. A JSON-RPC endpoint at /api/v1/mcp speaking MCP's Streamable HTTP transport, Tool What it does list_clients Search clients by name or email create_client Create a client list_products List the catalog list_invoices List invoices, filter by status/client get_invoice One invoice, all lines, computed totals create_invoice Create a draft invoice send_invoice Email a draft to its client The SPA authenticates with short-lived JWTs behind httpOnly cookies. Right for The answer is personal access tokens — the same shape GitHub chose: Generated in Settings → AI assistants, shown once, stored only as a SHA-256 hash. The database can't leak what it doesn't have. Presented as Authorization: Bearer foxy_… on every call. No cookies, no handshake state — the server is stateless, so any HTTP client that can POST JSON can drive it. Revocable in one click, checked on every request. A token acts as its user — live. There's no permissions snapshot in the token. Every request re-resolves the user's current roles from the database, so disabling a user or changing their roles takes effect on the very next tool call. Nothing to propagate, no cache to invalidate, no "I removed them and their integration still worked" bug class. JWTs are deliberately not accepted at the MCP endpoint — a short-lived The tempting way to build this is a parallel implementation: tool handlers *_core REST handler ─┐ ├─► clients::create_core(state, auth, body) M

IADev
Interesse
dev.to

Our code silently replaced our own $50 daily loss limit with $142

The short version: we set a hard daily loss limit of $50. For at least the 42 trading days we can measure, the number actually running was about $142. Nothing crashed. No alarm fired. The logs were clean. We found it by hand, weeks later, by comparing what we had written down with what the machine had actually done. "Daily loss limit" in plain words: a ceiling on how much the account may lose in one day. When the ceiling is hit, trading stops. It is the one rule that is not supposed to be negotiable. That was the entire idea. It did not work. Our bot keeps its risk rules in a small file it reads at startup. One entry said, in effect, stop trading for the day once the loss reaches $50. We wrote that line ourselves. We believed it was running. Everyone who has ever configured a safety limit believes it is running — that is exactly why this kind of bug survives so long. Every tick, the bot computes a day cap from the account balance: 1.5% of the balance, which on a roughly $9,500 account is about $142. Then it assigned that value to the variable that holds the cap. Here is the part that matters. That assignment was unconditional. It did not compare the two numbers. It did not ask which one was stricter. It just wrote over whatever was there — including the $50 that our own rule file had just supplied. So the rule file was read. The rule file was then discarded, silently, before anything could act on it. We had two caps and the code kept the looser one. Think about what a working limit looks like from the inside. When the loss approaches the cap, the bot stops trading and says so. When the cap is never reached, the bot also does nothing and says nothing. Those two states — "nothing to do yet" and "the guard is disabled" — produce the same output. A silence that means fine and a silence that means broken are indistinguishable if the only thing you watch is whether the bot complained. That is the whole trap. The guard was healthy in the only sense the logs could express.

Dev
Interesse
dev.to

How to subnet for the CCNA without memorizing a chart

Subnetting is the one CCNA topic that shows up everywhere: in its own questions, hidden inside routing questions, and in the lab tasks where you have to type an address that actually fits the network. Most people try to memorize a chart of masks and host counts. The chart works until you're nervous, and then it doesn't. Here's the method I'd teach instead. It has three steps, it needs nothing memorized beyond the powers of two, and it answers every flavor of subnetting question the exam asks. An IPv4 address is 32 bits, written as four octets of 8 bits each. A prefix like /26 says "the first 26 bits are the network, the remaining 6 are hosts." That's the entire theory. Everything else is arithmetic. The powers of two up to 256 are the only table worth knowing: 1, 2, 4, 8, 16, 32, 64, 128, 256. If you can count those out on your fingers, you can subnet. Step 1 — Find the interesting octet. Divide the prefix length by 8. The whole number tells you how many octets are entirely network; the remainder tells you how many bits are borrowed in the next octet. That next octet is the "interesting" one, the only one you have to do math on. Step 2 — Find the block size. The block size is 2^(8 − borrowed bits). Equivalently, it's 256 minus the mask value in that octet. Subnets in the interesting octet start at 0 and go up in steps of the block size: 0, block, 2×block, and so on. Step 3 — Find the block your address lands in. The largest multiple of the block size that is less than or equal to the address's interesting-octet value is the network address. Add the block size and subtract one, and you have the broadcast. Everything strictly between them is usable. That's it. Let's run it on three problems that look like the exam. Host: 192.168.10.77/26. What are the network, broadcast, and usable range? Step 1: 26 ÷ 8 = 3 remainder 2. Three full octets are network (192.168.10), and 2 bits are borrowed in the fourth octet. The fourth octet is the interesting one. Step 2: 8 − 2 = 6 ho

Infra
Interesse
dev.to

We checked 15 'make money with AI' schemes against their sources

Every week there is a new "make money with AI" playbook. We took 15 of the most common ones, opened the sources behind them, and labelled each scheme by what we could check. Date of the check: 2026-10-08. VERIFIED: the figures come from a platform, a company report, a data service or a regulator we could open. It does not mean the scheme pays. CLAIM: someone states a figure or a rule we could not trace, or could only trace in part. MARKETING: the figures come from a company that sells a tool, platform or course in the same area, with no outside check. The result: 7 verified, 3 claims, 5 marketing. In the sources we opened, none of the 15 came with a dated record of what a newcomer earned. Micro-SaaS. TrustMRR verifies revenue through Stripe and lists 4,152 AI startups. Of the first 30 shown, the highest has $864k in monthly recurring revenue. Two listings we opened show $70 all-time and $4,549 all-time, both with no active subscription. The site does not show how revenue is spread across the 4,152, so a top exists and a tiny bottom exists, and the typical result is unknown. Solo AI-native companies. Stripe (2026-05-28) found AI-native solo startups earned almost twice the revenue of other solo-founded startups by month 24, and the median solo B2B founder earned more than four times the median solo B2C founder. It also found median first-six-month revenue in 2025 down 23% year over year while the top decile was up 19%. Atlas companies are a self-selected group. Freelance marketplaces. Fiverr's Q2 2026: revenue $97.8M, down 10%, marketplace revenue down 15.5%, with the decline tied to AI eroding low-value gigs. Upwork's Q2 2026: total volume down 3.6%, AI-related volume up more than 22% to about $330M. Both are news summaries of company results, and market totals do not tell you what a new account wins. x402 agent payments. a16z, using Allium data (2026-03-12) put 30 days of agent transactions at about $3M, and about $1.6M after removing wash trades. An earlier report

IA
Interesse
dev.to

Where AI review saves time: the write-back, not the analysis

A tool that "supports Azure DevOps" may only be able to read your pull request. What cuts review time is the write-back: posting an inline comment where the problem is, replying and resolving a thread, applying a committable suggestion, submitting a review, marking the pull request ready, merging it. Those are separate capabilities from the analysis, and on some hosts they are missing entirely. That distinction matters for anyone trying to cut review time, because the analysis quality is the part every vendor page shows you and the write-back surface is the part you have to go digging for in the docs. The digging is worth it, because write-back is what the reviewer actually feels. Take a concrete example. CodeRabbit's Change Stack provider support page documents a per-provider capability matrix, and the Azure DevOps column is almost entirely empty on the writing side. Artifacts open read-only. No inline review comments, no file-level comments, no draft reviews, no submitting a review, no replying or resolving threads, no committable suggestions, no merge, no mark-ready-for-review, and no Change Stack chat. Azure artifacts also miss the live freshness check the other providers get, so an artifact cannot tell you the head has moved past the snapshot you are reading. Read that page carefully, because it is about Change Stack specifically, which is a review workspace sitting on top of CodeRabbit's PR review feature. The claim is narrower than the headline suggests. CodeRabbit can still comment on Azure DevOps pull requests through its PR review feature. The workspace layer, where a reviewer would normally resolve and apply, is read-only on Azure DevOps, and that is where the difference shows up. "We support your provider" and "we can act on your pull request" are two different sentences, and only the second one moves your cycle time. PR-Agent, the open-source reviewer that Qodo donated to the community, shows the same thing from the other direction. Its Azure DevOps ins

DevInfra
Interesse
dev.to

IdP Logout in an SPA

Sequence Confirm and quiesce. The user confirms logout. The shell first instructs every embedded child application to log itself out and waits until all of them report completion. Nothing auth-related happens until this phase finishes. Read the ID token from the SDK's token store. If there isn't one, skip the IdP round trip: clear local state and go straight to the shared logout landing page. Navigate the top window to the IdP's end-session endpoint, with two parameters: id_token_hint — the current ID token, so the IdP knows which session to end post_logout_redirect_uri — the app's own logout-callback route Local tokens are deliberately not cleared at this point. The IdP destroys its session cookie and redirects the browser back to the registered callback route. The callback route performs the cleanup: it reads the ID token out of storage one last time, clears local and session storage (preserving an explicitly allow-listed key prefix), then redirects to the shared logout landing page, forwarding the ID token as a hint so that page can finish any downstream sign-out. Child apps go first. Step 3 unloads the document; anything not already finished would be lost. Tokens are cleared last, not first. The ID token is needed twice after the decision to log out: once as id_token_hint for the IdP, and again as a hint for the downstream landing page. Clearing before leaving would break both. Only a top-level navigation really ends the IdP session. A background fetch or hidden iframe can't reliably clear a session cookie under third-party cookie restrictions; a full-page redirect can. Requirement Why The logout-callback URI is registered as a post-logout redirect URI on the client an unregistered value is rejected and the user is stranded at the IdP The end-session endpoint accepts id_token_hint without it the IdP may show an interactive "which session?" prompt instead of redirecting The ID token is still valid and unexpired an expired hint can be refused, breaking the redirec

Dev
Interesse
dev.to

4 Node.js Startup StatsD Metrics Dashboard APIs Compared for Safe Rollbacks

Choose a stats-style metrics pipe for a startup dashboard that compares a gaming experiment across tenant cohorts, provided that rollback remains a separate, audited operation. The deciding constraint is rollback safety: the evidence must be reproducible after retries, late observations, and a dashboard outage. TL;DR: Infrai fits this narrow dashboard-first job when application code already knows which counts, latencies, and business KPIs matter. With Infrai, one API key covers 295 routes across 20 modules, and one bill replaces the work of reconciling separate vendor invoices. That is the practical advantage of its breadth behind one contract. Its public, keyless discovery surface describes request and response schemas, billing, and runnable examples; documented capabilities have examples in 10 languages. Prometheus Pushgateway is stronger inside an established Prometheus system, Mixpanel is stronger for exploratory product analytics, and Datadog is stronger when cohort signals must sit beside broad infrastructure telemetry. None of them turns an ambiguous cohort definition into a safe rollback rule. This architecture decision record therefore favors a small, explicit evidence path. It does not make the dashboard the control plane. Experiment assignment is the first invariant. A tenant must remain in one cohort for the decision window, even when a Node.js worker retries, and the assignment version must be recoverable from the audit record. Otherwise, a metric may be numerically valid while describing a population that changed underneath it. Duplicates lie. The second invariant is that every KPI has a frozen definition. A completed-match count needs an eligibility denominator; an error rate needs a declared numerator and denominator; a latency gate needs a named statistic and window. The decision record should contain the experiment version, rule version, cohort, window boundaries, inputs, action, and reason. If late data changes the conclusion, append a superseding

InfraDev
Interesse
dev.to

Multi-Tenant B2B SaaS Logging Backend: Search Costs for Silent Imports

A scheduled catalog import that never starts produces no failure event. For a multi-tenant B2B SaaS app, use a logging backend to investigate work that ran and a heartbeat monitor to detect work that stayed silent. Then attribute log volume by tenant and import run before choosing where those events live. TL;DR: for an e-commerce B2B SaaS, keep tenant_id, user_id, request_id, trace_id, import_id, and status as separate fields. A plain REST logging API is acceptable for operational search when low integration overhead and consolidated cost attribution matter. It is a poor fit for a strict audit or privacy-heavy system if per-user deletion, bulk export, subscriptions, or native alert delivery are mandatory. The tempting design is an import_failed event plus an alert. It catches explicit failures. It cannot report a scheduler that did not invoke the worker at all. Start with the billable unit of investigation, not a vendor dashboard. For this application, that unit is one scheduled import for one tenant: the requests it triggered, the user or service that initiated it, its trace correlation, and its final status. A backend that accepts structured events lets an operator search those identifiers without parsing prose. Cost attribution needs the same discipline. Attach tenant_id and import_id at ingestion, keep payload bodies and customer data out unless they are necessary, and measure event volume by workflow. This does not prove what a vendor will charge. It tells you which tenant and job created the volume before a shared monthly bill hides the answer. The tenant boundary is more important than query convenience. Derive tenant_id from the authenticated principal inside a trusted service. Do not let a browser choose it. A fast search that can cross tenant boundaries has failed the evaluation. I would inspect the live capability contract before testing any backend. This runnable probe finds the two verified logging routes without guessing an ingest body or search filter

InfraDev
Interesse
dev.to

SMS OTP vs Email OTP: Shift-Deadline Security for HR SaaS Login

TL;DR: For an HR SaaS 2FA login or password-reset flow near a shift boundary, choose SMS OTP or email OTP at runtime according to the employee's verified, reachable destination. Allow one controlled fallback, and keep code validity independent from message delivery. The operational target is a completed login or reset inside the expiry window; a provider acceptance event, an email open, or an SMS handoff is only an intermediate signal. Integration effort should be judged against that whole path. A channel that takes one afternoon to wire up but gives the on-call engineer no trustworthy state transitions is unfinished integration work. The user story sounds small: deliver a reset code with a short expiry so an employee can see shift reminders. The system behind it has at least four separately observable stages: create one challenge, enqueue one message attempt, record the channel outcome, and accept the code once. Keep those identities separate. Retries then belong to the delivery attempt, while expiry, attempt limits, and one-time use belong to the challenge. This distinction matters under deadline pressure. If an SMS attempt stalls, issuing a fresh code by email leaves two valid secrets in circulation and makes the audit trail harder to explain. A safer fallback reuses the same challenge while rendering the message for a different verified destination. The displayed code may stay the same; the delivery-attempt identifier must not. Use a capacity-planning reflex before choosing defaults. Estimate peak reset starts per minute around shift changes, multiply by the maximum permitted delivery attempts, and provision the queue for that upper bound rather than the daily average. A policy allowing one initial send and one fallback has a worst-case delivery fan-out of 2 per challenge. That is a planning bound, not a prediction. Deadlines expose ambiguity. Email and SMS expose different evidence, but neither can prove that the intended employee read the code. For email, doma

SegurançaDev
Interesse
MIT Tech Review

Roundtables: A Conversation With the Creator of AI-Designed Viruses

Friday, October 16, 2026 Can AI design new life forms? In 2025, Stanford University PhD student Samuel King came up with a preliminary answer when he used a generative AI model to propose genetic blueprints for microscopic viruses. It isn’t yet an example of AI-generated life, but that could be next. Join senior AI reporter…

IA
Interesse
dev.to

VASTAdTagURI in a DAAST Wrapper Validates as XML. Audio Players Read DAASTAdTagURI.

The podcast stitcher logs a VAST-style no-fill. Finance sees the deal as delivered in the ad server. The XML attachment in the ticket is a root with a , an , and a redirect URL that opens fine in a browser. The failure is the element name around that URL, not the hostname. Video Ad Server Every string inside the CDATA can be HTTPS and reachable. A generic XML validator still returns OK. An audio player built for DAAST 1.0 never treats as the next hop. It looks for . Hop one ends with no inline audio and no second request. VAST and DAAST share the InLine versus Wrapper shape, but they are not interchangeable documents. VAST must carry . DAAST must carry . The IAB DAAST specification mirrors VAST section structure on purpose, then renames the wrapper redirect so parsers know which grammar applies to the response body. OpenRTB makes the same split on the bid request side. AdCOM lists separate creative subtypes for DAAST 1.0 inline versus DAAST 1.0 Wrapper, alongside the VAST protocol values. A buyer can declare audio wrapper support while the adm or the VAST URL still returns a document typed for the wrong envelope. This is the audio version of copying video leftovers into a new channel. Trafficking tools that started on CTV export and habits. Podcast and streaming audio paths need and on the wrapper. The mistake survives copy-paste and template reuse because the outer label looks familiar. Agentic workflows make that reuse easier, not harder. Teams are wiring MCP and API buying across CTV, display, and audio from one dashboard (AdExchanger on agentic CTV buying). The buy can close in the agent UI while the asset generator still emits video element names on a DAAST root. HTTP 200 on upload is not proof the player will follow the chain. On the sample above, three independent problems show up at once: Missing required on the wrapper (rule reference). A VAST-only child under DAAST (DAAST-1.0-wrapper-vast-adtaguri). Often a missing wrapper when the copy came from a minimal

Dev
Interesse
dev.to

The Agentic AI Foundation's Standards Stack: MCP, A2A, and Goose

The Agentic AI Foundation is building a standards stack to solve a problem most teams hit after their first agent proof-of-concept: how do you wire together agents from different vendors, let them share tools, and coordinate multi-step workflows without writing custom glue code for every integration? Three protocols sit at the core of this effort. MCP (Model Context Protocol) standardizes how agents discover and invoke tools. A2A (Agent-to-Agent) defines how agents authenticate, route messages, and synchronize state across organizational boundaries. Goose provides a reference implementation and testing harness to validate that agents built on these standards actually interoperate. This is infrastructure work, not a product launch. The foundation is designing the plumbing layer that sits between your orchestration framework and the agents you deploy. MCP: Tool Boundary Protocol MCP standardizes the interface between agents and external tools. Instead of each agent runtime implementing its own function-calling format, MCP defines: A JSON-RPC 2.0 transport for tool discovery and invocation A schema registry for tool capabilities and parameter types A context attachment mechanism for passing state between tool calls MCP servers expose tools as resources. Agents query the server for available tools, inspect schemas, and invoke methods. The protocol does not dictate how the agent decides which tool to call or how it interprets results. That remains in the orchestration layer. A2A: Agent Coordination Protocol A2A handles communication between agents that may run on different platforms, in different organizations, or with different security contexts. Key responsibilities: Authentication: Mutual TLS or OAuth 2.0 token exchange at the agent boundary Message routing: Agents register capabilities and subscribe to task types; the A2A broker routes requests to capable agents State synchronization: Shared context objects that track workflow progress, decisions, and intermediate re

IADev
Interesse
dev.to

Group Chat Orchestration: Why Eleven Agents Spent Forty Minutes Debating a Research Summary

Group chat orchestration is the default pattern for multi-agent systems. It mirrors how human teams work: agents share a conversation, a moderator picks who speaks next, everyone sees the full history. AutoGen's GroupChatManager, CrewAI's conversational crews, and most frameworks ship some version of this topology. It works well for three to five agents on a bounded task. At eleven agents, it spent forty minutes debating whether a research summary was comprehensive enough while the user question sat unanswered. Every agent was working. Every agent was contributing. The conversation was rich, thoughtful, and completely useless. The failure arrived with no warning and no error message. Just a token bill and a closed browser tab. The pattern fails in three specific ways when you scale from three agents to twelve: Coordination overhead grows quadratically. With N agents, you manage N(N-1)/2 potential relationships. A group chat with ten participants creates 45 interaction pairs. The moderator must track who has spoken, who contradicted whom, and which contributions are still relevant as the conversation evolves. Conversation history becomes unmanageable. The moderator routes work to agents that already contributed because the history is too long to parse. Context windows fill with redundant statements. Agents repeat points made ten messages earlier because they cannot effectively scan the scrollback. Adjudication protocols do not exist. Two agents produce contradictory conclusions. The moderator, lacking a protocol for conflict resolution, averages them into mush or picks one arbitrarily. There is no structured way to escalate, vote, or defer to domain expertise. Group chat orchestration burns tokens in ways that are invisible until the bill arrives. Every agent sees the full conversation history on every turn. A ten-agent conversation with fifteen exchanges means each agent processes 150 message contexts, even if only three messages are relevant to its role. The modera

IADev
Interesse