Something From Somewhere, Maybe

Once again, “The FBI warned police in California and New Mexico that it received information about possible terrorist activity in their states. However, the warning wasn’t specific about particular targets or a method of attack, a federal law enforcement official said Thursday.”

Uh yeah. We think maybe someone somewhere is possibly plotting something. Could be somewhere within 10,000 miles of your state and happen in the next 10 years. Thanks for the help, I’m sure we will all run right out into the desert and… I don’t know… look at each other.

As NewMexiKen says, “The problem with the crying wolf analogy of course, is that Aesop’s story has an unhappy ending” 

Javascript Random Quote Generator

Note: This is targeted to users of iBlog, but should work easily with any site.

Everytime I find a interesting quote I’ve wanted to rotate them through my site. I think there are some free services out there that will do them with a simple javascript but I hate having to have stuff hosted on other sites; it slows mine down. I found this site with some embedded javascript code that does basicly what I want except I dont’ want it embedded. So I modified it to be a file that I referece from within the templates in iBlog. It also has the advantage that when I want to update the quotes I only have to update one file, rather than every template file and republish every page of the stie.

The code looks like this:

/*
This Script was created by Daniel Standley
Please feel free to use it but make sure you give me credit
My Email is gandalf_au@kooee.com.au
and my website is standleydj.tripod.com
*/
// The quotes that appear on the page.
quotes = new Array("<i>&quot;I think we ought to raise the age at which juveniles can have a gun.&quot;</i>&nbsp;- George W. Bush","<i>&quot;They misunderestimated me.&quot;</i> - George W. Bush","<i>&quot;I have no special talents I am only passionately curious&quot;</i> - Albert Einstein","<i>&quot;The report of my death was an exaggeration&quot;</i> - Mark Twain","<i>&quot;One began to hear it said that World War I was the chemists' war, World War II was the physicists' war, World War III (may it never come) will be the mathematicians' war&quot;</i> - Davis, Philip J. and Hersh, Reuben", " "&quot;They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety&quot;</i> - Benjamin Franklin")

//Alter nothing below the script wont work if you do.
qte = quotes.length
function chooseQuote(){
randomNum = Math.floor
((Math.random() * qte))
document.write(quotes[randomNum])

}

The actual quotes are contained in the part that says quotes = new Array( ). You will see some comma seperated values in quotes. You can add or change the ones that are there

To use it take that text and paste it into a text editor. Save it as a plain text file called quotegenerator.js and put it where ever you publish your blog to. You will need to put a line in the template files you wish to use it in.

Put this inbetween the head tags:

<script type="text/javascript" src="<$>quotegenerator.js" language="JavaScript"></script>

To use the quote generator put this bit of code in your site:

<script type="text/javascript">chooseQuote();</script>

I put this in my blog description portion of iblog so it looks like this: 

 

Since iBlog doesn’t use a javascript function for the description it works perfectly. 

LANL Getting Their Act Together, Hopefully (updated)

Los Alamos National Labs was where they invented the first nuke, then send it down south to test. LANL is located kind of between Albuquerque and Santa Fe, near the Jemez mountians. There’s a route from Albuquerque through the Jemez that take you to Los Alamos. Along the road you see abandon cement outposts with “Tech Sector” or something written on them. Back in the day there use to be armed patrols guarding this area in the mountains.

Back in the day they were more concerned about security. Now adays they are being critized for insuffiecnt security, with all this loosing hard drives and floppy disks with classified information and such. Now it looks like heads are going to roll. Last week, “I don’t care how many people I have to fire” in order to knock the security- and safety-challenged staff into line, Los Alamos chief G. Peter (“Pete”) Nanos declared in the Friday memorandum to his 12,000 employees.” and today, ” Energy Secretary Spencer Abraham today ordered a halt to all Department of Energy operations that use the same kind of computer disks reported missing last week at Los Alamos National Laboratory.” I think some people at the labs thing they “were to important to be fired” orpeople focusing and making a big deal about stupid, meaningless things instead of doing their jobs: protecting information and national security.” Clearly they have forgot what’s important.

There as been talk before about reducing the number of national labs in this country. Los Alamos is a company town, and things like this will just make congress want to “make it go away”.

[Updated 07/26/04:] Check out this, “The owner of a Los Alamos business, where the FBI seized several items, says the items are an elaborate jest. The owner of the Black Hole Surplus Store and Museum, Ed Grothus, says the items included a small computer hard drive, a cassette tape and some tape labels. He says he had word ?secret? printed on the labels and he placed the labels on the cassette tape and the hard drive.” 

Rio Grande Dries Out

In case there was any doubt that we are still in a drought, “The Rio Grande River has dried out in a 23-mile stretch between Isleta Pueblo and Elephant Butte. Scientists are working on what’s become an annual event.” There is some good news as they are removing restrictions at the Santa Fe National Forest because of the rain and humidity we’ve had. Although the humidity has helped our swamp cooler function very well.  

A Little More…

Read more About This Site, if the page looks screwed up, I make heavy use of JavaScript and CSS and older versions of many web browsers (especially Internet Explorer on Windows) don’t render parts of this site well. Even newer version can choke on some of it (Complain to Microsoft about their substandard product). I would suggest a non Microsoft browser that will have less/no problems with this site: Mozilla.

On the other hand if you surf to a particular section and find it doesn’t work right then that could be my fault. Let me know if you get a problem and where it is so I can check it out.  

Site Updates

I’ve been hard at work at several changes around here. A lot of it under the hood.

Things were getting out of control with a miscellaneous folder I was throwing photos in. iBlog wasn’t able to control the placement of photos in the entries as it is now so to get around that I was using HTML code. I went through and removed the HTML and put the photos into the entries. A major pain to go through some 300 entries to check them all.

Next I changed the basic layout of the site. The Abstract now only shows on the main and category pages with the Body only showing on the main entry page. This allows me to make a quick intro to the entry, as I think it was intended. Again I had to through each entry and make sure it had the body set up correctly.

I went through and made some tweaks to the template. Check out the menu bar at the top and the “quick links” on a entry page. I think it works out pretty good.

I cleaned up the photo album entries. Your mother always told you that tables are for tabular data, not layouts. So i removed the table structure of the albums and made them pure CSS. The advantage of the CSS layout is that it will auto adjust the columns so they don’t overlap. Check out a album and resize the browser window to see what I mean.

And finally I added a whole bunch of stuff as blog entries (check out the photo section) that have been floating around my .mac account without a real way to get to them. I still got a few things to add but I think the majority of it’s there now. 

2002 Albuquerque International Balloon Fiesta

Photos taken from the 2002 Balloon Fiesta. I have to say that I’m pretty surprised at how many photos came out as well as they did, especially the night ones. The Photoshot S100 I used has almost no manual controls so It is very difficult to get good pictures at night. Not to say that I didn’t have plenty of blurry or underexposed photos.