Morning.dev
My Feed Popular
Login
Hacker News: Front Page • 2026-04-19 08:45

SPEAKE(a)R: Turn Speakers to Microphones for Fun and Profit [pdf]

Article URL: https://www.usenix.org/system/files/conference/woot17/woot17-paper-guri.pdf Comments URL: https://news.ycombinator.com/item?id=47822805 Points: 10 # Comments: 1

0 0
1m read
DEV Community • 2026-04-19 08:44

Sub-queries vs Window Functions vs Common Table Expressions: Which Should You Use in SQL?

SQL is the most used tool for data manipulation but what happens when there are some concepts that seem to work towards the same ultimate outputs. As queries become more complex, developers often encounter different techniques that appear to produce similar results—namely sub-queries, common table expressions (CTEs), and window functions. At first glance, these concepts can seem interchangeable. ...

0 0
3m read
React Concepts That Finally Click (Vite, JSX, Components & Folder Structure, npm vs npx and Dev Server)
DEV Community • 2026-04-19 08:38

React Concepts That Finally Click (Vite, JSX, Components & Folder Structure, npm vs npx and Dev Server)

You know that moment… You open a React project, stare at the files, run a command, and everything works — but deep inside you're thinking: “I don’t fully get what just happened.” Not because you’re not capable. But because most explanations skip the why and rush into the how. So here’s a different approach. Instead of throwing definitions at you, we’re going to decode what’s actually happen...

0 0
12m read
DEV Community • 2026-04-19 08:38

AI as a Job Threat: The Hype Is Bigger Than the Reality

The Job That Stayed. The Work That Left. AI is not removing positions from Indian workplaces. It is removing what those positions used to build inside the people holding them. Peter approves thirty-six rows before noon. The software read twelve hundred invoices. The software matched the vendors. The software entered the numbers. It flagged the rows where its confidence fell below 97...

0 0
4m read
DEV Community • 2026-04-19 08:36

Your Tools Do Too Much

Notion is too complicated. 47 features you'll never touch. Databases, kanban boards, timelines, wikis, automations, formulas, rollups, relations. You signed up to write something down. Now you're watching a YouTube tutorial about linked databases. Obsidian needs plugins for everything. Out of the box it does almost nothing. Community plugins. Then you configure those plugins. Then two plugins con...

0 0
2m read
Newest questions tagged javascript - Stack Overflow • 2026-04-19 08:35

Does JavaScript provide a built-in way to detect stale async results?

I’m working with async JS and ran into a common pattern where multiple async calls can overlap and return out of order. e.g let currentQuery = ""; async function search(query) { currentQuery = query; const result = await fetch(`/api?q=${query}`); const data = await result.json(); if (query !== currentQuery) { // ignore stale result return; } display(data); } This...

0 0
1m read
Hacker News: Front Page • 2026-04-19 08:33

Binary GCD

Article URL: https://en.algorithmica.org/hpc/algorithms/gcd/#binary-gcd Comments URL: https://news.ycombinator.com/item?id=47822737 Points: 4 # Comments: 0

0 0
1m read
AI created slow and expensive code. How I analyzed and fixed it.
DEV Community • 2026-04-19 08:30

AI created slow and expensive code. How I analyzed and fixed it.

My AI-built browser game portal was growing. That was good news - until Firebase bills started rising and performance got worse. Now was the moment where I as a software engineer had to step in. With an increasing user base playing more and more games every day, I slipped out of the free usage tier for Firebase Storage which I use for persistency. Image: The costs increased to about 10 USD p...

0 0
8m read
DEV Community • 2026-04-19 08:28

Why We Didn't Converge: ClickHouse's VLDB Paper and the Architecture Agents Actually Need

The moment ClickHouse writes CPU code for your query You run SELECT category, COUNT(*) FROM events GROUP BY category against 100 million rows. On most databases, the engine walks a bytecode interpreter row by row, dispatching through a switch statement for every tuple. ClickHouse does something else. It takes your specific aggregation, hands it to LLVM, and generates native x86-64 instr...

0 0
13m read
DEV Community • 2026-04-19 08:26

Meta's Post-Quantum Crypto Migration Playbook

Picture a Meta security engineer on April 15, 2026, sitting on a Slack thread with the TLS team. The draft blog post is ready for legal review. Someone asks the question everyone is avoiding: "Can we say what percentage of traffic is actually PQ-protected?" Silence. Then: "Let's just say 'significant portions of our internal traffic.' Ship it." That hedge made it into the published post on April ...

0 0
11m read
The Chip Account: What It Costs the Planet to Make One Chip
DEV Community • 2026-04-19 08:26

The Chip Account: What It Costs the Planet to Make One Chip

This is a submission for Weekend Challenge: Earth Day Edition What I Built TheChipAccount — an interactive, data-driven dashboard that makes visible the hidden environmental cost of manufacturing a single semiconductor chip. Every phone you unlock, every GPU that trains an AI model, every laptop you open — the silicon inside it started life as a blank 300mm wafer inside a semiconducto...

0 0
10m read
DEV Community • 2026-04-19 08:25

What Actually Happens When You Click a Button — From Browser to Database and Back

You've written fetch(). You've set up an Express route. It works. But do you actually know what happened in between? Most tutorials show you the pieces separately. Nobody walks you through the full conversation — browser to server to database and back — in one go. Let's fix that. The analogy that makes it click Before we touch code, here's a mental model you'll never forget. Thin...

0 0
6m read
DEV Community • 2026-04-19 08:23

The Great Agent Platform Consolidation: Why I'm Rethinking My $9 Side-Project Agent

On Wednesday night I sat staring at two deploy buttons. One was my scrappy LangGraph agent running on a $9/month VPS — duct-taped together with Redis for memory, a homegrown sandbox I'd written three weekends ago, and a credentials file I still felt bad about. The other was Anthropic's new Managed Agents dashboard, asking me for $0.08 per runtime-hour. That's about $58/month if I left it on 24/7. ...

0 0
13m read
DEV Community • 2026-04-19 08:23

I built a 13-database ORM for Node.js because Prisma doesn't support Oracle

I'm Hamid — Software Engineer & Ophthalmologist in Algeria. My clinic's software needed to run on Oracle (government mandate), but my team writes TypeScript with Prisma. Prisma doesn't support Oracle. Rewriting everything wasn't an option. So I built @mostajs/orm — a Hibernate-inspired ORM with 13 database backends. ## The problem Prisma is excellent for DX. But: 6 databases (PostgreS...

0 0
3m read
DEV Community • 2026-04-19 08:23

Integrating Groq, DeepInfra, and Nebius in One Edge Function — 3-Provider AI Routing

Integrating Groq, DeepInfra, and Nebius in One Edge Function Why Three Providers? Each AI provider has different strengths: Provider Strength Model Groq Extremely fast (custom Inference Engine) Llama 3.3 70B DeepInfra 400+ models, lowest cost Llama 3.3 70B Turbo Nebius High quality prose generation Llama 3.1 70B Rather than three separate Edge Functions, I int...

0 0
2m read
DEV Community • 2026-04-19 08:22

Making Your Flutter Web App a PWA — manifest.json, Service Worker, Install Prompt

Making Your Flutter Web App a PWA Why PWA Matters for Flutter Web A properly configured PWA gives Flutter Web apps: Home screen install (with real app icon) Offline capability via Service Worker cache Install promotion banner in-app Standalone display on iOS Safari (no browser chrome) 1. Configure manifest.json { "name": "My App", "short_name": "My App",...

0 0
2m read
DEV Community • 2026-04-19 08:22

Managing Private State in Midnight: Patterns, Pitfalls, and Best Practices

Managing Private State in Midnight: Patterns, Pitfalls, and Best Practices One of the most common points of confusion for developers new to Midnight is the distinction between private and public state. On EVM chains, the distinction is simple: everything in contract storage is public, and anything you want "private" requires off-chain infrastructure (encrypted APIs, TEEs, etc.). On Midn...

0 0
10m read
DEV Community • 2026-04-19 08:15

Day 76 of #100DayOfCode — Building DevBoard: REST API and UI Polish

Yesterday, DevBoard became a complete two-sided platform. Today I added two things that take it from a functional app to a portfolio-ready one: a REST API built with DRF, so the data is accessible programmatically, and UI polish using Tailwind CSS, so it actually looks like something you'd want to show someone. The REST API DevBoard's HTML interface works great for browser users. Bu...

0 0
5m read
Turning a Desk clock into a Claude Code usage meter
DEV Community • 2026-04-19 08:14

Turning a Desk clock into a Claude Code usage meter

TL;DR — git clone … && ./install.sh <clock-ip>. Needs Claude Code signed in. macOS + Linux. Repo: github.com/shavindraSN/claude-meter. When you're deep in a coding session with Claude Code, the last thing you want is to hit a rate limit unexpectedly. The usage dashboard exists, but it's two clicks away — and checking it constantly breaks focus. Claude Code's paid plans have two r...

0 0
6m read
I Built a Real-Time Crowd Orchestration Engine for Stadium Events (PromptWar 2026)
DEV Community • 2026-04-19 08:12

I Built a Real-Time Crowd Orchestration Engine for Stadium Events (PromptWar 2026)

The Problem: When 50,000 Fans Hit the Gates at Once Stadium bottlenecks aren't just annoying—they're dangerous. Static gate assignments fail when crowd dynamics shift. For PromptWar 2026, I wanted to solve this with code that actually thinks. The Build: PromptWar Crowd Orchestration Instead of rigid assignments, I built a 4-tier Human-Sensor Network that treats crowd managem...

0 0
1m read
Previous Next

Showing page 254 of 1336

Previous 254 Next