Type Casting String by Concatenation Performance Test in PHP
The purpose of this test is to see if casting an object to a string by concatenating it was actually slower than using normal type casting. Here is my source:
The purpose of this test is to see if casting an object to a string by concatenating it was actually slower than using normal type casting. Here is my source:
Protip: Want to automate your software installation? Take a look at how I did with cask!
Today was just one of those days that started like any other. I’ve been doing a lot of reflection over the past few weeks on what are my new goals. The act of starting a new goal is always exciting but my life is pretty consistent despite how random it seems. I always start off the day choosing one of my many similar yet different shirts. Today I chose the shirt labeled Chocolate. I just wanted someone to read “Chocolate” aloud so I can reply “Melts with in your mouth, not in your hands.” Is that too much to ask for? (Who knows…) So I go about my day and start brushing up on PHP namespacing documents. I got some pretty useful information out of the top comment and find out that it was written by me 6 years ago! It felt like the past me was talking to current me. A bit trippy but also a bit embarrassing because I used to be on the bleeding edge of software development >= 6 years ago. I then joined big corporations. The technology was usually behind but I did learn a lot in terms of scalability and working with agile teams. Now in my current role I have the opportunity to do some really cool stuff which has been a bit of a refresh. It’s true what they say, “if you don’t use it, you lose it”. But that’s ok as I was also focusing more on other aspects in my life rather than just being an engineer.
Setup Gearman for PHP with OS X 10.9.2 Mavericks using brew. This requires libgearman and the easiest way to get it is probably to install gearman through brew, of course.
The Heartbleed bug is a rather nice security vulnerability that allows remote users to read memory without leaving a trace. Here are the steps to up update Ubuntu to patch the issue.