Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ginkgo
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
ginkgo
15y ago
The input set is problematic because it contains every number from 0 to VA.length exactly once. This allows "algorithms" like this: for x in [0...VA.length] while (VA.get(x) > x) VA.swap(VA.get(x), x)
2.
▲
by
ginkgo
15y ago
When I forced myself to learn touch-typing with a qwerty keyboard i used gtypist. I found it to be sufficient for its purpose. The only gripe i had with it was that it required typing two spaces after a period. I found this just plain weird
3.
▲
by
ginkgo
15y ago
Actually, this seems like the perfect opportunity for pharma companies to "help" in creating the database. That's actually what they are already doing when pitching new drugs to doctors. Now they only have to convince the system designers a
4.
▲
by
ginkgo
15y ago
My personal favorite has always been permutation sort, where you try all possible permutations of a sequence and check if it is sorted. What's nice about it is that it is deterministic yet ridiculously slow. It can also be really easily imp
5.
▲
by
ginkgo
15y ago
They could promote polyandry.
6.
▲
by
ginkgo
15y ago
They could simply get a PrimeSense license. I see no reason why they wouldn't get one.
7.
▲
by
ginkgo
15y ago
If the python project had something like that, the current python 3 situation could maybe have been avoided.
8.
▲
by
ginkgo
15y ago
Call me paranoid, but I don't like the idea of all my money transactions being traceable. It's less that I worry about my bank or government but about, for instance, super-market chains linking my buying-behavior to my bank account or card
9.
▲
by
ginkgo
15y ago
Especially in hot weather I actually prefer short-sleeved shirts to t-shirts. The tightly woven, thin fabric of a shirt does not stick as much to the body as a t-shirt. Though I have to admit, that I have never been to Australia in summer.
10.
▲
by
ginkgo
15y ago
How could a program work that can detect such scam-drives? As long as we don't care about crashing the formatting, at least. It could work by writing a specific pattern in the first few bytes of the device and then reading/writing in 2^n st
11.
▲
by
ginkgo
15y ago
Maybe it's possible to make this a closed circuit by channeling the "burnt" water back into the solar cell. This way, the daily water consumption could be brought down to (almost) zero. I guess that this would need distilled water anyway.
12.
▲
by
ginkgo
16y ago
This update broke the python-cheetah package which I was relying on. For now, I have to use a self-compiled 2.6 python package. I have locked the python and python2 packages from further updates for now. I hope this situation get better soo
13.
▲
by
ginkgo
16y ago
This is somewhat related: http://hypertextbook.com/facts/2007/mariogravity.shtml
14.
▲
by
ginkgo
16y ago
I wanted to post the same thing. The quality of those pictures is incredible. You can find all reconstructed images here: http://www.loc.gov/exhibits/empire/
15.
▲
by
ginkgo
17y ago
The sex determining chromosomes are just two among 23 chromosome pairs in the human genome. All the number-play in the article is completely pointless.
16.
▲
by
ginkgo
17y ago
There is a very interesting talk by Tim Sweeney to this topic: http://lambda-the-ultimate.org/node/1277
17.
▲
by
ginkgo
17y ago
Ocelot would also be a good name.
18.
▲
by
ginkgo
17y ago
Or you could simply make your python code tail-recursive: $ time python fib.py 40 102334155 real 0m0.013s user 0m0.000s sys 0m0.010s