News for hackers. Stuff that matters.
Re:JS1k demo: “Highway at Night” by thomasfl on Sunday November 23, 2014 @04:29AM (#8648262)
How can the human brain remember hours of highway trips in basically 3 pounds of fat without using some tricks to convert the information in to geometric 3d shapes? The developer who created this demo also know how to do it the other way round, he can write javascript that generate simple geometric shapes and animated transitions in javascript that generates a pretty good rendition of a highway trip at night.
Re:JS1k demo: “Highway at Night” by apl on Sunday November 23, 2014 @06:17AM (#8648456)
There's a lot of good science on this exact issue, dating back to the 50s/60s (good entry point: the Nobel Prize-awarded work of Hubel & Wiesel). The brain does indeed perform many, many passes of feature extraction and reduction. Essentially, this process starts at synapse one -- retinal inputs, for instance, are immediately split into multiple channels coding different features of the incredibly rich feature space impinging on your photoreceptors. The higher up you go, the more diverse the features and the higher their level of complexity.

There's no need for guesswork! Just dive into the literature.

Re:JS1k demo: “Highway at Night” by dorgo on Sunday November 23, 2014 @04:37AM (#8648275)
I doubt that (all) humans think in javascript :P Im sure the brain has its tricks, but they dont need to have something in common with the ones used here. I wonder what Kolmogorov Complexity this program has. Obviously <= 1023.
Re:JS1k demo: “Highway at Night” by jacquesm on Sunday November 23, 2014 @09:54AM (#8648915)
How does Kolmogorov Complexity deal with the fact that you're specifying that number within a certain execution context (in this case JavaScript)? Otherwise you could simply reduce the program to a single bit and have an interpreter that includes the original program as a primitive. This program without the libraries that it accesses would be a lot larger than it is.

Also, shouldn't the number be expressed in bits rather than bytes?

Re:JS1k demo: “Highway at Night” by vegedor on Sunday November 23, 2014 @09:25PM (#8650767)
I think it's fair to assume the brain has some interpretation frameworks as good as javascript/html at least, even if it's a cheesy metaphor.
Re:JS1k demo: “Highway at Night” by judk on Sunday November 23, 2014 @12:32PM (#8649272)
There is no absolute complexity scale, for the reason you state. There is only relative complexity within a defined domain.