Read the fucking logs? Yes, it happened so many times, on so many guys. Something that I always try to avoid.
Say, you hit into a problem, you looked into the log file, you could see a bunch of error messages and stacktrace, you read the first line, you didn't bother to read the second and further.
You tried to change the configurations or something that you thought would make sense but the same (or new) error came out. You spent quite some time on it like an hour or a day.
You asked me / your supervisor to look into it and they found clear error messages or indications somewhere down the error log. You felt sorry, you found yourself stupid to waste so much time, you wished to be in the hall of shame for that day.
If this is a recurring habit of your, can you make "reading logs carefully" as a troubleshooting principle?
Aflexi, FOSS, Java, Software Engineering, Politics, the Beings and Nothingness.
Tuesday, March 31, 2009
Friday, March 20, 2009
Some Particulars like Room Names in Aflexi
This is truly a random post. During the lunch time at Full House (NZX), I talked about red-tape/bureaucracy in corporates that I can't stand, then exchanges of some Oz slangs.
When I got back to the office, I came across a blog titled "101 Guide to going to the Men's toilet in Sydney" in my ex-company's internal blog (we still maintain a good relationship basically).
Here're a number of things I raised and discussed over in a meeting an hour ago with the team:
How're rooms named in your office?
When I got back to the office, I came across a blog titled "101 Guide to going to the Men's toilet in Sydney" in my ex-company's internal blog (we still maintain a good relationship basically).
Here're a number of things I raised and discussed over in a meeting an hour ago with the team:
- The developer's roster, tasks and deadlines.
- The right ways to use the toilet.
- The ashtray pot and your ciggy.
- The cups and basin.
- The room names.
How're rooms named in your office?
Thursday, March 5, 2009
404 on Nexus
Was stuck for a few minutes as Sonatype Nexus was reporting 404 while I tried to access a POM file. Expiring the cache (right clicking on the troubled repository) is the fix of it.
Wednesday, March 4, 2009
Working on Branches and the Stable Trunk
I used to work on the trunk because for all the projects I worked on, it's either I was the sole developer or the team ensured that everyone code check-in has passed the local tests. Otherwise, we created (we still) branches for bug fixes, large code for new features, etc.
About 2 months ago, I had a short git session with Kamal and he shared with me the idea of story/branch. And as my team started to grow with more dev guys, I feel the need of encouraging more branching and now this has become a rule. For a project with automated tests defined with CI set up, a stable trunk is guaranteed and this practice can fit very well into it.
We don't use git but Subversion because that's how we started and we are still comfortable with it now (most of the time).
If you have a working copy on trunk, here're some simple steps to switch to a branch (svn switch won't work):
About 2 months ago, I had a short git session with Kamal and he shared with me the idea of story/branch. And as my team started to grow with more dev guys, I feel the need of encouraging more branching and now this has become a rule. For a project with automated tests defined with CI set up, a stable trunk is guaranteed and this practice can fit very well into it.
We don't use git but Subversion because that's how we started and we are still comfortable with it now (most of the time).
If you have a working copy on trunk, here're some simple steps to switch to a branch (svn switch won't work):
svn cp https://repo/trunk https://repo/branches/module-version-storyname
cd /path/to/trunk/working/copy
svn diff > /tmp/diff
svn co https://repo/branches/module-version-storyname
cd module-version-storyname
patch -p0 < /tmp/diff
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:
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.
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:
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.
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?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.
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 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:
- Create the investment account, pass them my 500K.
- Come back 3 weeks later to open a saving account, OR,
- Come back every month to deposit your $.
- 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.
- Never assume that the customers are smart. Like me, I was clueless. So, ask them questions.
- Don't jump into solution too fast. Get the context right and make sure that both of you are on the same understanding.
- Always give them a solution, if not, workarounds, still not, explain why.
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
Subscribe to:
Posts (Atom)