Thursday, February 19, 2009

Wireless Network not working on Ubuntu after Suspend/Hibernate

It never happened to me til about a month plus ago. Didn't bother to fix it 'til just now.

It's a bug reported at 53310, and it's fixed (on my machine) by doing:
modprobe -r ath_pci
modprobe ath_pci

Wednesday, February 18, 2009

Brush up your Support-Fu, can?

Wasted about an hour at the Public Bank HQ this morning, more than 30 minutes on waiting, 2 minutes on getting confused and 5 minutes on getting an answer.

Long story short, yes.

I want to start a long term investment on a mutual fund that I selected and I do not have a saving account in this bank, which you will need to have $ transferred monthly to the investment account. I have my forms, my 500K bank draft (nuh, don't trust this) and my temporary IC (as I lost my purse a few days ago).

There.. reached my turn to be served by this first customer service dude.
Dude A: So you want to open a saving account for that?
Dude A: You will need a minimum of MYR 250. Can I have your IC please?
Me: I do not have an IC.. now. But I can show you my temporary IC.
Dude A: I am sorry sir, we will need that otherwise the system won't pass you.
Me: So does it mean I have to wait 3 weeks before I come here?
Dude A: Yes. I'm sorry.
Me: Options?
Dude A: We need your IC, the system has to scan it.
Me: And there's nothing I can do here anymore today, right?
Dude A: Yes, I'm sorry.
I walked away then paused, and I was annoyed by not giving much details about how exactly it works. I spent my morning to be stuck in the jam, some time to find a parking, waited on the bench, and I got knocked out with a confused mind.

I waited to be served again and this time (by a lady) I got my answer. To start an investment, you do not need a saving account, it's only for the convenience of not needing you to visit the bank to deposit $ for the investment every month. Basically, I could just start it by dumping all my 500K into it, which of course is not my plan. So there're a few options:
  1. Create the investment account, pass them my 500K.
    1. Come back 3 weeks later to open a saving account, OR,
    2. Come back every month to deposit your $.

  2. Wait for 3 weeks to open both accounts and start the investment with your desired amount of $.

I have some Customer Service experience (I worked in both the Atlassian and MuleSource team) and there're a number of things that you have to avoid while handing a ticket / customer.
  1. Never assume that the customers are smart. Like me, I was clueless. So, ask them questions.
  2. Don't jump into solution too fast. Get the context right and make sure that both of you are on the same understanding.
  3. Always give them a solution, if not, workarounds, still not, explain why.
Public Bank, you could lose me as a customer, I still have 3 weeks to think.

Sunday, February 15, 2009

InflaterIjputStream.class

Exception in thread "main" java.lang.NoClassDefFoundError:
java/util/zip/InflaterInputStream
at java.util.zip.ZipFile.getInputStream(ZipFile.java:212)
at java.util.zip.ZipFile.getInputStream(ZipFile.java:180)
at java.util.jar.JarFile.hasClassPathAttribute(JarFile.java:463)
...

In the rt.jar, InflaterInputStream.class was named InflaterIjputStream.class. How could this happen? Fixed the issue by repackaging the zip.

yc

Tuesday, February 10, 2009

JVM failed with Segmentation Fault

This happened completely out of a sudden and truly random. The JVM that runs our business logic app died last night and could never be brought up anymore due to segmentation fault. (It suicided quietly)

The last few lines via strace:

DEBUG DefaultListableBeanFactory [main]: Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor'
[02-10 10:22:30] DEBUG AnnotationTransactionAttributeSource [main]: Adding transactional method [createUser] with attribute [PROPAGATION_REQUIRED,ISOLATION_DEFAULT]
) = ? ERESTARTSYS (To be restarted)
+++ killed by SIGSEGV +++

It could just be a JVM bug (not exactly sure which, but suggested by John Raymond Wold, W_work in #java@irc.freenode.net) and upgrading to the newest version fixed the problem.

- yc