News for hackers. Stuff that matters.

grantg

Re:Gameboy color emulator entirely in Javascript on Monday May 14, 2012 @01:36PM (#3972125)
Just added Dvorak overrides.
Re:Gameboy color emulator entirely in Javascript on Monday May 14, 2012 @01:36PM (#3972124)
Just added Dvorak compatibility. :)
Re:Gameboy color emulator entirely in Javascript on Monday May 14, 2012 @01:04PM (#3971932)
That error is from the page overloading. Secondly, it won't run on mobile safari anyhow (Best will be 1 fps tops with no audio and no keyboard input).

Mobile Safari will never run this right.

Re:Show HN: Holy shit Lycos still exists on Wednesday March 07, 2012 @07:27PM (#3678022)
Down below on altavista's page: © 2012 Yahoo!

ouch

Re:Bsnes has emulated every SNES DSP on Wednesday March 07, 2012 @06:54PM (#3677906)
Keep up the good work Byuu.
Re:Full Gameboy Color Emulator in Javascript on Tuesday January 10, 2012 @08:33PM (#3450056)
I killed it myself.
Re:Full Gameboy Color Emulator in Javascript on Tuesday January 10, 2012 @08:26PM (#3450035)
I shut the party down, willy wonka style.
Re:Full Gameboy Color Emulator in Javascript on Tuesday January 10, 2012 @07:36PM (#3449886)
Trying to compile code to JavaScript results usually in sub-optimal performance. You have to manually do it to tweak the best performance out of the language. It's kinda retarded, but it's analogous to writing assembly code for performance critical apps. Also, I did it for the lulz.
Re:Full Gameboy Color Emulator in Javascript on Tuesday January 10, 2012 @07:31PM (#3449869)
Chrome runs the JavaScript execution the best, while sucky at graphics (Scaling via CSS is sluggish in chrome).

Firefox 4+ runs it overall well (Slight GC hiccups in Firefox 9 though).

IE9 runs it like crap (JavaScript execution is like firefox 3.6, slow as hell).

Opera 11.6 can't run it, because it doesn't follow the typed array spec, causing the emulated cpu to crash. Works in older opera versions though, but just a little faster than IE9.

Safari 5.1.X reloads the page when ever a game starts, because of a js engine regression that happened in safari 5.1.1. Works in webkit nightlies though, and Safari 5.0.X

Re:Full Gameboy Color Emulator in Javascript on Tuesday January 10, 2012 @07:28PM (#3449853)
Because I added a different version of Tetris than the one most people know. I should probably switch the one there with the later version that changed out its music.
So you did ycombinator's version of [deleted]. :P
Because these are OS-dependent bugs for certain browsers and should get fixed soon by the browser makers. :P
I bet the resource files are 503'ing from server overload. :/
Use Firefox 5 then. Problem solved?
Use Firefox 5, other browsers take a shit on putImageData performance when blitting to the canvas.
You see, the problem is that chrome has bugs. Try running it in Firefox 5 for windows. It's not my fault. period. See some comments in http://www.reddit.com/r/gaming/comments/i9s9h/legend_of_zeld... for other various chrome related issues.
Yup
Thanks
Re:Newegg stores your password in plaintext on Tuesday May 24, 2011 @07:59PM (#2582237)
Encryption is inadequate because others can still find out what your password was (Insert disgruntled employee or hacker that gets the master decyption key).

Hashing / SALTing is WAAAAAY safer.

Re:Newegg stores your password in plaintext on Tuesday May 24, 2011 @07:58PM (#2582231)
A website employee should only be able to reset the password at most if the passwords is properly SALTed or hashed. Storing passwords in plaintext or not hashing them had to be done. It's insecure to just encrypt the password and rather not hash it.

I'm waiting for NewEgg to pull a Gawker now. ;)

Re:Brick Nintendo before they brick you on Wednesday May 18, 2011 @12:29PM (#2560674)
Simply put, they don't want the DS hackers hacking the 3DS.
Re:Gameboy Color Emulated in JavaScript on Wednesday May 18, 2011 @12:11PM (#2560612)
This will be the sixth time we have created a thread about it and we have become exceedingly efficient at it.
Re:2-D Glasses on Thursday April 21, 2011 @09:03PM (#2472971)
2-D Glasses == Sunglasses FTFY
Re:GameBoy Color emulator entirely in JavaScript+HTML5 on Saturday April 09, 2011 @07:45PM (#2428424)
x is A

z is B

shift is Select

return is Start

D-Pad is Joypad

Re:GameBoy Color emulator entirely in JavaScript+HTML5 on Saturday April 09, 2011 @07:34PM (#2428393)
Edit: Fixed
Re:GameBoy Color emulator entirely in JavaScript+HTML5 on Saturday April 09, 2011 @07:31PM (#2428381)
Not a good idea with hand-coded ROMs for CPUs that are in single-digit MHz that use interrupts liberally, it would cause code cache invalidation a lot.

Some stats for SML2 running (Audio ON (web audio for mac in about:flags for chrome, mozAudio for Firefox 4), scaling OFF):

Chrome 12: http://i.imgur.com/JjpT5.jpg 27.0% CPU load

Firefox 4: http://i.imgur.com/yEzzw.jpg 68.6% CPU load

Re:GameBoy Color emulator entirely in JavaScript+HTML5 on Saturday April 09, 2011 @06:52PM (#2428297)
okay, removed offending ROMs, and put up a homebrew one: http://www.grantgalitz.org/CrazyZone/

The URL linked above now redirects to the homebrew ROM.

Edit: Oops, I overwrote the redirect, sorry. Try http://www.grantgalitz.org/CrazyZone/

Older »