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
R

RCoate

@RCoate
About
Posts
266
Topics
32
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Twitter, who do you follow??
    R RCoate

    What's Twitter? :)

    The Lounge question com lounge

  • Solo developer rant
    R RCoate

    Many years ago I was employed to support a sprawling access application that had been written by a subject expert who taught themselves database development from a book. Fortunatly they knew their business domain. Unfortunately, they didn't know how to write a maintainable application. The whole thing was a mess and it had lots of similar issue to your current ones. Constantly changing feature list, large user base, conflicting requirements (user A wanted something that would prevent user B from doing something vital, etc). They way I dealt with it was to break it down into small deviverable projects. Push the complex ones to the end and ensure that refractoring acheived something visible to users - I.E. something they would notice. I'm very happy I don't have to do that sort of thing any more, but it taught me that managing expectations is just as important as writing code, especially if you are going solo.

    The Lounge business design beta-testing code-review

  • Cheeses and Deers (Uncommon Plural Forms)
    R RCoate

    My father-in-law is adamant that 1 martini is in fact 2 drinks, otherwise it would be a martinus.

    The Lounge com question

  • Debugging jQuery in Visual Studio
    R RCoate

    Is a pain in the ASP.net - Just saying!

    Visual Studio csharp javascript asp-net visual-studio

  • Epic comment (Adobe PSD format)
    R RCoate

    I just wish he told us what he realy felt!

    The Weird and The Wonderful c++ com adobe architecture

  • I love the Melbourne cup
    R RCoate

    All my work mates disapear and I get 2 hours to goof off work in peace.

    The Lounge

  • Trophy Hunting
    R RCoate

    While I mostly agree with you, one bit is not quite true.

    d@nish wrote:

    Wild animals hunt for food or to save themselves. They do not hunt for "fun".

    Polecats, ferrets, foxes and lots more preditors have been known to hunt and kill for no reason that can be thought of as survival. I have no real problem with hunting as long as you are going to eat what you catch. Shooting Lions and other big cats is just madness.

    The Lounge asp-net oracle com question

  • Profanity in code
    R RCoate

    Sounds like a reporting method for use in a prison web service.

    If (DropSoap && !A##Gi##ed){
    Update....
    }

    (please accept my appologies too - Just couldn't resist). :-O

    The Weird and The Wonderful csharp

  • Moral Crusade, who else is in?
    R RCoate

    Are you trying to deprive these guys[^] of their entertainment?

    The Lounge com question workspace

  • String.Format - I'm sure there must be a worse way to do this.
    R RCoate

    :omg: Yep. That's worse.

    The Weird and The Wonderful hardware

  • So is Oakman dead yet?
    R RCoate

    He's just Loged off.

    The Soapbox question

  • Iron Sky
    R RCoate

    Was mostly fun, but I thought the ending was a bit weak. Awesome Inglorious Bastards spoof in the PR company though. I wish more B movie sensibility would creep back into films. Charactor development is for chick flicks.

    The Lounge php com

  • HiFi questions
    R RCoate

    Go to a hifi shop and ask questions is the best advice I can think of. I have similar requirements (along with something to play vinal on) and can recommend NAD gear, but there is lots out there. There's also lots of hifi groups that can (and will) give heaps of good advice.

    The Lounge question workspace

  • Dropping KP - what do English CPians think?
    R RCoate

    Not very popular in Australia at the moment either. We can deal with not being the best, just not with loosing to England.

    The Lounge php com question

  • Dropping KP - what do English CPians think?
    R RCoate

    Had to think about this myself, but I assume it's Kevin Pietersen.[^]. Couldn't get a game in SA, so went to blighty.

    The Lounge php com question

  • String.Format - I'm sure there must be a worse way to do this.
    R RCoate

    Got your insert right here.

    // Format month
    var sbMonth = new StringBuilder();
    sbMonth.Append(month);
    if (month.Length == 1)
    {
    sbMonth.Insert(0, "0");
    }

    I'm sure if the genius who wrote this was aware of Insert and string builders, it would have been used. Can't complain too much. At least the code actually produces the required outcome. I can't always claim that. :)

    The Weird and The Wonderful hardware

  • String.Format - I'm sure there must be a worse way to do this.
    R RCoate

    // Format month
    var sbMonth = new StringBuilder();
    if (month.Length == 1)
    {
    sbMonth.Append("0");
    }
    sbMonth.Append(month);

    Awesome! I knew there was another method missing! :)

    The Weird and The Wonderful hardware

  • String.Format - I'm sure there must be a worse way to do this.
    R RCoate

    I'm a bit surprised there isn't an embedded String.Concatenate call in there as well.

    DateTime dt = DateTime.Now;

    // Get year, month, and day
    string year = dt.Year.ToString();
    string month = dt.Month.ToString();
    string day = dt.Day.ToString();

    // Format month
    if (month.Length == 1){ month = "0" + month; }

    // Format day
    if (day.Length == 1){ day = "0" + day; }

    string DocumentName = string.Format("Application - [{0}] - " + year + month + day, this.Person.RegistrationNo.ToString());

    I'm thinking that there is a ToString() call missing just before the final ; too. Oh - and this one too.

    TRIMSDK.Location trimLocation = trimLocation = trimManager.FindLocationFromNickname(string.Format("{0}", this.Person.RegistrationNo.GetValueOrDefault(0).ToString()));

    I think I need a Rum! :wtf:

    The Weird and The Wonderful hardware

  • Impressed with Microsoft
    R RCoate

    Just don't use it for a web backend. The hash cookies could cause unexpected behaviour.

    The Lounge workspace

  • Microsoft and The Cloud
    R RCoate

    Nope. Sorry Michael. Brisbane. Been to Canbera once. And left (although I am a Raiders supporter).

    The Lounge com hosting cloud security
  • Login

  • Don't have an account? Register

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