It seems you can almost model everything as
VERB [COUNT] [ADJECTIVE] OBJECT [with HELPER-OBJECT+] [on CATEGORY]
weighed 190 pounds
drove 23 miles with Camaro
walked 10 minutes
visited eye doctor with nearsightedness
waited 23 minutes with waiting-room
slept 3:15 hours with restlessness
spent 23.95 dollars with Kroger on food
watched 44 minutes with Nova: How Our Brain Works on Television
I think these things are all just essentially tags to chart different
data inside of collectors. For example, weight, money, and sleep-time
would be collectors. The "with" and "on" clauses would be tags for
breaking things up into pie-chart slices or the like when graphing or
otherwise reviewing data.
From a data modeling perspective, the language maps to underlying
concepts like this:
ACCUMULATOR AMOUNT UNIT with TAG(specific) on TAG(general)
Then you just cram the annotated/tagged values into their
set/accumulator/collector.
I think the most interesting thing here is building a complete
taxonomy. I "watched" Nova, and I "read" Zero History, but in an
ideal world, both of those would show up in Media Consumption, with a
TAG(interaction-type) that would let me break apart that data or see
it all together. Ate/Drank have the same problem, as do Drove /
Walked / Biked.
I also think making the unit converters so that the accumulator has a
single type is another interesting taxonomic undertaking. For
example, knowing a single rootbeer is equivalent to 130 Calories is
interesting (assuming the 'food' collector is tracking a single
dimension of calories, and not multidimensional across all health
info).
At any rate, I'd recommend just using the language starting now, and
see what it looks like. Then you can iterate on the backend using
your previously captured data as much as you want without having to
start over.
Putting a timer in the app seem like a good helper function to
maintain good data.
-todd[1]
> --
> You received this message because you are subscribed to the Google Groups
> "Kentucky Ruby user group" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/kyrug/-/Op6JpC9H8m4J.
>
> To post to this group, send email to ky...@googlegroups.com.
> To unsubscribe from this group, send email to
> kyrug+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/kyrug?hl=en.
--
CONFIDENTIALITY NOTICE: This email is for sole use of intended
recipient(s). Unauthorized use is prohibited.
I could see the "list of all the things done" being tracked in a text
file and just being piped through a parsing program to generate
reports.
Earth scientists invent enormous bugs who are Friendly and and
They Get Married And Live Happily Forever After