Hacker Newsnew | past | comments | ask | show | jobs | submit | bumeye's commentslogin

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" does not really exist, just like "almost secure" does not exist.

And yes, you can still program with a non-functional language just fine he does not refute that.


>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.

Yes. And what I say is that "I get enough benefits from going halfway functional, thank you very much".

>You could say that "almost functional" does not really exist, just like "almost secure" does not exist.

You could say that but you would be wrong. Most Lisp coders for example have also used imperative code where they need it, with side effects and all. Nobody cared much about such total "functionalness" and purity as you get today from Haskell programmers (most of them non professional of course since there are far more Haskell programmers than Haskell jobs) and the like...


ahem pure lazy functional. One could read the article and walk away believing that laziness is the problem.


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 Monad are based on this interpretation.


Well, all right, but then if you interpret the type system using a univalent approach, what do you get?


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 is a false positive or real plagiarism.


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....


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!


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 other side of what happened and i'm shocked to see how the posted article just lies about half of it.

Of course this is a sad story, no one should ever get hurt by drug violence, let alone a defenseless baby. But i think we should not rush our opinions on these things.

It's easy to get all emotional and be all upset when we read these things.

But we are supposed to be intellectuals right? We should not make judgements based on one sensationalist article. We can do better than that.

I think we should all just act a bit more rational. Don't make snap judgements. Read more about a subject before you condemn people.

In the end, i don't care what YOU think is the truth. Just make sure you know what you're talking about before you shout out your opinions.

PS: iambateman, this is not really meant for you of course ;)

People will probably misinterpret my post. In no way i mean to say that police and government don't share any blame. I'm definitely against the militarization of police. But i won't be sending money to that family either.


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 future of operating systems :).

[1] http://nixos.org/nixos/


It has some features to deploy to a cluster as well: http://nixos.org/disnix/

And I find its 'nixos-rebuild build-vm' command quite handy to test changes.

On the other hand immutability of the OS image doesn't mean you can easily roll-back after an upgrade, especially if you've been running the new version for a while, because you might still have mutable state (see below).

Sure if you store all your configuration in Nix, then it is possible to rebuild the old configuration as it was, but your mutable state is not managed by Nix.

One such example is database files. You've upgraded to the new configuration, and perhaps even had a script to auto-upgrade from your old schema. Now you want to go back: what should happen to the database? Should it be entirely rolled back (from backups) to an old snapshot? But then you loose all the new data. Should you roll-back the schema change? Again what happens to the new data that doesn't fit the old schema?

Another example of mutable state is remote nodes that you depend on for a particular service. You can roll back your local machine to an old version, but will it still be able to talk to your new remote nodes?

It seems that the only way to handle this is to make sure you are always at least 1 major version backwards compatible, so you can freely upgrade/roll-back machine that are part of a cluster.


Apparently there is also NixOps for network/cluster deployment: http://hydra.nixos.org/build/5426864/download/1/manual/manua...


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 arrives. He knows he's messing with them and I think taking that dog out of the car was just another thing done to annoy them. He was asking for trouble and he got it.

Off course it's sad that the dog was shot. That was handled poorly. I guess people do stupid things in stressful situations where they don't have time to think.


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 spelling error in the title, but don't make the assumption that the author just doesn't care enough.


Ah you're talking about the user comments under the article. Took me a few minutes to figure that out :)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: