Monday, December 06, 2010

Droplets

by Colbie Caillat (feat. Jason Reeves)

I'm leaving you
I'm not sure if that’s what I should do
It hurts so bad
I'm wanting you but I can't go back
Trying to find
That all elusive peace of mind
Stuck here somehow
Shrouded beneath my fear
And now, I don’t need it

'cause I'm walkin' down this road alone and figured all I'm thinking 'bout is you, is you my love
And my head is in a cloud of rain and the world it seems so far away and I'm just waiting for
The droplets, the droplets

You left a mark
I wear it proudly on my chest
Above my heart
To remind me that I feel the best
When I'm with you
To me everything is effortless
You know its true
My eyes are painted with regret and I don’t need it

'cause I'm walkin' down this road alone and figured all I'm thinking 'bout is you, is you my love
And my head is in a cloud of rain and the world it seems so far away and I'm just waiting to fall and sink into your tears

You are like the raindrops, the raindrops falling down on me

You left a mark (you left a mark)
She left a mark (he left)
She left (he left)
And I don’t (I dont) need it.

Thursday, August 26, 2010

How many professional piano tuners are there in Melbourne?


This question was asked at an interview for an FX-options trader position at a Big Four Australian bank.

The question in full

We want you to tell us how many professional piano tuners there are in Melbourne, and walk us through your logic for coming to your final answer.

The candidate’s response

• 4m people in Melbourne
• Average household = approximately three people, therefore 1.3m households
• Households are divided into 1/3 wealthy, 1/3 middle, 1/3 lower-income brackets
• Wealthy more likely to afford a piano. Estimate 45% of wealthy households have a piano, middle 30%, lower 15%: provides average 30% of households have a piano = roughly 400,000 pianos in Melbourne
• Piano needs to be tuned every three years, therefore 130,000 pianos need tuning each year in Melbourne
• Tuning takes 1.5 hours, therefore 200,000 hours of Piano tuning work in Melbourne
• Full-time piano tuner works 40 hours a week, therefore 40 x 52 = 2000 hours worked per year after annual leave
• 200,000/2,000 = 100 piano tuners required to service Melbourne area

Then they asked me how I would go about confirming my logic, and my response was "via the Yellow Pages".

The answer

They then pulled out the Yellow Pages and told me there were actually about 150 piano tuners in Melbourne.

Did the candidate get the job?

The candidate ended up taking a different role that he/she was applying for simultaneously, so he/she had exited the interview process before an offer/rejection was made.

Wednesday, May 12, 2010

Douglas Adams said it best!


The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at and repair.

by Douglas Adams


Saturday, May 08, 2010

Java Operators

An operator is a symbol that operates on one or more arguments to produce a result.

OperatorPurpose
+addition of numbers, concatenation of Strings
+=add and assign numbers, concatenate and assign Strings
-subtraction
-=subtract and assign
*multiplication
*=multiply and assign
/division
/=divide and assign
%take remainder
%=take remainder and assign
++increment by one
--decrement by one
>greater than
>=greater than or equal to
<less than
<=less than or equal to
!boolean NOT
!=not equal to
&&boolean AND
||boolean OR
==boolean equals
=assignment
~bitwise NOT
?:conditional
instanceoftype checking
|bitwise OR
|=bitwise OR and assign
^bitwise XOR
^=bitwise XOR and assign
&bitwise AND
&=bitwise AND and assign
>>shift bits right with sign extension
>>=shift bits right with sign extension and assign
<<shift bits left
<<=shift bits left and assign
>>>unsigned bit shift right
>>>=unsigned bit shift right and assign

Wednesday, April 21, 2010


A wise man once said,

"It is better to marry a grateful woman,
than to court a beautiful debutante.
"

Saturday, April 17, 2010

Mockingbird

by Rob Thomas

Here we stand
Somewhere in between this moment and the end
Will we bend
Or will we open up and take this whole thing in

Everybody else is smiling
Man, their smiles don't fade
And you don't even wonder why
You just don't think that way

Maybe you and me got lost somewhere
We can't move on, we can stay here
Maybe we've just had enough
Well maybe we ain't meant for this love

You and me tried everything
But still that mockingbird won't sing
Man, this life seems hard enough
Well maybe we ain't meant for this love

Take my hand
And I will lead you through the broken promise land
Yes I can. Oh, yes I can
I can be there when you need it
I'll give it all 'til you can't feel it anymore

I don't wanna love you now
If you'll just leave some day
I don't wanna turn around
If you'll just walk away

Maybe you and me got lost somewhere
We can't move on, we can stay here
Maybe we've just had enough
Well maybe we ain't meant for this love

You and me tried everything
But still that mockingbird won't sing
Man, this life seems hard enough
Well maybe we ain't meant for this love

Maybe we ain't meant for this love

Maybe we ain't meant for this love



Status


When we talk about status, we don't mean privilege or wealth (although status is often related to those things and often displayed with such things as a nice watch). Rather, status is the manner in which your conduct tells other people who you are. This isn't an issue of economics or breeding, it's an identity issue.

Although status is social, it's not simple popularity either. We as human beings literally require, on a basic evolutionary level, the knowledge that they're safe, accepted and among allies. Being held in high esteem by everyone around us isn't just a nice thing to feel; it's an affirmation that we exist and that all is well. By this same mechanism, status tells us, and everyone else, our place in the world. The way we project our value (or, fail to do so) is entirely self-determined.

Status matters because it’s the sum of how the world perceives you

An onlooker determines your status based on a collection of cues (which are sometimes imperceptible); what he perceives becomes who you are, in that room, in that moment. For instance, direct, unencumbered speech tells people that you've considered what you're saying and that it has weight; um- and uh-filled uncertainty does the opposite. Because status is essentially territorial, the way you carry yourself functions rather like animal dominance does. Stillness and deliberate movements indicate that you're in charge of your personal space and that you're comfortable in it. Fidgeting and showing physical awkwardness indicates that you're not. These examples may seem insubstantial, but that's part of why status can be so elusive. Most people don't understand what bodily cues they read before they decide how to treat you. They just react instinctively to those cues, without even realising they've done so.

Status matters because it’s not optional

Perceptions of status exist and affect you regardless of whether or not you're paying attention to them. They follow established rules too, which is why you can't just play by your own and hope everything works out. In the same way that style follows social conventions and doesn't give you license to look ridiculous, status doesn't leave much room for interpretation. You might think it complements your mysterious personality to avoid eye contact and act aloof, but the only thing people will gather from that is that you're arrogant and don't like anybody. Acting like status doesn't apply to you at all is even worse, because you're willfully ignoring the basic elements of social interaction. If you believe that your crowd doesn't operate that way, or that status only pertains to other people, trust us, you're wrong.

You'll never regret an improved status

In a phrase, there is absolutely no downside to working on improving your status. It's not time-consuming and the only effort it takes is the willingness to understand how the world views you and to adjust your life accordingly (which is something you should probably be doing anyway). It's not always pleasant to admit that some aspects of your behaviour deserve a change, but that's how personal improvement works. It takes an initial investment, perhaps learning how to assert yourself during introductions or to assume a more forceful posture, before you notice that people suddenly treat you with more respect and pay attention when you speak. These things won't revolutionise your life overnight, but they will, almost immediately, open your eyes to the ways you present yourself to people.

Status matters because it translates directly to opportunity

Even if you're not drawn to personal improvement for its own sake, consider that status is more than just how people feel about you, it informs how they decide to treat you. People who don't know you are always going to act based on the only information they have, and most of these situations that are based on social interaction (dating, your career, your personal relationships) will suffer if you're subconsciously saying: "Don't mind me, I don't matter too much" from the outset. You don't have to dominate everyone around you like you're part of some wolf pack, and indeed that would probably hurt more than help, but you do need to display that you know your worth. Otherwise, people are going to assume -- without even realising why -- that you have none.



Monday, April 05, 2010

Ghost


by Howie Day


Lately I've been thinking
Lately I've been dreaming with you
I'm so resistant to this type of thinking
Oh, now it's shining through
I was alone for the last time
Before my night's vacation with you
Alive from the first
Now I'm denied by the ghost of you

You take yourself a photograph and laugh at me
Please

I know there's little use in crying
It's more wide awake and dying then I'm used to
I thought we'd walk these streets together
Now I'm hoping that I'll never have to meet you
Step aside from all this anger
And somewhere in between I can feel you
Ask me should we try again
I'm thinking no
Y'know, it's not what I believe in
It's not what I believe in

You take yourself a photograph and laugh at me
Please
You make yourself a photograph and laugh at me
Please

No I, wanna taste you, love
No I...no I
No I, just wanna taste you, love

Standing in your shoes
I turn and now
You're standing bare in my doorway
I only wish that I had been prepared
I'm gonna have to go along with your way
Just take the plastic camera out
It's the pants you borrowed in the driveway
Alive from the first
Now I'm denied by the ghost of you

Make yourself a photograph and laugh at me
Please
You make yourself a photograph and laugh at me
Please

No I, wanna taste of love
No I...

I was alive from the first
Now I'm denied by the ghost of you



Wednesday, March 17, 2010

pleasant news to management



It's already been arranged.

Good news.

No problem.

It's being taken care of.

With regard to , I've figure out we can do this, that or... What do you think?

I figured out what to do about .

Consider it done.

I'll see to it personally.

I found a way to get it done cheaper.

Let me run an idea by you.


Wednesday, February 10, 2010

Colbie Caillat - Fearless


If that's the way you love
You've got to learn so much
If that's the way you say goodbye

And this is how it ends
And I'm alright within
Never going to see me cry
'cause I've cried

[Chorus]
So go on, go on and break my heart
I'll be okay
There's nothing you can do to me
That's ever going to burn me

So go on, go on and leave my love
Out on the street
I'm fearless
Better believe I'm fearless, fearless

So...

If this is how it hurts

It couldn't get much worse
If this is how it feels to fall

Then that's the way it is
We live with what we miss
We learn to build another wall
'til it falls

[Chorus]

So go on, go on and leave my love
Out on the street
I'm fearless
Better believe I'm fearless, fearless

So...

If it's between love and losing
To never have known the feeling
And I'm still sad we've loved

And if I end up lonely
At least I will be there knowing
I believe in love

Go on, go on break my heart
I'll be okay
I'm fearless
Better believe I'm fearless, fearless

Go on, go on and break my heart
I'll be okay
There's nothing you can do to me
That's ever going to burn me

So go on, go on and leave my love
Out on the street
I'm fearless
Better believe I'm fearless, fearless

So...

So go on and leave my love
Go on and leave my love
Go on and leave my love
Better believe I'm fearless, fearless

Monday, February 08, 2010

Robustness


The robustness principle, also known as Postel's Law:

Be conservative in what you do; be liberal in what you accept from others.