Tinyurl Shortcut in Opera

I am an irssi user – I have issues with mice (I don’t use one) and so the text-based IRC client works wonderfully well for me. It also looks less like a chat client and more like I might be working on a terminal screen, which was more useful before I worked from home. In most of the channels I frequent, there is a bot (Phergie to be precise) which turns URLs into a Tinyurl link and also posts the page title.

Opera has a neat little trick (I hear firefox also now has something similar) where you can right-click in any search box, and save the search as a shortcut which you can then use in the address bar. By default this includes google so you can type: g cowsay to do the equivalent of typing “cowsay” into the search box on google.com. I usually add a few more searches to it – and one of them is for tinyurl, using the search string http://tinyurl.com/%s.

So when I see a URL in a chat session, I can just wait for the tinyurl, then type t followed by the 6 or so digits on the end of the tinyurl to get to where I’m going – very handy!

Acer Aspire One and an XD Card

I may have mentioned my new acer aspire one already, and I probably also mentioned the problems I had with it not reading my camera card. The camera is a Fuji Finepix, and the card is a 2GB XD card – XD is the format used by Fuji and by Olympus apparently.

Well, we went back to the shop and demonstrated the card not working. They took the card, tried it in their card reader (it worked, just like it does in my card reader and in the camera). Then they tried it in the display model of the same machine, and it persisted in not working. After a whole rigamarole of contacting the supplier, who told us to contact the retailer, who told us to go home and ring their central helpline, who told us to contact the supplier (which went on for a while) we went back to the shop again and they got a new XD card, and it worked absolutely fine. The new card is a 2GB card just like the old one.

Things I notice about this:

  • The old card doesn’t work even after formatting
  • The camera boots MUCH faster with the new card in it
  • I have no idea what could cause that

Anyway, I take it all back, XD cards do work with the linux acer aspire ones – and now I’m all set for being able to upload photos from my trip to ZendCon next week.

Acer Aspire One (and cosy)

I can’t remember another post which was in both the “tech” and “craft” categories – so no complaints from either camp please! Last week I became the new owner of an acer aspire one netbook/ultra mobile PC. Its little, blue, and very cute! If you want to skip the tech bit and read about the cosy I made, click here.

aspire startup screen

The hardware isn’t the best in its class, but it isn’t the most expensive machine either. It has 512MB RAM, 8GB hard drive (solid state drive), it measures 8.9 inches and weighs just 971g.

acer aspire on scales

The default OS for the linux version is something called “Linpus Lite”, which is a kind of toddler fedora as far as I can tell. I’m a long-term linux user and I found the locked-down-ness and the limited interface quite difficult to get started with. However with some help from this nice walkthrough plus some tips from the aspireoneuser.com forums I managed to get root access, turn on the xfce right-click menu and add a menu to the panel, install Opera and Skype and customise the main menu screens. Oh and have multiple desktops, which I like.

Its great for reading feeds, email, chat, and so on, and that’s probably all I’ll use it for. Since I often develop on a dev machine over vim + ssh, I might develop from this machine but I don’t think I’ll develop on it very often. I have already been tripped up by not having particular programs and not knowing what to use instead. Konqueror is leaving a big gap in my life, I do use it a lot. I haven’t done much with fedora before, I’m sure yum is great but it isn’t aptitude. Also the weird “the default user logs in automatically, needs no password, and has instant sudo rights” setup makes me twitch. We tried turning off the sudo rights but bits of the desktop stopped showing up so I’ve left that as is.

There are some definite disappointments. The multi card reader claims to read XD cards – this is a big selling point for me as I have reason to be on the road with camera and laptop soon and I have a fujipix camera which takes an XD card. Well, XD cards do not work with the acer aspire ones so far as I can tell. We’ve dug through the drivers and it looks like it just isn’t set up to do it at all. I’m logged a support email with Acer but no response just yet. I bought the machine through PC World which seems to reduce the amount of support Acer gives, which is a bit disappointing as I didn’t know that before I did it (nobody else seemed to have supply, and they are local if entirely unfriendly. I know I don’t look like a proper geeky business user, but that doesn’t mean you can ignore or patronise me). The wireless won’t resume if it was turned on and the machine hibernates, you have to turn off the wireless before you do that, which seems like a little niggle but when you have lots of tabs active and you have to reboot to get your connection back … its really annoying.

All in all, I would usually have waited for a second generation machine but this is cute, it seems pretty robust, and withouth being very expensive it does everything I need. And at less than 1 kg, I can actually carry it without getting shorter in the process, which is more than I can say for my laptop! There is online evidence of people successfully getting proper ubuntu installations onto these machines and I’m very tempted by that idea.

I have been busy installing the new toy, but I have also been busy making it a cosy!
finished product, outside finished product, inside

Its canvas on the outside, microfibre cloth on the inside (its really shiny and gets fingerprint-y, its good to have the soft inside) and it has rigid panels (made from a plastic placemat that got too close to me while I was feeling inspired). I made two simple envelope-type bags, put them inside one another, and stitched the lining into the outer. The fastenings are sticky dots of velcro (which I shoudl have sewn in because it doesn’t stick well to fabric, oops), and the beads are ones I’ve had in my stash for … more than ten years, scarily enough. They were just waiting for this project! I made the case to be a loose fit, knowing that I’ll try to get A5 paper in there as well as the machine itself as its sort of a convenient size!

Getting Started with irssi

Irssi is a fabulous IRC client, which runs on the command line. I’m sure I don’t use half the features it offers but its very stable, unintrusive ( you can run it in a background terminal, or even leave it running in a detached screen process ), and frankly excellent. Because I don’t have to set up irssi very often, I always have to look up how to do it – here’s the quick start guide (and remember you can use any of the commands with a “help” argument to get instructions)

First of all, we create a network

/network add -nick  -user  

/network add -nick fred -user fred freenode

Next up, we add a server to the network – this step is so we can add a number of alternative servers for the same network, I never do though.

/server add -noauto -network  

/server add -noauto -network freenode irc.freenode.net

You can also use -auto rather than -noauto above to reconnect to this network every time you use irssi.

Finally, we connect.

/connect 

/connect freenode

Curl Cheat Sheet

I have a scribbled sheet on my desk, which is my “cheat sheet” for curl, its really short and I thought I’d put my notes here for safe-keeping. If you’re visiting, then I hope they help you too.

Continue reading

Professional Development for Girl Geeks

Last night I gave a talk at the Leeds Girl Geek Dinners entitled “Professional Development for Girl Geeks” – and you can find the slides on slideshare if you’re interested.

Most of what I said wasn’t on the slides, but the gist of it was along the lines of:

  • Use the resources around you
  • People can be resources
  • Interact with resources
  • Ask Questions – do it well and ask each question once

I had a great night and I hope everyone enjoyed themselves as much as I did – and if you were there, are you asking questions yet?

Surfing Without a Mouse

I don’t use a mouse most of the time, because I have tendonitis in my forearms and find that I can use a keyboard for a whole working week without too much pain, whereas any mouse usage starts hurting badly in a day and half. As a web developer, I spend a lot of time with the Internet, developing on it, networking with it, reading on it, and so on – and I do it all without a mouse.

Spatial Navigation in Opera

The only browser I’ve ever managed to work with successfully is Opera, and most of my surfing uses the spatial navigation feature. Basically, you hold down shift, and use the arrows to jump around hyperlinks – much nicer than trying to tab around the place and getting stuck on some long list of links!

Keyboard Shortcuts

Opera has fabulous (and configurable) keyboard shortcuts. I could go on forever but my favourites are:
1 and 2 Next tab/previous tab
0 and 9 Make text bigger/smaller (its actually a zoom, so it works on pictures too)
6 Put the page back to the original size
Ctrl+t New tab
Ctrl+w Close tab
Ctrl+alt+z Open a tab that was closed, with all data still intact (I love this one!!)

With all of these put together, I can do pretty much everything.

Accessibility

The upshot of this is that I consider myself to have “accessibility requirements”. I don’t use a mouse, so I can’t click or mouseover. I use dropdown boxes by focussing and then arrowing down – so if yours triggers stuff at onchange, then I probably can’t use your site. I have javascript turned on most of the time, but plugins turned off (I can’t click on anything anyway) – and I regularly use Opera’s shortcuts for enabling/disabling CSS and images (ctrl+g and ctrl+i respectively) if I can’t see what’s going on. Opera also saves my preferences per site – so I can fiddle with settings for scripting and plugins on a per-site basis which is really helpful.

So there we go, if you have RSI problems, try using the ‘net from your keyboard. And if you thought “accessibility” went with “disabled”, think again.

Flickr Plugin Weirdness

I am an increasingly avid flickr user and have a growing collection of photos on my flickr account. It seems daft to upload photos twice all the time so I tried the flickr plugin for serendipity (my bloggling platform) but I couldn’t get my account to connect correctly. In the box labelled “flickr username” I added my flickr username, “lornajane”, which appears in my photos URL. However the plugin seemed to think my photos should then be at a URL:

http://www.flickr.com/photos/64718621@N00/

which they obviously weren’t. I played around with this for a while, also trying my yahoo user id and getting nowhere.

Eventually I tried another flickr plugin on another site and got identical behaviour – at which point I logged a support ticket with Flickr to ask what I was doing wrong. It turns out that “username” in this case means this label here:

Never noticed that before, and its certainly not how I refer to myself, so I’m a bit confused – but hey my plugin is working! I hope this helps someone (probably me, next time I try to plug flickr in to something else) confused by flickr seeming to think you have the wrong username!

Announcing the Leeds Girl Geek Dinner

Once upon a time there was a girl geek called Sarah Blow, and she wanted to hang out with her girl friends and geek out at the same time (and who wouldn’t?). So she founded the phenomenon of the Girl Geek Dinner in London. Well this great idea has spread and spread around the world and eventually to the North of England – first to Manchester (next event, this Friday 25th July!) and eventually to Leeds.

So I’m pleased to announce that, on Wednesday 13th August there will be the first Leeds Girl Geek Dinner!! Tickets are £10 and if you needed any further encouragement, I’m one of the speakers for the evening. If you’re going, or have any questions, leave a comment below – and I’ll see you there!

LugRadioLive Wolverhampton 2008

Yesterday I had an outing to the LUGRadio Live event in Wolverhampton. To be honest this isn’t my usual kind of crowd but it was local, the talks looked interesting and so off I went.

Well it was a very interesting day – the highlight was of course meeting Emma from emmajane.net – I enjoyed her talk and also her company for both lunch and dinner. Predictably there was an excellent crowd and I had a wonderful time – a few people were there from WYLUG and I had a really good chat with Robert Collins from Canonical, nominally about bzr but in reality we also put the world to rights which was illuminating and good fun. Here’s me and Emma having dinner:

I met a few IRC friends too, some I knew before, some I was hoping to run into and one who stopped me (in my phpwomen shirt) and went “oh, you’re the UK girl from phpwomen …. lornajane!!” which was very cool :) I was also impressed by the “low tech wiki” and “low tech open streetmap” … large pieces of paper and pens.

I also met Dave and Kat from Pale Purple and had a good long chat with them so all in all it was well worth the trip (there are a few more photos in the flickr set if you’re interested). Well done to the organisers for a great event!!