Pages

Tuesday, 30 November 2010

best vi vim macvim command reference

I have recently started using MacVim for my Ruby stuff I write for fun. It is amazing things you can do using this text editor combined with all those plugins.

I installed Janus version (https://github.com/carlhuda/janus) of MacVim and turned it to a proper IDE for ruby code.

I found this website that has absolutely everything about vi - best VI reference:
http://www.rayninfo.co.uk/vimtips.html

I use Janus on Linux as well and works perfectly as well.


cheers

Leonardo

Wednesday, 24 November 2010

Optus inefficiency sucks


Optus Systems Nightmare
...


I have got an Optus mobile post-paid plan in Australia and I am very unhappy with the service provided by this company.

They are so bad, so inefficient that deserves one post so we can make all that shit public. Maybe they will care about it...

I set up an online account to check my plan, usage and payments. For some strange reason, the system "locked" my account and when I try to login I get the message:

"To protect the security of Optus customers, a limit is placed on the number of login attempts per session. Please verify your User Name and Password and try again later."

Then I call 1300 300 937, speak with some unprepared call centre people and after 35 minutes, the teller says:

- Yes, sir, your account has been "locked"
- We can't unlock because there is a problem in the system, so you'll have to create another on-line account.


This means I will lose all configurations because of their lack of capability to build systems and solve problems.

Other funny thing happens when I try to login via iPhone app. It says that my account has been temporarily locked. If they can't unlock, Why the fuck they say "temporarily"???


I went to the Optus website, clicked in "register" and set up a second on-line account, according to the bad advice from call centre people.

When I try to link "link billing account" and enter my Optus customer number, I got the following error message:

"This service has previously been added to another web profile. Please login to My Account using your other web profile. "

Now I am in a situation that I can't fix my first account and can't set up a second one.

For us that work in IT, it is just unbelievable hear such a huge bullshit. They said that the IT guys are working on it - bullshit again!

it is amazing how they can lock your account but they can not unlock it.

All these dodge situations occur specially when you use Internet services (on-line account or iPhone app). If you are an IT or tech person and want to take the most of technology AVOID Optus.


Other Problem to prove how bad and inefficient Optus is:

When I migrated from pre-paid to post-paid, my name and surname were wrong in the system. They said that they had to fix my name before start the post-paid contract.

The teller made a call and ask to change my name. But she changed my first name only. she called again and ask to change my surname. She got an answer back saying that is is not possible to change the name more then once a day because the system doesn't allow that. Change your name on Facebook and see the change straight away.

If you had any bad experience with Optus feel free to share. I will send this link to Optus and all my friends. I am stuck in a year contract...




I figured it out that I am not the only one pissed off with Optus:
http://bella2007.blogspot.com/2007/10/optus-sucksdont-ever-go-there.htm
http://www.facebook.com/group.php?gid=23162216637
http://www.facebook.com/group.php?gid=23162216637


cheers

Leonardo

Monday, 22 November 2010

Java Sun JDK 1.5 or 1.6 no Ubuntu 10.10 or 11.04 (updated: 01 Jun 2011)

As we know, Java 1.5 has not been maintained anymore and Java 6, has been hanging around for a while and Java 7 is coming soon. But it doesn't mean everybody has to move on to Java 1.6. The problem in Ubuntu is they force you to use OpenJDK. Worse yet, they don't let you downgrade to 1.5.

There are lots of legacy systems running on Java 5 and we can't forget that. It is also about freedom of choice. If you want to install Sun JDK 5 or 6 Ubuntu should not make your life difficult.

Ubuntu 10 and 11 don't allow us to natively (or easily) install Sun JDK's via apt-get.

It is so frustrate when we try to install it on Ubuntu 10.10 and have no luck:

sudo apt-get install sun-java5-jdk (or sudo apt-get install sun-java6-jdk)

After installed, the JDK will go to this directory: /usr/lib/jvm/java-6-sun

You can see all JDK's installed running the following command:

sudo update-java-alternatives -l


After a while, finally got the solution for this:

sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse"

sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse"

sudo apt-get update

sudo apt-get install sun-java5-jdk



Check it out just to confirm:

sudo update-java-alternatives -l


The commands above worked for me in Ubuntu 10 and 11, installing Sun JDK 1.5 and 1.6.
If it doesn't work, try to add the following repositories and repeat the process: (anonymous suggestion - thanks a lot):

sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse"
sudo add-apt-repository "deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse"


Cheers

Leonardo