Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Dan_Martin

@Dan_Martin
About
Posts
267
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • An even better day - Liberals and Foreigners Avert Your Eyes
    D Dan_Martin

    What did the circles ever do to you, eh?

    The Lounge

  • F1 - The excuse... [modified]
    D Dan_Martin

    I'm sorry, but no. There was a reasonable gap, which Rubens went for, and Schumacher made a clear and deliberate move to the right to try to force Rubens to either back off or risk going into the wall. Schumacher knew the wall was there and deliberately tried to put Rubens into it. Without the wall being there it's a dubious move off his line to block, with it there it's a move designed to make the other driver crash and that's unacceptable. It was poor behaviour from a man who, for all his talent, has always lacked class.

    The Lounge html question announcement career

  • Bored of if..else?
    D Dan_Martin

    A couple of years back I had a chap working in my team who knew various .Net specifics but didn't really seem to understand programming at all. He produced various pieces of "interesting" code but this was his finest hour:

    //fancy to use switch case bored with if else
    bool moreThanOneModelTypes = (vehicle.PossibleTypes.Length > 1);
    switch (moreThanOneModelTypes)
    {
    case true:
    this.ddlVehicleFullModelType.Items.Add(new ListItem("- - - please select - - -", "-1"));
    goto default;

    case false:
        goto default;
               
    default:
    
        foreach (VehicleType vehicleType in vehicle.PossibleTypes)
        {                   
                         this.ddlVehicleFullModelType.Items.Add(new ListItem(vehicleType.DisplayName, vehicleType.Id));
        }
        \_fullVehicleModelTypeReload = false;
        break;
    

    }

    So that's a single-line if statement replaced with a multi-line switch, plus some gotos for good measure all because he got bored of if..else.

    The Weird and The Wonderful csharp collaboration question

  • Dalek Dave, what has your boy done?
    D Dan_Martin

    I don't know enough about Churchill to dispute the first part, though that is the first time I've heard of it. It seems a little unfair, though, to refer to his strengths as a war leader in that context. We needed a strong and military-minded leader at the time in order to defeat another one. We entered the war under a good peacetime leader and if he'd stayed we'd have lost the war very quickly.

    The Lounge question announcement

  • Dalek Dave, what has your boy done?
    D Dan_Martin

    I agree entirely. I just wondered how Dave would resolve the conflict between his Tory Boy nature and his love of pro-British historical accuracy. ;) In the grand scheme of things it's not too important and I'd rather have Cameron than Brown (I'd rather have Clegg than either but that was never going to happen.)

    The Lounge question announcement

  • Dalek Dave, what has your boy done?
    D Dan_Martin

    Chamberlain? Which views and strengths were those then?

    The Lounge question announcement

  • Dalek Dave, what has your boy done?
    D Dan_Martin

    http://www.bbc.co.uk/news/uk-politics-10719739[^] "David Cameron has been criticised after mistakenly saying the UK was the "junior partner" in the allied World War II fight against Germany in 1940." Whoops.

    The Lounge question announcement

  • LTJOTD
    D Dan_Martin

    They are in the Premier League. It is, admittedly, the Blue Square Bet Premier League, rather than the Barclays Premier League, but you can't have everything.

    The Lounge

  • Sorry about this but....
    D Dan_Martin

    When the puns start, I just glaze over.

    The Lounge com

  • First Indian Browser [modified]
    D Dan_Martin

    Prior to this, Indians knew exactly what they wanted from shops, bought it and left immediately.

    The Lounge

  • DAOTD
    D Dan_Martin

    I've done that. It's far better than doing it the other way around.

    The Lounge question learning csharp linq sysadmin

  • Stop with the spoilers [modified]
    D Dan_Martin

    Like a chavved-up Vauxhall Nova.

    The Lounge

  • Thought I'd Share
    D Dan_Martin

    There was apparently a takeaway with a poster reading "Try our burgers you'll never get better!".

    The Lounge com

  • Yet more woes for Apple
    D Dan_Martin

    Am I right in thinking that, rather than improving the signal quality, the "fix" they've issued simply makes the signal meter display fewer bars (which is correct but hardly helps people trying to make calls)?

    The Lounge csharp php wpf com tools

  • They knew it was a problem last year
    D Dan_Martin

    Damned socialists!

    The Lounge html ios com design help

  • Jobsworths dodge dead badger
    D Dan_Martin

    Would you touch it with a spade or a big stick? Surely it's not too hard to shift it out of the road?

    The Lounge announcement

  • Argghhh
    D Dan_Martin

    leppie wrote:

    Not for one of my cats! He thinks it's some toy and tries to attack it and other parts of my body sticking out under the blankets (arms and feet for those with dirty minds).

    But you wake up on time, right?

    The Lounge php visual-studio com question

  • Argghhh
    D Dan_Martin

    Set it to vibrate and leave it on a wooden surface. The noise it makes is terrifying.

    The Lounge php visual-studio com question

  • Instant alert bells
    D Dan_Martin

    hammerstein05 wrote:

    You have good communication skills with both technical and non-technical people (you are able to run with minimally detailed requirements, asking the right questions throughout to fill in the blanks). Maybe it's my skepticism, but I read this as "We're able to cut out account managers because you'll be able to talk to the end users and run with whatever they tell you" and "There's no documentation process in place"

    I'm only ever interested in jobs with this sort of requirement. I'm a programmer, but dealing with clients is my favourite part of the job by a long way. I would hate any job that was purely programming and involved no direct interaction with clients.

    The Lounge business career

  • XOY
    D Dan_Martin

    The author of that book has been having a proper barney this week with cretinous non-doctor Gillian McKeith after she reacted badly to a piece he wrote about her lack of qualifications, first calling him a liar, then having a bit of a mental on Twitter and insulting people at random, before crudely attempting to distance herself from it all. More here[^] and here[^]

    The Lounge com business
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups