Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fffggg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
fffggg
14y ago
One letter strings evaluate as true. This would only be false for a last name comprised of the single digit '0'
62.
▲
by
fffggg
14y ago
"It is not pedantry; one cannot claim to have written the KJV version" Sure one can. In fact, copyright has nothing to say regarding plagiarism. US copyright only prevents the copying of a work. I could claim to have authored Star Wars, the
63.
▲
by
fffggg
14y ago
NKJV, the bible one typically finds in the USA, was edited and published in 1979 and is most certainly under copyright as a whole. In general, translations or adaptations of a work are under their own separate copyright. Your overarching po
64.
▲
by
fffggg
15y ago
I did not say it was "impossible," I said it would be "utterly unusable." I am happy to see you agree with me.
65.
▲
by
fffggg
15y ago
- automatic integer-to-float comparison to accommodate bigger integers. A horrible hack to squeeze a little extra performance in naive benchmarks in computers with no native 64 bit integer support. This really makes no sense whatsoever now
66.
▲
by
fffggg
15y ago
You're missing the point -- there is no such thing as a precisely correct conversion to a floating point number. Your suggestion would make type conversion utterly unusable as it would fail seemingly randomly -- for example on simple number
67.
▲
by
fffggg
15y ago
You just reiterated my point. This is precisely why your original suggestion of failing an "invalid" conversion is untenable. ALL conversions lack precision -- there is no such thing as an "invalid" conversion.
68.
▲
by
fffggg
15y ago
How do you test that it isn't valid? I think you may be underestimating the difficulty in predicting whether a particular decimal number can be accurately represented as a floating point type. It may be non-obvious, but the representation o
69.
▲
by
fffggg
15y ago
This is truer than you know, but for the wrong reasons. I worked tech support for a shell provider in the 90s and I helped a LOT of users work through the mechanics of setting up a cgi-bin. One of the most difficult concepts for users witho