Hacker News new | ask | show | jobs
by kalid 1073 days ago
You probably understand logs intuitively. Don’t worry about notation, here’s the idea: sometimes we count digits, not values.

When we say someone has a 6 figure salary, we are counting how many 0’s (10s) to takes to get there.

For memory, we say something has 32 bits and can have 2^32 possible values. It’s more graspable to talk about the “address size” vs the “number of possible values”, especially for things that grow fast (like storage).

I’d suggest starting with your intuitions and slowly translating them to math.

(Without being a shill, I wrote about real world logs here, it may help: https://betterexplained.com/articles/using-logs-in-the-real-...)

1 comments

Thanks. I'll take a look!