Find the answer to your Linux question:
Results 1 to 9 of 9
0x2b || !(0x2b) that is the question....
  1. #1
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665

    I have a question

    0x2b || !(0x2b)

    that is the question.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  2. #2
    Just Joined! fguy64's Avatar
    Join Date
    Aug 2009
    Posts
    87
    I suppose the answer is always true, for obvious reasons

  3. #3
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    That would deffinately be a correct interpritation, but I prefer to think bitwise, and the operation would equal 0xFF

    I say that just because I like to get 0xFF
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  4. #4
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,287

    My question would be

    If there are 10 types of people in the world: Those that understand binary and those that don't, where are the other 1000?
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

  5. #5
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Quote Originally Posted by meton_magis View Post
    0x2b || !(0x2b)

    that is the question.
    Whether 'tis nobler in the mind to suffer
    The slings and arrows of outrageous fortune,
    Or to take arms against a sea of troubles
    And, by opposing, end them. To die, to sleep

  6. #6
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,228
    Bwa ha ha: the bitwise vs. boolean operators strike again!

    But as long as we're talking poetry, I present to you...The Black Perl:
    Code:
    BEFOREHAND: close door, each window & exit; wait until time.
        open spellbook, study, read (scan, select, tell us);
    write it, print the hex while each watches,
        reverse its length, write again;
        kill spiders, pop them, chop, split, kill them.
            unlink arms, shift, wait & listen (listening, wait),
    sort the flock (then, warn the "goats" & kill the "sheep");
        kill them, dump qualms, shift moralities,
        values aside, each one;
            die sheep! die to reverse the system
            you accept (reject, respect);
    next step,
        kill the next sacrifice, each sacrifice,
        wait, redo ritual until "all the spirits are pleased";
        do it ("as they say").
    do it(*everyone***must***participate***in***forbidden**s*e*x*).
    return last victim; package body;
        exit crypt (time, times & "half a time") & close it,
        select (quickly) & warn your next victim;
    AFTERWORDS: tell nobody.
        wait, wait until time;
        wait until next year, next decade;
            sleep, sleep, die yourself,
            die at last
    # Larry Wall
    DISTRO=Arch
    Registered Linux User #388732

  7. #7
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,955
    Quote Originally Posted by meton_magis View Post
    That would deffinately be a correct interpritation, but I prefer to think bitwise, and the operation would equal 0xFF

    I say that just because I like to get 0xFF
    Then it would have to be (sic) (0x2b | ~0x2b)
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  8. #8
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    $DO || ! $DO; try
    try: command not found.


    I love these kinds of jokes
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

  9. #9
    Just Joined! fguy64's Avatar
    Join Date
    Aug 2009
    Posts
    87
    Quote Originally Posted by Rubberman View Post
    Then it would have to be (sic) (0x2b | ~0x2b)
    Yep, LOL.

    This all reminds me of the programmer who, when asked if his newly born child was a boy or a girl, responded "yes".

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •