Recent submissions

Comment · 11 years ago
Comment · 11 years ago
Scattered remains of a huge alien spaceship?

( Sadly it is probably just ice. )

Comment · 11 years ago
Is it possible that the "cyber" laws are designed to be effective towards individuals.
Comment · 11 years ago
Why don't you instead just make 10 better?
Comment · 11 years ago
Is modern web really that bad, and are those the reasons that just visiting some of the popular websites overwhelms my brand new cpu?
Comment · 11 years ago
You need only one table look-up, a couple quick operations and no conditionals or multiplying.

The table size required to beat the accuracy of fastlog2 is 512 elements.

edit: The speed ratio is actually about 0.6 in favor of look-up versus fastlog2. Enabling -O3 changes the ratio to 0,9. This is of course not measured in a real-world program where the cache is shared by other stuff.

edit2: I have removed the if statement from fastlog2 and compiled with -O3. The ratio was 1,2.

Comment · 11 years ago
This is faster than a look-up table at the cost of some accuracy. Also no cache misses.
Comment · 11 years ago
A housefly lives for a day and with exponential growth it could take just a couple of days, so it is plausible.
Comment · 11 years ago
That wouldn't work because it would introduce a new key. Also every power-up takes effect immediately, this would break the consistency.

@developers

This is a bug on firefox, sometimes the dotted border from the remove wall power-up doesn't disappear giving the impression that the power-up is still active, thus killing players

Comment · 11 years ago
Wow that was fun. I'm tempted to implement a similar version in C.
Comment · 11 years ago
Just keep the background black and prevent from choosing too dark colors.
Comment · 11 years ago
@developers

Players are choosing the color of the background, thus making them invisible. Please fix this.

Comment · 11 years ago
And according to the mentioned site, it is impossible to have a website without google-analytics.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton