Logo
The best error message never shows up.
  • 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

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

Matrix-math Memes

Posts tagged with Matrix-math

Randomly Stumbled Upon This Code In My Company's Product (CAE Software)

Programming C++ Algorithms Math
3 hours ago 48.9K views 0 shares
Randomly Stumbled Upon This Code In My Company's Product (CAE Software)
Someone really said "I could use a loop" and then proceeded to manually hardcode what appears to be quaternion rotation calculations for every possible case. Each line is a beautiful handcrafted snowflake of copy-pasted arithmetic operations with slightly different array indices. This is what happens when you learn programming from a stenographer. The best part? There's probably a single matrix multiplication library function that could replace this entire screen of madness. But no, someone decided to type out hundreds of lines of p.a.c[i] * p.a.c[j] combinations like they were getting paid by the character. The code review must have been legendary. This is peak "it works, don't touch it" territory. Nobody's refactoring this beast because nobody wants to be the one who breaks the CAE software that's been running in production for 15 years.

Spotlight

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

Keychron K10 HE Hall Effect Keyboard Wireless, ...

Keychron K10 HE Hall Effect Keyboard Wireless, ...
Ad Each purchase helps us pay for the therapy our frontend devs need after dealing with CSS specificity issues. 💆