News for hackers. Stuff that matters.

jengamaster

Re:Farm 432 on Friday January 09, 2015 @06:23AM (#8861722)
In fact, insect byproducts are already used in food production. Carmine is a red food dye made from the scales of a particular bug: http://en.wikipedia.org/wiki/Carmine
Re:PixelPals – Collaborative pixel art canvas on Tuesday December 23, 2014 @09:04AM (#8788120)
I think some people may be checking wether your script works or not
Re:Foobar on Tuesday November 11, 2014 @12:31PM (#8591014)
It's strange that the <span> in the login object is never used. Also that the handleAuth function uses the existence of 'logoutUrl' to decide wether it should refresh or redirect, but uses it for nothing else.
Re:Foobar on Tuesday November 11, 2014 @11:48AM (#8590758)
Also https://www.google.com/foobar uses JS to set the src of the iframe holding https://foobar.withgoogle.com and appends window.location.search to it.
Re:Foobar on Tuesday November 11, 2014 @11:17AM (#8590573)
That was my thought too, although I'm not sure how it would be done.
Re:Planet Generation - Part I on Tuesday August 05, 2014 @12:54PM (#8137909)
Ahh, I get it. Took me a couple reads of the code to see what was going on, but that is pretty cool. Thanks for the info!
Re:Planet Generation - Part I on Tuesday August 05, 2014 @12:42PM (#8137821)
That's an impressive result! My worry was that it would become more obvious if I were to skimp on the poly count of the shape. Doesn't seem to have been an issue for you.

Thanks for the links, I'll definitely check them out.

Re:Planet Generation - Part I on Tuesday August 05, 2014 @07:19AM (#8136344)
That would be interesting. I had a quick look and found this paper, they simulate tectonic plate movement for terrain generation:

http://www.cs.rpi.edu/~cutler/classes/advancedgraphics/S13/f...

and this one looks like some sort of terrain generation based on erosion:

http://arches.liris.cnrs.fr/publications/articles/SIGGRAPH20...

Re:Planet Generation - Part I on Tuesday August 05, 2014 @07:14AM (#8136324)
Very cool result! I've been wondering about applying the height-maps that you get from Perlin/Simplex directly to the vertices of a planet, for 3D terrain. I'd imagine that the cube mapping approach might not be perfect for this because of the irregular distance between vertices. The geodesic dome would probably work, but I have no idea how you would generate noise for a shape like that.
Would have been a greater one if linklist.js contained links to more sites than Github, Reddit and Hackernews... I mean I could have guessed those by assuming that I visited that page via Hackernews.
I'd wager that it's not even close, unless you're referring to American executions only. China alone has executed in excess of 2000 people each year int the last few years: https://en.wikipedia.org/wiki/Use_of_capital_punishment_by_c...
Re:808 Cube on Tuesday May 20, 2014 @08:59AM (#7772287)
Very fun! Now I really want to get a Rubik's TouchCube and port this to it.

EDIT: You could extrapolate this idea to different geometric shapes too, to achieve unconventional time-signiatures. Of course this would also limit/increase the number of of beat samples, too.

Pyramid would be 6/8 or 6/4 with only 4 samples, whereas dodecahedron would be 5/4 or 10/8 with 12 samples. That could be fun. Using the center as a beat as well could give 9/8, 7/8 and 11/8 for pyramid, cube and dodecahedron respectively.

Re:What Do Animals See in a Mirror? on Friday May 16, 2014 @06:34AM (#7754776)
I think the hardest part of creating a mirror for these other kinds of senses would be the fact that you need to be able to modify the 'reflected medium' in such a way that you can:

1: Determine if the subject is capable of detecting the modification 2: Determine if the subject has detected the modification 3: Have the subject acknowledge that they are the subject of the modification by attempting to correct it.

I guess hearing a crow clear his throat would be an indication of sentience.