Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Discussions

Herbie Smith Dr Herbie Horses for courses
  • Access, best way to store this ?

    How about:

    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.


    Herbie

  • How Do Open Source Folks Eat and Pay Bills?

    Echostorm wrote:
    Sort of like SQL Server?

    Dr Herbie wrote: 

    MySQL is a good example of the OSS business model.

    You can get standard MySQL for free, but the 'Enterprise' version costs money.
    You can also get consultancy.


    Herbie





    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.

    Herbie

  • a windows ​"​your" edition

    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).

    Herbie

  • Localizing with a database or resx files

    I did stumble onto this tool on Codeproject a while ago.  It might help take some of the sting out of translating resx files, but I wouldn't fully trust automatic language translation.

    Herbie

  • Localizing with a database or resx files

    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!


    Herbie

  • How Do Open Source Folks Eat and Pay Bills?

    MySQL is a good example of the OSS business model.

    You can get standard MySQL for free, but the 'Enterprise' version costs money.
    You can also get consultancy.


    Herbie

  • "​Windows ​Defender&qu​ot; is crap. Literally.

    ScanIAm wrote:
    
    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.

    Grow up.



    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. Mad
     
    Herbie

  • Linking Unit Tests to the Code that's tested.

    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.

    Herbie

  • "​Windows ​Defender&qu​ot; is crap. Literally.

    AdrianJMartin wrote:
    

    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?

    Herbie

  • How Do Open Source Folks Eat and Pay Bills?

    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.

    Herbie