News for hackers. Stuff that matters.
Re:Show HN: My x86 emulator written in JavaScript by g3 on Thursday October 17, 2013 @06:40PM (#6568654)
Yes, it's very similar to the jslinux project. However, I added more hardware (it can boot a real bios: seabios). Also, I'll make this open source.
Re:Show HN: My x86 emulator written in JavaScript by tectonic on Thursday October 17, 2013 @11:27PM (#6569605)
Very much looking forward to the open source release!
Re:Show HN: My x86 emulator written in JavaScript by chii on Friday October 18, 2013 @12:54AM (#6569837)
great to hear you are opensourcing this!

I had a quick look at the minified source. its pretty hard to decipher (method names have been renamed too), unlike traditional minification which you can recover by just reformatting.

Re:Show HN: My x86 emulator written in JavaScript by annnnd on Friday October 18, 2013 @02:47AM (#6570119)
AFAIK most of minificators also shortened variable / function names - are there any that don't do this? (take a look at minified jquery.js for instance)
Re:Show HN: My x86 emulator written in JavaScript by Groxx on Friday October 18, 2013 @03:02PM (#6573325)
minification can't (usually) happen on the public side of the API - that could explain jQuery, as a very large amount of it is public.

Otherwise yeah, you can just run it through a whitespace-remover. There are also often options on e.g. the YUI compressor: http://refresh-sf.com/yui/ and Google's: http://closure-compiler.appspot.com/home

Re:Show HN: My x86 emulator written in JavaScript by jhgaylor on Friday October 18, 2013 @04:24AM (#6570324)
Css get minified by removing whitespace because the keywords are important.. Javascript can have some magic done to it to reduce character count because only the consistency of the keywords matters.
Re:Show HN: My x86 emulator written in JavaScript by why-el on Thursday October 17, 2013 @07:33PM (#6568881)
Keep us updated when you do. :)
Re:Show HN: My x86 emulator written in JavaScript by simida on Saturday October 19, 2013 @10:07PM (#6578726)
wait for you to open the source.