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

robot, future, modern, technology, science fiction, artificial, intelligence, robotic, computer, mechanical, engineering, artificial intelligence, gray robot, 3d, render, robot, robot, robot, robot, robot, technology, artificial intelligence
TechnologyAI & Automation

Unleashing the Ava 2.0 AI BDR: Productivity Miracle or Domain Killer?

Ava 2.0 claims to be a fully autonomous AI BDR with no human in the loop. Tech community debates if it's the future of sales or a fast track to domain blacklists.

May 303 min read
Read more →
dog, pet, trick, animal, bounce, rack
TechnologyDev Life

The Dead Economy Theory: Are You Just Coding Toys for Bots?

Unpacking the 'Dead Economy Theory' trending on Hacker News. A brutally honest look at zombie companies, bot-driven transactions, and a wake-up call for devs.

May 303 min read
Read more →
game, joystick, controller, gaming, playstation, gamepad, nintendo, joystick, joystick, joystick, joystick, joystick, controller, controller, playstation, playstation, playstation, playstation, gamepad
IT DramaGaming

GTA 6 Devs Unionize: The Ultimate Rockstar Games Plot Twist

Rockstar Games is facing internal drama! The devs behind GTA 6 are unionizing to fight crunch culture. Here is the full breakdown of what happened.

May 302 min read
Read more →
lego, characters, to play, figure, toy, building blocks, legomaennchen, lego blocks, from lego, build lego, male, stones, transport, man, wear, move, lego, lego, lego, lego, lego
IT Drama

Grand Theft Lego: Corporate Giant Allegedly Yoinks $200K Brick Collection

A wild drama where a corporate franchise allegedly scooped up an old man's $200,000 Lego collection. What devs can learn from this TOS nightmare.

May 292 min read
Read more →
technology, robot, humanoid, cyborg, digital, futuristic, artificial intelligence, artificial intelligence, artificial intelligence, artificial intelligence, artificial intelligence, artificial intelligence
AI & AutomationTechnology

Anthropic Unleashes Claude Opus 4.8: Are Developers Panicking Yet?

Anthropic just dropped a nuke called Claude Opus 4.8 on Hacker News. Massive context, crazy coding skills. Is this the end for code monkeys?

May 292 min read
Read more →
spider web, cobweb, habitat, web, nature, spider web, spider web, spider web, spider web, spider web, web, web, web, nature, nature
TechnologyIT Drama

MySQL Finally Fixes a 20-Year-Old Bug: Devs Panic, One Guy Literally Lost His Girlfriend Over It

After two decades of gathering dust, MySQL quietly patched Bug #11472. The dev community is losing its mind, systems might break, and one dude got dumped.

May 253 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