HNHacker News
TopNewBestAskShowJobs

fzort

14 karma · joined October 15, 2010

submissionscomments
fzort··on The coal mine that ate Hambacher forest
> Do you have a clear concept of a viable solution?

Nuclear. Solar farms take 450 times more land than nuclear to produce the same amount of energy (source: https://www.forbes.com/sites/michaelshellenberger/2018/05/08...)

fzort··on Twitter was down
This is hilarious, thanks for sharing. I used to work at companies like this, except they weren't worth billions of dollars.
fzort··on Steve Wozniak's floating point routines for the 6502
You still need to know a bit of assembly to take advantage of SIMD (even when using compiler intrinsics). See for instance https://github.com/lemire/simdjson
fzort··on The Ramanujan Machine: Using algorithms to discover new mathematics
> you input N and it will produce the Nth prime

Look for Willans' formula (there's a nice explanation in the book "Hacker's Delight").

fzort··on Moons of all the planets in our solar system
> If an entire Sci-fi continuity were limited to just Sol and Alpha Centauri, this by itself would constitute an inexhaustible number of potential settings.

"Saturn's Children" by Charles Stross is a good one (unfortunately he had to do away with humans to keep the space opera physically realistic).

fzort··on Bill Gates on making “one of the greatest mistakes of all time”
Yeah, and with OpenGL ES/OpenAL support it was pretty easy to port C++ games to the iPhone, with just a thin Obj-C wrapper.
fzort··on America Is Regressing into a Developing Nation for Most People
As someone living in a third world country, I can't help chuckling every time I see people discussing "poverty in America".
fzort··on Ask HN: Addicted to HN
iptables -A OUTPUT -p tcp -d news.ycombinator.com -j DROP
fzort··on Challenge HN: Inspired by greplin's third problem
http://www.fzort.org/mpr/junk/greplin-3.pl.txt

Perl, 7s. Looks like I arrived at the same recurrence that madars used, but I swear I didn't look at his solution...

Memoize magically turns it from exponential to polynomial.