Post Reply  Post Thread 
Daily WTF
Author Message
01-19-2007, 11:28 AM (This post was last modified: 03-15-2007 05:25 PM by LtSterling.)
Post: #1
Daily WTF
Those of you who are Of The Code, you'll probably get a kick out of this site:

http://thedailywtf.com/Default.aspx

IT also taught me something today that I never knew (or knew, and forgot): float values can't store some values (such as 0.1) exactly since they're infinitely repeating in binary.

It's a good thing I'm not stupid enough to test direct equality in a floating point (because when you're working with floats, the chance of being exactly on any given value is rare, particularly in gaming) unless I'm using it as a boolean for convenience sake, since it can store 1 and 0 pretty well. Not a good programming practice, but it'd be a pain to use a union for what I need it for.




W

[Image: emperorwebrunnr.jpg]
[Image: webrunner42.png]

Visit this user's website Find all posts by this user
Quote this message in a reply
01-19-2007, 11:50 AM
Post: #2
RE: Daily WTF
That takes me back to my days of coding in QBASIC years ago. My (in hindsight, incredibly inefficient) battle system ran into repeated problems, especially with the iteration. The enemy attacks once their ATB gauge hits 4000? Nope? Okay, debug it, what's the problem - the ATB gauge is set to 4000.0000000012. WHY?!

I've not since taken up any real languages, but I might take a look round the site (programming's one of those interests that I've never quite got around to furthering).

[Image: masamunemaniac.jpg][Image: civilwarxfire1.png][Image: masamunemaniac.png]
[Image: civilwarxfire2.png]
[Image: partymini.png]
Eleni's Entertaining Exploits - Issue #12 - Actions / Discussion
Visit this user's website Find all posts by this user
Quote this message in a reply
01-19-2007, 12:47 PM
Post: #3
RE: Daily WTF
This post is absolutely brillant.

(Translation: I have read the Daily WTF.)

Offtopic: I want to have Compiler as my summon, too. How can I do that?

Aloof Observer of ENOTSEULB

Kirbjooie: Because you might note that the portal Diran went through is, in fact, still there.
Kelne2261: And due to swirly portal syndrome, I suppose they're compelled to go through it.

"Because all glorious deeds begin with random violence." - Edward McAllistar

"A girl in my english 30-1 (as opposed to english 30-2, which is for those who can barely open a book without help) actually told me that my essay on Shakespeare was wrong. Why? Because I didn't mention his homosexual tendancies towards Hitler. And this girl is 17 years old." - flyin_fool

"You do not know any void spells. It's like having a sword that shoots atomic bombs at will." - MechanistoX

RPGWW - Quality Roleplaying
Find all posts by this user
Quote this message in a reply
01-19-2007, 12:54 PM
Post: #4
RE: Daily WTF
Either hack the forum user database, or send webrunner porn of yourself (Terms & Conditions apply).

1) You must be good looking and 2) Female, 3) Not while he's at work, of course

[Image: masamunemaniac.jpg][Image: civilwarxfire1.png][Image: masamunemaniac.png]
[Image: civilwarxfire2.png]
[Image: partymini.png]
Eleni's Entertaining Exploits - Issue #12 - Actions / Discussion
Visit this user's website Find all posts by this user
Quote this message in a reply
01-19-2007, 12:58 PM (This post was last modified: 01-19-2007 12:59 PM by Ultros.)
Post: #5
RE: Daily WTF
I'll have to keep that site in mind when I start the Software Engineering and Game Design program next year.  Thanks, webrunner.
Find all posts by this user
Quote this message in a reply
01-19-2007, 02:58 PM
Post: #6
RE: Daily WTF
I'm amazed Zem wasn't the one to post this. He sends me Daily WTF and Slashdot links on a daily basis.

And damn, thanks to that second condition I can't get a set of custom equipment. Curse you human biology!

[Image: zunlink.gif]
Find all posts by this user
Quote this message in a reply
01-19-2007, 03:08 PM
Post: #7
RE: Daily WTF
There are always... operations, Mus, so you COULD fulfil Condition 2...

Signature, HYPER MODE!!!!
[Image: userbar104024th4.gif]
[Image: style3,The-spc-Tubstar.png]
Avatar kindly done by Legendary. Because he is.
Wielder of the OMG Hammer... Don't ask how that happened , I was TRYING to make the Baka Hammer...
Awarded 10 points by E-Mouse for "Windows Medeo Player" but I don't know what they do... Or even what kind of points they are!!
Current RP Characters:
"Chaos" T. Star (duellist, 2/0/0)
The Judge in Turnabout Courtroom RP (Sign up now!)
Cerberos in アニメ高校! -> Anime High!
Find all posts by this user
Quote this message in a reply
01-19-2007, 03:11 PM
Post: #8
RE: Daily WTF
Why does Jusenkyo have to be fictional?

Why?

:(

[Image: zunlink.gif]
Find all posts by this user
Quote this message in a reply
01-19-2007, 08:20 PM
Post: #9
RE: Daily WTF
Why didn't they just immediately jump in the appropriate reversal spring, more like?

Assiduous Member of ENOTSEULB
[Image: AnimeGuildTemplate4.jpg]
____Flip____+_____Kat_____
Visit the Otaku Avatar Maker!
Find all posts by this user
Quote this message in a reply
01-20-2007, 03:20 AM
Post: #10
RE: Daily WTF
Awesome site! I'm more of a Java and JSP person myself, and tried to avoid C. So yeah, this site will be happily bookmarked. And it's got a Dilbert-ish type of humour to it as well! Either that or I've had too much sugar.

[Image: s.png]
[Image: link_cs.gif][Image: link_ss-1.gif][Image: link_dlg-1.gif][Image: link_ag-1.gif]
Visit this user's website Find all posts by this user
Quote this message in a reply
01-20-2007, 11:45 PM
Post: #11
RE: Daily WTF
Flipcat... did you ever think about what would happen if they did so? You are aware of Tarou and how he added effects of various springs to his cursed form... what would happen if a female and male curse mixed, hmmm?

Imagine all the kids who have been banned from WoW...
Shove them all in a room, and you have Runescape.

"@[=g3,8d]\&fbb=-q]/hk%fg" DELETE
Find all posts by this user
Quote this message in a reply
01-21-2007, 03:32 AM
Post: #12
RE: Daily WTF
I'd hit it.

[Image: zunlink.gif]
Find all posts by this user
Quote this message in a reply
01-22-2007, 06:53 PM
Post: #13
RE: Daily WTF
I think that's supposed to be my line now.
Find all posts by this user
Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this thread |
-->