Resetting a Transformer

I have an Asus Transformer TF-101, running Android, which I bought in June 2011 and have used pretty heavily since. Over the last year or two, it has gradually become more and more unusable, often hanging up for long periods, and sometimes crashing. In addition, some apps have become quite unstable – for example, the bookshelf view in Perfect Viewer hung and crashed almost every time I tried to use it, and uninstalling and reinstalling didn’t fix it. Continue reading “Resetting a Transformer”

Radio Player and TP-Link router faults

When I first released the Radio Player it all worked fine for me and others, but one person reported having problems with it. When he ran it, it would have trouble connecting to streams and once connected it kept dropping out. I couldn’t reproduce the problem at the time. Continue reading “Radio Player and TP-Link router faults”

Sorting a grid bound to a BindingList

I’ve just been trying to implement move up/down buttons on the rows of a C1Flexgrid bound to a BindingList. I can’t believe how hard going it was. You would think that telling the grid to sort itself on the column containing the sort order would do it, but it doesn’t. Despite the implications in the documentation, if you read it very carefully you realise that it always uses the sort order of the underlying BindingList, regardless of what else it has been told to do. The only way to make it resort its rows is to clear out the binding list and rebuild it in the desired order.

I finally found an explanation of how to do it on StackOverflow.

Radio Player

When I first installed Windows 7 I found a nice little BBC Radio Player gadget, and I’ve been using it to listen to the BBC while I’m working ever since. However, the BBC recently renamed BBC 7 as Radio 4 Extra and eventually stopped the old url, so the gadget can’t find it any more.

This spurred me to write a radio player myself. Continue reading “Radio Player”

Cuemaster

My main client went into Administration last week, leaving me with very little work to do until I can find another contract, which is proving a little difficult.

This has, however, given me the chance to get on with writing Cuemaster. This is a Windows program that Trevor Learoyd recently bought the rights to. After looking over the code I decided it needed a complete rewrite, which I have almost completed. Continue reading “Cuemaster”

textarea sizes

I’ve just run into a problem with laying a page containing a textarea.

I set it up using a Firefox window with a 1024*768 client area on Windows XP, but when I looked at it on Linux (Centos) the rest of the page ran off the bottom, even though everything should have been in the same position. Turns out that the Windows Mozilla is making the box 5 rows deep, as requested, but the Linux version is allocating space for scrollbars that aren’t needed.

Both are running Firefox 2.0.0.14, so there must be some difference in the underlying rendering libraries.

Suspending the Vaio with Ubuntu

The other serious problem I had with Hardy Heron was getting Suspend and Resume to work with my newer laptop (a Sony Vaio VGN-CR19VN). It works OK on the old laptop, but the new one didn’t want to know. Whenever I tried it it would just clear the screen, go to text mode, and leave a cursor at the top left.

Eventually, after a lot of searching on the forums, I found a fix for it. It took a long time to find because it was in the middle of a thread about fixing the problem on an HP laptop. It actually turned out to be remarkably easy to do.

All I had to do was modify the first entry in /etc/pm/config.d/defaults to read

SUSPEND_MODULES="uvcvideo"

and it now suspends and restores correctly. I think it hibernates as well, but I haven’t tested that as thoroughly.