3 ms·
I missed that link and was coming here to complain about the lack of example code. EDIT - how does one actually run a Java applet nowadays? Which browsers stil
by andybak 7y ago
I missed that link and was coming here to complain about the lack of example code.
EDIT - how does one actually run a Java applet nowadays? Which browsers still support that integration?
- capableweb 7y agoI did the following to run it locally instead: cd $(mktemp -d) wget http://will.thimbleby.net/misc/misc.jar wget http://will.thimbleby.net/misc/bootstrap.misc java -jar misc.jar And then it drops you into a repl. (Add `rlwrap` in front of `java -jar` if cursor movement doesn't work correctly)
- javajosh 7y agoIt's probably okay with this thing but in general don't do this. "wget totallynotmalware.exe; totallynotmalware.exe". Note to self: if I wanted to distribute Java malware to the HN crowd this is exactly how I would do it: write a minimalist, nerdy topic that requires an applet to run, knowing that my audience will happily find a work-around, like the above.
- capableweb 7y agoYeah, I'm assuming that people know what they are doing and taking the necessary precautions themselves when running untrusted code. I'm not gonna add "Run this in a virtual machine" every time I mention some software. But your reminder is good for the newcomers around I guess.