News for hackers. Stuff that matters.
Re:Application for Fixed Satellite Service by SpaceX by oh_sigh on Thursday November 08, 2018 @07:18PM (#18411320)
It's borrowed from comp sci, but you can read O(x) as "on the order of x", so maybe 900, maybe 1200, but somewhere around there.
Re:Application for Fixed Satellite Service by SpaceX by loeg on Thursday November 08, 2018 @07:28PM (#18411395)
In Comp Sci O() notation has a very specific meaning and "on the order of" does not approximate it. I think it was probably just a misuse of the notation.
Re:Application for Fixed Satellite Service by SpaceX by repsilat on Thursday November 08, 2018 @08:54PM (#18411815)
In informal contexts it's also used as a fudge/handwave, purely as a questionable analogy that nobody is expected to take too seriously. `theptip` almost certainly knows that O(1000)=O(1), they were just being playful.
Re:Application for Fixed Satellite Service by SpaceX by loeg on Thursday November 08, 2018 @08:56PM (#18411821)
Exactly.
Re:Application for Fixed Satellite Service by SpaceX by rak00n on Thursday November 08, 2018 @08:52PM (#18411810)
I have seen it getting used in many places and it's understood as order of. O(n) means at worst case number of steps needed to complete an algorithm would be c.n + a. So it is completely valid use since O(1000) would mean it can be c.1000 + a, which actually means order of 1000s.
Re:Application for Fixed Satellite Service by SpaceX by loeg on Thursday November 08, 2018 @08:57PM (#18411825)
This is also an inaccurate description of the property O().
Re:Application for Fixed Satellite Service by SpaceX by rak00n on Thursday November 08, 2018 @09:18PM (#18411903)
Re:Application for Fixed Satellite Service by SpaceX by loeg on Thursday November 08, 2018 @09:59PM (#18412041)
https://en.wikipedia.org/wiki/Big_O_notation

> Big O notation is a mathematical notation that describes the limiting behavior of a function when the argument tends towards a particular value or infinity.

I.e., it's an asymptotic upper bound.

It's also interesting to compare with Ω() (Big Omega ­— asymptotic lower bound) and Θ() (Big Theta) (big-O AND big-Omega): https://en.wikipedia.org/wiki/Big_O_notation#Family_of_Bachm...

A good textbook on this subject is Introduction to Algorithms: https://www.amazon.com/dp/0262033844/ .

Re:Application for Fixed Satellite Service by SpaceX by rak00n on Friday November 09, 2018 @01:03PM (#18416420)
What I described is the same thing in layman's term. Worst case is the colloquial word for upper bound. And in that example n was approaching 1000.

If you want to be puritan the only fault I see in my definition is instead of using a generic function I assumed it's linear function - but that's for explaining the colloquial use.

Re:Application for Fixed Satellite Service by SpaceX by repsilat on Thursday November 08, 2018 @10:00PM (#18412045)
It's just an asymptotic upper bound (though often used to imply tight bounds).

It's most commonly applied to worst case running time, but is often applied to expected running time ("hash table insertions run in O(1)"), space complexity, communication overhead, numerical accuracy and any number of other metrics.

Re:Application for Fixed Satellite Service by SpaceX by loeg on Thursday November 08, 2018 @10:05PM (#18412062)
Yep. Often people mean the narrower big-theta when they express complexity in terms of big-O.
Re:Application for Fixed Satellite Service by SpaceX by gameswithgo on Thursday November 08, 2018 @08:38PM (#18411748)
"The letter O is used because the growth rate of a function is also referred to as the order of the function"

order of...order of

yeah I know there is no "growth"

Re:Application for Fixed Satellite Service by SpaceX by loeg on Thursday November 08, 2018 @10:08PM (#18412070)
You've taken an informal and sloppy summary of big-O notation, isolated a single English expression, and construed that a similar English expression used in a different context with entirely different meaning is an accurate approximation of the formal meaning. You would be incorrect.
Re:Application for Fixed Satellite Service by SpaceX by oh_sigh on Thursday November 08, 2018 @11:54PM (#18412408)
I guarantee you can find dozens of examples of CS-type people using O() in non-algorithmic-complexity topics as "on the order of" or "approximately" right here on HN within the past 6 months. They aren't all misusing that notation - it is being co-opted into a more general lexicon, whether you like it or not.

And I wasn't saying that "on the order of" is an approximation of what O() actually is in CS, merely that that is how OP used it.