1,262 karma · joined Nov 21, 2012 (14y ago) · 484 submissions
comment 12y ago · link · parent
For example:
prepare("SELECT name FROM users WHERE country = ? ORDER BY " + unescapedVar, country);
So I wonder, is there any way to force programmers into writing secure queries (by not writing queries)? Is ORM the way to go?comment 12y ago · link · parent
And some cities based on OSM: http://bitsteller.bplaced.net/osm/
comment 12y ago · link · parent
comment 12y ago · link · parent
A good scientist knows other theories may come and change the landscape. So you need to keep an open mind.
That's why I posted the link to the theory of the deep fountains. I think it's a good theory explaining some events in the past.
Is it true? I don't know. But we also have no proof for evolution. But the theory of evolution works very well to explain a lot.
The only science that has proof is math.
(I'm not a creationist by the way)
comment 12y ago · link · parent
I'm not sure why you think creationists are dumb people. Even scientists don't agree with all theories in the science books.
So yeah, maybe there was an event where fountains of the deep opened up. Some people believe dinosaurs were killed because after that a change in atmosphere provided less food. Others believe a comet killed them. There is and isn't proof for both theories so maybe there is truth in both.
Our creation / existence is one big riddle everyone tries to solve different.
comment 12y ago · link · parent
So it's good to stick to some boundaries. In the example of the robot: you could measure room temperature, because maybe the sensors are acting to it. Or you could measure the amount of people in the room because sensors could act to it. Heck, maybe the sensors are acting different to different people, so track there faces and store it. Well maybe sensors are sensitive to somebodies smell so track that too.
There are limits to what is useful to track.
comment 12y ago · link · parent
While the song is playing you can see the settings. I've played with it once but it's hard to get it right.
First you place the notes to add pitch and length. Then you attach phonetic codes to the notes. So it's not like you are adding words to notes. It's all about how it should sound. Then you also can add things like amplitude settings.
comment 12y ago · link · parent
Btw: Xiaomi means something as 'grain of rice'. Meaning that small things still can be big.
comment 12y ago · link · parent
Wikipedia entry: http://en.wikipedia.org/wiki/Microjoule_%28vehicle%29
comment 12y ago · link · parent
comment 12y ago · link · parent
Black logo examples:
Logo on a Fax
Logo on a photo copy
Logo on a black-only laser printer
Small logo examples: Logo on a pen
Logo on a USB drivecomment 12y ago · link · parent
[1] http://en.wikipedia.org/wiki/The_Fountainhead#Howard_Roark
comment 12y ago · link · parent
What amazed me after reading some of his books are the physical effects of today's cities on humans (and animals).
Some examples:
Living higher than 4 stores: there is evidence that this will disconnect you from the life happening on ground level.
Streets made for cars: cars are more important than humans.
comment 12y ago · link · parent
To me this shows that nature is ofter more complex than we think. Soylent might include all product a body needs but what about chewing for example.