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
C

CurtainDog

@CurtainDog
About
Posts
34
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Is this a known pattern?
    C CurtainDog

    The pattern in your example is a simple Strategy pattern. As for the coding style, it kind of depends on what the syntax of the language allows... why not call it "Lisp style", just to remind devotees of functional programming that their latest fashion has been around for 50 years.

    The Lounge csharp regex question

  • The SQL Injection Attack is alive and well.
    C CurtainDog

    This ignores the fact that the exploit most likely comes from third-party code, so it's not at all easy to stop. The irony is that if you roll your own web framework your site might be much more secure even if your code much less secure by the virtue of the fact that no one will bother to try to hack you. I still wouldn't recommend it though.

    The Lounge database question announcement

  • .NET or Java?
    C CurtainDog

    Daft or no that's the way things work in the software world. Jobs-wise there no point in having more than 5 years anything on your CV (maybe academia is an exception?).

    The Lounge question csharp java business tutorial

  • Sort Functions
    C CurtainDog

    I may have gone mad but this is a selection sort surely... Edit: my hesitation is due to the fact that (as pointed out above) you never see these sorts of sorts in the wild because there are much better sorts of sorts.

    C / C++ / MFC c++ database data-structures question

  • Cost Estimation???
    C CurtainDog

    Sorry, but I tend to agree with your colleague. Think about what the project in question is/should be worth (which, again, you'll only know once you've been around the industry a few times) and then work to that. The alternative is finding a workplace where the requirements are always right the first time and you never get interrupted by other projects :P

    The Lounge question

  • Stupid Apple, again
    C CurtainDog

    I had the same problem but with Firefox I was able to continue the download (even though Firefox crashed halfway through). 1. Go to your downloads directory and make a copy of the partially downloaded file. 2. Restart Firefox - this will start the download afresh and overwrite the partially downloaded file (thus step 1) 3. Pause the download 4. Copy the saved partially downloaded file (from 1) over the top of the file you are downloading 5. Unpause the download 6. Profit!! Hope this helps...

    The Lounge com beta-testing tools help question

  • Oracle sues Google
    C CurtainDog

    But surely open source != fair game. I imagine a lot of (most?) open source projects would at least require some form of attribution. Even the use of public domain code could get you into trouble if you made misleading/deceptive claims about your authorship of the code.

    The Lounge java ios oracle com question

  • Looking for advice in managing code in related applications (long)
    C CurtainDog

    WRT version control a distributed system might work better for you, as this would enable you to have a production repository per client. WRT to the general nature of the original post - I'll have to echo the sentiments that have already been expressed: it's not a software problem and can't be solved in the software.

    The Lounge asp-net algorithms business sales collaboration

  • Difference between c# and VB.Net
    C CurtainDog

    Not only rude, but indicative of a culture of not meeting expectations.

    The Lounge csharp question career

  • This is why I am starting to loathe programming
    C CurtainDog

    bjarneds wrote:

    In previous versions of .NET, this problem could be illustrated simply by adding e.g. a DateTimePicker to Form2. The DateTimePicker subscribed to the UserPreferenceChangedEvent, so it was kept alive, and it's Parent reference to Form2 thus kept Form2 alive. This is not the case in .NET 3.5 - maybe they changed the design, or used some sort of weak reference?

    So if the event used a weak reference instead the problem would go away?

    The Lounge php visual-studio com

  • This is why I am starting to loathe programming
    C CurtainDog

    Don't take it too personally, sometimes being right is an ends in itself.

    The Lounge php visual-studio com

  • This is why I am starting to loathe programming
    C CurtainDog

    If the class creator wants it to be used in a particular way then they can build a factory for it. Up until that point I'll use the class however I want to.

    The Lounge php visual-studio com

  • dotNET Rant [modified]
    C CurtainDog

    .Net is the platform and C# is the language; in the Javaverse they're both called Java, which is highly confusing. As pointed out in one of the responses above the original code would behave differently in Java because Java caches Integer 0. I'm also a Java programmer and with the exception of generics I'm ambivalent about the language changes in 1.5 & 1.6

    The Lounge question csharp com learning

  • dotNET Rant [modified]
    C CurtainDog

    Fair call, I must admit I was mostly thinking of literals when I made my comment. These of course would be able to be handled at compile time.

    The Lounge question csharp com learning

  • dotNET Rant [modified]
    C CurtainDog

    The deeper question is why does auto boxing not return the same object.

    The Lounge question csharp com learning

  • 10 Commandments
    C CurtainDog

    Snide comment from an OO zealot: So what's FIRST_DAY_OF_WEEK * FIRST_DAY_OF_WEEK then? </snide>

    The Lounge delphi code-review

  • 10 Commandments
    C CurtainDog

    100% percent agree. The other advantage of code reviews is that they force you to code with the knowledge that you're going to have to justify what you write to someone else.

    The Lounge delphi code-review

  • Linux IDEs for web development
    C CurtainDog

    It was mentioned in the original post... but yes, netbeans is quite good and has improved by leaps and bound in recent iterations. For Java development Eclipse is still king, but you need to set aside half a day to get it set up. I use Netbeans for PHP and Javascript and it's usable right out of the box. (I have only run these two under Windows though so YMMV)

    The Lounge question learning csharp java html

  • Do we really need Java runtime?
    C CurtainDog

    But my favourite IDEs are Java! But, no, I don't know of any killer apps in the desktop space so you probably don't really need it.

    The Lounge question java help

  • I have no idea why I am genuinely saddened by this
    C CurtainDog

    I think being saddened is acceptable.. there wasn't much that was evil about sun. In any case I think it is a good fit between the two, so I expect a lot of stuff will live on.

    The Lounge oracle com game-dev question
  • Login

  • Don't have an account? Register

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