TamsPalm - the Palm OS Blog

Palm OS news and opinion source

September 30th, 2006

RFID madness…tags protecting hair gel

I dislike RFID tags for a varienty of reasons. When RFID tags are used to protect Palm OS handhelds, I can understand this. However, I recently bought a 3$ tin of hair gel and saw this:

A RFID tag! As if this isn’t crazy… . Protecting a 3$ tin with a RFID tag that probably costs not much less…

September 30th, 2006

Welcome back, WristPDA

Gadget addiction is a very bad problem for me - when I see a new gadget, I usually try to buy it asap…and then use it to death. I stopped using the WristPDA quite some time ago, but am back to it now for a simple reason: OnBoardC.

My old programming box was a dual screen machine - and I almost always had PODS open on both screens in one sort or the other. When using the notebook, the Treo permanently runs Plucker displaying the API documentation. But when coding on the go with the Treo, I need a comfortable second screen - enter WristPDA.

Sitting comfortably round my left wrist(military style), I either run SrcEdit or Plucker on it all the time. Thus, when I need an API def or sth similar, all I need to do is look down…and tada!

For an OnBoardC programmer, getting a second handheld is more-less a must if you want to work dual-screened. The WristPDA may not be the cheapest option, but is very convinient as it doesnt lock up a hand and a shirt pocket.

What do you think?

September 29th, 2006

Proporta Alu-Leather Case for Palm Tungsten T5/TX review

There are a lot of leather cases from several distributors on the market. Today, I look at Proporta’s Alu-Leather Case on my Palm TX. It is said to work with the Tungsten T5, too!

The Case is padded all around, and the flipping part is strengthened with an aluminium piece, and it has a beltclip on the back

If the case is open, you see the rail, the dual SD card holder and the headphone cutout. In the flipping part, there are two pockets for credit cards, money etc.

Inserting the TX into the case is a bit hard, but it makes no big problems. When you look at the top, you see a cutout for the headphone jack.

On the bottom, the multiconnector is covered by the case lock.

This case looks quite noble. No matter what you want to do with your Palm, you have to open the case, also when you charge or sync it. To open it is easy and handy with the magnetic lock. It has no cutout for the speaker, and this affects the sound quality a lot! The part which protects the display, is strengthened with aluminium, so that it bears the daily pressure easy. Overall I like this case, and 26.95 pounds are okay.

September 28th, 2006

Everyday productivity thiefs

Most of us are rather busy. We don’t have infinite amounts of time for our life - and savng a few minutes here and there can pay out; in fact, it can pay out big-time. But lets start this off with a story:

At an office, there is a guy. Lets call him G. G needs 10 minutes to get to his office every day because the elevator is damn slow; powering on his machine takes 5 minutes, and waiting for his coffee takes 5. Because he doesnt have a handheld, he looses 40 minutes in the tram. Total time loss is an hour…a day.

Saving even just a few minutes can pay out when looked at from a year point of view:

Time saved per day Time saved in 300 work days
1min 5 hours
5min 25 hours=3 days
10min 50 hours=6 days
20min 100h
60min 300h

So, look out where you loose time - and act on these metrics! Saving 10 minutes a day gives you an extra 6 work days per year, and saving just 5 minutes already gives 3 days! When looking at it this way, the “petty” 5 minutes lost every day add up…hard!

If you really want to kick a$$, you need to watch the time thiefs…

September 28th, 2006

Why cursing in comments sucks

When having squashed a bug in a program, sometimes, one just feels like unloading the stress into a unfriendly, dirty comment like(taken from friend’s code):

//Scratch my ballZ...this ptr gets verified

or, the ever famous

//You have a bug, fuckers

This may make you feel much better in the short run - but on the long run, will backfire at you heavily. Nowadays, almost everyone reads other people’s code eventually. Your code hets reviewed, gets sold or lent out, or gets published in some kind of news source. This can happen to everyone - even a oneman show is not safe from code leaks(made by fatigue, for example when blogging after coding for 6h).

If the code ever makes it online, lawyers and readers alike will rip you up. This happened to me once, trust me, it is no nice experience(here). I didnt get sued, but if the comment would have been a bit more insulting, I wouldnt be writing this lines here.

Overall, swearing in comments doesnt pay out. Get yourself a punching ball, hit your collegue, do anything…but dont write an insulting comment….

P.s. Someone just took a look at the swearing in the Windows 2000 source code - that motivated me:
http://www.kuro5hin.org/story/2004/2/15/71552/7795

September 27th, 2006

How to write unmaintainable code

This is for coders only - if you don’t do C, you won’t enjoy it…

Many years ago(when outsourcing started), coders decided to create ummaintainable code to make replacing them difficult. This has led to many problems over the last few years - and this page essentially adds the topping to the turd:

http://thc.segfault.net/root/phun/unmaintain.html

Read it and look at the code stinkers contained inside. Ah, and DONT EVER DO THAT AT HOME OR WORK =).

September 27th, 2006

How to skip tracks on Pandora

People who read TamsPalm frequently probably already know that I like Pandora(the adapting web radio) very much. However, their engine screws up every now and then - leading to a load of ugly music coming against your ears. The Skip command is godsent - but you cant skip more than 6 tracks a hour(afaik).

However, TamsPalm readers can now skip an unlimited amount of tracks. The method is simple:

Create a random second station(if you don’t have one yet)
You can use any artist name here - you’ll probably never listen to it anyways!

Skip to the new station if you dislike the current song
Simple. Click onto it and switch!

Go back to the old station immediately
Tada…a skip!

In case you don’t trust us, here is a video of the stunt in action:
http://video.google.com/videoplay?docid=3130110280993094402

September 27th, 2006

Replace your LifeDrive’s hard disk with a CompactFlash card

From the moment the Palm LifeDrive was introduced, people began to try to replace its harddisk with a compact flash card. USers on the german forum Nexave tried and failed soon after release…but now, it seems to be possible.

According to WikiHowto, it is possible to replace the LifeDrive’s hard disk with a 4GB compact flash card - other card sizes, will, however, not work(the LifeDrive always assumes a 4gb card):
http://howto.wikia.com/wiki/Howto_replace_microdrive_with_compactflash_in_LifeDrive

The site lists compatible card types(not all CF cards work for this hack) and also gives detailled instructions about the process!

BTW, I dont have a LifeDrive and thus cant confirm anything. Users reported success on various boards…but as said, no warranty!

September 26th, 2006

Figures…just figures…figures that make you sad

Basic pneumatics course: 1000€
(Excellent) Pneumatic course at school: 75¢

My dear friends doing junk in the back row…isnt this a very bad tradeoff? People can be so short-sighted that it hurts…badly.

September 26th, 2006

Give stuff away for successful customer care

David Weiss just wrote about how Apple gave him a 100% discount code in reparation for a billing mistake. If you do customer care, his article could be interesting:
http://davidweiss.blogspot.com/2006/09/making-good-on-mistake.html

September 25th, 2006

On investing time to fix a problem instead of bickering

This dialog just happened a few hours ago:

TH: Sir, please, I want to print…how can I get into the school domain
Admin: Eek! Printer administration is so much work
TH: Oh, why that, sir?
Admin: People cant use printers…they rint out millions of pages…we have to throw away tons of pages. It takes us hours of maintenance time each week to keep it up and running
TH: Why not restrict printer access to a select few
Admin: Eeek! Grunt! That takes work and time!

If a person spends one hour a day on a process, optimizing it away usually pays out on the long run. For example, if the administrator would have invested the time to restrict printer access once, he would never ever need to maintain the printer again.

Essentially, the core idea of staff training was covered in On Mentoring - feel free to read it up there if you forgot the maths!

September 25th, 2006

Annoying alert dialogs - Part 255k25

Sometimes, I wonder why PalmSource had to make FrmAlert and FrmCustomAlert so easy to use and call - if they wouldnt be so easy to do, the Palm OS world could just be a better place.

Deleting a file in a popular PalmOS image viewer first pops up this(useful) conformation dialog:

When the delete process is completed, however, the program proceeds to tell me how it just deleted x images successfully from my handheld:

When doing alerts, you should be very careful not to slow users down. If you feel that a dialog could be annoying, either leave it out or add a ‘Don’t show again checkbox’. Your users will love you for it!

September 25th, 2006

Event Based Programming review

Experienced coders got experienced by repeating two things: look at other’s code and coding themselves. There is lots of good sample code available in form of opensource products; however, getting concepts presented in a structured and commented fashion can be very comfortable.

Ted Faison’s Event Based Programming does just that – it is a book that looks at event based programming. For all those new to the matter, event based programming is an object-oriented form of system design (you need classes) that is geared at maximum reusability and easy maintenance by removing direct calls between objects. Instead, objects call one another via function pointers initialized by builders and binders.

The book starts off by looking at coupling – what coupling is, what kinds of coupling there are and how coupling affects the system. The treatment is a bit mathematical sometimes, but very interesting nevertheless.

After that, the book moves on to event mechanics – how do I deliver events, what kinds of payload can I use, how do I send and receive events best. The treatment is very interesting and helpful. The last chapter of this part of the book contains a look at various commercial systems – good reference material, reading value rather low.

The remaining two parts about event diagramming and functional roles and patterns were excellent. Nothing to say here except very well done.

3 worked examples accompany the book – I skipped over those, as my C# and VB.NET skills were not enough to decipher them and as I also felt that there is little to benefit from looking at them.

The example code in the chapters was understandable for me(C#), my prior VB 6 experience also was helpful for deciphering the VB.NET stuff. However, you don’t need to understand all the example code to benefit from this book – every concept is also explained textually and graphically!

Event-based programming is easy to read – it makes a good book for reading in-flight or in bed.

Overall, this book was a great read. While the concepts learned here can’t be directly applied to my C programs(as in cut and paste), the process of going over them mentally has made me a better programmer and system designer. Last but not least, I enjoyed thinking through the various “edges” – if you like interesting system architectures, get this book by all means(42.95$ at Amazon’s).

September 25th, 2006

An ideavirus: funky, dumb video advertises headsets

I have not received confirmation from Icemat yet(because I didnt ask). But nevetheless, I am sure that they will benefit from this

Today, someone sent me this funny video. It essentially is a remix of Daddy DJ’s famous Daddy DJ song - but with a modified text speaking about players of a game called Dota:

http://video.google.com/videoplay?docid=6486979190703380003&q=dota+ventrillo

So far so dumb - until you see the headsets shown prominently. Everyone has the same headset on his head(btw, its the Icemat Siberia headset we reviewed some time ago) - and this promotes the product really effectively…