Showing posts from June, 2010

Nokia SMS to flat files

I have a Nokia phone. It's quite a simple phone compare to the androids and iPhones we have on the market but nevertheless it makes calls and sends messages. From time to time though, it gets full of sms messages and I tend to archive them to have them all in secure places.

Using Nokia suite, on a Windows PC I have access to (the machine is not mine), I can download all the messages however they are in vmg format.

I have written a small Erlang module to convert this files to plain text. I might extend this module in the future, for now, it's so small that I'll post it here. The only parameter we need to pass to the exported function, is the path to the folder the vmgs are on. It will loop through every file and create an equivalent txt with the same name in the same place.

%%get all the svg files in the folder

Ledger the ledger

Ones upon a time, there was a consultant. He only had one client nevertheless he had to pay his taxes. He had to pay insurance and phone expenses. He also had to pay car expenses and he wanted to buy a house. All these numbers started getting messed up in his head and he needed a way out.

After checking out few finance management software he decided stick with ledger. Hell! that ones a right choice. He never had to look back.

Stories aside, life it's never a flat walk but if you are keen on learning, ledger is really a strong alternative. You keep all the transactions in a flat file which you can edit with you favorite editor. An example of a transaction follows:

2010/06/11 cash
Expenses:Other 140 EUR
On the 11nth of June a transaction with a concept of "cash" was made. 140 Euro where transferred from HSBC to an Expenses:Other account.

The most important capability, is however, the ability to query this ledger. Summon the command "ledger" on the com…