Hacker Newsnew | past | comments | ask | show | jobs | submit | more mutewinter's commentslogin

Those avatars look familiar http://eightbit.me/.


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...


Thanks - Akash Manhor (https://twitter.com/hashnuke) made both of those decisions early on in Kandan's life. There have been challenges around both, but overall it's worked out very well - in fact, the faye interface opens up some really interesting possibilities. We'll have some examples of this soon.


I built http://gitego.com a few months back to keep track of watchers, forks, size, and issues over time. I'm glad they're enhancing the code-related graphs. Stats for those would be much harder to gather externally.

Edit: Looks like Metior was tracking code stats externally from GitHub as well http://metior.herokuapp.com/.



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'd agree with you if not for the many subtle and critical bugs I've seen introduced into our production environment due to and/or precedence problems. The increased expressiveness when used correctly is just not worth it.


Indeed, "and" and "or" are excellent for their intended use, for control flow. Like explained by the style guide the Github one is based on. https://github.com/bbatsov/ruby-style-guide

   # boolean expression
   if some_condition && some_other_condition
     do_something
   end

   # control flow
   document.saved? or document.save!


I'm not sold on tossing "and" and "or" out the window, but wouldn't "document.saved? or document.save!" read better as "document.save! unless document.saved?"


Agreed, it is not my example.


Surprised the default content of the page isn't set to the readme, if one exists.


Same here. While I was browsing themes I figured it WOULD put the README there, but I had to go back and edit everything after I published.


Heh, seems like you beat me to the punch by 2min both here and there.


It seems like defaulting to readme content would make to many assumptions about the content of your readme.


Basically, it should just wrap the HTML generated from markdown (if readme is markdown) in some theme.


And oif your readme.md is merely:

"GPL Licensed"

The preview page will be much less impressive. As it is the preview page has enough lorem ipsum to give the user a feel for the theme.


Good point.


My thoughts exactly. I posted a comment to that effect.


I think it's because it's a separate branch, but yeah, it would probably make sense to just pull the readme from master.


Indeed. I've used http://rthauby.github.com/Paige/ for a few projects; it's a simple npm project that generates documentation from your readme file.


Yes. A thousand times yes. I used to have a vim plugin[1] for reloading Chrome also. LiveReload[2] is far and away the way to go.

[1]: https://github.com/mkitt/browser-refresh.vim

[2]: http://livereload.com/


I am so happy. Thank you for these.


A while back I wrote a post about what I listen to: http://pileofturtles.com/2010/12/music-for-programming/. tl;dr Electronic Music / Podcasts.

After listening to music while programming for so long now, I actually find it hard to program without music.


I tried listening to podcasts before, but get distracted... i need to listen to the podcast and try considerately on code... Electronic music and dance is good... but as a follow up question: what do you listen to this on? iPod, Computer, phone, other?


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...


GitHub Repo - https://github.com/viatropos/tower

Source for towerjs.org (written with Tower.js) - https://github.com/viatropos/towerjs.org


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: