Saner VIM Python editing options

July 12th, 2009

Indenting Python with VIM is a nice read for those wanting to make their VIM options saner for Python editing. I followed it until the section Sexy edition and it worked nicely for Mandriva. I got a little stuck when I did it for Centos. Apparently, ftplugin is not activated and activating it in a running VIM session with

:filetype plugin indent on

doesn’t work. It must be enabled by editing ~/.vimrc and appending

filetype plugin indent on

to it. After which, the modifications worked as expected.

The APL General Cleaning Algorithm

June 28th, 2009

Our side of the lab, the (former) Advanced Physics Lab (APL), is infamous for having a large entropy value. To minimize the entropy, we resolved to clean APL even if some of us are, technically, not assigned to this sem’s first gen clean. But since we’re geeks, we don’t do gen cleans the way non-geeks do–we plan our strategy. And is there a better way to strategize than to write an algorithm. So, lo and behold, what you see below is the APL General Cleaning Algorithm. It’s not the best algorithm and there are already some revisions made but what the heck, our comrade Benj still thought of writing one. Now, that’s cool… geeky cool. [...]

Brilliant Atheist Bertrand Russell On Science And Religion « Gero’s Blog

June 13th, 2009

The following random post was linked in my WordPress Dashboard. For some reason, we are share the same thoughts. Perhaps I was indirectly influenced by him or I developed these thoughts independently. All I know is that nobody directly taught me these.

Brilliant Atheist Bertrand Russell On Science And Religion « Gero’s Blog

SpiderOak vs Jungle Disk price comparison

June 12th, 2009

SpiderOak and Jungle Disk are Internet backup services that provide inexpensive and convenient storage and backup software for multiple computers. In this post, I will be comparing the prices of SpiderOak and Jungle Disk under scenarios that are relevant to me. (Edited: June 13, 2009 12:01pm PHT)

Building webdav-enabled lighttpd for DNS-323

June 2nd, 2009

There is an ffp package for lighttpd but it was not compiled with webdav. The only way to add webdav support is to recompile lighttpd with --with-webdav-props and --with-webdav-locks as configure parameters.

The most natural way to look for information on how to do that is by following the crosscompiling article at DNS323Wiki. A more junior colleague followed that, making sure that dependencies are built for the NAS’ architecture, but for some reason, there is a runtime linking problem. In particular, the error is “undefined reference to '__deregister_frame_info'“.

I took a different approach by compiling from ffp sources. I used ffp 0.5 and used fonz’ post as a guide. This is what I did: [...]

Pios ex Machina

May 1st, 2009

Since Geocities will go bye-bye within the year, I have moved Pios ex Machina from it to my machine. The new address is pioneers.ianalis.is-a-geek.org. Note that the site was last updated April 15, 2001.

Named-based Virtual Hosts Up

May 1st, 2009

I have set up virtual hosts and they are now up. The setup is quite easy and one only needs to follow the examples. It is very important to note that the parameter of each <VirtualHost> must be the same as the parameter in NameVirtualHost as mentioned in the manual. I was stuck because of that small detail.

Outgoing mail now works

April 20th, 2009

I have successfully set up my PC to send outgoing mail. It’s quite easy really, in retrospect. The main purpose of the outgoing mail system is to send email notifications from this website. I first thought of using Gmail’s smtp service. I looked for a setting in WordPress that would allow me to change the smtp server that it uses but there was none. WordPress uses PHP’s mail capability and so I tried to modify php.ini. Unfortunately, the relevant section, mail function, is usable only for Win32. Only the sendmail_path key can be changed in Unix, which takes me to setting up Postfix. There’s a tutorial how to set up Gmail as relay server but, aside from being long, it probably won’t work for dynamic DNS. Based on a suggestion, I just used my ISP’s SMTP server as relay server. After some quick tweaking and testing, the relevant postfix main.cf settings are:

Site Resurrection Update

April 19th, 2009

Because of omniscient Atchong, I have recreated many posts and corrected a couple. The posts that I still need to recreate are those posted after December 19, 2007 and these include:

  • Pale Blue Dot
  • R.I.P., Doggie (haha)
  • One line calculator
  • The meaning of success by Ralph Waldo Emerson as adapted by Serway, the Physics book author (I’m not sure if I posted this before)

I also need to resurrect at least four comments (I don’t have the full texts of at least two) and update my About pages.

I would very much appreciate any help.

Downloadable Fonts, Nostalgia and Frustration

April 19th, 2009

I just saw this comment mentioning downloadable fonts in Slashdot. I did create a font and successfully made it a downloadable font when I was in third year high school. Heck, that’s almost a decade ago! I guess I’m getting old but those were some of my happy times. That’s when I spent the summer vacation learning web technologies like CSS, Javascript, Flash, etc. That’s when I have the time to learn any technology that teases my curiosity. I guess those times have indeed passed. I don’t even have time to appropriately maintain this website and that’s the frustrating part. I have a lot of ideas on how to improve and properly maintain this but I can’t implement them because of time constraints. Frustrating. Very frustrating.

P.S. This thread of comments from the same article is funny. Just follow the comments with karma of at least 4.