Better HN
topnewbestaskshowjobs
Log inSign up

papsosouid

2,420 karma · joined Apr 9, 2012 (14y ago) · 1,199 submissions

Submissions

comment 13y ago · link · parent

>Your reference of it is another example of the uncritical waving of references that Bossavit talks about in his book.

He says, while uncritically waving a single reference that has no backing evidence. You seriously don't see your hypocrisy here?

>Peopleware isn't a scientific study

Duh? That is why it contains citations, to the studies the authors conducted. You sure did a poor job of reading it if you are actually that ignorant.

>In that discussion, it specifically says that differences in productivity (which were less than 10x) were likely due to workplace factors, not individual productivity.

No, they were 10x. That is precisely what it says. And why do you suggest workplace factors being part of the difference makes the difference not exist? I don't even understand how you can say something that absurd and not realize it.

>There could well be a 10x difference in productivity, but gut feel and testosterone-fueled claims aren't the same as science.

Ok, I'll just take your ignorance-fueled gut feel claim as proof that all the scientific evidence doesn't exist.

comment 13y ago · link · parent

Articles are not intended to teach you, they are intended to attract attention to their authors. If you want to learn about productivity in software development, read peopleware.

comment 13y ago · link · parent

What are you talking about? You should read those references. Just download peopleware for fuck's sake, rather than regurgitating bullshit. There is strong evidence that the most productive programmers are 10x as productive as the least productive programmers.

comment 13y ago · link · parent

>I think what set Ebert apart is that he consistently judged films in the context of their ambitions

Yet he consistently dismissed films that I would describe as "low brow humour" as being terrible films. He said Ace Ventura was one of the worst films he had seen for example, and his reasoning appeared to be "the character is annoying, and the jokes are crude".

comment 13y ago · link · parent

That's awesome. I really wish this had happened with jedi knight though. It was so much better than academy and outcast, especially for multiplayer.

comment 13y ago · link · parent

As someone who has tried to hire a competent entry level programmer, no it is not a hirers market. Finding someone who can pass fizzbuzz is a huge challenge.

comment 13y ago · link · parent

>I just don't see the utility of pre-processors for JS or CSS.

I'm not sure how CSS comes into the discussion, it isn't executed, and thus isn't debugged. And things like SASS and LESS are fairly simple, straightforward pre-processors.

>I know I'm in the minority here, are developers really working without debugging?

I don't think so. You couldn't pay me enough to write javascript. But I have to end up with some javascript because browsers don't support anything reasonable. So I use a haskell -> javascript compiler. I still have to read javascript to debug what is going wrong, but at least I don't have to write it.

comment 13y ago · link · parent

>But that is like claiming nobody wants gay marriage because look how loud those Westboro people are screaming.

That analogy would only be accurate if those Westboro people were in the majority.

>Why does it matter that the naysayers say nay?

I'm not sure how to answer this, given the context. I simply pointed out that I don't think the idea that there's a lot of interest in haskell here is accurate, and cited all the uninformed crap spewed about haskell all the time as evidence.

comment 13y ago · link · parent

Given the frequent complaints that the previous stable release isn't very stable, I think trying to interpret it as "tip is super stable" is wishful thinking. Tip is currently less bad than stable. The fact that stable releases are not stable is a bad thing, not a good thing.

comment 13y ago · link · parent

Yesod is designed to try to replicate rails style frameworks, which as an approach, doesn't work well in a static language. It is also designed to try to hide any traces of haskell. Rather than provide a framework to write haskell code in, they use quasi-quotation to provide a bunch of totally different syntaxes for different parts of the app, which get compiled to haskell behind the scenes. Most haskell users prefer to write haskell rather than specialized, single use languages with limited functionality and poor error reporting.

Then on top of that, the marketing behind yesod is essentially deliberate mis-truths that suggest weaknesses in haskell which do not exist. See how pilgrim689 thinks that the EDSL yesod uses for routing "gets you type safe urls"? Type safe urls are also available in happstack and snap, but written in haskell rather than a weird custom pre-processor language. The EDSL is just giving you a different syntax (and making error messages complex and hard to understand), not giving you the type safety. Pointing out that creating custom languages that are inferior to haskell and have no benefits is bad results in whining of "stop picking on yesod just because we use extensions, everyone uses extensions!", despite the use of extensions never being brought up.

As for more information about web frameworks in haskell: I've tried all three and can give you my thoughts. I ended up using snap, so consider me biased when reading this. Yesod is rails-like in that it pushes a misinterpretation of MVC on you that encourages writing redundant code. Happstack and snap aren't really frameworks in that sense, they don't say "give me some code following my conventions and I'll run it", they say "here's how you get access to the request, have fun". More like libraries than frameworks.

Yesod's DB access layer they provide is of the "dumb everything down to the lowest common denominator" variety, except that it adds even more limitations beyond that. So you end up having to use something else that is not integrated at all. Happstack and snap don't provide a DB access layer, but do provide integration with several DB libraries off hackage (hdbc, haskelldb, postgresql-simple, acid-state).

Happstack has the best documentation of them, and it and snap are very similar design wise. Porting an application from one to the other is pretty straight forward. The only reason we settled on snap instead of happstack is that snap includes a development mode that works well, and happstack does not. Meaning with snap you just change your code and it picks up the changes, recompiles and reloads it automatically, and shows you any errors in the browser when you refresh. With happstack you either need to work out your own way to deal with that, or keep recompiling manually all the time.

comment 13y ago · link · parent

>You and tikhonj are all over the place in here

I am all over the place in here for the exact reason I mentioned. Go look at my posts, for every post about haskell by me, it is in response to someone posting some absurd nonsense like "haskell can't do real world" and "functional programming is great except you can't really do it because state". If people were interested in haskell, they would express interest, not strawman dismissals.

comment 13y ago · link · parent

>Given the amount of interest in Haskell

I see more people making uninformed "haskell sucks" posts than expressing interest in it.

>and Yesod

Really? Yesod is the anti-haskell haskell framework.

comment 13y ago · link · parent

Or it could speak poorly of their release process, which is more accurate. The stable release is simply so bad compared to tip that everyone uses tip. There should have been multiple releases since the last stable release so that people could get those improvements without having to run tip.

comment 13y ago · link · parent

Did you read that? It does not support your notion that the plan9 community thinks programming is the way to customize software. It shows that the plan9 community thinks you shouldn't do those things, at all. They are not missing because you should edit the code to change them, they are missing because they should never exist.

comment 13y ago · link · parent

Syntax highlighting is not a simple configuration option, it is a whole huge subsystem that has to be written.

comment 13y ago · link · parent

This is why I love this particular religious war so much. No matter how absurd it gets, someone can always come along and post something even dumber and more deliberately inflammatory, and without any self awareness at all.

comment 13y ago · link · parent

>the Plan9 and suckless communities

Are two totally separate things and you are painting them both with the suckless brush. The plan9 community is nothing like that at all.

comment 13y ago · link · parent

Permissions on S3 are not at all easy or intuitive, and the documentation on it is terrible. Even setting up very simple scenarios is a huge hassle, and it doesn't surprise me at all that there's tons of buckets with incorrect permissions as a result.

comment 13y ago · link · parent

>Who's we if you don't mind me asking?

I can't say. But nobody you would have heard of, just a small marketing/web dev type place.

>How's your experience of snap been

In 15 years of web development, this is the closest I have come to being happy with the results of my work. I'm sure part of that is just my experience letting me do things better as time goes on, but a good portion of it is that haskell and snap are less irritating that the other options I've used.

I found frameworks in the java/RoR style to be more of a hindrance than a help, so snap suits me well personally. It is more like a library than a framework, it basically just takes care of the "what kind of monad stack do I need here and how do I nest components" problem for you, and then gives you some components you can choose to use or not as you see fit.

comment 13y ago · link · parent

The class is called "functional programming principles". As I said, if you want to learn functional programming principles, scala is a poor language to do so, as you can not focus on that subject and have to learn a ton of extra stuff as well.

comment 13y ago · link · parent

>you can even program in a functional way without using them.

For a very tiny limited subset of programs. Anything beyond the most trivial of toy apps will use them.

>And also you can have languages which aren't putting the emphasis on FP at all and yet who have higher-order functions

Where their usefulness is seriously hampered by the language not being functional. This is the primary reason people think HoFs are no big deal. They've never gotten to actually use them in an environment designed to make good use of them.

comment 13y ago · link · parent

Only if you try to interpret it out of context. The only subtyping in scala is on objects. Without objects, scala would not have subtyping.

comment 13y ago · link · parent

>You are confusing OOP with subtyping.

No, I am not. OOP can certainly exist without subtyping, but scala has subtyping for objects. Haskell does not have subtyping.

>I'm talking about things like the Dynamic type, existential types, HList

None of those add subtyping. What would even be subtyped?

>experiments like OOHaskell

An abandoned experiment that is not a GHC extension.

>Actually it matters the most

You are free to think that, but nothing you said after that support that notion at all. We're talking about learning functional programming for the sake of learning functional programming. Haskell is better for that than scala is. Ecosystem is entirely irrelevant.

comment 13y ago · link · parent

State isn't evil, having everything implicitly being able to mutate state is evil. If you keep mutable state, side-effects, etc locked up in their little boxes, then you limit how much they can cause problems.

comment 13y ago · link · parent

While their chart confirms my personal bias (that FP is more expressive), I think their methodology is flawed to the point of making the whole thing meaningless. They are not measuring expressiveness, they are measuring lines of code per commit. Having a community that likes lots of small commits doesn't actually make a language more expressive than one with a community that likes fewer, larger commits. They even acknowledge that the javascript numbers are basically meaningless because it is so common to copy+paste entire big external dependencies into a javascript project.

comment 13y ago · link · parent

I don't know if I would say it is the fundamental thing, but it is certainly an important fundamental thing. I think if I had to pick a single most important fundamental thing I would say it is composability. That is the underlying reason behind things like monads and lenses for example.

comment 13y ago · link · parent

Web development. We use snap.

comment 13y ago · link · parent

>Subtyping isn't just for the benefit of Java compatibility. What makes you think that?

No objects = no subtyping.

>you do need at least some sort of proof that subtyping is bad in one way or another.

Why do I need proof of something I didn't say?

>Even GHC has extensions for subtyping,

What?

>however even if you're learning it for learning's sake, it's easier to get started in Scala because of the ecosystem

The ecosystem matters the least when learning for learning sake. The complexity and difficulty of the language matter, and scala is a poor choice for that reason. You can't just learn FP with scala, you also have to learn all the hairy OO/FP integration and the ensuing problems around it.

comment 13y ago · link · parent

>Erlang/OCaml

I have to disagree there. Haskell usage outpaced ocaml's nearly a decade ago now. And ocaml has been sitting at a virtual standstill since then, while haskell is moving at warp speed. Look at how many financial institutions use haskell, look at all the talks at conferences that are about haskell. Ocaml and erlang don't even come close to that level of usage or discussion.

F# and scala certainly have big leads over haskell, largely due to their platforms.

comment 13y ago · link · parent

If you want to get a job doing FP, F# is a better bet. Most scala jobs are places that treat scala as java++, and using anything beyond the most basic FP concepts will be off-limits. I found my haskell job by making it. They were doing stuff in PHP that had no business being in PHP. I did it in haskell instead.
1
111213
40