0x2A-Blog.org
Damn, it's about computers!

[Blog] [Feed]

Weblog:

Searching through files in Linux
Written on: 2009-05-15T21:19:15Z

(I'm writing this because somebody asked me about it.)
This is a small function which allows you to search in files without installing a special program.
For BASH:
function findin { find -type f -exec grep -q "$@" {} \; -print;}
For C-Shell:
alias findin 'find -type f exec grep -q \!* {} \; -print'

UDP flood performance on iPhone OS
Written on: 2009-04-27T16:27:47Z

I just did some experiments with a small UDP flood application on my iPod Touch with iPhone OS 3.0 (7A280f), just to know how much packets I can get out of the device. But before we start talking about numbers I want to give you some details about the environment:
The UDP flood I'm using is based on the work of Mikael Voss and my notebook (An MacBook Pro with Mac Os X 10.5.6, 2.4GHz and 4GB RAM.) is connected to the iPod Touch by an AdHoc wireless network.
Result: If I flood my computer I get ~2400 incoming packets per second and my systemload goes up by ~10% (This is with no rules in ipfw.). If I do it the other way around and flood from my computer to the iPod I get ~18.000 packets and the iPod just hangs (You can do absolutly NOTHING.). By the way this was done without jailbreak by just using the standard iPhone SDK. I don't know if I should try to get it on the AppStore as I'm pretty sure that Apple will block it, but maybe I will make it open source. Some screenshots:

(Be aware that the software is pure work in progress, especially the text needs to be rewritten.)

Informations regarding the 'public release' of NeoReader
Written on: 2009-04-18T15:19:24Z

Some time has gone since the last post. This is mainly because I had a small accident with my left hand which stops me from coding and in addition I'm actually in vacation until monday. I talked to Mikael last saturday and we're now working on the first usable version. This step can take some time as we will rewrite the whole UI stuff. A this point I also want to say thank you to all the guys which have donated money to us, until now we have received a total of ~75EUR.
If you are interested in NeoReader just grab our feed and throw it in your preferred newscatcher, we will keep you informed on our progress.

NeoReader: The next steps.
Written on: 2009-04-06T12:01:40Z

So here is a small roadmap about the future of NeoReader:

So that's all for the beginning, if you have any questions about NeoReader feel free to contact me at my email address: nezza (at) ymail (dot) com

First Openmoko developer challenge
Written on: 2009-04-05T22:33:24Z

I just received an email which told me that we (A friend of mine, Mikael Voss, and me) are one of the winners of the first Openmoko developer challenge. (We wrote NeoReader.) I'm very surprised by this, as NeoReader was written in ~5 days as I missed the beginning of the competition. It also brings up some work for me, as I will now have to rework the code so that it is more than a hack (As which I would describe it at the moment.) and so that it gets really usable. Also I now have to create a small project page and a TRAC to track the bugs and featuresrequests. Thanks to the jury (Michael Lauer, Marco Trevisan, Aapo Rantalainen and Risto H. Kurppa) and thanks to the community, I hope that we will get a good working version in one month or so.

Getting contacts from Windows Mobile onto iPhone OS
Written on: 2009-04-04T01:48:40Z

Yesterday I tried for a colleague of me to copy his contacts from his HTC Touch Cruise onto his new iPhone.. It was horrible! It seems like there is no chance to get the contacts of the Windows Mobile device onto the iPhone without using Outlook! The only solution I've ound so far is the following: Use TBexport (A small application for Windows Mobile which generates a Thunderbird compatible CSV file) to get a CSV file with the contacts out of the phone, load it into Thunderbird (If you have it installed.. if not, click here) and than (as Google Mail and Yahoo! Mail are unable to read the CSV file which TBexport gives you) export it as LDIF, create a Yahoo! account, go to contacts, import, select 'Netscape (.ldif)', choose the ldif file you've just created with Thunderbird and upload it. When you've done this you can configure your iPhone in iTunes in the tab 'Information' to use the contacts from a Yahoo! Mail account, synchronize and be happy with your contacts!
I can't believe that this is the only way to get your contacts from your PocketPC onto your iPhone..