Live data from Hacker News

Ask HN: How much coffee do you drink as a programmer?

news.ycombinator.com

81–90 of 91 posts

Re: Ask HN: How much coffee do you drink as a programmer?

#81

A while back (couple years) I started tracking how much coffee I drank, and (roughly) when. I created a simple Mojolicious webapp, putting data on a SQLite database. I later expanded it to accept/use an "API key" with which I could track my coffee intake, or get how much I drank already and when was my last cup, "simply" by running a simple bash+curl script. The site, instead, displays a neat github-commits-like char…

That is amazing. Do you happen to have published the source for this somewhere?

Re: Ask HN: How much coffee do you drink as a programmer?

#85
post #81

A while back (couple years) I started tracking how much coffee I drank, and (roughly) when. I created a simple Mojolicious webapp, putting data on a SQLite database. I later expanded it to accept/use an "API key" with which I could track my coffee intake, or get how much I drank already and when was my last cup, "simply" by running a simple bash+curl script. The site, instead, displays a neat github-commits-like char…

That is amazing. Do you happen to have published the source for this somewhere?

Not the OP but if you like recording personal statistics, you might like http://reporter-app.com/. I've been using it for personal experiments a bunch of times (like measuring stress levels).

Re: Ask HN: How much coffee do you drink as a programmer?

#86
post #81

A while back (couple years) I started tracking how much coffee I drank, and (roughly) when. I created a simple Mojolicious webapp, putting data on a SQLite database. I later expanded it to accept/use an "API key" with which I could track my coffee intake, or get how much I drank already and when was my last cup, "simply" by running a simple bash+curl script. The site, instead, displays a neat github-commits-like char…

That is amazing. Do you happen to have published the source for this somewhere?

I need to clean a few things up before being able to do so, chief among them my initial rookie mistake to name the users table "user", which in retrospect wasn't a good idea when moving the thing to Postgres - so while I've got a neat little "migrations.sql" that has served me fine over the various versions, it just can't work when ran against Postgres.

I'll fix it up in the next few days and will reply in a comment once it's available.

Re: Ask HN: How much coffee do you drink as a programmer?

#88
A lot - around 6-8 cups/day

I have one large mug of coffee first thing in the morning (~3-4 cups). I then have a mug of half-caff coffee in the late morning, another mug of half-caff in the early afternoon and occasionally an additional mug in the late afternoon.

I have gradually been cutting back on caffeine, mostly by slowly transitioning to more half-caffeine coffee.

Post reply on HN