Bristol and Bath LUG Meeting 23 August 2008

Apparently the LUG’s website is still off-line and there’s no idea when it will return, so let me use this site to help announce that the LUG’s regular meeting at the Knights Templar public house, near Isambard Walk, Bristol, will happen tomorrow Saturday 23 August from noon-ish until whenever people drift away.

Software Freedom Day happens between this meeting and the next one. Is anyone interested in running a Bristol-area event and do you know of a suitable/available venue? I’m finding the SFD official site somewhat dysfunctional (I’m not in the Northern Caucasus, damnit), so I’ve not found a nearby team registered yet…

Posted in Education, Training and Information, GNU/Linux, SPI | Tagged , , , , , | 1 Comment

USB Charging: Greener or Not?

I’ve ordered some USB charging leads for various portable devices, mainly because I’ve already got mains-USB and car-USB power adapters (they came with a bluetooth headset that charges from USB) and I agree with things like this:

“management of an individual charger for each device is becoming a pain in the backside. Since the USB power form specification is a standard, ANY charger with sufficient load capability should be able to charge ANY device.” (from USB As A Power Source)

but I’ve also heard that charging from USB is greener – or more precisely that because your computer’s power supply is running anyway, it uses less electricity to plug battery chargers onto the Universal Serial Bus than to plug in “wall-wart” DC adapters. But is this claim true?

Claims from USB recharging product sellers concentrate on the obvious “less waste compared to disposable batteries” strength, although some smarter chargers cut power to charged devices – it’s not clear whether the mass-market USB battery chargers do this, but the reasons and the electronics don’t look that complicated. China (not famous for environmental protection yet) now requires USB-charging of mobile phones while a mobile phone industry body has recommended the same approach in general.

However, there are concerns about whether Power over Ethernet is making networks less green, which might be true for USB if devices demand more high-power sockets and device makers don’t include intelligent control electronics (which people generally don’t want to pay for).

Is USB charging greener than mains charging? I’m not sure and I haven’t found any great answers – can you?

I guess in the worst case, I can try some tests with a power meter later…

Posted in Education, Training and Information, GNU/Linux, SPI, ThePhoneCoop, Web Development | Tagged , , , , , , | 6 Comments

How To Avoid 6 Common Website Mistakes That Cost Money

According to a recent article, 6 Common Website Mistakes That Cost Money are:

1. JavaScript or other crawler-unfriendly navigation that may impede indexing

This one is best avoided at design-time, by including Web Content Accessibility Guidelines 1.0 Level A in the design brief, but if you’ve ended up with JavaScript-based navigation on your site (check by doing “View Source” and searching for the code for your home page link and so on – if you can find it, then it’s probably not javascript) and it’s based on some template system, a webmaster can probably do a whole-site edit to put the navigation links in the page properly – or at least add a useful <noscript> tag.

2. Navigation that buries important pages within the site architecture.

The structure of the website’s files and the structure of the link menus do not need to match, so if there’s a page that you feel is important, get your webmaster to add it to the navigation links across the whole site.

3. Duplicate “pages” getting indexed under multiple URLs.

This usually happens for one of two reasons: one is inappropriately-parked domains, which is mistake 6 below and often fairly easy to fix; the other is a misbehaving web application, which you’ll need to get a programmer to fix.

You can do a simple test of your web application by starting at your homepage and following links to a particular page; then open a new browser window and try to reach the same page by different links (or a site search) and compare the address bars (the bit of your browser showing http://) – do they match? If not, you’ve got this problem.

4. No keyword phrase focus in the content or conversely, keyword phrase stuffing

You can use a good word-counter on the text to see how common different keywords and keyphrases, or use the “webmaster tools” section of some search engines to see what they’re focusing on.

Keyword-stuffing can be fairly easy to see. If you “View Source” on a page and there’s a large block of keyword-intensive text somewhere in it that doesn’t appear it when viewed in a browser, then it’s probably stuffing. Many sites regard stuffing as a sort of spam, so you don’t want to be found doing this.

To fix these problems, rewrite the page text appropriately.

5. An optimized home page, but that’s it

Repeat your checks from problem 4 on a few pages other than the home page to discover whether you suffer from this. Also, see whether your website statistics show search engine visitors arriving at a variety of different pages (these are sometimes called “Entry Page” statistics).

6. Additional domains owned by the company are not properly redirected

If you usually use .co.uk, but you also have a .com domain, try visiting a random page on your website, then click in the address bar and replace the .co.uk with .com – what happens?

If the page is Not Found, then your domains aren’t properly redirected and you need a Redirect adding to the second one.

If the page displays but the address doesn’t change itself back, then your domains are probably pointing at the same webspace but aren’t properly redirected, which will mean you’re probably making mistake 3 above. Usually, the simplest way to fix this is with a conditional redirect. On Apache webservers, you can add a .htaccess file containing something like:-

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.yourdomain.co.uk$ [NC]
RewriteRule (.*) http://www.yourdomain.co.uk/$1 [R=permanent,L]

That even works on BT Business web hosting, by the way. If it doesn’t work, try asking your web hosting provider to enable mod_rewrite for you or ask them to suggest how to achieve the same result.

The above list of mistakes was published on Search Engine Land last week. The correction methods are all things used by my webmaster cooperative.

Posted in Web Development | Comments Off on How To Avoid 6 Common Website Mistakes That Cost Money

Would Debian Lists Send Scunthorpe to Coventry?

I had a small chuckle at the delay to Debian Project news because the listserver filter treated it as if an event was on Free Ando Penis Land. Parties in Scunthorpe and Penistone may have a similar problem.

At least it got through eventually. If only Yahoo was as responsive as debian listmasters…

Incidentally, while trying a web search for “the Scunthorpe Problem”, I got an intermediate screen warning me that the results may contain “adult content” but none of the results looked like they were more than 18 years old.

Posted in Education, Training and Information, GNU/Linux, Web Development | Tagged , , , , , , , , | Leave a comment

Would a Real Free Software Developer Group Bite Apple Like FSF Did?

I’ve been installing free software for library cataloguing onto Apples recently. It’s not been great (GNU/Linux is still easier and faster, in my opinion) but it has worked much better than older Macs.

As well as making servers that are finally getting easier, Apple lead the way in locked-down portable players, with their iPod and iPhone devices and iTunes service. Quite rightly, free software users campaign against Apple’s use of DRM/TPM (Technical Protection Measures). One of the rallying points has been Defective by Design (DbD), an FSF initiative since 2006. Long-time readers may remember that I took part in a DbD protest at an Apple Store in September 2006:-

“I noticed the huge till queue, which was attractive for three reasons: it had no security (I guess shoplifters rarely queue for the till), most of them are standing around waiting for something to read and they are almost certainly Apple customers, so who better to inform? After I rejoined the back of the queue a few times, a security man was watching it, so I moved off and chatted to people waiting to do hands-on tests on the upper floor for a bit […] then I moved back to leaflet the till queue again. […] Then, I got a bit bored and started putting the leaflets into Apple’s product leaflet dispensers (in front of Apple’s – no leaflets were removed), which soon got me rumbled.”

To me, that was fine: I dislike that type of store, which tries to look like public space, but is actually privatised and controlled. My resource use was minimal (one security man escorting me out and some Saturday kid probably “cleaned” the leaflet racks) but I passed information to many Apple customers, who are one of only two groups Apple must keep happy, ultimately.

Popey is a bit upset by the latest protest idea, which he describes as:-

“urging people to book slots at the Apple in-store “Genius Bar” to ask probing questions which they already know the answer to about their company policy on DRM and Free software. The ‘Genius Bar’ is an official Apple support avenue for their customers, and is a service provided inside many of their stores.”

It’s also been criticised by neuro and Pete along similar lines.

I agree. It’s wasting both side’s resources. Apple don’t really need to keep their staff happy (they can hire new staff) and it offends Apple customers and shareholders. It’s not even efficient: each unit of Apple employee time wasted costs a unit of DbyD worker time and who’s got the most resources there? What are FSF thinking? It’s stupid, even without the bad press it’s had.

So, this brings me in a roundabout way to answering

“I am aware of the Linux Foundation and the FSF and others, but how does SPI differentiate itself and its goals from those organizations?”

from why people don’t join SPI. In my opinion, a key difference of Software in the Public Interest is that it is managed by free software developers in a more-or-less democratic fashion. Even though I’ve failed in two elections, I still think it’s better than the alternatives. No project as unpopular as wasting Apple Store helpdesk time would ever get backed by SPI, would it?

Posted in GNU/Linux, SPI, ThePhoneCoop, Web Development | Tagged , , , , , , , , , | 3 Comments

Using at to Record DebConf Streams

While I enjoyed watching some of the DebConf 8 Video Team’s Excellent Service, not all of it was at convenient times for me, being several timezones away, so I used the following script to record some of the streams:-

#!/bin/sh
# Example: recordstream 09:00 09:55 -Otalk.ogv http://server:8000/stream
start=$1
end=$2
shift 2
( echo wget -q "$@" '&'
echo 'echo $! > $HOME/wget.pid' ) | at $start
echo 'kill $(<$HOME/wget.pid)' | at $end

I think that’s right, but I might have fluffed a $@ for a $* or similar (I usually use the simpler rc shell but it’s not on that server yet). It uses the oft-forgotten at command for one-off timed scripts, so you’ll need the at package installed. I think it might exploit the fact that players like mplayer, VLC and ffplay don’t mind truncated streams, but it seems to work fairly reliably apart from the timing.

In other Debian-related news: Debian GNU/Linux: 15 Years Old and at the Crossroads by Bruce Byfield seems an interesting summary (warning: its feedback form contains an eyetest), but doesn’t mention DebConf apart from getting its name wrong. I had the impression that there were a few “at the crossroads” type of talks at DebConf. I guess we’ll see what concrete results come out of DebConf over the next few weeks.

Posted in Education, Training and Information, GNU/Linux, Web Development | Tagged , , , , , , | 1 Comment

Gov.UK Consults on Forced ISP Snooping: Please Say NO

Argh! Our beloved leaders have just started a consultation on making it mandatory for internet service providers to keep email and web logs for a year and deliver them to local councils and police on request. Large ISPs have already been doing this, in order to make friendly-friendly with gov.uk, (do their customers know they are being watched?) but requiring it of all ISPs might put some small user co-operative hosting services out of business because it will drive up costs (need more disk to store that data and staff time to distribute it on request). Not what I expected from a Labour and Co-operative Party government.

Fortunately, the Lib Dems and Tories are speaking sense like this:-

“Ministers have proven time and time again that they are not to be trusted with sensitive data, but they seem intent on pressing ahead with this snoopers’ charter. ” (Source: BBC)

However, I’m pretty sure when the EU-level parts of this were being discussed, the Lib Dems and the Tories agreed with it. Something I’ll ask Neil Parish MEP when asking him about the progress of the promised reply to my three strikes by the backdoor questions. You can see why I’m sceptical about the “but it doesn’t mean what it appears to say” assurances, can’t you? They were worthless last time, and the time before that, and the time before that (yes, I’ve been doing this so long that I supported ST@ND).

The consultation closes after this year’s Parliament and the Internet conference, which could also be an interesting place to ask questions about it. And it’s another consultation I should ask the Phone Co-op (aff) about.

Please reply to the consultation and give a loud “NO” – if you have particularly good reasons, please let me know in a comment. I’ve no argument against policing, but a year’s logs? Local councils? There are too many holes in this to let it pass unchallenged. Thanks.

Posted in SPI, ThePhoneCoop, Web Development | Tagged , , , , , , | 7 Comments

MyDNS-NG 1.2.8.3 May Solve “out of memory” Problem on OpenVZ

Nameservers are part of the basic infrastructure of the internet, translating names like www.software.coop into numbers like 86.7.8.9. You really don’t want them to be completely unreachable because it breaks lots of things, so as well as the primary nameserver, it’s good to have secondary ones, both in the same hosting facility (for fast replacement if the primary fails) and a different city (for fallback if the hosting facility or its network fails).

Since moving one of our customer’s secondary nameservers to an OpenVZ virtual server in another city last year, it’s been having serious stability problems. That server ran MyDNS as its main brain, but the primary servers are an unholy mishmash of BIND, MyDNS and I don’t know what else (they’re not all ours), so domain updates are done by periodic AXFR requests.

Every so often, mydns would quit with an “out of memory” error, which was narrowed down to a few possibilities on the mailing list. I tried pretty much everything that was suggested (mostly off-list), but we still didn’t have a stable nameserver.

Since then, MyDNS-NG has taken up development and Howard Wilkinson has worked to cure some of the memory leaks. I’ve upgraded to 1.2.8.3 and this time, the nameserver is still running so far. The out of memory problem was random, so I’ll leave it a few more days before sending reports and thank-yous upstream, but I’m pretty damn happy about this.

Posted in GNU/Linux | Tagged , , , , , , | Leave a comment

SPI Meeting Announcement and Why People Don’t Join SPI

Jimmy Kaplowitz writes:

Software in the Public Interest, Inc., will hold a public board of directors meeting on Wednesday, August 20, 2008, 19:00 UTC. […] SPI meetings are held on the OFTC IRC network, irc.oftc.net, in #spi. […] Agenda

A couple of weeks ago, I asked why people do and don’t join SPI? The answers I got can be grouped into a few headings:-

Don’t know about SPI

“I admit that I was unaware of SPI. However seeing its age, a few familiar names on the board and also on the project list it looks like a solid organisation.”

“I too am unfamiliar with your organization”

“I guess I would be yet aother person who was not aware of this group.”

“Lack of awareness of SPI is probably the biggest hurdle. I too, was unaware of SPI. I am aware of the Linux Foundation and the FSF and others, but how does SPI differentiate itself and its goals from those organizations?”

Don’t know about joining

“The membership page on the SPI website is buried at the bottom of a secondary menu. One has to really go looking for it. And this definitely gives the impression that adding members is not a very high priority.”

“I’ve been looking a while for how to join, is not the first time, I did before and never found it until now”

Don’t see why to join

“Even as an open source software advocate, I have not joined SPI because my particular interest and focus is on Plone. The Plone Foundation handles largely the same functions that SPI does for smaller, independent groups.”

“Why, what’s in it for me? The betterment of mankind or bragging rights when a corporations steals all of my work and gets rich off of it.”

“If you are someone who is very interested FOSS (free and open source software) rights and licenses, you are probably more inclined to become a part of the FSF (Free Software Foundation) or the OSI (Open Source Initiative).”

I’d welcome any thoughts you have on how we should overcome these barriers, either in the comments here, or on IRC #spi – I think I should be there a bit before or after the meeting. I’ll try to summarise the best over the next Wednesday or two.

Posted in Drupal, GNU/Linux, OSCommerce, SPI, Web Development | Tagged | 7 Comments

DebConf 8 Video Team Gives Excellent Service

DebConf, the annual Debian Conference, is held this year in Mar del Plata, Argentina. One sometimes-overlooked part of this is the brilliant video streaming service, with each stream supported by an IRC feedback channel including announcement of talks and events as they approach, start and finish.

While I was watching Martin F. Krafft’s talk yesterday (which introduced the topgit patch manager to me, which I’ll look at and may suggest to the Koha project), I was blown away by the production quality of the video. It’s even better than last year, which was already good. The shots of the slides with the presenter in a little window on them are a particularly clever idea and much better than the “auto-refreshing slides webpage” method I’ve seen from other conferences. It does look like a little encoder tweaking might be possible to get the slides (which don’t change much) pixel-perfect while compressing the presenter window, but I’d be happy if all conferences were covered this well.

Read the debconf announcement for links to the streams and schedules. I was having a few problems watching this afternoon (packets getting lost between telecomplete and bytemark), but switching to a European video server helped it. Mplayer’s hardframedrop also seems to help in bad network conditions, but it takes multiple attempts to get a successful connection from mplayer, for reasons I don’t understand.

The conference continues until next weekend, which includes Debian’s 15th anniversary.

Posted in Education, Training and Information, GNU/Linux, Koha, Web Development | Tagged , , , , , , | 1 Comment