News for hackers. Stuff that matters.
Re:A DIY M&Ms and Skittles sorting machine by jacobolus on Sunday February 05, 2017 @06:27PM (#13575370)
In the 1970s, the USA sold a large amount of wheat to the USSR in a famous deal.

The contract stipulated that the wheat would contain something like <1% sand. US wheat at the time had effectively no sand at all, so they mixed in 1% of pure sand, staying just within the contract terms.

(I heard this from a friend whose friend knew something about it; in searching I can’t find a source online, so the story might be apocryphal. I also might be off on the precise percentage.)

Re:A DIY M&Ms and Skittles sorting machine by rmason on Sunday February 05, 2017 @10:39PM (#13576321)
Grain elevator contracts contain an allowed foreign material allowance. Farmer's bringing in their grain get docked for any foreign material. Then the elevators add foreign material to the grain as train cars are loaded. It's crazy but that's just how the industry has always worked.
Re:A DIY M&Ms and Skittles sorting machine by mulmen on Monday February 06, 2017 @01:45AM (#13577106)
Do you have a source for this? What kind of material do they add?
Re:A DIY M&Ms and Skittles sorting machine by aaron695 on Monday February 06, 2017 @02:33AM (#13577340)
Sounds illegal - https://www.gipsa.usda.gov/fgis/grainhandling.aspx

Except -

"Recombine or add broken corn and broken kernels to whole grain of the same kind, provided, that no dockage or foreign material, including dust, has been added to the broken corn or broken kernels;"

Re:A DIY M&Ms and Skittles sorting machine by aaron695 on Sunday February 05, 2017 @11:36PM (#13576497)
There's also the 'story' of the Japanese firm who included 10 broken 'X's' with the delivery of X, since the contract stated 10 broken X's per 10000.

I think you'll find neither story is true.

Like most Urban Legends it's a bit silly, people are people whatever the culture. They have common sense.

Re:A DIY M&Ms and Skittles sorting machine by ot on Monday February 06, 2017 @04:39AM (#13577964)
In the Google SRE book they say that if a service has reliability much better than the stated SLO they artificially introduce errors to get closer to the error budget.

This is to prevent over-reliance on the measured SLO rather than the stated SLO in upstream services.

Re:A DIY M&Ms and Skittles sorting machine by aaron695 on Monday February 06, 2017 @05:37AM (#13578255)
This sounds very very odd?

Why ride the line? It'd take one major issue then you're way over you error budget?

For testing/simulations I can see why you'd introduce the errors.

Re:A DIY M&Ms and Skittles sorting machine by jcl on Monday February 06, 2017 @12:59PM (#13582107)
My understanding is that they don't bring the service to exactly the SLO... To prevent overreliance on a service, it can be sufficient to introduce some level of failure, which may still be well above the SLO.

http://danluu.com/google-sre-book/#chapter-4-service-level-o...

Re:A DIY M&Ms and Skittles sorting machine by avar on Monday February 06, 2017 @08:26AM (#13579184)
One major issue and you stop artificially inserting errors, which are inserted at a rate such that you could turn off the error inserted within some timely manner and still stay within budget.
Re:A DIY M&Ms and Skittles sorting machine by Natanael_L on Monday February 06, 2017 @07:09AM (#13578706)
Netflix has Chaos Monkey. The purpose is to find unexpected flaws and risks.
Re:A DIY M&Ms and Skittles sorting machine by rmetzler on Monday February 06, 2017 @01:49AM (#13577129)
Usually they include 10 Xs more for the broken ones.
Re:A DIY M&Ms and Skittles sorting machine by ue_ on Sunday February 05, 2017 @07:15PM (#13575569)
That doesn't sound like a very nice thing to do. I wonder if capitalism is to blame, as I would certainly blame capitalism, or good old fashioned egotistical rivalry that I'm told was common in many areas of life then between the USSR and the US.

I'd say that feeding humans or even livestock is more important than profits. Or at least, it ought to be.

Re:A DIY M&Ms and Skittles sorting machine by a_w on Sunday February 05, 2017 @10:05PM (#13576209)
Unfortunately for some profit is still more important than human health or the environment [0]

"Trafigura, Vitol and BP exporting dirty diesel to Africa, says Swiss NGO

"Traders blend cheap fuel with sulphur levels many times the European limit for sale in African countries, says Public Eye"

[0] https://www.theguardian.com/world/2016/sep/15/trafigura-vito...

Re:A DIY M&Ms and Skittles sorting machine by LeifCarrotson on Sunday February 05, 2017 @08:12PM (#13575804)
Or classical capitalism, because 99 ton of wheat plus one ton of sand is one ton of wheat cheaper than 100 tons of wheat. Sand is heavy and cheap.
Re:A DIY M&Ms and Skittles sorting machine by nikcub on Monday February 06, 2017 @01:02AM (#13576900)
I just happen to have bought some sand recently, and it isn't that cheap. Especially not the type of sand that you'd feel comfortable mixing into food.

Where I am, a ton of sand aggregate using in construction is ~$100 per ton. The better sand used in gardens, the brown sand (it's used to repel water so you don't over-water crops) is more than than.

Considering the wheat/ton spot price is $160 per ton at the moment, I don't think the actual prices would be too different.

[0] http://www.indexmundi.com/commodities/?commodity=wheat&month...

Re:A DIY M&Ms and Skittles sorting machine by niij on Sunday February 05, 2017 @11:23PM (#13576462)
Perhaps it's 1% by volume instead of by weight.
Re:A DIY M&Ms and Skittles sorting machine by fulafel on Monday February 06, 2017 @01:34AM (#13577046)
A good compromise would have been to put a small bag of sand in the bottom of the container.
Re:A DIY M&Ms and Skittles sorting machine by thecrazyone on Monday February 06, 2017 @07:38AM (#13578881)
Though we'd want that to be okay. The Russians might then reject saying you sent us 999 kgs of wheat and 1 kg of sand.

Also, diplomatically, this might be more difficult to defend. Although allowing this would've been in the best interest of both nations. Cue the human condition :)