Recent submissions

Comment · 12 years ago
A first approximation for a strategy would be to follow a boustrophedon, and keep 2, 4 and 8 near the top, e.g. something like this:

    .   .   .   .
    .   4   2   .
    8  16  32   .
  512 256 128  64
Comment · 12 years ago
If you're really determined, you can use `.` as an operator via __getattr__ and inspect :p
Comment · 12 years ago
Tried 3 games, and the scores were 2700, 1200, 5000. So maybe. But then I wrote a function to play it for me:

    var manager = new GameManager(4, KeyboardInputManager, HTMLActuator);
    
    function play() {
      manager.restart();
      var m = 0;
      while (!manager.over) {
        manager.move(m);
        m = (m+1)%4;
      }
      return manager.score;
    }
... and that gets scores between 500 and 3000.

(Edit) Histogram of 500 runs:

  0k: ***
  1k: *******************
  2k: ****************
  3k: *********
  4k: *
  5k: *
  6k: *
Comment · 12 years ago
Comment · 12 years ago
Comment · 12 years ago
The creation of a new coin has no bearing on the scarcity of another.

Scarcity is just one requirement for something to act as a currency; another would be that it can be exchanged for goods and services (read: other things that people value, and for which they want things that they also value).

Comment · 12 years ago
No, but I just checked a few of the sites we made and none break from ctrl+ (regarding this: I've never seen a non-tech person, i.e. 99% of traffic for the sites, use shortcuts in the first place); they also look consistent between _modern_ browsers; and how often do people load their own fonts? Is the designer responsible that a site becomes unusable under Wingdings? (Sorry for the strawman.)

That being said, when a designer says things like "move this button 3px to the left" they usually mean things like "move this button so its right edge aligns with the right edge of the content below, which got shifted because we added padding-right." So the original request gets implemented as what he _wants_ rather than what he asked for.

Comment · 12 years ago
When I used to work with my designer friend, he would tell me to do things like that: increase this padding by 5px, lighten the color by a little, slightly decrease the border-radius, etc. One by one like that, I find it hard to follow and it doesn't feel like anything really looks different -- until I compare the finished product with what I originally made by myself.

Anyway, slightly OT: the screenshot looks like a Google page. Does anyone know which one? I really want to know what difference the 3px makes!

Comment · 12 years ago
Are you supposed to get it to go through the space between the "stars"? Is it even possible?

Edit: Got my first point (50 - 100 tries?). You need to make it go a full orbit without touching the outer circle. This seems obvious in retrospect.

Edit 2: And they knock each other out of orbit. This is fun.

Comment · 12 years ago
You only need to worry about this if you're doing 100k+ LIST requests. For me, turning off validate would save 0.2%.
Comment · 12 years ago
I can't tell if you're being sarcastic... but if not, this is the first legitimate use of uncyclopedia as a source I've seen.
Comment · 12 years ago
It depends on the rules of the game.

Maybe the rules of life are competitive: you can only increase your score at someone else's expense. The score is either 0-1 or 1-0. (Maybe you're both starving but only have enough food to sustain one person.)

Or maybe they're cooperative: you can both achieve a >= score if you combine resources/knowledge/what-have-you. The score is 3-3 for cooperating or 1-1 for playing independently. (Take insurance, for example.)

In reality, the game is a complex mixture of these two extremes.

Comment · 12 years ago
Cool!
Comment · 12 years ago
I can see this being much better than Yelp. How are you doing the recommendations? Something along the lines of PageRank?
Comment · 12 years ago
Rejoice! No more

    event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton