Author: gpanther

  • Creating gradients in PHP

    A few days ago I was looking around for methods to calculate color gradients in PHP. Nothing I found seemed to fit (most of them were centered around creating pictures with GD), so I decided to roll my own. You can see the code below. There is a small test script attached to the end,…

  • Mixed links

    An older ISC blog entry about signs that you have been compromised. It should be a must-read for anyone administering websites, even if s/he is doing it as a hobby. Not doing so can make you a launchpad for malicious activities. An other ISC blog entry points to a paper about fast-flux DNS and a…

  • fortitudehosting – an other “get rich quick scheme”

    A few days ago I received the following email: Hi my name is Jeff and I came across your page http://hype-free.blogspot.com/2007/03/month-of-php-bugs-started.html which would be great for a text link to my client, a web host certifier. What I am looking for is a small text link, web hosting, and if you keep it for at…

  • Mixed links and commentary

    pgAdmin 1.9 will have some nice new features. The query designer will probably save a few keystrokes when working with star schemas. The MySQL Performance Blog explains the different meanings of COUNT. Very nice. I usually use COUNT(1) or COUNT(*), but it is very useful to know about other possibilities. I got this one from…

  • Interesting phish

    Recently I’ve received the following phish: Return-Path <[email protected]> Authentication-Results mta403.mail.mud.yahoo.com from=hosts.co.uk; domainkeys=neutral (no sig) Received from 85.233.160.25 (EHLO outgoing-smtp.namesco.net) (85.233.160.25) by mta403.mail.mud.yahoo.com with SMTP; Sat, 18 Oct 2008 17:04:47 -0700 Received from [192.168.0.7] (helo=artemis.hosts.co.uk) by outgoing-smtp.namesco.net with esmtp (Exim 4.67) (envelope-from ) id 1KrKrG-0008PU-2d for [email protected]; Sun, 19 Oct 2008 00:05:20 +0100 Received from babs-education.info…

  • Augmenting user interfaces

    I was reading Jeff’s post on Coding Horror about naughty filters (and I more or less agree – you can’t fix a social problem with technology). Towards the end he mentions Yahoo Mail, which brought to mind a nice feature they added recently to search: Now, when you do a keyword search, it presents a…

  • Media you can get for free

    Some time ago I’ve written about (commercial) software which you can get (legally!) for free. Now I’m writing about the media you can (legally!) consume on the “Intertubes”. There are of course the well known players like Pandora, Hulu, Last.fm, and so on (although some of those are not available outside the USA – a…

  • Procrastination

    Zee Frank – pro-cra. “You might learn a whole new programming language to put off something usefull with the ones you already know!” – Brilliant!

  • It can happen to the best of us

    I was reading Scott Hanselman’s The Weekly Source Code 33 – Microsoft Open Source inside Google Chrome and came upon this piece of text: Older versions of ATL, and by older I mean pre-Visual C++ 2005, used dynamically generated code in small isolated cases. Obviously, without the appropriate APIs this is going to cause problems…

  • Free space on an NTFS volume

    I found this article via Raymond Chen’s blog: NTFS Misreports Free Space?. It’s very interesting (if you like getting to the bottom of technical things). Incidentally it reminded me of an old question I always had: Why don’t processes which need to read all the files from a given volume (for example AV scanners) use…