# Friday, November 23, 2007

[Phun] Bank Robbery

I couldn't stop myself from sharing this one. It's amazing...

Bank Robbery in Downtown Los Angeles!

(it doesn't look so real)

# Monday, November 19, 2007

First day without a car

It sucks. It sucks big time :(

# Monday, October 29, 2007

Wierd eclipse configuration

On a recent project I joined I was amazed to see how things were working in regards to the IDE.

First, the environment was not uniform, there were:
  1. An ad hoc approach towards the IDE - different IDE versions and different set of plugins. Good plugins were not easily distributed among all the developers.
  2. Different way of getting and storing the local version of the source code - different plugin for the IBM ClearCase. Some people even downloaded and committed the source manually - through an outside (to the IDE) application.
  3. no one-step build even for debugging - the building required a few manual steps to build and run. Some developers did not use debugging, some used it manually since the IDE could not automatically deploy everything
So after some days on the project I proposed to make a uniform environment that would have automatic building and deploying.

Maybe now's the time to give some info on the project: Web project including ajax written in java, IDE: Eclipse. Lot's of legacy code and legacy dependencies (which had to be removed).


The problems:
  1. Scattered source code and resources:



    There were several projects and each had the source in a
    java directory, some web resources in a web directory and all kind of tests plus test resources in a tests directory.
  2. Dependencies on numeroous (~150) libraries scattered around.


So first I had to separate web content from source code. This could work with linked folders. So I created a few java projects with only the source code.
Then create a new web project that depended on all the other projects and had several linked resources for all the web content. The hardest thing was that in an Eclipse web project one can have only one folder that's gonna be the root one, vis à vie you can't have two directories with web content that shall be deployed in the web root folder. (At least it looks that way when one goes through the configuration of a web project)


After some research it appearred that actually this was possible (manually):
Web-project/.settings/org.eclipse.wst.common.component:


So after this was done the only thing left was to configure the deployment to different servers.

So the moral of that story is that even with a directory structure that complicated one could be able to abstract all that from developers and create an IDE that can do most common tasks automatically.
# Saturday, October 27, 2007
# Wednesday, October 24, 2007
# Friday, October 19, 2007

Bowling sucks

I just can't play this freakin' game. I hate it. At least today for a first time in my life there were 2 games at which I was NOT last. I don't care what you think - for me this is a progress. Even in one of the games I was 1 point from being second. And I'm playing with with a bunch of guys that can't do a 100. I really suck at this game...


...but who cares - I had a really good time :)

What the F am I doing home on a Friday night? I'm just getting old :)

# Friday, October 12, 2007

Where's the technical part of this blog?

Lately (maybe even since I started the blog) I haven't written a technical post in this blog. Mostly I'm posting fun stuff (like the last one) or complaining about my fights with management (like this) or talking about life and the endless string of obstacles it puts when one strives for happiness (like this one).

Why's that? I don't know. Maybe writing a technical post requires more time than just the usual gibberish. Maybe I just need an outlet for the negative energy that I have. Maybe work is getting too much. God knows what else.

Anyway, I have some interesting technical things I wanna share, they waiting in the drafts, but need to be further investigated. I plan to do that sometime soon. I kinda, wanna liven up this blog, and not create yet-another-started-and-left-out-because-I-lost-interest-but-wanted- -to-try-out-in-the-first-place-because-it's-what-everybody-does-these-days blog.

Also I guess I'll continue to waste the time of everybody that reads this blog with the things that are on my mind, but, hey, it's a good place to channel out bad energy :)

I also noticed that I already have readers. Interesting. I didn't expect it. Haven't told a lot of people about it. Thank you for the attention :)

Have fun,
M


DeveloperException ?!

This is what I stumbled upon while working on my current project:



WTF?
# Tuesday, October 02, 2007

Fighting lost causes

I recently realized that I want to be the moral winner of every argument. The price doesn't matter. I'm ready to sacrifice everything for it. I just feel better if I do win. I take personally every injustice in the world and sympathize with the victim and not the winner and I take it personally if the injustice is not righted.
... and I go too far. And when I go too far I start regretting for loosing it. Then I become too humble and people take advantage of it.

It's hard to accept a lost cause, so I fight them long after they're clearly lost. I guess my ego cannot accept failure. I guess I have an ego that's too big. (Did you notice how many times I started my sentence with an 'I' ?)

But at least I realize it, right?

Here's a good article on ego:
Are You an Egomaniac?
(read the whitepaper at the end - it's worth it).

# Tuesday, September 11, 2007

To try not to take it personally

Sometime ago I was having some "disagreements" with "higher management". The guys (from the "higher management") had no grounds really, did speak in a tone that was inappropriate and tried to convince me that I should feel guilty defending my point of view.

At some point I was really feeling bad, couldn't work and it was really difficult to focus on the tasks at hand. I did take it personally. I was expecting the righteousness to triumph. I was expecting the other side to confess of being wrong and apologize. That didn't happen.

I'm a Leo and I expect righteousness. I did not take into account my purpose of discussing my issues with the higher management.

At some point one of the guys on the other side took things personally and lost his temper. This sobered me up. Then I realized that his behavior is counter-productive. His loosing his temper has worked in my advantage.

What I'm trying to say in this post is that taking things personally will probably not work in one's favor. There will be so many times that things will not look right. At some point I did ask myself what is the purpose of the talk with the management. When I answered my question I realized that in order to achieve it I should change my behavior and stop asking god to administer justice.

Keeping self control in times like that is vital. At some point in time it will come back. Loosing one's temper will also at some point strike back and not in the good way.

The other important lesson I learned is: patience. Currently things look like I've lost, but the truth is that I couldn't have won anything more, so getting angry will only make me loose more.