2,468 karma · joined March 2, 2008
Them: "Have a seat."
You: "Let's sit down."
Them: "Ok."I was literally open-jawed when I created a new window with the content URL of http://www.google.com, used that to search for Mocha UI, then opened another instance of Mocha UI in itself. I thought that was pretty nifty. Although useless in practice.
But somehow, all these articles about Microsoft, Yahoo, Google, don't really strike me as interesting. Do we really care that much about what other analysts say? Does all that political and religious bickering over operating systems really matter? Somehow, reading the continuous articles about "Microsoft's Problem" or "Why (Mac|Google|Linux|Ubuntu) Will Win" or "Why Microsoft is Doomed" just doesn't really excite me. Maybe it's just me though.
"This beats perl by long shot:
Java: FileUtil.getContents("filename") // short but tells you what it does
Perl: <> # yea I know what it does, but really, do you need a non-intuitive built-in operator? And besides this only works for reading from the command line"
It seems that some people are so intent on never learning new things or adopting different languages that they will say "beats by a long shot" when they should say "still doesn't even come close to".
(def vector-dot-product (vector-1 vector-2)
(map [* _1 _2] vector-1 vector-2))
That's from Light Makes Right the raytracer, I think.
Equivalent python: def vectorDotProduct(vector1, vector2):
return [x * y for x, y in zip(vector1, vector2)]
I'm pretty sure that the Lisp snippet above is neither harder to decipher nor longer. Though maybe that's just because Arc is nice.Account created 14 minutes ago. Karma: none.
Please, people. Stop.
It is nice to see this type of stuff here sometimes, it's interesting and amusing.
Two minor quirks: Back and forward button cause an ugly sort of refresh. And I forgot what the other one was because it just looks and feels so nice.
I hope this type of stuff gets more widespread. I also hope that browsers don't screw it up, as they're likely to. (Works well in Firefox 3 for me)
Maybe I'm not the best at reading badly commented C code, but Ruby and MzScheme were not nearly as pleasant.
I completely disagree, and I'd say the opposite. If someone has the motivation be self-taught, then they will have the motivation to try difficult things. Though I would agree that you can't really be well self-taught unless you really have the determination for it.
Of course, I wouldn't want to speculate about then, because who knows what could happen in 7 years... It's humbling to think that the Internet has only been around about double that.
that's actually pretty cool, and IMO definitely worth the time. I mean, how many people can say they've build planes?
Somehow we'll need to find a balance between what is interesting but isn't hacker news - sometimes, non-hacker news is interesting enough to deserve a place here, although most of the time it isn't. Or maybe we can just say, for the sake of safety, that anything non-hacker related is inappropriate? Not sure about that.
As for Erlang, I'm pretty sure it wasn't meant for numerical calculations, and since it's interpreter, it can't really be used for all real-time apps. Although it's process model is novel, the implementation might not be perfect for everything right now. Correct me if I'm wrong on this (which I might well be, since I have not spent too much time writing Erlang code.)
I think what the parent meant is that writing multithreaded programs easily and quickly (not to mention bug-free) is hard, hard enough to be called a problem.