Monthly Archive for December, 2007

Happy 2008!

Going offline (in various senses) until 2008.

This blog has been kind of slow since its recent begin, but I hope to change that a bit in the next year.

Happy new year!

smux.net

Today I renewed, once again, my smux.net domain.

I registered it in December 27th, 2000. Seven years. That’s a long time in Internet years.

Launchy 2.0

Launchy is one of the first programs I install on a fresh Windows system.

Google Desktop is nice, but for program launching I really think Launchy is more usable and fast.

So, that being said, Lauchy 2.0 was just released. It looks prettier, more polished and more easily configurable.

The only problem I detected so far was that, after a while, it ends up eating lot of memory (130 MB right now, on my laptop). It’s not really a problem for me, since I have 2 GB of RAM and I avoid bloatware, but it’s not normal for a small program like Launchy.

But hey, it’s a point zero release.

Rage Against The Machine in Portugal in 2008

July 10th, 2008.

Google Chart API and Pycha

Since Google released its Google Chart API, everybody’s  been charting like mad carrots.

Well, there’s a nice Python package for building charts available, which is pretty lightweight, simple to use and nice looking.

It’s name came out a little unfortunate, though… It’s called PyCha.

In Portuguese, it sounds a little strange.

Manager:  So, are we going to use Google’s API for charts?
Programmer:
No, we’re using the PyCha…

Update: I came across pygooglechart, a Python wrapper for the Google Chart API.

Tomcat access logs

First of all, why does Tomcat take so long to shut down? It took almost three minutes just now… Funnily, it takes two and a half seconds to start up.

Anyway, I’ve finally found out how to  enable access logs on Tomcat, thanks to this page. Just add the following snippet in the correct section of the $TOMCAT_HOME/conf/server.xml file:

<Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs"  prefix="access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>

Restart Tomcat. It’s working.

First post and LighTTPd

This is my first post on this blog. Let’s see how this goes.

Found lots of stuff on the web about getting Pretty Permalinks working  with WordPress and LighTTPd, but they were all very complicated…

So I just wrote my own configuration:

$HTTP["host"] =~ "^smux\.net$" {
  url.rewrite-once = (
    "^/blog/(wp-.*)$" => "/blog/$1",
    "^/blog/(.*)$" => "/blog/index.php?$1"
  )
}

Then, select “/%year%/%monthnum%/%day%/%postname%/” as the Permalink custom structure, and you’re done… Simple.