News for hackers. Stuff that matters.

gindevine

Re:Norway: an Eden with wifi on Sunday November 20, 2011 @05:02AM (#3257758)
I have the opposite opinion. I've never experienced the system first-hand myself, but I know of a few who have. To me, it seems that as long as you have a business idea and actually check if it's possible to maintain, there's a lot of governmental and non-governmental organizations who'll support you financially.

I think Silicon Valley would be harder to start in, if not only for the (seemingly) fierce competition for VCs' money and because you might have to pay for the health insurance of your employees.

When creating a 2d grid array with all values the same, slicing one row multiple times works way faster than creating each row for each column.

   for(var y=h;y>=0; y--) row.push(0);
   for(var x=w; x>=0; x--) grid[x] = row.slice(0);
It seems to me that this method should work without any problems, but I may be wrong..