Qlock – A JavaScript Quine Clock
aem1k.com
Qlock – A JavaScript Quine Clock
1–10 of 22 posts
Re: Qlock – A JavaScript Quine Clock
#2And he explains some of the code golfing in this talk: https://m.youtube.com/watch?v=RTxtiLp1C8Y
Re: Qlock – A JavaScript Quine Clock
#3Re: Qlock – A JavaScript Quine Clock
#4If I want to roll it by hand and not use a minifier, is there a code golf dictionary of patterns for javascript?
Re: Qlock – A JavaScript Quine Clock
#5And he made a Quine for the conf https://m.youtube.com/watch?v=4DfhAK8xVWI
Re: Qlock – A JavaScript Quine Clock
#6I noticed this because it was just 11:11 in my time zone >:)
Re: Qlock – A JavaScript Quine Clock
#7I have no clue what a Quine clock is, but I think it would be easier to read if the diagonal stroke on the front of the 1s only extended to the second row of characters from the top, instead of the third. I noticed this because it was just 11:11 in my time zone >:)
So in this case, the code to create this clock in your website is
(r=n=>setInterval(t=>{for(j=o="\n",y=5;y--;document.body['inne' +'rHTML']="
<"+(S="script>\n")+o+"\n\n</"+S)for(x=-001; x++which is also what is the clockface.
Re: Qlock – A JavaScript Quine Clock
#8If I want to roll it by hand and not use a minifier, is there a code golf dictionary of patterns for javascript?
Re: Qlock – A JavaScript Quine Clock
#9Wow
Re: Qlock – A JavaScript Quine Clock
#10I have no clue what a Quine clock is, but I think it would be easier to read if the diagonal stroke on the front of the 1s only extended to the second row of characters from the top, instead of the third. I noticed this because it was just 11:11 in my time zone >:)
a quine is where the full source is reprinted in the display. So in this case, the code to create this clock in your website is (r=n=>setInterval(t=>{for(j=o="\n",y=5;y--;document.body['inne' +'rHTML']=" <"+(S="script>\n")+o+"\n\n</"+S)for(x=-001; x++ which is also what is the clockface.