Discussions

When you bought your OEM version of Windows what hardware was it purchased with?

I bought my OEM Version of XP and an IDE cable several years ago from computer store. So when I changed computers, I made sure that I put the IDE cable in my new computer. My receipt shows that both were purchased together. I am running the XP version
on my Vista x64 as a virtual machine.

I do have another question though, in 5 months when M$ quits selling XP OEM, and I decide to make a new Virtual machine can I still buy the XP license online for $149.00.... Is M$ going to keep windows xp activation alive forever, or am I going to have to
use the XP Toolkit to kill the activation one it reaches the end of the product lifecycle.

Give it a few days and everyone will shut up about it. Apple plans to sell 10+ million more of these world wide. Why would they care about the less than 1 million that they already sold. Most of them are fan-boys and buy new iPods every 6 months anyways.

Apple cashed in on all of the people wanting to buy them an re-sell them for more on eBay anyways. It makes pure economical sense. Now that demand is subsiding sell them at a godd price point.

I wish there was an answer. I am having the same issues. My Vista computer disruptively shuts off every night and when I turn it on it tries to boot to safe mode. On most occasions I can just boot to Normal windows, but a few times it has locked up and
I have to boot to safe mode.

All of the errors point to my Nvidia video card. I am so ready to go back to XP. I need my computer to stay on because I travel a lot and I need to remote into my computer often. But if it completely powers down I am stuck.

I have also noticed that sometimes when it shuts down, it won't power back up. I literally have to let my computer sit for a while and then it powers up. None of the components feel hot or seem to overheat.

Before installing Vista on this computer it was running Fedora Core 4 Linux. I literally never shut the computer down for the past 8 months, until I put the Vista install disk and booted to it.

The only difference is that I put a new Wireless NIC and a new Video card in when I decided to convert the computer over to Vista. Oh and I recplaced a fan because it was making noise.

﻿
OK, firstly polymorphism has nothing to do with code-reuse. That's where you're confusing class inheritance with polymorphism (although you're right, polymorphism does depend on inheritance). Polymorphism can also be done through pure interface inheritance.
Polymorphism is where different classes can be made to appear the same through casting to a base class/interface. This allows all the references to be treated the same, thereby simplifying code that uses those objects.

The classic example is a vector drawing program there all the shapes derive from the base 'BaseShape'. The specific instances of shapes that the user creates (Like CircleShape, TriangleShape and RectangleShape) are stored in a collection of BaseShape instances
and the picture is drawn by iterating through all the BaseShape instances and caling the 'Draw' method. The main program has no knowledge of which shape it is drawing and it treats them all the same.
The contents of the 'BaseShape' class are irrelevant to the technique of polymorphism; BaseShape may containa lot of shared code, or it may be an interface with no shared code. Polymorphism and code-reuse are two separate aspects of inheritance.

I had been doing OOP for nearly 10 years before I realised this distinction.

The next question would be:
Other than inheritance, how else can you re-use code in an OOP fashion?

Herbie

Good points!
We use polymorphism when we are passing objects between the different tiers in our application. Any object that is exposed on the web tier and is passed back to the business tier MUST inherit off of an interface. The business tier and data access tier MUST
use the same interface. In this case polymorphism is not used for code reuse but instead to keep our heads on straight. Especially since there are different programmers working in the different tiers.

I am interviewing candidates for a C#/C++ programming position and I just need some ideas for good technical questions to ask to guage someones experience. I am mostly concerned with C# experience. Does anyone have some good ideas on questions I should
ask?

Questions involving using Sockets and Threading would be helpful too.

They don't have to be trick questions, but one I thought of was "Name a class that does not have the .ToString() method".

I think you would be better off using regular Threads instead of threadpool. Just create 20 Threads and put them in a generic list to manage them. Then you can do whatever you want with the threads.

From experience, you can't rely on threadpool if you want pure performance. Thread pool will only do the work if there are resources. The more resources the more threads are running, the less system resources, the less threads are running.

I've seen thread pool go from 100 threads to 2 threads in a matter of minutes and never get back up in number again. With regular threads you are guaranteed that all 100 are running always.

It appears that the FlexWiki homepage is down. Is this temporary or and is this project still alive? I know that C9 is using it. If I was to put up wiki site in my company should I go with this application or choose an alternative like media wiki.