[ Content | View menu ]

Archive for 'Programming'

Randomly Failing PHP Tests

Mark Mzyk April 20, 2011

At work we have several PHPUnit tests that randomly fail. These ghost failures cause a lot of pain. One run the test fails, the next it passes. These tests are slow poison, as they degrade trust in the system. The code was inspected, but nothing could be found wrong. For some reason, on random test […]


Helpful Erlang Tidbits

Mark Mzyk January 17, 2011

I found this information useful while working my way through the Erlang in Practice screencasts. All of these apply in the interactive shell (erl). Find the Erlang version you’re running: erlang:system_info(otp_release). To clear a variable/binding, so it can be used again: f(variable_to_clear). Show all the running erlang processes: erlang:processes(). Find moreĀ useful tips from Joe (such […]


Poaching Chicken and Code

Mark Mzyk April 20, 2010

I’m an avid cook. I love the opportunity to try out new recipes, especially those from another culture. Sometimes my wife is pleasantly surprised by the results, other times, she’s just surprised. For Christmas, I recieved Rick Bayless‘ cookbook Authentic Mexican. My first foray using a recipe from the book involved making chicken enchiladas. To […]