Live data from Hacker News

Reverse-Engineering Xkcd's 'Frequency'

notebooks.jsvine.com

21–30 of 55 posts

Re: Reverse-Engineering Xkcd's 'Frequency'

#21
post #12
post #10

I'm still trying to understand where the frequency is stored? Is it a value that can be embedded into the gif?

Gifs don't have a constant FPS. You can specify with some precision how long they should display each frame.

oh I see - thanks for that, interesting stuff

Re: Reverse-Engineering Xkcd's 'Frequency'

#22
post #18

Awesome, this is one of my favorite XKCDs. I've been mulling over a plan in my mind to make a physical version of it, looking similar to a deep picture frame or display case. It would use white acrylic with the text somehow printed or transferred on, backlit by white LEDs (maybe incandescent lamps would look nicer?). Each cell would be separated by thin black wood or plastic strips. It should be pretty easy to contro…

I like this. Reminds me a (tiny) bit of Bruce Nauman's "One Hundred Live and Die": http://www.art21.org/images/bruce-nauman/one-hundred-live-an...

Re: Reverse-Engineering Xkcd's 'Frequency'

#24
post #8

Not super related to the content, but I love the "Show Code" button at the bottom of the article. So often sites either show code inline and break up my reading, or just dump the whole thing into a github repo, which loses context. That button is awesome, because I can read the whole thing to understand the problem, then review the code the next time through with better context. Awesome!

I agree that having a "Show code" button only at the end prevents disrupting the reading flow. In terms of "code with explanation" layout, I really like todos.js' approach: http://backbonejs.org/docs/todos.html It also works with images: http://www.ifixit.com/Teardown/Mac+Pro+Late+2013+Teardown/20... Most layouts nowadays fail to take advantage of the horizontal space available. It's just 2 colums in the end, but it…

I just tested out a new tutorial layout on my blog that utilized two columns.. It still has the code in the main column, but the examples get pushed to the side..

http://wegnerdesign.com/blog/learning-svg-with-logos/

Re: Reverse-Engineering Xkcd's 'Frequency'

#25

Not super related to the content, but I love the "Show Code" button at the bottom of the article. So often sites either show code inline and break up my reading, or just dump the whole thing into a github repo, which loses context. That button is awesome, because I can read the whole thing to understand the problem, then review the code the next time through with better context. Awesome!

I like it a lot, too. It's a concept I've toyed with, with JavaScript and tutorials. The particular example I used was a tutorial on Genetic Algorithms, and the form was a playground for being able to quickly edit fitness functions on the fly. Having tutorials that can execute their own code is awesome.

Re: Reverse-Engineering Xkcd's 'Frequency'

#26
post #18

Awesome, this is one of my favorite XKCDs. I've been mulling over a plan in my mind to make a physical version of it, looking similar to a deep picture frame or display case. It would use white acrylic with the text somehow printed or transferred on, backlit by white LEDs (maybe incandescent lamps would look nicer?). Each cell would be separated by thin black wood or plastic strips. It should be pretty easy to contro…

I've been thinking about something similar but it's more one of those "it'd be cool if I built this..." with no such plan to actually do it.

Ping me if you do end up making one!

Re: Reverse-Engineering Xkcd's 'Frequency'

#27
post #22
post #18

Awesome, this is one of my favorite XKCDs. I've been mulling over a plan in my mind to make a physical version of it, looking similar to a deep picture frame or display case. It would use white acrylic with the text somehow printed or transferred on, backlit by white LEDs (maybe incandescent lamps would look nicer?). Each cell would be separated by thin black wood or plastic strips. It should be pretty easy to contro…

I like this. Reminds me a (tiny) bit of Bruce Nauman's "One Hundred Live and Die": http://www.art21.org/images/bruce-nauman/one-hundred-live-an...

How does it work?

Re: Reverse-Engineering Xkcd's 'Frequency'

#28
post #22
post #18

Awesome, this is one of my favorite XKCDs. I've been mulling over a plan in my mind to make a physical version of it, looking similar to a deep picture frame or display case. It would use white acrylic with the text somehow printed or transferred on, backlit by white LEDs (maybe incandescent lamps would look nicer?). Each cell would be separated by thin black wood or plastic strips. It should be pretty easy to contro…

I like this. Reminds me a (tiny) bit of Bruce Nauman's "One Hundred Live and Die": http://www.art21.org/images/bruce-nauman/one-hundred-live-an...

He's got some... interesting... pieces: http://www.youtube.com/watch?v=LDuvLc_FAXE

Re: Reverse-Engineering Xkcd's 'Frequency'

#30
post #8

Not super related to the content, but I love the "Show Code" button at the bottom of the article. So often sites either show code inline and break up my reading, or just dump the whole thing into a github repo, which loses context. That button is awesome, because I can read the whole thing to understand the problem, then review the code the next time through with better context. Awesome!

I agree that having a "Show code" button only at the end prevents disrupting the reading flow. In terms of "code with explanation" layout, I really like todos.js' approach: http://backbonejs.org/docs/todos.html It also works with images: http://www.ifixit.com/Teardown/Mac+Pro+Late+2013+Teardown/20... Most layouts nowadays fail to take advantage of the horizontal space available. It's just 2 colums in the end, but it…

Jasmine did this too! http://pivotal.github.io/jasmine/

... todos.js' did it better though.

Post reply on HN