Of course I have a backup!

Random blobs of wisdom about software development

Sass with sourcemaps, webpack, and live reload

Monday, August 17, 2015

Two days ago, I would have told you just how much of a poor, poor soul you are. Because it's simply not possible, but the READMEs make you chase the dragon, leading you to believe that it is possible. But alas, no, none of the methods work. After spending hours, you will find out that you can have either source maps, or live reload. Not both. Pick one. But yeah that was two days ago, read on.


Tagged as: | Comments (11)

A few years with Doctrine2

Thursday, June 26, 2014

I have been using Doctrine2 for about 3 years now. I started with the first 2.0 stable, integrating it into my employer's in-house framework, and in the last year, I have been using it as part of Symfony2. There are quite a few things that I love about it, and a small amount that I dislike.


Tagged as: | Comments (0)

Invalidating the OPcache in PHP 5.5

Saturday, October 19, 2013

The Zend Optimizer+ has been integrated into PHP core with the 5.5 release, which, according to the RFC page, has many advantages over APC. It has been renamed OPcache, can be enabled with a simple ini setting, and since it's in the core, it offers better version compatibility. Unfortunately it also includes my only gripe with APC, invalidating the cache is much harder than what one would think.


Tagged as: | Comments (7)

What is missing from the master branch, but is present in devel?

Friday, June 28, 2013

Or, what is present in branch A, but missing from branch B? I always, always, ALWAYS have to look this up. I have a devel, and a master branch, there were a few hotfixes on the master branch, and there are a few new features developed in devel. Now I want to make sure that the hotfixes are merged back to devel, and I also want to check what new features will be deployed, if I merge devel into master.


Tagged as: | Comments (0)

Developing a browser extension

Tuesday, May 14, 2013

Ever wondered how you can develop a browser extension? It's not hard, you just have to read a bit of docs, and do a lot of trial and error. This will be a 3-5 posts long series, that talks about how to develop an extension for today's browsers in general, and the various traps one might fall into while developing one. I am covering Chrome, Safari, and Firefox in detail, unfortunately I have no experience with IE, and Opera. I will also talk about cross-browser extension frameworks at the end.


Tagged as: | Comments (0)