This time I’m going to put up a really bold statement. I believe it’s currently possible to fight spam on the web without pictures, javascript or anything else that might compromise usability. Sounds quite impossible and too good to be true, right? Well, it might not be that far fetched as it seems. Please read on and I’ll explain why. more…
I’ve previous been writing about why PHP and Unicode/UTF-8 is a bad combination. Even though UTF-8 in PHP should (for now) be avoided, it is sometimes a necessity to use it. As UTF-8 can be quite problematic for some people to use, I thought I this time should write about how to actually use it properly. In this first part I’ll deal with the basic handling of UTF-8 in PHP using the PHP extensions mbstring and/or iconv.
I’ve previously been talking about premature optimization. Today I thought I should illustrate how ridicules some of the stuff is by busting “echo is faster than print”. There’s a lot of people calming that this is true (1, 2, 3, 4 and a lot of others). Now to be clear, they are somewhat right about this. Echo is really faster than print, which it really should due to the fact that echo don’t return anything while print does. The problem and my point here however, is how much this difference really is. The answer is so tiny that you can forget actually measuring it in a real world application. There’s why: more…
Donald Knuth once wrote that “premature optimization is the root of all evil”. I have to agree with him on that. One thing I’ve been dying to write about is the massive amount of crappy PHP optimization tips found on the net. Two examples of such is Reinhold Weber’s 40 Tips for optimizing your php code and chazzuka’s 63+ best practice to optimize PHP code performances. They do both have some good tips here and there, but in general this is just stupid tips, or more precise, premature optimization. There are reasons why such tips are bad. more…
What we all know is the backup is for whimps. This song might show the importace of taking backup to not make a system admin more depressed.
It’s not difficult to run a website without using expensive applications like plesk. It’s really not that difficult to setup a subdomain or site yourself. Here I will show an easy method of setting up subdomains. Though this might not be a perfect way of doing it. At least it easy, and you have the site up and running in 5 minutes. more…
Just as I thought EA couldn’t get any more worse then what we’ve seen with Spore, I read this Norwegian article about EA and it’s alleged new policy. For the non-Norwegian readers, this article basically talks about a post in the EA forum by a EA-employee
Well, its actually going to be a bit nastier for those who get banned.
Your forum account will be directly tied to your Master EA Account, so if we ban you on the forums, you would be banned from the game as well since the login process is the same. And you’d actually be banned from your other EA games as well since its all tied to your account. So if you have SPORE and Red Alert 3 and you get yourself banned on our forums or in-game, well, your SPORE account would be banned to. It’s all one in the same, so I strongly reccommend people play nice and act mature.
Now this is really crazy! Apparently, if EA don’t like what you do on their forum or anywhere else for that matter, you’ll be locked out of your own games! If this is really true, then I’ve never ever seen such a distasteful treatment of customers in my entire life. True, the victims here are most likely not mom’s angel, but they’ve still got rights, and this isn’t mentioned in the TOS. Not that I’m a lawyer or anything, but I think it’s illegal to steal, and if EA regards piracy as stealing, then this is definitely stealing too! So congrats EA, you just became a thief!
Update: Â Thankfully, it turns out that this is just a misunderstanding. EA will NOT ban you from you game.
This might be a beginners topic for most of the people out there, but the dns setup can be a bit confusing. This is just a short guide for how to setup an easy setup. Nothing complicated, and no fancy-pancy setup. This example will show how to setup an domain example.tld with three sub domains and mail. more…
As we all know, Microsoft is a very innovative company. They proved that by making Windows VistaX, and today they’ve proven it yet again by showing off their new OS, Windows KDE. Just take a look: more…
One thing I’ve noticed about tutorials regarding the config of apache towards trac in a plesk environment are rather lacking. I’ll use this short guide to show an easy method of adding the plesk interface as a python module of apache. more…

Recent Comments