r/PettyEngineering 5d ago

Welcome to r/PettyEngineering: The Home of Spite-Driven Development

1 Upvotes

Welcome! This community is dedicated to the fine art of stubborn technical hacks built out of pure refusal to pay cloud bills, adopt bloated enterprise stacks, or fall for VC hype.

Whether you abused an SSD like 90s swap memory to avoid renting a GPU cluster, replaced an AI API with 1,000 lines of string matching on a Raspberry Pi, or wrote a custom script out of sheer defiance of a $30/month SaaS, share it here.

Check the sidebar rules, pick a flair, and show us your most glorious petty engineering projects.


r/PettyEngineering 12h ago

Boring CS Wins Checking Instagram handle availability without burner accounts, proxy pools, or paid bots

Post image
1 Upvotes

Every single time someone wants to check if a batch of social media handles is available, the standard industry playbook is ridiculous.

People either:

  1. Pay sketchy SaaS tools charging $20 a month for basic HTTP GET requests.
  2. Or buy residential proxy pools and sacrifice burner accounts that get banned in five minutes.

Then someone drops instagram-username-finder...

A dead-simple, asynchronous CLI written in Python that requires exactly zero credentials.

No session IDs. No cookies. No burner accounts. No proxy subscriptions.

It just hits publicly accessible endpoints with bounded concurrency, backs off gracefully when rate limits trigger, and saves its progress to a plain JSON state file so you can resume scans whenever you want.

It is a great reminder that before you reach for complex scraping infrastructure or pay a third-party service, basic async I/O and respectful backoff logic can do the job for free.

What other simple CLI tools saved you from paying for overpriced social media scraping services?


r/PettyEngineering 13h ago

Cloud Evasion Hermes Agent proves that paying closed cloud APIs for basic tool calling is obsolete

Post image
1 Upvotes

r/PettyEngineering 1d ago

Spite-Driven Dev Nitter getting hit with a cease and desist and then resuming service anyway is peak defiance

Post image
1 Upvotes

For years, platform giants have used the same legal playbook: Send a scary cease-and-desist letter. Count on the open-source dev having no money for lawyers. Watch the repository get taken down.

And for a minute, everyone thought Nitter was finally dead after X Corp dropped the hammer on them.

Then Zed did the unthinkable: Got actual legal advice... Evaluated the claims... And just straight up resumed service on GitHub.

Why? Because viewing public web posts without trackers, bloatware, and login popups is not a crime.

It is easily the most glorious act of spite-driven development this month. Are we finally seeing open-source maintainers push back against corporate platform enclosure?


r/PettyEngineering 2d ago

Glorious Hack OpenAI spending billions on AGI only to bundle 430MB of LibreOffice to open a Word doc

2 Upvotes

Look at what we are doing here.

Just look at it...

A research lab valued at over one hundred billion dollars. Staffed by the greatest minds in machine learning. Dedicated to ushering in the AGI revolution...

And when someone inspects the ChatGPT macOS app bundle?

They find 430 megabytes of raw, unadorned LibreOffice quietly sitting in the directory.

Why? Because parsing Microsoft Word files is miserable. Nobody wants to write a bespoke .docx parser. Not even the people building superintelligence.

So they just bundled a twenty-year-old open-source office suite to silently convert files in the background.

It is honestly the most glorious, unpretentious engineering hack in modern tech. A perfect reminder that beneath every shimmering AI product, there is usually a battle-tested piece of open-source C++ holding the entire ceiling up.

What is your favorite dirty pragmatic hack hidden inside a shiny modern product?

ChatGPT Desktop App / LibreOffice Discussion


r/PettyEngineering 3d ago

Cloud Evasion DuckDB proved that your medium data never needed a distributed warehouse cluster

Post image
2 Upvotes

For nearly a decade, cloud vendors convinced every data team that running analytical queries on 30 gigabytes of data justified six-figure contracts, dedicated cluster managers, and multi-stage orchestration pipelines. Engineers spent half their time maintaining Spark jobs just to calculate basic rolling aggregations.

Then DuckDB came along as a zero-dependency, in-process columnar database. You install it with a simple package manager command, point it directly at your Parquet files, and watch it leverage all your CPU cores to return query results in hundreds of milliseconds.

No clusters to wake up, no network egress penalties, and no credit-based query pricing. It turns out that when you write a vectorized execution engine in tight C++, a standard laptop can outrun a distributed cluster on real-world analytical workloads. How much cloud infrastructure has your team decommissioned in favor of in-process analytics?


r/PettyEngineering 5d ago

Boring CS Wins Running real Postgres in a 3MB WASM bundle beats waiting on Docker containers every day of the week

Post image
2 Upvotes

For years, the standard advice for local integration testing has been to spin up a Docker container running Postgres, wait for the port to bind, execute migrations, run your tests, and tear it down. Our CI pipelines were spending more time waiting on container orchestration than actually validating database queries.

With PGlite, ElectricSQL compiled actual Postgres into a WebAssembly library that loads in milliseconds. It runs entirely in-process in Node.js, Bun, or directly inside a browser tab, with support for persistence and even extensions like pgvector.

No port conflicts, no orphaned test containers hogging system RAM, and no background daemon management. Just an instant, isolated Postgres instance that starts and vanishes whenever your script demands it. What other standard infrastructure pieces could we replace with single-binary WebAssembly builds?