theweaselking: (Default)
[personal profile] theweaselking
When talking about orders of magnitude, specifically in terms of software size and response time.

Powers of 10? Or powers of 2?

(no subject)

Date: 2008-07-16 02:04 pm (UTC)
From: [identity profile] glitteringlynx.livejournal.com
I can see arguments for both, but commonly when people talk about magnitude, most people assume it's by the 10th powers. It might be necessary to specify if one wants to use the power of 2.

(no subject)

Date: 2008-07-16 02:10 pm (UTC)
From: [identity profile] mightycodking.livejournal.com
Powers of 10.

(no subject)

Date: 2008-07-16 02:12 pm (UTC)
From: [identity profile] drjon.livejournal.com
I'd default to Powers of 10 with any use of "magnitude", unless there was a reason or a suspicion not to.

(no subject)

Date: 2008-07-16 02:13 pm (UTC)
From: [identity profile] icedrake.livejournal.com
Still 10. Maybe we're just not l33t enough.

(no subject)

Date: 2008-07-16 02:13 pm (UTC)
From: [identity profile] silmaril.livejournal.com
Powers of 10. Instinctive answer, which is what I guess you wanted.

(no subject)

Date: 2008-07-16 02:18 pm (UTC)
From: [identity profile] anivair.livejournal.com
10 is what I'd use. Seems to be a popular answer, too.

(no subject)

Date: 2008-07-16 02:21 pm (UTC)
From: [identity profile] mhoye.livejournal.com
It's not about what you're talking about, it's about who you're talking to.

(no subject)

Date: 2008-07-16 02:25 pm (UTC)
From: [identity profile] waterspyder.livejournal.com
I've dated people in the past who insisted on base 16 or base 12 as being the most sensible numbers.

I'm a base 10 fan myself.

(no subject)

Date: 2008-07-16 02:36 pm (UTC)
From: [identity profile] dglenn.livejournal.com
I do find the Babylonian system useful for a few particular applications...

base 60

(no subject)

Date: 2008-07-16 02:31 pm (UTC)
From: [identity profile] theweaselking.livejournal.com
Very well, then. When a software geek is talking software and he says "we made that change and pages loaded several orders of magnitude faster", do you think 8x speed or 1000x speed?

The guy who said it was thinking 8x. I interpreted 8x without a hitch. A third listener said "wait, what?"
And that prompted the question!

(no subject)

Date: 2008-07-16 03:12 pm (UTC)
From: [identity profile] ironphoenix.livejournal.com
For technical folks, it may be clear, but I wouldn't want to let the marketers mislead people, most of whom would be right there with your third listener.

(no subject)

Date: 2008-07-16 03:38 pm (UTC)
From: [identity profile] elffin.livejournal.com
He needs to specify in order to not mislead, if the statement is without context.

This tells me that the third listener didn't have the context.

Which is not an indictment - At one point this morning I was forced to stop thinking in German to answer a question, and it took me a good fifteen seconds to formulate a comprehensible English sentence.

(no subject)

Date: 2008-07-16 03:39 pm (UTC)
From: [identity profile] dreamshade.livejournal.com
Powers of 16? Hexadecimal?

(no subject)

Date: 2008-07-16 06:53 pm (UTC)
From: [identity profile] silmaril.livejournal.com
It does depend heavily on who you're talking to, then, because if I told my advisor boss that the device was getting a current three orders of magnitude higher, when I meant 8 times higher, there would have been much confusion and then mockery.

10 is just the default around physical sciences, I guess.

(no subject)

Date: 2008-07-16 06:59 pm (UTC)
From: [identity profile] theweaselking.livejournal.com
Not just that, but in the physical sciences, everything is in base 10. You measure Hz and KHz and MHz. You measure V and KV and uV. In the context of current, absolutely everything is in 10s.

Whereas everything is twos, in software. Even the 1000s are really 1024.

(no subject)

Date: 2008-07-16 02:26 pm (UTC)
From: [identity profile] mrbankies.livejournal.com
I suppose power of 10 makes the most sense, although when you said software size, I immediately went base 2

(no subject)

Date: 2008-07-16 02:35 pm (UTC)
From: [identity profile] dglenn.livejournal.com
Powers of 10.

(no subject)

Date: 2008-07-16 02:40 pm (UTC)
From: [identity profile] jsbowden.livejournal.com
An order of magnitude is defined as a power of ten. It is not context sensitive.

(no subject)

Date: 2008-07-16 02:48 pm (UTC)
From: [identity profile] theweaselking.livejournal.com
Wikipedia Pete disagrees!

Wikipedia Pete is a bit of a dick sometimes, though.

(no subject)

Date: 2008-07-16 03:41 pm (UTC)
From: [identity profile] elffin.livejournal.com
Milkman Dan's life partner*.

They attend the Church of our Saint Cliff Claven together.

(*Unless there really is a real person you're referring to and you're not merely coining an anthropomorphic synecdoche.)

(no subject)

Date: 2008-07-16 03:58 pm (UTC)
From: [identity profile] scifantasy.livejournal.com
Unless there really is a real person you're referring to and you're not merely coining an anthropomorphic synecdoche.

There isn't and he is.

(no subject)

Date: 2008-07-16 05:27 pm (UTC)
From: [identity profile] jsbowden.livejournal.com
When Wikipedia Pete learns to use log scales, he can disagree. Until then, he can blow me.

(no subject)

Date: 2008-07-16 07:04 pm (UTC)
From: [identity profile] theweaselking.livejournal.com
I suspect this would be unsatisfying. He'd stop in the middle to demand citations, complain that your penis is not presenting an NPOV, and argue with himself over the best technique mid-effort.

(no subject)

Date: 2008-07-16 02:52 pm (UTC)
From: [identity profile] jagash.livejournal.com
Software size; the common usage is base 10 as a rough approximation of the actual base 2 number. (1 gig is not exactly 1000kb, but is treated as such). In terms of response time, it depends on the extent. If you are measuring in flops, base 2. If you are measuring in fractions of a second, base 10.

(no subject)

Date: 2008-07-16 02:53 pm (UTC)
From: [identity profile] moosl.livejournal.com
An order of magnitude is equivalent to moving the decimal point. Most people you meet will do their counting in base 10.

(no subject)

Date: 2008-07-16 04:22 pm (UTC)
jerril: A cartoon head with caucasian skin, brown hair, and glasses. (Default)
From: [personal profile] jerril
I'm pretty sure it's only a "decimal" point in base 10. The baseless term is "radix point" I think; otherwise it would be a hexadecimal point or a ... binary point? I'm not sure on that last one.

(no subject)

Date: 2008-07-16 07:08 pm (UTC)
From: [identity profile] theweaselking.livejournal.com
Does anyone[1] *ever* do fractional counting in binary?

I mean, seriously. Yikes.


[1]: Who is not a computer

(no subject)

Date: 2008-07-16 08:06 pm (UTC)
jerril: A cartoon head with caucasian skin, brown hair, and glasses. (Default)
From: [personal profile] jerril
[1]: Who is not a computer

Programmers who are trying to work with floating point numbers and need to maximize accuracy of operations need to understand binary fractions. If only to have it beaten into their heads why floating point arithmetic should always be viewed with suspicion.

I'm not sure you ever do actual math In The Real World, but when you're trying to optimize a system, or locate a source of inaccuracy, understanding how it works is vital.

(no subject)

Date: 2008-07-16 10:10 pm (UTC)
From: [identity profile] jagash.livejournal.com
That is an amusing concept.

(no subject)

Date: 2008-07-17 06:08 am (UTC)
From: [identity profile] moosl.livejournal.com
You're right. I stand sit corrected.

(no subject)

Date: 2008-07-16 03:09 pm (UTC)
From: [identity profile] ironphoenix.livejournal.com
Powers of 10, even though powers of 2 would seem more relevant. Calling powers of 2 "orders of magnitude" would let the marketing folks pull all kinds of shenanigans.

(no subject)

Date: 2008-07-16 03:38 pm (UTC)
From: [identity profile] sebkha.livejournal.com
At my last workplace, we distinguished the two as BOOMs (binary orders of magnitude) and DOOMs (decimal orders of magnitude).

(no subject)

Date: 2008-07-16 03:41 pm (UTC)
From: [identity profile] elffin.livejournal.com
This amuses me greatly.

(no subject)

Date: 2008-07-16 04:04 pm (UTC)
From: [identity profile] cmseward.livejournal.com
I'm hardwired to think powers of 10 if I hear order of magnitude, but I can see a good case for using powers of 2 for software. It would probably need to be specified, and I'd have to actually think about its meaning, though.

(no subject)

Date: 2008-07-16 04:13 pm (UTC)
From: [identity profile] scifantasy.livejournal.com
Understanding the question now, I would say 10 instinctively.

(no subject)

Date: 2008-07-16 04:25 pm (UTC)
jerril: A cartoon head with caucasian skin, brown hair, and glasses. (Default)
From: [personal profile] jerril
I would say base 10 off the top of my head, and I'm a programmer. ESPECIALLY when talking about time, which I refuse to do any kind of transformation on in non-decimal bases. Kiloseconds damnit, base 60 and base 24 are for people 6000+ years ago, not for modern civilized folks.

( there's a reason why I need Excel to do any time math more complicated than "Adding an hour" or similar. Base 60 makes my brain shut down in confusion )

(no subject)

Date: 2008-07-16 11:46 pm (UTC)
From: [identity profile] paoconnell.livejournal.com
Base 10 is where it's at in the Real World (tm), unless you're delving into things that are in the realm of assembly language.

In the world of Assembler (or assemblerish C/C++, like bit shifting), base 2, base 8 (octal) or base 16 (hexadecimal) might be appropriate, but that depends on the kind of processor you're dealing with.

(no subject)

Date: 2008-07-17 12:21 pm (UTC)
From: [identity profile] doug-palmer.livejournal.com
Powers of 10, because the software size and response time is something humans care about, rather than computers.

And, in any case, the words "doubled" and "halved" are available and easy to use.

(no subject)

Date: 2008-07-18 05:30 am (UTC)
From: [identity profile] opaqueplanet.livejournal.com
Base 10 in most things (chemistry, physics), base 2 in computer speedy things. This was intuitive for me as soon as the N64 came out and I found out the previous systems were 8-bit, 16-bit, 32-bit... I was about 10, and I noticed the base 2 thing before I had any idea about logarithms.

So ya, I don't think, in the tech world it would be at all confusing to hear Orders of Magnitude referring to base 2. I might ask if you meant 2 or 10, but I wouldn't be all "whaaaaaaat?!" if you said 2.

Profile

theweaselking: (Default)theweaselking
Page generated Feb. 5th, 2026 02:29 pm