Skip to content

The Weird and The Wonderful

It was the best of code, it was the worst of code. Coding Horrors, Worst Practices, and flashes of brilliance

This category can be followed from the open social web via the handle the-weird-and-the-wonderful@forum.codeproject.com

1.8k Topics 20.7k Posts
  • Original Mac Calculator Vs Win10 Calc

    visual-studio com design data-structures business
    52
    0 Votes
    52 Posts
    8 Views
    raddevusR
    No nothing beyond the explanation of how the original developer created the kit to keep Jobs from continually griping about the design.
  • Outernet?

    question
    4
    0 Votes
    4 Posts
    3 Views
    D
    I HAVEN'T MESSED WIH nas EITHER. dID YOU ACTUALLY USEoUTERNET? OR JUST READ THE WEBPAGE? CQ de W5ALT Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software
  • So we have this service at work...

    database security business json learning
    2
    0 Votes
    2 Posts
    3 Views
    R
    Sure, now they say no authorization is required because it is internal-only. That's often the convenient statement of the moment. However, reality often diverges from the agreements of the moment. I would get something in writing, signed by a CIO or executive of your choice, saying that no security is required. This is because when this gets hacked and your database is trashed you need to be able demonstrate you were ordered to allow open access. This is the classic case of a cover-your-backside requirement because you have been asked to do something absurd. "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
  • asp.net MVC : drop in dll plugin & more

    asp-net csharp database dotnet visual-studio
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • WizardWrx .NET API, version 7.15

    regex csharp announcement c++ dotnet
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • personal worst...

    database csharp html asp-net
    14
    0 Votes
    14 Posts
    33 Views
    D
    I envy you not. David A. Gray Delivering Solutions for the Ages, One Problem at a Time Interpreting the Fundamental Principle of Tabular Reporting
  • 0 Votes
    55 Posts
    180 Views
    D
    The Visual Basic instruction is Option Explicit. Other environments, e. g., Perl, have use strict; that invokes a package. There might be something like that in Typescript, but I am unaware of anything along those lines for Javascript. On the other hand, I use JS as infrequently as possible, for all the reasons you said, and many others. If you're serious about JS, you really need a good linter and a robust set of rules to guide it, not to mention a decent visual debugger. When necessity requires it, I lean heavily on the Chrome Dev Tools. David A. Gray Delivering Solutions for the Ages, One Problem at a Time Interpreting the Fundamental Principle of Tabular Reporting
  • I can't find one of these in the UK

    com
    18
    0 Votes
    18 Posts
    55 Views
    pkfoxP
    It must be because when I power the SBC via USB and connect the Molex to the hat and drive bay all is fine - weird We can’t stop here, this is bat country - Hunter S Thompson RIP
  • Why Microsoft Disgusts Me Today

    help announcement html com beta-testing
    17
    0 Votes
    17 Posts
    46 Views
    R
    They sort of did fix that but they are finding different ways to break things. Another thing - when I link with static libraries then my apps can't load resources from the libraries so several of the built-in controls won't work. The hits just keep on coming. The most annoying thing is the fingers are pointed at someone else and there is no way (I have found) to inform the target of those fingers. This means the likelihood of the issues being fixed is minimal. "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
  • War at BioWare

    com game-dev
    3
    0 Votes
    3 Posts
    2 Views
    C
    I had a "trouble shooter" CEO come in to a company I was managing at. Part of our management incentive was an annual retention bonus. The company was in trouble due to insane management decisions (and likely fraudulent activity at HQ), but the retention bonus helped keep the churn down. Now we all knew that he had a $5 million bonus waiting if he made it two years and that SOB had the nerve to cancel the retention bonus explaining "no one should get a bonus for showing up to work." That was a very quiet management meeting - I think we were all waiting to see if a) he was joking or b) lightning would strike. lol Commence hemorrhaging leadership team and most of the developers.... end of company Charlie Gilley <italic>Stuck in a dysfunctional matrix from which I must escape... "Where liberty dwells, there is my country." B. Franklin, 1783 “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
  • gfdgfsdgdsfgfdsg

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • 探索:想知道这个买了个高仿lv包后悔了得多少钱呀

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • 0 Votes
    3 Posts
    3 Views
    D
    I think that this is programming, so I{ll read something else in the Lounge. CQ de W5ALT Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software
  • Please help report this video?

    visual-studio help question
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Nasty bug only found in production

    sysadmin help c++ php database
    8
    0 Votes
    8 Posts
    15 Views
    raddevusR
    TheGreatAndPowerfulOz wrote: you mean like javascript "rooms" Yes, exactly like that. :laugh:
  • Must....not....kill....

    python com performance learning
    26
    0 Votes
    26 Posts
    107 Views
    C
    I don't get it ! ! ! Why must you 'not kill'? It seems justified.
  • This code is evil

    c++ question
    14
    0 Votes
    14 Posts
    5 Views
    L
    Well, object->method() could be a recursive call so it's not that bad.
  • Qlikview - a real pleasure to work with

    tutorial question
    15
    0 Votes
    15 Posts
    22 Views
    M
    This will give you the date portion of the string: LET vTEST = '2018-09-05 13:27:14.5'; LET vResult = Date(vTEST, 'YYYY-MM-DD'); <-- vResult = 2018-09-05 Also, 'MM' for months, 'mm' for minutes. Sincerely, -Mark
  • MS, you funny!

    help c++ visual-studio com json
    16
    0 Votes
    16 Posts
    3 Views
    B
    David O'Neil wrote: and find a function with 11 indentation levels! One more reason to change to .Net. Where do these many circles of hell levels of indentation come from? The lack of a proper exception implementation in old-style C/C++. Just look: HResult hr; hr = /* some function call */; if (SUCCEEDED(hr)) { hr = /* next function call etc. */; And in case of error, ... it does nothing. Just the user wonders why it does not work, the service hotline people will be delighted by not having any indication of why things do not work. C# would prefer to throw an exception in case of failure, and no need to handle each place of potential failure separately. Of course, catching the exception and - more importantly - handling it usefully, are still things the developer has to take care of (but it's rather easy). Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!
  • A couple of entries from the Codex Vomitus

    help
    26
    0 Votes
    26 Posts
    76 Views
    G
    Mark_Wallace wrote: Maybe you should port it to Excel :laugh: ;P :laugh: ;P :laugh: That's outrageously funny. This software runs a piece of hardware that accepts a proprietary printer command language, renders that into bitmaps, and ships the bitmaps out a set of fiber optic connections to ink-jet print heads. This is on a press where we're printing up to 17 feet of paper per second, full color on both sides. I think this would win the "Best Abuse of Excel Macros" contest hands down. Software Zen: delete this;