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

Search

Page 1 of 14 (134 items) 1 2 3 4 5 Next > ... Last »
  • SessionFactoryImpl - take it to the dry cleaner?

    Was debugging today, ended up in the Hibernate source code. Turns out that the constructor of SessionFactoryImpl weighs in at >325 lines and contains nuggets such as a local class and sections where the comments give a perfect suggestion of a suitable method name for them. Lo and ...
    Posted to "Side Bar" WTF (Forum) by Obfuscator on 04-17-2013
  • Re: Feedback

    Something tells me that this is how the questions on the ballot would be formulated if North Korea ever held a referendum.
    Posted to "Side Bar" WTF (Forum) by Obfuscator on 11-14-2012
  • Re: Oh, that's normal.

    Iron > Gold?
    Posted to "Side Bar" WTF (Forum) by Obfuscator on 08-12-2012
  • Re: fuck you too skype

    Are you not behind NAT? Because if not, Skype might have "upgraded" you to a Supernode, routing a whole lot of traffic through your machine. Not exactly what you expect and very sneaky, but it's what makes Skype an effective p2p system. Worked some with Skype, and it really is a master of disguise. Punches holes in firewalls like a ...
    Posted to "Side Bar" WTF (Forum) by Obfuscator on 08-12-2012
  • Re: Configurations

    Seriously, Speakerphone Dude, how can you live with yourself defending a db design with 13 config tables? Just listen to yourself. First there is the broken window principle. And this looks more like a shattered skyscraper to me. Secondly, there is the professionality aspect. If any product I bought / used had enumerated tables like that I would ...
    Posted to "Side Bar" WTF (Forum) by Obfuscator on 08-01-2012
  • Re: Profiling, FTW!

    Most perf problems IMO are due to for-loop-oriented programming, where the coder uses loops for everything. Bonus points for not considering object lifetimes and thusly recomputing things needlessly ad infinitum. There is nothing like a O(n^7) algo for heating your server hall! Stringly typed programs can be bad, but are nothing in ...
    Posted to "Side Bar" WTF (Forum) by Obfuscator on 07-04-2012
  • Re: Profiling, FTW!

    Yeah, Eclipse and NetBeans have free profilers. And the are quite good. IntelliJ does not, but it integrates well with JProfiler and Yourkit, and probably others. As already mentioned, jvisualvm has a lightweight sampling profiler. There is also one available on the command line (HPROF). I can feel the pain of having six months of unshipped ...
    Posted to "Side Bar" WTF (Forum) by Obfuscator on 07-04-2012
  • Re: Programmers trying to talk to non-programmers without getting sidetracked by trivialities? IMPOSSIBLE!

    [quote user="BC_Programmer"] some ridiculous argument that "there is no  reason to think that a=b assigns a value to a, because some language that nobody uses might do it the other way"[/quote] I always thought that using the equal sign for assignment is bound to cause confusion. The equal sign is supposed to denote ...
    Posted to "Side Bar" WTF (Forum) by Obfuscator on 06-12-2012
  • Re: So, you say you're a professor, right?

    [quote user="Cassidy"] "default-storage-engine" setting in your config file is your friend. [/quote] Yeah. Good idea, except that isn't really viable in practice, since you work with different db's all the time. Having UTF-8 and InnoDB as the default would be more useful. [quote user="Cassidy"] I'm ...
    Posted to "Side Bar" WTF (Forum) by Obfuscator on 06-12-2012
  • Re: So, you say you're a professor, right?

    [quote user="morbiuswilters"] I found your problem: don't use MyISAM. [/quote] The main problem is that I sometimes forget to specify InnoDB as a storage engine, and that is when you get these silent errors. [quote user="morbiuswilters"] Why would that cause it to reuse IDs? That page just says that when MySQL ...
    Posted to "Side Bar" WTF (Forum) by Obfuscator on 06-09-2012
Page 1 of 14 (134 items) 1 2 3 4 5 Next > ... Last »
Powered by Community Server (Non-Commercial Edition), by Telligent Systems