Cloud = Lazy

Just over a year ago, I moved my web hosting from a dedicated server to what is now the Rackspace Cloud.

My main reason for doing this were a desire to stop maintaining my own systems while still having plenty of room for growth as I take on new clients and create new projects. System maintenance is a time sync I cannot afford.

Having said this, I continued to maintain my own dev server at home. This was my… More

ext/dom and libxml2 charset and entities behaviors

In case you are unaware, there is [as of PHP 5.1.0] a second argument to the DomDocument->SaveXML() method.

This argument currently only supports one value which is the constant LIBXML_NOEMPTYTAGS. This option makes sure that you do not end up with <tag /> but instead, <tag></tag>. This can make things easier if you need more predictable text to perform other changes on later.

However, in playing around with the option, I noticed that my markup changed somewhat significantly in size… More

Twitter

Dear #verizon, make me an offer to ditch #Brighthouse and I'm yours if you install tomorrow. <= $135/mo for HD, DVR and 20/2mbit Internet.

@dshafik [1 hour ago]

@dshafik cool! Thanks for the tip

@harrieverveer [3 hours ago]

Just found the #netbeans Cmd+P (Ctrl+P on PC) shortcut. It shows function params in a tooltip when between parenthesis: http://bit.ly/bPd34l

@dshafik [3 hours ago]

@mgirouard what? no. it's terrible to give out verbally.

@dshafik [3 hours ago]

Should I renew crtx.org? I don't have any need for it (right now), but I kinda like it... never used for email either.

@dshafik [4 hours ago]

Books & Things