Author Archives: M. Eric Carr

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

Kilofarad

“Kilofarad” is not a word I thought I’d ever have an actual use for. And yet… Continue reading

Posted in Analog, Components, Electronics, Fundamentals, Mad Science, Reviews, Science, Toys | Tagged , , , , , , , , , , , , , | Leave a comment