Email Aliases on the iPhone

One feature seemingly missing from the iPhone mail client is the ability to send messages from an alias identity on a mail account.  Suppose you have main@example.com, but all mailing list emails are sent to mailinglist@example.com, which is an alias for main@example.com. If you want to send an email from mailinglist@example.com, you would have to set up a second account, which would duplicate the main@example.com account emails (which is messy, in my opinion).

Now, Apple seem to have (perhaps inadvertantly) managed to enable a way of having proper aliases in iPhone OS 3.0. Essentially you need to create a list of email aliases seperated by commas in the “Address” field of the IMAP Account Information. This must be done after the account has been created with the 1 main email address, or it complains about being an invalid address.  Once the account has been set up with the main email address, create a new note. In this note, type out the list of email aliases you want, starting with a comma:

img_0018

highlight and copy this text to the clipboard.

Then go to “Settings > Mail, Contacts, Calendars” then choose your email account. In the address field, paste the copied text after the existing main address and save the changes. Now when you compose an email, if you click on the “From:” field, you should have an option of your main address, or any of the aliases you created.

Diabetes

This thing has been pretty empty for a while; I feel I should probably write something more often.

On the 28th July 2008, I was diagnosed as type 1 diabetic. I had symptoms for a long time which I (mostly) ignored. This has already proved to be a particularly stupid decision.

I suspect that I had high blood sugar levels for almost 2 years before I was diagnosed. Every minute your blood sugar is outside the “normal” range causes damage to all of the small blood vessels in your body. Some of the main areas of damage are your kidneys and your eyes. When your kidneys are affected, it causes them to become less and less effective. As yet, I have no symptoms of this, but diabetes can eventually lead to kidney failure. My eyes are a different matter. High blood sugar levels damage the capillaries behind the retina. This causes them to weaken and bulge, to the point where they can burst, leaking blood into the eye. The result of this is “floaters” appearing in your field of vision, which look like small fuzzy spots that are virtually impossible to look at directly. A lot of people have some of these; having a couple of these is normal.

Once these blood vessels have burst, it reduces the blood flow to areas of the retina. This can cause parts of the retina to die, leading to black spots in your vision. If this continues for long enough, it can lead to being legally blind.

It can take many years for this sort of damage to begin, but it can also progress very very rapidly. At the moment, I have the initial signs of damage to my eyes - bulges in the blood vessels. This scares the **** out of me. At the moment my vision is unaffected, but some day it will probably start to go wrong. The worst part is that I have no idea of knowing when; it could be tomorrow.

The only way I have of stopping this is keeping as tight control on my blood sugar levels as possible. This involves many injections of insulin each day, and regularly checking my blood sugar. Since diagnosis, I have pricked my finger over 2600 times, and I have given myself over  1000 injections. Every day for the rest of my life I will have to give myself at least 2 injections, sometimes up to 7 or 8. Food no longer holds any joy for me. I have to calculate the carbohydrate in everything  I eat; if it contains any more than the amount in a jaffa cake, I have to consider doing an injection for it.

Oh yeah, and if i calculate the injection wrong, I risk passing out due to low blood sugar, which would be really nasty. I’ve managed to avoid passing out so far, but I’ve come close (or felt like it) a couple of times. It starts off with a light headed feeling, with a weird feeling when moving limbs. Next, comes the shaking; at the point fine movements are very difficult (typing is a difficult; similar to being drunk). This quickly progresses to feeling incredibly faint with intense hunger and a strong sense of panic. This is as low as my blood sugar has been,and I hate it. Something as simple as walking 5 mins to sainsburys can bring this on, so I have to carry round a supply of sugar to bring my BG back up.

All of this (and more) is constantly in the back of my mind; I have only had a few occasions where I could totally forget about my diabetes without the constant worry of what my blood glucose (BG) level is doing, and it isn’t usually long before my mind drifts back to the thoughts of “What if my blood sugar is high? Is it going low? Do I need to test my BG? What exercise am I planning on doing? How much carbohydrate can I afford to have for my next meal”, as well as the million other diabetes related questions constantly swimming around my head.

This is what I have to deal with every day for the rest of my life, no matter what else is going on.

Things I don’t like to see…..

Number 1 -  My blog being added to random planets without me being asked.

It would seem that the entirety of the ubuntu-uk.org planet userlist has been duplicated by MooDoo for his own planet, as he doesn’t like the “members only” policy. I believe that the correct thing to do in this case is at least ask people if they wish to be added to his planet.

*Edit* As a planet like the one set up by MooDoo already exists, he has now redirected the domain to point to the existing planet, which doesn’t add people without them asking *Edit*

© cjo20.net | Chris Oattes. All Rights Reserved.

Cyberlink IR remote with MythTv (Mythbuntu)

Find a HOW-TO here:

http://cjo20.net/remote.htm

Free Rice

Everyone should go have a look at FreeRice.com. It is a relatively new site that claims to donate rice to the World Food Program, who then distribute it to people who need it. The way they fund this, is by providing a simple (but entertaining) word game, with a small advert on each page (I didn’t actually notice the advert until it was pointed out to me). The game is a series of multiple choice questions, where you have to choose the most similar word to a given word from a list of 4. For each correct answer, they donate 20 grams of rice.

To make the game more interesting, each word has a “difficulty” associated with it between 1 and 50. It starts by asking a few random words to get an idea of what level you are at. Once it has determined a suitable level, it ask you questions from that level. If you get 3 questions right, you go up a level, and if you get a question wrong, you go down a level.  This means that it adapts to your vocabulary to give you words you have a chance at getting, but not making it so easy that it is boring.

Quote level colours in Thunderbird

A friend just sent me this link. The instructions make it much easier to read email discussions with many levels of quotes.

Note: Using ubuntu, the user preferences are in ~/.mozilla-thunderbird, not ~/.thunderbird. You will need to create the “chrome” subdirectory and the file “userContent.css” yourself.

FTIR touchscreens

A PhD student at the University of Bath recently told me about a (relatively) new type of touchscreen, which relies on “Frustrated Total Internal Reflection”. (see here). Basically, Infra-Red light is shone down the inside of a sheet of acrylic. When something touches the acrylic, the light is reflected away from the object, where it can be picked up by a (slightly modified) webcam.

Found at http://www.whitenoiseaudio.com/touchlib/

This image shows what a webcam underneath the touch screen picks up (Image from http://www.whitenoiseaudio.com/touchlib/). This image can then be processed to pick out the bright “spots”, and the coordinates on the touch screen worked out.

The big advantage of using this method to detect interactions with the screen is that you are not limited to just 1 point of interaction at a time. For example, in a paint application, each finger could be a separate pen/ paintbrush. This also means that the number of users that are able to interact at the same time is only limited by space around the touchscreen.

These touchscreens are also relatively cheap to make. The main expense is a projector (which cost around £300), but all of the other components can be obtained for < £100. Someone has blogged their attempts to make a screen.

Below is a demo of a FTIR touchscreen:

Get the Flash Player to see this player.


And a link in case the player doesn’t work.

It also seems like there aren’t too many problems getting this to work in Ubuntu, so I’m hoping that I may be able to build one myself sometime soon :D

Google moon

You should visit http://moon.google.com and zoom right in…

Better Fonts in Feisty

A friend at work just sent me this link: http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_improve_sub-pixel_font_rendering_for_Feisty.

It tells you how to get much much smoother fonts in Feisty - I recommend that people try it out.

[Edit: As Gord pointed out, this will only applies to LCD displays]

Irssi

I have been using irssi for a couple of months now, and I am generally pleased with it. It does almost everything I want, apart from one thing.

I have been looking for a way of getting the window list entry for the terminal to flash when a new message is received in irssi for a while now, and a recent discussion in #ubuntu-uk on irc.freenode.net has got me searching again. I have managed to find a script that uses libnotify to create popups with new messages, but I don’t want screens full of popup windows.

If anyone knows of an elegant solution, I would love to hear it.