Skip to content

Instantly share code, notes, and snippets.

@usahg
Last active May 19, 2021 08:11
Show Gist options
  • Save usahg/4eb95a3971641a84ad05 to your computer and use it in GitHub Desktop.
Save usahg/4eb95a3971641a84ad05 to your computer and use it in GitHub Desktop.
Thinking through the silo models
types= ["breast", "diaper", "sleep", "memory", "solids", "pumping"]
ages= ["2 weeks", "4 weeks", "8 weeks", "12 weeks", "16 weeks", "20 weeks", "24 weeks"]
types.each do |type|
if type == "breast"
print "\n => breast section \n\n\n"
end
if type == "diaper"
print "\n\n => diaper section \n\n\n"
end
if type == "sleep"
print "\n\n => sleep section \n\n\n"
end
if type == "memory"
print "\n\n => memory section \n\n\n"
end
if type == "solids"
print "\n\n => solids section \n\n\n"
end
if type == "pumping"
print "\n\n => pumping section \n\n\n"
end
ages.each do |age|
if type== "breast"
print "\n\n" + "whats the average number of breast feedings a baby #{age} weeks old gets a day"
print "\n\n" + "whats the average duration of a breast feedings event a baby #{age} weeks old gets a day"
end
if type == "diaper"
print "\n\n" + "how many diapers get changed for a baby #{age} weeks old a day for poo"
print "\n\n" + "how many diapers get changed for a baby #{age} weeks old a day for pee"
print "\n\n" + "how many diapers get changed for a baby #{age} weeks old a day for both"
end
if type == "sleep"
print "\n\n" + "whats the average number of hours a baby #{age} weeks old sleeps a day"
print "\n\n" + "whats the mean time for a baby #{age} weeks old sleeps at night"
end
if type == "memory"
# mostly irrelevant - perhaps for business intelligence resons in figuring out memory activity - which could potentially grow this app in another social vertical
# like recently a paamper company had a 'most cute' baby competition agaist facebook likes - awarding free supply of diapers for a full year to the winning baby
end
if type == "solids"
print "\n\n" + "whats the average number of times a baby #{age} weeks old eats solids"
# it would be interesting to see how diaper events fluctuate against solid events - there must be a silo for that as well
end
if type == "pumping"
print "\n\n" + "whats the average amount of pumping done for a baby #{age} weeks old"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment