Thu, 17 Aug 2006

3:57 PM - DragonFly BSD

I have a new respect for their project.  I just tried 1.6 today.  Its not too bad.  The installer is a bit easier to use although there are less features. 

()

1:58 PM - Kewl anoncvs site

http://wiki.xensource.com/xenwiki/AnonCvsSshSetup

This explains how to setup an anon cvs server :)

The real insight here is that you make a lock group and change the history permissions. 

()

Tue, 15 Aug 2006

4:09 PM - MBSD hits

Since saturday:

Average: 2.46 P/V
Visits: 622
Pageviews: 1,531

94% new hits!

()

11:29 AM - MidnightBSD is popular today

I'm getting a lot of e-mails about MidnightBSD today.  I've spent most of the day replying to e-mail!  I've had an offer to use a second window manager called BitWM.   I'll research this.  I still think the etoile wm looks very promising.  I may end up having a poll on this lol.

(1 comment | )

10:16 AM - ROFL

Saw this on slashdot today...

The Ultimate Acronym is ACRONYM

Automatic
Computerized
Reorganization
Of
Names
Yielding
Meaninglessness

(yes i used ROFL on purpose)

()

Mon, 14 Aug 2006

8:47 AM - PHP Security

Here's an interesting post from slashdot outlining php security.

As short summary, what every (PHP) developer should do is:

    * limit the session to the IP-address of the visiting user.
    * use htmlentities() [php.net] on all outputted HTML
    * secure file uploads to avoid uploading PHP code

And most important (but not relevant for TFA):

    * use mysql_real_escape_string() [php.net] on all database input, or better: the variable binding feature of PEAR::DB
    * disable register_globals, use $_GET, $_POST and $_COOKIE instead.
    * Use preg_replace( '/[^a-zA-Z0-9-_]', '', $input ) on all input used in file names.
      Things like require_once("files/" + $input + ".html") actually read php files when it's called as ?input=file.php%00

()

Sun, 13 Aug 2006

7:50 PM - Jewel's mother has a blog

This was posted last month to one of the jewel mailing lists.

List Moderator Note: For those relatively new to Jewel-News and not that
familiar with her management team, the two people mentioned below are
Jewel's mother and former manager (Lenedra) and West Kennerly who has
been Jewel's official photographer for over a decade.
__________________________________________________________


Hi All,
For those of you curious about what Lenedra has been up to, she has
started a new blog at Yahoo 360 and you are welcome to check it out.
Here's the link: http://360.yahoo.com/lenedracarroll

West Kennerly and I also created simple pages there, although mine
has
no real content yet. However, you can see a vintage photo of me from
1974 (the year Jewel was born) that is the uncropped version of my
avatar at Jewel: Unedited. West's page has a recent photo of him and
Django, the celebrity beagle, who is alive and well, for those of you
who may have wondered whatever happened to him.

Have a look if you feel so inclined and leave us entertaining
messages, Otherwise, lets hope we all survive World War 3. Alan

NP: The summer 2001 footage of you guys baking in the heat outside
12th & Porter before the the EDA concert in Nashville, which I'm
finally getting around to logging five years later...

()

4:52 PM - Our little trip to flint

Yesterday, Caryn and I went to Flint.  She had to close a bank account with her mom.  We spent about 5 hours with her mom and then visited my mom for awhile.  It was rather nice to leave the apartment.

During our travels, we noticed my old boss started a computer store.  We decided to stop by.  Fred and Ryan were out since it was saturday.  We did get a good deal on a gigabit network card though.  $15 for a via chipset based card.  Its got windows, linux, freebsd and solaris drivers!  It also supports 802.11p/q (tagging and priority queues) .  I dropped it in the windows server here.  Its working very well after I flashed the system bios.  The only remaining non-gigabit devices on the network are our airport express, iBooks,  NeXTstation, and the two sun machines.

()

Fri, 11 Aug 2006

Thu, 10 Aug 2006

8:21 PM - (no subject)

I just had dinner about 45 minutes ago. Caryn's playing WoW as usual. I spent most of the day working on Pytox's site. http://gangs4life.foolishgames.net/

()

2:50 PM - Javamail api source

I've had a hell of a time getting just journal to authenticate against the mail server.  This code helped me:
http://fisheye5.cenqua.com/browse/glassfish/mail/src/java/javax/mail/Session.java?r=1.6

Its the actual implementation code for the Session. 

For those out there who want to know how to do this, here's a brief rundown. 

  1. Create a properties object. 
  2. add mail.smtp.host, mail.smtp,user, mail.smtp.auth "true", mail.smtp.port properties with the values you need. 
  3. Create a Session using Session.getInstance( your properties class, a class instance called ForcedAuthenticator())
  4. Create a message as normal.  I called saveChanges() although that should be automatic. 
  5. Make an address array with your to internetaddress in it
  6. Create a transport instance using session.getTransport("smtp")  where session is your session variable.
  7. i called transport t..    t.connect(); t.sendMessage(message,a); t.close();    // a is the to address
  8. catch your exceptions
  9. ForcedAuthenticator extends Authenticator and you need a method called getPasswordAuthentication()  which returns a new object using the username/password.
I will put this in cvs too.  I read something about managing the sessions if you don't use getDefaulInstance() but i can't find an example.

()

Wed, 9 Aug 2006