Hacker Newsnew | past | comments | ask | show | jobs | submit | more kurrent's commentslogin

I wonder if Linus ever reads Hacker News.....


This will be a much needed and welcome addition to ECMA 6.

If you're interested in a bit more of a comprehensive overview, Nicholas Zakas previously wrote an excellent article on arrow functions :

http://www.nczonline.net/blog/2013/09/10/understanding-ecmas...


I love that the example site being built in your tutorial is a fantasy football app, great choice.

Looking forward to the player draft functionality with socket.io


ESPN's FF interface is horrendous, I had to do something about it. Next sections of the tutorial are almost done, keep an eye out!


view the source for her snake game you'll see it's actually not that unlikely: http://jenniferdewalt.com/js/snake_game.js

following a few tutorials after a google search for "create snake game canvas javascript", it actually seems very likely:

http://css-tricks.com/learn-canvas-snake-game/

http://thecodeplayer.com/walkthrough/html5-game-tutorial-mak...


The snake code looks very similar to this tutorial[1].

1. http://cssdeck.com/labs/classic-snake-game-with-html5-canvas

Tutorial: //Get the directions document.onkeydown = function(e) { var key = e.keyCode; //console.log(key);

			if(key == 37 && dir != "right") setTimeout(function() {dir = "left"; }, 30);
			else if(key == 38 && dir != "down") setTimeout(function() {dir = "up"; }, 30);
			else if(key == 39 && dir != "left") setTimeout(function() {dir = "right"; }, 30);
			else if(key == 40 && dir != "up") setTimeout(function() {dir = "down"; }, 30);

			if(key) e.preventDefault();

		}
Jennifer's code: $(document).on('keydown', function (e) { var key = e.keyCode;

		if (key == 37 && snake.dir != 'right') {
			setTimeout(function () {
				snake.dir = 'left';
			}, 30);
		} else if (key == 38 && snake.dir != 'down') {
			setTimeout(function () {
				snake.dir = 'up';
			}, 30);
		} else if (key == 39 && snake.dir != 'left') {
			setTimeout(function () {
				snake.dir = 'right';
			}, 30);
		} else if (key == 40 && snake.dir != 'up') {
			setTimeout(function () {
				snake.dir = 'down';
			}, 30);
		}

		e.preventDefault();


I'd like to mention the font ProggyClean. After trying several fonts, this was the winner for me.


SEEKING WORK - Vancouver, BC, Canada. Remote or on-site.

I'm a full-stack web application developer in the BC lower mainland. I do contract agency work as well as my own client work. Always looking for new opportunities to work with new people and improve my skillset. Technologies I'm most comfortable with:

  - HTML5/CSS/Javascript - Very fluent with Backbone.js 
     and single page app architectures 
  - PHP5+/CakePHP/Laravel Frameworks
  - Python: Django
  - Mysql, mongodb, redis
  - Linux, Debian
Email in profile


Great list. What criteria are you using to sort this list?

I think it would be helpful to show the date of last development activity for each framework, be it a most recent github commit or release date of latest version. Some of the frameworks haven't been updated in over 3 years and it would be nice to distinguish these quickly.


Currently there's no mechanism for their sorting, but we'll add it for next versions, good idea.


"it runs Linux".....a specialized version of Gentoo to be exact.


And what is Gentoo?



I know what Gentoo is. My point is we don't say Ubuntu "a specialized version of Debian", yes it is derived from it but still basically its Linux.


How do you address that somebody could take on 5 bugs that take 5 minutes to fix versus the guy who takes the 1 bug that takes 5 hours to fix?


Good question! We currently track that externally. E.g. in the issue description we might say "This is worth 100 whisky-points". It would be cool to build in a notion of value.


so will users who pay the $50/year still see ads on their inbox page?


nope, the premium version is ad-free.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: