News for hackers. Stuff that matters.
Re:Shebang Quine by Exuma on Friday May 20, 2016 @11:01AM (#11738353)
Here's my favorite one ever...

http://aem1k.com/world/

Re:Shebang Quine by takeda on Friday May 20, 2016 @11:35AM (#11738662)
This one is also amazing.

https://github.com/mame/quine-relay

Re:Shebang Quine by djsumdog on Friday May 20, 2016 @12:17PM (#11739058)
I remember when this one was released and we were passing the link around on e-mail threads in the office. It's pretty amazing and insane.
Re:Shebang Quine by B1FF_PSUVM on Sunday May 22, 2016 @05:11AM (#11747889)
Hmm ... 100 langs circuit, impressive ... thumbnail of code ... %&$#!!

https://github.com/mame/quine-relay/blob/master/thumbnail.pn...

(Attention to detail, they haz it.)

Re:Shebang Quine by knodi123 on Friday May 20, 2016 @11:05AM (#11738396)
wow, that's incredible. there's, like, 4 different techniques going on in there that I don't understand- and I would have said I understood javascript pretty well.
Re:Shebang Quine by glaberficken on Friday May 20, 2016 @11:51AM (#11738819)
Wow, can someone explain what is going on in here?
Re:Shebang Quine by saganus on Friday May 20, 2016 @12:12PM (#11739019)
This is extremely cool, however the source code does look a little different than the output (the output only has '#' chars, but the source has letters and other chars besides #). Does that still count as a quine? (don't really care though... this is very cool).

Any idea how this works? It's just to much for my mind to bear I think.

Re:Shebang Quine by stouset on Friday May 20, 2016 @12:16PM (#11739057)
I'm not sure what you're talking about. The output is the entire source with the central globe rotated by a user-selectable number of degrees, including 0. The output isn't just the globe in the center.

Edit: Ah, nvm. It looks like this is a Javascript port of a famous Ruby quine from 2010, the Qlobe[1].

[1]: http://d.hatena.ne.jp/ku-ma-me/20100905/p1

Re:Shebang Quine by saganus on Friday May 20, 2016 @02:58PM (#11740502)
Well, not really. I checked the source and you can see here:

https://jsfiddle.net/f17yr7qh/

For example, line 9 of the source:

~(32sin(o)/* , (W#####Xx######.P^ T % */sin(.5+y/7))\

You can see that there are more chars than just '#' inside the "globe", like '(W' and 'Xx' and '.P^'

I even changed those inside the globe and the effect is non obvious. Sometimes it stops working sometimes it works fine with other chars. No idea why.