Skip to main content

Latest Entries

Swift 3.0
Featured Post

At the time of writing this Swift is the number one language project on Github.  Apple is very proud that Swift is open source and I would have to agree that this is an excellent step forward for the language and for Apple.  Another great step forward from a language and platform perspective is the ability to run Swift on macOS, iOS, watchOS, tvOS, and Ubuntu Linux.  This is very interesting because it displays the the commitment on Apple's part to drive the language forward and gain support from the C community on Linux as well.

Profiling memory allocations in a iOS project is probably one of my favorite things to do when building a project besides coding.  Profiling gives you a sense of validation about how you have technically designed certain aspects of a project and it also gives you a sense of where you may have gone wrong and inadvertently created retain cycles,  memory leaks, or zombies.

In my most recent adventures in iOS I had a string hashing problem that led me down the road of creating a machine learning algorithm in order to find the correct random hash string I was looking for.   Looking back at the solution now, I was able to solve my problem successfully, but the solution I came up with to solve this problem is quite unsettling due to the variable results in time complexity derived from my solution.

Recently I was faced with a situation where I needed to get the value of an HTML5 date input field when it was changed by the user.  My first reaction was to setup a JavaScript listener that listens for a change or a click on the input element and then grab the value of the date accordingly.  So I setup my listener with jQuery and with vanilla JavaScript but I was unsuccessful in getting consistent result values no matter how I setup the listener.

I have always been on the lookout for a tool that I can use to synchronize files between two Rackspace Cloud Containers.  I have looked high and low for a suitable tool that syncs files from an origin container to a destination container whether that destination container exists or not.  Finally, I decided that if I want something like this then I was just going to have to roll up my sleeves and create the tool myself.

One of the major parts of any software development cycle is testing.  Whether that testing is performed on just one feature or an entire product I think that any developer can agree that code and product functionality needs to be tested before it is deployed.  As a developer, one thing that I continuously find myself wondering is when is it an appropriate time to test my code?  I wonder if it cost effective and productive to perform testing on a feature by feature basis?  I wonder if I should wait until an entire section of features is completed to test functionality?