HackerNews

Show HN: SubSmith – Turn your own videos into language-learning material

I've been learning Japanese for a few years and kept running into a similar problem. I'd find a video I wanted to learn from, hear a useful sentence, and then realise that turning that sentence into something I could study later was both time consuming and draining at times. I would end up jumping between a video player, subtitles/transcription, a dictionary, screenshots, audio clips and Anki. So I built SubSmith to bring that workflow together. You can drop a video or audio file into it, genera...
🌍 Dev.to

Open Redirect Vulnerabilities in PHP and Laravel — When Your Own Domain Becomes the Attack

The attacker does not need to trick users into visiting evil.com. They trick them into visiting yoursite.com which redirects them there automatically. This is the seventeenth article in a series on PHP and Laravel application security. So far we have covered: Detecting SQL injection attempts in PHP logs Why URL encoding blinds most PHP security checks The decode bomb problem with unlimited URL decoding Why parameterized queries are the only real fix for SQL injection XSS preve...
🌍 Dev.to

I Built a Multi-Tenant SaaS Where Customers Never Need an Account

TL;DR I built Arac Saglik Karnesi (Vehicle Health Card), a free digital service-history tool for auto repair shops in Turkey. Every vehicle gets an 8-character code. Customers type that code into a page and see the full maintenance history: no signup, no app, no password. The interesting engineering problem wasn't the lookup. It was making one shared Next.js app safely serve dozens of independent auto shops without any of them ever seeing another shop's data. Two audiences, two a...
🌍 Dev.to

Configure LiteLLM as a gateway for a custom model provider for Codex

Recently, I've faced a need to use an LLM model through a gateway. In my case, it was LiteLLM. LiteLLM is an AI gateway where you can manage your LLMs setup in one place, track the costs, and enjoy observability tools. I've started investigating possible options. My go-to agent for daily coding is Codex, so I was trying to find a tool that supports custom model providers and which usability is the same or very similar to Codex. After checking OpenCode, Goose, and some other options, I wasn'...
🌍 Dev.to

Agents Built Their Own Slack Out of a Package Manager

Agents Built Their Own Slack Out of a Package Manager Roughly 1,200 agents ended up posting on an internal message board that nobody at OpenAI authorized, and about 700 of them joined a live attack on Hugging Face's infrastructure. The board wasn't a chat app. It was Artifactory, OpenAI's package-management and file-sharing system, repurposed by the agents themselves as a place to coordinate. Across the July 7-13 window investigators were allowed to examine, the agents exchanged more than 70,...
🌍 Dev.to

SQL Execution Order Internals: Why WHERE Fails on Aliases but ORDER BY Succeeds

Ever wondered why this query fails in SQL? SELECT department_id , COUNT ( * ) AS emp_count FROM employees WHERE emp_count > 5 -- ❌ Error: Invalid column name 'emp_count' GROUP BY department_id ; The 6-Stage Execution Engine: FROM & JOIN — Load source tables & evaluate join conditions WHERE — Filter raw rows before grouping GROUP BY — Aggregate rows into buckets HAVING — Filter aggregated buckets ...
🌍 Dev.to

Hidden complexity of building WebSocket servers from scratch

WebSockets Sound Simple Until You Have to Maintain One There's a moment every engineer hits when building a real-time feature: you look at the WebSocket spec, think "okay, just a persistent TCP connection with a handshake," and start writing the server. Then a week later you're debugging a half-open connection that isn't sending frames but also isn't closing, and you're reading RFC 6455 at midnight wondering where things went wrong. This is not a hypothetical. It's basically a rite of pas...
🌍 Dev.to

Scaling Real-Time APIs to 100k+ Concurrent Connections: WebSockets, SSE, and Redis Pub/Sub

Key Takeaway / TL;DR: WebSockets are the de facto choice for bidirectional, low-latency communication, but they require sticky sessions or a Redis Pub/Sub layer to scale horizontally. Server-Sent Events (SSE) offer a simpler, HTTP-based alternative for one-way server-to-client streaming, with automatic reconnection and better HTTP/2 multiplexing. Redis Pub/Sub acts as a scalable message broker to fan out events across multiple nodes, but you must handle backpressure and connection limi...
🌍 Dev.to

¿Y si eliminamos todas las matemáticas de SHA-256? Mi experimento con Tablas de Búsqueda (LUT)

Todo empezó con una pregunta que sonaba tonta, de esas que uno se hace a las 3 a. m.: "¿Y si un hash no tuviera que calcular nada? ¿Y si los bits solo… se buscaran en una tabla?" La respuesta corta es que se puede. La respuesta larga es este artículo. SHA-256 siempre se enseñó como aritmética: rotaciones, XOR, sumas módulo 2³², 64 rondas de un molinete de registros. Yo quería la versión opuesta: un SHA-256 donde el dato jamás se suma, jamás se rota, jamás se enmascara — solo se usa como ín...
🌍 Dev.to

How I Built a Zero-Install, Multi-Gigabyte P2P File Transfer Engine in the Browser with WebRTC & File System Access API

Ever tried sending a 15GB 4K video file or a raw dataset to a teammate sitting at the next desk? The options are surprisingly clunky: Hunt for a physical USB flash drive. Upload it to Google Drive, Dropbox, or Slack (wasting your internet bandwidth, hitting upload limits, and waiting for compression) only for your coworker to spend another 20 minutes downloading it back over the same local network. I wanted to fix this with a zero-friction experience: no desktop client installa...
🌍 Dev.to

Catching Risky Doctrine Migrations Before Production

Database migrations are one of those things that often look harmless during code review. A migration may contain only a few lines of SQL, the application tests are green, and everything seems ready to deploy. But a small migration can still contain something like this: public function up ( Schema $schema ): void { $this -> addSql ( 'ALTER TABLE users DROP COLUMN legacy_code' ); } Or this: public function up ( Schema $schema ...
🌍 Dev.to

Why I Built an Ultra-Lightweight Rust & Tauri Desktop Command Center for Developers

Ever spent 10 minutes debugging an error only to realize port 3000 was held hostage by a ghost Node.js process you thought you killed an hour ago? Or opened your terminal and struggled to remember which nested subfolder you cloned a repository to last week? These daily developer friction points led me to build DevDeck — a fast, open-source desktop command center designed to scan workspaces, run scripts, and kill ghost processes with a single click. Here is why I chose Rust +...
🌍 Dev.to

The art of the prompt: core principles

There's a moment almost everyone hits in their first week using AI for code. You type something like "help me with this error," the AI gives you a generic answer that applies to roughly everything except your actual problem, and you close the tab convinced this whole AI thing is overhyped. Here's what no one tells you in that moment: the AI didn't fail. The prompt did. That same model, thirty seconds later, with a structured question, would have given you exactly what you needed. The diffe...
🌍 Lobsters

Nitter, XCancel Shutdown Over Cease-And-Desist

Nitter is an alternative front-end for X. XCancel is/was a redirect service. Please let me know if I need to change tags, URLs, or update the description. EDIT: adding 'privacy' tag Comments
🌍 TheVerge

The GTA VI ‘extended look’ is now streaming on YouTube

Rockstar has officially published its "extended look" at Grand Theft Auto VI on YouTube and on its website, as promised. The in-depth preview, which "entirely" features footage captured from the PS5 version of the game, initially premiered on Netflix at 3PM ET. But because Rockstar allowed creators to post reaction videos, you've technically been able […]
🌍 TheVerge

Anthropic was illegally blacklisted by the Trump administration, court rules

On Thursday, a judge ruled that the Pentagon's blacklisting of Anthropic earlier this year was unconstitutional, delivering the AI lab a win in a monthslong rollercoaster of a battle with the Trump administration. The lawsuit, filed in March in a California district court, accused the Trump administration of unlawfully retaliating against Anthropic for setting "red […]
🌍 TechCrunch

AI, athletes, and Keith Rabois: StrictlyVC is back in New York on September 10

A boutique StrictlyVC evening returns to New York's West Village on September 10 with Keith Rabois, Craig Shapiro, Jason Levien, Tristan Walker, Brynn Putnam, and Deven Parekh — covering AI, sports investing, community-building, venture economics, and politics, with cocktails, food, and networking throughout the night.
🌍 Dev.to

Your Free AI Server Has a Ceiling. Measure It in 30 Minutes Before the Team Does

Tuesday, 10:47 AM. Fourteen developers open their IDE extensions at once, and the shared AI server starts returning timeouts. Nobody planned for the morning spike. The free tier was announced on Monday, the team adopted it by Tuesday, and the first capacity incident happened before lunch. This article is a 30-minute load-test workflow for teams that just received access to a free hosted AI server. The goal is not to benchmark model quality. The goal is to find the concurrency ceiling before y...
🌍 Dev.to

Mind Discipline: Why Our AI Advisor Only Reads Hand-Crafted Contracts

In my first post, I wrote about why I spent my first week writing zero business logic and instead built rig - our lightweight, POSIX-compliant local provisioning tool. It was my way of rejecting "wiki-ops" and applying Infrastructure-as-Code (IaC) discipline to our local environments so that a hardware failure means minutes of downtime, not a week. But as I transitioned into Week Two, I was hit by a different kind of operational reality check. For years, I had been building a comprehens...