2,420 karma · joined Apr 9, 2012 (14y ago) · 1,199 submissions
comment 13y ago · link · parent
It is quite the opposite. It is incredibly inefficient, running hundreds of copies of the exact same code, building up an entire framework of objects to use for a single request, then trashing them all to do it again from scratch on the next request. It is easy for beginners, which is why it is so popular. But that is not the same as being efficient.
comment 13y ago · link · parent
The dragonfly benchmark doesn't give us any real info, so it is impossible to say what exactly the problem is. Clearly something is wrong though, given we already know netbsd made performance and scalability a major focus of the 5.0 release, and nobody has reported any regressions in 6.0:
comment 13y ago · link · parent
Read the paragraphs you quoted. Which one of them is a reason to use the GPL? The answer (quite obviously) is none of them, which is my point.
comment 13y ago · link · parent
comment 13y ago · link · parent
So go read them instead of making nonsense posts?
>Since I said that the levels of documentation on hackage are much lower than the equivalent for every other language
Bullshit. Go look at the docs for random 3rd party modules in any language. Tons of modules are totally undocumented.
Again, nothing you said is in any way reasonable. Everything you said applies equally to any other language, and would be rightfully downvoted in that context. It is sad that HN lets your turds float.
comment 13y ago · link · parent
If every time something about ruby showed up on HN someone piped up to say "stop talking about ruby and actually build things people want" they would be rightly downvoted to shit.
The rest of your post is the same sort of nonsense. Some open source code has no documentation?! What a shocker, I'm sure no other programming language has ever had any undocumented modules released in it before. The bitching about iteratees is particularly disingenuous. You don't need to use any of the competing solutions, other languages have no similar library at all, and the entire thing is very new. "Hurry up and standardize your cutting edge libraries that you just wrote and are still exploring" is both insulting and stupid.
comment 13y ago · link · parent
Your final part is just plain nonsense. That is like claiming C is complex because you need to learn things like hash tables and linked lists and binary trees.
comment 13y ago · link · parent
It is pretty unfortunate that the dragonflybsd camp still insist on pushing deliberately misleading benchmarks, I must admit. They have a great OS and there is simply no need for them to be doing that shit. Refusing to adjust the default limits when you know full well netbsd and openbsd ship with conservative limits to prevent accidentally DoSing yourself on low end hardware is just plain stupid. "Oh look, netbsd mysteriously stops working right when we hit the default resource limits!"
comment 13y ago · link · parent
comment 13y ago · link · parent
The primary point of haskell is making it easier to reason about your code.
>I find reason to question the simplicity of something which is widely acknowledged to take a lot of time to learn, to be mind-bending, and which seems to be impossible to explain simply
It takes a long time to learn any programming language. You create an invalid comparison when you compare learning language X++ after already learning X to learning language Y++ without having learned language Y. Haskell only takes longer to learn if you compare it to learning a language that is virtually identical semantically to a language you already know. And I don't know why you think it is impossible to explain haskell simply, there's a reason everyone points to learnyouahaskell.com when people ask how to learn haskell.
>The virtues of survivors like C and LISP are not all "social issues".
How is lisp a "survivor" exactly? Haskell is more widely used than any lisp is.
comment 13y ago · link · parent
1. pick an instance 2. see the hourly price 3. multiply it by 24 x 30
Which part of this is a problem, and why is it only a problem for you with amazon?
comment 13y ago · link · parent
comment 13y ago · link · parent
Right. The issue is that cabal has unfairly developed a reputation as being broken. People always say stuff like "every other language has this sorted out, why is haskell so bad at it?". When the reality is that the problems you get with cabal are the same ones you get with cpan or pip or anything else.
comment 13y ago · link · parent
comment 13y ago · link · parent
You are seeing things.
>I'm not saying this is wrong. What I am saying is that the gap between making something 99% consistent and 100% consistent is often huge in terms of complexity.
Haskell is a very simple, very consistent language. That is one of its biggest strengths.
>The answer is (again, IMHO) is that simplicity matters.
Except that lisp is not complex. Especially consider scheme, which is very simple and consistent.
>It's true functional programming does change the way you think but I think writing idiomatic Python or Ruby will get you much the same benefit at much lower cost.
Having gone from "I see the benefits of functional programming, but think a multi-paradigm language is the right way to do it" to outright revulsion when stuck using multi-paradigm languages, I think you might change your mind if you actually tried it. Ocaml and scala certainly sold me on haskell.
comment 13y ago · link · parent
$ ghc-pkg list | wc -l
182comment 13y ago · link · parent
You need to understand monads to do anything beyond trivial exercises. It is something that virtually every single person coming to haskell from another language is unfamiliar with. I don't see how a focus on such a fundamental aspect of the language is a bad thing.
comment 13y ago · link · parent
You are. The argument is that you should be using single letter variables for small scope, simple variables. Like the classics:
for (i = 0; i < whatever; i++) {
myarray[i] = something();
}
and myfunction x:xs = dothing x + myfunction xs
When you decide to deliberately misrepresent that argument as "use single letter variables across modules" that is dishonest.>Oh, on a single line? That's fine then...
Yes, of course it is.
comment 13y ago · link · parent
I would strongly recommend that you stop admitting that.
>And while we're at it, how many years have you spent writing and reading code and in how many languages?
28 years, and I count 18 languages including logo and sh which you might not count.
>what's important is that you provided not even a single argument; not even one.
Yes I have. Ignoring it doesn't make it cease to exist. The vast majority of experienced programmers have already gone through writing code like you when they were beginners, and then realized it was bad and stopped. You can easily verify this yourself by noticing how the vast majority of experienced programmers tell you that you are wrong.
>You cannot expect to convince anyone without even trying.
I do not expect to convince you. You are attempting to convince others to write bad code. I am stating that you are a bad programmer, and that is why you find such resistance when you try to convince people to write bad code. The fact that you focus entirely on strawmen and demanding that other people prove you wrong rather than simply supporting your claims does not help your case.
comment 13y ago · link · parent
Why are you being so deliberately dishonest, and expecting a response like "oh, your strawman has totally convinced me to write shitty code, thank you so much first year CS student!"? The entire point is that x and xs are not defined elsewhere, they are defined by you, and used on a single line.
comment 13y ago · link · parent
Which is relevant how? Who was releasing closed versions of mongrel again?
I know what the GPL does, that's the point. His blathering is entirely unrelated to licensing at all. He is saying "RoR was famous, and mongrel wasn't, and I don't like that", as a reason to use the GPL. Not only is that entirely nonsensical, but RoR is MIT licensed, so it wouldn't even make sense if you did hit your head and somehow think licensing determined whether or not your software was famous.