Category Archives: Algorithms

The Old XOR Switcheroo

Swap two binary integers, without using a temporary variable. Not magic — XOR. Continue reading

Posted in Algorithms, Assembly, Coding, Digital, Math | Tagged , , , | Leave a comment

ChatGPT

With ChatGPT, the algorithms have learned to not only write working code, but accept constructive criticism and improve it, too. Continue reading

Posted in Algorithms, BASIC, C, Current Events, Digital Citizenship | Leave a comment

The Short Way Around

How can you calculate Great Circle routes? Go straight through the Earth! (…and then normalize.) Continue reading

Posted in Algorithms, Aviation, Coding, Math | Tagged , , , , , | Leave a comment

Brute Force and Ignorance

Sometimes the best tool for the job is a big (computational) hammer. Continue reading

Posted in Algorithms, C, Coding, Math | Tagged , , , , , | Leave a comment