2 ms·
Unfortunately a Java applet, but the guide was interesting (click the “Next” near the top).
by saagarjha 7y ago
Unfortunately a Java applet, but the guide was interesting (click the “Next” near the top).
- andybak 7y agoI 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.
- apignotti 7y agoTry this Chrome extension: https://chrome.google.com/webstore/detail/cheerpj-applet-runner/bbmolahhldcbngedljfadjlognfaaein https://chrome.google.com/webstore/detail/cheerpj-applet-run... [Full disclosure: the extension is made by the company I work for]