Click here to Skip to main content
15,885,910 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: The Decline and Fall of Search Engines Pin
Richard Deeming7-Jan-21 1:13
mveRichard Deeming7-Jan-21 1:13 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB7-Jan-21 1:22
W Balboos, GHB7-Jan-21 1:22 
GeneralRe: The Decline and Fall of Search Engines Pin
Richard Deeming7-Jan-21 1:27
mveRichard Deeming7-Jan-21 1:27 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB7-Jan-21 1:35
W Balboos, GHB7-Jan-21 1:35 
GeneralRe: The Decline and Fall of Search Engines Pin
Member 133016797-Jan-21 19:56
Member 133016797-Jan-21 19:56 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB8-Jan-21 3:58
W Balboos, GHB8-Jan-21 3:58 
GeneralRe: The Decline and Fall of Search Engines Pin
Member 133016798-Jan-21 7:19
Member 133016798-Jan-21 7:19 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB8-Jan-21 7:59
W Balboos, GHB8-Jan-21 7:59 
First, none of what you said explains, in the least, the original premise: they they cannot seem to sort numeric values, and furthermore, pretty much any numeric type sorts those values perfectly well - regardless of storage, except for string-types.

So - now - let's say you store your numeric types any which way you think is great. How do you represent them for calculations? BCD, I suppose.

Actually, here, we store data in the SQL currency datatype.

Interestingly, not being part of the banking (or other) financial system, Amazon can store the prices of items any damn way they wish. You did read that, didn't you? PRICES OF ITEMS ?

So, aside from the risk of you financial guys doing arbitrage on the price of Kindle's, why would Amazon bother with the overhead on how to display or calculate pricing other than in the most efficient way possible? The 100th's of a cent error? Rounded up or down in a business - and the final value, that which is billed, is the relevant value.

As for "real" programs - I'm from the world of arbitrary precision values - scientific things, such as modeling, can iterate something tens of millions of times - and something rounded off in the precision of the 24th decimal place can come back to haunt you.

But here's the deal - unlike contract-software made by-the-book (or by the regulation), it was up to us to determine when the overhead was worth the price. Even considering the CPU's native bit-width (16 or 32 bits, then).

Your solution is mandated. When choice enters the matter, the real decisions are made from knowledge and experience as to the best tools for the job.
Ravings en masse^
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

GeneralRe: The Decline and Fall of Search Engines Pin
Member 133016798-Jan-21 8:44
Member 133016798-Jan-21 8:44 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB8-Jan-21 9:16
W Balboos, GHB8-Jan-21 9:16 
GeneralRe: The Decline and Fall of Search Engines Pin
Member 133016798-Jan-21 9:42
Member 133016798-Jan-21 9:42 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB11-Jan-21 3:04
W Balboos, GHB11-Jan-21 3:04 
GeneralRe: The Decline and Fall of Search Engines Pin
Daniel Will9-Jan-21 4:30
Daniel Will9-Jan-21 4:30 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB11-Jan-21 2:34
W Balboos, GHB11-Jan-21 2:34 
GeneralRe: The Decline and Fall of Search Engines Pin
Frank Malcolm8-Jan-21 10:40
Frank Malcolm8-Jan-21 10:40 
GeneralRe: The Decline and Fall of Search Engines Pin
Member 133016798-Jan-21 11:16
Member 133016798-Jan-21 11:16 
GeneralRe: The Decline and Fall of Search Engines Pin
Frank Malcolm8-Jan-21 15:17
Frank Malcolm8-Jan-21 15:17 
GeneralRe: The Decline and Fall of Search Engines Pin
Member 133016799-Jan-21 0:04
Member 133016799-Jan-21 0:04 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB10-Jan-21 2:43
W Balboos, GHB10-Jan-21 2:43 
GeneralRe: The Decline and Fall of Search Engines Pin
StarNamer@work21-Jan-21 4:36
professionalStarNamer@work21-Jan-21 4:36 
GeneralRe: The Decline and Fall of Search Engines Pin
Member 132567508-Jan-21 5:25
Member 132567508-Jan-21 5:25 
GeneralRe: The Decline and Fall of Search Engines Pin
20212a7-Jan-21 1:46
20212a7-Jan-21 1:46 
GeneralRe: The Decline and Fall of Search Engines Pin
W Balboos, GHB7-Jan-21 1:49
W Balboos, GHB7-Jan-21 1:49 
GeneralRe: The Decline and Fall of Search Engines Pin
Daniel Pfeffer7-Jan-21 3:41
professionalDaniel Pfeffer7-Jan-21 3:41 
GeneralRe: The Decline and Fall of Search Engines Pin
qmartens8-Jan-21 19:45
qmartens8-Jan-21 19:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.