View Poll Results: Preference - Letters in Hexadecimal Values Upper- or Lower-Case?

Voters
21. You may not vote on this poll
  • I prefer upper-case

    11 52.38%
  • I prefer lower-case

    3 14.29%
  • I don't have a preference either way

    6 28.57%
  • Stop wasting our time with senseless polls

    1 4.76%

Thread: Preference - Letters in Hexadecimal Values Upper- or Lower-Case?

  1. #16
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    @Matticus:
    I started this a week ago, and got stuck on the last line...finally finished it. It's not as good as I was hoping for, but I don't think I can do any better.
    Code:
    CAD BADE DEB ABED
    DEB EBBED, CAD BEEFED, DEB CEDED
    DEB DABBED BEADED FACE
    This is the only "proper English" one I could come up with. Using numerals as homonyms and allowing for leet speak opens up a lot of possibilities.

    The slightly salacious nature reminded me of limericks, but given how hard it was to find enough sensible content for 3 short lines, it seems unlikely I'll come up with 5 longer lines, especially when considering meter and rhyming.

  2. #17
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    @anduril462 - That is brilliant! Especially considering the limitations of the exercise. And with a much more consistent (and hilarious) narrative than my example. Well done!

  3. #18
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    Also, it's funny that you mention limericks - I'm a big fan of them. I always wanted to write a snippet of C code that, when read aloud, was a limerick. Something like this:

    Code:
    #define RUN   0
    #define DONE  1
    
    int state = RUN;
    int counter = 0;
    
    while(state != DONE) {      // while state is not equal to done
        counter = counter + 1;  // counter equals counter plus one
        if(counter == 8)        // if counter is eight
            state = DONE;       // assign "done" to state
        else                    // else state is set equal to "run"
            state = RUN;
    }
    It's a lot more difficult than it seems at first...

  4. #19
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Nice! So did you start with the limerick or the code...or somewhere in the middle? That could actually be a sort of puzzle too, where the goal is to go from C to a limerick, or vice-versa. My first experience with limericks, which is where I became a fan, was when I found this book tucked away in my parent's shelves, when I was just at that age where I was starting to get some of the references.

  5. #20
    Registered User
    Join Date
    Jun 2011
    Posts
    4,513
    I started somewhere in the middle, and bounced back and forth between code and verse.

    That looks like a great book! Especially considering Isaac Asimov was a co-author. I'm going to have to add that to my wish list.

  6. #21
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    ^_^

    The limerick is furtive and mean
    You must keep her in close quarantine
    Or she sneaks to the slums
    And promptly becomes
    Disorderly, drunk and obscene.

    - Contested (Many will accuse Morris Bishop of this bit of verse, but many will accuse others.)

    ^- My favorite bit of limerick because I can't not posted now that the subject is referenced.

    Actually, me and a friend used to play "Limericks at 30 Paces" because why the ... wouldn't we?

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  7. #22
    - - - - - - - - oogabooga's Avatar
    Join Date
    Jan 2008
    Posts
    2,808
    Here's all the words I can find that can be made with the letters a to f. Can anyone think of more?

    A
    AD A.D.
    A&E
    B.C.
    BE
    ED
    ABE
    ACE ACED
    ADD ADDED
    BAA
    BAD
    BED
    BEE
    CAB
    CAD
    DAB DABBED
    DAD
    D.E.A.
    DEB
    EBB EBBED
    FAD
    FED FEED
    ABED
    BABE
    BADE
    BEAD BEADED
    BEEF BEEFED
    CAFE
    CEDE CEDED
    DEAD
    DEAF
    DEED DEEDED
    FACE FACED
    FADE FADED
    DECAF
    ACCEDE ACCEDED
    DECADE
    DEFACE DEFACED
    EFFACE EFFACED
    FACADE
    The cost of software maintenance increases with the square of the programmer's creativity. - Robert D. Bliss

  8. #23
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    That's pretty close to what I got with the following:
    Code:
    $ grep -Eh '^[a-f]+$' /usr/share/dict/words
    a
    abbé
    abed
    accede
    acceded
    ace
    aced
    ad
    add
    added
    b
    baa
    baaed
    babe
    bad
    bade
    be
    bead
    beaded
    bed
    bedded
    bee
    beef
    beefed
    c
    cab
    cabbed
    cad
    café
    cede
    ceded
    d
    dab
    dabbed
    dad
    dead
    deaf
    deb
    decade
    decaf
    deed
    deeded
    deface
    defaced
    e
    ebb
    ebbed
    efface
    effaced
    f
    fa
    facade
    face
    faced
    fad
    fade
    faded
    fed
    fee
    feed
    Note, the individual letters are listed, but not their "spelled out" variants (which I think are at least legal in Scrabble): "cee", "dee" and "eff". "bee" is already in there. Not sure how one spells "E" and "A".

  9. #24
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    O_o

    You are a programmer; why on earth are you doing this by hand?

    Grab a word list from one of the many shimming/spell check/search suites and find them algorithmically.

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  10. #25
    - - - - - - - - oogabooga's Avatar
    Join Date
    Jan 2008
    Posts
    2,808
    Quote Originally Posted by phantomotap View Post
    You are a programmer; why on earth are you doing this by hand?
    If I did it by hand (or brain) it's probably because I enjoy it. However, I didn't generate them by hand. I just pruned them by hand (and added a couple, like ABE, ED, D.E.A.).
    The cost of software maintenance increases with the square of the programmer's creativity. - Robert D. Bliss

  11. #26
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    If I did it by hand (or brain) it's probably because I enjoy it.
    ^_^

    Fair enough, but I wonder, are you allowing for words that have only enjoyed modern usage?

    If so, your vocabulary is essentially tripled. (See "Encyclopedia Dramatica" for an example.*)

    Soma

    * You should totally not go see "Encyclopedia Dramatica".
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  12. #27
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Lim-ericks at 30 paces?
    A game that sounds totally aces
    A web search I tried
    But unless Google lied
    It is known in a very few places.


    So Soma, our friend, don't be lame
    And tell us how to play this game.
    Or did you omit the rules
    So we all look like fools
    And the gold medal you always will claim?

  13. #28
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    ^_^

    Adorable.

    I have to say, you obviously win this round. (I owe you a beer.)

    Seriously, I tried framing a limerick response, but I kept smiling too much over the "A game that sounds totally aces" to think.

    On the chance you want to know: the game is one of appreciation so has no real rules, winners, or losers being born in celebration of nonsensical poetry.

    Two (or more) people of like mind gather in a receptive crowd to alternately challenge the others on verse with the "winner"/"loser" determined by cheers/jeers from the crowd.

    Yeah. It is generally a drinking game where the "loser" pays for the round.

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

  14. #29
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    Quote Originally Posted by phantomotap View Post
    On the chance you want to know: the game is one of appreciation so has no real rules, winners, or losers being born in celebration of nonsensical poetry.

    Two (or more) people of like mind gather in a receptive crowd to alternately challenge the others on verse with the "winner"/"loser" determined by cheers/jeers from the crowd.
    So it's the original rap battle.

  15. #30
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    5,108
    So it's the original rap battle.
    O_o

    Given the context, it seems possible, but my only exposure to "rap battle" is "Epic Rap Battles of History" so I'd have to assume the intent to enjoy instead of discredit, but I may be reading too much into the channel.

    [Edit]
    Nikola Tesla vs Thomas Edison. Epic Rap Battles of History Season 2. - YouTube ^_^
    [/Edit]

    Soma
    “Salem Was Wrong!” -- Pedant Necromancer
    “Four isn't random!” -- Gibbering Mouther

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. String upper-lower case
    By icor15 in forum C Programming
    Replies: 1
    Last Post: 11-26-2012, 03:00 AM
  2. Replies: 11
    Last Post: 04-11-2011, 05:52 PM
  3. Replies: 6
    Last Post: 03-07-2011, 02:15 PM
  4. help...Lower and Upper case problem only
    By j4k50n in forum C Programming
    Replies: 9
    Last Post: 04-19-2007, 12:39 AM
  5. upper case to lower case problem
    By Jasonymk in forum C++ Programming
    Replies: 3
    Last Post: 04-27-2003, 05:35 AM