Ten fold

CrossValidated's general room for gossip, grumbles, and idle c...
Jul 20, 2016 17:06
We're looking at trying to increase their accuracy, so first we need a good measure of accuracy.
Jul 20, 2016 17:05
The implications would be more for our customers to quantify, but they're big and broad.
Jul 20, 2016 17:05
@whuber we're a third party logistics providing these estimates to varioius costumers based off our historical data. Because these impact 100s of costomers across hundreds of industries - the impacts are broad. It could mean that a costumer doesn't plan enough empty cars to pick up a shipment of wood because they though they were getting there in 5 days but it took 7. It could mean that somebody doesn't ship enough oil because they thought in transit time would be 10 days but its 15.
Jul 20, 2016 15:43
When I say lane, this is rail data - so trips on a lane typically go from the same origin to the same destination along the same route - so we can precalculate averages. That origin to destination is a lane.
Jul 20, 2016 15:42
Its easy to say abs(ActualTime - ETA) is accuracy for a single ETA (how far it is from what actually happened). But how to roll that up to a meaningful measure for a trip, and then for all trips on that lane is where I'm having difficulty making a jump.
Jul 20, 2016 15:40
@gung So. I have a bunch of ETA (estimated time to arrival) data for logistics stuff. Over the course of a trip, the ETA is constantly updated each time the product moves towards destination. By the time the trip is over, we know how long it actually took. So the goal is to find a good way to measure the ETA accuracy by lane. The times from each point it moves are pre-calculated ahead of time, then we add that time to where it currently is at that point to get the ETA.
Jul 20, 2016 15:08
I'm having trouble coming up with an appropriate statistical method or measure to describe how accurate (how close an estimate is to an actual measured event) - is that an appropriate SE site to ask for help with it? I have a bit of stats in my background but its been years.
 

 The Heap™ – Consultancy ©®

General on- and off-site discussion for dba.stackexchange.com....
Jun 10, 2016 14:08
@MaxVernon k
Jun 10, 2016 13:13
0
Q: Will a DBCC CHECKDB with repair have to rescan?

rfuscaI've run a DBCC CHECKDB and it found allocation errors. When I run it with REPAIR_ALLOW_DATA_LOSS - will it need to take the same amount of time to scan for errors, or will it attempt to use the last CHECKDB I ran and go faster? (SQL Server 2000. Yes its ancient, no I can't upgrade.)

Jun 10, 2016 13:08
If I've run a DBCC CHECKDB and it found errors. When I run it with REPAIR_ALLOW_DATA_LOSS - will it need to take the same amount of time to scan for errors, or will it attempt to use the last CHECKDB I ran and go faster?
Mar 31, 2016 18:06
I f'ing hate Oracle with the fiery passion of a thousand suns.
Mar 3, 2016 18:48
@AndriyM my understanding was the for postgres text is actually faster than a fixed length, because fixed length was essentially implemented as text+constraint behind the scenes. But i could be wrong.
Mar 3, 2016 16:03
@phil if i'm recovering archive logs with 4 channels - does it make sense that its going to use 4x as much FRA while recovering?
Mar 2, 2016 19:32
@swasheck i'm fairly conservative, and most of my friends are fairly conservative too...but still, not one for trump. its just damned odd
Mar 2, 2016 19:29
40% of the state voted for him, but I don't know one person? suspicious
Mar 2, 2016 19:29
the crazy thing is, I don't know a single person who actually voted for him
Mar 2, 2016 19:28
@swasheck gee, thanks lol
Mar 2, 2016 19:26
@swasheck i didn't vote for him lol
Mar 2, 2016 19:26
@swasheck yes
Mar 2, 2016 19:24
next thing you know, Trump is endorsed by the KKK, quoting Mussolini and still winning votes
Mar 2, 2016 19:22
@Lamak thats what everybody thought. Then the crazy people came out of the woodwork.
Mar 2, 2016 19:19
then i cried
Mar 2, 2016 19:18
@swasheck i threw up a little
Mar 2, 2016 18:19
ah, sorry :P
Mar 2, 2016 18:18
note id's are common to pass around, even in oracle forums
Mar 2, 2016 18:18
@PaulWhite sharing a note id, not the same as copy and pasting the info
Mar 2, 2016 18:17
@phil its a bug - MOS note 782317.1
Mar 2, 2016 15:41
@Phil "specification does not match any backup in the repository"
Mar 2, 2016 15:39
@Phil would the SCN be different than TIME ? because the backup finished at 11pm, I set the TIME to midnight but thats when it complains. Running that now.
Mar 2, 2016 15:35
@Phil the comments section there says you have to use an older backup and restore. So that means recent backups are screwed if you add a datafile? That doesn't sound right.
Mar 2, 2016 15:22
which has never presented an issue
Mar 2, 2016 15:22
but to a non-RAC clone
Mar 2, 2016 15:22
@Phil yes
Mar 2, 2016 15:21
(reading through that now)
Mar 2, 2016 15:21
@Phil yes
Mar 2, 2016 15:19
@dezso LOL, indeed
Mar 2, 2016 15:11
0
Q: Duplicate fails with no copy of datafile nnn found to restore

rfuscaI've duplicated our production to our UAT environment several times in the past but due to various reason, this time has been a serious PITA. Oracle 11.2.0.3. We have a recovery catalog setup. This is the script thats run on the UAT box: connect catalog rman/cat@rc connect auxiliary / run {...

Mar 2, 2016 15:11
any oracle rman pros around?
Aug 5, 2015 19:32
So instead of checking whether each car is in the polygon, we result_cache the result of polygon and location sdo_contains, so that we can satisfy all 200k cars from a cache of 5k locations.
Aug 5, 2015 19:32
@JackDouglas well. I've logged a ticket. This is actually fairly cool functionality that we're trying to use the result cache for. I work in logistics and we're allowing our customers to draw on a map to support geographic searches on their cars. They might have 200k cars but they'll only be sitting in 5k distinct locations.
Aug 5, 2015 15:50
@JackDouglas Yup, its about to go that direction...but I've never had them actually help
Aug 5, 2015 15:41
uggg, i have a sinking feeling :/ one of these was upgraded from 10 (the one that doesn't work) and one was a clean install of 11.2
Aug 5, 2015 15:39
boooo :( not what I want lol
 

 Electrical Engineering

A place to talk with friends from the EE community about vacuu...
Jan 30, 2016 05:57
@Shalvenay thanks!
Jan 30, 2016 05:57
@crasic hmmm that looks like a decent option, i2c isn't something i have much exposure with though...time for some research
Jan 30, 2016 02:22
@Shalvenay thanks - so basically 4,8 and 16 bit
Jan 30, 2016 01:51
@NickAlexeev so think I probably ought to just chain together 5 8 bit shift registers to read to read the 36 inputs? (They're DMX lighting addresses.)
Jan 30, 2016 01:49
@wellington yes, i just don't have a good response
Jan 30, 2016 01:48
@NickAlexeev stink - thats what I was afraid of
Jan 30, 2016 01:42
(this is kind of a shopping question,so I didn't want to post on main site) I can't find something that I figured would be not hard.....so either there's a reason technically or I'm not looking right. I need to read a series of dip switches (4 total) with 9 switches into a microcontroller. So i figured a parallel in/serial out shift register...but I can't find any that take 9 inputs. I could do 8 in and just run an extra register, but that sounds like a PITA. Do they not make one or..?