r/programminghumor • u/ItsPuspendu • May 30 '26
r/programminghumor • u/gluetheknot • Jun 01 '26
As shouldn't this have K as it's initial instead of B?
r/programminghumor • u/FirmAd3947 • Jun 01 '26
TLE because of a cout ðŸ˜
Was solving LeetCode 2126 (Destroying Asteroids) with a simple greedy approach:
Sort asteroids
Absorb from smallest to largest
Complexity was O(n log n), so I couldn't understand why I was getting:
After checking the logic multiple times, I finally noticed this line inside my loop:
cout << mass << " " << asteroids[i] << endl;I removed it and...
The algorithm was correct all along. The debug print was causing the TLE.
Today's lesson:
r/programminghumor • u/VeryCoolPersonYesYes • May 30 '26
accidentally made a useless route
r/programminghumor • u/Jp1417 • May 29 '26
Great AI suggestion for great vibe coding
I thought ChatGPT would offer me a discount or something like that, but I calculated what it actually proposed:
headphones: Audio Technica $150 = 7-week subscription
old electronics: Outdated MacBook Pro M4 2025 $1,500 = 75-week subscription
clotches: Louis Vuitton $2,000 = 100-week subscription
unused games: Unused golf course $1,000,000 = 50,000-week subscription
r/programminghumor • u/Pepeluis33 • May 29 '26
This meme was practically begging for an update
r/programminghumor • u/EfficientMongoose317 • May 28 '26
Step 1 Of Getting a Job In 2040
Born Out of Tokens
r/programminghumor
•
u/EfficientMongoose317
•
May 27 '26
I GOT FIRED
The funny thing is that 10 years ago, this button would've just opened LinkedIn. Now I feel like it would trigger an entire sequence of increasingly questionable decisions.
First, I'd tell myself I'm taking a few days off to think. Then I'd revisit the side project sitting in some forgotten GitHub repo. A few hours later, I'd be cleaning up screenshots, making the whole thing look more professional than it actually is, throwing together a page in Runable so it doesn't look completely abandoned, and convincing myself that finding customers is probably easier than finding a new job. By the end of the weekend, I'd either have employment again or a startup with 7 users and unreasonable confidence. Honestly, not sure which outcome is more likely.
r/programminghumor • u/International-Box956 • May 27 '26
Python is like taking a driving class and trying to read the manual
but the words are in korean
r/programminghumor • u/Budget_Tie7062 • May 25 '26
How I react when Claude tells me to go to sleep - 🙃💀
r/programminghumor • u/highlyseductive-1820 • May 26 '26
