Hacker Newsnew | past | comments | ask | show | jobs | submit | kirjavascript's commentslogin

transform is forbidden but -webkit-transform seems to work :^)


I did exactly this too haha


It can and we have achieved Arbitrary Code Execution in NES Tetris.

The setup is horrifyingly complicated and precise though, involving getting some near-impossible scores and entering specific names in the highscore list, then reaching the crash on the same frame that the internal values for random number generation happen to represent a jump instruction to said highscore list (and we get lucky and various registers also happen to contain values we need).

Then from there, there is some bootstrapping before total control is achieved.


However, I'm like 90% sure that this can be made easier using p3/p4 controllers through the famicom expansion port. In particular, Hydrantdude and I found a consistent enough setup using the single at 1489 lines (pushdown gives you a 50% chance, and I think).

This setup would even allow crude human-possible ACE. Right now we're limited to small payloads (I made a proof of concept that activates the unused two player mode), but more sophisticated setups might give us more power.


Size-optimized, RAM-only mods. Sounds interesting...


Holy shit, and massive kudos!


I used this to build a NES game in Rust https://github.com/kirjavascript/rust-nes-tmp


another 2D visualisation of the rubiks cube that is popularly used for computer simulation speedsolving is qcube[1]

despite not being able to see all sides of the cube, it's surprisingly easy to solve on, as you essentially see the same stickers that you would in real life.

there is even an IRC based version!

[1] https://mzrg.com/js/qcube-v2.html


How does it work? I couldn't understand keyboard controls.


here's an image of the keymap: https://cube.garron.us/keyboard_layout/files/heise_simulator...

and an explanation of the notation: https://jperm.net/3x3/moves


I wrote a new page describing how to write quines recently[1], but the quine-relay is really above and beyond

1: https://github.com/kirjavascript/quine-howto


sure they can, unrequested crypto miners running in the background are malware


As opposed to requested crypto miners. I would gladly trade some processor time and energy so that I don't have to watch obnoxious ads.


Have been using puppeteer [1] at work as a replacement for wkhtmltopdf with great success.

[1] https://github.com/GoogleChrome/puppeteer


it's actually possible to reduce duplication in this case with the <g> element, see this example;

https://jsfiddle.net/2kc6tqy1/2/


vim has visual find and replace across a whole project

https://github.com/eugen0329/vim-esearch


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: