Sunday, April 29, 2007

Monday

Monday blues.... zzz

Dad flies back this afternoon... :( won't be back for another month
Sure am going to miss him...

Saturday, April 28, 2007

Parents home~~

Today my mom and dad are back from jakarta =)
Awww my dad's getting older and older :( heart aches when i look at him
To have left for 7 years overseas I felt so guilty :/

Now must spend more time with my family =)

Thursday, April 26, 2007

Class Inheritances (shadowing & overriding)

An example by Microsoft on derived classes, overriding, hiding virtual method (i think it's call shadowing), it just basically means you can still use the inherited function along with the base function of that class. I've added an extra line of code to show the difference for Meth2()



public class MyBase
{
public virtual string Meth1()
{
return "MyBase-Meth1";
}
public virtual string Meth2()
{
return "MyBase-Meth2";
}
public virtual string Meth3()
{
return "MyBase-Meth3";
}
}

class MyDerived : MyBase
{
// Overrides the virtual method Meth1 using the override keyword:
public override string Meth1()
{
return "MyDerived-Meth1";
}
// Explicitly hide the virtual method Meth2 using the new
// keyword:
public new string Meth2()
{
return "MyDerived-Meth2";
}
// Because no keyword is specified in the following declaration
// a warning will be issued to alert the programmer that
// the method hides the inherited member MyBase.Meth3():
public string Meth3()
{
return "MyDerived-Meth3";
}

public static void Main()
{
MyDerived mD = new MyDerived();
MyBase mB = (MyBase) mD;

System.Console.WriteLine(mB.Meth1());
System.Console.WriteLine(mB.Meth2());
System.Console.WriteLine(mD.Meth2());
System.Console.WriteLine(mB.Meth3());
System.Console.ReadLine();
}
}



Output:

MyDerived-Meth1
MyBase-Meth2
MyDerived-Meth2
MyBase-Meth3

Wednesday, April 25, 2007

Rainy weather, structs & classes

As usual, woke up this morning to a big downpour...so snoozed for 1/2 hour and still there's downpour....snoozed another 10 minutes still downpour...in the end i gave up...woke up my sister...and we both came to work wearing slippers...with shoes in bags.

Just realised the difference between structs and classes in .NET.

Classes are referred type whereas structs are not. Structs are just valued referenced.

Not sure if i'm making sense here, here's an example from Microsoft.



using System;

class TheClass
{
public int x;
}

struct TheStruct
{
public int x;
}

class TestClass
{
public static void structtaker(TheStruct s)
{
s.x = 5;
}
public static void classtaker(TheClass c)
{
c.x = 5;
}
public static void Main()
{
TheStruct a = new TheStruct();
TheClass b = new TheClass();
a.x = 1;
b.x = 1;
structtaker(a);
classtaker(b);
Console.WriteLine("a.x = {0}", a.x);
Console.WriteLine("b.x = {0}", b.x);
Console.ReadLine();
}
}



output:

a.x = 1
b.x = 5

Boring Tuesday

Hmm....doing some testing on an excel app

just helped a colleague set up his c# application...
as he wants to learn it for a job interview

my back is aching.... something is very wrong with my body!

someone dropped a cookie on my desk, my heart almost skipped a beat

ok back to boring reality.

Sunday, April 22, 2007

Monday Blues, Monday Woes

Ahhhh! headache! since last night!
AHHHH!

I don't know why my right eyeball is hurting... and i have a throbbing headache.

I don't have much to do at work nowadays, cause i've tendered and there's one last project to finish up.... maybe a couple but there's only one dev doing it so i have to wait....

Here's a very nice song, and my attempt at translating, i've got to find a korean to let me know if i'm doing it correctly

K.Will - 하리오

내 삶이 오직 한번뿐이면
If I only have one lifetime
단 한번을 사랑한다면
If I can only love once
그 시간이 다하도록
For the whole time
그대만을 사랑하리오
I love only you
다시 태어날 수 있다면
If I can be born again
몇 번이고 살 수 있다면
If i can live several times
그대 머무르는 곳에
This place you are at
내가 있고 싶어라
I want to be here
아침에는 그대 입술을
In the morning, your lips
점심에는 달콤한 목소릴
In the afternoon, a sweet sound
또 저녁에는 그대를 안고서
And at night I embrace you
꿈속에 들고 싶죠
Want to hold you in my dreams
그게 나의 행복함이어라
It is my box of happiness
내 꿈속에선
In my dreams
영화 속의 연인처럼
Like lovers in a movie
그대 손길 닿는 그곳이라면
If you reach out your hands
하나뿐인 나의 사랑
Only once my love
그곳에 있으리
I will be there
또 눈을 뜨면
Again my eyes...?
제일 먼저 보게 되고
The very first look
내 사랑을 속삭이고 싶어요
I want to whisper my love
내 사랑을 또 내 마음을
My love and my heart
그대의 곁에서
By your side

내 삶이 오직 한번뿐이면
If I only have one lifetime
단 한번을 사랑한다면
If I can only love once
그 시간이 다하도록
For the whole time
그대만을 사랑하리오
I will only love you
다시 태어날 수 있다면
If I can be born again
몇 번이고 살 수 있다면
If i can live several times
그대 머무르는 곳에
Where you are at
내가 있고 싶어라
I want to be where you are at
웃을 때는 그대 생각에
Your laughter I think
눈물이 날 땐 보고 싶음에
Makes me want to tear
그대가 나만의 사랑이기를
You are my love
언제나 바라는 건
Always wish
끝도 없는 그리움이어라
This is a totally endless yearning
내 꿈속에선
In my dreams
영화 속의 연인처럼
Like lovers in a movie
그대 손길 닿는 그 곳이라면
If you reach out your hands
하나뿐인 나의 사랑
Only once my love
그 곳에 있으리
I will be there
또 눈을 뜨면
Again my eyes...?
제일 먼저 보게 되고
The very first look
내 사랑을 속삭이고 싶어요
I want to whisper my love
내 사랑을 또 내 마음을
My love and my heart
그대의 곁에서
By your side

내 삶이 오직 한번뿐이면
If I only have one lifetime
단 한번을 사랑한다면
If I can only love once
그 시간이 다하도록
For the whole time

그대만을 사랑하리오
I love only you
다시 태어날 수 있다면
If I can be born again
몇 번이고 살 수 있다면
If i can live several times
그대 머무르는 곳에
This place you are at
내가 있고 싶어라
I want to be here
혹시나 그대 내 곁을
Maybe you are by my side
떠나간다면 내 삶은
If you leave, my life
그날로 모두 멈춰지겠죠
All my days will stop
I love her I love your body
and I love your everything
내 삶이 오직 한번뿐이면
If I only have one lifetime
단 한번을 사랑한다면
If I can only love once
그 시간이 다하도록
For the whole time

Tuesday, April 17, 2007

Resignation

I've tendered my resignation letter on Monday.

This is my ever first resignation!

My last day at Microsoft is 16th of May 2007.
I will start at Morgan Stanley on the 21st of May 2007.

Feeling scared, happy, excited and anxious.

Hopefully I won't let my new employers down!!!

Friday, April 13, 2007

I've Made A Decision!

Okie =)
I've declined Barclays kind offer and accepted Morgan Stanley!
Have also recommended a fellow colleague from my team to go for Barclays. I think he will fit in much better than me since he's more experience at development.
I hope one day I can try for Barclays again when I am better.

Meanwhile I hope to grow in Morgan Stanley.
Leaving MS to go to MS!^_^

Tuesday, April 10, 2007

Hmmm...

Wednesday... zzz
Waiting is a pain...
Have given expected salary to Barclays Capital... zzz i hate waiting!!!

Barclay agreed to my expected salary!

I've quoted Morgan Stanley less cause they cannot match Barclays... but i think i'll be taken care better at Morgan Stanley... whereas at Barclays I will just get drilled at to perform...

i guess i'm not that money minded at all huh?

Wednesday, April 04, 2007

OMG! (good version!)

OK! today is a special day...
in the morning i had a 3rd & 4th round of interview with Morgan Stanley...
and the best question of the day... "how many hairdressers are there in Singapore?"
-_- naturally speaking... the interviewer and me calculated till we were confused...

And I just got news that I have managed to impressed the interviewers at Barclays! I really like the interviewers but instincts told me that i'll be happier and at ease at Morgan Stanley.... how? :|

Monday, April 02, 2007

Interviews interviews....

Many of those looking for jobs definately will dread interviews....
After taking two 2hr tests for .NET and SQL2000 last week, i finally got a chance to have a face to face interview with Barclays Capital today. Boy did they drill my technical skills! I couldn't answer around 20% of their technical questions (.NET Framework, ASP.NET 2.0, OOP, SQL2000, SQL2005) and roughly 99.99% of their finance questions! :|

Some of the questions i was asked:

What is overriding?
What is overloading?
What are ViewState?
What are postbacks?
What are triggers?
What are the SQL joins and explain them.
What are indexes?
What is a dividend?
What is credit risk?
What do you know about investments?

Nevertheless, it was a good experience, the interviewers were nice, I could guess that they will be a joy to work with. I just couldn't help smiling at them ^_^ hehehhehehehehehe