KBD

Keith Devens .com

Sunday, October 12, 2008 Flag waving
REMEMBERS- HEEL BARES DURID! BARE DURIDS IS STORNG FREND! – Alamo

Archive: January 01, 2003

← December 31, 2002January 03, 2003 →

Daily link icon Wednesday, January 1, 2003

First alpha of Python 2.3

Python 2.3a1 has been released:

What's new? The language isn't changing much this time. Instead, we
have lots of new or improved standard library modules: bsddb, bz2,
datetime, heapq, logging, optparse, ossaudiodev, random (Mersenne
Twister algorithm), sets, socket (added timeouts), textwrap, and
zipimport. That's right, you can now import modules from zip files.
More elaborate news is on the website:

http://www.python.org/2.3/highlights.html (brief)
http://www.python.org/doc/2.3a1/whatsnew/ (extensive)
http://www.python.org/2.3/NEWS.html (exhausting)

Ha, instead of exhaustive Smiley I wish I had the opportunity to use Python on a more regular basis -- it's a good language.

Do you believe people are basically good?

Excellent article at WorldNetDaily by Dennis Prager: If you believe that people are basically good...

No issue has a greater influence on determining your social and political views than whether you view human nature as basically good or not.

In 20 years as a radio talk-show host, I have dialogued with thousands of people, of both sexes and from virtually every religious, ethnic and national background. Very early on, I realized that perhaps the major reason for political and other disagreements I had with callers was that they believed people are basically good, and I did not.

Fascinating. I never quite thought about it in those terms before.

No great body of wisdom, East or West, ever posited that people were basically good. This naive and dangerous notion originated in modern secular Western thought, probably with Jean Jacques Rousseau, the Frenchman who gave us the notion of pre-modern man as a noble savage.

He was half right. Savage, yes, noble, no.

Wow. Kick ass. Read the whole article... it's short and sweet.

Java tutorials (Fine Tuning Abstraction)

Via Erik, check out Fine Tuning Abstraction. Turns out there are a lot of good tutorials at The Java Boutique.

Triumph the Insult Comic Dog rules

Via Right Wing News, a video of Triumph the Insult Comic Dog at a Star Wars convention. I've seen bits of this on Conan before, but there are some parts in this video I haven't seen before. SO funny.

Scary

http://littlegreenfootballs.com/weblog/?entry=5154

User agents

Funny bits on user agents from Scott. My aggregator is one of those 5,371 user agents Smiley winking

Internet Alchemy

Bill Humphries reminds us that Internet Alchemy is back. I used to read that site back in the day. I wonder how long it's been back for, when it went away, why I stopped reading it, etc.

Anyway, it's been added to my RSS aggregator, which now has far too many sites in it for me to go through in a reasonable amount of time every day.

Things I gotta do before school starts

  • Start flossing again and set a dentist appt
  • Get new glasses
  • Get a haircut
  • I have two computer appts, one on Thursday and one on Saturday
  • Clean my freaking room
  • Figure out what I'm doing with Visual Studio .NET and Windows XP...
  • Open and install the calculus program I got so I can brush up before I have to take calculus II this semester
  • Buy as many school books as I can ahead of time
  • Get school supplies... new binder, folders

Hmm... what else what else...

New Dumbledore, redux

Correction, the new Dumbledore will be played by Michael Gambon.

Medieval Jewish Commentators

Awesome post about the Medieval Jewish commentators at the Living Torah Journal.

Pizza for dinner

Ha, I had pizza on new year's eve.

Looking for a job

Good advice on looking for a job from John.

Also, via Erik, Computerworld: How to Get Employers To Read Your Resume.

Update.

MVC architecture for web applications

I'm now at the point where my CMS is almost done and usable on my site. I've created a system that mostly encourages/enforces MVC. However, there are a few places that aren't quite as flexible as I'd like. I'm using my weblog system, of course, as a testbed application. If my CMS can't do my weblog system easily and make it better in the process, then it's a failure.

However, some things seem to be easier when you do everything ad hoc. Consider my main weblog page, my archive page, and my yearly summary page (hey look at that, I now have an archive for 2003... happy new year!). They all come from the same script, and it's done without much structure (logic, presentation, etc. are mixed). When you try to impose structure on it, it's not as easy. What exactly constitutes the template part of it, what logic is there, and how does that get put together and served from the same URL in my new system?

So, at this point, now that I've done my own MVC system, but I still have a few conceptual problems to work out, I'm really interested to see what other people have done. On Slashdot there's a review of Struts Kick Start, so I'm poring over some links from that. Phrame, which I looked at a while ago, is a port of Struts to PHP, and I'm going to look at that again. I'm about to print out this article from IBM developerWorks on using Tea (a Java-based templating language) as the "view" end of an MVC architecture.

What else? I guess that's it for now. I'm going to have to start looking at how other CMSs handle these things. I'll probably look at Zope a bit (which incidentally just released an early alpha of Zope3). If anyone has any pointers to share I'd be grateful.

I'm also reading Sun's Web-Tier Application Framework Design from Sun. It doesn't seem to be the model or the controller end that I'm having trouble with... those I seem to have done pretty well. It's mostly the "view" end that I have questions about.

Will Filters Kill Spam?

Yes please? Smiley Via Adam, Paul Graham has a new article on spam out: Will Filters Kill Spam?.

We already see plenty of evidence of spammers tweaking their messages to get past simple-minded spam filters based on specific words or patterns. What could they do to get past statistical filters, and will it work?

I've seen things like "R_ates" instead of Rates, "Humans copulating with stallions" rather than women having sex with horses, and a few other ones I can't remember. It's funny, and it seems to indicate that filters are starting to work.

People sometimes ask, what if spammers sent the mail as an image?

I've seen a lot of spammers just encoding the entire message as base64. Graham didn't address this in his article.

Turns out SpamAssassin handles base64 encoded e-mails just fine. I never considered that a filter would unencode a message before, so with a little bit of extra logic, the types of filters Graham talks about can do the same.

← December 31, 2002January 03, 2003 →
October 2008
SunMonTueWedThuFriSat
 1234
567891011
12131415161718
19202122232425
262728293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 8 posts

Recent comments XML

new⇒URL design

http://groups.google.com/group/cool​ndex/web/asian-girl-sucking-to-blac​k-man...

derek: Oct 12, 12:13pm

I hate PHP

Elliot Anderson,

Dude!! You the​man! The reverse replacement for​array_u...

Alex Ndungu: Oct 11, 1:35am

Call a function from a string in Python

?!code:
some_object.__getattribute​__('method_name')()
?!/code

is​the s...

Patrick Corcoran: Oct 8, 3:53pm

Spider solitaire

I have won 185 games of Spider​Solitaire at the "Difficult" level.​ What is...

75.179.28.113: Oct 8, 12:42pm

Sed one-liners

Hi.

I wanted to let you know​that I wrote an article "Famous Sed​One-Lin...

Peteris Krumins: Oct 8, 3:05am

Timesheet Calculator

Hadn't seen it before now, but my​company already uses a time​tracking prog...

Keith: Oct 7, 10:44am

Girls, please don't get breast implants

Hey everyone, 

I am new to this​blog and I have enjoyed reading all​your...

Sarah.M.: Oct 6, 9:45am

Generated in about 0.094s.

(Used 7 db queries)

mobile phone