QuestionTable: Question ID, Question text, ExpectedAnswerCount
AnswerTable: AnswerID, QuestionID, UserID, AnswerValue
You can have one or more entries in the answer table for any given question/user combination; this resolves your one/two answers problem, and gives the possibility of even larger answer groups (100 answers per question!).
You can use the QuestionTable.ExpectedAnswerCount value to validate the number of AsnwerTable entries
This might be a little over-engineered if your only ever going to have one or two answers and never more than that.
Hadn't thought of it that way. Except with MySQL you get the source (for what that's worth). For the record, I've never used MySQL, just researched it for a potential project that didn't happen.
Well, I guess it would be kind of like buying a PC from one of the big manufacturers: you choode the basic model and then get presented with a list of features that you can add and remove. As you modify the spec, the price changes.
Actually I think MS are heading into a 'pay per use' type of licensing model -- possibly internet based like the Live website. You would go there and can use the web based Word for a small price per use (or per 100 words, or per hour, or something). If we ended up with a web-based OS (how would that work?) then you'd pay a monthly bill for the features that you used.
We added this licensing model to a piece of software that I used to work on. The user paid a specified fee based on their expected usage (number of users, features needed, volumes of data) and we were allowed to perform spot-checks on their statistics (although it was more of an honesty system).
A previous project I worked on used a database to store all GUI strings -- this not only allowed localisation, but it allows the customer to modify the text if they want to change the grammar or wording.
The down sides are:
It's slightly slower as it needs database connections, but a bit of smart caching can help.
You'll have to write your own string retrieval code to perform the lookups, but I found it wasn't that bad.
You have to write a UI that can cope with different sized strings. This is an issue in localisation generally, whether or not you use resx files or databases, but when customers find they can modify the display test, they can sometimes go overboard!
BlackTiger wrote: PerfectPhase wrote: BlackTiger wrote:
I've made some experiment. There is another peice of junk called "BitGrabber" (or sort of). This is "cool" downloader.
You got a link to where you downloaded BitGrabber from, I want to drop it on a VM and see what happens...
Ok. This piece of junk here. IT CONTAINS SPYWARE! I've experimented on WinXP SP2. Seems like on Vista it doesn't works properly because of internal bugs ("can't find ordinal in WSOCKxxx.DLL") .
Um, here's an idea, don't click on something called bitgrabber that describes itself as....er...nothing?
Every time I see you post, I want to kill a puppy. I've tried to assume that it's because you have a language barrier, but this thread makes me want to buy a kennel first.
Oh for crying out loud, that the whole point of anti-spyware software: when my grandmother/nephew makes a bad judjement call and downloads something, the anti-spyware is supposed to stop bad things from happening!
If anti-spyware doesn't do this, then what's the point in installing it?
We can't just bleat that 'you shouldn't download stuff if you don't know what it is'; the average user doesn't know about this stuff and the software is supposed to make it easier and safer!
But hey, hey not worry about that, lets just argue because we have decided we don't like the original poster.
I tend to use a combination of NUnit and TestDriven.net to actually run my unit tests, but what I'm really concerned about is unit test maintenance:
Say I have a large project with hundreds of classes and thousands of unit tests. One class needs to be changed due to updated specs from the customer: I have to wade through the thousands of unit tests to find the current tests for that class so that I can change it to match the spec.
I'm looking for a way to go directly from the code for class I need to change to the code for the unit test that tests that class.
What was youre 'Test'?
As far as i can tell you installed a 'cool' app as Admin and themn complained that it left droppings....
To be honest, I would have expected spyware detection software to have spotted this -- install an app and it 'secretly' installs spyware.
If defender didn't spot this, then what's the point in having it?
The OSS business model is to give the software away for free and then charge for consultancy.
The failing (as far as I can see) is that this gives no incentive to produce 'slick' software that installs out of the box and is easy to set up -- that would mean less work for consulants.