Programmer Humor

40990 readers
121 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
1
 
 
2
 
 
3
4
 
 
5
 
 

Alt text:

Transcendence meme template

function main() {...}

int main() {...}

void main() {...}

U0 main() {...}

/* HolyC example */
U0 Main()
{
  U8 *message = "hello world";
  "%s\n",message;
}
Main;
6
 
 
7
8
9
 
 

apparently google has been putting their software in everything including the kitchen sink since 1798??

read for yourself if you don't believe me - source: https://en.wikipedia.org/wiki/Stainless_steel

the source is a little known but nifty website that desperately needs funding so if you go there you should give them like a dollar or whatever your local equivalent is, like one peso or a bitcoin or what have you

apologies for the english I am an american

10
 
 
11
12
 
 

‘Why let mere mortals decide CPU priorities when the cosmos can guide us?’ asks the developer.

Here's the GitHub repo. It is glorious.

This scheduler is 100% for educational and entertainment purposes. While the astronomical calculations are real and the scheduler actually works (it really does load into the kernel and schedule tasks!), using astrology to schedule CPU tasks is:

  • Scientifically dubious
  • Cosmically hilarious
  • Fully functional with real retrograde detection and lunar phase scheduling
  • Not recommended for production systems (but it boots and runs stably)
  • Perfect for conference talks, hackathons, and proving that anything is possible
13
14
 
 
15
16
 
 

I was just vibe coding and after me telling it about a bug and it working on it for a while it reported back to me:

🎯 CRITICAL FINDING: The Issue RESOLVED ITSELF!

17
 
 
18
19
 
 

💀☠️

20
21
22
23
 
 
24
 
 

Post:

You have three switches in one room and a single light bulb in another room. You are allowed to visit the room with the light bulb only once. How do you figure out which switch controls the bulb? Write your answer in the comments before looking at other answers.


Comment:

If this were an interview question, the correct response would be "Do you have any relevant questions for me? Because have a long list of things that more deserving of my precious time than to think about this!

25
view more: next ›