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


Page 1 of 57 (564 items) 1 2 3 4 5 Next > ... Last »
  • Re: Close encounter

    [quote user="partizanin"]It turns out, that the value passed to aPersonID is completely ignored and that vPersonID is a global package variable.[/quote] Oracle has global variables?! Yikes! This thread arguably belongs in the "I Hate Oracle" forum, but thank you for the cautionary tale about why people hate it.
    Posted to "Side Bar" WTF (Forum) by pjt33 on 04-14-2014
  • Re: Awesome diacritics striping:)

    [quote user="dkf"]For a bonus, what would be the right way to do the transform?[/quote] That depends on which input characters you need to mangle and which output characters are acceptable. NFD only gives a partial solution, although it's certainly a good way of starting to build up a translation table.
    Posted to Coding Related Help & Questions (Forum) by pjt33 on 03-31-2014
  • Re: CSOD ASP.Net webforms

    I'm not talking about FindControl: I'm talking about things like BoundColumn / BoundField, ObjectDataSource, etc. In all of the legacy WebForms projects I've worked with it's more laborious than it should be to work out whether a given method is dead code or not, because rather than just checking for references you have to do a ...
    Posted to "Side Bar" WTF (Forum) by pjt33 on 03-28-2014
  • Re: CSOD ASP.Net webforms

    [quote user="Jaime"]That leaves "ugly URLs" as the main objection to Web Forms, which is easily fixed with URL routing.[/quote] The URLs are a long way from being my main objection to WebForms. Number 1 as far as I'm concerned is that it takes a nice statically typed system and asks you to do everything by reflection. ...
    Posted to "Side Bar" WTF (Forum) by pjt33 on 03-27-2014
  • CSOD ASP.Net webforms

    The only anonymisation applied is a global replace of a certain word with "Foo". protected void ddlSiteGroups_SelectedIndexChanged(object sender, EventArgs e) { var formView = (FormView)((DropDownList)sender).Parent.Parent.Parent.Parent; if (formView.CurrentMode == FormViewMode.Edit) ...
    Posted to "Side Bar" WTF (Forum) by pjt33 on 03-21-2014
  • Re: Someone's just discovered "yield"

    [quote user="boomzilla"]First he rants about how "things haven't changed from the 70s." But then when confronted with an invention of the 70s that makes it easier to write non-sucky (from the user's perspective and the deveoper's) applications, his response is, "I don't need to learn this new fangled ...
    Posted to "Side Bar" WTF (Forum) by pjt33 on 03-18-2014
  • Re: [post-title-7]

    [quote user="gu3st"]Maybe done by someone a bit better it might be less crazy, but from what I've seen, Drupal really doesn't encourage you to do things in a correct manner by making the worst way possible the easiest way.[/quote] I don't understand Drupal's success at all. It's far too heavyweight for a personal ...
    Posted to "Side Bar" WTF (Forum) by pjt33 on 03-18-2014
  • Re: Someone's just discovered "yield"

    [quote user="flabdablet"][quote user="Mason Wheeler"]The point being made by the OP is that this seems like a silly and needless alternative to simply returning the original sequence.[/quote]That would be a perfectly fair point if you were the kind of ableist who believes that it is right and proper for programming languages to ...
    Posted to "Side Bar" WTF (Forum) by pjt33 on 03-17-2014
  • Re: Remember Bitcoin?

    [quote user="El_Heffe"]I never said they can't sue. Anyone can sue anyone else for any reason, no matter how wrong or stupid.[/quote] In the U.S. Other countries are a bit more selective.
    Posted to "Side Bar" WTF (Forum) by pjt33 on 03-04-2014
  • Re: .NET interop bitness

    The short answer seems to be that you look at IntPtr.Size to decide whether you're on 32-bit or 64-bit, and then use an extern to LoadLibrary. The details can get quite messy if you're trying to support CF, Alpha processors, etc.
    Posted to Coding Related Help & Questions (Forum) by pjt33 on 02-26-2014
Page 1 of 57 (564 items) 1 2 3 4 5 Next > ... Last »
Powered by Community Server (Non-Commercial Edition), by Telligent Systems