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

 



Forgot your password?
typodupeerror
×

Comment Re:"some weakness" (Score 1) 465

It tells me they were not following accounting principals and balancing the books at the end of the month.

How do you balance the books? You have a bitcoin which is "stolen" and spent. Surely it's only when you come to try to spend it yourself that you discover that someone else has spent it first and your bitcoin is no longer valid.

Comment Re:Interesting attack on Bitcoin (Score 1) 465

It's an interesting problem though. If you give me your bitcoin wallet, (along with the key) then I can make a copy of your wallet and spend the money in my copy. When you ask for your wallet back, I can give it back to you, unchanged. Have I stolen anything?

In real life, if I made a copy of your wallet, and then spent the money in the copy, I'd be guilty of forgery/counterfeiting. I wouldn't be guilty of stealing from you.

Comment Re:Stupid (Score 2) 61

And if the recipient forwards it unencrypted then S/MIME or PGP are not very useful.

I was envisioning each person running their own mailserver (as I do) so that the only place mail would be unencrypted would be on their local machine.

Once you're in that position everything gets encrypted and it's invisible to the end user.

Comment Re:Funny how fast things have went to panic mode (Score 1) 235

Although your facts are correct, the reason CO2 causes warming, and the reason it doesn't saturate too, are more complicated.

These complications are the reason why it wasn't until the late 1940s and the advent of high altitude aircraft that these areas of confusion weren't definitively settled.

A better model (one that behaves more like the real world) is to consider the Earth as a black body where the surface is a mile or two up in the atmosphere rather than on the ground.

CO2 (plus water vapour) are what control how high into the atmosphere that surface is.

Because of the lapse rate, the ground will be warmer than the surface of the imaginary black body.

As CO2 increases, the height of that black body surface increases therefore it's temperature decreases. However, if the temperature decreases, the amount of radiation escaping to space decreases while the amount arriving from the sun stays the same, so the ground starts to warm up.

Eventually, the ground warms enough that the black body surface is hot enough to now be in equilibrium with the energy arriving from the sun.

And because that surface raises if CO2 is added regardless of how much CO2 there already is there is no "saturation" point where more CO2 doesn't cause warming.

Comment Re:Old fashioned idea... (Score 2) 384

It's slightly bizarre but sometimes people cannot see that they're being inconsistent.

I wish I'd written it down because it was a perfect example of this - I was approached to make a change to some functionality.

I said - but if we do A then B happens.

To which they said "but we can do C" (which did solve B)

I said - but if we do C then D happens

To which they said "but we can do E" (which did solve D)

I said - but if we do E then F happens

To which they said "but we can do G (which did solve F) except that G was precisely undoing the required effects of A.

It took over two hours going through these simple steps with them before they "accepted" that we couldn't do what they wanted (B, D and F were all unacceptable and no dispute about that) and I think they thought I was playing a trick on them.

Comment Re:Not blinded by laser but blinded nonetheless (Score 1) 376

Nonehteless I am betting such light would be forbbidden in many country in europe where the maximum intensity you can pump is limited by law.

It might have changed, but I believe that it's not the maximum light output that is limited but the power input.

So from tungsten filament that the law was written for to the thermodynamic limit gives about a 50x increase in brightness that is allowed.

Similar games for bicycle lights. The reason it's almost impossible to get a bicycle dynamo that will output more than three watts is because that's the legal limit for the front light. In true lawyer fashion, you're allowed to have extra lights (provided they're independently controlled so you can turn them off without your legal light) that are brighter but the lamp the law requires is limited to a maximum of 3W (input)

Many of these laws have been changed relatively recently - for example LED lights weren't allowed at all for bicycles, not sure what the situation for cars was - but they are now.

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.

Slashdot Top Deals

Old programmers never die, they just hit account block limit.

Working...