Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jpr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
jpr
16y ago
If C++ can be explained adequately with simple C code, why use C++ in the first place?
122.
▲
by
jpr
16y ago
Am I the only one who is a little tired of the term "ecosystem" in the context of technology?
123.
▲
by
jpr
16y ago
> Python's lexical scoping semantics are a little bit wonky and there are lots of scenarios in which the thread's stack frame is reified as an object. Could you give an example of such a scenario? I'm having a hard time imagining what t
124.
▲
by
jpr
16y ago
Shouldn't this if fruit is 'apricot': be if fruit == 'apricot': ?
125.
▲
by
jpr
16y ago
> 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 enginee
126.
▲
by
jpr
16y ago
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 sc
127.
▲
by
jpr
16y ago
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.
128.
▲
by
jpr
16y ago
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 deri
129.
▲
by
jpr
16y ago
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
130.
▲
by
jpr
16y ago
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?
131.
▲
by
jpr
16y ago
You have a strange definition of "friend".
132.
▲
by
jpr
16y ago
> 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
133.
▲
by
jpr
16y ago
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 co
134.
▲
by
jpr
16y ago
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.
135.
▲
by
jpr
16y ago
Finally something I can be hipster about.
136.
▲
by
jpr
16y ago
You have the strangest definition of OO I've yet to come across.
137.
▲
by
jpr
16y ago
If only someone told me what on earth they mean by OOP...
138.
▲
by
jpr
16y ago
Depends on what you mean by OOP. But function pointers (mostly in structs) are one way to do it.
139.
▲
by
jpr
16y ago
What is the great idea are you referring to? (not trolling, I honestly don't know what it is that you mean)
140.
▲
by
jpr
16y ago
That looks like an interesting paper. I'll save it so I can read it later.
141.
▲
by
jpr
16y ago
Zuckerberg doesn't get context sensitivity.
142.
▲
by
jpr
16y ago
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.
143.
▲
by
jpr
16y ago
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.
144.
▲
by
jpr
16y ago
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 a
145.
▲
by
jpr
16y ago
> 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?
146.
▲
by
jpr
16y ago
I think he means more along the lines of "exhausted from exercise".
147.
▲
by
jpr
16y ago
How did he make sure that the compiler wouldn't optimize them away?
148.
▲
by
jpr
16y ago
> 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 usin
149.
▲
by
jpr
16y ago
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.
150.
▲
by
jpr
16y ago
Can't tell if trolling or not...
More ›