Krumo – a replacement for print_r() and var_dump()
The DebugBar integrates easily in any projects and can display profiling data from any part of your application. It comes built-in with data collectors for standard PHP features and popular projects.
Major Linux Problems or Why Linux is not (yet) Ready for the Desktop, 2012 edition
Every operating system has its problems. Â Some things work better than in others, some do worse. Â Here is an interesting (and very up-to-date) overview of the problems in the Linux space. Â The good thing about it is that it’s not just bashing Linux over Windows or Mac and it doesn’tjust wine about minor things here and there. Â There are issues all over, some are being worked on, and some are not, for a variety of reasons. Â But just knowning these issues is already a good start in fixing them.
This took me a while to figure out, so I’ll post it here in case someone else ever gets into this problem. Â After enabling WP Super Cache for a project at work, we’ve started seeing really weird and really random white page issues. Â WordPress would show a blank page and then a few minutes later it would start working again. Â But then it would disappear and so on and so forth.
Tracking the issue down, I’ve tweaked the WP Super Cache configuration quite a bit, but that didn’t help. Â And I was sure that it was related to WP Super Cache, since periods of appearing and disappearing were consistent with cache timeout settings. Â Browsing through WordPress support forums (threads one, two, and three) game an idea that it wasn’t just WP Super Cache on its own, but a combination of WP Super Cache plugin with something else on the system.
After a lengthy troubleshooting process, I think I nailed it. Â APC – an alternative PHP cache module – wasn’t friendly with WP Super Cache. Â So, as a short-term solution to the problem, I’ve disabled the APC and now everything seems to work well. Â I’m a bit busy now to troubleshoot the problem further, but if you have any idea of why that could be happening, please share.
Huge, huge thanks to git bisect! With its help, I just sorted out a huge argument about who removed a piece of code and when. Â With an actively developed project among few developers and branches, it’s not trivial to say when the change was introduced. Â Unless, of course, you are using git bisect. Â Every developer should know how to use it.