« February 2005 | Main | April 2005 »

March 08, 2005

It depends

When writing Perl, should you use this:

  if (!unlink($file)) {
   $log_main->warn("Could not delete temp file '$file'");
 }

or this?

$log_main->warn("Could not delete temp file '$file'") unless unlink($file);

The second one is shorter, and has extra-geek-points, but I say that "it depends".

In this case I settled on the first form because the important part, the important action, is the unlink() call. You should always put the important action first.

March 05, 2005

Apache 2.1

I just noticed that Apache 2.1 documentation is available in the usual place.

Some new features, the most interesting being mod_proxy_balance.

I'm still biased to Perlbal because of the internal redirection to a local file feature.

Moving day

Today is my last day at the office. I'm moving to a new place, starting April 1st.

I'll be sort of on vacation for the next 3 weeks. The next week will still be documenting stuff (Kiwi has been really helpful, I must clean it up.) in text and audio (very useful).

I've been working here since March 97, 8 years ago, and after 10 years doing ISP stuff (real-time provisioning systems, offer management, and middle-ware stuff), I need a break.

At my new job, I'll be focusing in XMPP, server-side mostly. I'll also have a little bit of Identity stuff, and single sign-on.

More about this later, right now, clean up time.


Gloria from the album "Under a Blood Red Sky" by U2
Visite Du Vigile from the album "Ascenseur Pour L'échafaud" by Miles Davis

Dyslexia

You want to write bugfix and you write bigfox.

Contacts

melo@simplicidade.org (XMPP/email)
+351 302 029 050 (voice)
melopt (Skype)

IronMan challenge

Iron Man badge Are you ready to be an Iron Man? Join the challenge and find out! (what is the meaning of this little man?)

Moosaico

Junta-te!

Recent Comments

Powered by Disqus
Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.2