Live data from Hacker News

World

aem1k.com

21–30 of 102 posts

Re: World

#21
post #10

Inspired by "The Qlobe", written in Ruby http://mamememo.blogspot.de/2010/09/qlobe.html

Hmm, that one says, "Copyright(C).Yusuke Endoh, 2010" The author of this one apparently forgot to give credit.

It looks to be a different implementation.

Re: World

#22
post #10

Inspired by "The Qlobe", written in Ruby http://mamememo.blogspot.de/2010/09/qlobe.html

Hmm, that one says, "Copyright(C).Yusuke Endoh, 2010" The author of this one apparently forgot to give credit.

aside from the implementation being completely different and therefore not in violation of copyright, it would be difficult to give credit for something like this where every character is strategically placed.

Re: World

#24
post #18

Reminds me of the old 1992 winner of the IOCCC by Brian Westley (who consistently entered some of the most impressive programs in that contest). It doesn't spin, but it prints a map of the provided lat/long. http://www.ioccc.org/1992/westley.hint main(l ,a,n,d)char**a;{ for(d=atoi(a[1])/10*80- atoi(a[2])/5-596;n="@NKA\ CLCCGZAAQBEAADAFaISADJABBA^\ SNLGAQABDAXIMBAACTBATAHDBAN\ ZcEMMCCCCAAhEIJFAEAAABAfHJE\ TBdFLDAANEfD…

There is another program arranged in a similar circular shape that calculated pi experimentally using it's own source code as the circle to test.

Re: World

#27
post #13

Here this is, formatted so it is more readable. p = " "; for (y in n = "zw24l6k\ 4e3t4jn`t4qj24xh2 x42kty24wrt413n243n\ 9h243pdxt41csb yz43iyb6k43pk7243nm\ r24".split(4)) { for (a in t = parseInt(n[y], 36) + (e = x = r = [])) for (r = !r, i = 0; t[a] > i; i += .05) with(Math) x -= .05, 0 > cos(o = new Date / 1e3 + x / PI) && (e[~~(32 * sin(o) * sin(.5 + y / 7)) + 60] = -~r); for (x = 0; 122 > x;) p += " *#" [e[x++] +…

Tickmarks don't work here, you need to indent by two spaces.

https://news.ycombinator.com/formatdoc

Re: World

#28
post #18

Reminds me of the old 1992 winner of the IOCCC by Brian Westley (who consistently entered some of the most impressive programs in that contest). It doesn't spin, but it prints a map of the provided lat/long. http://www.ioccc.org/1992/westley.hint main(l ,a,n,d)char**a;{ for(d=atoi(a[1])/10*80- atoi(a[2])/5-596;n="@NKA\ CLCCGZAAQBEAADAFaISADJABBA^\ SNLGAQABDAXIMBAACTBATAHDBAN\ ZcEMMCCCCAAhEIJFAEAAABAfHJE\ TBdFLDAANEfD…

There is another program arranged in a similar circular shape that calculated pi experimentally using it's own source code as the circle to test.

Yup--that's a great one. And it too is by Brian Westley...

Re: World

#29
post #15
post #13

Here this is, formatted so it is more readable. p = " "; for (y in n = "zw24l6k\ 4e3t4jn`t4qj24xh2 x42kty24wrt413n243n\ 9h243pdxt41csb yz43iyb6k43pk7243nm\ r24".split(4)) { for (a in t = parseInt(n[y], 36) + (e = x = r = [])) for (r = !r, i = 0; t[a] > i; i += .05) with(Math) x -= .05, 0 > cos(o = new Date / 1e3 + x / PI) && (e[~~(32 * sin(o) * sin(.5 + y / 7)) + 60] = -~r); for (x = 0; 122 > x;) p += " *#" [e[x++] +…

Personally, I find your comment less readable than TFA.

Whoops, I used backticks instead of spaces to mark it as code.
Post reply on HN