Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:Will they also bill me? (Score 1) 243

I think it sounds quite clever.

Typically delivery consists of shipping to a distribution centre and then shipping to the customer.

Anyone who's had a tracked delivery will know that "Arrived at distribution depot" "Out for delivery" steps.

What I think is being suggested here is that you start the shipping process before you know the final destination.

Presumably the distribution depot isn't going to store the parcels (over and above the storage they have to do while waiting to load it onto the van for local delivery)

But here I think you only attach the destination to the parcel when it arrives at the distribution depot. If you have a customer at that point then you attach the customer's address otherwise you put the originating address on the parcel and ship it back.

Get it wrong and it could get very expensive. Get it right and many customers could see very quick delivery of large items that normally would take 2-3 days minimum even for a premium delivery service.

Comment Re:Standard deviation BAD, but mean GOOD? (Score 1) 312

For an odd number of samples consider the median value first.

Obviously for one value, the distance is minimized by picking that value.

Now add the next two points (one on either side) - the extra sum of the absolute value of the distances is the distance between these two points regardless of where we put the value between them- so it's still minimized if it stays at the median. repeat.

For an even number of points the initial point can be anywhere between the two central values.

For completeness you need to consider (and reject) the case that the median lies outside the list completely.

Comment Re:Toy Example (Score 1) 186

What has me particularly troubled is that it talks about amount being sum(items*price) while in the "Just five lines of reactive programming" it has

Derive credit_limit as sum(purchaseorderList.amount_total where paid=false)

As far as I can tell, this allows people to order as much stuff as they like, and only when they try to pay for it will it be blocked.

On the positive side, if someone has ordered 10000 widgets at $10 then the sales rep decides to have a 2 for the price of one offer for the next 50 customers, the price change will be blocked because the previous orders will now not incur enough credit drawdown any more.

And while I have seen cases where the new price is honoured when the price is dropped after an order is placed but before it is shipped, I've never heard of companies wanting to change old purchase orders that are bought and paid for after the event. It's a wonderful sales tax fraud - ship your goods, then discontinue them and reduce the price to zero. Now when you do your query to find out the total sales it's zero and there's no tax to pay.

Comment Re:A piece of paper in a drawer (Score 1) 381

A trusted executor is really the way to go here. Store the passwords in an encrypted format and then give the key to a trusted party that will only unseal the encrypted database in the event that you are incapacitated.

You don't need to go that far. Encrypt the master password with a one time pad. Send the pad to someone you trust to store it safely and keep the encrypted key.

If you forget your password you can ask the person for thepad back but neither you nor they can get your master password from just the part you have.

The only extra risk here is that someone will manage to compromise your part and the other part of the key. But it's likely to be fairly short and you can print it out and store it on paper and not keep an electronic copy. Also you can have two or three pads each with a different person.

Comment Re:Politics as usual (Score 1) 348

I'm in the UK where pretty much all lights get a three second yellow (approx) and there's a variable, but non zero, time when all the lights are red.

Drivers get used to this and, in London at least during busy periods, it's very common to have one or two cars cross after the lights have turned red (and that's when the average speed of the traffic probably isn't much more than 10mph so it's easy to stop)

Because cars do this, it's not at all uncommon for the junction to fail to clear before the other way goes green. Rather than getting 5-6 seconds for the cars to clear the junction, you get one or two seconds and sometimes the last cars who jumped the red are left in the middle of the junction when they're now at the back of the queue for the NEXT red light.

One thing that does seem different in the US (this is based on what I've seen in films so maybe not actually correct :-) is that drivers in the US seem to think they have the right to go if the lights are green. In the UK the attitude seems to be that you hit the horn if the cars who have jumped the lights going the other way are blocking you. It's still illegal but slightly less chaotic.

Comment Re: How is Norway going to know? (Score 4, Insightful) 245

I don't know about Norway's rules but in the UK, yes.

In the UK capital gains are calculated on a last in first out basis where the asset is fungible - shares, gold things like that.

However, I'm not sure exactly how it would work for an asset like bitcoin that you had mined. In theory the electricity costs should be offsetable when you cash in. When you're just buying and selling it would work like any other share or gold.

Anyone doing serious bitcoin mining now (where electricity costs are going to be a substantial fraction of any notional gain) would be strongly advised to get professional advice - it might make sense to setup a company for the mining.

Comment Re:What about the UK? (Score 2) 236

Skipping bail is criminal contempt of court in the UK

http://www.legislation.gov.uk/ukpga/1976/63

Penalties are severe:

http://www.cps.gov.uk/legal/s_to_u/sentencing_manual/contempt_of_court/

An immediate custodial sentence is the only appropriate sentence to impose upon a person who interferes with the administration of justice, unless the circumstances are wholly exceptional

He would have been (was?) allowed to argue his case that he shouldn't be extradited to Sweden due to the subsequent risk of extradition to the US. I cannot see how he could possibly convince a court that this would have happened and simultaneously show that the same arguments wouldn't have held water when extradition proceedings were in effect.

I can see he might possibly avoid jail in the UK only by surrendering and going to Sweden. But I wouldn't bet that the UK wouldn't want to extradite him back for contempt of court proceedings (or maybe they wouldn't extradite him to Sweden until after he was convicted and sentenced.

Comment Re:Scary twist ending (Score 1) 190

Then in the last page they say that even though none of this really matches up, they should still consider that he could be ROBPROF and they should keep an eye on him because his "background contains information inimical to the best interests of the United States" 8-(

That reminds me of the old joke:

Q. Why do the KGB go around in threes?

A. One can read, one can write and one to keep an eye on the two intellectuals.

Comment Re:But.. (Score 3, Informative) 340

it takes more effort to be antibiotic resistant than not. That means, absent the use of antibiotics, the resistance will naturally be selected against and fade from the population over time.

Actually, this (often) isn't the case.

It's obvious in theory that antibiotic resistance may or may not have a cost associated - but without any selection pressure, whether the resistance evolves is down to luck. Add the antibiotic and the selection is driven but remove the antibiotic again and the selection pressure doesn't need to be back towards the original state.

What is perhaps more surprising is that reversion to antibiotic susceptibility in the absence of the antibiotic is relatively rare - what actually tends to happen is that there are other mutations driven by the absence of the antibiotic rather than loss of the resistance.

http://www.biomedcentral.com/1471-2148/13/163
http://onlinelibrary.wiley.com/doi/10.1111/evo.12158/abstract
http://www.biomedcentral.com/1741-7007/11/14

The third one is interesting in that it says that sometimes antibiotic resistance can evolve due to a selection pressure unrelated to the antibiotic. If antibiotic resistance was very costly then you wouldn't expect to see this.

Comment Re:Anyone can disable third-party cookies ... but (Score 1) 173

Yeah, it used to be optional (provided you never did it - once you'd done it once you were committed forever more) but eventually it became mandatory.

My current card I usually get a "Your card has been enrolled in VbyV and you're being redirected" but provided I allow the "cross site scripting attacks" that are generated it then goes through without any further prompting.

I remember that gner (now eastcoast) only used to work if I disabled javascript just before clicking on the BUY button

Comment Re:Anyone can disable third-party cookies ... but (Score 2) 173

Verified by visa only reliably works on a vulnerable version of IE. Anything else and it's completely random whether a particular card/website combination will work.

In the end I changed my credit card to one that doesn't use VbV actually it's Mastercard so securecode (I think) because I got fed up of not being charged, being double charged, getting stuck half way through the process, forgetting my password which I then couldn't reset to something I wouldn't forget because it remembers the last 10^20 passwords, not being able to reset my password at all because it didn't give me the option.

It's particularly bizarre because my card might fail but my girlfriends card might work - for the same account in the same browser session.

Comment Re:Now Open It (Score 1) 231

SAP upgrades can easily take that long, but SAP can easily run organizations

This isn't my experience.

First SAP is deployed, then it goes though millions of "fixes" that make it about 5 years late.

Finally, everyone is forced to change what were working processes so that SAP can handle it.

Eventually things settle down - some things have improved, some things have got worse but a lot of money has been spent in the process and overall things are no better (I guess the CEOs reports are printed on shinier paper but I've never seen that side of things)

Comment Re:Why? (Score 1) 213

I meant market value at the time of issue. I had assumed that this is what par would be for options but actually par doesn't appear to have any meaning at all for options.

As to the rest, I don't know. You could be right but then it doesn't make sense to say he's getting $77M in compensation. The naive value of what he's getting is, in fact, zero in that case.

Comment Re:Why? (Score 2) 213

What am I missing here? For a company that's doing well, this seems like the perfect way to pay Larry.

His share options are almost certainly offered way below par.

If the shares are $33 and he gets 2M @ $3 then that's a theoretical gain of $60M when he exercises.

A 10% fall in the value of the company means he "only" gets $54M instead - while the investors who bought $2M at $33 lose $6M

I'm not 100% sure of the UK regulations but I think for share options schemes of this size (there are tax exemptions for some cases but I think the cap is £30000) you would be taxed as income on the gain when you exercised the options. (For gains of this size, 50% rather than 28% CGT)

For the US I think it's different and it's a way of avoiding income tax with fairly minimal risk.

The UK sees share option schemes like this as just another form of income, albeit deferred and not guaranteed - so the UK defers the income tax to the point where the gain is actually made.

Slashdot Top Deals

Say "twenty-three-skiddoo" to logout.

Working...