KBD

Keith Devens .com

Saturday, March 20, 2010 Flag waving
whether or not it is clear to you, no doubt the universe is unfolding as it should.... – Max Ehrmann (Desiderata)

Archive: January 06, 2004

← January 05, 2004January 07, 2004 →

Daily link icon Tuesday, January 6, 2004

Arnold leads the way

"Never again will government be allowed to spend money it doesn't have." (I don't have a permanent link yet)

It'd be nice if all of government was like that. Way to go Arnold for showing the way. Now let's see if he actually does it.

And the Washington Post, biased as usual, has the headline: Schwarzenegger Seeks to Raise Debt.

And in other news, Dennis Kucinich, always good for a laugh, shows a pie chart on radio.

Sapience: Human Validation

Via muxway, Sapience is a web service you can use over XML-RPC to create those Turing-test images with text in them. Very neat.

Lightweight scripting/extension languages

Slashdot: Lightweight Scripting/Extension Languages. Great place to mine for languages you've never heard of before.

For instance, while I've heard of ICI, Lua, IO, etc., I'd never heard of Nasal, paxScript, Ch, or Cint before.

There was also a recent discussion on Advogato along the same lines.

Interviews with Matz and Ward

Bill Venners' Artima newsletter just got sent out today, and I just finished reading the three pieces of his interviews with Ward Cunningham and Yukihiro Matsumoto.

They're all well worth a read:

Read the Bible in a year

I had planned to try this last year, but it was a no go. I just noticed that Oliver linked to the Amazing Facts Bible Reading Plan (PDF), which is nice because it gives you checkboxes to check off what you've read, it comes in a nice, easily printable format, and it has you read from four different parts of the Bible every day, so you won't get bogged down in some of the slower parts. Smiley You get to read from the Gospels and the Psalms or Proverbs every day, and the rest brings you through the rest of the Old and New Testaments.

Regular expression tools

Regular Expressions tools:

(first three via Kayode, via Show Us Your <Regex>)

Update (Jan 14): Updated list can be found at http://keithdevens.com/wiki/Regular+expressions

Possible permalinks

I think weblog URLs should all have a date and a slug to identify their content. For instance, the URL for this post is http://keithdevens.com/weblog/archive/2004/Jan/06/permalinks

Now, weblog URLs should always have the date in the URL. But in the absence of a slug, what's are good ways to uniquely identify a post? Possibilities include:

  • A timestamp of the creation time, in hour/minute/second format
  • A timestamp of the creation time, in Unix timestamp format
  • An arbitrary unique ID for the post (usually just the primary key of whatever table stores your weblog entries)
  • A GUID (some news sites use this for article IDs)
  • A number indicating the order the post was posted in the day (first post is 1, etc.) I suppose you could do a textual representation of this as well ("one","two","forty-seven")
  • Some serialization of the title, if one exists
  • What else?

The Spirit parser framework

The Spirit Parser Framework:

Spirit is an object oriented recursive descent parser generator framework implemented using template meta-programming techniques. Expression templates allow us to approximate the syntax of Extended Backus Normal Form[1] (EBNF) completely in C++. Parser objects are composed through operator overloading and the result is a backtracking LL(inf) parser that is capable of parsing rather ambiguous grammars.

It's part of the Boost template library.

Also see: Backus Normal Form vs. Backus Naur Form

Note to web advertisers

If I see any bright flashing animated gifs telling me I'm a WINNER, or anything else annoying, I set my browser to block everything from your server. So don't do that.

Links

← January 05, 2004January 07, 2004 →
March 2010
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031 



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

Recent comments XML

I hate ASP.NET

I hate ASP... I was doing wonders​with PHP, then suddenly one of my​clients...

Johnies: Mar 17, 6:14am

Quantum physics and free will

I knew you were going to say that....

Tom Massey: Mar 15, 9:26pm

Generated in about 0.066s.

(Used 7 db queries)