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-31
2008-12-30
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
let the fun begin !
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!
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
< input type="checkbox" id="cbSelectAll" onchange="ChangeAllCheckBoxStates(this)" >
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 ?
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
< input type="checkbox" id="cbSelectAll" onchange="ChangeAllCheckBoxStates(this)" >
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 .
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 .
Labels:
- The World Summit,
2008,
Computing,
IGT,
of Cloud
Subscribe to:
Posts (Atom)