Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bumeye
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
bumeye
11y ago
I think the author means to say that it's kind of an all or nothing thing. You either go purely functional and get all the benefits, or you don't and barely get any benefits at all. You could say that "almost functional"
2.
▲
by
bumeye
11y ago
If anything, Haskell is based on lambda calculus. More particularly System F. As in any lambda calculus, you can interpret the type system as a category where the objects are types and the arrows are functions. Classes like Functor and Mona
3.
▲
by
bumeye
12y ago
Yes it's common to have software which can find plagiarism like that. However, if the student actually does these things (change all variable names and move code around) it will be hard for an examination board to decide whether this i
4.
▲
by
bumeye
12y ago
That's only for trains. For bus/metro/tram you only need 4 EUR on your card. See https://www.ov-chipkaart.nl/reizen/tarieven/instapenbasistar... .
5.
▲
by
bumeye
12y ago
I think these results are fairly good. 'Just' some neuron loss at such doses. A lot of drugs can kill you if you take 20 times the recommended dose!
6.
▲
by
bumeye
12y ago
I'm surprised by the huge difference between those articles. Somehow i do find your article more believable. News outlets prefer to spin the story the other way because that kind of story is much more popular. It sheds light on a whole
7.
▲
by
bumeye
13y ago
This idea of immutable infrastructure reminds me of NixOS [1]. A linux distribution where nearly the whole filesystem is immutable. Definitely worth a look. I'm not sure if it's fit for production usage, but i think it's the
8.
▲
by
bumeye
13y ago
Make sure to watch the part before this video too: http://www.youtube.com/watch?v=ffwxaTpJTyI I don't think the arrest was entirely unnecessary. The guy was really provoking the police right from the moment when he arr
9.
▲
by
bumeye
13y ago
A spelling error in the title is actually very easy to miss. You might read the main article an extra time before publishing, but the title is probably in a separate textfield which is not checked. It's always a bit painful to have a s
10.
▲
by
bumeye
13y ago
Ah you're talking about the user comments under the article. Took me a few minutes to figure that out :)
11.
▲
by
bumeye
13y ago
Exactly. In a certain way, you could call jQuery UI effects a very limited physics engine. I don't think the author is saying everyone should use a physics engine now. I think he means that we should use real-world physics as a guide to mak
12.
▲
by
bumeye
13y ago
Simpler indeed. That's actually what stash does internally. I usually don't make a separate branch, but just commit it in the current branch. Then you can rebase or amend later. You never need 'snapshot' if you know rebase -i.
13.
▲
by
bumeye
13y ago
This is the way that github recommends ( https://help.github.com/articles/creating-project-pages-manu... ). A separate folder for the gh-pages branch makes sense because this branch has nothing in common with any of the other branches. It d
14.
▲
by
bumeye
13y ago
You make it sound like git is unsuitable for this, i disagree. I often use git for one-man projects, both with and without an external repository. Once you learn how to use it it works great. I would never want to return to svn/rsync/zip-fi
15.
▲
by
bumeye
14y ago
Yes. For the 0.7 chain, it's as if the 0.8 chain never happened. All transactions and all mining in that part of the chain is irrelevant now.
16.
▲
by
bumeye
14y ago
There's also referential transparency. For programming languages, that means the result of a function is dependent on it's inputs ONLY. The function can not use any unspecified inputs like system time or an internal state. In Nix, that mean
17.
▲
by
bumeye
14y ago
Yep S1 still exists. Nix does not do destructive updating. When you install or update a package, you'll always be able to revert to the previous state. The best explanation of that process can be found in the original paper: Nix: A Safe and
18.
▲
by
bumeye
14y ago
It fits in the Ruby philosophy and coding style to leave the `self.' out. But it might not be so evident for non-rubists. Actually, new rubists might not even know that you can leave it out. In php you are required to use `$this->'
19.
▲
by
bumeye
15y ago
Note that this is such a case where you've already got the pointer. mdwrigh2 is totally right. I flipped the O(1) for linked list insertion with the O(n) for verctor insertion :).
20.
▲
by
bumeye
15y ago
I use emacs mode for bash, which is default on mac. Then i bind 'option cursor left' to \033b and 'option cursor right' to \033f. Voila, next and previous word using alt+arrow keys. Good enough for me :).
21.
▲
by
bumeye
15y ago
The author does an insertion sort in a linked list, of course that's going to be slow. For a sorted insert you need to do 2 things: find the right spot for insertion and the insert itself. An insertion sort does this n times. For a simple a
22.
▲
by
bumeye
15y ago
I don't think this is unique to the US, and not unique to the last 10 years either. Consider this: Of all the products made a 100 years ago, only 1% was made to last for a long time. Right now the other 99% is broken and thrown away and the