Displaying posts published in

July 2004

Lindows changes name, amuses with parody

0So Lindows is now Linspire, and if you think you’ll have trouble remember the name, check out Come on baby, run Linspire. Hehehe. Love the faces.

Elsewhere in my weblog world

0I’ve been trying to catch up on my InformIT blog, and consequently have also been catching up on The Vanguard Science Fiction Report. Here are some things I’ve been talking about: InformIT: Mosh Ado About Nothing A library of regular expressions The Enterprise Service Bus Feed of the week: The Open Source Vulnerability Database The [...]

Squashing Link Spammers in Movable Type

0Rogers Cadenhead has posted a nice little plug-in script for Moveable Type that will remove excessive links in comments. For example, you can specify that if there are more than 5 links in the comment, all of them get stripped out. I don’t get a lot of comments here, and when I do, they generally [...]

Sending and receiving JavaMail

0Need to send or recieve email using Java? Try this out, using the JavaMail API, available at http://java.sun.com/products/javamail: import java.util.*; import javax.mail.*; import javax.mail.internet.*;   public class MailDemo {   public static void main (String[] args){ getMessages(); }   public static void getMessages(){   Properties props = System.getProperties(); Session session = Session.getDefaultInstance( props ); try [...]

Add Flash to an HTML page

0Tearing your hair out trying to add Flash to a web page and make it work in different browsers? Apparently you need to use both OBJECT and EMBED tag syntax. Why? Because IE uses the object tag and Netscape uses Embed. For example: <OBJECT classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase= “http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0″ WIDTH=”550″ HEIGHT=”400″ id=”myMovieName”> <PARAM NAME=”movie” VALUE=”myFlashMovie.swf”> <PARAM NAME=”quality” [...]

Filling the browser window

0Running into problems filling your browser window? Apparently just setting the width and height to 100% doesn’t always work, particularly in Mozilla derivative Firefox. Keith Peters explains over at BIT-101 that it’s because of how the browser answers the question: “100% of what?” The swf is in the body tag. The body tag is in [...]