The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Browse by Tags

All Tags » rebalancing the tag cloud (RSS)
  • Re: How can this run without an error?? Or: Why 'On Error Resume Next' + Poor Programmer = WTF

    The Real WTF is the indentation and the proper use of capital letters, or rather lack of them. W00t, my tag made it to the front page, so the rebalancing is complete. Although, somehow, the cloud doesn't look more balanced than it was. Anyway, one last time,..
    Posted to Forum by Spectre on 03-20-2008
  • Re: Hey guys......Jim Bastard here.

    [quote user="JimBastard"] [quote user="jetcitywoman"][quote] I refuse to be aggregiated [/quote] Wow, that's brillant! [/quote] grammer nazi ftw? o.O [/quote] Lurk more .
    Posted to Forum by Spectre on 03-19-2008
  • Re: More secure than strncpy()? strncpy_s()!

    OK, seems we are arguing over nothing. Never mind then.
    Posted to Forum by Spectre on 03-19-2008
  • Re: MashUp Challenge $100,000 prize - WTF if Spectate Swamp Didn't WIN

    [quote user="SpectateSwamp"] Watch out this could happen to you. [/quote] You mean, someone'll give me a donut? Cool, I'm in!
    Posted to Forum by Spectre on 03-19-2008
  • Re: Override it all

    [quote user="ekolis"] Yeah, I saw it that way too - but don't you have to explicitly declare things as "virtual" to allow them to be overridden in VB and C# (unlike in Java, where you have to make them "final" to prevent them from be overridden)? I'm not sure whether...
    Posted to Forum by Spectre on 03-19-2008
  • Re: More secure than strncpy()? strncpy_s()!

    [quote user="morbiuswilters"] Spectre is incorrect, though, it is meant for copying null-terminated strings, that's why it halts on a null in the source string. If your source isn't null-terminated and your size is larger than the source, you get read errors, so it's obviously meant...
    Posted to Forum by Spectre on 03-19-2008
  • Re: Override it all

    I admit I missed the WTF the first time, but now I see it. This property overrides the one in the base class, yet does nothing new. It's a mildly amusing equivalent of: struct A { virtual void M() { /* Do stuff */ }}; struct B : A { void M() { A::M() }}; Okay, guess it's not funny after I explained...
    Posted to Forum by Spectre on 03-19-2008
  • Re: More secure than strncpy()? strncpy_s()!

    [quote user="CodeSimian"] [quote user="gerard_"]Too bad there already is an improved version of strncpy: strlcpy [/quote] But neither strlcpy nor strncpy_s are standardized. strlcpy seems to appear on some *nix-based OSs, while strncpy_s is only for Windows. So anyone who wants to...
    Posted to Forum by Spectre on 03-19-2008
  • Re: Yet another public BSOD

    [quote user="ZiggyFish"] MasterPlanSoftware : What is slashdot?[/quote] What is Wikipedia ?
    Posted to Forum by Spectre on 03-19-2008
  • Re: More secure than strncpy()? strncpy_s()!

    Hold on, let me count the WTFs: strncpy_s doesn't behave like strncpy , bacause it doesn't pad the destination with NULs. Rolling out another "secure" replacement when StringCchCopy and the like've been existing for a while. Using strncpy as a strcpy replacement. Not using Unicode...
    Posted to Forum by Spectre on 03-18-2008
Page 1 of 9 (88 items) 1 2 3 4 5 Next > ... Last ยป
Powered by Community Server (Non-Commercial Edition), by Telligent Systems