CSS Naked Day

Why is this page so barren? I’ve disabled the stylesheet completely, for CSS Naked Day. All the content is still here, you just have to scroll up and down to see it. Let me know what you think.

via Sam Ruby

Update: For a list of participating sites, see here

Posted in meta, tech | Leave a comment

Linkto

In the sidebar here is linkto, a thing I wrote a while ago to clean up pasted links. I’ve written a new version that pops up in any page, puts the currently selected text (if any) into the input area, and you can then either see the link (for right-click save-as), go to the link, or cancel to remove the box from your page.

Drag this link to your bookmark bar to get started: linkto.

Posted in tech | Leave a comment

OpenBSD

OpenBSD and OpenSSH need your help. Please consider donating funds and/or buying CDs and T-shirts to keep the project that you depend on going.

Posted in tech | Leave a comment

C++ runtime class registration

C++ doesn’t have real pretty introspection capabilities yet, so sometimes you’re stuck rolling your own stuff that kinda sucks. For example, here’s the most convenient method I was able to find to do runtime iteration of all the classes that implement a particular API. As a bonus, you don’t need to add these classes to any header file to work, you just need to implement the class then add AUTO_REGISTER_BASE(classname) to the end of the implementation file.

Update: Here’s a typo-corrected version, along with a more interesting (template function) factory method.
Continue reading

Posted in tech | 3 Comments

Site design

I’m not really sure why I thought it was a good idea to start this, but I’m currently about 70% of the way through redesigning the site. I guess I just got tired of stock Kubrick.

If you’d like to check it out, click this link: test theme. Click here to reset to standard: default theme.

Update: new poll on the design…

Update 2: I see it looks like crap under IE… damnit.

Posted in meta, tech | Leave a comment

Devstudio Undo/Redo broken

Screen shot of undo/redo menu optionsNo idea what the heck happened to Visual Studio .NET 2003. Things were fine last week, now undo and redo are broken. They’re disabled on the menu and the hotkeys don’t have any effect. Happens on all projects.

Anybody have a suggestion?

Update: huh.  fixed itself, after three days of closing and restarting, rebooting, etc.  Weird.

Posted in tech | Leave a comment

Ah, the Winter Olympics

Here are the things i like about the Winter Olympics:

  • Hockey
  • Speed Skating
  • … uh….

For things I don’t like about the Winter Olympics, let’s start with: “Women are too fragile for ski jumping“, add a dash of “it’s just a bunch of boring Northern Europeans” (plus the damn Norwegians and Germans seem to win everything, while my Swedish pals go home nearly emptyhanded—though, kudos on the hockey upset…). Then add the fact too many of the events (including the signature figure skating and all the new “EXTREME” thingies) are judged events rather than real feats of competition. Give me wrestling, basketball, races. How many times can you watch someone do a 1080° jump in the half pipe and still be interested?

Posted in sports | Leave a comment

Running web.py behind SCGI

I’ve been doing some python webdev using this new web.py toolkit. It’s not bad, but I my host uses apache and apache + fastcgi (for now) means suck. So instead, we used SCGI:

  1. Install mod_scgi into apache
  2. Startup your web.py app with the command line arg ‘scgi’. If you want to run on a port other than 4000, or host other than localhost, add [host] port to the commandline. Samples: main.py scgi, main.py scgi 3999, main.py scgi 0.0.0.0 3999
  3. Add to your apache config for that vhost: SCGIMount / 127.0.0.1:4000
Posted in tech | 3 Comments

Microformats?

What’s a microformat? Jesus, good luck figuring out from microformats.org. That’s the most useless description of a technology I’ve ever seen.

What is a microformat really? It’s a way of embedding structural information in the id and class attributes of xhtml to map back to an arbitrary xml standard. For example, you can embed vcard in xhtml with hcard. The advantages are twofold. One, the material is then viewable with a stock browser (styleable with css). Second, it can be embedded in other standards like atom that have specific profiles for embedding xhtml.

Posted in tech | 1 Comment

Two hat chicks

I just finished helping my wife and sister set up their online catalog, www.twohatchicks.com. They’re making and selling handmade hats and other crocheted items. They’re taking paypal and will ship anywhere in the US, so if you’re interested go send ‘em an email!

(Any fustiness in the site design is 100% my fault. Suggestions? post ‘em here or send email.)

Posted in Uncategorized | 1 Comment