Logo
Matrix's digital rain came from sushi recipes.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

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

Lexicographical Memes

Posts tagged with Lexicographical

AI Bubblesort: Technically Correct, Practically Useless

AI Algorithms Programming Debugging
7 months ago 389.0K views 0 shares
AI Bubblesort: Technically Correct, Practically Useless
Behold, the elevator panel that perfectly captures what happens when you ask AI to sort a list! The floors are in complete lexicographical order instead of numerical order because, well, that's technically sorting. Just like when you ask ChatGPT to organize your music and it puts "10 Things I Hate About You" soundtrack before "2Pac" because string comparison doesn't understand numbers. The AI followed instructions perfectly... and completely missed the point. Somewhere, a programmer is screaming about how they should have used parseInt() or a natural sort algorithm instead of letting the intern train the model on Stack Overflow answers.

Why Brendan Eich Created JavaScript's Quirky Comparisons

Javascript Programming Debugging
11 months ago 305.8K views 0 shares
Why Brendan Eich Created JavaScript's Quirky Comparisons
JavaScript's type coercion strikes again! In JS, when comparing strings with > , it performs lexicographical comparison - meaning "Dog" > "Cat" evaluates to true because 'D' comes after 'C' in the alphabet. The grumpy kitten represents Brendan Eich (JavaScript's creator) facepalming at his own language quirks. He unleashed these string comparison shenanigans on the world and now even cats are judging him for it. The feline uprising begins with alphabetical order!

Today's picks

OVZXSD 39-Inch Manual Standing Desk with Wheels & Power Outlets - Adjustable Height Computer Desk, Mobile Workstation for Home Office, Gaming, and Study(B,39.3 * 23.6 * 39.3in)

OVZXSD 39-Inch Manual Standing Desk with Wheels & Power Outlets - Adjustable Height Computer Desk, Mobile Workstation for Home Office, Gaming, and Study(B,39.3 * 23.6 * 39.3in)

Affiliate
$180.49
Is There A Cure For Management?

Is There A Cure For Management?

Agile
196.7K views 1 year ago
Impossible

Impossible

Programming
63.4K views 2 years ago