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, data centre, computer, server, rack, technology, digital, processor, server, server, server, server, server
TechnologyAI & Automation

Thinking Machines Drops Inkling: A New Open-Weights Challenger Enters the Ring!

Thinking Machines just launched Inkling, an open-weights AI model. Is it time to ditch paid APIs and self-host this bad boy?

Jul 163 min read
Read more →
work, computer, apple, business, office, desk, technology, pen, phone, smartphone, workstation, blog, blogging, table, book, mouse, computer, apple, apple, apple, business, office, office, office, desk, blog, blog, blog, blog, blog, blogging, blogging, book
IT DramaTechnology

Lean Startup Godfather Eric Ries Drops Truth Bombs on Corporate Greed and Gets Roasted by AI Drama

Eric Ries returns to HN to promote his new book 'Incorruptible', introducing 'financial gravity' while getting roasted over his Claude Code generated site.

Jun 113 min read
Read more →
euro, europe, rocket, nature, prices, price increase, clouds, heaven, strip, aviator, finance, money, currency, inflation, economic crisis, energy crisis, energy saving, market economy, cost, development, stock exchange
TechnologyIT Drama

S&P 500 Slams the Door on SpaceX & AI Giants: Cash is King, Hype is Dead

The S&P 500 committee rejected SpaceX's fast-track and blocked unprofitable AI giants like OpenAI and Anthropic. Read the full drama and tech reactions here!

Jun 63 min read
Read more →
code, coding, computer, data, developing, development, ethernet, html, programmer, programming, screen, software, technology, work, code, code, coding, coding, coding, coding, coding, computer, computer, computer, computer, data, programming, programming, programming, software, software, technology, technology, technology, technology
Dev LifeIT Drama

"LLMs Are Eating My Career" - A Dev's Existential Crisis on Hacker News

A trending Hacker News post reveals mid-career panic as devs feel LLMs are taking over. Are AI tools ending software engineering or just evolving it?

Jun 73 min read
Read more →
lumber, lumberjack, axe, beard, forest, job, profession, tree, wood, woodcutter, man, person, strong, nature, male
GamingTechnology

The ASMR Firewood Splitting Simulator is the Ultimate Dev Procrastination Tool

Discover the incredibly satisfying Firewood Splitting Simulator that's taking over Hacker News. Put down your IDE and start chopping virtual wood.

Jun 152 min read
Read more →
ai generated, cloud computing, mining, gpu, server, blockchain, artificial intelligence, machine learning, data center, gpu, gpu, data center, data center, data center, data center, data center
TechnologyAI & Automation

Claude Fable 5 Dropped: Legit Next-Gen Tech or Just Another Benchmark Flex?

Anthropic quietly dropped the System Card for Claude Fable 5, scoring over 2100 points on Hacker News. Is this the AGI moment or just pure marketing?

Jun 103 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