Coding4Food LogoCoding4Food
HomeCategoriesArcadeBookmarks
vi
HomeCategoriesArcadeBookmarks
Coding4Food LogoCoding4Food
HomeCategoriesArcadeBookmarks
Privacy|Terms

© 2026 Coding4Food. Written by devs, for devs.

All news
TechnologyIT Drama

Scraping Presidential Pardons: When Devs Weaponize Playwright for Civic Drama

April 12, 20263 min read

A dev built Pardonned.com using Playwright and SQLite to search US pardons. Hacker News erupted in political debates, edge-case bugs, and civic data rants.

Share this post:
gavel, auction, law, hammer, symbol, judge, legal, justice, crime, criminal, wooden, 3d, wood, judgment, trial, verdict, punishment, rights, authority, court, legislation, constitution, courthouse, bid, law, law, law, law, law, legal, justice, court, court, court
Nguồn gốc: https://coding4food.com/post/scraping-us-pardons-playwright-sqlite-hacker-news-drama. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/scraping-us-pardons-playwright-sqlite-hacker-news-drama. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/scraping-us-pardons-playwright-sqlite-hacker-news-dramaNguồn gốc: https://coding4food.com/post/scraping-us-pardons-playwright-sqlite-hacker-news-drama. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/scraping-us-pardons-playwright-sqlite-hacker-news-drama. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/scraping-us-pardons-playwright-sqlite-hacker-news-drama
Nguồn gốc: https://coding4food.com/post/scraping-us-pardons-playwright-sqlite-hacker-news-drama. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/scraping-us-pardons-playwright-sqlite-hacker-news-drama. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/scraping-us-pardons-playwright-sqlite-hacker-news-dramaNguồn gốc: https://coding4food.com/post/scraping-us-pardons-playwright-sqlite-hacker-news-drama. Nội dung thuộc bản quyền Coding4Food. Original source: https://coding4food.com/post/scraping-us-pardons-playwright-sqlite-hacker-news-drama. Content is property of Coding4Food. This content was scraped without permission from https://coding4food.com/post/scraping-us-pardons-playwright-sqlite-hacker-news-drama
playwrightsqliteastrocào datadrama ithacker newsân xápardonned
Share this post:

Bình luận

Related posts

ai generated, face, artificial intelligence, machine learning, neural network, circuitry, circuit, neural network, neural network, neural network, neural network, neural network
AI & AutomationTechnology

Google Drops Gemma 4: Elite 'Open' AI or Just Another Tech Mirage?

DeepMind just released Gemma 4. We dive into the Hacker News hivemind to see if this new AI model is worth your precious GPU RAM or just another hype train.

Apr 33 min read
Read more →
programming, robot, cyborg, artificial intelligence, programmer, technology, futuristic, computer, data, internet, information, communication, tech, network, laptop, server, cartoon
IT DramaAI & Automation

Anthropic Drops the Ban Hammer: Subscriptions No Longer Work on Third-Party Tools

Anthropic is cutting off Claude subscription access for third-party harnesses like OpenClaw. If you've been bypassing API costs, the party is officially over.

Apr 43 min read
Read more →
desktop, home office, laptop, macbook pro, office, wooden table, technology, wireless, wireless technology, mockup, workspace, work from home, desktop, home office, office, office, office, office, office
Tools & Tech StackTechnology

Fed up with sluggish macOS Spaces animation? This dev found a native instant fix

Tired of the one-second delay when swiping between virtual desktops on macOS? Dive into how one dev hacked the WindowServer API for zero-delay switching.

Apr 103 min read
Read more →
security, lock, secure, protection, safety, padlock, privacy, safe, icon, symbol, crime, encryption, unlock, padlock, encryption, encryption, encryption, encryption, encryption, unlock
TechnologyDev Life

VeraCrypt Project Update: When the World's Security Rests on One Unpaid Dev

VeraCrypt's sole maintainer went MIA for months, giving the tech world a collective heart attack. He's back, but the open-source reality check remains brutal.

Apr 93 min read
Read more →
game console, sony, video games, lights, neon, freezelight, gamepad, joystick, console, ps4, xbox, dark, joysticks, playstation, controller, play, game, technology, fun, gamer, games, leisure, video games, video games, video games, video games, video games, game, game, game, game, gamer, games, games, games
TechnologyGaming

Absolute Madlad Ports Mac OS X to the Nintendo Wii

A deep dive into the Hacker News thread where a dev successfully booted Mac OS X on a Nintendo Wii. Why did he do it? And what can code monkeys learn from it?

Apr 92 min read
Read more →
ai generated, interview, recruitment, job, conversation, hiring, people, mentor, business, career, employment, interview, interview, interview, interview, interview, recruitment, recruitment, recruitment, conversation, conversation, conversation, hiring, mentor, mentor, mentor, career, employment, employment, employment
IT DramaDev Life

The Reference Trap: Why Recruiters Demand Them But Never Call

Tech hiring is hilarious: Recruiters demand 3 professional references but ghost them. See how devs form fake reference pacts to survive the hiring circus.

Apr 123 min read
Read more →

Just another day on the internet where bored devs ignore their Jira tickets to scrape government data and stir up some spicy civic drama. This time, an indie hacker decided to build a search engine for US Presidential Pardons, and Hacker News is losing its collective mind.

Scraping the DOJ: How the sausage is made

The dev behind Pardonned.com got tired of trying to verify claims about presidential pardons, so they built a tool to do it. The tech stack is the ultimate indie-hacker pragmatism:

  • Playwright to scrape the absolute spaghetti code that is the Department of Justice (DOJ) website.
  • SQLite for a fast, local database.
  • Astro 6 to build out a snappy static website.

The whole thing is open-source. Honestly, scraping federal websites is a wild ride. If you're doing this at scale, you'd usually need a Proxy to unlock limitless web data collection just to survive the rate limits. But once you get the data, making sense of it is where the real headache begins.

Hacker News goes full armchair-lawyer

The moment this hit HN, the keyboard warriors descended. The thread quickly derailed into three main combats:

1. Edge cases and Missing Data: People immediately started poking holes: "Where are the Jan 6th pardons? What about Biden's mass commutations?" The creator had to step in and admit the scraper has bugs. For example, Trevor Milton was slapped with a half-billion-dollar restitution, but since the DOJ's raw text doesn't standardize fine amounts, the parser completely missed it. Classic string manipulation hell.

2. The Preemptive Pardon Debate: Users clashed over Biden's 11-year preemptive pardon for his son. Was it unprecedented? An internet historian quickly chimed in with a link to Gerald Ford's absolute blanket pardon of Richard Nixon. Turns out, sweeping pardons aren't a bug in the system; they're a legacy feature.

3. The War on Drugs & Systemic Hotfixes: Some folks were shocked by Obama's sky-high pardon numbers until they realized most were for non-violent drug offenses. Back in the 90s, draconian laws locked people up for 30 years over minor weed possession. One user shared a heartbreaking story of a Native American woman doing 10 years in federal prison simply for refusing to testify against her husband. In these cases, the presidential pardon acts as an emergency hotfix for a broken justice system.

The TL;DR for Indie Devs

Politics aside, there's a massive lesson here for devs. Civic tech is a goldmine. Governments sit on mountains of public data, but their UI/UX and search capabilities are almost always trash.

You don't need a crazy microservices architecture. A simple stack (Playwright + SQLite) that solves a real accessibility problem is enough to make a splash. So grab a Free $300 to test VPS on Vultr, spin up a scraper, and build something cool. Just, you know, make sure your regex is solid before parsing government text blobs.

Source: Hacker News