More Soyuz issues.

sobota, 28. Styczeń 2012 - 03:05 | No comments »

Russia postpones two manned launches to International Space Station

Quote:

The postponement to future Soyuz lift-offs is needed because the Soyuz TMA-04M spaceship cracked after testing in a pressure chamber


Rocket Carrier Causes Bridge Collapse in Kentucky

sobota, 28. Styczeń 2012 - 02:59 | No comments »

A cargo ship carrying rocket components for an upcoming launch from Cape Canaveral Air Force Station collided with a bridge in Kentucky early January 27, 2012 causing a portion of the bridge to collapse. There were cars on the bridge at the time of the incident but no injuries were reported. The 312-ft Delta Mariner [...]

More…

Orion Capsule Embarks on Cross Country Public Tour

sobota, 28. Styczeń 2012 - 02:53 | No comments »

Here’s your chance for a birds-eye view of an Orion capsule, up-close and personal. A full scale test version of one of NASA’s Orion spacecraft has embarked on a cross country tour from White Sands, New Mexico, across several states in the southern United States that ultimately lands at the Kennedy Space Center in Florida. [...]

More…

CosmoQuest: Taking Citizen Science to the Next Level

sobota, 28. Styczeń 2012 - 02:48 | No comments »

“X” marks the spot for a new place for Citizen Science on the web. It’s called CosmoQuest and the collaborators of this new website invite you to come visit and do more than just click your mouse. Besides contributing to real science for NASA space missions, there are also places to learn, converse, hang out [...]

More…

Astronomers Capture Images of Asteroid 2012 BX34

sobota, 28. Styczeń 2012 - 02:43 | No comments »

Small asteroid 2012 BX34 skimmed past Earth today, January 27, 2012, with closest approach at about 15:25 UT, and it passed only about 59,044 km (36,750 miles) or about ~0.2 lunar distance (or 0.0004 AU) above the Earth’s surface. It was discovered just a few days ago by the Catalina Sky Survey in Arizona. Above [...]

More…

Mystery Moon Flashes Caused by Meteorite Impacts

sobota, 28. Styczeń 2012 - 02:37 | No comments »

For hundreds of years, people have seen tiny flashes of light on the surface of the Moon. Very brief, but bright enough to be seen from Earth, these odd flashes still hadn’t been adequately explained up until now. Also known as Transient Lunar Phenomena (TLPs), they’ve been observed on many occasions, but rarely photographed. On [...]

More…

Re: Cleaning string for URL & directory

sobota, 28. Styczeń 2012 - 02:32 | No comments »

this is what you are looking for


$shortname
=mysql_real_escape_string(str_replace('%40','@',htmlspecialchars(urlencode($shortname));

Re: Finding every Nth record in a database with a non-incremental index.

sobota, 28. Styczeń 2012 - 02:27 | No comments »

Quote from: stubarny on Today at 06:35:15 PM

out of curiosity – if we use a calculated column (@counter := @counter + 1) is this going to become slow for larger databases (e.g. 10 million records)?

You could always cache the resulst.

Re: Creating indexes for an sql query

sobota, 28. Styczeń 2012 - 02:22 | No comments »

Those are some really long column names!

Why are you using LEFT JOIN?

In general, you need to index every column that will be used in a join — which is typically only one of the two listed — which ones depends on a great number of things.

Re: Problem with "If IP equals wildcard"

sobota, 28. Styczeń 2012 - 02:17 | No comments »

in this case you could remove everything after the last . in $ip giving 10.44.6.

then this would work

 if ($ip == '10.44.6.')