2008-12-31

Inheritance, Polymorphism, & Testing

This is a video "The Clean Code Talks -- Inheritance, Polymorphism, & Testing"
The video talks about using Polymorphism instead of IF's and Cases

javascript:void(0)

2008-12-30

RomDiff


Hi
that's me again .. busy day today , huh ?

Anyway, while I was thinking of something, Romi, my colleague fond out that a file a his won't compile. He decided to check the differences of the files.

that is why we invented the RomDiff

Windows Pay - Per Use ? maybe soon

Microsoft has applied a patent of renting an operation system and probably hardware .
Imagine that you have a small cheap computer and suddenly you have an urge to kill, you know ... you just need to kick ass .. what shall you do ?

What I do is - take my Lenovo T61P Super Mega Laptop, run a battlefield and then have a nice time while shooting bad guys , flying helicopters and wasting time, however as I told you have a cheap computer . A problem ? Not anymore!

You can rent an nVidia Video card and a good sound adapter for a hour of two , pay some bucks (two three .. whatever) and when you done using them you just stop paying. Now of course you will not see a Microsoft delivery guy bringing you the hardware, it will be installed in your computer, but deactivated.

Moreover, all the XboxLinux project and the others taught Microsoft a lesson about obfuscating options of the computer hardware, therefore, we shall see more Hackers and security professionals hacking the security infrastructure of this "Device".

Here is a quote from Microsoft's patent application form

A different business model may allow a more granular approach to hardware and software sales. A computer may have individually metered hardware and software components that a user can select and activate based on current need. Beyond simple activation, the user may be able to select a level of performance related to processor, memory, graphics power, etc. that is driven not by a lifetime maximum requirement, but rather by the need of the moment. When the need is browsing, a low level of performance may be used and when network-based interactive gaming is the need of the moment, the highest available performance may be made available to the user.



let the fun begin !

2008-12-07

yo'moma joke

- yo momma is so ugly, that I would never sent an ICMP packet in her direction

reply:
talk to the firewall, 'cause the port ain't listening!

2008-12-04

Firefox vs Internet Explorer

Another frustrating difference between the Firefox and Internet Explorer. A simple script in one of my pages selects all of the checkboxes in the page

function ChangeCheckBoxState(id, checkState)
{
var cb = document.getElementById(id);
if (cb != null)
cb.checked = checkState;
}

function ChangeAllCheckBoxStates(sender)
{
var checkState = sender.checked;
// Toggles through all of the checkboxes defined in the CheckBoxIDs array
// and updates their value to the checkState input parameter

alert('1');
if (cbCheckBoxList != null)
{
for (var i = 0; i < cbCheckBoxList.length; i++)
ChangeCheckBoxState(cbCheckBoxList[i], checkState);
}
}

here is a trigger


&lt input type="checkbox" id="cbSelectAll" onchange="ChangeAllCheckBoxStates(this)" &gt


So, here is the issue: while Firefox handles everything well , Internet Explorer needs me to check or uncheck the box and then to click on some other area on the scree

I Hate that , why ? isn't is the meaning of ONCHAGE event ??!@ huh ?

2008-12-03

Hightech is in shit

I have been programming for the whole morning .. well not for the whole morning , because I could not stand on my feet in the morning .. We were presenting ourselves at the IGT2008 - The World Summit of Cloud Computing, and my feet were ruined. I will write a post about it as soon as i get the pictures.

Anyway when I went to find myself a sandwich , I was surrounded with sewerage. It looked like a huge buffer overflow with no debugger available and the smell was the same the buffer overflow should have .

They are right, Israeli Hi Tech is in deep shit .

2008-11-30

VoTP

Voice over Though Protocol (VoTP) is a general name for a set of telepathy communications.

VoTP is usually observed in human beings, and is thought to exist in other mammals as well.

VoTP can deliver a short message or initiate a conversation, but only with the rise of telephony systems, have these become into popular use.

It can be used as a toll-free initiation method for a call.

When you call someone, thinking you just wanted to talk to them, and they reply "thanks for calling, I was just thinking of you and wanted to talk to you", they've used it!

2008-11-27

Buisness card

A good friend of mine, the one who sent me to make her a coffee five minutes after I first met her, told me that a business cards of the company we worked in (Comsec consulting) are very good for making a shopping list, since they are made of a good paper and the back side of them is free of text. It was nice and handy. Now working in Rocketier, we have a problem with that since the back side of the card has some text saying
Startup your engines
  • Detect
  • Rate
  • Immediate Effective Relief
  • Roadmap Planning
  • Scale up & Scale out
After talking about the card with the colleagues of mine and telling them that I will probably have to buy a notepad (a paper one) or write some program to the PDA , I noticed that the card, actually, fits me perfectly, becaue it describes the beer drinking process. Next time I drink beer (tonnight ?!) - I will be prepared.


High Performance CEO Blog

This blog started as a means to conserve internal jokes, persist them from the erasable board, and bring the R&D team closer.

Management wondered where did the jokes disappear from the whiteboard, and made room for some agile management tasks list.

And then... the Cloud Computing, Software and System Performance blog came online!

Now you can finally catch up on what we are WORKING on, when we are not writing in this blog.

Find us at IGT2008 - The World Summit of Cloud Computing, next to Google, Sun and Amazon.

2008-10-12

Are are woking

if there are no posts i might actually think that you are working hard there
read my blog

ilyainthailand.blogspot.com

2008-09-16

2008-09-15

Thermodynamics

When I was studying chemistry in the high school, I remember that the beloved Dr. Nana (for real) was talking about all worlds connection, and that it is not only connected by the physicals and chemical reactions , but there are psycological and political applications to the approach discussed 

Today's , picking to a facebook for a second before food, made me remember the first law of the thermodynamics, about the conservation of the energy.. 
 ....'' The change in the internal energy is equal to the amount added by heating minus the amount lost by doing work on the environment ''...

well , take a look at the picture :


everithing is connected :) 

2008-09-04

Whose Line Is It Anyway?

  1. a name of a TV comedy show

  2. a phrase commonly used among developers working on the same code repository

Chrome End User License

"All your bytes are belong to us."

2008-09-03

Tea Time


(= TTime)

and also...

TDateTime

TUTCDateTime

etc.

2008-09-02

Google Chrome Language

After installing Google's Chrome to the system I was disappointed by the language of the interface 
it was hebrew, either because I'm located in Israel , or because this is my default system encodig. 
Here is how you make Chrome to "talk" English , on in any other language you prefer:
  1. Locate the key pictogram, it is in the end of the adress bar
  2. Click on it  :-) 
  3. Select the "Options ", it is the fourth (4) line from the end or sixst (6) from the top 
  4. Select the middle tab (minor tweaks)
  5. In the lowest section of the tab (fonts and languages) click the long button : "change font and language settings ".
  6. Go to the another tab , not the selected one (Languages)
  7. In the combo boxes  select the wanted language (ENGLISH MO#$$FU#$@ DO YOU SPEAK IT ?!)
  8. Bon Appetite

I is Busy





When Microsoft SQL Server 2005 studio hangs, it gives you very polite error message: "I is Busy". It kinda reminded me of something else


2008-09-01

Sophistication Levels

When you try to inspire or amuse someone with a sophisticated idea, you'll run into one of the following types of perceptions:
  1. Huh? WTF? Leave me alone!
  2. Hmm... yeah. Isn't that? what does that mean? I don't get it...
  3. Hmmmmmm... [long-delay] oh, wow! :))
  4. Oh yeah sure! It's [interpretation-of-your-idea-as-if-it-wasn't-that-sophisticated]

Performance

If your performance monitoring tool causes performance issues....

Does this mean you have performance problems?

2008-08-31

DBA Love Letter

Our relationship is so well defined...
I feel like you are my foreign key

Measurement problem

Question: If a ninja falls of the tree in the forest and there is nobody to hear that, does he make a sound ?
Answer: If ninja does anything, he does not make a sound! He is a Ninja! And if he does, it would be the last thing you ever hear.

Hug A Developer Today

http://www.youtube.com/watch?v=1lqxORnQARw

2008-08-28

A Romance

A boyfriend is not a firewall
It is much harder to find the correct API for oppening the needed port

.Net 4.0(beta) API

Look! I found some new useful API for you:

DateTime.WtfIsTheTimeNow()
Location.WhereTheHellAmI()
System.Evil.DestroySystem()
System.Warning.TryThisAtHome = false

2008-08-27

Vice President

-- PHONE Ring

-- Y: Hello ?
.......
-- Y: Yes I am interested to participate
.......
-- Y: Yes, my name is %$#DS$.
.......
-- Y: Hold on please.. (silences the phone) hey , quick , what do i do in the company ?
--CEO : you are a Vice President ..
-- Y: Yes , I am a Vice President!

2008-08-26

How to get there?

Traveller #1: הצילו, הלכתי לאיבוד!

Traveller #2: אני לא יכול לעזור לך, איבוד לא מופיע לי ב-GPS

2008-08-24

Facebook

O: I'm tired.. I can't code anymore..
I: Go to a facebook, this might wake you up ...
O: I won't,Facebook is borring .
I: Then I will . There is a limited ammount of facebook hours, if you are not using them, I'll use yours!

2008-08-21

Flowers in the office

HPSE#1: "The only flowers we have in the office are those that someone else brought".

HPSE#2: "We have inherited them from those who inhabited this office before us."

HPSE#1: "I think we should overload them now!"

Documentation Methology

When you forgot what your old undocumented code does, do the following:
  1. Figure out or recall what that code does.
  2. Put long and meaningful comments explaining what it does.
  3. Feel free to forget it all over again.

Mind Reading API

The people in R&D have built a mind-reading API for ASP.net forms.

Only after testing is on other people, they realized the interface had to be rebuilt, since not everyone thinks like developers.

A Woman

import java.util.LinkedList;

public class Woman {
private int pleasness;
Woman()
{
pleasness = 10; // women are not pleased by default
}
//TODO: define the way of brith . there have to be a way yo make human of a woman :)
//
Woman(boolean birth)
{
if (birth)
{
int sexProbability= (int)Math.random()*1000;
if (sexProbability <500)> thisIsWhatIThinkOfYou;
return thisIsWhatIThinkOfYou;
}
private void Please()
{
pleasness=pleasness+((int)Math.random()*1000);
}
}

A Man

public class Man extends Human
{
final Object shnyaga=new Object();
private int pleasness;
public Man(int tpleasness)
{
pleasness =tpleasness;
}
public void Please()
{
pleasness ++;
}
}

2008-08-20


This strange guy will improve your system preformance .
just let him a beer and never call him on friday morning

Error Messages

Error Messages are like Women.

You have to guess what did you do wrong.

My qoutes

Friendship is born at that moment when one person says to another, 'What! You too? I thought I was the only one!"; drop database system; go;--

As it seems to me, CEO's don't require food and rest. They somehow get their energy from work, wich kinda reminds me of Phoenix .

Look what I'm doing instead of playing Counter Strike or sleeping ..


Always outnumbered
Never outgunned .. just tired
-------------------------

2008-08-19

Debugging

If you have software problems, use Visual Studio's debugger.

But for the real bugs, use Sano's K300.