A tool I built recently started running into an issue while utilizing PHP’s serialization functions. In a nutshell, the tool would take a blob of data, serialize it and store it into a single column in the database. when the data was needed it would retrieve the data, unserialize it and present it to the […]
This issue really bugged the crap out of me – so I wanted to share my results in hopes that it can help others in the future. When an iPhone, iPad, etc… is connected to your computer and loaded up through iTunes you can see how much space is used by Movies, Music, Apps, etc. […]
I came across an issue with the php STRPOS() function today that I just had to share. Well – ok, the function acted as designed, although it’s default behavior is not what I would have intuitively guessed. Oh the excitements of a programmer The issue was that I had a code routine using STRPOS() that was […]
The title of this post may not seem like that common of a use case – but I ran across a fascinating problem today. Admittedly my Regex-Foo is not the greatest so I struggled with this one for a bit. I am posting my solution here in hopes that it helps other people. In short […]
I came across a great problem the other day and wanted to share results here. The problem scenario was that I had a group of objects, and I wanted to show a random entry from the group. The caveat however, was that I wanted to the random entry to be the same for the period […]
The other day I ran into an interesting problem. I had to convert an entire code base from using PHP Short Tag syntax, to using their Full Tag syntax. This post is created to share how I did it in case others need to do the same. What are PHP Short Tags a.k.a short_open_tag? PHP […]
Last week we went Christmas Caroling with the Young Men and Young Women. We went to the Paradise Valley Community Center, a few Outpatient Care Centers in Fairfield as well as a few nearby ward members.
Often during my random programming projects I find that I need a list of locales in one format or another… to that extent I decided to create this post which has the list of locales formatted in various ways. First as a plain text list so that you can put it into a text file […]