@vt_mruhlin said:
Evidently a comment that says "GTFO" is not quite the same thing as a return statement.
Must have been hand translated from LOLCODE, whoever did it simply forgot to replace that line with a return statement.
@vt_mruhlin said:
Evidently a comment that says "GTFO" is not quite the same thing as a return statement.
Must have been hand translated from LOLCODE, whoever did it simply forgot to replace that line with a return statement.
The documentation for my employer's product still depicts our PC-based system with a nasty black and white line drawing of an old desktop (not a tower) PC with dual 5.25" disk drives.
@CapnSpanky said:
http://www.sh.lsuhsc.edu/index.html
Of course TRWTF is me being amused by that site's surreal pride-of-place link documenting their search for a piece of missing medical furniture... D'oh!
Not to say what you should or shouldn't post, but I wouldn't get worked up about finding WTFs in a minor game mod. The idea of creating a game mod will inspire many a young 'un to take up code who otherwise wouldn't. Consider it in the spirit of not mocking student code on this site. Either that, or minor game mods are fertile WTF ground.
Back in the day (early 2000s) I frequented a newsfroup for a certain popular modable online game. I let it be known that I was a developer (I was more chatty online than I am now). Anyway, I got a couple of unsolicited 'so how would I take up coding?' emails.
[url="http://www.alibaba.com/product/ewq1-11011679-10723196/Scrap_Fridge_Compressor.html"]New compression algorithm, or badass overclocker?[/url] Either way it's not going to keep your veggies fresh.
@joelkatz said:
I suspect this is code that accumulates the list of pees to choke (rather than the list of peers that are choked) and the only time the list is retrieved is to send it. So the WTF is the method name. Though it's hard to think of a better method name that's not awkward. takeChokes? flushChokes?
dumpChokes()!
Management obliviously fucking up other peoples' tasks? UNHEARD OF I TELL YOU! :D
@CDarklock said:
2a. The post office prints your document at the office which receives it.
2b. The printed copy is scanned into images. (Not JPEG! TIFF. JPEGs are too small...)
2c. The images are zipped into an archive.
2d. The archive is emailed to the USPS branch nearest the recipient.
2e. The archive is unzipped, and the images are printed.
@CDarklock said:
The postage amount, already constrained in the spec to never be over $1.00, was being stored in our system as a single byte. A signed byte. The postage calculation for a NULL address was coming back as -1, which was dutifully interpreted as an unsigned byte because negative postage (like postage over $1.00) never happens. So it printed $2.55 postage on everything that didn't have an address;
Sounds like you forgot some steps:
2f. Overcharge customers.
2g. ???
2h. Profit!
@Carnildo said:
4.8 5.3 6.0 8.1 VORTEC CHEVY GMC ENGINE MOTOR SILVERADO
Does this motor have variable displacement, or is TRWTF that it's about to start blowing rods out of its liners? ;)
@Advert said:
Line 1
no experince need
Do need quack?
@samanddeanus said:
There are a lot of WTF PDFs which are scans of a printed page as an image, so someone might be confused, but he should have looked at the PDF and tried searching.
I once received a terrific PDF via email. It was a badly scanned in crumpled up hardcopy...of an email. Someone had printed the original email, scanned it in, saved the scan in a PDF, then sent the PDF onto me.
Yeah, there is no real point in me mentioning this or anything. Oh, and unfortunately I couldn't see any wooden table in the edges of the scan either :(
Another kind of bizzare non-searchable PDF used to be the car review ones from parkers.co.uk. They used a funky custom font that had the glyphs scrambled. So you couldn't copy+paste the text without getting gibberish and you couldn't search it either. I suppose TRWTF there is that the same reviews were available on their site where they could of course be copied easily.