2008-04-30, 21:42Customising SerendipitySo, here we are in Serendipity Land, enjoying software that cares about security and stopping spam. One noticeable drawback is the lack of a built-in backup feature (although WordPress doesn’t any more either). My old system of manually performing a full backup after each post was, in retrospect, probably not the most efficient way to do things, though. I need to improve the backup system for the rest of my hosting anyway, so I will probably write my own backup script which integrates well with it. I imagine a system where my local machine triggers a new backup of my hosting provider’s database by requesting a hidden script file, and the backup it produces is a file inaccessible to the webserver but SSH-able to my local machine. Having a backup process is particularly important, however, for systems which you intend to use, and until I fixed the “No entries to print” bug, I didn’t think Serendipity counted as such a system. If you are reading this, though, that means I have successfully tamed the bug, and here is how I did it. Continue reading "Customising Serendipity"2008-04-29, 01:35SerendipityFor those of you who read this blog and pay attention to its HTML theme (as opposed to just reading the news feed of it), you may notice that these pages look different. I was not unhappy with the old appearance, or at least not unhappy enough to find and install a new theme, so the reason for the change is something more fundamental. I had been thinking of ditching WordPress for a while, for various reasons, but I had an experience with it recently which convinced me that now is the time. The initial objection I had to WordPress was based on a Slashdot article about a controversy over whether the software was spyware. That is a strong claim to make, and I won’t try to justify it here (although for me “spyware” includes any software which “phones home” without telling you, a definition which would apply to Firefox), but comments from the Slashdot discussion lead me to look into WordPress more and I realised that the development team did not share my views. To some extent you have to trust developers to make difficult decisions about ease of use versus security, and let the software speak for itself, but that is what I’ve done, and WordPress’s security record is self-incriminating. When you start setting aside time each month in anticipation of the next upgrade to fix a critical vulnerability in an application, then the developers do not deserve the benefit of the doubt about whether they have the best interest of their users at heart. Continue reading "Serendipity"2008-03-28, 01:33Nineteen Eighty-FourNineteen Eighty-Four (henceforth “1984”) is one of those books that seems to follow you around, like Alice in Wonderland. By that I mean that references to it keep cropping up around you, but more than that, it’s like the references to these works somehow encode some information which underlies some central truth to the universe. Follow the white rabbit, as Morpheus would say. In fact it was at the intersection of these two great threads that I resolved to read 1984. I was visiting a very dear friend, who I saw had started reading this book, which piqued my interest in it again, but at some point in my conversation with, she mentioned one of her favourite books, Alice in Wonderland of course, and I said something like, “Yes, it’s very important for [imaginative artists] like you to read that book.” (or words to that effect) and then said “I wonder if there is an equivalent that [responsible software engineers] like me should read?” Naturally, her reply was 1984.Buy Chlorpheniramine Buy Macrodantin Buy Dexfenfluramine Buy Chlorotrianisene Buy Skelaxin Buy Monopril Buy Carbamazepine Buy Vinblastine Buy Iproniazid Buy Multivitamins Buy Trandolapril Buy Senna Buy Nialamide Buy Cyclamate Buy Dihydrotachysterol Buy Nafcillin Buy Dextromethorphan Buy Estrogen Buy Pyrazinamide Buy Phenytoin Buy Mebanazine Buy Tocainide Buy Corticotropin Buy Butriptyline Buy Sulfonamides Buy Echinacea Buy Aztreonam Buy Milrinone Buy Adderall Buy Digoxin Buy Meclizine Buy Butalbital Buy Prednisone Buy Bricanyl Buy Promethazine Buy Methaqualone Buy Pemoline Buy Aciphex Buy Aerobid Buy Trihexyphenidyl Buy Avapro Buy Adalat Buy Lopid Buy Levoxyl Buy Nexium Buy Mucomyst Buy Chlorothiazide Buy Disopyramide Buy Isradipine Buy Aurothioglucose Buy Lunesta Buy Piperidolate Buy Phenolphthalein Buy Sucralfate Buy Levlen Buy Oxyphencyclimine Buy Meridia Buy Pindolol Buy Pargyline Buy Acyclovir Buy Guanabenz Buy Phenazopyridine Buy Fioricet Buy Simvastatin Buy Imdur Buy Bayer Buy Cilexetil Buy Mevacor Buy Ethanol Buy Paregoric Buy Toradol Buy Orphenadrine Buy Apomorphine Buy Pyrilamine Buy Bupropion Buy Diphenadione Buy Acetylcholine Continue reading "Nineteen Eighty-Four"2008-03-28, 01:33
Is Hotwire the best piece of ... Posted by admin
in Uncategorized at
01:33
Comment (1) Trackbacks (0) Is Hotwire the best piece of software yet?The short answer is “no”, in case you are happy to just take my word for it and don’t have time to read my justification for this view. A slightly longer answer would be “Hotwire version 0,710 would be the best piece of software ever (until the next best piece of software ever comes out) if a finite number of bugs were fixed and a finite number of relatively simple features were added.” Many of the bugs and features missing are related to the usability of the user interface, which is to some extent a matter of taste, but there are usability improvements that can be made based on certain widely accepted metrics. Below, then, I give a mixture of a review, an infestation(?) of bug reports, and a design concept. Continue reading "Is Hotwire the best piece of software yet?"2008-02-29, 00:15Another IE bug?Just when you start to get surprised at some of the complicated pages that IE7 can render flawlessly, you bump into another almost trivial page which the browser laughably fails on. I think I need to add some more tags for categorising my blog posts, as I don’t want to spend longer than necessary answering the question “Is this IE bug the same as one I’ve already reported?” It appears this one is new, though, so I will write it up. I should say that the bug does not affect Firefox, and I only found it after noticing that IE7 did not have the styling I expected for a piece of popular third party code. Admittedly I can’t state exactly how popular the code is, but it was at least of significant enough size that I did not want to consider maintaining a fork. The good news is I managed to work around the bug in this case with a one line fix, but that is largely to do with the nature of the page, not by finding a universal solution. Continue reading "Another IE bug?"2008-02-29, 00:15Hey Miro, I want my Web TV!Freedom is its own reward, but it shouldn’t be surprising that choosing Freedom leads to many unexpected positive side-effects. For instance, Miro is designed to make online video more democratic, allowing anyone to become a publisher and anyone to subscribe to any publisher, without central control, but by embracing this model, users of Miro, if they are like me, find that they have access to refreshing new creative works, that change how they view media. It’s like the jump from TV to PVR, and the jump from closed source to “open source” (or at least shareware) all in one go. That is why suddenly going without it because of an upgrade to a separate program (especially after paying for a greater download cap from your ISP) can feel jarring. If you have found that Miro crashes at the end of each video (or just errors tens of times at startup) then my findings might be relevant to you. Continue reading "Hey Miro, I want my Web TV!"2008-01-31, 20:03
Loading local applications over a ... Posted by admin
in Programming at
23:00
Comments (0) Trackbacks (0) Loading local applications over a reverse SSH tunnelI can’t really think of a neater title for this, which may mean this post is not easily discoverable on the Web by people who would benefit from it. Worse, I suspect that this is the sort of trick that people don’t even go looking for because it never crosses their mind. Still, I have to document it, not least for my own future reference. For me the problem it solved was trying to avoid the six-legged freak console-based text editors that I found myself using while SSHed to a remote server at work. I could either type vi file.txt (which is quick to type but ultimately counter-productive) or I could find a desktop text editor and navigate to the remote location I was accessing over SSH (which would take longer but save time by about the first drag and drop). Although I had not heard of a system which had the benefits of both these options, I one day realised that there was no technical reason I couldn’t fire up my desktop text editor locally, by running a command on the remote machine. Continue reading "Loading local applications over a reverse SSH tunnel"2008-01-31, 20:03Logging MySQL table sizesBlogging time has come round again, and with it the opportunity to make up for the relatively narrow appeal of my previous post. I’m glad to see, though, that my previous post was appreciated by someone who matters, which has inspired me to consider possible enhancements to Hotwire when the latest version hits Debian testing. In the closing hours of this month, my focus is on MySQL and sed, as hinted at last time. Continue reading "Logging MySQL table sizes"2007-12-31, 19:37What's so great about Python?2007-12 for me is “Python appreciation month”. Going a whole month being appreciative of it wasn’t so difficult, and was the least I could do after realising how much I had under-estimated a program written in it, particularly as that program is going a long way towards fixing the very problems with the console that I’ve been was bemoaning. I suppose this post belongs with the last one, and I could be writing about MySQL or a sed joke instead, but it is New Year’s eve, so I’ll have to hope that the blogosphere appreciates the quality if not the quantity of these posts, while I go off to a party. Continue reading "What's so great about Python?"2007-12-31, 19:37
I love the console (and Python?) Posted by admin
in Programming at
19:37
Comments (0) Trackbacks (0) I love the console (and Python?)While I stand by everything I’ve said about the problems with the console environment, I have tried to be open-minded enough to acknowledge its benefits. That’s not particularly hard, as I often make use of some tool that is (currently) only available on the command line or get a job done faster because it is well suited to a text- / keyboard-based system. Using the console is also getting easier and more productive, though, thanks in part to Python, strangely enough, but that’s a matter for another post. This post is about what can be achieved using just a standard console and utilities. Continue reading "I love the console (and Python?)"2007-11-30, 01:10The Shell Doesn't WorkIt is becoming clearer to me, the more I force myself to work around and against the quirks and usability failings of the terminal environment, that the concept has reached a dead end in its development. There are, fortunately, some brave efforts out there to try to imagine what a shell could be, taking into account modern advances in technology and interface design, often without throwing away too many of the good features that make legacy shells so popular. Some examples of this new breed of applications are anthias, cuiterm, fish and hotwire. Continue reading "The Shell Doesn't Work"2007-11-30, 01:10
Backwards Unicode and Shell Support Posted by admin
in Programming at
01:10
Comment (1) Trackbacks (0) Backwards Unicode and Shell SupportA colleague at work gave me another challenge recently, or at least they showed me something that Perl can do, which as usual caused me to seek out a more elegant or efficient implementation in another language. A previous challenge had been to write a speedy script that found common rows between two text files, and I had resorted to Python for my implementation, just to make it difficult for myself. After a few rounds of optimisation we found that, when run once, the Perl version was faster, but when run 10 times in a row the Python version took the lead. In this case, though, the challenge was to write a one-liner which would take a string as input and reverse the letters in it. As I enjoy replacing my colleague’s unreadable Perl syntax with a handful of 2007-10-31, 16:21
Control + Backspace (and the ... Posted by admin
in Programming, Standards at
22:53
Comments (3) Trackbacks (0) Control + Backspace (and the Object-Oriented Programming joke)Having looked in my Mystery Box of potential topics for blog posts, I’ve found a couple of things which are relatively short and don’t really make sense on their own. The first is an observation about key combinations on the command line, and the second is a joke which came to me recently and I wanted to publish before someone else came up with it independently. By my calculations, the first half of the post will be technical enough to justify writing this, and the second half will be funny enough to justify someone reading this, but not by much. Continue reading "Control + Backspace (and the Object-Oriented Programming joke)"2007-10-31, 16:21Why don't I hate MySQL?Setting up a new database, or adding a new user privilege to one, and even creating a new table in one is something that even database administrators do relatively rarely. After all, if the number of databases or tables is changing faster than you’re querying the data it contains, then you’re probably doing something wrong. It is only natural, therefore, that the commands for these “one off” actions are more easily remembered, through practice, than the 2007-09-30, 20:40Pidgin XML processingI recently had cause to make use of a language I had enjoyed messing around with before, namely XSLT. Unfortunately that language still hasn’t reached the critical mass of having strong support in IDEs, active user communities, and clear documentation, for which it seems some of the blame lies with the overly-abstracting, purely academic viewpoint of some people in their ivory towers that no longer seem to be solving the real problems that exist. Instead of a coherent view for XML technologies forming and being adopted, there is a rush to generate more and more over-arching, under-supported, paper-tiger standards, with the community expected to bounce between them and fill in the gaps while finding extremely niche or unnecessary use cases to justify their existence. The experts even accept there are problems with the core of XML itself, but how many people do they think are making use of, or even know about, things like XSL-FO, XPath, XQuery, XLink, XPointer, OWL, RDF, SPARQL, Turtle, N-Triples, Notation 3, and SKOS? It is therefore not without reservation that I delve into this world with XSLT, but it did seem like the right tool for the job and a rather fun logic puzzle. Continue reading "Pidgin XML processing" |
QuicksearchCategoriesSyndicate This BlogBlog Administration |