Morning.dev
My Feed Popular
Login
Newest questions tagged css - Stack Overflow • 2026-04-18 21:21

Firefox Web Extensions: adding datepicker input to popup?

I am trying to add a builtin datepicker (i.e. <input type="date">) to a Mozilla web extension (which is based on html/css/js) but the calendar does not popup. The code below (stripped off extra css and js) does not popup the calendar if it is part of a web-extension (but it does popup the calendar if you just open it as html in a browser): <!DOCTYPE html> <html lang="...

0 0
1m read
Stuxnet: How a USB Drive Destroyed 1,000 Nuclear Centrifuges — A Technical Deep Dive
DEV Community • 2026-04-18 21:18

Stuxnet: How a USB Drive Destroyed 1,000 Nuclear Centrifuges — A Technical Deep Dive

Stuxnet: How a USB Drive Destroyed 1,000 Nuclear Centrifuges — A Technical Deep Dive In 2010, the world discovered that a piece of software had done something previously considered impossible: it caused real, physical destruction to industrial machinery — without anyone in the target facility knowing it was happening. This is the story of Stuxnet. Not the headlines version. The technica...

0 0
5m read
DEV Community • 2026-04-18 21:10

AI-Powered Crisis Management: How Independent Pharmacies Can Automate Shortage Response

The Manual Burden is Real Drug shortages are a constant, exhausting battle. You're manually calling patients, scrambling for alternatives, and watching adherence crumble—all while your workflow collapses. This reactive mode hurts patients and your business. But a new, proactive approach exists: AI automation. Core Principle: Intelligent Prioritization The key is moving from ...

0 0
2m read
DEV Community • 2026-04-18 21:04

Korea's #1 Real Estate Platform Has No Official API — So I Built a Scraper. Then Got Blocked.

Korea has a real estate problem. Not in the market — in the data. Naver Real Estate (land.naver.com) is South Korea's dominant property platform. Millions of Koreans check it before every apartment decision: buying, renting, investing. It's where prices are listed, where transactions happen, where the market shows its face. But there's no official API. Not restricted. Not paid. Not deprecated. ...

0 0
5m read
DEV Community • 2026-04-18 21:04

Flutter CI Broke With 2288 Errors — How dart fix --apply Saved Us

Flutter CI Broke With 2288 Errors — How dart fix --apply Saved Us What Happened One morning, deploy-prod.yml started failing: error • Use 'const' with the constructor to improve performance lib/pages/landing_page.dart:12:15 • prefer_const_constructors ... (2287 more errors) 2,288 errors. A 200-page Flutter Web app went from green to red overnight. The cause: one lin...

0 0
2m read
DEV Community • 2026-04-18 21:01

Security+ started, 3 tools built, real attacks found on my own machine

Two weeks into a structured cybersecurity learning journey. This is the Week 2 review. Week 1 review and daily posts are on my profile. What changed between Week 1 and Week 2 Week 1 was about understanding how things work — networking protocols, Linux commands, basic Python. The goal was to build a mental model. Week 2 was about applying that understanding — studying for a real certification, b...

0 0
4m read
DEV Community • 2026-04-18 20:59

10 CSS tricks that feel illegal to know in 2026 🤫

🧊 Hey, quick story Last week I watched a senior dev write 47 lines of JavaScript. To center a div. He wasn't joking. look, CSS has changed. A LOT. Most tutorials still teach you the 2019 way of doing things. The stuff I'm about to show you? It makes old approaches look like cave paintings. let's go. 🎯 1) :has() — The selector CSS never had (until now) This is the one ...

0 0
9m read
DEV Community • 2026-04-18 20:57

I built a log analyzer, and it found real attacks on my own machine

I am documenting every day of my cybersecurity learning journey publicly. This post covers Days 8 through 12 — the first half of Week 2. The log analyzer and what it found The most significant thing I built this week is a Python log analyzer. It reads Linux auth.log files, finds every failed SSH login attempt, extracts the source IP from each one, and counts how many times each IP trie...

0 0
3m read
EcoPulse: Real-time Air Quality + Gemini AI
DEV Community • 2026-04-18 20:55

EcoPulse: Real-time Air Quality + Gemini AI

🌍 EcoPulse: Real-time Air Quality + Gemini AI 🔗 Live Demo https://celebrated-dodol-6f257b.netlify.app 🎯 What I Built EcoPulse helps people understand local air quality and get AI-powered sustainability tips. Enter any city - get real-time AQI data and personalized Earth Day advice from Google Gemini. 🛠️ How It Works User enters a city name (try: New Y...

0 0
1m read
Hacker News: Front Page • 2026-04-18 20:54

Any Color You Like: NIST Scientists Create 'Any Wavelength' Lasers

Article URL: https://www.nist.gov/news-events/news/2026/04/any-color-you-nist-scientists-create-any-wavelength-lasers-tiny-circuits Comments URL: https://news.ycombinator.com/item?id=47819453 Points: 7 # Comments: 0

0 0
1m read
I replaced Auth0 with an open source library in 30 minutes. Here is what broke.
DEV Community • 2026-04-18 20:52

I replaced Auth0 with an open source library in 30 minutes. Here is what broke.

My Auth0 bill last month was $427. For 12,000 monthly active users on a side project that makes roughly $0 in revenue. I spent a Saturday moving off it. This is what happened. The bill Auth0's pricing jumps at the 1,000 MAU line. My project crossed it in March. The next tier is $240/month. Then I turned on MFA, which is extra. Then I wanted SAML for a B2B customer, which is extra. Then...

0 0
8m read
DEV Community • 2026-04-18 20:52

Running 3 Parallel Claude Code Instances to Get $200 of Dev Work for $20/month

Running 3 Parallel Claude Code Instances to Get $200 of Dev Work for $20/month Overview I build Jibun Kabushiki Kaisha — a 200-page Flutter Web SaaS — using Claude Code. On a $20/month plan, I run 3 specialized Claude Code instances in parallel to achieve roughly 10x the development throughput. The Role Assignment System Each instance has a fixed responsibility: ...

0 0
3m read
A Game for the Mind
DEV Community • 2026-04-18 20:50

A Game for the Mind

Spoiler! It is time to reveal my cards: mordorjs is a joke wrapped around a serious question for all of us. It is a game for the mind. A mental exercise meant to make us think a little harder. My goal with it is simple: we should not forget how to think. We should keep exercising our minds, because this may be the most important human ability we have left. And maybe it is also one of ...

0 0
3m read
DEV Community • 2026-04-18 20:46

Why random.randint(300, 850) is a bad fake credit score

I searched GitHub for Python test files that reference credit_score. Across about 100 repos, every single one hardcodes an integer: user["credit_score"] = 720 Not one of them uses a generator, a factory, or even random.randint. They just pick a number and move on and random.randint isn't much better. 720 doesn't mean what you think it means A FICO 8 score of 720 falls in the ...

0 0
2m read
Speed vs. Velocity: The Difference for Software Teams
DEV Community • 2026-04-18 20:46

Speed vs. Velocity: The Difference for Software Teams

☕ Welcome to The Coder Cafe! Today, we discuss the difference between speed and velocity in team productivity, illustrating that tracking speed alone can be misleading. Get cozy, grab a coffee, and let’s begin! We often celebrate teams for moving fast. But speed alone can be a trap. A rush of fast changes that barely move the product toward the real goal shouldn’t count as a win. When we talk a...

0 0
4m read
DEV Community • 2026-04-18 20:46

The GKE Upgrade That Took Down Our Production Pods for 45 Minutes

I want to start this blog with the story that made me realise I had been running Kubernetes on GKE without actually understanding how GKE runs Kubernetes. This is about a node pool upgrade that should have been routine and wasn't. The Setup We run three GKE Standard clusters on GCP. One for production, one for staging and one for our internal tooling. The production cluster runs about ...

0 0
6m read
DEV Community • 2026-04-18 20:45

How to build a secure password reset flow in Next.js (the short version)

Last month I reviewed a friend's side project. He had 200 paying users, Stripe set up, a working dashboard. The password reset flow sent a reset token in a query string, stored it in plain text in Postgres, and never expired it. Anyone who read the database could take over any account, permanently. He had written it in 2 hours. It looked fine. That is the problem with reset flows. They look fine ...

0 0
8m read
HackerNoon • 2026-04-18 20:45

Memory Leaks in Swift: The Silent Killer of iOS Apps

Memory leaks in Swift occur when strong reference cycles prevent ARC from deallocating objects, leading to performance degradation and increased memory usage over time. Common causes include closures, delegates, timers, and async tasks, all of which require explicit ownership management using weak or unowned references.

0 0
1m read
Claude Design Review: Hands-On Brand Kit and Landing Page Test
DEV Community • 2026-04-18 20:44

Claude Design Review: Hands-On Brand Kit and Landing Page Test

It's 2:10am. I'm on the couch watching Balls Up on Netflix (pretty hilarious, by the way) when the email hits my phone. Claude launched a design tool. By morning, Figma's stock was down 7%. As someone who has spent hundreds of hours in Figma and ships with Claude Code daily, I had one thought: I need to try this right now. Why this matters Figma is an excellent design tool. Its AI pl...

0 0
7m read
DEV Community • 2026-04-18 20:42

How to build a login flow in Next.js 15 (sessions, cookies, CSRF, and the timing attack nobody talks about)

This is part 4. Today: login. Form, server endpoint, session cookie, CSRF, and a real look at timing defense. This is the endpoint attackers probe the most, so it is the one we harden the hardest. The flow +-------+ +--------------+ +----------+ |Browser| POST | Next.js | SELECT | Postgres | | | email | /api/auth/ | user by | use...

0 0
12m read
Previous Next

Showing page 95 of 1158

Previous 95 Next