HNHacker News
TopNewBestAskShowJobs

jpr

648 karma · joined November 12, 2009

submissionscomments
jpr··on Torvalds: Standards are paper. I use paper to wipe my butt every day.
> Even if adobe was relying on bad behavior, it was glibc's bad behavior it was depending on.

Wasn't it implementation details it was relying on? Isn't NOT relying on implementation details pretty much the basis of good software engineering?

jpr··on Torvalds: Standards are paper. I use paper to wipe my butt every day.
For what it's worth, I agree. Every time I hear about problems that arise from programming in C, with its undefined behaviour etc., I think to myself, there must be a better way to do it. But I don't know of any way that wouldn't involve scrapping 90%+ of software we use every day.
jpr··on Torvalds: Standards are paper. I use paper to wipe my butt every day.
How hard can it be for Adobe to write standards conforming code?

The user doesn't care, but professional software developers, which I assumes Adobe's developers are, should make it a priority to follow the relevant standards.

jpr··on C++ International Standard final draft is ready
Except that even the C++ hello world uses most features of the language:

* C-like functions (main)

* headers (iostream)

* namespaces (std)

* operator overloading (<<)

* object-orientation (cout is an instance of a class that is derived from ios and ios_base)

* templates (endl is a template function)

jpr··on Most common one-line bugs in C?
Casting malloc's return value in C is

a) not necessary

b) a bad idea, because if you forget to include stdlib.h the compiler won't warn you since it assumes that you know what you are doing when you cast an int (the default return type) to whatever pointer type it is.

jpr··on Why O'Caml is not my favorite programming language (2007)
From the comments:

> If you want an easy-to-use dynamic programming language, there are plenty better choices than Lisp

Huh, is there some new dynamic language that has completely slipped under my radar?

jpr··on What It Feels Like to Be Rich
You have a strange definition of "friend".
jpr··on The lost art of total recall
> there is nothing sadder than someone who has lost their mobile phone and who finds they cannot even phone home or call their parents or partners because they cannot remember a single telephone number

Well, I guess if you don't know a single telephone number you can't do much. But if there is one phone number you should memorize (beyond 911 or equivalent), it is the phone number of the number service that will connect to you where ever you want.

I believe that we are largely beyond the age of recalling anything more than how to get to information we want quickly, and I like it.

jpr··on Ask HN: What am I missing re: fascination with command lines
Bash is probably the second worst thing unix has to offer, right after vi.

The command you demonstrated is only slightly faster than sorting the directory by type in a file explorer and selecting them with mouse and selecting delete from context menu, and much more dangerous, ie. when you mistype it as rm * .bak you just deleted everything in that folder permanently, whereas in a GUI you would've seen what you actually selected, and most likely only moved them to trash, not permanently deleted them right away.

jpr··on This is why I sell beer.
Maybe it's different in the US, but as a Finn I don't think "end up drinking more" is good since people generally end up drinking quite enough without any financial help.
jpr··on Dropbox: The hottest startup you've never heard of
Finally something I can be hipster about.
jpr··on Don't distract new programmers with OOP
You have the strangest definition of OO I've yet to come across.
jpr··on Don't distract new programmers with OOP
If only someone told me what on earth they mean by OOP...
jpr··on C, The Beautiful Language
Depends on what you mean by OOP. But function pointers (mostly in structs) are one way to do it.
jpr··on Analysis of the conflict among Canonical, GNOME, and KDE
What is the great idea are you referring to?

(not trolling, I honestly don't know what it is that you mean)

jpr··on Sleep is more important than food
That looks like an interesting paper. I'll save it so I can read it later.
jpr··on New Facebook Feature Empowers the Dangerous "Comment Nazis"
Zuckerberg doesn't get context sensitivity.
jpr··on If iPads are “post-pc devices” why must I sync with iTunes before I can use one?
Windows, which is by itself in the ~90% range, is not and has never been a closed ecosystem. You can easily install any piece of software you find anywhere. MS is even falling over themselves to give you free developer tools.
jpr··on Avoiding a transit of the United States
FWIW, as a EU citizen the things I've heard about traveling to/from/in US have mostly made me go wtf. Perhaps it's just because I spend too much time reading about TSA etc. on reddit, but maybe not.
jpr··on How to DOS a developer
I think this illustrates why FOSS hasn't taken, and probably won't take the "mainstream" by storm.

Users communicating directly with developers is a nice idea that sounds good at first, but unfortunately it can't really work when

a) there are many orders of magnitude more users than developers

b) users are not technologically advanced enough to provide the developers with useful (and preferably only useful) information about the bugs

This means that developers are effectively DoS:ed to death when trying to directly support a piece of software with lots of non-tech-geek users. What could solve the problem would be a group of people between developers and users which could translate normal language to and from tech-speak, and evaluate the importance of different bugs. I guess this can be automated to some extent with bug-tracking software, but I don't think it's enough when the software in question has lots and lots of users.

jpr··on Everything You Know About Fitness is a Lie
> this is the kind of crap that people read and use as yet-another-reason as to why they don't try to get fit.

I wonder if we read the same article?

jpr··on Everything You Know About Fitness is a Lie
I think he means more along the lines of "exhausted from exercise".
jpr··on Steve Jobs Takes The Stage At iPad 2 Event
How did he make sure that the compiler wouldn't optimize them away?
jpr··on I Hate CSS
> I know in design land this is an absolute no-no, but at the end of the day 1) it works 2) it's simple 3) it's x-browser 4) it's reliable.

The conclusion I would make from that data is that designers are... ahem... idiots (for not using a working, simple and reliable cross-browser solution)?

jpr··on 2000 as Seen in 1910 (23 pics)
That sure sounds plausible, but is there any evidence that this was actually the case? I'm always looking for excuses to dress extravagantly and not shave.
jpr··on Working at Microsoft – Day to Day Coding
Can't tell if trolling or not...
jpr··on 10.7 Lion allows multi-user remote computing
Is it just me or are 99% of tech "news" and "innovation" just reinvention of stuff already found in UNIX, Lisp etc. decades ago?
jpr··on Daring Fireball: The Daily Wait
Or if we had a proper browser that still had that possibility... Oh wait, we do have those, but I don't if they are allowed on the iDevices.
jpr··on Ask HN: How HN improved your life?
It didn't.
jpr··on What can you do in 2k LOC of C?
Or perhaps it's people who mistake obfuscation for elegance and brevity.
← PreviousPage 5 of 12Next →