neuro-728x90-Banner
Subscribe to HotForWords
E-MAIL
by pressing send you agree to our privacy policy

Segment for G4 TV’s Attack of the Show: Douchebag

Here is a segment I did for Attack of the Show of a word they use quite often!

Tags:

neuro-banner1

45 Comments and 5 threads

Leave a Comment

You must be logged in to post a comment.

  1. Hs4Mm says: 19

    Test to see if <code> is supported: Will try to print > within <code> and </code> tag.


    can I use > directly: > ?

  2. Так смешно, Марина!!! Cамом деле!!! Super! So funny!
    Привет из Москвы…от “lovelyman1968″ (struggling there to learn Russian). Пока! ;-)

  3. HotForWords says: 16

    Here is a comment in a post with a really long title.

    • OK.. that doesn’t work.. I guess I can’t show the title of the post where the comments are happening yet. Hmm..

      • Hs4Mm says: 16.3.1

        PHP has functions to truncate strings. So the processing steps would be:

        1) Do not use the title of the lesson directly, but first assign it to a variable.
        2) Truncate the variable (if it is already short, you get back the full title).
        3) Use the truncated variable where you originally used the title.

        a lesson with a long title can be truncated before display.

      • Hs4Mm says: 16.3.2

        PS: When truncation happens, one can get fancy and add ellipses (…) to indicate the occurrence of the truncation.

        PPS: If you do not want to truncate and insist on showing the full title, then you would need to wrap the title. This too can be done with php. I did not see the exact manner in which a long title messes up the display so cannot say more. If you have a picture of the messed up display of long titles, I might be able to say more.

      • Hs4Mm says: 16.3.3

        Reply notification did not work for the two replies you made below; saw them just now. I’ll provide details sometime today.

      • Hs4Mm says: 16.3.4

        I noticed you have implemented truncation; there are two things that can be done to the present scheme, one to make it safer and the other to make it better. You may already have the “make it safer” thingy in place (can’t tell by the display). Will elaborate sometime today.

    • Hs4Mm says: 16.4

      Earlier today, I said there are two things that could be done to the present scheme for displaying the author’s name and title of post in the Recent Comments box.

      1) The first is that the length of the author might need to be truncated too — for example, there was a time when PK had a very long name, it was something like, “PK Vote Marina for sexiest geek”. You might already being doing this.

      2) The second was that rather than truncate the author and title at a fixed length, it might be better to first truncate the author at a fixed length and to then truncate the title based (not on the length of the title but based) on the lenght of the line “$the_aurhor in $the_title”. This way, if the author’s name is short, then more characters can be used for the title.

      I was going to provide php code, but gave up after I could not come up with a good php scheme to determine the length of a string! There are two issues with determining the length of a string:

      A) What we want is the width in pixels (or inches) required to display $the_author (to see how the same number of characters can take up different lenghts on the display, see the lenghts of these two strings of 4 characters: “mmmm” and “nnnn”.).

      The lenght of the display depends on the font being used — and it is not worth creating a general function to determine the display length of a given string in a given font. Here’s an example of such a function for a particular font (Verdana, 10px, non-bold) http://www.php.net/manual/en/function.strlen.php#76043

      B) The next best thing (to working with width in pixels or inches) is to work with width being the number of characters. But php’s “strlen( $the_author);” function returns the number of bytes required to store $the_author (for people knowing C, php’s strlen() does not include any terminating null) which need not equal the number of visible characters in $the_author. When $the_author is “Hs4Mm”, strlen( $the_aurhor ) returns 5 which is the number of displayed characters; but when $the_author = “Марина Орлова”; strlen( $the_aurhor ) returns a number bigger than 13 (the number of bytes required to store the 13 visible characters in “Марина Орлова”).

      I am at a loss as to how to handle strings with non-ASCII characters. I tried various experiments along the lines indicated below but none of them worked!

      Supposedly, one can determine number of visible characters via the function:

      $the_length = strlen( utf8_decode( utf8_encode( $the_string ) ) );
      // preceding should return 13

      Supposedly, one can also use the "/u" modifier to search patterns ( http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php ):

      $max_length = 20;
      $is_short = preg_match( '/^.{1,$max_length}$/u', uft8_encode( $the_author ) ) );
      // preceding should return 1

      $max_length = 10;
      $is_short = preg_match( '/^.{1,$max_length}$/u', uft8_encode( $the_author ) ) );
      // preceding should return 0

      • Hs4Mm says: 16.4.1

        The code tag was not parsed properly; trying again with tags between each line:


        Supposedly, one can determine number of visible characters via the function:


        $the_length = strlen( utf8_decode( utf8_encode( $the_string ) ) );

        // preceding should return 13


        Supposedly, one can also use the "/u" modifier to search patterns ( http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php ):


        $max_length = 20;

        $is_short = preg_match( '/^.{1,$max_length}$/u', uft8_encode( $the_author ) ) );

        // preceding should return 1


        $max_length = 10;

        $is_short = preg_match( '/^.{1,$max_length}$/u', uft8_encode( $the_author ) ) );

        // preceding should return 0

  4. There’s lots of creative ways to insult someone back; “Yo, hey turdsatchel, your bag is full.” “When’s the last time you sat down on a clean toilet seat and let loose a big ripe juicy frapple outta yer crap sack ya nutmegbag !”

  5. bsomebody says: 14

    Another bad name to call someone? I know too many of those already. :roll:

  6. How about showerbag? Shower pretty much means the same thing as douche.

  7. HotForWords says: 11

    Testing posting a comment from my phone with this new phone theme. Can’t reply to someone but it is awesome

  8. tonyb says: 10

    Some fellow in the army from New Jersey used the expression DOUCHEBAG!

  9. a word meaning “arrogant, self-important, attention-grubbing, pathologically deceitful compulsive stealer?” how about “Obama”?

  10. HOMEWORK: There’s always scumbag or the great English word rotter (which for some reason makes me think of the actor Terry-Thomas, who played [cads] of the first order).

  11. Che Volay says: 7

    Change the nozzle and it’s and ‘enema bag’

  12. Capman911 says: 6

    My mother always called it a Hot Water Bottle. She would remove the hose and orface tube and put a cap on the bottle allowing it to used as a appliance to place be on sore muscles or for earaches. It also comes in Book Form. :lol:

  13. bigbhd95 says: 5

    hey Marina ;-) high five :cool: or wave hello :roll:
    :cool: have a great day B.B. :mrgreen:
    H/W hot crotch cleaner or leg joint washer????

  14. Che Volay says: 4

    Boink! Boink! Boink!!

    Darse una ducha – Spanish for to take a shower

  15. hmmm, an alternative word for douchebag. homework: douchepad, doucherag, douchesponger, douchesod, douchemootch

  16. leonard says: 1

    :cool: Marina is Hot too!!! SOUL COOL….Know the Names to be CALLED!…Fill my baggy!!

Author: HotForWords

Get Adobe Flash playerPlugin by wpburn.com wordpress themes