Kickass: Charts.css. Also of interest: Which color scale to use when visualizing data.
Category Archives: Programming
PHP finally blocks not run on exit
I confirmed with the following code that if you call ‘exit’ withing a ‘try’ block the ‘finally’ block does *not* execute. That’s probably what you would expect. But now we know.
register_shutdown_function( 'handle_shutdown' );
try {
exit;
}
catch ( Exception $ex ) {
echo "caught...\n";
}
finally {
echo "finally...\n";
}
function handle_shutdown() {
echo "shutdown...\n";
}
Software disenchantment
Well someone is/was upset: Software disenchantment. I really liked the image of the design process: simple -> complex then complex -> simple. Maybe that’s the answer to Nikita’s woes: we’re just not finished yet.
CSS property usage
This popped up on lobsters today: Chrome Platform Status: CSS usage. It’s a report on the prevalence of CSS properties as found in the wild. It’s interesting. I was surprised by some things. e.g. ‘display’ and ‘position’ are more prevalent than ‘padding’ and ‘margin’.
How are zlib, gzip and zip related?
Via r/programming today: How are zlib, gzip and zip related? What do they have in common and how are they different?
Preemptive Pluralization is (Probably) Not Evil
An interesting article on data modelling and API design: Preemptive Pluralization is (Probably) Not Evil.
Closed-source SaaS
In the news today: Why I Didn’t Open-Source My Second SaaS. He decided to switch his business model from open-source to closed-source to try and find a business model that worked. On the other hand, also in the news: How I earn a living selling my open source software.
Guidelines for Freelance Developers
Today I happened upon Guidelines for Freelance Developers Working with Me. They seemed like fairly reasonable guidelines.
The documentation system
Today I discovered The documentation system (over here). The four quadrants on two axes are:
- Tutorials
- How-to guides
- Reference
- Explanation
Git Code
Today I read Boost Your Programming Skills by Reading Git’s Code and played along with baby-git. I noticed a rundown on the makefile, Learn Git – Baby Git Makefile, but I didn’t have time to read it.