Saturday, July 12, 2014

1HaskellADay: Up, up, and away!

I've taken it upon myself to submit problems, then show the solutions, for @1HaskellADay. I started this work on July 1st, 2014. So the next set of entries serve to collect what I've done, both problems and solutions, and, if a particular day posed a particularly interesting problem, that I solved, or, that I didn't solve, I'll capture that here, too.


The problems are free-form meditations based off, well, nowadays, whatever little puzzle strikes my fancy, ... and no, 'write a function to reverse the (order of the) elements of a list' isn't particularly fancy-striking to me these days.
November 2014
  • November 3st, 2014: Let it snow, let it snow, let it ... lambda for today's #haskell problem http://lpaste.net/113682 ... and the answer is Snow Mittens for Snow Kittens! YAY! http://lpaste.net/113716
  • November 4nd, 2014: At the First National Bank the MEN like to play chess with each other http://lpaste.net/113734 Today's #haskell problem. Men in banks like playing chess with each other http://lpaste.net/113775 come to find in the solution to today's #haskell logic puzzle
  • November 5th, 2014: Doin' the spiral from projecteuler.net, problem 28, for today's #haskell puzzler lpaste.net/113798 Heh, I actually spiraled out to the solution for today's #haskell problem. http://lpaste.net/113111
  • November 6th, 2014: From @BenVitale funwithnumb3rs site, we have a, b, and c ... and how simple can today's #haskell problem be? ;) http://lpaste.net/113846 It's as easy as 1, 2, 3! is our solution http://lpaste.net/113849 to today's problem
  • November 7th, 2014: Making sensical tweets for #ingress for today's #haskell problem http://lpaste.net/113886 A semantical romp through syntax (that is: the solution) is posted at http://lpaste.net/113908
  • November 10th, 2014: As I embark on my morning commute, I share today's #haskell problem about ... the morning commute! http://lpaste.net/114038 To get to the solution ya gotta keep on truckin' http://lpaste.net/114068
  • November 11th, 2014: Some Coin sums. In for a penny, in for a £ for today's #haskell problem http://lpaste.net/114089 Solution coded, but is it the correct one for counting coins? lpaste.net/113284 How did you do it? HA! I found the problem with my counting-coins solution! Redundancies! Updated solution at http://lpaste.net/113284
  • November 12th, 2014: Squares, Cubes and Triangles masquerade as numbers in today's #haskell problem http://lpaste.net/114158 The square by a cube of a triangle is our digit-picking solution to today's math puzzle http://lpaste.net/114194
  • November 13th, 2014: It's all about making the grade. I MEANT: 'THE SEARCH FOR TRUTH'! Yeah, THAT's what I meant. Not: 'making the grade.' http://lpaste.net/114233 Translation: Today's #haskell problem is about making the grade. I MEANT 'SEEKING KNOWLEDGE'! Yeah. That's what I meant. *blush* Isabella makes the grade in today's equational solution lpaste.net/114248 (rant by @geophf provided free of charge).
  • November 14th, 2014: 0h, h1 there! for today's #haskell puzzle http://lpaste.net/114276
  • Our bonus solution is coded here (http://lpaste.net/114304), and looks like this:

  • November 17th, 2014: The in-laws bump into Amy and her baby in the perambulator on her daily stroll for today's #haskell problem http://lpaste.net/114430 For today's solution we find a really roundabout way to say 'brother-in-law' http://lpaste.net/114460 And the bonus solution (http://lpaste.net/114461) we graph it with Neo4J:

  • November 18th, 2014: Would you like some chips with that Fish? The #haskell puzzler for today is a 'SOLE' word-square http://lpaste.net/114433 Sole Open Ends Lead! A newspaper-escque headline-y-like solution to today's Haskell puzzler http://lpaste.net/114522
  • November 19th, 2014: Next Mensa puzzler for today's #haskell problem. Who got first place in the science fair? http://lpaste.net/114559 Woman Power! A solution to today's Haskell puzzler http://lpaste.net/114583
  • November 20th, 2014: "Trick or treat!" But how many bags of candy did the new cashier, to be named later, sell? Solve this lpaste.net/114620 to let her know. The solution is posted here (http://lpaste.net/114635) and graphed out ... for 'funzies.'
  • November 21st, 2014: Her Majesty, Queen Victoria (Vicky or Maj to her buds) (not really), has a #haskell poem-puzzler for you: http://lpaste.net/114436 (Standard disclaimer: we make no representation of reigning monarchs, living or dead, implied or otherwise. Besides... the Queen has no buds.) So, that brings to mind two thoughts, or pensées: 
  1. you see how I used the royal-'we' there? ;)
  2. 2) How sad to be Queen, and have no buds :(
    (@1HaskellADay In which it is learned it is a sadness to be Queen, to have no buds withal. :( *sniffle*) The 'clever' solution (http://lpaste.net/114733) comes even with its own 'TA-DAH!' ... gratis. You're welcome.

    • November 24th, 2014: Circular primes, from projecteuler.net, is today's #haskell puzzler: http://lpaste.net/114816. A solution to the circular primes problem is posted at http://lpaste.net/114817 
    • November 25th, 2014: Have a well-ordered (re)presentation of today's #haskell problem http://lpaste.net/114999  Suffice to say: today's 'date' is 'fig.' geddit? ;) A solution is a (sorta) logical calendar http://lpaste.net/115036 
    • November 26th, 2014: Got a question for ya! for today's Haskell problem lpaste.net/115096 1-9 in so many ways http://lpaste.net/115129
    • November 27th, 2014: Happy Thanksgiving to all you Haskell aficionados out there! Today's #haskell puzzle set involves da turkeyzzzz! http://lpaste.net/115184 That there is a lot of turkey! http://lpaste.net/115272
    • November 28th, 2014: Black Friday. OKAY, FOLKS! TODAY, AND _ONLY_ TODAY, EVERYTHING IS ON SAAAAAAAALLLLEEEE! http://lpaste.net/115229 Today's Black Friday #haskell problem. THESE PRICES ARE ... INSAAAAANNNNEEE! http://lpaste.net/115229 A solution to today's Black Friday logic puzzle.

    No comments: