11971
Progress Journals & Experimental Routines / Re: ADARQ's journal
« on: April 05, 2016, 05:26:35 am »
04/04/2016
Bio: Morning
sleep = 7 hours
wakeup = 1:30 PM
bw = 150
morning resting heart rate = didn't measure
soreness = adductors alot (especially right)
aches = right tennis elbow slightly, right adductor
injuries = toenails wrekt
feel = good
Food
4 PM
- boston market: quarter chicken
- small serving of stuffing, mashed potatoes
Session: Evening
8 PM
run:
- 9.19 mi in 1h:11m:54s
- moderate run, worked on stride mostly but stayed relaxed
- right adductor bugging a little bit at times
Food
9:30 PM
- small bit of ice cream
- hot mint tea
Food
12 AM
- big bowl of cheerios with 2% milk & honey
- greek yogurt
- grape fruit juice
Food
5 AM
- greek yogurt
- some black bean chips
lots of coding today.. got some decent stuff done. also added in moment.js via purescript-simple-moment to the code.. so now timestamps are displayed all pretty. however, i have to jump through some hoops to get those timestamps, which really sucks.. but that's the separation of the view from the eval function in a purely functional lang, i can't do anything with side effects inside the view.. so I have to created the moment-ified date strings in the eval function .... which means I have to created new fields for each data structure:
createdAt :: DateMaybe,
createdAtMoment :: String,
then I have to patch each data structure once I pull them in via the api with ajax.. I mean it's fine but, it's more work creating those fields and patching each data type after I pull it in. Don't see any other way around it though.. i'm locked in with no ability to communicate with the outside world, when i'm in these pure views.
HEHE
EDIT:
or....... create a pure version of moment, entirely in purescript. Then I wouldn't have to go through any of this trouble..
https://github.com/moment/moment
http://momentjs.com/docs/
that's alot of code for such a simple lib.. ;f I could probably knock something out that's much more simple and does the job just fine.
pc!
Bio: Morning
sleep = 7 hours
wakeup = 1:30 PM
bw = 150
morning resting heart rate = didn't measure
soreness = adductors alot (especially right)
aches = right tennis elbow slightly, right adductor
injuries = toenails wrekt
feel = good
Food
4 PM
- boston market: quarter chicken
- small serving of stuffing, mashed potatoes
Session: Evening
8 PM
run:
- 9.19 mi in 1h:11m:54s
- moderate run, worked on stride mostly but stayed relaxed
- right adductor bugging a little bit at times
Food
9:30 PM
- small bit of ice cream
- hot mint tea
Food
12 AM
- big bowl of cheerios with 2% milk & honey
- greek yogurt
- grape fruit juice
Food
5 AM
- greek yogurt
- some black bean chips
lots of coding today.. got some decent stuff done. also added in moment.js via purescript-simple-moment to the code.. so now timestamps are displayed all pretty. however, i have to jump through some hoops to get those timestamps, which really sucks.. but that's the separation of the view from the eval function in a purely functional lang, i can't do anything with side effects inside the view.. so I have to created the moment-ified date strings in the eval function .... which means I have to created new fields for each data structure:
createdAt :: DateMaybe,
createdAtMoment :: String,
then I have to patch each data structure once I pull them in via the api with ajax.. I mean it's fine but, it's more work creating those fields and patching each data type after I pull it in. Don't see any other way around it though.. i'm locked in with no ability to communicate with the outside world, when i'm in these pure views.
HEHE
EDIT:
or....... create a pure version of moment, entirely in purescript. Then I wouldn't have to go through any of this trouble..
https://github.com/moment/moment
http://momentjs.com/docs/
that's alot of code for such a simple lib.. ;f I could probably knock something out that's much more simple and does the job just fine.
pc!
