Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kzrdude
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
1749 ms
·
5341.
▲
by
kzrdude
15y ago
When MPAA bribes members of the congress, the foremost concern should be that congress is corrupt, not MPAA. It's a whole different level.
5342.
▲
by
kzrdude
15y ago
but comments move around depending on votes.
5343.
▲
by
kzrdude
15y ago
Google going dark would be extremely interesting and a valuable lesson for society (that it will fail to understand of course).
5344.
▲
by
kzrdude
15y ago
The ## in front of __VA_ARGS__ is a gcc extension.
5345.
▲
by
kzrdude
15y ago
I use facebook. Why am I not registering for G+? Well: Fool me once, shame on you; fool me twice, shame on me!
5346.
▲
by
kzrdude
15y ago
glibc still includes similar code. (There are type-switch builtin functions in gcc that could have replaced it).
5347.
▲
by
kzrdude
15y ago
That's not a C feature only POSIX. Pointless still. Why does POSIX include useless containers like this and no real ones?
5348.
▲
by
kzrdude
15y ago
Not sure in which sense it is C++ only. 0 is a null pointer constant in C.
5349.
▲
by
kzrdude
15y ago
It should be just O_EXCL, which is POSIX.
5350.
▲
by
kzrdude
15y ago
There are so many different ways to communicate errors through an int in C. For example 0=success and negative error codes. With _Bool, at least one scheme is obvious from the signature.
5351.
▲
by
kzrdude
15y ago
The issue is laid out here by C-FAQ: http://c-faq.com/ansi/constmismatch.html
5352.
▲
by
kzrdude
15y ago
That's C++11, a different language.
5353.
▲
ISO updates C Standard (Now we have C11)
(h-online.com)
116 points
by
kzrdude
15y ago
|
35 comments
5354.
▲
by
kzrdude
15y ago
Not a surprise. Python's `array` doesn't really do much, it just allows you to store and access homogenous data without wasting memory. That's all. It doesn't really deserve to be on this list.
5355.
▲
by
kzrdude
15y ago
The link to Calude's paper in the article is broken, it is this: http://www.cs.auckland.ac.nz/~cristian/Calude361_370.pdf
5356.
▲
by
kzrdude
15y ago
Fix Congress First -- Now Rootstrikers http://www.rootstrikers.org/
5357.
▲
by
kzrdude
15y ago
In a way that's still true. I'm thinking of `nonlocal` and attribute lookup which is all too complicated.
5358.
▲
by
kzrdude
15y ago
"Sweden wants everyone to think they hate men." What does this mean?
5359.
▲
by
kzrdude
15y ago
A much more interesting line of python is b[:] = a # copy a into b, while b keeps its identity.
5360.
▲
by
kzrdude
15y ago
I agree, yet this case is unproportional. It is not normal in sweden that crime victims are given this huge service when suspects escape abroad. There are long lists of worse cases that have simply been dropped because the suspect escaped s
5361.
▲
by
kzrdude
15y ago
The immediate losers are those that shun facebook, but anyone that cares about their data is a potential loser, depending on what facebook does in the future.
5362.
▲
by
kzrdude
15y ago
You're removing i+1 elements here :)
5363.
▲
by
kzrdude
15y ago
An attorney at swedish record association (Ifpi) says among other things 'some of the people performing for records in the sixties are old now; they have a hard time and need the money'. No comments necessary. http://www.sydsvenskan.se/kul
5364.
▲
by
kzrdude
15y ago
For example, right now Libya's assets are frozen. Which proves that UK is capable to do the same with Venezuela, if the situation allowed. So bringing home the gold gives independence.