HNHacker News
TopNewBestAskShowJobs

adsofhoads

4 karma · joined March 6, 2015

submissionscomments
adsofhoads··on Big-O notation explained by a self-taught programmer
Extensively incorrect.
adsofhoads··on Talking to C Programmers about C++ [video]
I was referring to the use of generic functions (ie. with an argument with type-specifier auto) which is not C++14. Your copy of g++ may accept it as an extension.
adsofhoads··on Talking to C Programmers about C++ [video]
There are templates: for example

    void print1(auto x){std::cout<< x;}
is a function template

    template <class T>
    void print1(T x){std::cout<< x;}
This is not valid C++14 however, so it doesn't compile. If you replace these, you'll probably still get a stack overflow while expanding the templates because there are almost 7000 arguments to a single function call.
adsofhoads··on Japanese writing system basics
It's actually just the "shina". The "gawa" is 川, river.
adsofhoads··on Why does Haskell, in your opinion, suck?
What's with capturing large predators? My book on complex analysis euphemizes building a descending sequence of sets which converge to a point by

> If R is the continent of Africa and we select R_n as that subregion which contains the biggest lion in Africa, we have an algorithm for capturing a big lion—we simply build a cage around point z_0.

adsofhoads··on Chocolatey – package manager for Windows
I can't use Chocolately to install zlib or libpng or SDL or libcurl or GMP or really any of the packages that I would never have to think about installing on Linux, because they were pulled as dependencies long ago. The method for obtaining these on Windows is, as best as I have ever been able to tell, to navigate to each of their webpages and look for Windows releases, which you then download and install yourself, a task I find so daunting that I essentially never write or build programs that have any dependencies whatsoever on my Windows box. This situation is obviously ridiculous so I have to conclude I am doing something very, very wrong.

So, Windows programmers, how do get by without a package manager?

adsofhoads··on Hello, World
The only information each person has it their own coin, so their strategy is a pair of functions (f,g) from bits to bits, where either fx=y or gy=x (or both) for any bits x and y. There are only four possibilities for f, so picking, at random, f=id, gives g immediately.
adsofhoads··on Turning Japanese: Coping with stasis
I think they meant that http://thelongandshort.org/issues/season-three/images/DeskHe... has the 系 but then the translation the article gives below it is missing the "kei".
adsofhoads··on The Dangers of Intermediate Targets: IQ, Cholesterol, and 99%-ile Latency
I found the date on the RSS feed (2015-3-5 21:54).