Having a large collection of images that need resizing or rotating.
Old solution
Open Gimp, re-size, re-save. A very slow method.
New solution
Gnome Nautilus plugin. Here you highlight all the photos you want to resize and an option comes up in the right-click menu for "Resize Images..." and "Rotate Images...."
How to install
On Ubuntu it's very easy.
sudo apt-get install nautilus-image-converter
nautilus -q
The "nautilus -q" command should quit nautilus, and Gnome should restart it. If that doesn't happen, just log out and log back in again. Then you should have the new plugin installed.
[ 1 comment ] ( 2 views ) | permalink
I recently became interested in the OpenStreetMap project, and did some mapping for them. I was fortunate enough to be able to borrow a GPS device, but to do mapping on my own I needed to find my own.
Being eternally short of cash my planned solution was to use a "smartphone" and bluetooth GPS device borrowed from my mum, that I could install a piece of software and record my GPS tracks. The software exists, and is called TrekBuddy. Unfortunately my use of Ubuntu and free software in general has made me compliant with the ideal that when I install something on a device, I expect it to work as long as I have fulfilled the technical requirements. As far as I could see I had a compatible phone, GPS device, and java virtual machine installed, but the software would not work correctly. All because of the arbitrary will of a company.
Now the sense of confusion I have when it comes to mobile phones is what I imagine it is like for those who are unfamiliar with computers. There are a myriad of acronyms companies and products that overwhelm the novice user. Hence why I stick to my trusty Nokia 1100. So finding a solution was frustrating, only to be confronted with the problem of "Branding".
Now many people are familiar with the concept of "unlocking" where you can remove the software block that only allows one companies sim cards to be used in the phone. Unlocking is ubiquitous in the UK, the service is provided by many outlets and and can be done in a matter of minutes. Usually for around a tenner. I have had this done to all the phones that I ever inherited from contracts. It is much more useful to have a phone that can be swapped between networks, that it is to have one crippled and limping due to one provider.
"Branding" is a different matter entirely. "Branding" on mobile phones goes beyond painting your companies logo on the outside of the case, it now goes to the very core of the phone itself. Smartphones run full blown operating systems, this is what allows them to be "smart". But mobile telecommunications companies however are not, they will request that a manufacturer add extra customisations to the phones software. Superficially this is making the secondary button on the front go to your iTunes-a-like service or load up a browser pointing at your website. But it goes deeper, in my case the Java virtual machine would not allow java apps to write or read to memory unless they had been signed by the appropriate certificate authority. As far as I could see TrekBuddy had been signed, and the certificate was installed, but the certificate was not trusted enough to allow programs access to phone memory. A frustrating experience. This is all due to mobile manufacturers being paranoid about malware etc, but this seems to be to the detriment of users, and profit of certification companies.
A phone can be "unbranded" by flashing with the generic firmware of the manufacturer. I had this done, only to find the market stall where I had done it installed an old version of the firmware, and that the only place I could get an up-to-date version was from an official vendor, for even more money! Although this is due to the phone being so buggy it doesn't work with the official Windows updating software. Still there is no easy way to install certificates on the phone without a contract for 3G internet browsing.
Getting a smartphone to do what I wanted didn't seem like it should be difficult, but now its going to start costing me more in time and money to continue. The only conclusion I can come to is that in the future buying a product that supports a sensible development model, and recommend that others stay away from restricted mobiles. Unfortunately there are not many products on the market that fulfil my criteria, although there is hope.
The Neo1973 is based on work done by the OpenMoko project, a GPL mobile OS, and looks very promising. Fingers crossed!
[ add comment ] | permalink
OpenStreetMap is for geographic data what the Linux kernel is for operating systems. The aim is to eventually have a complete map of the world, this is a monumental effort and one that I believe is worthwhile. For in the UK the only mapping authority available is Ordnance Survey, a government funded body, who own copyright to the maps they produce and charge a fortune to those who wish to use them.
This situation is morally wrong, as this prevents academics and individuals using the data in new and possibly very beneficial ways. Or even the more mundane ways such as publishing a map to your business, without incurring a huge license fee.
The volunteers of OpenStreetMap are very enthusiastic about what they do, and gain a great enjoyment from wandering and discovering places they have never been, or better yet finding nooks and crannies of places they have!
Most data seems to come from individual volunteers working independently, but last weekend (12/13th April) there was a "Mapping Party" for the south Birmingham area. It was organised by Andy Robinson as OSM data for the south of Birmingham city centre consists of only main roads and vast void areas.
This was my first time doing actual mapping for OSM, I had before spent a good hour figuring out how to name some roads in Selly Oak and that's where it ended. The mapping party was due to start around 9:00 at the Kitchen Garden Cafe, and the majority had arrived by 10:00.
As soon as Andy Robinson arrived the event was kick started, with projectors and maps being set up around the small office that had been hired out for our use. Soon we had huge A0 posters of the area on the walls, so that people could mark the area they would like to map.
The OpenStreetMap foundation had even brought around a dozen, compact Gecko 201 Garmins for the volunteers, like me, who did not posses their own GPS equipment. But more importantly they had people who were willing to show me the ropes. So I spent the morning mapping with Brian, whose advice was invaluable. He gave me some basic lessons in mapping, what the do's and don't do's were etc.
The afternoon I took out to Kings Heath by myself, with a Garmin GPS gaffa taped to the handle bars of my bike. It is the common consensus that the best way to map is by bicycle. A bike had the advantage of being allowed pretty much anywhere unlike a car, and you can cover large distances, unlike just walking. It was great fun exploring all the back roads and pathways, but it gets you a few strange looks stopping and writing down road names.
The standard method for collecting road names and other features is to carry a GPS device that logs your position every second, and a pad and pen. That's it! The simple joy of OSM is the very low level of entry. The easy bit is getting the GPS trace, the hard part is making decent notes as later on you will be referring to them to construct the map data. As this is a grassroots project how many notes you make is up to you. Nearly everyone will record roads, but then there are foot paths, canals, and cycle lanes which you could record. Or you could go into more detail such as bus stops, hospitals, crossings, traffic lights, post codes! The list is almost endless.
As you can imagine this can make note taking slow and very messy. Even my simple mapping got complicated very quickly.

But the OSM mappers are an inventive bunch. This is a group of people so dedicated that they wrote their own software to map the planet, and some of the features and plugins for it are very clever. You can carry along a digital camera with you, and take pictures of road names, etc, and then use that as your reference when you return. This is done by taking a photograph of the GPS device showing the current time. Then later the JOSM software will calculate the difference between the first photograph's time stamp and the given GPS time, and then overlay all the subsequent photos on top of your GPS data! There is even a plugin to do the same with audio recordings. Truly an example of "Necessity being the mother of invention"!
There were a few hic-cups during the day, rain being one of them, but also the police and bemused members of the public. To a cynic it was of little surprise that the only asian member of our group was stopped by the police in what appears to be an "Statutory Power or Street Encounter", but the general feeling of the group was to laugh it off. In fact others seems slightly jealous that they had not got one!
All in all a very enjoyable day, and it was unfortunate that I could not attend the second day. And the product of our work can now be seen on the OSM website, in the form of a much more feature rich South Birmingham!
[ add comment ] | permalink | related link
This year I was roped in to help with the audio recordings for the Spring 2008 UKUUG conference.
It was a very interesting conference, but unfortunately not aimed at the end-user so a lot of the talks went over my head. The talks were more suitable for the system administrators, programmers and computer scientists of the world.
None the less I went along to help and learn what I could. I managed to take part in the all day python tutorial, and did learn a few new things that are going to help me on my way to mastering the python.
Now setting up on the Monday morning involved learning about the audio equipment I would be using, and helping the rest of the crew. Main things were getting projects set up and wireless access points plugged in.
We have used the UCE/Birmingham City University Conservatoire for conferences before, and there is a particularly awkward power socket hidden behind 3 vending machines. It is become a tradition to send the skinniest person behind these machines in order to set up. Last year at PyCon UK is was Zeth, this year it was Alex's turn.
Although at the end of the conference, it was my turn to dive behind and unplug the access point.
(Nb. I am a bit larger than Zeth and Alex, and used brute force to move the coffee vending machine out further, making it much easier and comfortable!)
[ add comment ] | permalink
I had long ago transferred the music on my computer to Ogg format, this meant my 3G iPod (not well supported by Rockbox), became redundant. Ogg players are few and far between. Xiph.org try and help by providing a list of players that support Ogg.
The Xiph.org list, pointed me in the direction of a Mpman MP3 player. This is a cheap (~£15-20), simple 1 Gb MP3/WMA player, that acts as a USB removable storage drive. What it doesn't tell you anywhere in the official documentation is that its a secret Ogg player! For those that are cautious about different versions of hardware that have different chipsets, the model/serial number is MP-FUB34. I find it strange when companies forget to mention, or purposely leave out features. A quick google search for "fub34" brings up quite a few results, and currently some are being sold on Amazon.
I have been using it for a while now, with the music I have encoded from CD to Ogg, and podcasts that I have downloaded. The music I encoded myself using SoundJuicer, with the default settings, works fine on the player. Sometimes the ID3 tags don't display correctly but the music works fine, skipping, fast forward, all the usual functions you would expect. Problems arise when I put Ogg podcasts on the Mpman, it seems however many podcasts encode their audio just chokes the Mpman, so I have to default back to MP3 feeds.
The player is great for simple day to day usage, but the buttons feel tacky and cheap. And it does consume a lot of batteries, buying some recharable AAAs and a charger would be a good investment. But remember to have the batteries charged! There's nothing worse than when you are in a rush, and your music dies because you forgot to charge a battery.
Being strapped for cash means that alternatives are limited but I have my eye on the Cowan iAudio 7, which seems to be a popular choice for freedom lovers.
[ add comment ] | permalink

Calendar



