301 vs 303

During a presentation I gave yesterday about REST, there was a discussion about redirection (more detailed, a redirection from a queue to the actual resource during asynchronous operations). During this presentation (and blog-post), I’m using a 303 HTTP status code to indicate that the operation has been completed and that the created resource can be found at another URI. So in essence, it makes sense to use a 303. At least to me, and quite possibly the rest of the world too.. But this triggered a side-discussion on which HTTP status code to use, and the more I think about it, the more complex it believe this problem actually is. Read more…

May 2nd, 2012 | Filed under Development

Conference retrospect

So even in the middle of conference season, I’d like to update you with some of the awesome things I’ve seen and experienced over the last few weeks.

Read more…

Apr 25th, 2012 | Filed under Misc

Bloom filters

In a span of two months or so, I’ve noticed a peak in implementation of bloom filters. Maybe the “if you got a hammer, everything looks like a nail” applies here, but statistically I’m doing a larger number of bloom filter implementation as usual.  Yet, most of my co-workers never really heard of bloom filters, and I’m continuously need to explain what they are, what their purpose is and why it’s a better solution than other ones. So let’s do an introduction on bloom filters.

Read more…

Apr 9th, 2012 | Filed under Development
Tags:

PHPShout : a shoutcast streamer in PHP: Part 4

In the last post, we created a template extension for our shout class. Next up, we need to do the actual implementation.

Read more…

Mar 24th, 2012 | Filed under Development
Tags:

PHPShout : a shoutcast streamer in PHP: Part 3

In the last post, we started with the implementation of the constructor and one method. Next up, let’s do a bunch more.

Read more…

Mar 24th, 2012 | Filed under Development
Tags:

PHPShout : a shoutcast streamer in PHP: Part 2

In the last post, we created a template extension for our shout class. Next up, we need to do the actual implementation. Read more…

Mar 24th, 2012 | Filed under Development

PHPShout : a shoutcast streamer in PHP: Part 1

To continue our journey in pointless, but nevertheless fun things to create, I’ve created a simple PHP extension that allows you stream music data to an IceCast server in pure PHP. For this I’m using the libshout3 library which can stream both MP3 or OGG/Vorbis data to multiple stream servers (including IceCast, ShoutCast etc). In this blog-post I will try to explain how I’ve created this extension, and off course, how you can use it. Read more…

Mar 24th, 2012 | Filed under Development

PHP has moved to git!

Good news everybody! PHP has (finally) moved their version control from subversion to git and placed their repository on github. Meaning it just got easier to maintain PHP  but also it makes it easier for external contributors (without any write-access) to create patches and for contributors to merge them. Hopefully this will mean the end of waiting weeks or months before somebody gets around looking at your patch.

Read more…

Mar 19th, 2012 | Filed under Development
Tags:

Ideas of march

Yes, I’m a lemming. If a see a group of people jumping off a cliff, I will follow blindly. If somebody calls for more blogposts in the world, I happily write a blogpost for it. But, being the subordinate lemming I like to pretend I am, I don’t completely see myself in the situation that Chris is in. Basically what he says is that due to the many social media outlets available to us, blogging is taking a backseat when it comes to spreading information. And even though this might be the case for many out there, I don’t think I’m falling in this category. Read more…

Mar 15th, 2012 | Filed under Development
Tags:

Why putting SSH on another port than 22 is bad idea

I see a lot of companies and users moving their SSH port to a non-privileged port like 2222 or even 36797. Now, there are few reasons why people would do this, all of them incorrect and dangerous. Some of those reasons I will not even mention, just to protect the people who actually use them :) But what it comes down to, is that people like to move this port away in order to lower the number of attacks on the SSH port. Read more…

Mar 12th, 2012 | Filed under Server & Admin
Tags: