<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Feb 8, 2014, at 6:46 PM, Chris Angelico <<a href="mailto:rosuav@gmail.com">rosuav@gmail.com</a>> wrote:</div><blockquote type="cite"><div style="font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">No, I'm not a teacher by profession, but I was homeschooled, and since<br>I'm the second of seven children [1], I got used to teaching things to<br>my siblings. Also, every week I run a Dungeons and Dragons campaign<br>online, which requires similar skills. (Teaching maths is way easier<br>than getting my players to figure out some puzzles. </div></blockquote><div>Well, you’re very good at it!  Like I said I like that you don’t just give me the answer you help me figure it out which is what I need.  </div><br><blockquote type="cite"><div style="font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">I had no idea<br>that, in a group of half a dozen nerds, nobody would recognize this<br>broken text: "In brightest day, in blackest night / No evil ......<br>sight / Let .... worship .... mi.... / .... my power .... tern...." -<br>I'd have thought the first line alone would be enough for anyone who's<br>at least mildly nerdy and/or geeky.)<br></div></blockquote><div>Green Lantern oath right?  </div><div><br></div><blockquote type="cite"><div style="font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>(We start in fifteen minutes. Want to come watch? Just telnet to<br><a href="http://minstrelhall.com/">minstrelhall.com</a><span class="Apple-converted-space"> </span>port 221!)<br></div></blockquote><br><div>Awesome, I may stop by and check it out.  </div><blockquote type="cite"><div style="font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>That's certainly effective. It's going to give you the right result. I<br>would be inclined to start from the small end and strip off the<br>seconds first, then the minutes, etc, because then you're working with<br>smaller divisors (60, 60, 24, 7 instead of 604800, 86400, 3600, 60);<br>most people will understand that a week is 7 days, but only people who<br>work with DNS will know that it's 604800 seconds. But both work.<br></div></blockquote><br><div>Yeah I had to look up how many seconds were in weeks and days.</div><br><blockquote type="cite"><div style="font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>You'll also note that you're trimming off bits and leaving "residual<br>seconds". I would put all the "_rem" values back into "seconds", which<br>would let you use augmented assignment:<br></div></blockquote><br>Not sure what augmented assignments are but I’ll look that up.  I’m gonna try and figure it out that way also just for the heck of it.  <br><blockquote type="cite"><div style="font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>weeks = seconds/604800<br>seconds %= 604800<br></div></blockquote><br>Is the ->  seconds %= 604800 </div><div>Saying ->  seconds = seconds % 604800?</div><div><br></div><div><br><blockquote type="cite"><div style="font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">days = seconds / 86400<br>seconds %= 86400<br>hours = seconds / 3600<br>seconds %= 3600<br>minutes = seconds / 60<br>seconds %= 60<br><br><br>[1] Our father's not a captain, but there's still nothing about being<br>a non-captain with seven children. And that movie is definitely one of<br>our favorite things.<br></div></blockquote><div><br></div>Seven children is a lot.  It definitely takes a Captain to raise seven children.  : )</div><div><br></div></body></html>