HNHacker News
TopNewBestAskShowJobs

jpr

648 karma · joined November 12, 2009

submissionscomments
jpr··on Why C++ is vastly superior to C
My reason why C++ is vastly inferior to C:

It's just too goddamn easy to make a mess in C++ without noticing it. In C, if you make a mess, you will more likely notice it before it's unmanageable.

jpr··on Why C++ is vastly superior to C
> I am not sure all the C folks are as productive as they could've been if they switched to C++. Same people.

I'm pretty sure that C folks are much more productive using C than C++. Hating the tools you are using tends to lower productivity to a halt.

jpr··on Of Lisp Macros and Washing Machines
In eagerly-evaluated languages such as almost-anything-other-than-Haskell, there is much less need for monads or other weird contraptions that make it difficult to reason about the behavior of the program. When Haskell fits the problem, it's very good, when it doesn't, you probably need to employ non-portable compiler tricks.
jpr··on Ubuntu 11.10 To Switch From GDM To LightDM
Yes they have evolved. Not necessarily for the better IMHO.
jpr··on Google lobbies Nevada to allow driverless cars
What makes you think machines would be even deadlier drivers than humans?
jpr··on Lisp Idioms
I'm not well versed in CLHS legalese, but don't &rest arguments count as one argument? One would suspect so since &rest is allowed to be not copied.
jpr··on Every day I learn something new… and stupid.
I think many programmers are angry because they have to use so obviously broken technologies that have managed to capture the mainstream by only marketing, luck, ignorance or some combination of those. I certainly weep every time I look for jobs and there are ten times more jobs for PHP/MySQL than anything else.
jpr··on Mark Shuttleworth: Our Goal Is 200 Million Ubuntu Users In 4 Years
I have a hard time figuring out how Canonical is going to make money. Most desktop users are not going to pay for support.
jpr··on Java.next() - The Groovy Programming Language
If you substitute "method" for "memory" it makes sense.
jpr··on The Death of the Scrollbar
It's important to note that latest Ubuntu has completely fucked up the scrollbars. It would be nice if all apps actually used the new scrollbars, but only some of them do. Notable lacking the new scrollbars are such rarely used applications as Firefox and gnome-terminal.
jpr··on The Death of the Scrollbar
It's Apple. They don't give a fuck about usability as long as their UI is different from that of Windows.
jpr··on Math genius Grigori Perelman explains why he turned down $1 million prize
I guess one can construct rational arguments for turning down money if one doesn't believe in capitalism or economics or money, but that doesn't make the act of turning down money economically non-rational.
jpr··on Math genius Grigori Perelman explains why he turned down $1 million prize
Could the downvoters please explain how it is not economically retarded to decline an offering of money for your work? I have a really difficult time understanding this.
jpr··on Math genius Grigori Perelman explains why he turned down $1 million prize
I guess you can be matematically genius while being economically retard.
jpr··on I take illegal drugs for inspiration
> If you think a given law is unjust, you should be campaigning to change it, not breaking it willy-nilly.

If I were to heed that advice, I couldn't do anything productive. Heck, even as it is I'm worrying about stupid laws far too much, even though I'm not breaking any (that I know of), and it's taking time away from my productive behaviour. Your argument doesn't hold water in an environment where there are many, many stupid laws.

jpr··on Wikileaks Founder: Facebook is the most appalling spy machine ever invented
The one casino I've been to required showing id and having your picture taken before they let you play.
jpr··on Haskell: Not pure enough?
When you subscribe to some ideology that can be described by a simple word, it is easy to dismiss all problems encountered while exercising that ideology by saying that "you are not being X enough", whether X is socialist, capitalist, vegan, carnivore, functional, object-oriented, static, dynamic, free, proprietary or whatever.

I used to program in Haskell for fun and school and I liked it. I find it very well thought out language. I may very well come back to programming in Haskell when I encounter a suitable project.

But there is a tendency among Haskeller's to get too caught up in praising purity and laziness, while ignoring the nice practical aspects of the language that could enable it to rise to be an even greater language.

I'm not saying that author is guilty of this, this is just a general observation. And I must admit that I'm not quite up to date of what's up with Haskell. My point is that Haskell is great for reasons other than purity and laziness, too.

jpr··on Just compile some Scala code to get an interview
And by trying to get the code to compile I'm yet again reminded why I don't like Scala:

The compiler is slow as fuck to get started and the syntax of the language is such that whitespace appears to matter. No thanks.

But I wish y'all good luck anyway.

jpr··on (Ubuntu) 11.04, a leap forward
I have to say that I was very skeptical of Unity before I tried it yesterday for the first time. It's certainly different from what most people are used to, but it's also better in many ways. I have tried at least GNOME2, KDE3, KDE4, XMonad, wmii, and different versions Windows, and I can't decide which of them I like the best. Unity is not the best for everything and takes some getting used to, but it certainly isn't bad either.
jpr··on Osama bin Laden Is Dead
You are implying that TSA etc. were established due to legitimate risk/benefit analysis, not blind fear. I don't think that's true.
jpr··on Simple Unix tools in Haskell
What makes GNU tools standard (other de facto)?
jpr··on How to beat Apple
One thing I find hard to beat when it comes to Apple: the image.

Apple is the hip and cool thing that your artistic cousin uses, whereas Microsoft is the lame and boring thing that the enterprise uses.

Between these two stereotypes, what would be the image you would market to in order to turn huge profits like Apple is doing? I have no idea, and I think it would be unwise to just imitate Apple, they have more experience being Apple than anybody.

jpr··on The myth of the Lisp genius
Lisp is not concerned by implementation details. C is somewhat concerned with implementation details.

Implementation details largely determine how fast a given program will run.

C makes it rather easy to predict how fast a piece of code will run, and what its bottlenecks will be. Lisp makes that rather hard.

Given that there are always programs that need to be as fast as possible even with hand-optimized algorithms running on top-of-the-line hardware, C will win for many applications that have even moderate performance requirements.

Also, current mainstream operating-systems favor C and C++, if only implicitly.

jpr··on The myth of the Lisp genius
Also, CLisp is not a language, it's an implementation of a language named Common Lisp: http://www.gnu.org/software/clisp/

(It's common misconception, and a confusing name)

jpr··on The myth of the Lisp genius
Using Lisp the same way as you do other languages isn't any more difficult than using the other languages, after you learn the syntax and the basic tools of course. It's what you can do after you've learnt the basics that sets Lisp apart.

In other words: the beginning of the learning curves of Lisp vs. other languages are about the same. Lisp's curve just continues after that.

jpr··on The myth of the Lisp genius
I would like to say one thing to anyone who considers using Lisp:

It's perfectly okay to use Lisp just like you would use any other language.

It's better designed and more consistent than most others, and has good implementations. It makes sense to use Lisp as just a regular language without any wizardry.

jpr··on Dr. Stallman responded to my open letter
open source != free software
jpr··on Morph C++ into Javascript
I would categorize this as programmer-gore.
jpr··on Why you should use talloc for your next C project
Why does everyone conflate allocation and initialization?
jpr··on Linus Torvalds on Garbage Collection (2002)
1+KLOCs a day of C? WTF?
← PreviousPage 3 of 12Next →