Navigation

    What the Daily WTF?

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    1. Home
    2. osuwizzard
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    osuwizzard

    @osuwizzard

    0
    Reputation
    9
    Posts
    90
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    osuwizzard Follow

    Best posts made by osuwizzard

    This user hasn't posted anything yet.

    Latest posts made by osuwizzard

    • RE: Things Scrum Does NOT Mean

      I'm currently working at a place that treats scrums almost exactly the same way.  It sucks.

      Previously I worked at a place implementing most of Extreme Programming and it also was freakin' awesome.  Agile methodologies done correctly are fun and effective.

      posted in Side Bar WTF
      osuwizzard
      osuwizzard
    • RE: Translation error

      @George Nacht said:

      Please, someone tell me this is fake.

       

       

      It's fake.

      Does it make you feel better when we lie to you? :-)

      posted in Side Bar WTF
      osuwizzard
      osuwizzard
    • The 975 day rewrite (and other helpful comments)

      Despite the many WTFs surrounding the current project I work on, someone got the idea to start using CVS back in November 2005.

      It is really unclear how long this codebase has belonged, but the original revision was commited in November 2005.  With that revision, this comment appears in several places:

       

      /**********************************************************************************************************************/
        /**********************************************************************************************************************/
        /*********** DO NOT ADD ANY CODE BELOW HERE - ALL CODE BELOW IS NEW FOR THE RE-WRITE.  THANK YOU: PAULA *********/
        /**********************************************************************************************************************/
        /**********************************************************************************************************************/


      So far, this rewrite has lasted 975 days (at

      least), but Paula no longer works here.  In fact, I've never known a Paula here.

      Not all the developers act like they know how VCS works, nor how to use the tools available. 

      The following comments are added even to present day and are quite common:

       

      //////////////////////////////////////////////////////////////////////////////////////////
      ////////  The following if statement was added by Paula  /////
      //////////////////////////////////////////////////////////////////////////////////////////

      // Next line added by Paula

      // This line added by Paula

      <!-- tttravis commented out on 09-11-06

      <!-- tttravis added on 05-19-2008 -->

       

      // tttravis commented out temporarily on 07/26/07

      // tttravis added on 07/276/2007

       

      // if((numOfACatMins < 5   *** Commented out per CS ***
      //   && numOfObs == cntACat) && (previousCntlNumber != currentCntlNumber))

       

      else if (cat == "B")                    //elses added per CS; were separate if stmts

       

      if (sqlBuilder.exists()) {
        //tttravis modified on 05/25/2007: logging the error instead of throwing SQL exception
        //logger.error("Record already exists for control number " + RecordData.getCntlNumber());
        throw new SQLException("Record already exists for control number " + RecordData.getCntlNumber());
      } else {
        sqlBuilder.insertSQL();
      }

       

      private String[] effStrtDts;
      private String[] effEndDts;
      private String[] ids;
      private String[] names;
      private String[] statusInds;
      //tttran added comment on 08/07/07
      public static String[] oneTimeProc;
      public static String[] oneTimeAm;
      public static String[] oneTimeNames;

      posted in Side Bar WTF
      osuwizzard
      osuwizzard
    • RE: YACCWTF - Yet Another Change Counting WTF

      @MasterPlanSoftware said:

      Alright ammoq, since this thread was obviously made as a blatant troll, working your powers would be much appreciated.

      We definitely need to get rid of these lame threads our sudden surge of newbies are posting, and especially if they are only created as blatant trolls.

       

       

      I'm not trying to upset you, just thought you might have a sense of humor.  It was intended as a joke, that's all.

       Sorry.

      posted in Side Bar WTF
      osuwizzard
      osuwizzard
    • YACCWTF - Yet Another Change Counting WTF

      These seem to be popular all of sudden, so here's my story:

       

      In high school I worked at McDonald's during the summers.  One early morning day i watched as the guy taking money and orders at the counter was about to make change for a customer.  The change was supposed to be $0.97.  Most people would just grab 3 quarters, etc.  Well, this guy didn't.  Her grabbed all of the pennies in the drawer, slammed them onto the counter, and started counting out the change in pennies.

      I could not stop laughing.

      Thanks for all the change WTFs, it sure brought back a great WTF memory.

      posted in Side Bar WTF
      osuwizzard
      osuwizzard
    • RE: Coupon script wtf ...

      @jminkler said:

      For $129 a pop, and its huge popularity, this code is a joke and a huge wtf line after line.  

       
      Like any good comedy act, you gotta pay to see it.  $129 isn't so bad if you look at it that way anyhow.

      Then again, I've seen government funded projects (both state and US federal) worse that were costing taxpayers millions.

      posted in Side Bar WTF
      osuwizzard
      osuwizzard
    • RE: My Neighbour, the hacker.

      @Zadkiel said:


      OK, first time poster here, so be gentle with me :)

      What kind of place do you think this is??? :-) 

      I've lurked around this site for a while now, even had a story posted a while ago.  But first time on the forums.

       Welcome!

      @Zadkiel said:


      at the time I was a beta-tester for BT for this new technology they were thinking of bringing out, called 'adsl'. I had a 2mb (for a while, both up and down, until they changed it) connection at a time when 56k modems were pretty cutting edge - anyway I was running stuff on the link, a web server, an IRC server and other stuff and he was amazed at what I was doing.
       

       Myself from years ago would be soooo jealous of you =)

       @Zadkiel said:


      A quick reverse DNS lookup later and I worked out he was trying to DoS an AOL proxy server. By pinging it over a 56k modem. I didn't stop laughing for hours.

       I heard about that.  It was the downfall of AOL.

      But seriously, did you let him in on the futility of the effort? 

      posted in Side Bar WTF
      osuwizzard
      osuwizzard
    • RE: Singleton without the benefit

      @witchdoctor said:

       I especially like that he's using spring and could have just used it to give him a singleton instance when he needs it without adding any more code...

       

       

      LOL, exactly.  I've learned where one WTF resides, more tend to lurk. 

      posted in Side Bar WTF
      osuwizzard
      osuwizzard
    • Singleton without the benefit

      There are some people who can have all the book knowledge in the world and fail miserably to actually utilize it.  In college, I had plenty of classmates who would ace tests, but when they needed to actually utilize that knowledge, they were more worthless than Vista's UAC.

      Now that I am in the real world (for three years now) those sort of people seem to manage to get jobs.  One of my current co-workers is a textbook example:

      class OrderBusinessLogic* {

          private static final Logger logger = AppLogger.getLogger(OrderBusinessLogic.class.getName());
          private static Collection <OrderData> orderDataCollection;
          public static int tableDataSize;
          public static int orderDataSize = 50;

      /**
      * using the singleton design pattern idea, return one static class variable
      * representing OrderBusinessLogic object to be used through the class OrderServlet
      * @author <<<removed>>>
      * @see orderBusinessLogicFactory
      * @return orderBusinessLogic
      */
      public static OrderBusinessLogic orderBusinessLogicFactory(ApplicationContext springContext, ISiapComponent component){

      OrderBusinessLogic orderLogic = new OrderBusinessLogic(springContext,component);

      logger.debug("orderBusinessLogicFactory()");

      if (orderLogic.orderBusinessLogic == null){
      orderLogic.orderBusinessLogic = orderLogic;
      }
      return orderLogic.orderBusinessLogic;
      }//end orderBusinessLogicFactory

      /**
      * Using the singleton design pattern idea, if the instance of the object of this class exists already
      * then return it, otherwise, create a new instance and return it
      * @author <<<removed>>>
      * @return orderLogic the current instance of class OrderBusinessLogic
      */
      public static OrderBusinessLogic getInstanceOrderBusinessLogic(ApplicationContext springContext, ISiapComponent component){

      logger.debug("getInstanceOrderBusinessLogic()");
      OrderBusinessLogic orderSeqLogic = OrderBusinessLogic.orderBusinessLogicFactory(springContext,component);
      return orderLogic;
      }// end getInstanceOrderBusinessLogic

      // ...
      // snip
      // ...

      } // end class OrderBusinessLogic

      * The actual domain involves the US federal government 

       

      If you ever wanted a singleton, do not want the benefit of singletons and enjoy threading issues, this is how you do it!

      posted in Side Bar WTF
      osuwizzard
      osuwizzard