PDA

View Full Version : Perfect Counting Thread


Funko
22-04-2009, 08:21:39
1

Tizzy
22-04-2009, 08:23:19
2

Vincent
22-04-2009, 08:31:32
3

Scabrous Birdseed
22-04-2009, 08:33:46
4

Tizzy
22-04-2009, 08:43:22
5

Funko
22-04-2009, 08:44:49
6

JM^3
22-04-2009, 08:47:29
28

JM

Scabrous Birdseed
22-04-2009, 08:53:17
NOOOOOOOO!

JM^3
22-04-2009, 08:59:41
496

JM

Funko
22-04-2009, 09:00:40
There's always

1

JM^3
22-04-2009, 09:04:10
Wrong, the next one is 8128 and then it starts to get more interesting.

JM

Funko
22-04-2009, 09:05:29
Really?

Scabrous Birdseed
22-04-2009, 09:06:09
GEEEEEEK!

Funko
22-04-2009, 09:06:14
Wait... perfect numbers?

High five JM.

Turd
22-04-2009, 09:10:52
23534657467473562518909832341247135045645659065016 5170456104561456565465635764346

Funko
22-04-2009, 09:12:22
23534657467473562518909832341247135045645659065016 5170456104561456565465635764347

Turd
22-04-2009, 09:13:01
23534657467473562518909832341247135045645659065016

5170456104561456565465635764348

JM^3
22-04-2009, 09:19:07
33550336

JM

MoSe
22-04-2009, 09:24:56
80085

Turd
22-04-2009, 10:21:12
0.0002

Provost Harrison
22-04-2009, 11:31:43
Time for a copycat thread methinks :D

MoSe
22-04-2009, 11:55:44
a copycount?

Drekkus
22-04-2009, 12:39:52
On the subject of counting, can any of you nerds explain this joke to me?:

http://imgs.xkcd.com/comics/cant_sleep.png

Vincent
22-04-2009, 12:50:08
yes

Drekkus
22-04-2009, 12:53:04
how?

Vincent
22-04-2009, 12:55:47
http://en.wikipedia.org/wiki/Most_significant_bit

Drekkus
22-04-2009, 12:59:01
you were wrong

Vincent
22-04-2009, 13:06:29
I was right. The explanation simply doesn't fit the crack in your skull

Drekkus
22-04-2009, 13:08:27
Hmm, it didn't explain it for me, even though you gave an explaination

Vincent
22-04-2009, 13:35:26
You need a bigger crack

Funko
22-04-2009, 13:37:21
:brwncard:

mr_B
22-04-2009, 13:51:59
19616714

MoSe
22-04-2009, 15:31:07
Originally posted by Drekkus
Hmm, it didn't explain it for me, even though you gave an explaination

in short: the sheep rolled over

Immortal Wombat
22-04-2009, 20:22:20
Originally posted by Drekkus
how?

Try this one instead (noting that 32768 is 2^15)

http://en.wikipedia.org/wiki/Integer_overflow

MoSe
23-04-2009, 07:11:14
Vinnie's link was more pertinent than IW's

The one which might shed light is tho this one

http://en.wikipedia.org/wiki/Two%27s_complement

Drekkus, for a single byte:
you could represent positive decimal integers from 1 to 255 (2^8-1)
but, to allow for negative numbers too, you adopt for instance the "2's complement" notation

in such case you renounce to the msb, which becomes a sort of "sign bit"
01111111 = 127 (2^7-1)
10000000 = -128 (or 128-256, not 128)
10000001 = -127 (or 129-256, not 129)

you could also see it as if the 8th bit (the msb) does not count as 128 itself, but as -128

so, 127+1 "wraps" to -128

similarly, with two bytes, instead of getting up to 65535, you only use 15 bits instead of 16, and when you get to 32767 you don't increase to 32768, but you "wrap to your negative bottom" -32768 and restart up from there

Drekkus
23-04-2009, 07:43:16
I really want to understand all this, but when i see numbers in between brackets, my brain just turns off. Plus wrapping around my negative bottom doesn't help accepting this.

What is msb btw?

Vincent
23-04-2009, 08:47:50
Microsoft Binary

Funko
23-04-2009, 08:54:35
The computer counting integers by putting marbles into a jar.

The jar can only contain a certain amount of marbles before it's full.

There's also a special marble holder on the jar, when you put a marble in that holder it tells you that the number is negative.

So when the computer runs out of space in the jar, it puts one in the negative number holder and it suddenly thinks it's got a full jar of a negative number!

This switches it's behaviour so now every time it adds one it takes a marble out of the jar.

Drekkus
23-04-2009, 09:07:30
why would a computer want to count integers?

Vincent
23-04-2009, 09:10:49
Imagine your number keys on the keyboard are broken.

So you make up a list of chararcters to represent numbers

a =1
b = 2
c = 3

etc

Now you need negative numbers for a bizarre reason I do not know.

so characters a ... m are used for positive numbers, and n...z are negative numbers

n is a bit crap as the starting negative number, so lets start with a z as - 1 and count backwards.

z = -1
y = -2
x = -3

so if you start counting sheep with your broken keyboard it will be
like
a (1)
b (2)
c (3)

..

l (11)
m (12)
n (-12)
o (-11)
p (-10)

..


Old computers had unreliable numeric keypads, so the computer counts sheep with characters and lies to you.

Funko
23-04-2009, 09:30:09
When computers could count up to 12 it was revolutionary.

2 higher than the previous finger system, and fingers can't count negative!

MoSe
23-04-2009, 10:57:41
except for missing fingers!

MoSe
23-04-2009, 10:58:46
besides, I thought ancient brits decided it was handier to count knuckles rather than whole fingers, whence the base 12 used in brit money and measure units

Funko
23-04-2009, 11:06:04
I'm confusedly looking at my fingers to work out how you get 12 knuckles.

Do you count 3 on each finger and not include the thumb?

MoSe
23-04-2009, 11:14:45
indeed

Funko
23-04-2009, 11:15:06
That's rubbish.

MoSe
23-04-2009, 11:17:17
this is something different!

http://lifehacker.com/software/macgyver/macgyver-tip-use-your-knuckles-to-remember-each-months-days-232828.php

Funko
23-04-2009, 11:19:53
We should have stuck with binary. could count up to

1111111111

then.

MoSe
23-04-2009, 11:28:44
http://everything2.com/node/842271

http://www.metafilter.com/65751/Why-did-Sumerians-use-base-60-mathematics
http://www.andrewtobias.com/newcolumns/010226.html
actually, it's handier if you count from the inside with the thumb of the same hand, so you touch the soft inner part of each phalanx, rahter than the knuckles

http://whiteknucklegrip.blogspot.com/2008/12/counting-blessings-instead-of-sheep.html

http://www.rattlesnake.com/notions/base-12.html

Vincent
23-04-2009, 11:29:37
10000000000

Funko
23-04-2009, 11:32:50
after

1111111111

it's

-1111111111

Vincent
23-04-2009, 11:35:27
What's that in RPN?

MoSe
23-04-2009, 11:49:21
http://en.wikipedia.org/wiki/Numeral_system

interesting:

Base-12 systems (duodecimal or dozenal [duodenal?]) have been popular because multiplication and division are easier than in base-10, with addition and subtraction being just as easy. Twelve is a useful base because it has many factors. It is the smallest multiple of one, two, three, four and six. There is still a special word for "dozen" and just like there is a word for 10^2, hundred, there is also a word for 12^2, gross.

MoSe
23-04-2009, 11:56:59
http://web.media.mit.edu/~stefanm/society/som_final.html

eek!

http://web.media.mit.edu/~stefanm/society/oksapmin.jpg

Funko
23-04-2009, 12:04:56
That puzzles me, it must be easier to invent that county thing with the beads than it is to invent that.

MoSe
23-04-2009, 12:11:06
plus, imagine you hang that poster on the wall of your kids room to make them learn, they'll never be able to count again for the scare!!

Vincent
23-04-2009, 12:25:13
Originally posted by MoSe
[B]There is still a special word for "dozen" which is it?

MoSe
23-04-2009, 12:28:32
ZWÖLFT!

MoSe
23-04-2009, 12:35:51
did you know?

in italian, "dozzinale" (literally: "dozenly") means of low quality, ordinary, down-market, cheap.
(similar to "dime a dozen")

so, something you can get by the dozens is of little value, a dozen squared is gross!

Funko
23-04-2009, 12:38:29
It's not that big.

MoSe
23-04-2009, 12:39:58
there are ten gross minutes in a day

Funko
23-04-2009, 12:44:52
There are pi*10^7 seconds in a year. Ish.

MoSe
23-04-2009, 13:03:49
piish?

Funko
23-04-2009, 13:07:34
Yes.

Provost Harrison
23-04-2009, 13:26:27
Originally posted by MoSe
besides, I thought ancient brits decided it was handier to count knuckles rather than whole fingers, whence the base 12 used in brit money and measure units

I doigt that very much :p

Immortal Wombat
23-04-2009, 18:08:17
Originally posted by MoSe
Vinnie's link was more pertinent than IW's
So it is. I didn't really read my link, I just sort of assumed it would explain everything.

Vincent
23-04-2009, 18:36:24
Well, I didn't read my link either but it was pertinent, whatever that means, so fuck you, arsehole

Japher
23-04-2009, 18:37:57
http://www.linkedin.com/profile?viewProfile=&key=29926810&authToken=FOHt&authType=NAME_SEARCH&locale=en_US&srchindex=2&pvs=ps&goback=.psr_*1_David+Kellermann_*1_*1_*1_*1_*1_*1_ *1_*1_Y_us_45103_*1_*1_*2_*2_*2_Y_Y_*1_Relevance

Here's a link

It's not pertinent

Vincent
23-04-2009, 18:38:53
Thank god

Japher
23-04-2009, 18:40:02
dude gets all the credit

Oerdin
23-04-2009, 18:53:36
00110001 00110010 00111001

Turd
23-04-2009, 19:02:48
Binary is shit.

Vincent
23-04-2009, 19:03:37
Binary is good, Oerdin gives it a bad aftertaste

Immortal Wombat
24-04-2009, 01:12:23
Originally posted by Japher
[url]It's not pertinent
It's even moderately impertinent. Wants me to log in, the cheek.

MoSe
24-04-2009, 06:47:19
Originally posted by Provost Harrison
I doigt that very much :p

dig its digits, yeah!
:cool:
:impertinent:

Koshko
26-04-2009, 03:28:37
75

Oerdin
26-04-2009, 21:10:41
1

Provost Harrison
27-04-2009, 09:20:03
Ooooh, modulus 76!

Provost Harrison
27-04-2009, 09:20:28
3