Author: gpanther

  • Fun post day – save the mouse! petition

    Every animal deserves the right to good living conditions. Save the mouse! PS. I would have liked to embed the people are strange commercial from Animal Planet, but I couldn’t find it. It’s mind bogging how companies fail to use viral media to their advantage 🙁

  • Blogging from Gnome

    I’ve installed the Gnome Blog widget for some quick blogging, and so here it is – my first quick entry. Some updates: The HTML generated is pretty clean (probably mostly because it doesn’t have a whole lot of formatting features) It misplaced the title 🙁 (instead of making it the title of the post, it…

  • stackoverflow.com

    Stackoverflow went into public beta. It is a really fascinating (and addictive!) site. What does it do? It provides a place for people to ask and answer programming related questions It it a combination of reddit/digg/forums/wiki You can vote on questions/answers and also edit them (if you got enough reputation) A few quick pointers if…

  • Qemu codeswarm

    Codeswarm visualizations seem to be in-vogue now. So I put one together for the Qemu project. The music is from Jamendo (Paul D. Miller aka Dj Spooky). The video is licensed under the CreativeCommons Attribution-Noncommercial-Share Alike 3.0 license.

  • Why Web Applications Firewalls don’t block

    Jeremiah Grossman describes it much more concisely than I did. To implement default-deny Web Application Firewalls (WAF) must know everything about a website at all times, even when they change. That’s programmatically documenting every expected request method, URL, parameter name/value pair, cookie, process flow, etc making default-permit deployments the rule rather than the exception.

  • I smell propaganda

    Being in a post-communist (whatever that might mean) country has some advantages. For example it sensitives you to propaganda. You can smell it instinctively and immediately you start to raise questions: how true is this? what are the supporting facts? Wikipedia defines propaganda as: Propaganda is a concerted set of messages aimed at influencing the…

  • YATP – Yet An other Twitter Problem

    Twitter isn’t the most reliable service out there. Today I signed up to follow a friend who is too lazy to type more than 140 characters at a time ;-), so doesn’t blog. While signing up, the CAPTCHA didn’t show up. After several page refreshes I took a look at the source and it is…

  • Locking a script to a given user with Perl

    From a security point of view it is useful if you lock sensitive scripts (for example things which download untrusted data from the Internet) to run with a low privileged user. However it is also a good idea to make sure programatically that they are run only with the given user. One possible solution (which…

  • Get the IP of the local computer from Perl

    Caveat: this is only documented on Windows and may or may not work on other OSs (it doesn’t work on Ubuntu 8.04). Also, if the computer has multiple IP addresses (like a LAN, WLAN and a VLAN IP), there is no telling which IP this will return. Just a little snippet of code: print join(‘.’,…

  • Reboot Windows – the hard way

    I was clicking around via an RDP session on a Windows server and managed to kill the LSASS process (note to myself: next time pause the view of ProcessExplorer before killing processes!). The one minute till reboot screen promptly appeared and my first reflex was to stop the countdown (this is a trick which came…