betabug... Sascha Welter

home english | home deutsch | Site Map | Sascha | Kontakt | Pro | Weblog | Wiki

Entries : Category [ digital ]
Things having to do with digital world items go in here.
[digital]  [language]  [life]  [security]  [media]  [zope]  [tourism]  [limnos]  [mac]  [athens]  [travel]  [montage]  [food]  [fire]  [zwiki]  [schnipsel]  [music]  [culture]  [shellfun]  [photography]  [hiking]  [pyramid]  [politics]  [bicycle]  [naxos]  [swim] 

20 September 2008

Exporting SMS from P910

As if there wasn't enough to do

I'm currently quite busy with work and "life", but as if that wasn't enough, my mobile phone (a Sony Ericsson P910i) decided to stage another battle in it's little attrition war against functionality and the lame spirit of "just working". Uhmm, was that too complicated for a description? Basically the phone started to run really slow, ate all the battery charge in one hour, didn't let me connect to it through the cable or bluetooth, and sometimes wouldn't be above ignoring a couple of incoming calls. Restarting didn't help but (as I know from the last time this happened) resetting it and playing on the last backup helps. Problem: A lot of my SMS will be lost that way.

So what the hell am I keeping ~2300 messages on that phone anyway? Bla, some kind of pack rat syndrome, but now that they've washed up, I'd like to keep them. Nothing like that beautiful depression you get when looking at those old personal notes. Attempts at exporting them revealed that: there's no built in export functionality; a German company making a comercial export program didn't know that there would be umlauts (öäü) and (god beware!) maybe even Greek characters in those messages and just left out those funny characters (which turns 70% of my messages into unreadable dots).

What helped: A little program called "SMS Diary" from Ola Melen. It managed (in due time, took something like 5 or 6 hours) to export all messages to a couple of html files, where you can follow them like a little dialog. It's commercial too, costs $10, but it's worth that for me (it works also for other Symbian / UIQ phones, like the P800, P900, P1, etc). Now messages are preserved, phone is cleaned and (so far) runs again. Back to suffering, e.g. from that FileMaker crap I'm forced to do at work right now (motto of the week: "what have I done to deserve this?).

Posted by betabug at 12:11 | Comments (0) | Trackbacks (0)
03 October 2008

Drug Tests at Apple!!! NOW!!!

Anybody thought of the children?

Since I don't seem in the spirit to write something serious on this filthy blogz0r, I might as well vent some steam with a little RANT here. So, one of our applications is using the file(1) command to identify what certain files on the file system are. And what does Apple do with the 10.5 (Leopard) update? They change the command line parameters... where -i was documented as "Causes the file command to output mime type strings rather than the more traditional human readable ones" now it's "If the file is a regular file do not classify its contents". It's doing more or less the complete contrary to what it did before. This change apparently happened from version 4.10 to 4.17 of the file utility (and possibly the hopefully soon drug tested Apple guys innocently picked up that ugly change without looking... DAMN, YOU SHOULD HAVE LOOKED!!).

The solution is to use the long option version --mime, which (probably by a comical accident) the loonies didn't change.

Next Apple employees up for drug testing: Whoever is responsible for that ssh authentication f*up in 10.5. WTF? Typing the ssh keyphrase into the terminal wasn't good enough for you? If I needed a fancy popping up window, I probably wouldn't be using the Terminal in the first place you luserz!

Posted by betabug at 11:49 | Comments (4) | Trackbacks (0)
11 November 2008

Favourite Uninformative Commit Messages

Say it all in a few words!

When committing to a Revision Control System, usually you have to enter a "commit message" that informs the other coders (and your own self in the future) in summary what you did to the code. Some people go into detail here, some give just a rough idea, also it might depend a lot on the nature of the changes. But then there are the "programmers" who do not feel the need to give away any information... if you want to find out what the code does, why don't you just look at it, after all? So here are some of my favorite uninformative commit messages (real life and more or less imagined)...

The last one reminds me of the people who write in their (python) docstrings only "see interface", making you jump to another file and hit another search just to find out what the method you're looking at is supposed to do.

Anyway, feel free to add your own in the comments!

Posted by betabug at 16:47 | Comments (1) | Trackbacks (0)
17 November 2008

SOS: MacBook Pro don't like Mondays

dit dit dit - daw daw daw - dit dit dit

Came into the office this morning to find my work MacBook Pro with what looks like a hardware failure: It was running (in sleep mode) when I left it Friday evening, now it was off. When trying to boot it, it emitted three short beeps, three long beeps, three short beeps... SOS in morse code. All attempts to bring it back to life failed, various suggestions on the web end up with having to get the machine to Apple support. Fun, especially when you have a project on a tight deadline.

Also the hard disk should come out of the machine, as we don't want our internal code to travel all over Europe. The MacBook Pro's HD isn't "user replaceable" though, so we've got to muscle the "apple shop" here to do that before sending the machine in. Yeah, we're in Greece here, so no real Apple support. Lucky enough I've got backups of my work for the worst case.

Posted by betabug at 10:11 | Comments (0) | Trackbacks (0)
20 November 2008

Server is back

Wasn't really *that* long, right?

Yesterday this server wasn't accessible. The machine was running fine, but the network interface had locked up. This has happened before, a couple of months ago. I'm finally planning an OS upgrade on the box (Real Soon Now™), hopefully that will help. Otherwise maybe I should try with the 2nd network port on the box. In the end I managed to resolve the problem by connecting through the serial port. Things should be back to normal now.

Posted by betabug at 09:27 | Comments (0) | Trackbacks (0)
16 January 2009

Camera Shopping

Anti-materialist materialism

During my vacation my wonderful Samsung Digimax Cyber 530 broke down. The camera has one of those zoom lenses that get extruded from the camera body by a little motor. The mechanism had already been stuck some months ago, back then a little push had fixed things. Now in the Bretagne it was probably just a tiny little bit too cold for the mechanism. It's stuck for good it seems and this kind of "cheap" digital object is hard to get repaired.

So, I'm looking around for a replacement. Something a little bit more robust would be nice. Without a protruding lens, even if that means a little bit less optical quality. Basically there are two "rough" compact cameras around: The Olympus line (currently at the Olympus Mju 1050 SW) and the Pentax line (right now at the Pentax Optio W60). I've looked at the Olympus in a shop and in reviews, didn't like it too much. I'll probably go for the Pentax.

Posted by betabug at 15:14 | Comments (0) | Trackbacks (0)
21 January 2009

New Work-Phone: Nokia e71

Or "New Toy", whichever really
Nokia e71 running mutt (in a putty ssh session)

Yesterday, I received my new phone from the company (thanx folks, the Graphics Garage is really a great workplace!), a replacement for my time honored P910i. I've already installed the most important thing on it: PuTTY, an SSH client. This phone is really much, much more comfortable to use with PuTTY (or SSH in general) than the P910. The picture shows mutt running in an ssh-session on my server. You could even go to "full screen mode" to get a tiny little bit more screen real estate.

This morning on the way to work I already had occasion to use the phone in an "emergency": One of "my" servers had restarted itself in the night and Zope did not get auto-started as expected. I was just passing through a little park and sat down on a bench to fix things. Logging in to a pre-defined connection with putty, starting up Zope, all very easy with this phone. SSH on the P910 was much more clunky in comparison, always poking around to get a certain special character to be sent. Putty on the Nokia e71 even sets up the navi-button to act as cursor keys.

Apart from that techy stuff: It seems to be a nice enough phone. It looks and feels sturdy, all metal and stuff. The keys are good enough to use, but since I have the version with Greek keyboard, the printing on the keys is really crowded, sometimes I get a bit lost. Switching from Greek to English input and back could be easier, but it really isn't that bad too (press and hold "Shift", press "Chr", then use the navi-button to select the other language in the menu and press the center button to select. Maybe it could be possible to write a python script to do that and assign it to a button).

The SMS application, the contacts and phone handling and all that seems to be reasonable. Settings are a bit spread out all over the place. I think the P910 with the stylus interface and a central "control panel" for the settings had a bit of an advantage there. Web browsing works, I think I'll only ever use it in emergencies. The connectivity is a bit of a mess - as I have a bandwidth restriction on 3G connectivity, I'm trying to use wifi connections as much as possible, but somehow the phone has a tendency to jump back to the 3G connection. It feels as if I have to select the proper connection again and again. Oh and the connection indicator is tiny, tiny in some applications - good deal of squinting there.

The phone also has GPS and a "Maps" application. I have no experience with GPS, but it seems to have found more or less where I am. The GPS seems to be a bit handicapped by all the buildings obscuring the sky here in Athens, the position jumping around a bit. Nonetheless it calculated the speed and average speed of my bus ride home yesterday evening. It also managed to find me and the bus on the map anytime. If you want to use "driving instructions" ("turn left on the next corner, fast! the traffic cop is watching us!") or even "walking instructions" (the same for pedestrians) you'll have to pay for a license. I got a 90 day demo license, but didn't manage to try it yet.

I managed to get my contacts moved over from the Mac: Nokia has made an iSync plugin and it works fine. Syncs calendar stuff too, but I don't really have much there. No idea yet how backup and archiving of messages will work, but I'm sure I'll find out. So, overall I'm happy with this phone for now.

Posted by betabug at 10:04 | Comments (8) | Trackbacks (0)
24 January 2009

Taking my Phone out for Wardriving

Which means: Find out what wifi networks exist someplace
screen shot of wifi positions obtained through wardriving, in Google Earth

"Wardriving" is a catchy name which means mapping the availability of wifi networks in an area. Usually it involves a laptop, a wifi card, a GPS receiver, and driving all that equipment around (e.g. in a car, you could also "warwalk" if you can carry it all). Wardriving does not actually mean accessing those networks you found, though some people mix these things up too. Time and technology move forward, so yesterday I discovered that with a little piece of software I have everything I need to go wardriving right in my new Nokia e71 mobile phone.

On the web I found this howto for wardriving the N95 (which seems to have been copied a couple of times on the web, so I have no idea if this is really the original author there). Basically it's using two pieces of software from - GPSd and Barbelo (mobile codes for phone access: GPSd and Barbelo) - to connect to the phone's GPS and do the actual scanning and logging.

The resulting logfiles are then transferred into the computer, converted to "Google earth format" and imported into "Google earth" to see them on a satellite map of the city, as pictured. Looks funny.

There are some small problems with all this: The "Barbelo" program is crashy as hell, it's "use at your own risk" software (so don't blame me when it messes up your phone, I warned you just now). It also does not handle Greek characters in the wifi Station IDs, I had to manually edit the "null characters" it inserts there and that would block the xml conversion. In the xml conversion somehow the stations signal strength disappeared. The last problem: Apparently the searching for wifi networks happens only punctually, not continually, there's always a bunch of stations lumped together on one position.

One result was not really surprising: There are still a lot of "open", unencrypted wireless networks around. Here in Athens there are some providers who deliver wifi-routers "open" to their customers and those customers don't care / do not know how to secure their network.

Posted by betabug at 12:53 | Comments (5) | Trackbacks (0)
27 January 2009

e-shopped Camera

New toy arrived this morning
Pentax Optio W60, waterproof compact camera.

Yesterday I had finally kicked my own butt, finished deciding on my camera shopping decision, taken the plunge and ordered a new camera. I still miss the old camera. I do know that the new one is not perfect, I will discover its good and bad sides.

I've ordered the camera at, a Greek web shop with a little twist: Since package delivery is not the most reliable of all things in Greece, you can order online and pick up the goods at their "outlets". And since not everybody has a credit card (or wants to use it that much) you can pay cash.

So, yesterday I ordered a Pentax Optia W60, a waterproof point+shoot camera. It's a tough little badass camera, but it does not have manual exposure control - snif. I'll have to learn to live with that. Probably will post more about the camera itself some day.

The funny thing with was that they listed the availability as 1-2 days, but managed to have the thing ready for pickup in the local outlet in 1 day (actually less, but I was already in the bus when I got the SMS that I could pick up my stuff). Nice. Picked the thing up this morning, took this pic with the Nokia e71 phone... total toy rush here.

They also have an online order tracking page, where you can follow how the order is processed in stages like "checking address data", "assembling order", etc. with date and time on each. I must have clicked on that poor web application a thousand times, just for fun and to see if those guys were having their coffee or what or finally finishing my order?! ahem.

Looks like they start late in the morning and rush to finish before lunch... or else they did have other orders to fulfill along with mine:

Following order progress at

Posted by betabug at 23:02 | Comments (0) | Trackbacks (0)
09 February 2009

Και το όνομά μου θα είναι...

Μερικοί έχουν χιούμορ λέμε
Funny wifi-name found in Exarheia

Την περασμένη εβδομάδα πήγαμε με φίλους για φαΐ στα Εξάρχεια (μετά από πολύ καιρό... άλλη ιστορία). Τώρα που έχω το καινούριο μου τηλέφωνο έχω πάντα κάτι να παίζω (έχει built in κομπολόι να πούμε), π. χ. παίζω με το wifi, να δω τι δίκτυα υπάρχουν κοντά και αν έχει ανοικτά δύκτια. Γελάγαμε πολύ με αυτό το "POUSTARAS" που βλέπετε στην φώτο. Τουλάχιστον ανοικτό δεν ήτανε.

Posted by betabug at 12:49 | Comments (1) | Trackbacks (0)
16 February 2009

IRC and Bluetooth Keyboard on e71

Take that, iPhone! (... or "another lame mobile phone post")
Nokia e71 paired with an Apple Bluetooth keyboard

Before I got my phone I was considering getting an iPhone. I had played around with friends' iPhones and wasn't really that impressed, so I searched around and finally got what I got, this Nokia e71 thing. Now the more I hack around on it, the better I seem to like it. Last week I went looking for an IRC client. The first I found was phIRC, which stated that it's beta and apparently just a fun project that didn't go much anywhere. It connected and somehow "worked", but really didn't work. Next I found mIRGGI. mIRGGI appears to be a fun project too, but it's polished, it works, it has a well thought out user interface that is a joy to use.

Now the nice thing about IRC is that the data volume is incredibly low, there really isn't much overhead to the text you're reading and writing. That means it's very nice to use even over a limited data plan, for when I have no wifi network around. Have to wait somewhere half an hour for the bus? Go and chat a while with the homies on IRC!

Besides, Symbian powered phones do multitasking (in difference to the iPhone), which means that you can chat, listen to the radio, take a phone call, and look up something on the web at the same time. Beats me why the iPhone, which is based on a Unix based OS, doesn't do background processes.

While I'm bashing the iPhone: Right after I got IRC to work, I went and fetched the Apple Bluetooth keyboard we have in the office. I had tried once to hook it up to my phone but had no luck. A few days ago though, I had spotted a little "Wlss. keybd" application with a bluetooth icon on my phone. This time I tried to pair the keyboard using this application and it worked in no time at all! The app lead me through the setup: Enter a code on the keyboard, enter same code on the phone, again on the keyboard... done.

Clickety-click, typing on the real keyboard, text appears on phone. Next step: search the web for iPhone and bluetooth keyboard pairing... all you'll find is people frantically looking for it, but no solutions, it just doesn't work.

Posted by betabug at 10:13 | Comments (1) | Trackbacks (0)
21 February 2009

Métro - Public Transport on Smartphone

Nice, but limited usefulness for Athens
Exit of the Metro station Megaro Mousikis in Athens

There is a clever "little" program for PDAs and smartphones that lets you orientate yourself in the public transport networks of many cities. It's called Métro and is available for free. You install the program and then install the databases for the cities you need it for. I've installed it on my phone (Nokia e71) and played around with it. Basically it tells you how to get from point A to point B in the maze of an unknown city's public transport net.

The program itself works fine, even though some of the user interface is a bit counter intuitive to what I got used to on this Symbian phone. The Athens Public Transport information is limited to the Metro/Treno lines, the tram, the "suburban railway" (προαστιακός) and the trolley lines. Missing are all the bus lines - which constitute probably 80-90% of the public transport network in Athens.

This limitation is probably due to the stated limitation of the Métro software, which on their site is given as "when a database contains more than 80 to 120 lines, trouble is looming". This is quite understandable, since many variations of the software have to run on limited hardware.

So, is the software still useful for visitors to Athens? If you're a tourist, probably yes. Most tourists are overwhelmed with the Athenian bus system anyway (ok, the "Métro" software could well change that with bus line info) and stick to the Metro and tram lines. In that case Métro might save you some studying of line diagrams and help you plan your tours to visit the tourist spots. Or it might help you reschedule your excursions on the spot when you feel like it. If on the other hand you want to explore Athens in depth, the ΟΑΣΑ site and pdf transport maps will be a better, but much more tiresome resource.

Posted by betabug at 13:17 | Comments (2) | Trackbacks (0)
28 February 2009

Crazy Mobile Guy

Rather anti-social

This evening I went out with friends... and played with my mobile phone while doing so. First we needed some driving directions when we had to reschedule due to a closed café... the e71's GPS and map program came to the rescue. I don't have the paid service to speak the driving directions, but since we were enough people in the car, the "co-pilot" improvised that part.

Next in the cafeteria we looked up when the Akropolis is accessible for free (in this season each Sunday). Then I started to play around with IRC. It's of course highly in-polite (or should I say anti-social) to IRC while in a cafe with other people, but it really was more of an experiment. So, 2 hours 13 minutes of IRC and aGPS access resultet in 34kByte download, 14kByte upload. Even if you have to pay full for your data, that's not so much. I kept IRC open in the cafe, while we were driving to a restaurant, during dinner and on the way home.

In that time I received a phone call, wrote an SMS, gave driving directions with the help of the GPS/maps app. The data connection didn't drop and IRC stayed connected in the background - with me checking and leaving a message from time to time. I don't think I'll let this get a habit, but it was a nice experiment: be "crazy mobile guy" for an evening.

Posted by betabug at 23:53 | Comments (3) | Trackbacks (0)
05 March 2009

Easier locking of keypad on e71

One long click

Nokia phones have traditionally always been locking their keypads by hitting the top left key ("left softkey") and then the bottom left key (on the e71 "function key"). Which is nice and dandy, but once you had a phone with a real lock button or even hardware switch, it's just clumsy. Especially since those buttons have other jobs too, so it's easy to e.g. go into the applications menu by mistake.

There is a much better solution: Download the little freeware program mLock, assign it for example to a "long press" on the calendar key - where you can find it easily by touch. The funny thing is that this will work from any application, so now I can lock the keypad while I'm in IRC... locked keys but I can still follow what's happening online.

Now if I only could get the default auto-capitalization (aka auto-shift) to be turned off totally. I hate that stuff.

Posted by betabug at 11:07 | Comments (0) | Trackbacks (0)
13 March 2009

apache and reverse DNS hostname lookups

No, no, no, it ain't me babe!

Doing reverse DNS hostname lookups on every request in apache (to have those domain names in the log file) is a bad idea as it will slow your server down, everybody seems to agree on that. Yesterday I noticed one of our servers doing just that, despite me not having remembered turning that feature on. Took me a bit of searching and cursing to find the culprit.

There are a few reasons why Apache (or Apache 2) will start looking up hostnames:

... and now please don't ask me why Apple (or is it Apache 2 at fault?) has the LogFormat with %h in their config on Mac OS X 10.5.

Posted by betabug at 10:42 | Comments (9) | Trackbacks (0)
23 March 2009

got earphones (again)

Earphones Nokia HS40... not HS47

I admit, I treated my earphones mean. They came with my phone (Nokia e71), they sounded ok, so I used them a lot. One day I pulled hard on the cord and they started to play only intermittently. I shouldn't have done that. I ordered a new pair from Last Wednesday I took my delivery. Half an hour later I opened the box and to my surprise they were stereo headphones with only one earpiece.

At first I thought I had ripped off one earpiece while opening the blister. But no, there were no dangling cables. A closer look revealed that the box contained a headset Nokia HS40. Which is not a stereo headset. The box clearly wrote HS47 - Stereo. Someone in China had put the wrong thing into the wrong box. Next morning I went back to the outlet. Patiently I explained a couple of times what had happened. I left the HS40 with them (had snapped a pic before) and they told me they would have to send it over to their technician "who will look up some serial numbers and such stuff". Right. Good luck to me and no music so far.

Saturday I received an SMS: "Your product has been replaced, you can come to pick it up." Good again, so this morning I went and indeed received a replacement. Going through the complaints moves wasn't the nicest experience ever, it took some time, but it wasn't that bad and in the end I got the product I had wanted.

Posted by betabug at 09:53 | Comments (0) | Trackbacks (0)
Prev  ...  1   2   3   4   5   6   7   8   [9]   10   11   12   13   14   15   Next