• (cs) in reply to Ben Hutchings

    [quote user="Ben Hutchings"]The editing widget loses changes to comments that quote other comments with quotes in, in Firefox. Quoting comments without quotes in them seems to work. [/quote]

    And in Opera, too.

    The problem appears to be that you have to write a sort of fake HTML, with a limited subset of control codes and with square brackets [ ] instead of angle brackets < >. However, the quoted text it provides does contain the angle brackets, and things like
    and so on, despite the fact that it won't accept them back.

    Bit of a WTF in its own right.

    [quote user="Nobody at all wrote (because this is fake)"] [size=5]The[/size] [quote] [size=7]quick[/size] [quote] [size=9]brown[/size] [quote] [size=11]fox[/size] [quote] [size=13]jumps[/size] [quote] [size=15]over[/size] [quote] [size=17]the[/size] [quote] [size=19]lazy[/size] [quote] [size=21]dog[/size] [/quote] [/quote] [/quote] [/quote] [/quote] [/quote] [/quote] [/quote] [/quote]

    For more details, see http://www.phpbb.com/phpBB/faq.php?mode=bbcode

    [/quote]

    Oh, and it doesn't seem to allow nested size tags, and is a bit weird in other ways.

    So let's see if this one works. (Thinking outside the box)

  • (cs) in reply to Bellinghman
    me:
    Oh, and it doesn't seem to allow nested size tags, and is a bit weird in other ways.

    So let's see if this one works. (Thinking outside the box)

    And interestingly, if you have too many close quotes, stuff beyond the mismatch gets lost.

    Hmmm.

    You wouldn't be afper Ben Hutchings, would you?

  • (cs) in reply to Bellinghman
    hTotatTime = 0
    mTotatTime = 0

    A WTF to the repeated "totat" typos in these variable names and another WTF to the "TotatTimerian" notation:

    /* Bubble Sort */
    void bsTotatTime(int *arTotatTime, int lTotatTime)
    {
    ...
    }

  • (cs) in reply to Katja
    Katja:
    I love the way this forum kills all posts with quotes from users who use FireFox. [:P] I bet there are quite a few FireFox users here... Also makes me wonder what they were about to say.


    Depends on what you mean by killing quotes and which party is using FFX.


    I use FFX.

    I read other people's posts, with quotes in them, perfectly.

    I quote perfectly.

    Also, I never use the preview.

    I encounter no problems during normal usage. Just click quote, type your stuff, and post.


    The problem browsers are Opera and Safari. By that I mean that the forum REALLY doesn't like them and makes a problem.
  • (cs) in reply to dhromed

    dhromed:
    Katja:
    I love the way this forum kills all posts with quotes from users who use FireFox. [:P] I bet there are quite a few FireFox users here... Also makes me wonder what they were about to say.


    Depends on what you mean by killing quotes and which party is using FFX.


    I use FFX.

    I read other people's posts, with quotes in them, perfectly.

    I quote perfectly.

    Also, I never use the preview.

    I encounter no problems during normal usage. Just click quote, type your stuff, and post.


    The problem browsers are Opera and Safari. By that I mean that the forum REALLY doesn't like them and makes a problem.

    Hey, is it all this forum software debate that moved the right bar to the bottom of the page?

  • Dogman (unregistered) in reply to

    Anonymous:
    I think most everybody missed the fact that the time is stored in the database as hours - in decimal! He (or she) could just add the time!

    Instead, he first replace stringifies the number and replaces "." with ":". The next two replaces separate the hours and minutes (using Left and Right) and removes the colon (that he just added!) from TotalHours and keeps a running total.

    After some funky string arithmetic (good thing vb does all the string->number conversions for him), he ends up with hours and minutes. Sometimes he even ends up with hours and minutes * 10.

    wtf?

    I'm with you buddy.  What ARE these other guys arguing about?????   Whether he got the loops right in his crazy attempt to reinvent time mathematics instead of just using a time variable in the first place (or number of minutes if its not available - as someone else suggested).

    What are you other guys on about?   Think about it.   If a) is a datetime and b) is a datetime then teh sum is just a+b??????

    That's the joke right?  Or is it me that's mad?

     

     

  • Steve (unregistered) in reply to
    Anonymous:
    skicow:
    [image]  wrote:
    I guess one of the side-WTF's here is this:
    If <font color="#0000ff">Len</font>(mTotatTime) = 1 Then
    mTotatTime = mTotatTime & "0"
    End If

    So when the total time is less than 10 minutes, it should multiply it by 10? WTF?

    The '&' symbol is the concatenate function in VBScript. If the minutes variable is only one character then he's concatenating a zero on the end of it. So if it's 2 it'll now be 20...not that my understand of the code leads me to understanding WhyTF he is doing this...Meh.<o:p></o:p>

    <font size="3"><font face="Times New Roman"> <o:p></o:p></font></font>

     This is obviously a typo. The loser who wrote the code wanted the minutes to come out as two digits, but instead of putting the zero *before* the digit it went after, thereby guaranteeing the result is wrong about 15% of the time. WTF?

  • GrouchyAdmin (unregistered)

    Am I the last bastard left who uses time_t exclusively? Sure, I only have 31 years to correct it or make it int64, but still..

Leave a comment on “Superfun Time Arithmetic!”

Log In or post as a guest

Replying to comment #:

« Return to Article