?

Log in

No account? Create an account
Sarah's Blog [entries|archive|friends|userinfo]
Sarah

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

April 28th, 2009

Achy with the sniffles! [Apr. 28th, 2009|04:48 am]
Sarah
Typically my luck...
I've had sniffles the last week and a half, and now I've got a full blown cold. I'm never up at 4, but I had to get up and take some tablets because I'm so achy!
link3 comments|post comment

JavaScript timings [Apr. 28th, 2009|06:44 am]
Sarah
Running from top to bottom, the boxes below show the progress of 49 boxes with a delay of 1 millisecond to 49 respectively.
Look how awefull the timer resolutions are! (Maybe there's something I'm missing? I think up at the fast end, a new call is queues before the current one has finished, skewing the results.)

Can anyone explain the jumps?

Red is Firefox.
Green is IE.


<html>
<head>
<title>java object</title>

<style type="text/css">
body {margin:0; padding:0; position:absolute; overflow:hidden; left:0; top:0; width:100%; height:100%;}
#paper {margin:0; padding:0; position:absolute; overflow:hidden; background:#c0c0c0; left:0; top:0; width:100%; height:100%;}
blob {overflow:hidden;position:absolute;left:10;top:10;border:#000000 solid 1px;background:#ff0000;}
</style>

</head>


<body>
<div id=paper></div>
<div id=blob></div>

<script>

//Turn off selections
document.onselectstart = new Function("return false");

blobs=new Array();
paperBase=document.getElementById("paper");

function blob(parameters)
   {
   this.handle=parameters.handle;
   this.x=parameters.xPos;
   this.y=parameters.yPos;
   this.speed=parameters.speed;
   this.blobImg = document.createElement("blob");
   this.blobImg.innerHTML=this.speed;
   this.blobStyle=this.blobImg.style;
   paperBase.appendChild(this.blobImg);
   with(this.blobStyle)
      {
      left = this.x;
      top = this.y;
      width = 20;
      height = 20;
      }

   setTimeout("blobs["+this.handle+"].moveBlob()",this.speed);


   this.moveBlob = function ()
      {
      this.x++;
      this.blobStyle.left=this.x;
      setTimeout("blobs["+this.handle+"].moveBlob()",this.speed);
      }

   }

for(i=0;i<50;i++)
   {
   blobs[i] = new blob({ xPos:10, yPos:5+i*25, handle:i, speed:i });
   }

</script>
</body>
</html>
linkpost comment

Thought for the day #973682 [Apr. 28th, 2009|09:36 am]
Sarah
You can contract Crabs from public toilets.

link1 comment|post comment

Teen pregnancy [Apr. 28th, 2009|05:30 pm]
Sarah
The government thinks girls are getting pregnant because they don't understand contraception - hence they want to increase education. However, if anyone bothered to go out and ask these girls why they got pregnant, an entirely different picture forms.

This writer gets to the route of the problem quite well...
http://blogs.telegraph.co.uk/julie_henry/blog/2009/04/28/teen_pregnancy_is_about_low_expectations_not_sex_education
linkpost comment

Anonymous marblecake. [Apr. 28th, 2009|06:13 pm]
Sarah


All [Anonymous*] had to do was look at the two words in the captcha, enter the proper label for the ‘easy’ one (presumably that would be the one that the two optical scanners would agree upon) and enter the word “penis” for the hard one. If they did this often enough, then soon a significant percentage of the images would be labeled as ‘penis’ and the ability to autovote would be restored (one side effect, that was not lost on Anonymous, was the notion that for years to come there would be a number of digital books with the word ‘penis’ randomly inserted throughout the text.

*snigger*

http://musicmachinery.com/2009/04/27/moot-wins-time-inc-loses/

* Anonymous is to be found in many places, one of which is on the Random board ( /b/ ) of 4chan (Google censors this search!).
linkpost comment

Swine flu - checks map. [Apr. 28th, 2009|08:22 pm]
Sarah
You know there's 700 deaths a week in America from flu if you average it out?

*looks at map*, no deaths outside Mexico.

It looks like a lot of Mexicans have been ill, and just got better without stepping foot in a hospital. Also, there's only been something like 30 confirmed swine flu deaths. The rest are suspect, which means a whole load of other problems may have finished them off, rather than the flu.

As no one knows just how many Mexicans have been ill and recovered, the whole 6% mortality rate being quoted around is totally rubbish. That sample of 6% is for people so ill they needed to go to hospital (2000?). So if 150,000 Mexicans have been ill, which is quite possible (remember how many holiday makers coming home from Mexico have been ill - it must be widespread in Mexico), then the mortality rate is actually tiny.

It could turn out to be about as lethal as the normal yearly flu...
link5 comments|post comment

navigation
[ viewing | April 28th, 2009 ]
[ go | Previous Day|Next Day ]