Show HN: Exercises you can do at work, emailed Mon-Fri
I evolved this service over several months and since June it's in a state where I can show it to the public.
The service is built on Google App Engine - an interesting experience on how the restrictions of the platform make you focus on the scalability of your app.
Edit: wanted to add details as this might be interesting to HN.
The challenge was to be able to get the emails and the associated timezones AND know what the time it is right now in that particular time zone. Then, I would have to email those records that would match the time, all this in 30 seconds.
I ended up using MapReduce for this. Still have a haunting feeling there's an easier way for it...
So every hour I create a task that runs MapReduce that then cycles through the emails and checks the timezones and times in them.
My understanding is that Mapreduce creates sub tasks that basically make it possible to run all emails in 30 second chunks. We will see how this works as the number of emails grows.
I've noticed that occasionally all of my Task API is consumed by the Mapreduce library trying to start tasks.
The daily exercise is set by another task, once a day, and is then passed along into MapReduce.
Feedback welcome.
Edit 2: removed the <a> around the link.
15 comments
[ 4.7 ms ] story [ 39.1 ms ] thread1. I'd like to see an example of the email.
2. Reduce the amount of writing on the landing page. We all know why we should do exercises at work, you really don't need to sell that concept, use that space instead to sell your service- why should I give out my email? What makes you different from other similar products?
A good start.
I will add the sample email, and a paragraph about why you should sign up.
To quickly answer it here, you should sign up because an email will serve as a reminder for you to exercise.
Now, I'm not sure how to explain (and be believed) that I won't spam you?
I don't think you need to explain that you won't spam us. If you decide to give an example email, make sure an "Unsubscribe" link is clearly visible somewhere in the email. That will help build trust.
I would also be curious as to where the exercises are coming from- you may have included this info in the text, but I didn't read it because it was too long...
I suspect there's an issue either with the MapReduce library processing your email more than one time or there's something with App Engine's email service (Mail API).
1. the stickfigure exercise illustration is a fun idea
2. how do I know the number of reps that I need to do or how long I need to do the exercise?
3. what will this exercise do for me (how will it help me)?
4. what is the thought process behind recommending a specific exercise- is there a program that is being followed, will tomorrow's exercise build on today's? etc.
Some of these questions (like the programming and where do the exercises come from questions) can be answered on the main site, but this needs to be done in as little words as possible (or maybe in a separate FAQ section).
I assume you're going to place health/office related adverts in the emails, and Like/+1 links?
You could perhaps add a link that people can click once they've completed a task, and maintain a running score for them or something? Turn it into a game.
There already is a Like link there...but that needs a little tinkering to get it to behave like I envisioned. Will need to add +1 since that's getting popular. Another one I've been contemplating is to add Twitter link as well.
I think your idea of turning this into a game like experience is brilliant. One thing I've noticed with emails of this nature is that after a while you start to ignore them. Letting readers keep score of the reps/tasks completed would hopefully entice them to keep opening the emails and, more importantly, keep them exercising.
And thanks for signing up!
What do you use to send out the emails?