top | item 7309310

500 days – the longest streak on GitHub?

125 points| Irene | 12 years ago |github.com | reply

72 comments

order
[+] ggreer|12 years ago|reply
Wow, that's impressive! My streak is a mere 416 days so far: http://abughrai.be/github_streak_416_days.png

I think the most important thing is that you must want to do it. Without an innate desire, it would require inhuman willpower to maintain such a streak. That said, it does get easier over time. Once you get into the habit of doing at least a little work every day, the streak comes pretty naturally.

I say "want" and not "like" because wanting and liking are not the same thing. I usually find myself frustrated and annoyed by code, but for some reason I keep coming back. I think most programmers are weird in that respect. As Douglas Crockford says:

I think there has to be something seriously wrong with you in order to do this work. A normal person, once they’ve looked into the abyss, will say, “I’m done. This is stupid. I’m going to do something else.” But not us, ‘cause there’s something really wrong with us.[1]

1. http://www.youtube.com/watch?v=taaEzHI9xyY#t=26m50s

[+] odonnellryan|12 years ago|reply
Wow, and I was proud of my 26 days! Congratulations.

Even if you "force" yourself to do something like this, you will find you learn so much so quickly by doing it daily for an hour or so.

[+] Morphling|12 years ago|reply
I don't get the appeal for trying to make long streaks since they can be easily gamed.
[+] jamii|12 years ago|reply
[+] freerobby|12 years ago|reply
I hate the implication that busywork is somehow less valuable than other kinds of work. Much of software development isn't intellectually rigorous. Many deficiencies in OSS could be resolved by people willing to do the same kind of gruntwork that you linked to here. I see this and think major props to @sferik for working hard to maintain public code, even when it's not glamorous.
[+] trekky1700|12 years ago|reply
Wait, is he just changing version numbers? Suddenly he goes from most committed programmer ever to most...frivolous?
[+] thkim|12 years ago|reply
The bar is pretty damn high to get some respect on HN.
[+] JoachimS|12 years ago|reply
Yes. And if that moves something forward - good!

For me this gamification works. Yes I do commits I feel more proud of than others. Yes, I 'cheat' and create tons of projects which makes it easy to find stuff to commit. And yes, keeping the streak might become the thing.

The point is that it (for me) Github streak has made me much more productive and due to continious practice, better and more accomplished as a developer. I _do_ stuff more than ever and only wish I had been doing it more years ago.

Yay for (coding)streaks!

And anybody reaching 100+ is a hero in my book. (My records is 68 days but it is going DOWN this month.)

[+] sartakdotorg|12 years ago|reply
Mine ( https://github.com/sartak/ ) is currently a 558 day streak. I'm studying Japanese, so I've been committing the new words I learn (at least one every day!) to my "vocabulary" repo. I started a while before GitHub even started tracking streaks.
[+] writetoalok|12 years ago|reply
Is there a website output for the word of the day etc. for the repository code?

Couldn't find anything quickly on your site http://sartak.org

[+] jyz|12 years ago|reply
props for keeping a streak that long! awesome
[+] euoia|12 years ago|reply
I had a telephone interview this week where the interviewer asked why I hadn't committed anything recently on GitHub. This wasn't true, I had pushed something to GitHub that day. But it turns out GitHub uses your git config email to determine your streak - which was different to my GitHub email - and so my commits don't show up. I didn't really care, but since potential employers may consider it I have now fixed the issue. According to [1]:

If your previous commits used the correct email, they will start to link after you add the email to your account. However, it may take some time for the old data to fall out of the server's cache before this happens.

[1] https://help.github.com/articles/why-are-my-commits-linked-t...

[+] logicallee|12 years ago|reply
I misread that as 'recruiter' (cold-calling you) and got pretty enraged:

"Oh, hey euoia this is ___ from KPFI Recruitment Services. I noticed your linked-in profile, which is a really great match for an opportunity we have at a major company in the boxed snack industry - I was just wondering why you hadn't committed to GitHub this week?"

[+] Patrick_Devine|12 years ago|reply
I always wonder about that. My active github projects are private, so I guess my "streak" isn't going to look so hot.
[+] kramerc|12 years ago|reply
According to http://git.io/top when it last updated last week, it states michalbe currently has the longest streak. They have a streak of 561 days as of today according to their profile: https://github.com/michalbe
[+] BruceM|12 years ago|reply
But sadly that list is for people with more than a certain number of followers. I'm not on it (https://github.com/waywardmonkeys) despite having over 2000 contributions and a 417 day streak. :(
[+] janjongboom|12 years ago|reply
Michal commits which movies/whatever he watches to GitHub :p
[+] lappa|12 years ago|reply
[+] ohmygeek|12 years ago|reply
how was this done? I see "0 changed files with 0 additions and 0 deletions." on all commits.. (just wondering)
[+] chid|12 years ago|reply
Pushed 4,027 commits to kanzure/streak Feb 20 - Feb 28
[+] dasil003|12 years ago|reply
So longer than git has existed. Well done.
[+] jyz|12 years ago|reply
wtf, wizard?
[+] geedew|12 years ago|reply
I can beat it. Give me about 5 minutes and git filter my commits. Not to take away from the "accomplishment" ( achievement? ) of work, but its easy to create and post date commits to beat this "record".
[+] erikpukinskis|12 years ago|reply
That's not beating him, that's cheating. You can make it look like you have lots of commits but you won't actually be person with the longest streak.
[+] james33|12 years ago|reply
I did this last year and reached 235 days (only ending because I got married, I think that is a valid excuse), but to be honest, it started to become a distraction because my competitive side took over and I started going out of my way to make commits when I had actually important things I needed to be getting done.
[+] Raticide|12 years ago|reply
Mine is 9 days. I think I'll keep it that way. You shouldn't live to work.
[+] Gigablah|12 years ago|reply
Sure, and maybe some people find that hacking away on personal projects is... fun?
[+] fuzzywalrus|12 years ago|reply
Agreed, for a community always linking stories blasting 60 hour work weeks, I find the dick measuring of commits a bit dissonant.
[+] compay|12 years ago|reply
Much respect. But please take a vacation some time soon! You've more than earned it.
[+] BruceM|12 years ago|reply
I've maintained a 417 day streak despite taking multiple holidays / vacations. My overall rule for what I do is to always make at least a little progress each day. Even if that means I go and fix some grammar or spelling in docs, or file some bugs, merge pull requests. Maintaining a streak doesn't have to mean 8 hours of work each day. :)
[+] akerl_|12 years ago|reply
Is anyone aware of a way to pull the current/longest streak for a GitHub user, besides parsing their page's HTML? I'm aware that I can get the data used to make the dot chart from https://github.com/users/sferik/contributions_calendar_data but that always gives 366 points.

Previously, I thought the Current and Longest Streak counts were dynamically calculated from the given JSON data, but this shows that's not the case: it looks like GitHub is inserting those counts right into the HTML on their end.

I can scrape those counts out of the HTML if I need to, but that feels pretty hacky, and I'd prefer to pull or calculate them in some other way if it's at all possible.

[+] seivan|12 years ago|reply
I did 164 until I deleted a repo(?) and it removed a day and my streak went down to 94. Still fun though.
[+] burkemw3|12 years ago|reply
I agree with ggreer [0] that there must be a want to commit everyday. sferik, good job in doing what you want, when you want.

When I saw this I was immediately reminded of the recently front page "Your 60-Hour Work Week is Not a Badge of Honour" [1]. I don't think that each week for a streak like this requires 60-hours. I know that a streak like this wouldn't be good for me, and I personally don't think it'd be good for most people.

[0]: https://news.ycombinator.com/item?id=7309996

[1]: https://news.ycombinator.com/item?id=7244109

[+] dpweb|12 years ago|reply
People trying to figure out who to hire - I'd screencap that all green Contributions box on my resume and call it a day. The picture is even him typing at a terminal. That's great.
[+] doug1001|12 years ago|reply
i just hope this is as far as it goes w/r/t broadcasting these sort of version-control-metrics. I would hate to see a "who hasn't done a damn thing all week" list.
[+] zbruhnke|12 years ago|reply
I love that he's even coding in his picture, probably because he wouldn't have a recent one without a computer in his lap. lol ... when I got 40-50 days I usually feel rather accomplished, this guy makes me feel like a slacker
[+] jmtame|12 years ago|reply
That's impressive. I also found this impressive: https://github.com/god (click on repositories)
[+] zbruhnke|12 years ago|reply
Classic ... if only his longest streak was 7 days instead of 3 ... it was all created in a week right?