Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Off topic: lightbulb joke...

by didier (Vicar)
on Aug 11, 2003 at 08:05 UTC ( #282784=note: print w/ replies, xml ) Need Help??


in reply to Off topic: lightbulb joke...

Plagiarizing someone(?) the answer is 10:

One to change the lightbulb
and a programmer explaining binary numbers.


Comment on Re: Off topic: lightbulb joke...
Re: Re: Off topic: lightbulb joke...
by waswas-fng (Curate) on Aug 11, 2003 at 19:03 UTC
    I think you mean 01 not 10. 01 is bin for 2.

    -Waswas

      No, 10 is binary for 2.

      Think about this for a second... If 01 was binary for 2, then 00 would be binary for 1 and then what would zero be?

        0000 = 0
        1000 = 1
        0100 = 2
        1100 = 3
        0010 = 4


        Now lets not get into a endian war, I knew someone would bite. =)

        -Waswas

        edited: oops mistyped the bits for 4.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://282784]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2015-07-04 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls