Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment: Re:and that's how we got the world of FIREFLY (Score 1) 263

by sysrammer (#48663583) Attached to: Serious Economic Crisis Looms In Russia, China May Help

And what happens to the Chinese economy when US orders suddenly dry up.

China is in a position to do the US significant harm, but in the process utterly devastating its own economy.

And if in the position of securing a political goal the dictators decide that the gain outweighs the damage to their economy, they will--in glowing, happy, joyful terms--tell their population to go ahead and suck it up.

Counting on self-interest to stop bad actors is no guarantee.

sr

Comment: Re:But but but (Score 1) 330

by sysrammer (#48618905) Attached to: 11 Trillion Gallons of Water Needed To End California Drought

"Some states are so stupid they just need to go away for good and California is one of them."

I agree. Once we disrupt the 8th largest economy in the world, all that excess production can be re-distributed to other places, improving more people's lives. The people there can then vote with their shoes and find other places to live. Roll out the welcome wagon--Californians, here they come!

Comment: OT Re:Paradoxes Be Damned (Score 1) 334

by sysrammer (#48587317) Attached to: Aliens Are Probably Everywhere, Just Not Anywhere Nearby

"That's a great ID10T story. Right up there with INSERT INTO MyHugeTable (ID, Value) Values (SELECT MAX(ID)+1 From MyHugeTable, "Value") which I found on a table with one million rows when client asked why his website was so slow. "

I see almost exactly this in a newly mis-behaving app that I have to deal with. The table in question has grown very large. It bothered me when I saw it the logic. I don't have great SQL chops, but this kind of logic only works well with a serial column, right, as the DBMS will track the highest assigned value? If not, then the thing has to do index or table scans to find the value in each invocation.

CMIIW

thx, sr

When a Banker jumps out of a window, jump after him--that's where the money is. -- Robespierre

Working...