World of Traffic Signs
Great collection of photos of traffic signs by @opentype. I’d really liked to show one or two photos here, but it’s all rights reserved.
what to do when unserialize fails
Using PHP’s serialize function to serialize and array or object where some element is a string with UTF8 data creates the serialized string properly. However, unserialize function fails to unpack that data.
The solution I find to work (not sure if it’s perfect though) is to use mb_unserialize function (found in comments of PHP manual).
function mb_unserialize($serial_str) {
$out = preg_replace('!s:(\d+):"(.*?)";!se',
"'s:'.strlen('$2').':\"$2\";'", $serial_str );
return @unserialize($out);
}
Works as advertised if your database is not UTF-8, which should be the case.
If Rule #1 is No Working on Weekends, Rule #2 is No Rigid Rules. Things will happen to interrupt the plan and you must be ready to react calmly and effectively. With that in mind, let’s review the elements of a perfect day of freelancing.
Great writeup of the creation of the Ode Font, a Fresh Start for a Broken Script by @martinplusfonts on @ilovetypography