Menu
One missing comma can ruin your whole day.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Division Memes
Posts tagged with Division
The Modulo Meltdown
Math
Algorithms
Javascript
Programming
Python
9 months ago
387.2K views
0 shares
OH. MY. GOD. The sheer AUDACITY of programmers thinking 8%3=2! Mathematicians are literally LOSING THEIR MINDS right now! 😱 For the uninitiated: in most programming languages, % is the modulo operator that gives you the remainder after division. So 8÷3=2 with remainder 2. Hence 8%3=2. BUT MATHEMATICALLY, modulo is supposed to be the congruence relation! The horror! The betrayal! The absolute mathematical BLASPHEMY! This is why programmers and mathematicians can't be in the same room without someone having a complete meltdown. Trust me, I've seen it happen. It's like watching cats and dogs try to agree on tax policy.
It's Worth It (For The Performance Gains)
Rust
Algorithms
Math
Programming
Python
11 months ago
332.5K views
1 shares
The eternal quest for micro-optimization strikes again! Some poor soul wrote an entire math library in Rust just to divide 60 by 9 from Python. That's like building a nuclear reactor to charge your phone. Sure, Rust is blazingly fast, but at what cost? Your sanity? Three months of your life? Meanwhile, Python would've just returned 6.666... before you finished typing "cargo new". The Shrek running meme perfectly captures that mix of pride and madness that comes with over-engineering a simple solution. We've all been there—spending hours optimizing code that runs once a month to save 0.02 seconds.
Today's picks
Vibe Driven Development Coding Programmer Software Engineer T-Shirt
Affiliate
$14.49
GearScouts.com
Sponsored
Power stations
Format Adate Object Into Yyyy Mm Dd
Java
194.3K views
1 year ago