Category Archives: Algorithms

Cache And Carry

The Hofstadter Q sequence, like the Fibonacci numbers, is best computed with a caching scheme. But bring a lot of memory. Continue reading →

Posted in Algorithms, BASIC, Coding, Math | Leave a comment

Neural-Network Fractals

Last weekend, on a whim, I asked GPT-4 “Please teach me how to create simple neural networks in Python using PyTorch.” I wasn’t sure how well that would go, but figured it was worth a try. I not only learned … Continue reading →

Posted in Algorithms, Coding, Fractals, Machine Learning / Neural Networks, Minecraft, Python | Tagged , , , , , | Leave a comment

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