Tuesday, September 28, 2010

It's official: Chicken came before egg

LONDON: It's the age-old question that has puzzled the finest minds for thousands of years -- which came first: The chicken or the egg?

Now, scientists claim to have finally discovered the answer to the conundrum -- it's the chicken which came first.

A team from University of Sheffield and University of Warwick has found that a protein called ovocleidin (OC-17) is crucial in the formation of eggshells.

It is produced in the pregnant hen's ovaries so the correct reply to the egg riddle must be that the chicken came first, the scientists say.

However, the research does not come up with how the protein-producing chicken existed in the first place, the 'Daily Express' reported.

The team used a hi-tech computer, called HECToR, to look at the molecular structure of a shell.

They discovered that OC-17 acts as a catalyst, kick-starting the conversion of calcium carbonate in the chicken's body into calcite crystals.

It is these that make up the hard shell that houses the yolk and its protective fluids while the chick develops.

Lead scientist Dr Colin Freeman of Sheffield University said: "It had long been suspected that the egg came first but now we have the scientific proof that shows that in fact the chicken came first.

"The protein had been identified before and it was linked to egg formation but by examining it closely we have been able to see how it controls the process. It's very interesting to find that different types of avian species seem to have a variation of the protein that does the same job."

The scientists now hope the breakthrough could be used in industry to help develop new materials.

Team member Prof John Harding said: "Nature has found innovative solutions that work for all kinds of problems in materials science and technology. We learn a lot from them."

Calcite crystals are found in numerous bones and shells but chickens form them quicker than any other species, creating six grams (0.2oz) of shell every 24 hours. Once the shell has formed, the chicken expels the egg.

Monday, September 27, 2010

Changes Flowplayer

http://motionmods.com/forum/topic?id=170

Flow Player Integration

1. download Flowplayer  dist
2. download  make_player make_player
3. make archive faila themes / default / make_player.htm if you are in default theme, if you do use another theme archive of other topics.
4. unzip Flowplayer.rar
5. upload all dist folder in the root directory
6. unzip make_player.rar
7. replace the faila  make_player.htm


In index.php, add this:

Code:

$playlist = 1;

$pl = array();



    $sql    = "SELECT video_id, title, description FROM videos WHERE approved = 'yes' AND public_private = 'public' AND featured = 'yes' ORDER BY indexer DESC LIMIT 10";

    $query    = @mysql_query($sql);

    while ( $result = @mysql_fetch_array($query) ) {

        $pl[] = $result;

    }
Then add this just before the TBS render at the end:

Code:

$TBS->MergeBlock('pl', $pl);
In main_1.htm, add this just before the closing head tag:

Code:

<link href="[var.base_url]/themes/default/css/playlist.css" rel="stylesheet" type="text/css" media="all">

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"><!--[onload;block=script;when [var.playlist]=1;comm]--></script>

<script type="text/javascript" src="http://static.flowplayer.org/js/flowplayer-3.2.4.min.js"><!--[onload;block=script;when [var.playlist]=1;comm]--></script>

<script type="text/javascript" src="http://static.flowplayer.org/js/flowplayer.playlist-3.0.8.min.js"><!--[onload;block=script;when [var.playlist]=1;comm]--></script>



<script type="text/javascript"> 

$(function() {

    

    // setup player 

    $f("player", "http://releases.flowplayer.org/swf/flowplayer-3.2.4.swf", {

    

        clip: {baseUrl: '[var.base_url]/uploads'}

        

    // playlist plugin 

    }).playlist("#playlist");

    

});

<!--[onload;block=script;when [var.playlist]=1;comm]-->    

</script>
In inner_index.htm, replace everything in this section:

Code:

  <!--Video Player Container.  This is where the player embed code goes-->

  <!--End Video Player Container-->
With this:

Code:

<a id="player" class="player plain"> 

    <img src="http://static.flowplayer.org/img/player/btn/play_text_large.png" /> 

</a>   

  

<div id="playlist"> 

    <a href="[pl.video_id;block=a].flv"> 

        <img src="[var.base_url]/uploads/thumbs/[pl.video_id;block=a].jpg" /> 

        <strong>[pl.title;htmlconv=no;block=a;ope=max:18;maxhtml]</strong><br />[pl.description;htmlconv=no;block=a;ope=max:28;maxhtml]

    </a> 

</div>  

<div id="fp_mar"></div>
Upload this playlist.css to your themes/default/css/ folder, and you're done!