Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr4096 :: Powers of two

A story and discussion around how knowing powers of two can be useful

<< First, < Previous, , Latest >>

Hosted by Deltaray on 2024-04-15 is flagged as Clean and is released under a CC-BY-SA license.
math, debugging, commodore, amiga, sysadmin, servers, software. 3.
The show is available on the Internet Archive at: https://archive.org/details/hpr4096

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:17:04

general.

2
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
65536
131072
262144
524288
1048576
2097152
4194304
8388608
16777216
33554432
67108864
134217728
268435456
536870912
1073741824
2147483648
4294967296
8589934592
17179869184
34359738368
68719476736
137438953472
274877906944
549755813888
1099511627776
2199023255552
4398046511104
8796093022208
17592186044416
35184372088832
70368744177664
140737488355328
281474976710656
562949953421312
1125899906842624
2251799813685248
4503599627370496
9007199254740992
18014398509481984
36028797018963968
72057594037927936
144115188075855872
288230376151711744
576460752303423488
1152921504606846976
2305843009213693952
4611686018427387904
9223372036854775808
18446744073709551616

Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2024-04-15 20:11:04 by Windigo

Very enjoyable episode

I can't wait to find out what happens in the sequel, HPR 8192.

Comment #2 posted on 2024-04-17 15:32:11 by brian-in-ohio

Another example

One use of powers of 2 is mentioned in Ender's Game. Ender runs through the powers of 2 to calm himself down, a nerdy way of counting to 10. Enjoyable show

Comment #3 posted on 2024-04-17 18:40:42 by Dave Morriss

8388607

Great show, thanks. It got me looking at /etc/services to remind myself about assigned port numbers!

Back in the 1970's when I abandoned my Biology PhD and got a job instead, I ended up working in the computer service department at Lancaster University in the North West of England where we had an ICL 1900 series mainframe. This was a 24-bit machine (using _magnetic core_ memory), running an operating system called GEORGE 3.

When somebody left, I stumbled into working as an assembly language programmer (using the PLAN assembler) because we had source access to the operating system (on MicroFiche) and were enhancing it, with other universities in the region, to implement an early form of networking, the GANNET network.

Burnt into my memory from that day to this is the value of 2**24 - 1 = 8388607 This of course is the largest signed integer that can be stored in 24 bits :-)

Oh, and because I was looking in the HPR database today, I feel that I am in the presence of greatness because not only is the show number 4096, the duration (in seconds) is 1024. ;-)

Dave

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?