HN user

mutewinter

104 karma

Building https://x.com/quests_dev.

Contact me on X: https://x.com/mutewinter

Posts18
Comments30
View on HN

I did something like this in my presentation[1] about Ember.

It uses Ember.js to maintain the state of the code samples and proved to be very stable. I don't have interactive sliders on specific values, but the code is parsed and run after every character the user types. e.g. you can change the size of the squid on this page[2] and see it reflected immediately on the right.

[1] http://mutewinter.github.com/why_ember/#/slides

[2] http://mutewinter.github.com/why_ember/#/slides/data-binding

The suggested criteria for selecting a framework fails to ask the most important question, what are you building?

The lightweight libraries have their place in weekend-long hack projects. The larger frameworks lend themselves to multi-view, complex applications.

I've got a few friends who are affected by this who haven't tweeted in months. All posts come from the web interface. Can't find any news or security sites with more info.

The source code is a treasure trove for those looking for an example of a larger Backbone.js application with a Rails backend and Faye for push notifications to the browser.

Backbone code - https://github.com/cloudfuji/kandan/tree/master/app/assets/j...

Faye (on the Backbone side) - https://github.com/cloudfuji/kandan/blob/master/app/assets/j...

Faye (on the Ruby side) - https://github.com/cloudfuji/kandan/blob/master/app/models/a...

Scanning through the Ruby styleguide for GitHub-specific changes I found this gem:

"The and and or keywords are banned. It's just not worth it. Always use && and || instead."

sad trombone

I run a website that tracks watchers on GitHub projects, http://gitego.com.

What I see is that it is incredibly rare for a project to lose watchers. It seems that people are using GitHub's watch feature as a bookmarking service.

On a side note, GitEgo tracks two[1,2] of paulasmuth's GitHub repositories, and neither of them has "lost lost around 30 watchers by the evening." He may be referring to other projects on GitHub, but even Twitter Bootstrap[3] (the most popular GitHub project), almost never loses watchers. Granted, these projects could all be gaining just a few more watchers than they are losing per hour, but the net effect is almost always a gain each day.

I think the real problem is that watching a repository doesn't engage a user in its contents. Watching commit messages fly by isn't as entertaining as reading 140 characters someone groomed for public consumption.

[1] http://gitego.com/paulasmuth/fnordmetric#watchers?interval=b...

[2] http://gitego.com/paulasmuth/recommendify#watchers?interval=...

[3] http://gitego.com/twitter/bootstrap#watchers?interval=by_hou...

Good point, I plan to allow users to log in with their GitHub account which will then import all of their repos. I could make a page that aggregates all of the gains for a specific user. Thanks for this fantastic idea :)