The Logic Behind Modern Maintenance

« Return to Article
  • dutchieman 2012-06-07 11:47
    1 = 1
    10 = 8 + 2
    100 = 64 + 32 + 4

    ... were they just lucky? or is that stuff in fact binary, and not decimal?

    CAPTCHA:vulputate, i.e. what you do after smelling this code
  • Weaselator 2012-06-07 11:48
    Yeah, "3 bits" is suspicious. as dutchieman demonstrated, it would actually to at last 5 bits!
  • Tasty 2012-06-07 11:49

    If iChkBx And 100 Then chkUS.Value = 1
    Else chkUS.Value = 0
    If iChkBx And 10 Then chkCanada.Value = 1
    Else chkCanada.Value = 0
    If iChkBx And 1 Then chkOther.Value = 1
    Else chkOther.Value = 0


    Am I supposed to read the iChkBx And 100 etc. as bit-wise AND? Who reads 100 and doesn't think in decimal?

    It looks like they packed a 3 element boolean array into a single byte on modern hardware. Somebody started out as an assembly programmer. WTF?!?

  • Geoff 2012-06-07 11:53
    "iChkBx And 100"

    Is this code real. I have not done bitwise operation in VB in well probably a decade but if iChkBx is dimensioned as BIT(3) how is And'ing it with 100 supposed to work?

    If you wanted to see if high bit was set you'd need to iChkBx with 4. Unless VB somehow understands 100 to be a string of bits because iChkBx is bit but I don't remember it doing that. Hex had to get prefixed &h
  • Tasty 2012-06-07 11:54
    Yes, it's true. VB overloads AND to support bit-wise numbers:
    http://msdn.microsoft.com/en-us/library/sdbcfyzh%28v=vs.80%29.aspx


    If iChkBx And 100 Then chkUS.Value = 1
    Else chkUS.Value = 0
    If iChkBx And 10 Then chkCanada.Value = 1
    Else chkCanada.Value = 0
    If iChkBx And 1 Then chkOther.Value = 1
    Else chkOther.Value = 0


    Am I supposed to read the iChkBx And 100 etc. as bit-wise AND? Who reads 100 and doesn't think in decimal?

    It looks like they packed a 3 element boolean array into a single byte on modern hardware. Somebody started out as an assembly programmer. WTF?!?
  • SilentRunner 2012-06-07 11:54
    J-Po:
    Frist?

    Real WTF is Visual Basic


    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.

    And WTF is "frist"? Is that a medal you pin on your ass, J-Po?
  • Black Bart 2012-06-07 12:03
    Yeah, like it would have made sense to properly configure the data store by moving the registry data into a full SQL Server 2012 database 2 weeks before the update shipped.
  • Nagesh 2012-06-07 12:06
    SilentRunner:
    J-Po:
    Frist?

    Real WTF is Visual Basic


    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.


    it ain't using java, its wrong.
  • C-Octothorpe 2012-06-07 12:08
    SilentRunner:
    J-Po:
    Frist?

    Real WTF is Visual Basic


    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.

    And WTF is "frist"? Is that a medal you pin on your ass, J-Po?
    You're the reason the bottom-feeding trolls get up in the morning...
  • shuffled, not stirred 2012-06-07 12:08
    Don't you people ever tire of taking digs at Microsoft?

    No.
  • Nagesh 2012-06-07 12:10
    shuffled, not stirred:
    Don't you people ever tire of taking digs at Microsoft?

    No.

    I lern that all scarecrow ain't be tired of massaging Microsoft excelant reputation of software development.
  • Nagesh 2012-06-07 12:13
    C-Octothorpe:
    SilentRunner:
    J-Po:
    Frist?

    Real WTF is Visual Basic


    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.

    And WTF is "frist"? Is that a medal you pin on your ass, J-Po?
    You're the reason the bottom-feeding trolls get up in the morning...

    troll? in home bagneshdebad troll take money when cross bridge
  • neminem 2012-06-07 12:13
    Hey, Microsoft has made some fine stuff. C# is actually one of the prettiest languages I've worked in. VB, especially old VB... not so much with that. (And while Windows itself has been getting remarkably robust, the UI just keeps getting worse. Good thing people keep writing user-space applications to fix most of the issues by throwing out the native UI entirely. Though I still haven't found a perfect explorer replacement for Win7 (I wish I could just run XP's explorer). Explorer++ is close, but there are a couple major annoying bugs, and while it's technically open source, its maintainer and sole -actual- developer hasn't touched it in months.)
  • Remy Porter 2012-06-07 12:29
    Hey everyone, I just received bad news. Fake Nagesh is dead, he got run over by a dog sled team. Hopefully The Daily WTF will survive this tragedy ...
  • PiisAWheeL 2012-06-07 12:52
    SilentRunner:
    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.

    And WTF is "frist"? Is that a medal you pin on your ass, J-Po?
    You act like Microsoft fucked up 1 time like 10 years ago and we wont let it go.

    Since Microsoft CONTINUES to release new and sometimes interesting wtfery, We CONTINUES to jab on it. Its not that nothing good comes out of there, but the bad is just so much more fun to make fun of.

    Also a lot of people who "know better" (people with experience and understanding of how computers operate) like to make fun of microsoft because their target market tends to be people who struggle with checking their email. While microsofts software makes it easier for them, the rest of us just get annoyed at a lot of those "features" and do our damndest to avoid, turn off, or ignore them.
  • PiisAWheeL 2012-06-07 12:53
    Remy Porter:
    Hey everyone, I just received bad news. Fake Nagesh is dead, he got run over by a dog sled team. Hopefully The Daily WTF will survive this tragedy ...
    This is "Bad News". Looks like he had an "unfortunate accident".
  • Jay 2012-06-07 12:58
    dutchieman:
    1 = 1
    10 = 8 + 2
    100 = 64 + 32 + 4

    ... were they just lucky? or is that stuff in fact binary, and not decimal?


    Yeah, I wondered about that too. So if they add 1000=Mexico, 1000 = 8+32+64+128+256+512, which has bits in common with both 10 and 100. So:

    country=Canada
    if county and Mexico ... will be true

    And they'll probably sit there scratching their heads over this weird bug. Why does it work for 3 "bits" but not for 4? This is when they start writing letters to Microsoft informing them of the bug in the VB6 compiler.
  • myName 2012-06-07 12:58
    Visual Studio 6.0 for editing VB6?

    And why buy it if they were joining the other company, didn't they already have the tools?
  • myName 2012-06-07 12:59
    Visual Studio 6.0 for editing VB6?

    And why buy it if they were joining the other company, didn't they already have the tools?
  • Jazz 2012-06-07 12:59
    SilentRunner:

    Don't you people ever tire of taking digs at Microsoft?


    Doesn't Microsoft ever tire of shipping crap that's only worth taking a dig at?
  • PiisAWheeL 2012-06-07 13:10
    Jay:
    dutchieman:
    1 = 1
    10 = 8 + 2
    100 = 64 + 32 + 4

    ... were they just lucky? or is that stuff in fact binary, and not decimal?


    Yeah, I wondered about that too. So if they add 1000=Mexico, 1000 = 8+32+64+128+256+512, which has bits in common with both 10 and 100. So:

    country=Canada
    if county and Mexico ... will be true

    And they'll probably sit there scratching their heads over this weird bug. Why does it work for 3 "bits" but not for 4? This is when they start writing letters to Microsoft informing them of the bug in the VB6 compiler.
    I can think of 2 possibilities (non exhaustive list):
    1: It really is true binary. That makes a wtf out of not getting your full potential out of it (since you can count to 7 with 3 bits)
    2: They have a very similar storage method and is in fact storing it in the registry as decimal without realizing it, so anding a decimal 100 with a decimal 100 (im assuming the conversation is that it looks like decimal in the code and not binay) should = out right?

    The second one is my working theory.
  • RandomGuy 2012-06-07 13:20
    TRWTF is buying VS6 at online auctions instead of pirating it ;)
  • Nick V. 2012-06-07 13:40
    So all they needed was to switch to a 4-bit register.

  • Black Bart 2012-06-07 13:44
    Nick V.:
    So all they needed was to switch to a 4-bit register.



    It's a lucky thing we have 64-bit Windows now; they could expand to serve up to 64 countries before needing to redesign things.
  • ObiWayneKenobi 2012-06-07 14:22
    No, you only see this kind of half-assed stupidity in Microsoft developers (and sometimes PHP). You rarely find this kind of nonsense in Java-land, although there's a different beast there (namely tons of XML). I'd rather deal with tons of XML than some harebrained idea like USING THE FUCKING REGISTRY. At least XML was meant to be a tool, but using the Registry just screams "I have zero idea what the hell I'm doing, but who cares?"

    Seriously, the problem with Microsoft is that they are always late to the party. It took them how fucking long to roll out an MVC framework despite that pattern being around since 19-FUCKING-70 and every other platform having some kind of MVC framework for it. No, instead Microsoft pushes this bullshit WebForms to mimic the style of VB6 apps, and continues to prove total ignorance by pushing the ability to do "RAD" and shlock code out using drag-and-drop or wizard driven nonsense.
  • Rootbeer 2012-06-07 14:27
    There's nothing wrong with this code, assuming that one of the requirements for the app is that it has to run in environments with so little storage that it would be wasteful to dedicate an entire integer for each boolean flag. For example, an IBM PC 5150 with dual 360K floppies but no hard disk or cassette drive.

    Preposterous, you say? Any more preposterous than maintaining code written in a 13-year-old version of Visual Basic?
  • Jockamo 2012-06-07 14:42
    SilentRunner:
    J-Po:
    Frist?

    Real WTF is Visual Basic


    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.

    And WTF is "frist"? Is that a medal you pin on your ass, J-Po?


    wow, Steve Ballmer is an angry man.
  • Guvante 2012-06-07 14:49
    ObiWayneKenobi:
    USING THE FUCKING REGISTRY.


    The registry isn't useless, just over-used. The idea of a central place for configuration settings per machine is a decent one. And in fact it does quite well when used correctly.

    ObiWayneKenobi:
    It took them how fucking long to roll out an MVC framework despite that pattern being around since 19-FUCKING-70


    Quoting when pattern's existed is pointless. How long had the idea for inheritance existed before it was implemented?

    ObiWayneKenobi:
    No, instead Microsoft pushes this bullshit WebForms to mimic the style of VB6 apps, and continues to prove total ignorance by pushing the ability to do "RAD" and shlock code out using drag-and-drop or wizard driven nonsense.


    There are benefits to web forms. Look at mobile phones right now, everyone is doing native apps due to the limitations on web sites. The restrictions on web sites for computers are fewer, but they still exist.
  • Ralph 2012-06-07 15:02
    neminem:
    Hey, Microsoft has made some fine stuff.
    They have? Hard to believe....

    Oh, I get it! It wasn't software. Right?
  • Nagesh 2012-06-07 15:13
    Remy Porter:
    Hey everyone, I just received bad news. Fake Nagesh is dead, he got run over by a dog sled team. Hopefully The Daily WTF will survive this tragedy ...

    I ain't being sorry fake Nagesh is being re-incarnation as cockroach. He has been massaging my good name for some time now.
  • wonk 2012-06-07 15:15
    Ralph:
    neminem:
    Hey, Microsoft has made some fine stuff.
    They have? Hard to believe....

    Oh, I get it! It wasn't software. Right?


    you better believe it. That 128-bit Zune is going to rock the world ;-).
  • PiisAWheeL 2012-06-07 15:17
    Nagesh:
    Remy Porter:
    Hey everyone, I just received bad news. Fake Nagesh is dead, he got run over by a dog sled team. Hopefully The Daily WTF will survive this tragedy ...

    I ain't being sorry fake Nagesh is being re-incarnation as cockroach. He has been massaging my good name for some time now.
    YOU'RE SUPPOSED TO BE DEAD!!! STAY DEAD!!!
  • Scrummy 2012-06-07 15:19
    At the risk of sounding redundant, an Agile team would not have had this problem. Regular product review and retrospective would have unearthed that settings driven by bits stored in the registry is wildly untenable. And an Agile team's code would have been so thoroughly tested that post-merger integration would be a snap.
  • Nagesh 2012-06-07 15:25
    Fake Nagesh ain't me. It is that other scarecrow who always be massaging stupid coments.
  • ObiWayneKenobi 2012-06-07 15:26
    Scrummy:
    At the risk of sounding redundant, an Agile team would not have had this problem. Regular product review and retrospective would have unearthed that settings driven by bits stored in the registry is wildly untenable. And an Agile team's code would have been so thoroughly tested that post-merger integration would be a snap.


    But again, a "team" of "developers" like that wouldn't know anything about Agile, wouldn't have been using Agile, and would have probably thrown a fit if they had been asked about their thoughts on Agile. The fact it was a VB6 application, a platform that has been obsolete for nearly a decade and a half, is a good indicator of that team's quality and skill level.

    People like that don't use Agile, and it's doubtful they've ever heard of it,
  • Nagesh 2012-06-07 15:41
    Me thinking there maybe two fake Nageshes.
  • Nagesh 2012-06-07 15:42
    Nagesh:
    Me thinking there maybe two fake Nageshes.
    Me too.
  • English Man 2012-06-07 15:56
    But changing existing base logic -- no matter how flawed -- added risk to a process
    This isn't a WTF. If the existing software is doing the job you DO NOT jump in all gung-ho to <i>improve</i> it. How many WTF stories start exactly that way?
  • aptent 2012-06-07 16:26
    SilentRunner:
    J-Po:
    Frist?

    Real WTF is Visual Basic


    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.

    And WTF is "frist"? Is that a medal you pin on your ass, J-Po?


    "Frist" is a shorthand for "I'm a dumbass because that's pretty much the only constructive comment that I can provide related to this article".
  • aptent 2012-06-07 16:28
    C-Octothorpe:
    SilentRunner:
    J-Po:
    Frist?

    Real WTF is Visual Basic


    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.

    And WTF is "frist"? Is that a medal you pin on your ass, J-Po?
    You're the reason the bottom-feeding trolls get up in the morning...


    Screw you, octopus
  • aptent 2012-06-07 16:32
    PiisAWheeL:
    SilentRunner:
    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.

    And WTF is "frist"? Is that a medal you pin on your ass, J-Po?
    You act like Microsoft fucked up 1 time like 10 years ago and we wont let it go.

    Since Microsoft CONTINUES to release new and sometimes interesting wtfery, We CONTINUES to jab on it. Its not that nothing good comes out of there, but the bad is just so much more fun to make fun of.

    Also a lot of people who "know better" (people with experience and understanding of how computers operate) like to make fun of microsoft because their target market tends to be people who struggle with checking their email. While microsofts software makes it easier for them, the rest of us just get annoyed at a lot of those "features" and do our damndest to avoid, turn off, or ignore them.


    Then go ahead and use linux with the fastest GUI responsiveness or an equally buggy Mac. Windows is the best desktop (and server) operating systems availalbe nowadays (I'm not digging into the past, though).
  • aptent 2012-06-07 16:34
    ObiWayneKenobi:
    No, you only see this kind of half-assed stupidity in Microsoft developers (and sometimes PHP). You rarely find this kind of nonsense in Java-land, although there's a different beast there (namely tons of XML). I'd rather deal with tons of XML than some harebrained idea like USING THE FUCKING REGISTRY. At least XML was meant to be a tool, but using the Registry just screams "I have zero idea what the hell I'm doing, but who cares?"

    Seriously, the problem with Microsoft is that they are always late to the party. It took them how fucking long to roll out an MVC framework despite that pattern being around since 19-FUCKING-70 and every other platform having some kind of MVC framework for it. No, instead Microsoft pushes this bullshit WebForms to mimic the style of VB6 apps, and continues to prove total ignorance by pushing the ability to do "RAD" and shlock code out using drag-and-drop or wizard driven nonsense.


    You have no fucking clue what you're talking about. Go flip burgers.
  • aptent 2012-06-07 16:36
    Ralph:
    neminem:
    Hey, Microsoft has made some fine stuff.
    They have? Hard to believe....

    Oh, I get it! It wasn't software. Right?


    Ralph, I fucking KNOW that you can't even turn on a non-windows machine, so shut the fuck up - dick!
  • AGray 2012-06-07 16:40
    No, we never tire of taking digs at Microsoft. And we wouldn't necessarily be frying eggs; we might even be working for Apple!

    'frist' is probably a captcha that turned into a "first post" thingamabobster.

    CAPTCHA: Tego - if we were frying eggs, you would need to leggo this!
  • Matt Westwood 2012-06-07 16:44
    SilentRunner:
    J-Po:
    Frist?

    Real WTF is Visual Basic


    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.

    And WTF is "frist"? Is that a medal you pin on your ass, J-Po?

    You fucking would because you're a fucking prick.
  • Matt Westwood 2012-06-07 16:46
    neminem:
    Hey, Microsoft has made some fine stuff. C# is actually one of the prettiest languages I've worked in. VB, especially old VB... not so much with that. (And while Windows itself has been getting remarkably robust, the UI just keeps getting worse. Good thing people keep writing user-space applications to fix most of the issues by throwing out the native UI entirely. Though I still haven't found a perfect explorer replacement for Win7 (I wish I could just run XP's explorer). Explorer++ is close, but there are a couple major annoying bugs, and while it's technically open source, its maintainer and sole -actual- developer hasn't touched it in months.)


    May you choke on vomit. I don't care whose.
  • Trans Verbero 2012-06-07 17:24
    English Man:
    But changing existing base logic -- no matter how flawed -- added risk to a process
    This isn't a WTF. If the existing software is doing the job you DO NOT jump in all gung-ho to <i>improve</i> it. How many WTF stories start exactly that way?

    Hmmm come to think of it.... they just had one like that YESTERDAY!!! ;-)

    As much as I hate working in VB6, you're absolutely right.
  • Sir Twist 2012-06-07 17:29
    myName:
    And why buy it if they were joining the other company, didn't they already have the tools?
    No, the other company had VB 6 or VS 6. Doyle's company didn't. The earliest version of VS included in your MSDN subscription has been VS.NET for at least the last 5 years.
  • dkf 2012-06-07 17:35
    aptent:
    Windows is the best desktop (and server) operating systems availalbe nowadays (I'm not digging into the past, though).
    Is this the same Windows which mixes an utterly unpredictable mechanism for quoting arguments to subprocesses and a strong inclination to spaces in filenames?
  • Ralph 2012-06-07 17:46
    dkf:
    aptent:
    Windows is the best desktop (and server) operating systems availalbe nowadays (I'm not digging into the past, though).
    Is this the same Windows which mixes an utterly unpredictable mechanism for quoting arguments to subprocesses and a strong inclination to spaces in filenames?
    Yes, but Mac and now Linux encourage spaces in filenames too so they're just as crappy.

    Hint: It is supposed to be a file name not a fucking sentence!
  • Silverhill 2012-06-07 17:54
    aptent:
    "Frist" is a shorthand for "I'm a dumbass because that's pretty much the only constructive comment that I can provide related to this article".
    Or else it's a standing (if lame) joke.
    aptent:
    Screw you, octopus
    aptent:
    You have no fucking clue what you're talking about. Go flip burgers.
    Somebody pissed -- no, sombody must have shat -- in your Cheerios this morning, eh aptent?

    (cue another stupid response from aptent in 3...2...1...)
  • Ever the pessimist 2012-06-07 18:00
    PiisAWheeL:
    Jay:
    dutchieman:
    1 = 1
    10 = 8 + 2
    100 = 64 + 32 + 4

    ... were they just lucky? or is that stuff in fact binary, and not decimal?


    Yeah, I wondered about that too. So if they add 1000=Mexico, 1000 = 8+32+64+128+256+512, which has bits in common with both 10 and 100. So:

    country=Canada
    if county and Mexico ... will be true

    And they'll probably sit there scratching their heads over this weird bug. Why does it work for 3 "bits" but not for 4? This is when they start writing letters to Microsoft informing them of the bug in the VB6 compiler.
    I can think of 2 possibilities (non exhaustive list):
    1: It really is true binary. That makes a wtf out of not getting your full potential out of it (since you can count to 7 with 3 bits)
    2: They have a very similar storage method and is in fact storing it in the registry as decimal without realizing it, so anding a decimal 100 with a decimal 100 (im assuming the conversation is that it looks like decimal in the code and not binay) should = out right?

    The second one is my working theory.


    Based on what we've seen so far, I'd say that the data is stored in the registry as a decimal, read in to the app using a registry reading function that returns a String, converted to an integer using a combination of substring functions and poorly indented if statements, and dumped into the Global variable iChkBx, all of which written directly into the listener function of a button, and that function which will read rather like this sentence that you're reading right now. End Ramble.
  • Nagesh 2012-06-07 18:43
    Nagesh:
    Nagesh:
    Me thinking there maybe two fake Nageshes.
    Me too.
    I is thinking to agree with both youse
  • Anonymous Bob 2012-06-07 18:49
    Amen to that. Just today I was investigating the "icacls" command to change the ACLs on some files via a batch file. It turns out it won't break the inheritance chain of ACLs, which seems to be how most permissions are passed on through the directory tree. So, to break the chains (without using the GUI), you have to get the old xcacls.vbs that was used on XP. Oh, and it's not supported and not guaranteed to work on Win 7. Great. How do they let a half baked tool like icacls out the door?
  • Anonymous Bob 2012-06-07 18:50
    Anonymous Bob:
    Amen to that. Just today I was investigating the "icacls" command to change the ACLs on some files via a batch file. It turns out it won't break the inheritance chain of ACLs, which seems to be how most permissions are passed on through the directory tree. So, to break the chains (without using the GUI), you have to get the old xcacls.vbs that was used on XP. Oh, and it's not supported and not guaranteed to work on Win 7. Great. How do they let a half baked tool like icacls out the door?


    Ok, so the Reply doesn't do a quote. There's a Quote button for that. <sigh>
  • Anonymous Bob 2012-06-07 18:54
    Ralph:
    dkf:
    aptent:
    Windows is the best desktop (and server) operating systems availalbe nowadays (I'm not digging into the past, though).
    Is this the same Windows which mixes an utterly unpredictable mechanism for quoting arguments to subprocesses and a strong inclination to spaces in filenames?
    Yes, but Mac and now Linux encourage spaces in filenames too so they're just as crappy.

    Hint: It is supposed to be a file name not a fucking sentence!


    I've spent more years than I care to admit working on both Windows and various *nix flavors. I've got to say Windows has generated more WTF moments for me than any of the others.
  • Nick V. 2012-06-07 19:45
    SilentRunner:
    J-Po:
    Frist?

    Real WTF is Visual Basic


    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.

    And WTF is "frist"? Is that a medal you pin on your ass, J-Po?


    I think he meant that VB6 is the WTF. We don't really go by version number anymore but vintage instead or rather the framework behind.

    Also Visual Basic is slowly deprecated, MSDN still shows exampls in VB as well as C#, but the latter is by far the language of choice for .net developers.

    And "frist" is like "pwned", making joke a folks typing so fast that they hit submit without spell checking themselves, in their haste to be first to post.

    It's just a meme, like Nagesh.
  • Nick V. 2012-06-07 19:46
    Nick V.:
    SilentRunner:
    J-Po:
    Frist?

    Real WTF is Visual Basic


    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.

    And WTF is "frist"? Is that a medal you pin on your ass, J-Po?


    I think he meant that VB6 is the WTF. We don't really go by version number anymore but vintage instead or rather the framework behind.

    Also Visual Basic is slowly deprecated, MSDN still shows exampls in VB as well as C#, but the latter is by far the language of choice for .net developers.

    And "frist" is like "pwned", making joke a folks typing so fast that they hit submit without spell checking themselves, in their haste to be first to post.

    It's just a meme, like Nagesh.


    And I obviously did not spellcheck myself either :)
  • Nagesh 2012-06-07 19:52
    Nagesh:
    Nagesh:
    Nagesh:
    Me thinking there maybe two fake Nageshes.
    Me too.
    I is thinking to agree with both youse
    Me two
  • Norman Diamond 2012-06-07 20:26
    Sir Twist:
    myName:
    And why buy it if they were joining the other company, didn't they already have the tools?
    No, the other company had VB 6 or VS 6. Doyle's company didn't. The earliest version of VS included in your MSDN subscription has been VS.NET for at least the last 5 years.
    VB6 Enterprise Edition is still downloadable from MSDN, even for MSDN subscribers who no longer have an enterprise level subscription.
  • Norman Diamond 2012-06-07 20:36
    WTFs in manipulation of bits, non-bit values, and inability to tell the difference, is not limited to VB or Windows.

    [url made into a non-url because akismet doesn't allow urls]
    http marc.info/?l=linux-scsi&m=133905180311418&w=2
    [/url made into a non-url because akismet doesn't allow urls]
  • Meep 2012-06-07 23:03
    dutchieman:
    1 = 1
    10 = 8 + 2
    100 = 64 + 32 + 4

    ... were they just lucky? or is that stuff in fact binary, and not decimal?

    CAPTCHA:vulputate, i.e. what you do after smelling this code


    Luck; 1000 & 10 is true, as is 1000 & 100. VB doesn't have binary literals.

    Hey, I inherited code from a guy who was trying to use the unix find command and (partly because he never read the fucking manual) did not grasp that its arguments were a logical predicate. *All* his code was "try shit and see if it sticks."

    The worst part is the motherfucker who swears that we never had problems when this guy ran it.
  • Meep 2012-06-07 23:04
    Nagesh:
    Nagesh:
    Nagesh:
    Nagesh:
    Me thinking there maybe two fake Nageshes.
    Me too.
    I is thinking to agree with both youse
    Me two


    Nagesh, please.
  • James Johnston 2012-06-07 23:34
    I don't have an MSDN subscription, but I thought I had read that Visual Studio 6 was pulled due to the Sun Java lawsuit outcome?

    Also, why try to buy dozens of copies on eBay? I thought new Microsoft products came with downgrade rights to any previous version - you just have to track down the media on your own.

    It's really sad. It would be awesome if MSDN came with access to all past versions of the products it comes with. I've always wondered what it would be like to program for Windows 1.0 using whatever SDK they had available back then - just for fun. It would be a very interesting way to learn how the API has evolved over the years. But the earliest I found on MSDN was Windows 3.1 and Visual C++ 1.52, if I remember right. No idea where one would come up with the older stuff.

    I guess another problem is the older stuff came with printed documentation only - and no online documentation. (What with memory being such a limited thing and all that).
  • doubleb 2012-06-08 00:02
    Sure, I'm tired of taking digs at Microsoft. But, then I run into yet another half baked, incoherent design that was foisted on us as the standard. That gets me all riled up again.

    Of course, I eventually find workarounds that let me find a way to accept the poor and incoherent design. However, by then I've already found multiple half baked, incoherent designs that ....

    I'd be happy to give up my bitterness if Microsoft could stop finding new ways to earn it.
  • Norman Diamond 2012-06-08 00:09
    James Johnston:
    I don't have an MSDN subscription, but I thought I had read that Visual Studio 6 was pulled due to the Sun Java lawsuit outcome?
    I think that's correct. I think that's why VB6 is the only component of the former Visual Studio 6 that can still be downloaded.

    James Johnston:
    But the earliest I found on MSDN was Windows 3.1 and Visual C++ 1.52, if I remember right.
    That matches my recollection, though I'm not going to log in again now to check it. VC++ 1.52 remains available for 16-bit programs, for Windows 3.1 or MS-DOS 7 or whatever. (I think MS-DOS 7 was what you got by booting Windows 98 to real mode. I haven't done it for a while. Hey wait, I still have it installed in a VM somewhere.)
  • Coyne 2012-06-08 03:04
    It is really depressing to see just how poor some people's understanding of computer programming really is. The "bit logic" in this WTF is so broken as to boggle the mind.

    Just as an example, if iChkBx = 1000, then "iChkBx And 100" is true!

    So it's clear the authors had no idea what "iChkBx And 100" actually does, and they can't do even elementary testing.

    Never has that old saying rung so true:

    "If carpenters built houses the way programmers build programs, the first woodpecker that came along would destroy civilization." - Jerry Weinberg


  • Jamie 2012-06-08 03:07
    Ralph:
    dkf:
    aptent:
    Windows is the best desktop (and server) operating systems availalbe nowadays (I'm not digging into the past, though).
    Is this the same Windows which mixes an utterly unpredictable mechanism for quoting arguments to subprocesses and a strong inclination to spaces in filenames?
    Yes, but Mac and now Linux encourage spaces in filenames too so they're just as crappy.

    Hint: It is supposed to be a file name not a fucking sentence!
    A program or process made for general users is more useful than a program or process made for Computer Programmers.

    It's a lot better for the end user to use terms and patterns you've grown up with your whole life (Sentence structure, for example), than it is to go by what's easier to program.

    Windows is all about ease of use for the end user, not for the computer scientist. This is why it's so popular to this day, and there is nothing right about criticizing a few issues within batch scripts (Which have easily-accessible workarounds), than it is to troubleshoot why a user can't access a particular folder 50 times a day for a living.
  • dogmatic 2012-06-08 03:35
    Jamie:

    It's a lot better for the end user to use terms and patterns you've grown up with your whole life (Sentence structure, for example), than it is to go by what's easier to program.

    Windows is all about ease of use for the end user, not for the computer scientist. This is why it's so popular to this day, and there is nothing right about criticizing a few issues within batch scripts (Which have easily-accessible workarounds), than it is to troubleshoot why a user can't access a particular folder 50 times a day for a living.


    Bah, it was better when filenames had to be 8 letters. We liked it because it was all we had!
  • Mick 2012-06-08 04:05
    No, they would be bitching about some other company (maybe Apple?) and their awful programming suite. But programmers would be around, with or without Microsoft.
  • Zzz 2012-06-08 04:22
    Ralph:
    dkf:
    aptent:
    Windows is the best desktop (and server) operating systems availalbe nowadays (I'm not digging into the past, though).
    Is this the same Windows which mixes an utterly unpredictable mechanism for quoting arguments to subprocesses and a strong inclination to spaces in filenames?
    Yes, but Mac and now Linux encourage spaces in filenames too so they're just as crappy.

    Hint: It is supposed to be a file name not a fucking sentence!

    Oh boy it's you again!
    Please tell us more about how the web is supposed to be for pure documents only and Javascript is so evil. Don't you just love the new direction it's taking with HTML5?
  • Mike 2012-06-08 05:26
    So, being this is a VB6 app, with coding oddities like described, this is no doubt a very large, legacy app, developed in the 90s and still going strong at time of writing. I wonder how many of Doyle's "superior" apps will still be in production after nearly 20 years.

    As for running off to various auction sites to get a copy of VB6. What sort of a 2 bit, half backed, amateur organisation is that? Very much sounds to me as if Doyle and crew need a reality check, they ain't that good
  • Mr A 2012-06-08 06:57
    Personally, I think the project leads were right to stop the enhancements.
    It's an old project with (almost certainly) no unit testing, and a crappy structure full of unintended action at a distance.
    The only options are to re-write from scratch or leave it alone.
    Personally, the wtf for me is any suggestion that you'd want to open this can of worms.
  • Bartholomew Taps 2012-06-08 07:01
    Scrummy:
    At the risk of sounding redundant, an Agile team would not have had this problem. Regular product review and retrospective would have unearthed that settings driven by bits stored in the registry is wildly untenable.


    I don't see why agile would make this more likely. The original team alread knew what was being done, and was OK with it. So a "review and retrospective" would make no difference.

    Indeed, the decision to use a hack like this is usually the result of the artificial deadlines created by iterative processes. The assumption is always that a better solution will go in at a later date. But as the hacky method spreads around the codebase, the cost of that refactor just goes up. And it never gets done.

    Indeed, this WTF story has real-word agile written all over it.
  • ObiWayneKenobi 2012-06-08 07:58
    aptent:
    You have no fucking clue what you're talking about. Go flip burgers.


    Methinks you're one of those VB "developers" that Microsoft caters to and who wouldn't know good software development practices if it bit you on the ass.

    Seriously, people like that are a cancer on the development world. They sneak into companies and entrench themselves, railing against good and proven techniques like unit testing (maybe TDD, maybe not), design patterns, using third-party libraries were appropriate versus NIH, using any kind of good software engineering principle that many genius-level developers espouse. They write code like shit, focusing only on how fast they can shlock up some bullshit to con their boss into thinking a feature works when it's buggy as all hell and barely works. They force good developers to leave because they get tired of getting nowhere trying to implement things that should be common sense to any good developer.

    Die in a fire. And take the rest of your degenerate VB Mort brethren with you.
  • My_Name 2012-06-08 08:00
    Mike:
    As for running off to various auction sites to get a copy of VB6. What sort of a 2 bit, half baked, amateur organisation is that? Very much sounds to me as if Doyle and crew need a reality check, they ain't that good

    QFT. Agreed, as someone already pointed out VB6/VS6 is still available thru MSDN. But even if it wasn't, Visual Studio can convert/upgrade it to VB.Net. Granted, the conversion is not always 100% perfect, but at least that would be a fall-back option if VS6 wasn't available.

    I also wonder what kind of amateur group this is, that they don't keep all their old cds?! Come on, IT is known for being pack-rats, in my old job we had hundreds of cd sleeves with Volume License versions of every Msft package back to 1995 or so. And somewhere around here I think I still have Office 4.3 on floppies! ;-)
  • Hate XML 2012-06-08 08:23
    I'd rather deal with tons of XML than some harebrained idea like USING THE FUCKING REGISTRY.


    At least with the registry you can do black box testing when documentation is missing. Or if you have the source code, you can search for identifier.

    If something is missing from XML spesifications, it is impossible to find out what it is. Either it's well documented, you have the source code and know where to look, or you're screwed.

  • Doubter 2012-06-08 08:27
    ObiWayneKenobi:
    aptent:
    You have no fucking clue what you're talking about. Go flip burgers.


    Methinks you're one of those VB "developers" that Microsoft caters to and who wouldn't know good software development practices if it bit you on the ass.

    Seriously, people like that are a cancer on the development world. They sneak into companies and entrench themselves, railing against good and proven techniques like unit testing (maybe TDD, maybe not), design patterns, using third-party libraries were appropriate versus NIH, using any kind of good software engineering principle that many genius-level developers espouse. They write code like shit, focusing only on how fast they can shlock up some bullshit to con their boss into thinking a feature works when it's buggy as all hell and barely works. They force good developers to leave because they get tired of getting nowhere trying to implement things that should be common sense to any good developer.

    Die in a fire. And take the rest of your degenerate VB Mort brethren with you.


    It's assholes like you that give decent hard working C# developers a bad name. I am so sick of seeing the flame VB comments. Its not the language that's bad, its the developers themselves. And before you get your panties in a bunch about the language, stop begging for all the things that make VB nice. I dunno, like background compilation, intellisense that works, and while all the C# devs railed about optional param's... they sure are quiet about it now that C# has them.

    All the high and mighty C# devs can sit around and jerk each other off telling each other how great their language is, and the VB devs just keep getting the job done. Most of the time the compiled code is identical to whatever garbage the equally bad C# devs produce. Garbage in, garbage out.

    Ugh. I hate getting worked up this early in the morning.
  • Bartholemew Taps 2012-06-08 08:36
    Doubter:
    All the high and mighty C# devs can sit around and jerk each other off telling each other how great their language is, and the VB devs just keep getting the job done. Most of the time the compiled code is identical to whatever garbage the equally bad C# devs produce.


    It isn't just about the compiled code. It's also about the readability and maintainability of the source code.

    "Getting the job done" is no good if you're only doing half the job.
  • Doubter 2012-06-08 08:39
    Bartholemew Taps:
    Doubter:
    All the high and mighty C# devs can sit around and jerk each other off telling each other how great their language is, and the VB devs just keep getting the job done. Most of the time the compiled code is identical to whatever garbage the equally bad C# devs produce.


    It isn't just about the compiled code. It's also about the readability and maintainability of the source code.

    "Getting the job done" is no good if you're only doing half the job.


    Meh, VB devs claim theirs is more readable, C# devs claim theirs is... and PHP devs.. well they will never claim that. I would never want a VB dev to maintain my C# code and vice versa so that argument doesnt hold any water for me.
  • Mike 2012-06-08 09:08
    Interesting that modern devs think there is one true religion. I wonder what they would think about an era where you learnt two languages a year. VB vs C# vs PHP vs whatever is so funny.

    Have some respect guys. TRWTF is language wars
  • Nagesh 2012-06-08 09:13
    Remy Porter:
    Hey everyone, I just received bad news. Fake Nagesh is dead, he got run over by a dog sled team. Hopefully The Daily WTF will survive this tragedy ...


    FakeNagesh = fake Remy Porter.
  • Nagesh 2012-06-08 09:17
    James Johnston:
    I don't have an MSDN subscription, but I thought I had read that Visual Studio 6 was pulled due to the Sun Java lawsuit outcome?

    Also, why try to buy dozens of copies on eBay? I thought new Microsoft products came with downgrade rights to any previous version - you just have to track down the media on your own.

    It's really sad. It would be awesome if MSDN came with access to all past versions of the products it comes with. I've always wondered what it would be like to program for Windows 1.0 using whatever SDK they had available back then - just for fun. It would be a very interesting way to learn how the API has evolved over the years. But the earliest I found on MSDN was Windows 3.1 and Visual C++ 1.52, if I remember right. No idea where one would come up with the older stuff.

    I guess another problem is the older stuff came with printed documentation only - and no online documentation. (What with memory being such a limited thing and all that).


    J++ was start of Microsoft and Sun Microsystem trouble. I heard J++ is now banned world-wide and if you have system running in J++, you need to surender it to Oracle who own all legal rights. So microsoft make copy of J++ and sold it as C#. Once free from java yoke, they decided to add more things to c# and making it a complete different language.
  • ObiWayneKenobi 2012-06-08 09:34
    Doubter:
    It's assholes like you that give decent hard working C# developers a bad name. I am so sick of seeing the flame VB comments. Its not the language that's bad, its the developers themselves. And before you get your panties in a bunch about the language, stop begging for all the things that make VB nice. I dunno, like background compilation, intellisense that works, and while all the C# devs railed about optional param's... they sure are quiet about it now that C# has them.

    All the high and mighty C# devs can sit around and jerk each other off telling each other how great their language is, and the VB devs just keep getting the job done. Most of the time the compiled code is identical to whatever garbage the equally bad C# devs produce. Garbage in, garbage out.

    Ugh. I hate getting worked up this early in the morning.


    It's not VB devs, but I see that "who cares about doing things correct? Just sling some code!" mentality far more often in VB guys than C# guys, and VB guys seem to be more likely to not care about things like the SOLID principles, or using an ORM or IoC container or advanced things like that. I don't hate the language, I hate the mentality around the language.
  • Nagesh 2012-06-08 09:35
    Remy Porter:
    Hey everyone, I just received bad news. Fake Nagesh is dead, he got run over by a dog sled team. Hopefully The Daily WTF will survive this tragedy ...


    dictionary.com:

    dog sled
    noun
    1.
    Also, dog sledge . a sled pulled by dogs, especially one used by Arctic peoples, as the Eskimos.


    ???

    dictionary.com:

    sled
    noun
    1.
    a small vehicle consisting of a platform mounted on runners for use in traveling over snow or ice.


    Ain't ice in Hyderabad excepting in mechine at hotel:

  • RichP 2012-06-08 09:39
    Tasty:
    <snip>

    Am I supposed to read the iChkBx And 100 etc. as bit-wise AND? Who reads 100 and doesn't think in decimal?


    VB.Net Programmers, that's who!
  • PiisAWheeL 2012-06-08 10:00
    Nick V.:
    Nick V.:
    SilentRunner:
    J-Po:
    Frist?

    Real WTF is Visual Basic


    Don't you people ever tire of taking digs at Microsoft? You SOBs would be frying eggs at the local diner if it weren't for Microsoft.

    And WTF is "frist"? Is that a medal you pin on your ass, J-Po?


    I think he meant that VB6 is the WTF. We don't really go by version number anymore but vintage instead or rather the framework behind.

    Also Visual Basic is slowly deprecated, MSDN still shows exampls in VB as well as C#, but the latter is by far the language of choice for .net developers.

    And "frist" is like "pwned", making joke a folks typing so fast that they hit submit without spell checking themselves, in their haste to be first to post.

    It's just a meme, like Nagesh.


    And I obviously did not spellcheck myself either :)
    Frist started as a typo.
    Nagesh is not a meme, Nagesh is an idiot.
    And the same 3 "Hydarabad" photos aren't funny anymore.
  • Doubter 2012-06-08 10:02
    ObiWayneKenobi:
    Doubter:
    It's assholes like you that give decent hard working C# developers a bad name. I am so sick of seeing the flame VB comments. Its not the language that's bad, its the developers themselves. And before you get your panties in a bunch about the language, stop begging for all the things that make VB nice. I dunno, like background compilation, intellisense that works, and while all the C# devs railed about optional param's... they sure are quiet about it now that C# has them.

    All the high and mighty C# devs can sit around and jerk each other off telling each other how great their language is, and the VB devs just keep getting the job done. Most of the time the compiled code is identical to whatever garbage the equally bad C# devs produce. Garbage in, garbage out.

    Ugh. I hate getting worked up this early in the morning.


    It's not VB devs, but I see that "who cares about doing things correct? Just sling some code!" mentality far more often in VB guys than C# guys, and VB guys seem to be more likely to not care about things like the SOLID principles, or using an ORM or IoC container or advanced things like that. I don't hate the language, I hate the mentality around the language.


    Fine. I can understand that, and for a long time, that probably was the case. BUT, I have also seen a lot of C# devs and uninformed managers have the false sense of security that just because its done in C#, its magically wunderbar, and naturally better than anything else, akin to sliced bread. Doing it right is more than picking a language of the month, its all the "other" stuff thats hard.

    Its also easy to slam the VB3 - VB6 era, but lets face it, its the only language of its time (not counting C and its derivatives) that has lasted, for good or bad; Delphi, Paradox, dbase, PowerBuilder and the rest faded away. Without the pervasivness of the product, I doubt Visual Studio would be in the position its in today.
  • D-Coder 2012-06-08 10:40
    Remy Porter:
    Hey everyone, I just received bad news. Fake Nagesh is dead, he got run over by a dog sled team. Hopefully The Daily WTF will survive this tragedy ...
    Kill all the Nageshes. Let Vishnu sort them out.
  • PiisAWheeL 2012-06-08 10:42
    Doubter:
    ObiWayneKenobi:
    Doubter:
    It's assholes like you that give decent hard working C# developers a bad name. I am so sick of seeing the flame VB comments. Its not the language that's bad, its the developers themselves. And before you get your panties in a bunch about the language, stop begging for all the things that make VB nice. I dunno, like background compilation, intellisense that works, and while all the C# devs railed about optional param's... they sure are quiet about it now that C# has them.

    All the high and mighty C# devs can sit around and jerk each other off telling each other how great their language is, and the VB devs just keep getting the job done. Most of the time the compiled code is identical to whatever garbage the equally bad C# devs produce. Garbage in, garbage out.

    Ugh. I hate getting worked up this early in the morning.


    It's not VB devs, but I see that "who cares about doing things correct? Just sling some code!" mentality far more often in VB guys than C# guys, and VB guys seem to be more likely to not care about things like the SOLID principles, or using an ORM or IoC container or advanced things like that. I don't hate the language, I hate the mentality around the language.


    Fine. I can understand that, and for a long time, that probably was the case. BUT, I have also seen a lot of C# devs and uninformed managers have the false sense of security that just because its done in C#, its magically wunderbar, and naturally better than anything else, akin to sliced bread. Doing it right is more than picking a language of the month, its all the "other" stuff thats hard.

    Its also easy to slam the VB3 - VB6 era, but lets face it, its the only language of its time (not counting C and its derivatives) that has lasted, for good or bad; Delphi, Paradox, dbase, PowerBuilder and the rest faded away. Without the pervasivness of the product, I doubt Visual Studio would be in the position its in today.
    I started with visual basic. It was a great little language. Definitelly a good language for beginners. I stopped using it because I needed to do things with it that it simply didn't support at the time (binary operations comes to mind). Not sure how the language has evolved because I haven't kept up on it in like 10 years.

    So in my experience, a lot of devs get wet with vb, and then move on when it will no longer suit their purpose. It has always (in my head at least) been the "playskool" language.

    Oh, and I also hated having to install the fucking vb library on every machine I ever needed to install my software on. Thats when I switched to c++. Does vb still do that?

    Addendum (2012-06-08 10:56):
    Actually, fisher-price comes to mind...
    vb: Play Laugh Grow.
  • radarbob 2012-06-08 10:44
    Macbeth truly grokked the general state of code, and this thread:

    ... but a walking shadow, a poor player That struts and frets his hour upon the stage And then is heard no more: it is a tale Told by an idiot, full of sound and fury, Signifying nothing.
  • Mike 2012-06-08 11:20
    PiisAWheeL:

    Oh, and I also hated having to install the fucking vb library on every machine I ever needed to install my software on. Thats when I switched to c++. Does vb still do that?


    That stopped when M$ got around to shipping the runtime as part of the Windows install.

    In terms of "VB" that particular language stopped at VB6. Since then it is just a .Net language so the idea that VB vs C# is even an argument is just silly, and perpetuated out of ignorance.
  • Bridget 2012-06-08 11:58
    VB6 legacy app. I can see why they'd be reluctant to make changes during an integration. My first workplace had the attitude of 'don't touch it lest we bring down the whole house of cards' with their legacy VB6 app, sadly, I don't remember the details of how it was designed outside of it had code generating code and took 6 hours to build.
  • lesle 2012-06-08 13:50
    Fake Nagesh wanted to be buried in a black suit. Fortunately another deceased came into the funeral home wearing a black suit and the undertaker was able to switch heads.
  • Gibbon1 2012-06-08 14:12
    Mr A:
    Personally, I think the project leads were right to stop the enhancements.
    It's an old project with (almost certainly) no unit testing, and a crappy structure full of unintended action at a distance.
    The only options are to re-write from scratch or leave it alone.
    Personally, the wtf for me is any suggestion that you'd want to open this can of worms.


    This is correct. There is also the issue of the other teams mental maps of the application. Any changes you make to the application will mess that up somewhat and that is a hidden cost. Also a likely reason legacy applications get messed up sideways is due to incomplete attempts to revamp them, so now instead of having one way the application does something you have three and a half way. The original way, the new actually worse way, a better way, and the misc I had no idea what I'm doing way.
  • Doubter 2012-06-08 14:50
    Gibbon1:
    Mr A:
    Personally, I think the project leads were right to stop the enhancements.
    It's an old project with (almost certainly) no unit testing, and a crappy structure full of unintended action at a distance.
    The only options are to re-write from scratch or leave it alone.
    Personally, the wtf for me is any suggestion that you'd want to open this can of worms.


    This is correct. There is also the issue of the other teams mental maps of the application. Any changes you make to the application will mess that up somewhat and that is a hidden cost. Also a likely reason legacy applications get messed up sideways is due to incomplete attempts to revamp them, so now instead of having one way the application does something you have three and a half way. The original way, the new actually worse way, a better way, and the misc I had no idea what I'm doing way.


    Oh, Technical Debt, why didnt you say so? ;)
  • Spartacus 2012-06-08 20:24
    I'M SPARTACUS.
  • Norman Diamond 2012-06-08 21:06
    My_Name:
    Mike:
    As for running off to various auction sites to get a copy of VB6. What sort of a 2 bit, half baked, amateur organisation is that?
    Agreed, as someone already pointed out VB6/VS6 is still available thru MSDN.
    VB6 yes, the rest of VS6 no.

    My_Name:
    But even if it wasn't, Visual Studio can convert/upgrade it to VB.Net. Granted, the conversion is not always 100% perfect, but at least that would be a fall-back option if VS6 wasn't available.
    Wrong. VS .Net has a component that reads a VB6 project and produces a VB .Net project, but the output isn't a conversion, isn't an upgrade, isn't 10% perfect, and isn't a fallback option. It's easier to write a new VB .Net application from scratch than to clean up the result of the supposed conversion.

    VC++ projects get converted more reasonably. It's not really a problem that the rest of VS6 is unavailable now.

    My_Name:
    I also wonder what kind of amateur group this is, that they don't keep all their old cds?!
    Microsoft told them they wouldn't have to keep old CDs because expired MSDN subscriptions would still allow downloads. Some people call me unprofessional for not being 10% trustful of Microsoft.
  • AN AMAZING CODER 2012-06-08 23:40
    I'm quite certain that "Scrummy" is a god damned troll just like fake Nagesh.
  • Nagesh 2012-06-10 10:14
    D-Coder:
    Remy Porter:
    Hey everyone, I just received bad news. Fake Nagesh is dead, he got run over by a dog sled team. Hopefully The Daily WTF will survive this tragedy ...
    Kill all the Nageshes. Let Vishnu sort them out.


    Learn mythology first. Shiva responsible for all destruction. Kali is his instrument.
  • Enterprise Nooblet Container 2012-06-11 09:23
    I think you should spend some more time lurking before posting.
    Frist is a joke about people yelling that they were first in the comments field. Some 40 years ago.

    As for taking digs at Microsoft, you do realize that they do more than just Visual Basic, right? C# seems to be well liked, and I at least have no hatred for MS Windows. (Even thought I use Ubuntu myself)
  • Retsila 2012-06-11 11:01

    The registry isn't useless, just over-used. The idea of a central place for configuration settings per machine is a decent one. And in fact it does quite well when used correctly.

    the registry is the most insane idea I have ever seen.
    now corruption of 1 file can destroy a whole OS (yes I know there are tools to edit the registry that should enable it to be fixed but in the real world that seldom happens)
  • Endaar 2012-06-11 11:12
    Anonymous Bob:
    Amen to that. Just today I was investigating the "icacls" command to change the ACLs on some files via a batch file. It turns out it won't break the inheritance chain of ACLs, which seems to be how most permissions are passed on through the directory tree. So, to break the chains (without using the GUI), you have to get the old xcacls.vbs that was used on XP. Oh, and it's not supported and not guaranteed to work on Win 7. Great. How do they let a half baked tool like icacls out the door?


    http://www.gbordier.com/gbtools/fileacl.asp
  • barf 4eva 2012-06-11 12:31
    "But no matter, they thought -- it was only Visual Basic."

    Now there is the real WTF... You should know when immersing yourself in VB6 or earlier, that the can of worms is complimentary!
  • Nagesh 2012-06-12 12:12
    Retsila:

    The registry isn't useless, just over-used. The idea of a central place for configuration settings per machine is a decent one. And in fact it does quite well when used correctly.

    the registry is the most insane idea I have ever seen.
    now corruption of 1 file can destroy a whole OS (yes I know there are tools to edit the registry that should enable it to be fixed but in the real world that seldom happens)


    Any OS can fail. Backup is necessary. If you want back up, look forward to severe availability services available for this purpose.
  • stray 2012-06-13 05:49
    Norman Diamond:
    Microsoft told them they wouldn't have to keep old CDs because expired MSDN subscriptions would still allow downloads. Some people call me unprofessional for not being 10% trustful of Microsoft.

    If these people allow up to 10% trust into Microsoft before calling someone unprofessional, I call them blue-eyed hippies.
  • Paul R 2012-06-19 14:48
    That is plain scary - I'd hate to think what you'll find in the next batch of code.