Vim is my go-to editor. Has been for 20 years. Besides being an all-around awesome editor for composing text, it also has some handy built-ins, like calculations:
In insert mode, ^R= accepts a mathematical expression, the result of which will be inserted in place.
In normal mode, ^A increments the...
Thursday, January 28, 2016
Thursday, January 21, 2016
Using vim to replace string functions with their multi-byte equivalent
The PHP INI option mbstring.func_overload override certain string functions (like strpos, substr, etc.) with multi-byte aware implementations. This makes it super easy to migrate a legacy code base to UTF-8, but immediately restricts interaction with vendor products (Symfony, Net_DNS2, etc.).
The...
Thursday, January 14, 2016
Monday, January 11, 2016
[Proposed] Elephpant Etiquette
Yes, I do believe PHP internals needs a guide to etiquette. But, no, not a code of conduct. Internals is a decades (plural) old cathedral-like meritocracy. There is no benevolent dictator. There is no functional oversight group. No rigorous process (like Go has) will work in the internals ecosystem.
Anthony's...
Friday, January 8, 2016
PHP Contributor Etiquette
I was the first to publically +1 the Code of Conduct RFC. I'd love to see a policy that fosters diversity and inclusion, because damn the PHP crowd is startlingly similar. But, after hearing the arguments, I can't endorse the code as written. It's too focused on process and punishment....