HNHacker News
TopNewBestAskShowJobs

thebelal

77 karma · joined January 2, 2014

https://github.com/jimhester
submissionscomments
thebelal··on Polygon sat down with one of the creators of Dwarf Fortress
Back when I was hacking on DF ~4 years ago I believe it was actually the item tracking that was ruining performance in big forts. The main loop had to touch every item in the game every frame, including things like every rock mined by your dwarves. You can usually get significant speedup in big forts just by destroying all the spare rocks (I think the best way to do this in-game was put them under a bridge and then close it on top of them).

I ended up having more fun hacking on DF than playing it, but it is an interesting game.

thebelal··on ASCII Delimited Text – Not CSV or TAB delimited text
You can type them in console and vim with

    File separator - C-v C-\
    Group separator - C-v C-5
    Record separator - C-v C-6
    Unit separator - C-v C-7
They are all visible characters in both vim and emacs by default.

You can see them on the terminal with `cat -v`

It would be nice if more tools were built to take advantage of these characters, but there are some that do.

thebelal··on Denial of Service Attacks
You could handle even the large numbers of IPs that access github using a Bloom filter (http://en.wikipedia.org/wiki/Bloom_filter).

It will let a small percentage of non-whitelisted IPs in, but would filter the majority of them out.

thebelal··on How Netflix Reverse Engineered Hollywood
IMDB actually provides this information without needing to scrape their site. See http://www.imdb.com/interfaces
← PreviousPage 2 of 2