Posted by Philip Birk-Jensen on April 10, 2011
So… I haven’t really been doing any work at all on the CSSParser(my own CSS Tidy project for reading and compressing CSS) I started on a couple of months ago. What happened is what always happens with my own projects. After I’ve implemented the initial idea, I start to loose interest. But I’ve made it [...]
Posted by Philip Birk-Jensen on December 19, 2010
Reasoning behind the bench I’ve been working a bit on my CSSParser (which I will rename to CSSReader og CSSHandler when I get around to it), and one thing I found out was, when reading shorthand values (like: border: 1px solid #00ffff;) you can’t assume they always come in the same order. If we take [...]
Posted by Philip Birk-Jensen on November 4, 2010
So as promised I’ve cleaned up and commented a bit on my Bench class. And let me get to it, you can Download it here. Bench suite I’ve also made my first test in my new (and not to pretty, but working) bench suite. The bench suite is a site where I can gather my [...]
Posted by Philip Birk-Jensen on October 28, 2010
So I’ve made a first version of the benchmarking class I’ve been talking about previously. While working on the CSSParser I encountered one of those micro-optimization situations, so I made a quick first draft of the Bench class (I’ll post the actual benchmark in another post). The outline of the Bench class is as the [...]
Posted by Philip Birk-Jensen on October 19, 2010
This is just a status update on my CSS Minify project, I will make more updates as I progress through the project. It’s basically a journal of my thoughts and design process, so if anything strikes you please do comment with some feedback. So I started working on a way to minify my CSS files. [...]
Posted by Philip Birk-Jensen on September 29, 2010
This is simply a copy of my old XML-RPC article (2005). I’ve done a bit of content editing when converting the article to this blog format, but still most of the content is unchanged. 1. Introduction So you’ve decided to learn XML-RPC[1], or did the name just sound “freaky” and raised a little interest? If [...]
Posted by Philip Birk-Jensen on September 23, 2010
This is simply a copy of my old pic2html article (2005). I’ve done some minor content editing, mostly spelling but there still might be a few lines that doesn’t make any sense. 1. Introduction A long long time ago, I was a little trip by http://romanm.ch (no longer the same site), and well I must [...]
Posted by Philip Birk-Jensen on September 20, 2010
Although micro-optimizing don’t give the biggest performance improvement, I often find my self wondering if using function X() instead of Y() is faster, and if my own function Z() is better. Most of the time I end up writing a small tiny benchmark test on the two or three functions, which then gives me a [...]
Posted by Philip Birk-Jensen on September 8, 2010
It was only until recently I discovered the PHP: cURL Library. I’ve been using homegrown functions for fetching HTTP requests, but with the cURL it’s not as much a hassle as it used to be. Remember that the cURL isn’t a PHP standard, and you need to install the extension. The basic functions I do [...]
Posted by Philip Birk-Jensen on September 2, 2010
This is simply a copy of my old PHP Ping article (2005). I’ve done no content editing, only thing I’ve changed is the layout. 1. Introduction Notice: I will change between binary, decimal and hexadecimal notations, but if you let your mouse rest above the number, the 2 other notations will apear. Try moving your [...]