On Mon, Apr 2, 2012 at 16:30, Evan Laforge <span dir="ltr"><<a href="mailto:qdunkan@gmail.com">qdunkan@gmail.com</a>></span> wrote:<br><div class="im">> On Mon, Apr 2, 2012 at 5:41 AM, Michael Snoyman <<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>> wrote:<br>
>> On Mon, Apr 2, 2012 at 3:38 PM, Alp Mestanogullari <<a href="mailto:alpmestan@gmail.com">alpmestan@gmail.com</a>> wrote:<br>>>> Lesson learned: for next year, write a Haskell program that tells if a given<br>
>>> -cafe thread or reddit discussion is a April Fool's joke or not.<br>>><br>>> import Data.Time<br>>><br>>> main = do<br>
>> now <- getCurrentTime<br>>> let (_, month, day) = toGregorian $ utctDay now<br>>> putStrLn $<br>>> if month == 4 && day == 1<br>>> then "It's a joke"<br>
>> else "It's real"<br>
><br>
</div>> My strategy next year will be to not read any email on the 1st. I'll<br>> just wait until the 2nd to read it all. Foolproof!<br><br>Hmm, nope, still failed. I was following along until it got to HERP at which point I scrolled back up to see that it was sent on the 1st and then continued to read and LOL.<br>
<br clear="all">-R. Kyle Murphy<br>--<br>Curiosity was framed, Ignorance killed the cat.<br>