iPhone, 3 months after

…after I made an enthusiastic POST about the iPhone, now I have to make some notes on it.

Mine is contously rebooting. Every time I plug it to the MacBook and many many times I receive a call. It hangs. It slows down. It is literally unstable & unreliable. It’s a nice toy, but not a business phone.

I decided to get rid of the 3 months trial of the MobileME: I cannot anymore syncronize with my personal calendar on the MacBook cause the settings do not allow it. I got the sync to the company Exchange server enabled, and with this settings, I cannot enable the sync of the calendar from my MacBook.

So… what’s my next phone? 🙂

Cisco VPN client on “Debian/TESTING”

In the file linuxcniapi.c, there are 2 references to skb->stamp (one in line 452, one in line 315). Now in the Linux Kernel 2.6 this has been changed to skb->tstamp. This needs to be fixed in order to get rid of the compilation errors. [ubuntuforum]

I just opened that file in the Cisco client source code… modified stamp to tstamp… and it compiled perfectly.

I’m using Linux spawn-virtual 2.6.18-6-686 #1 SMP Mon Aug 18 08:42:39 UTC 2008 i686 GNU/Linux with vpnclient-linux-4.6.02.0030-k9.tar.gz

UPDATE —————– Version 4.8 and up REQUIRED
…either else it gives many problems with some privileges delegation

finally: http://wiki.ubuntuusers.de/Cisco-VPN-Client

bash and return codes

let’s start… the aim is too see the behaviour of the bash when we deal with return/exit codes

spawn-2:trials zeph$ vi pointer.c

#include 

int main(){
        printf("Hello world!!!n");
}

spawn-2:trials zeph$ make pointer
cc pointer.c -o pointer

wow… it compiles, I still remember how to code! 🙂

well… I found this online course to refresh my memory

spawn-2:trials zeph$ ./pointer
Hello world!!!

and runs, also, amazing!

spawn-2:trials zeph$ ./pointer && echo ciao
Hello world!!!

&& interconnects the future of both the processes… the second one is executed only if the first one exits correctly (it is usefull when you have a long run and you want to go away for a beer)

spawn-2:trials zeph$ ./pointer || echo ciao
Hello world!!!
ciao

or if you want to be sure that it fails… use the || (logical OR)

let’s modify again the file… and add the proper return code

spawn-2:trials zeph$ vi pointer.c

#include 

int main(){
        printf("Hello world!!!n");
        return 0;
}

spawn-2:trials zeph$ make pointer
cc pointer.c -o pointer
spawn-2:trials zeph$ ./pointer && echo ciao
Hello world!!!
ciao
spawn-2:trials zeph$ ./pointer || echo ciao
Hello world!!!

as you see, this time the behaviour is inverted

sto diventando noioso

lo so…

ma non potevo non collegarmi per bloggare visto che sono sul treno di ritorno da Francoforte a Düsseldorf e sono connesso al wifi del treno e da li a internet, in banda larga… mi chiedo solo che tecnologia stiano usando come portante principale dal treno verso l’esterno per consentire a tutti i viaggiatori del treno un quantitativo di banda sufficiente…

che figata! 😉