Dead Links

In the gen­er­al spir­it of tidy­ing up before the Christmas/New Year peri­od I used a link check­er on my blog (Integ­rity on the Mac, I’ve also used Xenu on Win­dows). And dis­covered a bunch of 404s. Some were to sites that still exist but either reor­gan­ized without set­ting up 301 redir­ects, or deleted the con­tent I linked to. Some were to sites that don’t exist any more. I guess part of the price I pay for being part of the spi­der­net that is the web is mak­ing sure my little bit of it is reas­on­ably tidy, so I’ll be delet­ing dead links (though not con­tent) over the next little while. This does raise the issue of the con­tent in cases where I may have referred to, say, a busi­ness that does­n’t exist any more. I’m think­ing I’ll make a small note in cases where it seems to mat­ter, with the determ­in­a­tion of “seems to mat­ter” being some­what arbitrary.

I installed and activ­ated the WP Minor Edit plu­gin for Word­Press and will mark all these changes as minor, so this should­n’t lead to the Atom feed being discombobulated.

lynx and mod_security

I’ve been imple­ment­ing more web sites recently; it appears to be one part of the tech­no­logy mar­ket for which there is still demand. One of the things I push when I meet with cli­ents is access­ib­il­ity, so I figured I should test my own sites and make sure they’re reas­on­ably access­ible. Lynx is one tool to use to check access­ib­il­ity (as well as being a good basic text-based browser). I was a little flum­moxed when I got back a 406 http error, which usu­ally means the user agent can­’t read the char­ac­ter set, lan­guage, or encod­ing the web site uses. Even the most basic text html page was rejected.

It turned out that my ISP had mod_security enabled (good) and con­figured in such a way that lynx was banned (not so good). Ban­ning lynx seems to be a fal­lout from a quick way of con­fig­ur­ing mod_security by fil­ter­ing out keywords that might be used in hack­ing attempts. Per­son­ally I can­’t see the point as lynx can be told to use a dif­fer­ent user agent string if need be, and people who want to hack your site will likely know how to do that, and I can­’t under­stand how people use lynx to hack a site either. Mind you, I don’t hack oth­er people’s web sites, so I don’t know the tools people use who do. Any­way, the ISP cheer­fully took out the fil­ter caus­ing the prob­lem, but in the mean­time my IP address had been flagged by mod_security for try­ing to bypass the fil­ter too many times, so I was com­pletely banned from my own site, as well as every oth­er site that hap­pens to be hos­ted on the same server. 

Even­tu­ally we cleared up that little prob­lem as well, and I could get back to tweak­ing my style-sheets and HTML to be more access­ible. There’s a bit more to do yet, but I’m get­ting there. And I’m grate­ful for an assidu­ous ISP (Cana­dian Web Host­ing) with a sup­port team that works late on Fri­day nights.

Coping With a Strong-Willed Child

One of the unfore­seen advant­ages of hav­ing an Amazon affil­i­ate account is the pos­it­ive loop it intro­duces. In this par­tic­u­lar case, I reviewed books about rais­ing chil­dren, people clicked on the links, they bought oth­er books from Amazon that showed up in my reports, I looked at those books, etc. I call it a multi-level recom­mend­a­tion ser­vice; I’m sure there are more “offi­cial” names for it.

Any­way, in this par­tic­u­lar case someone bought Par­ent­ing the Strong-Willed Child: The Clin­ic­ally Proven Five-Week Pro­gram for Par­ents of Two- to Six-Year-Olds, and since my daugh­ter is strong-willed (much more so than her broth­er at that age), I thought I’d take a look. I also ordered When Your Child Has a Strong-Willed Per­son­al­ity from the lib­rary and read both the books at more or less the same time. 

Par­en­thet­ic­al note: are there ever a lot of books out there on how to cope with strong-willed children! 

Both the books have anecdotal/illustrative examples, which mostly served to make me grate­ful for my child. After that, the books have the same basic ideas at the core, but go about the mes­sage in dif­fer­ent ways.

The “clin­ic­al pro­gram” book has an actu­al pro­gram in it that you’re meant to fol­low, which con­sists of spend­ing 10 minutes each day doing the pro­gram for that week, before start­ing the next week on the next phase. This would prob­ably be use­ful if there is a ser­i­ous prob­lem; con­dens­ing the pro­gram and com­bin­ing steps worked out fine for us. The first step is simply pay­ing atten­tion to what the child is doing for those 10 minutes: no ques­tions, no orders, just say­ing “now you’re stack­ing the red blocks” “now you’re col­our­ing with blue cray­on”. The “do you want to try…” etc comes later, after you and the child have got used to the idea of your pay­ing atten­tion to what the child is actu­ally doing rather than what you think they should be doing, for that small amount of time. Per­son­ally I think this is the most import­ant step — it’s so easy as a par­ent to get into the “now we have to do this”, even if it’s under the guise of encour­aging the child to do things “prop­erly”, and fail to take the time to pay atten­tion to what’s really hap­pen­ing. The oth­er steps in the pro­gram are also reas­on­able, noth­ing stu­pendously dif­fer­ent to what oth­er books say.

The “strong-willed per­son­al­ity” book is more gen­er­al and does not come with a 5‑week pro­gram, so is likely less reas­sur­ing if you have a ser­i­ous prob­lem. It points out strongly that the worst prob­lems come with a strong-willed child and a strong-willed par­ent bat­tling and advoc­ates the par­ent to not quibble over small issues, but to seek ways to defuse poten­tial situ­ations, and let every­one save face. 

Both books coun­sel kind­ness and respect for the child’s point of view as ways to defuse con­flict, and give meth­ods or tips to help. Vari­ations on some of the tech­niques would prob­ably also help with deal­ing with co-workers.

XML Summer School 2009

The XML Sum­mer School in Oxford at the end of Septem­ber was the usu­al mix of inter­est­ing present­a­tions, punt­ing, good dis­cus­sions in the pubs, and wan­der­ing around old build­ings. The pho­tos I took have none of the first, little of the last, and an over-pro­por­tion­al num­ber of punt­ing and pubs, mostly because that’s when the cam­era did its job best. These are all part of the XML Sum­mer School 2009 group on Flickr, if you want more pho­tos of that week in Oxford.

[AFG_gallery id=‘2’]

Hong Kong in Pictures

Here are some of the pho­tos I took in Hong Kong, in Feb­ru­ary 2009. I was plan­ning on writ­ing more about it, describ­ing the pho­tos, but some­how life got in the way. So here they are, without much in the way of embel­lish­ment. The things that caught my eye: mostly con­trasts. I was fas­cin­ated by the con­trast between the old and the new, old build­ings reflec­ted in shiny new win­dows, cats sit­ting in stores calmly watch­ing the bustle in the street out­side, the rick­ety old ferry in the reclaimed har­bour, palm trees and gar­dens over­shad­owed by sky­scrapers whose tops are lost in the clouds. A fas­cin­at­ing city, I’d like to go back some time.

[AFG_gallery id=‘1’]

Mum’s gone

My moth­er passed away last night, 11:30 pm, with my step-fath­er at her side. Demen­tia robbed her last years of the joy she should have had, and took her from us too young as well. Now we are left to mourn her, to remem­ber the life she lived, and to miss her. May she rest in peace.