Posted on January 10, 2019
A common need in web applications is to “undo” a deletion event. This is referred to as a soft-deletion. The record still exists but its hidden from the user. Soft deleting allows the user to restore that data in the event that they need it in the future.
Posted on August 10, 2018
I don't have time to dedicate to Wallaby and I'm looking for someone to take over as the maintainer.
Posted on April 23, 2018
Even in ACID databases you occasionally need to use stronger isolation guarantees.
Posted on April 9, 2016
Elixir, like other pattern matched languages, supports guard clauses. Inside a guard we can use a set of Kernel functions and other predicates. Using any other function in a guard clause results in an error. Here’s an example to show what I mean.
Posted on April 7, 2016
This post was originally written for the Carbon Five blog. I’m cross-posting it here for posterity.
Posted on January 14, 2016
In Phoenix we have 2 distinct places to put our code: the
webdirectory and the
libdirectory. If you’re coming from another framework like Rails then it might be tempting to think of
libas a junk drawer of miscellaneous modules and tasks.
Posted on May 31, 2015
I’ve always been obsessed with keyboards. The first large purchase I made when I had a “real job” was a matte black Das Keyboard Ultimate with MX Cherry Blue switches. That keyboard has been with me for years now and its served me well.
- Posted on May 24, 2015
Posted on April 13, 2015
I just got a Raspberry Pi 2 for me and my daughter to hack around on.
Posted on March 24, 2015
Through a series of unlikely events the keycaps on my Das Keyboard became removed and re-placed in incorrect positions. Luckily I found this helpful chart that shows all of the cap positions.
Posted on June 25, 2013
I am prototyping a rails API at work and one of my routes accepts a datetime parameter. I assumed that I would be able to just use DateTime.parse and that would take care of any sanitization of the parameters.