Forgot your password?
typodupeerror

Comment: Bad explanition of qubit superposition (Score 3, Informative) 132

by Gary van der Merwe (#39184599) Attached to: IBM Touts Quantum Computing Breakthrough
Quote from article:

A qubit, like today's conventional bit, can have two possible values: a 0 or a 1. The difference is that a bit must be a 0 or 1, and a qubit can be a 0, 1, or a superposition of both. "Suppose you take 2 qubits. You can be in 00, 01, 10, and 11 at the same time. For 3 qubits you can be in 8 states at the same time (000, 001, 111, etc.). For each qubit you double the number of states you can be in at the same time. This is part of the reason why a quantum computer could be much more powerful," Ketchen said.

I find that to be a terrible explanation. What he said: "For each qubit you double the number of states you can be in at the same time." is also true for normal bits. Huh? Here is a better explanation: http://en.wikipedia.org/wiki/Qubit

Image

Google Street View Shoots the Same Woman 43 Times 106

Posted by samzenpus
from the get-your-face-out-there dept.
Geoffrey.landis writes "Terry Southgate discovered that his wife Wendy appears on the Google Street View of his neighborhood not once or twice but a whopping 43 times. From the article: 'It seems as if the Street View car simply followed the same route as Wendy and Trixie. However, Wendy was a little suspicious that the car was doing something on the "tricksie" side. Several of the Street View shots show Wendy looking with some concern towards the car that was, well, to put it politely, crawling along the curb. "I didn't know what it was doing. It was just driving round very, very slowly," Wendy told the Sun.' The next best thing to being a movie star — a Street View star!"
Earth

Officials Sue Couple Who Removed Their Lawn 819

Posted by kdawson
from the revenge-of-the-lawn dept.
Hugh Pickens writes "The LA Times reports that Orange County officials are locked in a legal battle with a couple accused of violating city ordinances for replacing the grass on their lawn with wood chips and drought-tolerant plants, reducing their water usage from 299,221 gallons in 2007 to 58,348 gallons in 2009. The dispute began two years ago, when Quan and Angelina Ha tore out the grass in their front yard. In drought-plagued Southern California, the couple said, the lush grass had been soaking up tens of thousands of gallons of water — and hundreds of dollars — each year. 'We've got a newborn, so we want to start worrying about her future,' said Quan Ha, an information technology manager for Kelley Blue Book. But city officials told the Has they were violating several city laws that require that 40% of residential yards to be landscaped predominantly with live plants. Last summer, the couple tried to appease the city by building a fence around the yard and planting drought-tolerant greenery — lavender, rosemary, horsetail, and pittosporum, among others. But according to the city, their landscaping still did not comply with city standards. At the end of January, the Has received a letter saying they had been charged with a misdemeanor violation and must appear in court. The couple could face a maximum penalty of six months in jail and a $1,000 fine for their grass-free, eco-friendly landscaping scheme. 'It's just funny that we pay our taxes to the city and the city is now prosecuting us with our own money,' says Quan Ha."

Comment: Re:How is SQL involved? (Score 2, Informative) 186

by Gary van der Merwe (#30388298) Attached to: SQL Injection Attack Claims 132,000+

On the server end there is a SQL injection exploit being used to get the malicious code out there.

My point being that you don't need to do a SQL injection to do this.

To prevent a SQL injection, you need to change ' to '' on input from the user that you pass to sql.

To prevent a HTML+script injection, you need to change < to &lt;, > to &gt; & to &amp; etc. on input from the user that render to the browser. The sites in question are not doing this, hence, just stick the code you wish to inject into at comment or some other user field. This has nothing to do with SQL.

Comment: Re:Cue postgres fan bois (Score 1) 334

by Gary van der Merwe (#28058509) Attached to: Has MySQL Forked Beyond Repair?
The old Enterprise Manager had a feature that I used to use a lot. You could open a query designer. "Design" a select query (typically add a where clause or possibly a join and a where clause on the joined table.) Execute the query, check the results. Then you could change the query type, to a delete or update statement. If you had multiple tables, it would prompt you on which table you wanted to change. It would keep the rest of the query (from, where, etc.) in tack. I can't figure out how to do this in the new Server Management Studio - frustrating.

"How to make a million dollars: First, get a million dollars." -- Steve Martin

Working...