rubycheck is a library implementing similar functionality to the quickcheck library in haskell. Using rubycheck, you can write assertions that a method works for all given inputs meeting a given criteria. Of course, the implementation is to just try a bunch of options and see whether they all meet the desired outcome. Using rubycheck gives you the power to verify your code works for a wider variety of cases than you might normally put into a unit test (or at least lets you hide the random input generator within a gem).
An L-System is a set of rules for rewriting a string. This generally creates recursive patterns in the generated strings, and in all the examples I’ve worked on, these are used to build turle graphics programs.
I’ve been meaning to try out swift for a while. I finally got some motivation to push it to the top of the “things to learn” queue today, when a coworker announced an upcoming seminar at work, all about learning perfect, which is one of the leading web frameworks written in swift.
I am still working on picking up some elixir, so when a coworker mentioned that writing a Slack bot is cool, I decided to give that a try. Slack is a bit easier to work with than IRC because the communication is done in JSON so you can skip a step in message parsing.
I was talking to a colleague who was expounding about the coolness of elixir. So I thought I should give it a try. In the spirit of doing something non-trivial to learn a new tool, I decided to port over the IRC bot I’ve been working on in go and ruby (which passes my bar for non-triviality).