Better HN
topnewbestaskshowjobs
Log inSign up

brtzsnr

38 karma · joined Apr 20, 2009 (17y ago) · 25 submissions

Submissions

comment 16y ago · link · parent

Definitely it needs other grammars. I wish to see Python as well whose grammar is advertised as very light. Also C++ (templates), and Perl (for a contrast with Python).

comment 16y ago · link · parent

I stopped (not) reading at "often for little or no monetary compensation". I'm still a student, I'm doing CS, I have good work experience, but unless they pay me good money (see Google & Microsoft) I won't accept any offer.

comment 16y ago · link · parent

Here [0] is an algorithm for bipartite matching not listed there. Too bad it is not a wiki.

[0] http://en.wikipedia.org/wiki/Hopcroft–Karp_algorithm

comment 16y ago · link · parent

There is already way too much Information Pollution: for example, I read less than 10% of HN and other blogs/news sites have similar proportion.

comment 16y ago · link · parent

I saw the movie second time while smoking pot. Almost suicidal because I had trouble breathing from so much laugh. I suggest you try it.

6.

Inductive Reasoning and Bounded Rationality(santafe.edu ↗)

10 points · by brtzsnr · 17y ago · 1 comment

7.

Dark magic with VIM(stackoverflow.com ↗)

8 points · by brtzsnr · 17y ago · discuss

comment 17y ago · link · parent

However, it probably increases risks of liver disease by more than a third.

9.

Polymath proposal: The origin of life(polymathprojects.org ↗)

1 points · by brtzsnr · 17y ago · discuss

comment 17y ago · link · parent

I live in Amsterdam. The public transportation has a similar system: pay for each kilometer you travel. The system is pretty complicated and user unfriendly (I lost twice 4.75€ due to some confusion). I believe they want some fairness, but if you ask me, the old system (pay per travel) was better.

comment 17y ago · link · parent

A mostly agree with your point of view. I would like to add that I think the author confuses generics with templates. The former is done using casting and RTTI, while the later is done by generating new code / new classes.

comment 17y ago · link · parent

No linux version?

comment 17y ago · link · parent

I usually downvote intentional bad or wrong answers (of course, I don't think others opinion are wrong answers). It's more to inform the poster that he/she generated 'noise'.

comment 17y ago · link · parent

Can anybody explain what's the most rational decision?

I believe that you should always call "steal". On average (assuming you don't know what the other person will choose) you get more money (1.0 if you steal versus 0.5 if you split) and you can never be betrayed.

More than that: each player decides whether the other player takes any money or not. However since the players decisions are independent it doesn't make sense to say 'split'.

comment 17y ago · link · parent

Homework?

I had this assignment while studying Operating Systems Design during college. I can tell you I failed miserable. We used documentation from: http://www.beyondlogic.org/serial/serial.htm. You can find some examples there, but not for the Linux kernel.

comment 17y ago · link · parent

Other: Archlinux

comment 17y ago · link · parent

Interesting. I was working on the PSP problem for the "Son Of Darts" contest (http://www.azspcs.net/Contest/SonOfDarts/). The contest asks solution for the third case (h << k) where the paper is slim.

comment 17y ago · link · parent

I've been involved in developing NAEV [0]. Some of its music is "stolen" from other games under CC license, and some was produced by players.

You can start by borrowing music from other games and put an announcement (on forums, mailing lists, in game) saying that you need music. If people like your game somebody with musical skills will help you creating soundtracks eventually. Just don't expect this to happen overnight. NAEV has been under development for over 6 years.

[0] http://github.com/bobbens/naev

19.

G++ implementation of std::deque(gcc.gnu.org ↗)

1 points · by brtzsnr · 17y ago · discuss

comment 17y ago · link · parent

.next() makes sense when you think that generators are also iterables and must support the corresponding interface.

having () and .next() would violate Python philosophy: only one way to do it.

comment 17y ago · link · parent

Interesting article! I had a similar idea to make sport bets & win money.

So, do you know any site that aggregates bets from different bookies?

Update: http://www.betbrain.com/ is even listing SureBets :).

comment 17y ago · link · parent

I use 'terminator' a very nice terminal based on Gnome Terminal. If you like GT definitely you should try terminator as well.

comment 17y ago · link · parent

I used Windows in the past, moved to Linux (right now, I'm using ArchLinux), also tried FreeBSD.

My problem is that I have a laptop, and FreeBSD doesn't have to many drivers for it including the battering saving ones. Plus, since I need a desktop (includes applications like Firefox, Flash, OpenOffice, GIMP, etc) I found that FreeBSD had quite a few usability bugs (eg. in Firefox, images were only half rendered). So now I'm happily using Linux - the arch way.

I tried installing ArchLinux on my father's computer, but I didn't have time to configure everything (eg. pressing the poweroff button shuts down the computer) and from an end's user point of view his desktop was barely usable. Finally I decided to go with Ubuntu, and since then I haven't heard any other complain about his OS. On contrary, he is much happier than he was when he had Windows installed. Now, only if I find some good chess linux software. Grandmaster Chess was his favourite, but in the linux world I could not find anything similar, only some playing engines.

comment 17y ago · link · parent

""" A much faster solution would be the same approach rsync takes with its "rolling checksum." """

I know this function is attributed to Bernstein and it's called Bernstein hash [0]. You're describing the Rabin-Karp string matching algorithm [1].

[0] http://fr.wikipedia.org/wiki/Table_de_hachage#Fonction_de_Ha...

[1] http://en.wikipedia.org/wiki/Rabin-Karp_string_search_algori...