Hacker News new | past | comments | ask | show | jobs | submit login

I also have a template. I use TiddlyWiki as I can then quite easily retrieve the data that I'm storing in HTML. If this habit continues, I'll probably create a home server and make sure I can journal online.

My template is more focused on being a daily questionnaire rather than a journal, but it can do both. I've done 2 analyses so far, one qualitative (about what made me most relaxed) and one quantitative (my energy levels currently correlate for 0.66 with my happiness and my stress doesn't correlate with either of them).

However, now that I've read this blog post, I think that I should create a seperate place somewhere to write journal articles (probably just TiddlyWiki as well).

My template: https://imgur.com/a/mJ8nkio




That's really cool! How did you create that in TiddlyWiki?


Here are some code snippets.

I always tried to use fields, but for some things I used a scratchpad tiddler called StoreDailyQuestionaireData. If I would use the same in those case, then I'd get rendering issues.

  ! My happiness levels are

  <$radio field="q-happiness-levels" value="1"> abysmal low</$radio>
  <$radio field="q-happiness-levels" value="2"> very low</$radio>
  <$radio field="q-happiness-levels" value="3"> low</$radio>
  <$radio field="q-happiness-levels" value="4"> medium</$radio>
  <$radio field="q-happiness-levels" value="5"> high</$radio>
  <$radio field="q-happiness-levels" value="6"> very high</$radio>
  <$radio field="q-happiness-levels" value="7"> extremely high</$radio>
---

  ! I slept

  <p class="sleep-time-interval">Time Interval: <$view field=sleep-time-interval_value/> <$edit-text tiddler="StoreDailyQuestionnaireData" field="sleep-time-interval_value"/> <$button><$action-setfield $field=sleep-time-interval_value $value={{StoreDailyQuestionnaireData!!sleep-time-interval_value}} /><$action-setfield $tiddler="StoreDailyQuestionnaireData" $field="sleep-time-interval_value" $value="" /> change sleep-time-interval</$button> <span class="subtitle"> &nbsp;&nbsp;&nbsp; (E.g. format: 23:49 - 03:57, 06:37 - 10:47)</span></p>
---

  ! How many cups coffee did you drink?

  <$range field="coffee-amount" min="0" max="10" default="0" increment="1"/> <$transclude field="coffee-amount" />


MoinMoin has templates as well




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: