veganjay
Joined 12 years ago
Joined 12 years ago
Pick an integer between 1 and 9. Multiple it by 9. Take that number and multiply it by 12345679. (Skip the 8)
>>> 3 * 9
27
>>> 12345679 * 27
333333333
This all works because:
>>> 111111111 / 9
12345679.0
If you like this, I also recommend "Write Yourself a Git", where you build a minimal git implementation using python: https://wyag.thb.lt/
e.g.
$ uv tool install asciinema
$ asciinema play example.cast
Similar idea, different interface: https://news.ycombinator.com/item?id=44189814
Alternatively, a browser extension could potentially provide a helpful solution.
I suspect the implementation may vary on a case-by-case basis. The example [1] on the page utilizes the luxy.js [2] library.
For this specific page [1], I found that I can disable the smooth scrolling behavior by running the following command in the developer tools console:
luxy.init({ wrapperSpeed: 1.0});
Working with CHIP-8 inspired me to a CHIP-8 emulator which was a great learning experience.
Another tool I recommend is Ligolo-ng [1]. You set up a network interface and use "ip route" to send traffic through it. In a way, it "feels like a VPN".
I may give DSL 2024 a try and see how it compares.
I made a slightly similar (1.5d?) game for the CHIP-8. Pacman can only go left and right, but the ghosts fall from the sky.