Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rwinn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
rwinn
13y ago
> Once you reach 2048, the game continues. That's a bug, it should pop up a dialog with your score. Rest is intentional. newtile = 2 vs. newtile = Math.random() > 0.25 ? 2 : 4
62.
▲
by
rwinn
13y ago
Heh, i'll accept a patch for swipe support. You have to keep it below 2 bytes though :D
63.
▲
by
rwinn
13y ago
Intentional side-effect :) I had to leave it out to keep to the 2048 byte limit.
64.
▲
by
rwinn
13y ago
I've been seeing that as well. Does not happen when outside of the js1k frame ( http://johan-nordberg.com/2048/ ). I think it is some hisenbug related to that js1k loads all entries by injecting the script in a ifra
65.
▲
by
rwinn
13y ago
Should have pressed down ;)
66.
▲
by
rwinn
13y ago
If you fill up the screen and make a move that does not make a new space for the next tile it is GG!
67.
▲
by
rwinn
13y ago
Hehe, yeah.. I had to rip that out to make it fit in 2048 bytes. It takes a (relatively) big chunk of code to know if a move is possible.
68.
▲
Show HN: 2048 in 2048 bytes
(js1k.com)
76 points
by
rwinn
13y ago
|
54 comments
69.
▲
These Three Graphs Prove That Bitcoin Is a Speculative Bubble
(ordinary-gentlemen.com)
7 points
by
rwinn
13y ago
|
0 comments
70.
▲
by
rwinn
13y ago
On http://realtimebitcoin.info i'm assuming that running 19mh/s is consuming 1 joule. That number is a few months old now and reading on the bitcoin wiki i see that the average is probably closer to 120mhash/j. Up
71.
▲
by
rwinn
13y ago
Someone with a 3D printer should try printing that model, looks like it could work.
72.
▲
by
rwinn
13y ago
http://realtimebitcoin.info shows a weighted average from the 3 largest exchanges
73.
▲
by
rwinn
13y ago
I can see that now as well. The screens i uploaded was PNGs, Apple must have replaced them with pretty low quality jpeg versions :/
74.
▲
by
rwinn
13y ago
It's done using webgl and additive blending of 3 light sources rendered with maxwell render. (check the console for a list of libraries used ;)
75.
▲
by
rwinn
13y ago
Yeah the scroll didn't come out as well as well as I had hoped. I went trough the trouble because I like experimenting with user interactions. I saw what Apple did with the locked scroll for their new iPhone promotions and wanted to do
76.
▲
by
rwinn
13y ago
If you send me an email at johan@theremin.io we can try to sort it out.
77.
▲
by
rwinn
13y ago
We are working on a video! We have one but we felt that it didn't show how cool the app actually is :) I'll link it here if you would care to give us some feedback on it. https://www.youtube.com/watch?v=K8Hvg1JxnRY
78.
▲
by
rwinn
13y ago
Seems window.scrollTo does not work properly in safari when you kick the layers in to hardware accelerated mode. I've disabled the snapscrolling now on all Safari versions. Try it now! I think I'll end up disabling it everywhere s
79.
▲
by
rwinn
13y ago
Nope, but we are discussing releasing the sensor code as a open source library. It's pretty modular already, and wouldn't require a ton of work :)
80.
▲
by
rwinn
13y ago
That sucks, what OS and browser are you using?
81.
▲
Show HN: Theremin I/O
(theremin.io)
81 points
by
rwinn
13y ago
|
48 comments
82.
▲
by
rwinn
13y ago
Very similar to what Oliver Kreylos has been doing with the oculus and hydra controller. Check his videos out, some amazing stuff in there. https://www.youtube.com/watch?v=Q_HH-ucA_Us
83.
▲
by
rwinn
13y ago
Really cool! But the gates are way too hard to see, I feel like I'm colliding with thin air most of the time... The music keeps me playing though :)
84.
▲
by
rwinn
13y ago
Hit me up on irc, i'm trying to get a wintersmith irc channel started. #wintersmith on freenode. i'm jn
85.
▲
by
rwinn
13y ago
After looking it up I see it is commonly used to describe something that adds extra features to a browser, like flash or silverlight. Previously I took it to mean "rich in interactivity". That's what I meant when I originally wrote that, a
86.
▲
by
rwinn
13y ago
The default markdown plug uses marked, so gfm. But there is a pandoc plugin: https://github.com/lhagan/wintersmith-pandoc
87.
▲
by
rwinn
13y ago
Thanks, fixed now.
88.
▲
Wintersmith – a flexible static site generator
(wintersmith.io)
63 points
by
rwinn
13y ago
|
51 comments
89.
▲
Show HN: Wintersmith 2.0 - static site generator
(makeitgo.ws)
1 points
by
rwinn
13y ago
|
0 comments
90.
▲
by
rwinn
13y ago
That's really interesting, i had a look at your test images and they look great ( http://pornel.net/lossygif for the curious :) definitely something worth implementing As for the transparency trick, do you have some example i can have a lo
More ›