Better HN
topnewbestaskshowjobs
Log inSign up

mmabbq

3 karma · joined Nov 8, 2013 (13y ago) · 6 submissions

Submissions

comment 11mo ago · link · parent

Turns out I was curious too, so I tried to de-minify it myself. Now I get to see how close I was.

https://pastebin.com/FKyz20LG

comment 5y ago · link · parent

I think there's a minor typo in the trimming examples:

  "  Trim Me  ".trim() // "Trim"
should be

  "  Trim Me  ".trim() // "Trim Me"

comment 11y ago · link · parent

Yeah the JSON file with key mappings (http://s.cdpn.io/190177/keyboard_.json) appears to have an incorrect mapping for ';'.

It says 186, but console.log(code) returns 59 for me. If I update the javascript to replace the 186 with 59 the sound will play, but to get proper CSS effects I think the JSON file needs to be corrected.

comment 12y ago · link · parent

I feel kinda bad that you're being downvoted. I also felt the presentation was a little jarring. The right panel seemed to change at strange times related to the content I was reading. Perhaps it was an overuse of the "change things while the user is scrolling to make it seem cool" theme I've been seeing a lot.

On the other hand, I actually found the content pretty great, but I'm not a web developer so take that with a grain of salt...

comment 12y ago · link · parent

  setTimeout(function(){
  	topito.go( 50 );
  }, 1000);
I think that's intended. I also use 27.0.1 and if you click the buttons the progress works fine.

comment 13y ago · link · parent

This is pretty neat, but I find it pretty annoying that my eyes have to keep shifting up and down to read the explanation for each command. It would be nice if the explanation text popped up closer to where my eyes are already focused.