Programming/UX geek interested in novel methods of computer interaction and building out high-performance SaaS products
๐งฐ: Node.js, React, Java, Docker, k8s
An informative, albeit dense, video on the difference between VMs and Docker. I learned how Docker works to keep instances isolated and why you'd choose a VM over Docker: https://t.co/74kA334deg
I don't know if it's because I'm still learning Python or because Python doesn't use curly braces, but I find I write smaller functions in Python than JavaScript and tend to abstract code more
Also learned that the element inclusion check runs in O(1) time, which makes sense since the easiest way to implement a set in JavaScript would be to use the elements as keys into an object.
til that JavaScript's Array `reverse()` function modifies the array it is called on, whereas `toReversed()` will create a reversed copy of the original.
Implemented a pseudo-random number generator for my 8-bit computer! It generates a 16-bit unsigned integer when you press the button. The generator is a linear-feedback shift register implemented using shifts and XOR, so it's ideal for the 6502 architecture!