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

I'm amazed at how bad the comments are here. Pretty sad seeing only one sane, reasonable post in a sea of conspiracy theory bullshit and bitter resentment.

comment 13y ago · link · parent

I'm pretty far outside of silicon valley, and that hasn't been true here at all. IT has always meant help desk, sysadmins, network admins, etc. Developers could be in IT if they were developing internal tools for IT. But software development in the "make software to sell" was always separate. It has only been recently that people have started to call everything relating to computers IT.

comment 13y ago · link · parent

>A bunch of C/C++/Java/Rust/Go folks are going to have a different value set

Not just from dynamically typed language people, but from each other. I don't know any C people or go people who like C++ or java for example.

comment 13y ago · link · parent

The premature optimization is evil meme has just been pushed beyond reason, that's all. People blindly insist that it is cheaper to just throw hardware at it then waste "precious developer time" on making things fast. But in most cases, a few hours of time spent up front making sure you aren't doing horribly slow things can save you hundreds of thousands of dollars in hosting expenses. I have not met any developers getting paid $100k/hour.

>Or as great as PostgreSQL is for single server deployment why wouldn't I look at something easier to manage, trivial to scale and a more agile schema like a DynamoDB, MongoHQ, Cassandra

That has nothing to do with premature optimization, that is just about using unproven data stores because you didn't bother to read the label.

comment 13y ago · link · parent

The quality of discussion on slashdot has never approached "very poor". It was always much worse than that, going all the way back to 1998.

comment 13y ago · link · parent

This is HN. Anything is awesome as long as you quit school to make a startup out of it. People here would congratulate a startup selling people as slaves as long as their domain ended in .io or .ly

comment 13y ago · link · parent

You only need more context in order to know where to look to understand the code. If you don't know what foo does, you have to go look at the definition of foo. If foo is obvious or common, then you don't care which instance's version of foo is being called. To a person reading the code, + is + regardless of whether it is adding ints or floats. If you are looking at a patch and don't know what a function does, then you need to go look at the actual code. In which case, the types are now obvious (or can be given to you by the compiler if they are not obvious).

Are there alternative approaches I am not aware of? All I can see is encode the type in the name of the function (fmapList, fmapMaybe, fMapVector, etc), or forcing the functions to all be in separate namespaces and have to qualify them (List.fmap, Maybe.fmap, etc). Both seem much worse than typeclasses.

comment 13y ago · link · parent

>when looking at a bit of code I can tell what it does without having to know much about the context

How do type classes make that harder? You either need to understand what "foo" does, or you need to understand what "fooForThisType" does. What's hard about the former?

comment 13y ago · link · parent

>As good as it is, the notation is still full of '||', '!!', '++', ':'

You think haskell is going to die because it has operators? Seriously?

comment 13y ago · link · parent

>AMD on Linux is a complet disaster.

So is nvidia. Both companies produce absolutely horrible drivers. Not just for linux either, tons of bluescreens, crashes and other windows instability issues are video driver bugs. That is what happens when the sole concern is speed, and stability is totally ignored.

comment 13y ago · link · parent

>Where are these packages published?

Anywhere you want to publish them.

>Can I install things from this page[1] in that way?

Sure. Just do a "go install github.com/foo/bar". Bitbucket, github, google code, and launchpad are all in the defaults, but you can configure your import path to add whatever locations you like, and then "go list" will show packages available there, and the other go commands will be able to build/install/etc those. The same syntax is used for import statements, so your code can depend on any code any where:

     import "mycoolwebsite.com/~bob/myproject.git/foo"
>Maybe it's just that the nature of the solution is more apparent.

I think they make it pretty clear: http://golang.org/cmd/go/ gives you pretty much everything about packages and so does "go help". Go pretty much does everything out of the box with the included toolset, from installing dependencies to formatting code to refactoring.

comment 13y ago · link · parent

It is just go. Do a "go build foo" or "go install foo" and it will handle any dependencies for foo on its own. Do a "go get bar" and it will download and install bar and anything it depends on.

comment 13y ago · link · parent

>xkcd has been hitting it out of the park consistently of late

I haven't checked it in a few years since it was getting so bad, so based on this I went and looked through the most recent dozen or so comics. Can you point to some of these home runs? Because all I saw was the same inane observations without adding any insight or thought or a joke or anything. I'm honestly not just trying to be contrarian, I just can't see how his recent work is in any way different from the last 3 years.

comment 13y ago · link · parent

Because in reality, people don't make decisions based on how many duplicate, unmaintained, broken libraries exist for language X. They make them based on "does language X have the libraries I actually need". Oh, json, DB_of_choice, and web framework exist? Gee, I guess 90%+ of people are covered right there. Virtually every language, even as seldom used as say, ocaml, have the libraries that 90% of people actually use. Libraries aren't an issue for the majority of tasks people are doing.

comment 13y ago · link · parent

>Sure it does, right up until you also need libraries that Ruby has but Go doesn't.

Now replace go with ruby and ruby with perl. Go has libraries for 99% of what people are doing with ruby. If you are in that 1%, then you need to evaluate whether or not it is worth writing the library you need or if you should use another language.

comment 13y ago · link · parent

>Why

Because it is a huge pain in the ass, and very rarely does any good. As soon as you are writing C, you are dealing with all the headaches that go with it for both development and deployment. You've lost a big part of the benefit of using scripting language X. And this part:

>In many cases, only a tiny fraction of your code needs to be fast

Isn't true. People repeat it a lot, but I've seen no evidence to support it. Most people are using scripting languages for web apps which really are just generally slow all over. They would need to write 80% of it in C to get good performance. Seems like using a language that is as productive as scripting languages, but is also fast, makes a lot more sense.

comment 13y ago · link · parent

Yeah, opera is why I said mainstream. I haven't used anything other than opera in so long that I don't really know which features firefox and chrome still haven't copied yet.

comment 13y ago · link · parent

Don't the mainstream browsers support custom styling yet? Like say, a high contrast style?

comment 13y ago · link · parent

Except you didn't have to learn it as part of learning C, you didn't have to learn C to learn C++, and I would bet 99% of C and C++ programmers have no idea that 5[p] is valid code.

comment 13y ago · link · parent

I agree that C handles this much better than java. But your description is inaccurate. In C there are no methods, objects or 'this', which is far better.

comment 13y ago · link · parent

Look everyone, dscrd has solved the problem of software having bugs. Just be careful! Man, why didn't anyone think of that before? The software industry is going to be so much nicer now that you eliminated bugs.

comment 13y ago · link · parent

We don't know that though, people just say it based on what they think sounds reasonable. The point is, it would be interesting to actually find out how true that is, rather than just assume it based on nothing.

comment 13y ago · link · parent

http://en.wikipedia.org/wiki/Discrimination

Why is feigned ignorance of a basic, well-understood word such a common approach to argument on HN? I've seen this many times now, where people seem to want to insist "problem X is unsolvable because you can't even define Y".

comment 13y ago · link · parent

It may not be new, but it clearly still needs to be said. The way to move forward is exactly as the article says: just stop discriminating. Don't treat female programmers as female programmers and male programmers as male programmers. Treat all of them as programmers. So many well meaning people try to be "inclusive" by singling out women and making a big stink about what they think women want/need/desire/dislike/etc, and then women become the target of people's unhappiness with bad polices that were put in to "help" them, which they never wanted or asked for.

comment 13y ago · link · parent

First of all, the US is not the entire world. Especially not when it comes to video game production. From my experiences, game development studios in Canada, the US, and Japan have all had employees with ethnic backgrounds that seem roughly similar to the overall ethnic backgrounds of their region. The US is ~70% white, the fact that game studios in the US are ~70% white should not be used as evidence of a problem.

comment 13y ago · link · parent

How so? An OOP language without inheritance would still be coupling code and data together "in unnatural ways". It is the object that is doing the coupling, not inheritance.

comment 13y ago · link · parent

>I disagree completely with his analysis on monads

You say that, but your post doesn't actually show disagreement. He said to avoid analogies, not avoid real code. His list of steps in fact contains "use monads in real code".

comment 13y ago · link · parent

You are making the (quite appalling I think) assumption that "more artistic" means "better". Video games are not movies. There is far greater variety in video games, and far more reasons to enjoy them. I think people doing research on why human beings have "fun", what fun means and how we can provide more fun experiences are doing far more for the future of video games than people trying to pretend they are movies, and should aspire to be "art" movies.

comment 13y ago · link · parent

>Why does Valve make a fortune selling virtual hats

Because of the perceived social status conferred on them for having a rare or "cool" hat. It has nothing to do with the narrative vs mechanic question.

comment 13y ago · link · parent

You seem to be going on the assumption that if anyone ever gets to any website in any way then it was a result of "social media". Having people follow you on facebook does not get you in the top of search results on google/yahoo/bing. People can communicate without facebook. IM and texts still exist.
1
91011
40