Update to JParallel

I began the JParallel library a little while ago (Right after the post about not doing my own parallel programming (It doesn’t make a lot of sense)), and nearly immediately got a response from Mohamed Hafez on the issue tracker recommending I add a bunch of features. And a week later he implemented things in […]

Do not do raw parallel programming

I previously had a blog post on thread-safe programming, where I said I wanted to do it, and that I know how mutexes work and I should start from there. That post has been wiped off the face of my blog. I’m not going to do low-level parallel programming for the foreseeable future. I came […]

Ruby: Select random element from array

This is a cool little trick I picked up from StackOverflow. Select random element of an array [:foo, :bar].sample Its the Array#sample instance method. Good to know.

Package file is invalid

I’ve finally gotten a smartphone. Figured I could use a portable connector to the internet. Its running android, and on the second day of use I got a ‘package file is invalid’ issue with everything I tried to download from the Google play store. Googling this issue resulted in 2 solutions. One is to clear […]

commandlinefu.com

A few weeks ago I was introduced to commandlinefu.com by Josh Teneycke. Its a great website about neat little commands on the (Mostly unix) command-line. Anyone who wants to be a coding ninja should randomly read these before bedtime.

Moneris payments from wordpress

I had a wordpress subcontract the other day for a site thats mostly built up. My job was to make sure payments were going through the Moneris payment host. I’d never done anything like that before. Fun stuff. The first problem I ran into was that Moneris didn’t have publicly accessible documentation for their API. […]

Web scraping in unix

I don’t recall why I was looking into web scraping a few weeks ago, but I felt the need for it. I always wondered how this works, and its basically a lot of regexps. Fun stuff. It gives me a great opportunity to brush up on my regexp-knowledge. Tools Curl For unix systems, just use […]

WordCamp Toronto: Developers

I attended WordCamp Toronto for developers last weekend. It was a lot of fun. We were hosted by George Brown College again, and I’m grateful for their contribution. The venue was great. Below are my notes from the presentations that I attended. Git, Capistrano, and WordPress nathanielks on github Highly recommends using git sub-modules Highly […]

Inquiry cart plugin for WordPress

Inquiry carts in WordPress I’ve been asked by a client to include an inquiry cart into a website. I’d never heard of inquiry carts before, so I looked it up. Its a fairly simple idea that takes the principle of ‘Make things easy for the end user’ just a little bit further. Who would want […]

The project is over

End of WordPress project Its done. Its over. I’m happy about that. It taught me a lot, and I’m so very much looking forward to more. WordCamp Toronto 2012 I attended it. It was great. I got to speak to a lot of people about what they do with WordPress, and it was very educational. […]