Avi :)

There are several hundred thousand terabytes of data on The Internet, here are my latest contributions to it:

GitHubAdded getDomainsAndAlias and getUsersAndAliases which return hashes with aliases. Also these and their alias-free friends now accept perly regexesages ago
GitHubcreatAliasUser will not accept arraysages ago
GitHubStores cleartext passwords if asked. Also tidied the constructor a bitages ago
GitHubNow only one bit of code for updating passwords, one changePassword calls changeCryptedPasswordages ago
GitHubHashed out some unused code, fixed a bit of the PODages ago
Twitter Ripping DVDs is way harder than it should be. No wonder everyone downloads their films now.ages ago
Twitter RT @lindasgrant: Jerusalem Quartet performance at Brighton Festival disrupted by protestors. Next book burning and slashing paintings.ages ago
Twitter 30 years ago today the last survivor of Pearl Harbour became the first victim of any nuclear submarine.ages ago
BikeshedThis is all rather moot, even if we pretend that the integrity of the OS is still somehow important
Desktop machines are insecure by default because they have users who need to be able to write to their own files, and they tend to blindly follow instructions and run things. There is no credible defence against this
Servers are insecured by programmers, in the main. It is very easy to make it very hard to break into a server (both Windows and anything else) and apparently very hard to make i...
ages ago
Twitter It seems to be taking vastly longer to mkfs.ntfs than it did to mkfs.ext3 the same volume. Is that normal?ages ago
Twitter RT @glynmoody: Where source code goes to die - http://t.co/rSI1ddos gobsmacking stupidity from the #economist (v jonathan corbet)ages ago
Twitter @KatieMillman ctrl+mouse wheel?ages ago
Ubuntu listsGenerally, pacemaker seems to be popular here. You want to be pretty confident already in running a single server before putting together a redundant pair - clustering is not simple in itself, let alone doing it while learning the quirks of the software you're trying to cluster
Use DRBD and a clustered filesystem like OCFS2. You may find it simpler (and more available) to use something like csync2 rather than block-level replication, depending on the rate at which you expect to be changing f...
ages ago
Twitter @bengoldacre I'm not saying cars are without blame; I think the solution is safer driving *and* safer cycling.ages ago
Twitter @bengoldacre (I don't drive, but I cycled (safely) & worked with bikes in London for years.)ages ago
Twitter @bengoldacre cyclists jumping reds is not a safety problem. Cyclists riding dangerously is. *Many* cyclists ride dangerously in London.ages ago
Twitter The Pirate Bay had worked around this block before the High Court deemed it necessary, that's how on-the-ball our courts are.ages ago
Ubuntu listsThese are managed by ccsm now, which you can install as the package compizconfig-settings-manager It is very easy to break this, so do be careful, but I think the settings you want are in the section for the "Ubuntu Unity Plugin".ages ago
Twitter RT @Codepope: Shame on the #R4Today programme for conflating porn and the pirate bay.ages ago
GitHubApplied all of Stephen's fixesages ago
Twitter Maybe if we get ISPs to block govt. & BPI from the Internet, and tell them it doesn't exist any more, they'll stop trying to break it?ages ago
Twitter I set out to get the bike MOT-passable, I've got as far as knowing what it'll fail on...ages ago
Ubuntu listsThat depends what you mean by 'mirror'; what do you want to get out of this, what are you protecting against or preparing for?ages ago
Ubuntu listsPlease don't
That's (partly) why there was the transition period with 11.04 where you could run either, and all the publicity about how it was changing. Nobody is stopping you picking up the code and maintaining it. That's what MATE is doing, for example. If MATE turns out to be good and stable and workable, has a maintainer for Ubuntu packages and people want it, there's no reason it wont go into Ubuntu. That's how all the rest of the packages got in
Right now, though, Gnome2 wont be in t...
ages ago
Ubuntu listsWhoops. MATE is Gnome2 picked up and forked. This is a way to get genuine Gnome 2 (depending on your definition of 'genuine Gnome 2') but it's anybody's guess how well maintained it's going to be.ages ago
Ubuntu listsGnome 2 was available in 11.04, but 11.10 used Gnome 3, so you cannot have the Gnome 2 environment in anything later than 11.04. There's a few options: * Use XFCE. This is another desktop environment that used to be basically a less polished Gnome (way back it was a lighter weight Gnome, which is where it's reason for existing came from). It is not Gnome 2 and a lot of things are different, but the overall feel is similar. To do this, you want to do sudo apt-get install xubuntu-de...ages ago
GitHubNo pound symbols in passwords and removed an extraneous printages ago
GitHubsymlink testages ago
Twitter @mgdm yeah, I've removed it. I've no idea where that tweet came from... To ease your worry, here's the current code :) http://t.co/6jhZAwcSages ago
Twitter [PHP] $fh = eval( "return fopen($this->logfile);" ); - http://t.co/2ge8Gl1N http://t.co/0rRXEVLAages ago
Twitter @mgdm Haha, cool. I've just noticed I can test what fopen() returns to see if the file opened or not. Must stop thinking in Perl!ages ago
Twitter @bokkiedog yeah, I'm still perplexed as to why this site I'm integrating with is written in PHP :)ages ago
Twitter @mgdm yeah, sorry, fixed that just after posting and ranting! I've now put in the apparently missing escaped quotes, too!ages ago
Twitter I should reword that: how should I be doing this? http://t.co/mgbi9L83 I'm getting confusing and apparently conflicting interpreter errors.ages ago
Twitter @mgdm Ah! I'm trying to try to write to a file and not really care if I fail. Code's at http://t.co/mgbi9L83 , any quick hints?ages ago
Twitter Holy fuck eval()'s broken in PHP. How does anyone use this?ages ago
Twitter @KatieMillman stop breaking electronicsages ago
Twitter First step on the way to automating CV processing for dev positions? https://t.co/XAA5fU0tages ago
Twitter I've ridden three bikes in the last few days and fixed two; I still prefer fixing them.ages ago
Twitter @kirrus @botherer How could it not be a joke?ages ago
valid XHTML Vim Perl Apache Debian

View Source