Web

We be derpin'

January 10, 2016 · 1 min read
A lot can happen in a little over 2 years... In my last post, I had proposed an attempt to tackle the FizzBuzz problem. PowerShell was done, PHP was barely started but I never pointed to it in a subsequent post or finished what I wanted. The project url has completed and checked solutions for PHP and Node.js. I had mentioned b. F#, Objective-C, CoffeeScript, C/C++, Go, Dart, and Haskell are the planned languages I've mostly touched in passing or know about., as well as C#, Pascal, and Ruby but I may never get to them. Shortly after that last post, I swit ...

JazzHands: Tackling the FizzBuzz problem

November 5, 2013 · 2 min read
Due to a comment on Hacker News (original post here), I thought I would put my money where my mouth was, so to speak, and tackle this problem in a public repository. My comment could likely be seen as dismissive or arrogant. I get that. My biggest problem is that because people still fail, this is the interview equivalent of patty cake: awkward, childish, and unrewarding (unless you're a 2 year old). To be quite honest, I don't quite understand my disdain for the problem. It's simple enough that it can be solved a number of ways quickly and gets you to e ...

Notable Octopress tweaks: Copyright, Tags, & Feed Excerpts

October 28, 2013 · 8 min read
Copyright This is almost pointless to mention but the standard templates give you a very specific copyright with respect to atom feeds (Copyright (c) x-y). The file source\_includes\custom\footer.html includes a way of gathering the system time in the form: I simply replaced the current hard-coded year with the ruby code above so that when the site is generated, it always gives the current year. In case any of you are wondering how to insert code blocks with liquid syntax, see this post. Tags This is more involved but luckily gist makes it stupid simple ...

Octopress site generation on Windows 8.1

October 24, 2013 · 1 min read
Install RailsInstaller from here. I use the version with Rails 3.2. libcurl Download the latest "Win32 - Generic" libcurl with SSL development release from here (this is the last entry as of 10/23/2013). Unpack the zip file. Copy curl.exe, libcurl.dll and libidn-11.dll to C:\RailsInstaller\bin. The reason I copy curl to test the program. It verifies the files are in the expected path and has an added bonus of making sure all the dll dependencies are present. This is how I figured out libidn-11.dll was necessary to include. SSL certificate setup Do ...

My blog's notable Octopress tweaks

July 11, 2013 · 1 min read
My plan is for this post to serve as an index to the upcoming posts. Unlike the ASP.NET MVC posts that fizzled (sorry), I need to chronicle these changes in the event I need to dissect them again. Here's the collection in no particular order: Copyright date - This one is simple and almost not worth noting. I use a copyright date range of [start year]-[current year] and this post simply explains the what and why. Tag generator - Octopress will not support tags. Tag index pages are trivial to implement but I'm also starting to agree with the premise tha ...