Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
182 ms
·
691.
▲
by
bd
18y ago
Yes, I try to do it as cheaply as possible. abs(r1-r2) + abs(g1-g2) + abs(b1-b2)
692.
▲
by
bd
18y ago
Yep, cartoon images seem to be tough for this particular algorithm to optimize. The first velociraptor I tried was a stop sign from XKCD and it failed miserably. Though you never know, I also thought black&white Darwin image was hopeles
693.
▲
by
bd
18y ago
I know about this problem, just I'm getting too tired to be able to debug it. It's almost 5am here. If it does something weird, just reset it by forced reload (Ctrl-F5). Stay tuned tomorrow for DNA import/export, it's like 80% done. [Edit]
694.
▲
by
bd
18y ago
I don't do anything smart. These are just brute force mutations, always the same. The only parameter tuning I did was to try several numbers of vertices per polygon for about 15 minutes and from there on I just used the one (6 vertices) tha
695.
▲
by
bd
18y ago
You can run it locally if it is on your local webserver ( http://localhost ) instead of just filesystem (file://). That's how I work on it (XAMPP). http://en.wikipedia.org/wiki/Xampp
696.
▲
by
bd
18y ago
Yup, that was the idea. I just added MIT License [1] to the source. Everything is in one self-contained HTML file (sans images). Feel free to improve it :). [1] http://en.wikipedia.org/wiki/Mit_license
697.
▲
by
bd
18y ago
I envy you :). You may try to run it on different images, I just added new experimental feature: you can set your own target image. This does crash JavaScript sometimes on some images (for unknown reasons). If this happens, just reload the
698.
▲
by
bd
18y ago
If somebody is interest in seeing this process in real-time, I implemented the algorithm in JavaScript: http://news.ycombinator.com/item?id=392036
699.
▲
by
bd
18y ago
I reimplemented the algorithm from [1] in JavaScript using canvas.getImageData for fitness computation. It's far from perfect, but it seems to work. So far I'm at around 1/30th of the original iterations (took ~1 hour) and it already looks
700.
▲
Evolution of Mona Lisa in JavaScript & Canvas
(alteredqualia.com)
85 points
by
bd
18y ago
|
40 comments
701.
▲
Salesforce announces Force.com for Google App Engine
(googleappengine.blogspot.com)
1 points
by
bd
18y ago
|
0 comments
702.
▲
by
bd
18y ago
It seems he is overdosing on vitamins. Yellowing/light Orange may be caused by removal of excess B vitamins from the bloodstream. "Fluorescent Yellow / Greenish urine may be caused by dietary supplemental vitamins, especially the B vitam
703.
▲
by
bd
18y ago
Yup, that's what I ment. This is what I do when posting Wikipedia urls with parens here. For parsing parens problem, heuristics proposed by lacker seems reasonable. Anyway, I guess like 99% of broken parens cases here would be Wikipedia lin
704.
▲
by
bd
18y ago
It's possible to get around using escape sequences. In Python: import urllib print urllib.quote("en.wikipedia.org/wiki/Smart_(automobile)") It looks ugly, but it makes links clickable: http://en.wikipedia.org/wiki/Smart_%28automob
705.
▲
by
bd
18y ago
Ah yes, you are right. I also didn't realize it's not even genetic programming as DNA seems to be just polygon data, not polygon-drawing programs. BTW your comment was eponysterical :) http://mssv.net/wiki.cgi?Eponysterical
706.
▲
by
bd
18y ago
The author of this is actually demoscener (Fairlight).
707.
▲
by
bd
18y ago
If we want to be more precise, this type of optimization is called simulated annealing (population = 1, no cross-over, just mutations): "At each step, the SA heuristic considers some neighbour s' of the current state s, and probabilistic
708.
▲
WikiScanner2 beta
(katrina.cs.caltech.edu)
1 points
by
bd
18y ago
|
0 comments
709.
▲
by
bd
18y ago
Society without productivity variation could also be just Edisons (depending on the definition of "Edison").
710.
▲
Mexico: The Next Disaster
(forbes.com)
2 points
by
bd
18y ago
|
0 comments
711.
▲
The Long-Run Benefits of Punishment
(sciencenow.sciencemag.org)
1 points
by
bd
18y ago
|
0 comments
712.
▲
by
bd
18y ago
Wasn't Inuit snow words story just an urban legend? http://en.wikipedia.org/wiki/Eskimo_words_for_snow
713.
▲
Tightly-Coupled Systems, Airlines and Error
(vanityfair.com)
4 points
by
bd
18y ago
|
0 comments
714.
▲
by
bd
18y ago
So if we take a range of estimates for total amount of lithium in the world (4.4M - 165M tons) and "a rule of thumb" of 124 pounds for one vehicle, there is enough lithium in the world for concurrently active 78M - 2.9B vehicles. By some
715.
▲
by
bd
18y ago
Google Update is indeed very sneaky. Its installation piggybacks on plenty of Google software (including browser plugins) without telling anything and then it installs a task into Windows Scheduler that keeps respawning it when you kill it.
716.
▲
Why the Moon? (NASA presentation)
(slideshare.net)
2 points
by
bd
18y ago
|
0 comments
717.
▲
If I Were You: Perceptual Illusion of Body Swapping
(plosone.org)
8 points
by
bd
18y ago
|
2 comments
718.
▲
by
bd
18y ago
In the actual article they mention it: "The findings are similar if we define success to also include firms that were acquired or merged." Also numbers seem to be ok (about 1-in-5 for the first time enterpreneurs, 1-in-3 for the already s
719.
▲
by
bd
18y ago
From my understanding, recent IQ gains are more akin to recent increases of the life expectancy. Evolution slowly created a biological basis for the maximum life span/intelligence (including genetics-based variability with relatively few in
720.
▲
Jason Santa Maria asks designers to share their first websites
(jasonsantamaria.com)
2 points
by
bd
18y ago
|
0 comments
More ›