I'm vaguely yearning for a simpler framework than Django
I was going to say that this entry was about my disenchantment withDjango but that isn't really accurate. Django works fine for what itis (although there are rough edges), it's just that it has a bunch ofcomplexity and a certain amount of magic and (more importantly) itfeels like a vast overkill for what I periodically want to do. Thedrawback of batteries being included is that they weight a lot.
(In a metaphorical sense. I'm not worried about Django'
An example GNU Readline quoting function
Because I would have killed for an actual example when I was doing this,here is the quoting function I'm currently using (as kind of promisedin my entry on how to do this in general ). It doesrc-style filename quoting (put a ' at the front and end and escapeevery ' with a second ' ):
char *my_rl_quote(char *text, int m_t, char *qp) { char *r, *p, *tp;Adding basic quoting to your use of GNU Readline
Suppose that you have a program ( or ) that makes basic use of GNU Readline(essentially just calling readine() ) and you want to add the featureof quoting filename expansions when it's needed. Sadly the GNU Readlinedocumentation is a little bit scanty on what you need to do, so here iswhat has worked for me.
(The rest of this assumes that you've read the Readline programmingdocumentation.)
As documented in the manual (eventually) you first need a functionthat will actually
On classifying phish spam as malware
As I noted recently , our commercialanti-spam filter counts at least some varieties of phish spam as'viruses', by which it means malware in general. I find myself withdivided opinions on this.
On the one hand, phish spam does not fit the traditional definitionof malware. There is no executable (however well disguised) that willdo bad things to your machine; all of the bad things that phish spamdoes happen in the human being in front of the computer. In theory thepurpose of
My personal view of Fedora versus Ubuntu on the desktop
It all started with a series of tweets ( 1 , 2 ) where Iwound up saying :
I have a lot of history with [Fedora on my desktop] and it still seemsto be the best of a bad lot of choices. Ubuntu makes me even moreunhappy.
This made me really think about what I felt about Ubuntu and Fedora.The following are my own views about my personal usage and I don'texpect anyone else to agree with them. They are also more than alittle bit inflammatory
Looking at how many viruses we've seen in email recently
Once upon a time people were very worried about viruses being spreadthrough email and devoted a lot of time and effort to eradicating them(sometimes going so far as to refuse all zipfiles and the like). Thelast time I looked at this we had very fewviruses being recognized, but that was a couple of years ago and todayI was curious to see if things had changed.
(Technically what I am actually looking at is the amount of detectedmalware. Viruses are only one of the types of malware that
I've changed my thinking about redundant power supplies
Back almost at the start of Wandering Thoughts , I wrote an entry in which I was pretty negative onredundant power supplies. Since I'm busy specifying redundant powersupplies for our new generation of fileserver hardware, I think it'sabout time I admitted something: now that I'm older and somewhat wiser,I'm changing my mind. Redundant power supplies can be quite worthit . In fact I was at least partially wrong back then.
(In my defense, at the time I had very
Disk enclosures versus 'all in one case' designs
There are two basic choices if you want a decent number ofdisks attached to a server (such as for iSCSI backends ); you can use a basic generic server withan external disk enclosure or you can use a fancy server that has allof those disk bays integrated. When we set up our iSCSI backends we used the first option, partly forhistorical reasons. I've recently been thinking about this issue againfor our next generation of hardware so I want to write something down onthe balance back and forth
The challenge for ARM servers, at least here
Every so often I think about the theoretical future coming of ARM-basedservers (which various people have prophesied for years). Since hardwareis on my mind lately anyways, one of the things I've been mulling overis what it would take to get us interested in such a server.
On the one hand, in theory a Linux-based ARM server ought to be easyto integrate into our environment. Assuming that it was supportedby, say, Ubuntu, Linux is Linux and we almost entirely use
My views on various bits of disk drive technology today
trs80 asked (in a comment on this entry ) about my views on various aspectsof modern disk drives. This is actually an interesting subject for mebecause things are happening in the disk drive world that I hadn't beenaware of until recently.
The big change that had passed me by entirely is the shift away fromregular sized 3.5" hard drives to 2.5" (aka Small Form Factor) drives,what used to be 'laptop drives'. I'm used to