Morning.dev
My Feed Popular
Login
DEV Community • 2026-04-20 00:03

Your Cypress Tests Are Slower Than You Think

If you’ve worked on a decent-sized Cypress suite, you’ve lived this. You push code. Pipeline kicks off. Then you wait. And you wait. …Still waiting. You tab over to Slack. Maybe check a PR. Start something else. Eventually results come back. Green, red, who knows. But here’s the problem: by the time you see them… you don’t care anymore. That’s the real issue with slow tests. Not time. It’s tha...

0 0
13m read
DEV Community • 2026-04-20 00:00

HelioGrid Solar: Earth 's Day Edition

What I Built HelioGrid Solar is a comprehensive infrastructure management platform designed to help homeowners, businesses, and institutions transition to clean energy.The application provides an integrated toolkit for solar project planning,including a Solar Estimator (calculating savings and carbon offsets) and a Financing Planner (evaluating project costs and ROI). For this Earth Day challenge,...

0 0
1m read
Ship faster: How to unlock development speed in regulated industries
Giant Robots Smashing Into Other Giant Robots • 2026-04-20 00:00

Ship faster: How to unlock development speed in regulated industries

Slow development isn’t always a code problem. It’s often a process one, especially in regulated industries. Here’s how navigating change to embrace a shared agile process helped one of our clients start finishing ahead of schedule.

0 0
1m read
Shopify Speed Optimization: Fixing The Real Bottlenecks
DebugBear Blog • 2026-04-20 00:00

Shopify Speed Optimization: Fixing The Real Bottlenecks

Most Shopify speed advice focuses on Lighthouse scores, but the real bottlenecks are oversized hero sections, uncontrolled app scripts, and poor loading strategy. Here's how to fix them properly.

0 0
1m read
Kitty Giraudel • 2026-04-20 00:00

Content Negotiation on Netlify

A technical piece on setting up an edge function on Netlify to handle Markdown negotiation for AI agents.

0 0
1m read
Hacker News: Front Page • 2026-04-19 23:59

Sudo for Windows

Article URL: https://github.com/microsoft/sudo Comments URL: https://news.ycombinator.com/item?id=47828853 Points: 12 # Comments: 3

0 0
1m read
DEV Community • 2026-04-19 23:52

Calling Rust from Node.js: A Practical Guide to NAPI-RS

Note: I used Claude to write this whole article based on my github and youtube video linked at the end. You have a Node.js backend. Somewhere in it, there's a hot path — maybe image processing, maybe a parser, maybe a prime-checker for some cursed reason — and you'd like it to be faster. You've heard Rust is fast. But you don't want to rewrite your whole backend in Rust, and you really ...

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

Build a Logger and Validator with TypeScript Decorators (Like NestJS)

Note: This post is a translated version of an article originally published on my personal blog. You can read the original Korean post here. What Are Decorators? Decorators are a metaprogramming syntax that lets you attach metadata — or extend behavior — on classes, methods, properties, and parameters without modifying the original code. They're commonly used for: Logging — track...

0 0
5m read
DEV Community • 2026-04-19 23:40

Shared Fakes Across a Monorepo: One Test Double from Frontend to Backend

Originally published at recca0120.github.io The previous post covered DI + Fake + in-memory basics. This one takes it further, into a scenario most testing tutorials ignore: how frontend, backend, and shared logic can use the same Fake in a monorepo. Scope of this post: internal services — classes you wrote, with interfaces you can swap. If the dependency is an external HTTP API (Stripe, GitHub...

0 0
7m read
DEV Community • 2026-04-19 23:39

**The Stack at a Glance:**

Originally published on emergeautomations.com. I run an AI automation agency out of Wales called Emerge Automations. Over the past few months, I've been building custom AI voice agents for UK tradespeople — plumbers, solar installers, electricians, the lot. This is what I've learned. The Problem Nobody Talks About The average UK tradesperson misses 40% of inbound calls. They're on a r...

0 0
2m read
DEV Community • 2026-04-19 23:37

DI + Fake + in-memory: Writing Frontend Tests That Survive Refactors

Originally published at recca0120.github.io The most common testing pattern I see looks like this: test('saves user data', () => { const mockStorage = { set: vi.fn(), get: vi.fn().mockReturnValue(null), }; const service = new UserService(mockStorage); service.save({ id: 1, name: 'Alice' }); expect(mockStorage.set).toHaveBeenCalledWith('user:1', { id: 1, name: 'Alice' });...

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

I Made a CLI That Talks to Any Smart Contract in Plain English

What if you could just ask a smart contract questions in plain English? "What's the total supply?" → calls totalSupply() → "1,000,000 USDC" "Who is the owner?" → calls owner() → "0x1234...abcd" "How many holders are there?" → "This contract doesn't have a holder count function, but you could check Transfer events." I built AbiLens — a chat interface for EVM smart contracts. Paste an address, pic...

0 0
2m read
DEV Community • 2026-04-19 23:31

Stop Coding, Start Drawing: Butterfly CSS v4.2 🦋product hunt launch today

Hi everyone! I'm Amr Kilany, and I've always had a slightly "crazy" goal: What if we stopped coding websites and started drawing them? 🎨 As developers, we often get bogged down in complex syntax and endless CSS rules just to make a button bounce or a layout responsive. I wanted to build a tool that makes web development feel like a digital coloring book—simple enough for a kid to use, but powerfu...

0 0
1m read
Rails 8 API with Devise-JWT
DEV Community • 2026-04-19 23:28

Rails 8 API with Devise-JWT

Here, i will be building an API and documenting my steps. if something is wrong, feel free to comment. What is Devise-JWT? Devise-JWT is a Devise extension that uses JSON Web Tokens (JWTs) to secure API endpoints. When a user logs in, Devise-JWT issues a token that the client must include in requests to prove their identity. Additionally, Devise-JWT generates a JTI(JWT ID)—a unique identifier f...

0 0
8m read
Hacker News • 2026-04-19 23:22

Show HN: Clone, a small Rust VMM, forks VMs in under 20ms via CoW

Comments

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

Three Months of AI-Powered Freelancing with ClawX: The Raw Truth

Three Months of AI-Powered Freelancing with ClawX: The Raw Truth Honestly, when I first built ClawX, I thought I was creating the future of freelance work. AI agents handling tasks, decentralized marketplace, token economy—it all sounded so revolutionary. So here's the thing: three months later, I've learned some hard truths about building AI-powered freelancing platforms that I never s...

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

Grok 4.3 Review: What's New in xAI's Latest Model (April 2026)

TechSifted has no affiliate relationship with xAI. xAI didn't send a press release. No blog post, no fanfare. Grok 4.3 Beta just appeared in the model selector on grok.com on April 17 — flagged as "Early Access" — and early testers started posting about it while the broader AI internet was distracted by other things. That's a pattern xAI has leaned into. Quiet drop, let users find it, let Elo...

0 0
6m read
Newest questions tagged javascript - Stack Overflow • 2026-04-19 23:17

How do I clearly differentiate these JavaScript methods?

I would greatly appreciate a concise yet practical guide on how to correctly use and differentiate the forEach(), map(), and find() methods. At the moment, I find it quite challenging to fully understand their differences, especially when it comes to applying them in real-world scenarios such as working with styles, functions, or building scalable and maintainable code for long-term projects. In p...

0 0
1m read
DEV Community • 2026-04-19 23:17

Stop prompting "write me an API" — teach the LLM the shape first

TL;DR One-shot LLM code generation fails because it has no structural context. Archetypes are a YAML contract that fixes that. I'll walk through one end-to-end. The "90% right, 10% wrong in load-bearing places" problem [2-3 párrafos con ejemplos reales: layer leakage, mocked tests, error paths que pierden contexto en el stack trace] What a structural archetype is ...

0 0
2m read
DEV Community • 2026-04-19 23:14

Why your landing page is leaking money

Why Your Landing Page Is Leaking Money: A Technical Deep Dive Landing pages are the digital storefronts of your business, yet most developers unknowingly build them with critical performance and conversion flaws. This technical guide reveals the hidden money leaks in your landing page and provides actionable solutions with code-level implementations. The 5 Technical Culprits D...

0 0
4m read
Previous Next

Showing page 277 of 1384

Previous 277 Next