Live data from Hacker News

Show HN: CodeHalf – Write Code Everyday, new design and new features

codehalf.com

11–20 of 53 posts

Re: Show HN: CodeHalf – Write Code Everyday, new design and new features

#11

It would be cool if there was a complementary app that goes like this: It teaches you using a hands-on approach about coding/algorithms/sys admin from beginner to expert level. Then it offers you a bunch of roadmaps on what exercise you should do next to build on the current skills you have. Even more it would be cool that it would find the weak spots on your current skills and allow you to go back to previous exerci…

Hey, that's a cool idea but probably a little ambitious one for now.

I've got a plan of adding themes as a more social element where bunch of users can sign up to a themed week during which they would all work on improving a particular skill whilst sharing helpful resources and being able to help/ask questions from each other.

Do you think you'd find that helpful?

Re: Show HN: CodeHalf – Write Code Everyday, new design and new features

#12
post #5
post #3

Earlier quoted context omitted.

Thanks for the comment! I've got a plan of integrating with Github, just trying to decide how it should work as I wouldn't want my commits from work showing up which are on the same github account. Do you think it'd work well if I implemented something to allow picking a commit for a daily entry or would you prefer more automatic tracking?

Perhaps automatic tracking could have the option to exclude certain repos?

Or organisations.

Re: Show HN: CodeHalf – Write Code Everyday, new design and new features

#13
post #11

It would be cool if there was a complementary app that goes like this: It teaches you using a hands-on approach about coding/algorithms/sys admin from beginner to expert level. Then it offers you a bunch of roadmaps on what exercise you should do next to build on the current skills you have. Even more it would be cool that it would find the weak spots on your current skills and allow you to go back to previous exerci…

Hey, that's a cool idea but probably a little ambitious one for now. I've got a plan of adding themes as a more social element where bunch of users can sign up to a themed week during which they would all work on improving a particular skill whilst sharing helpful resources and being able to help/ask questions from each other. Do you think you'd find that helpful?

That sounds interesting. You might want to consider increasing the time frame to a month to 3 months. IMHO,a week is too short to go deep into any topic.

Re: Show HN: CodeHalf – Write Code Everyday, new design and new features

#14
Signed up because the idea is interesting but the UI was really confusing.

I would spend a bit more time polishing how you direct users through the flow.

Ask yourself: "What are people going to be doing with this web application daily?" and focus efforts on making that as simple as possible.

Re: Show HN: CodeHalf – Write Code Everyday, new design and new features

#15
post #8
post #5

Earlier quoted context omitted.

Perhaps automatic tracking could have the option to exclude certain repos?

Sounds like a good idea, need to figure out how the management of that would work though without being a PITA ;) Thanks for the idea, much appreciated!

Or how about the user explicitly adds the repositories they want to have shown, or provides a pattern they want tracked?

For example: "Track all my GitHub repositories matching /^codehalf-*/

Re: Show HN: CodeHalf – Write Code Everyday, new design and new features

#16
post #3
post #2

Nice work! It would be cool if you pulled my commits for the day and showed them in the log. I experimented with a similar idea ( https://github.com/samertm/githubstreaks ), and it's a lot of fun to see a detailed breakdown of your commits and the commits your friends make.

Thanks for the comment! I've got a plan of integrating with Github, just trying to decide how it should work as I wouldn't want my commits from work showing up which are on the same github account. Do you think it'd work well if I implemented something to allow picking a commit for a daily entry or would you prefer more automatic tracking?

When I looked into this, I used the GitHub Events API to get all of the events the user took[0], and then filtered by Push Events. Push Events consist of commits to a repo, and I used the GetCommit Repository API [1] to get more metadata for the commit.

If you save the ETag from the Events API and pass it back in your next request, you'll get a 304 response if the data hasn't changed and it won't hit your request limit.

You'll want to poll the user's events periodically, and store that data in a database. It's too slow to ping GitHub's API every time, because there isn't a single API that provides exactly what you need.

Check out FetchRecentCommits[2] for how I hit the GitHub API, and UpdateUserCommits[3] and CreateCommit[4] for how I extract the data from the commit and store it in the database.

Good luck! Keep me updated, my username is in my profile :)

[0] https://developer.github.com/v3/activity/events/#list-public...

[1] https://developer.github.com/v3/repos/commits/#get-a-single-...

[2] https://github.com/samertm/githubstreaks/blob/master/model.g...

[3] https://github.com/samertm/githubstreaks/blob/master/model.g...

[4] https://github.com/samertm/githubstreaks/blob/master/model.g...

Re: Show HN: CodeHalf – Write Code Everyday, new design and new features

#17

Signed up because the idea is interesting but the UI was really confusing. I would spend a bit more time polishing how you direct users through the flow. Ask yourself: "What are people going to be doing with this web application daily?" and focus efforts on making that as simple as possible.

Hey thanks for the feedback! I was wondering actually whether it was intuitive or not, I guess not then ;) Would you have any recommendations on how to make it easier to use?

Re: Show HN: CodeHalf – Write Code Everyday, new design and new features

#18
post #11

Earlier quoted context omitted.

Hey, that's a cool idea but probably a little ambitious one for now. I've got a plan of adding themes as a more social element where bunch of users can sign up to a themed week during which they would all work on improving a particular skill whilst sharing helpful resources and being able to help/ask questions from each other. Do you think you'd find that helpful?

That sounds interesting. You might want to consider increasing the time frame to a month to 3 months. IMHO,a week is too short to go deep into any topic.

Thanks that's a good point, might add different lengths so for themes that are more of an overview of a topic or a shallow topic it could be a week or two and for more in-depth topics several months

Re: Show HN: CodeHalf – Write Code Everyday, new design and new features

#19
There isn't too many features/bug fixes that I can do in less than one hour (even w/out distractions), so in my case it should be a 60 to 90 minutes session. Also, what I do to get me 'in the zone' is a ritual: close email/social apps. Silence phones. Close my eyes for a few seconds planning what I have to do. Start coding. Maybe you should find a way to implement guided rituals before the session starts? Just a thought.
Post reply on HN