I tried a paper calendar on my wall for a few days after I read that. Then I decided this was a good chance to do something in python which I've been looking to learn.
Feature request: could you offer more than one chain? Chains that aren't daily (e.g. if you're in sales, it wouldn't make much sense to expect the same quota for Wednesday as for Sunday)?
Yeah. I've been thinking about how to best add more than one chain since I started. My main concern is making sure that at any time you can single click on a day with an unambiguous result (viz. it toggles color). So far I'm thinking some sort of tabbish view where you only see one chain at a time.
Adding non daily chains is something to think about.
Here's a suggestion for non-daily chains: say I want to work out twice a week. I can set that property (somehow) in the chain name, and when I work out on Monday and market it on the calendar on Monday, it will have mon-wed marked off. Obviously, there's a problem with fractions, but it should work.
Implement it like Apple's iCal. Have a menu at the right side where you can display, hide, pick color, add new chains etc. (chain is equivalent to subscribing to a new calendar in iCal). Can't beat the iCal usability.
Oh snap. You sneaky sneaky. We might just have to launch tonight instead of tomorrow. Well played!
I really like how you've kept it drop-dead simple. Our site offers a little more social-wise, so I'm sure there will be plenty of people who prefer your application. Great design!
- created user account
- logged in
- clicked on 2 successive days after today
- they went red
- clicked 'last 4 weeks'
- barfed
- now 500 on every login
I kept thinking that I should disable being able to toggle days after today because it did not provide any utility. It could have helped out in this case.
"... I kept thinking that I should disable being able to toggle days after today because it did not provide any utility ..."
so I shouldn't have been able to click the days after today? Oh also found another PIA which is going to require a bit of a login detail. I'm Aus and close to the date line. Today, now is 2007AUG241154 meaning I'm working yesterday.
Any chance of making the default time format GMT, UTC ? Should allow everyone to be on the same page OR you'll have to (probably have to anyway) modify users time by selecting location then adjusting the date-time to the user location.
"so I shouldn't have been able to click the days after today?"
No, I did not get to that. I just fixed it so that if all the days you've clicked are after today (PST) then it does not try to calculate the streak of days between today and the beginning of time.
And yeah, I was just lazy to not include timezones. I should fix that.
I have no idea if this is possible, but what about trying to read the timezone settings in the host computer with Javascript, rather than asking the user to set that?
Either do I but it would be just as easy to add a login, select timezone & store that, but then if you take a plane from foo to bar and your zones change you have to change it again.
This is a good idea btw. And I have looked at calendar apps in the past. The big PIA is time-syncing in with where you are at the moment.
Okay. It should now pick up your timezone via js. Unfortunately right now you won't notice it until the second request. I could have js refresh the page when it detects that the tz needs to be set/changed, but I don't want to do that until I am totally certain it cannot end up in an infinite refresh loop.
If I understand it right, you are sending the timezone info back to the server? If so, why does the server need to know at all? Just use that info to set the background of the 'today' calendar cell in the client side.
To determine which range of dates gets shown and to calculate the number of days in your current streak. I guess could do the latter on the client, but what if it's Aug 31st in CA and Sept 1st in MA and the user is in month view? I'm not yet ready to go all js.
Pretty nifty, I must have missed the initial post. Now I have something to motivate me to workout daily. And something to haunt me when I consider marking my alcohol intake (in this case, you don't want to start a chain).
I like it. I added it as a link in my Firefox bookmarks bar. Definitely needs to support multiple chains though. Instead of multiple tabs, I think it would be best just to have a column of color blocks with the name of the chain on the right hand side of the page. Then when you clicked on a color that chain would be displayed.
Actually, that's not a bad idea. I don't use iGoogle as a homepage anyway, I found that too distracting so I switched to something less boring (it backfired, now I am in the habit of opening iGoogle as soon as I open the new browser window anyway), but making this a homepage would remind me without distracting me.
I tried a paper calendar on my wall for a few days after I read that. Then I decided this was a good chance to do something in python which I've been looking to learn.
Looks like palish is working on something based on the same post: http://news.ycombinator.com/item?id=45374