I went to find a package to install Git. The page at http://www.slackware.com/packages/ still says that the Slackware Package Browser has been moved to http://packages.slackware.it/ — it’s said this for years, and I keep wondering when they’re going to move the package browser back onto the main Slackware site.
But this time, when I followed that link, [...]
Monthly Archives: February 2010
Why I’m Ditching Slackware
What Would an Ideal Portable-Computing UI Look Like?
Right now, the question of what you need in a mobile computing platform is most often phrased in terms of “Do you need a netbook or a full laptop? Or perhaps one of the new high-end smartphones will manage?” I think the question isn’t one of capabilities as much as it is a question about [...]
Silly Coding Tricks: “Inverted” String Match
First things first: Never actually do this. This is just a fun curiosity, for amusement value only.
Because of the way JavaScript’s search() method works, you can do:
var my_url = 'http://kai.mactane.org';
if (! my_url.search(/http:\/\/kai.mactane.org/)) {
alert("Your URL is http://kai.mactane.org");
} else {
alert("Nope, your URL isn't http://kai.mactane.org");
}
Try running this, and it will correctly claim that “Your URL is http://kai.mactane.org” — even [...]