Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
granttimmerman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
granttimmerman
13y ago
> xs = ['10', '10', '10'] > xs.map(parseInt) [10, NaN, 2] Javascript is beautiful.
32.
▲
by
granttimmerman
13y ago
This is extremely relevant: http://justdelete.me/
33.
▲
by
granttimmerman
13y ago
Thanks for the feature, dbieber!
34.
▲
by
granttimmerman
13y ago
I'll look into it. Thanks
35.
▲
by
granttimmerman
13y ago
Man... scalability sucks.
36.
▲
by
granttimmerman
13y ago
Your own user inputs are now bolded Commit: https://github.com/grant/hnplays2048/commit/308f68341b2c54bf...
37.
▲
by
granttimmerman
13y ago
Good idea. Working on it.
38.
▲
by
granttimmerman
13y ago
Good idea! I'll make an issue for this on Github.
39.
▲
by
granttimmerman
13y ago
Hey guys, it's the creator here. I never thought this little project would get this big! If someone wants to help me scale this, or add things like chat, please do! Just send a PR on Github! https://github.com/grant
40.
▲
by
granttimmerman
13y ago
Should be online now.
41.
▲
by
granttimmerman
13y ago
Done. http://hnplays2048.herokuapp.com Github: https://github.com/grant/hnplays2048
42.
▲
by
granttimmerman
13y ago
http://hnplays2048.herokuapp.com
43.
▲
by
granttimmerman
13y ago
Watch and wait :) ``` game = new GameManager(8, KeyboardInputManager, HTMLActuator, LocalScoreManager); setInterval(function (){ for(var i =0; i < 100; i++){game.move(Math.floor(Math.random()*4));}},1000) ```
44.
▲
by
granttimmerman
13y ago
There's also an api: http://hnplays2048.herokuapp.com/api :)
45.
▲
HN Plays 2048
(hnplays2048.herokuapp.com)
3 points
by
granttimmerman
13y ago
|
1 comments
46.
▲
by
granttimmerman
13y ago
It's a ton better now. :)
47.
▲
by
granttimmerman
13y ago
Working on syncing atm...
48.
▲
by
granttimmerman
13y ago
Hey guys! I made a multiplayer version of this game in about an hour or so. (Twitch plays pokemon style) http://hnplays2048.herokuapp.com/ Check it out! Or clone it! https://github.com/grant/hnplays2048
49.
▲
by
granttimmerman
13y ago
Top of hackernews: * How not to write an API * Nest is launching an API Kidding aside, I'm excited to see interesting uses of Nest's API in the near future.
50.
▲
by
granttimmerman
13y ago
Always Be Closing. Otherwise, say hello HTML preprocessors.
51.
▲
by
granttimmerman
13y ago
Here's the home page: http://research.microsoft.com/en-us/um/people/kopf/pixelart/
52.
▲
by
granttimmerman
13y ago
If you look at the source which is only ~200 SLOCs, it's just written in vanilla js for the canvas and Websocket which receives a simple arrayBuffer binaryType.
53.
▲
by
granttimmerman
13y ago
I'm currently making a clone as well. Expect it to be out in a week: https://github.com/grant/flappy-frog
54.
▲
by
granttimmerman
13y ago
My git shortcuts (in my bash_profile): alias g='git' alias pull='git pull origin master' alias push='git push origin master' alias gc='git commit -m $1' alias ga='git add -A' # Adds all and
55.
▲
by
granttimmerman
13y ago
Well, I guess that's one reason/excuse why Nest turned me down a summer internship when I applied last November.
56.
▲
by
granttimmerman
13y ago
I have a 39in 4k monitor that I bought for $500. The only problem is that 4k monitors through HDMI can only run at 30Hz, which is extremely noticeable. There might be a way to run at 60Hz but I haven't got it to work yet. Here's t
57.
▲
by
granttimmerman
13y ago
At this point/size, why do you even need a 'framework'? I think anybody who wants to adopt this kit and modify it a bit might as well just code the css themselves.
58.
▲
by
granttimmerman
13y ago
Number of minimalist frameworks for Java: 1
59.
▲
by
granttimmerman
13y ago
Tip: Hit Cap Lock 3x (Then hit Alt 3x)
60.
▲
Easy .co + Heroku Hackathon Setup
(startupweekendhacks.blogspot.com)
1 points
by
granttimmerman
13y ago
|
0 comments
More ›