Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fhars
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
100 ms
·
961.
▲
by
fhars
17y ago
That argument is wrong. Adding more C02 into an already IR-opaque atmosphere wouldn't change the amount of IR radiation finally emitted into space (so much is true, but irrelevant), but it still would move the surfaces of the same greenhous
962.
▲
by
fhars
17y ago
His point is that the reverse of the two character unicode string "LATIN-SMALL-LETTER-O COMBINIG-DIAERESIS" is not "COMBINING-DIAERESIS LATIN-SMALL-LETTER-O", but the original "LATIN-SMALL-LETTER-O COMBINIG-DIAERESIS". Blame it on the uni
963.
▲
by
fhars
17y ago
But in France the problem is that they built their houses according to the maxim "we have abundant cheap nuclear energy" to use marginal insulation and electric heaters, so these days they have to buy electricity produced in Germany's dirti
964.
▲
by
fhars
17y ago
My usual half-serious stance on this is that a language is just a dialect with an army. But this does of course break down in the case of Icelandic, which is definitely a language, but has neither, but clearly captures tha fact that answers
965.
▲
by
fhars
17y ago
Not too much trouble, but horribly wrong. You are generating a new Random instance with possibly expensive seed generation for every random number, and, even worse, you are completely at the mercy of the seed generation used by your JVM. Su
966.
▲
by
fhars
17y ago
No. class Test { public Test() {} public static void main(String[] argv) { int i; for (i = 0; i < 100; i += 1) { System.out.println("RND=" + ((int) Math.random() * 100000)); } } }
967.
▲
by
fhars
17y ago
The main criticisms are that GA collect users' data without consent, without telling them what they collect and without giving them a simple way to get their data reliably deleted, all of which are forbidden according to german law. And bef
968.
▲
by
fhars
17y ago
Before Android, there was no phone platform with open app development, JavaME and Symbian require a code signing certifiate (at about $300 per year) just for running your own code on your own phone in an acceptable manner. Symbian seems to
969.
▲
by
fhars
17y ago
This is from 2004: http://ctan.org/tex-archive/graphics/sparklines/
970.
▲
by
fhars
17y ago
Reminds me of the experiment run by a german tv program where they let some people compare a real, but mediocre wine with a liquid composed from single substances to match the gas chromatograph readings of a good wine. The artificial wine w
971.
▲
by
fhars
17y ago
Well, then use a conference bike http://en.wikipedia.org/wiki/Conference_Bike
972.
▲
by
fhars
17y ago
"It's just a matrix" and all the comments sound like SciPy is some kind of APL for the rest of us, is that impression correct? There you too can achieve incredible conciseness once you manage to formulate you problem using some matrices and
973.
▲
by
fhars
17y ago
The wire telegraph and the rotary printing press killed storytelling some time in the 19th century with these newfangled "papers" that everybody is still moaning about. No, wait, that moaning now is about these papers disappearing again bec
974.
▲
by
fhars
17y ago
Yeah, but the SGML declaration for HTML contains SHORTTAG, so <a href=../bar/index.html>Bar</a> is actually shorthand for the invalid <a href="..">bar</a>index.html>Bar</a> Good luck
975.
▲
by
fhars
17y ago
After a good night's sleep I see that my second edit is in fact wrong and my intuition in the first sentence was right (and the code in my edit fell victim to the same off-by-one as the code in the article). Final proof: for my $i (1..1
976.
▲
by
fhars
17y ago
No, you couldn't, that's what this subthread is about. A PRNG with 32 bit entropy will only ever produce 2^32 different sequences of random numbers and so only 2^32 different shuffles. If you want more, you must introduce more entropy, eith
977.
▲
by
fhars
17y ago
Just read volume 4 of TAoCP when it appears in print :-). Actually, if your game is not about real money, this problem might be more of an academic curiosity, but there are some algorithms with very long periods, start at one of these pages
978.
▲
by
fhars
17y ago
It's O(N * log(N)) instead of O(N). And of course it has the usual problem of generating permutations using a pseudo random number generater: Even for moderately sized collections, the number of permutations is far larger than the number of
979.
▲
by
fhars
17y ago
As far as I can tell, the "correct" shuffle in that post is wrong, int(rand() * $i) is always smaller than $i, so it will never generate a permutation where an element stays at the same position. It is obvious from the numbers, too: the loo
980.
▲
by
fhars
17y ago
Maybe it is because English is my second language, but did he just demand that twitter pay him for using their service? If so, does this rant do anything except reducing twitter's winer number ( http://diveintomark.org/archives/2003/04/2
981.
▲
by
fhars
17y ago
It might happen. German has many of the same ablaut series as english, so where english has sink-sank-sunk and wink-winked-winked, the corresponding german cognates have sinken-sank-gesunken and winken-winkte-gewinkt. But many people now us
982.
▲
by
fhars
17y ago
Yes, it does. This is the problem with making phone calls while driving. Even if you use a headset to keep your hands free (as is mandatory in many countries), you are still so distracted that you are almost as likely to cause an accident a
983.
▲
by
fhars
17y ago
There is one problem with the correlation citet by Peter Norvig: since the persons that got a 1 on one of the interviews and are hired are not a representative sample of all candidates that got a 1 on one of the interviews, the real predict
984.
▲
by
fhars
17y ago
I am pretty ambivalent about that book. It covers a lot of territory with pointers to deeper literature with a clear emhasis on using these techniques with a statistics program like SPSS (or R), which is nice, but it still wastes a lot of s
985.
▲
by
fhars
17y ago
It is labeled Voroni diagram because the actual map is a Voroni diagramm of the points placed by the algorithm, clipped to some outline.
986.
▲
by
fhars
17y ago
You might also want to look at processing and try to develop some fun visualizations or animations of business data you care about. That might give you the incentive to actually dive into programming and processing is designed to give non-p
987.
▲
by
fhars
17y ago
From the perspective of the writer it reads more like "this is what happens when you give someone 50% of a company for simply writing the code." At least one side seems to have gotten something wrong...
988.
▲
by
fhars
17y ago
I use C-z as escape in screen. This would be "send process to background" in a vanilla shell, which I don't need that often in screen.
989.
▲
by
fhars
17y ago
NX is supposedly able to do this, but last time I looked (which, admittedly, was two or three years ago) you had to expect serious problems if the set of available fonts on the different display servers was different (i.e. in all realistic
990.
▲
by
fhars
17y ago
This looks like a genuinely fun windows launch party (or rather, "launch windows"-party): http://www.svlug.org/events/crash98.php
More ›