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

As maw points out, that is not a pure win, it is a tradeoff. And it is a tradeoff that I've found to be a really bad one. Being able to run indent over your code and have it automatically formatted is really helpful in large, long term projects where people come and go and weren't effectively forced into using one style.

comment 13y ago · link · parent

Yes, but everyone had told them over and over again to change that, they just wanted to maintain control. It certainly wasn't a new invention of diggs, I just used slashdot as the example of reddit being a clone because slashdot was the most well known. kuro5hin was(is?) exactly digg/reddit for example. Social bookmarking sites were around before slashdot too.

comment 13y ago · link · parent

>Nowadays everybody takes links you can vote on as a "duh" feature and wonder what the big deal behind Reddit is, but when it came out in 2005, it was very much a "Why has nobody thought of this before?

It had been thought of before, and done before. The late 90s had tons of sites like that. When reddit came out in 2005, it was very much a "what is so special about slashdot clone #437?".

comment 13y ago · link · parent

>You missed the point completely in order to make some stupid personal attack

To be fair, the blog post in question spends the first half of its content avoiding the point completely in order to make some stupid personal attack. When the author misses his own point, it can be hard for readers not to do the same.

comment 13y ago · link · parent

While I think that Dave's complaint in this case is hypocritical and entirely without merit, I agree that there is a problem in general. I'm not sure it is really about "programmer-types" though so much as it is a few bad leaders combined with hero worship. Linus is an asshole, plain and simple. And people worship him, so they will justify, excuse, and emulate his behaviour.

There's plenty of examples of programming communities that are the exact opposite, haskell being an oft cited example. The haskell community is very patient, calm, and avoids fighting/drama. Is it because haskell has some magic power that soothes the savage "programmer-type"? Or is it because the community standards are set by emulating the behaviour of the leaders? Compare how SPJ behaves to how Linus behaves. I think the only negative things I've ever heard from SPJ have been mild criticisms of his own work. Even in his role as an advocate for not just a language, but for entire fields (functional programming, static typing) he is consistently calm, respectful and pleasant.

comment 13y ago · link · parent

Opera has had that for years, firefox/chrome still haven't picked it up? Between rel=next/prev and some simple heuristics, it is pretty effective right now.

comment 13y ago · link · parent

I'm not sure how this is still unclear. Something having no benefit does not mean it is harmful. My pointing out that TDD has no benefits does not imply that I think it is harmful.

comment 13y ago · link · parent

What are you reading? Because it is pretty clearly not what I wrote. How is "I wish TDD advocates would stop equating unit testing with TDD" vitriol? Dismissing the only actual evidence because it doesn't fit your beliefs is not reasonable. TDD advocates are the one making claims. Nobody said TDD is harmful, just that it has no benefits and that TDD does not equal unit testing. As for not thinking the article author is cultish, try reading the first paragraph. It is literally "TDD is everything, all hail TDD, TDD solves all problems" and is all completely baseless.

comment 13y ago · link · parent

>but it addresses the critical need of having solid unit tests

No, it is entirely orthogonal to having unit tests, that's exactly what I was saying. There is absolutely no evidence to support the claims that TDD is more effective than just being a normal developer who writes tests as needed.

>This last excuse is most egregious because one rarely has time to go back and write tests

Says who? I think it is pretty absurd to invent fake problems to try to justify something. If TDD were actually useful, proponents wouldn't need to compare TDD with "don't write tests at all because obviously the only way to end up with tests is using TDD".

comment 13y ago · link · parent

>Using the term "cult" is almost certainly a slam

Hyperbole is a far cry from "a slam".

>Who are "these" people?

The ones writing articles like this one.

>what studies are you referring to?

http://theruntime.com/blogs/jacob/archive/2008/01/22/tdd-pro...

>Finally, I'm not interesting in raving about design processes.

But you are the only one doing so? The rest of the paragraph that follows that sentence for example. Most people do not have a religion they call a "design process".

comment 13y ago · link · parent

I am not slamming it, it is a cult. Read what he wrote, these people literally think you either do TDD, or you are wrong. Despite all the actual testing of TDD having found it offers no benefits at all.

comment 13y ago · link · parent

>According to wkiipedia, it's safety is disputed

To be more accurate: according to an unsupported claim made by a single random individual.

comment 13y ago · link · parent

I don't think that is an accurate summary. There is tons of scientific evidence for short, high intensity training like this. The only legit complaints were the idiot saying it is useless because it won't make you into a power lifter (it certainly won't make you a power lifter, but that doesn't make it useless), and the people pointing out that you should check with your doctor first to make sure you don't hurt yourself.

comment 13y ago · link · parent

I wish TDD advocates would stop equating unit testing with TDD. Just because I am not a member of your wacky cult, doesn't mean I don't use unit tests. This article isn't about when to skip tests, it is about when to skip TDD. Big difference (and the real answer is always).

comment 13y ago · link · parent

Or just use a database instead of creating problems for no reason.

comment 13y ago · link · parent

I didn't say "execute queries", I said search. Unless you have a tiny amount of data, no indexes means searching is not feasible.

comment 13y ago · link · parent

Wow, I thought this was a joke press release making fun of "web scale" fad craziness. They seriously gave a 1.0 release number to a "database" that you couldn't search?

comment 13y ago · link · parent

>I think of GAE as more like Heroku + add-ons than a straight AWS competitor

Yeah, I have no intention of using GAE, they don't support haskell anyways. GCE is the direct equivalent of EC2, they have an EBS and S3 equivalent as well. I that core puts them in a pretty direct competitor position.

comment 13y ago · link · parent

Google's offering is significantly faster, and is marginally cheaper is it not? I've had relatively poor experiences with the quality of documentation/articles/questions for AWS, I still haven't managed to get a simple s3 setup working to allow people to upload files through their browser for example. I'm not waiting for google, we're not ready to launch yet. I am just wondering if google will have some of the extra services by the time we are ready.

comment 13y ago · link · parent

I know there's google people floating around HN, does anyone know what the priorities are like as far as adding more services is concerned? I've been planning on launching on AWS, but I'd prefer google. But there's still tons of services google doesn't offer (or I can't find reference to at least). It is basically just alternatives to EC2, S3 and the database thing right now right? Are there plans for replacements for SQS, SNS, SES, route53, cloudwatch, etc?

comment 13y ago · link · parent

Well, at least you were funny that time.

comment 13y ago · link · parent

That's precisely the point though, it isn't a reasonable expectation. The odds of a postgresql expert just happening to follow them on twitter are poor. The odds of multiple postgresql experts being on the postgresql mailing list is quite high.

comment 13y ago · link · parent

>You can call the ensuing distinctions "matters of convenience" and not "requiring different things", of course.

Or you can read the code and see that it is quite literally an abstraction layer built on the same tool, not two different tools. That is like saying folds and recursion require different tools, and providing "haskell has both recursion and folds" as proof. Of course it does, but folds are simply an abstraction on top of recursion.

comment 13y ago · link · parent

>There's plenty of concurrency and parallelism out there but there's not a single piece of important software that is written in a functional language.

Important to who? I use tools written in functional languages every single day.

>Many people claim many things but when it comes to empirical evidence. it turns out that imperative, stateful programming is still the best choice.

You don't see the obvious hypocrisy there?

comment 13y ago · link · parent

It is almost like you didn't read my post. They provide forkIO as a basic tool to do both. That is explicitly not different tools. They also provide additional abstractions to make different tasks easier. Tasks like parallelising sequential code, which you want to pretend is the only kind of parallelism that exists. Haskell provides different abstractions for lots of things, that doesn't mean those things require different tools. It means convenience matters.

>If you're more interested in performance than non-determinism, learn about parallelism first."

First, not instead of.

>GHC implements some major extensions to Haskell to support concurrent and parallel programming

Yep, that really sounds like they require different tools, the way the mention them together as a single topic.

>GHC supports both concurrency and parallelism

And does so with the same tool: forkIO. Completely contrary to your claim that haskell is evidence that it requires separate tools. This is once again made very clear on a page you link to:

>Ordinary single-threaded Haskell programs will not benefit from enabling SMP parallelism alone: you must expose parallelism to the compiler. One way to do so is forking threads using Concurrent Haskell (Section 7.18.1, “Concurrent Haskell”), but the simplest mechanism for extracting parallelism from pure code is to use the par combinator

They are literally saying "use a higher level abstraction instead of rolling your own directly with concurrency constructs". This is the same advice that is always given when a higher level abstraction is available. It directly contradicts the claim that parallelism requires a different tool. It explicitly states that you can do it with the same tool.

comment 13y ago · link · parent

>It's akin to asking on IRC or writing a mail to a mailing list

No it isn't. It is akin to shouting at random people on the street "help I don't know what to do!". Asking on IRC on a mailing list is going to a group of people who are there specifically to help people with problems on that subject.

comment 13y ago · link · parent

The claim that haskell thinks you need separate tools is silly. The fact that the language provides abstractions for parallel computation and for concurrency does not mean the language or its designers consider them unrelated problems requiring different tools. Haskell is a particularly bad example to support this sort of misleading claim, as the language supports both out of the box without using different tools, and the same page you quoted even says that (http://www.haskell.org/haskellwiki/Parallelism):

>Concurrent threads (forkIO) will run in parallel

The simple example being say a webserver. You use forkIO to spawn a green thread per connection. This gets you concurrency. Now if you want parallelism, you simply tell the haskell runtime to multiplex those green threads over more than one OS thread. You don't have to change your code at all. The whole argument and terrible gift analogy seems to rely on redefining parallelism to mean "making sequential code parallel". I think most people are in fact thinking of making concurrent code parallel when they talk about wanting parallelism, like the webserver example.

comment 13y ago · link · parent

>I said they were a pain in the ass for the kinds of programs many people want to write

And refuse to specify what those kinds of programs might be. You are inventing a "many" and giving them a problem to create a false impression of consensus, when it is actually just you making a singular, baseless assertion.

>the very fact that a community exists around these products should make that clear to you.

I address that in the first post. You keep responding purely to act like a petulant child, but provide absolutely nothing to support your claims. Do you really think that makes you appear to be the rational, logical party?

comment 13y ago · link · parent

>And which assertion was that

Both of them. You only wrote two sentences, it shouldn't be hard to find them.

>the one that many people find

You didn't say anything about "many people find". You said they are a pain in the ass, and don't mix well with the applications many people are writing. Those are both assertions, and you supported neither of them. Even after replying twice, you still haven't even given a hint as to what you might be referring to. That really makes it seem like you are just saying things out of ignorance.

comment 13y ago · link · parent

Yes, stopping me. "You can resort to a horrible ugly cludge and lose type safety for your efforts" is not having parametric polymorphism.
1
678
40