Wednesday, December 26, 2007
Tuesday, December 18, 2007
Exchange gift
Christmas Party 1999:
Minimum of 100 Pesos
X-Mas Party 2007:
Minimum of 100MB ... Maximum of 10GB
Posted by
Thanatos
at
8:55 AM
0
comments
Saturday, December 15, 2007
will kill me
This morning, I thought I had already woken up. I see the room around me, my blue blanket, the bed underneath me, the railing at the side, and someone else is pulling my blanket, preventing me from getting up. I felt his hands behind me and wrestled with them, with the little movement that my own hands can do. I couldn't turn my head to look at him. My eyes tried to look towards the railing to get a blurred view of one of his hand. Eventually, I felt blood rush from my spine. Cold blood, somehow. I tried to turn my body so that I would fall down to the floor. But he was holding me down with the blanket, as if it were a net. So what was left to do is to shout, call for attention. I already knew it was not real by that time. I just hope that if I'm shouting in a dream, is that I'm also shouting in the real world. I kept shouting, hardly forming any words, hoping that someone would hear. The door knob of my room started moving. I wonder if they have the keys. It is not very likely. Still shouting... and just snapped out of it.
No one seems to be at the door. With the voice of my shout still fresh in my mind, I tried to recreate it with a real world shout. For comparison. The voice is different. It might had just been all in my mind. No one may actually know that I'm having trouble breathing. That those struggles may be my last.
Someday, if I get old, I may not be strong enough to snap out of it. To escape from the terrors created by my mind.
"Your greatest enemy is yourself."
--Great quoter
Posted by
Thanatos
at
6:08 PM
0
comments
Wednesday, December 12, 2007
Tuesday, December 11, 2007
Sunday, December 02, 2007
Saturday, December 01, 2007
system(argv[0]);
#include <stdlib.h>
int main(int argc, char **argv){
system(argv[0]);
return 0;
}
/*
It was something like this that made my laptop hang. (The additional code were supposed to print something, but curiously didn't work.) I just wanted to see what would happen. The source file was named loop.c, by the way.
*/
Posted by
Thanatos
at
9:08 PM
0
comments
Labels: software
Monday, October 15, 2007
The flash drive that survived the washing machine
After several days of wondering where I lost my flash drive, it was finally seen floating in the washing machine. Fortunately my pqi i221 is still working (after being dried of course). The files are still intact. Unlike many flash drives, this one is quite sealed, thus eventually floating... or maybe there was not enough detergent used in the washing machine. I bought mine from cd-r king, by the way (the 1GB model costs 600Php).
Posted by
Thanatos
at
1:56 AM
0
comments
Labels: hardware
Thursday, August 30, 2007
Three months of hell
- Teach
- Study
- Research
Choose 2 (at a time)
As far as I am concerned I am not being payed for teaching. Not yet. So, it is but human to choose the other two. Well, it can't be helped. That's how government employment works. You get hungry for the first three months. Reminds me of DOST scholarship. The difference is, I am now teaching. I am not just responsible for my self, but also for my students. I had expected these three months of hell from the start. What I hate about it, are the demons. Well payed colleagues who demand that you work as hard as them. Those who pile more papers to check at your desk as compared to others. Those who give you the teaching materials less than an hour before you deliver them to class. Those who use the computers at the faculty room for research purposes. Those who indifferently use your office materials, pretending it's free. Those who assume you have the book that contains the non intuitive numbers they refer to. Those who assume you could spend as much as they do. Those who hag the faculty room computer like no one else will use it. Those who expect to be treated when you get your first salary as if you were treated by them when it was their time.
I shall remember your indifferent deeds. I will not do them to the next generation.
Posted by
Thanatos
at
10:15 AM
0
comments
Friday, July 27, 2007
Yet another stupid move
Under Republic Act 9492, most holidays would be moved to Monday. Of course the rationale, as usual, is to prolong weekends in favor of non productivity. Aside from deemphasizing the spirit of some holidays, this act also shows the Philippine government's lack of priority to the educational sector. In the University of the Philippines, and many other universities as well, for example, some classes are scheduled on Mondays. Some Monday classes are even scheduled once a week. What this act means is that Monday classes will definitely lag behind by an amount roughly equivalent to the number of declared non-working holidays. This is far more worse than the fairly distributed suspension of classes into different days of the week. At least with the past scheme, different classes will be delayed by a more or less equal amount. As if delays are not bad enough already.
Further reading...
Posted by
Thanatos
at
10:27 AM
0
comments
Labels: annoyances
Tuesday, July 17, 2007
KDE_Glass_Break.ogg
I was finally annoyed enough to figure out which file was causing that annoying sound on errors on KDE. On Mandriva 2007, the file is located on:
/usr/share/sounds/KDE_Glass_Break.ogg
I renamed it.
I really did not like that noise. Especially when I am wearing a head set, the broken glass effect is just too sudden (very high rate of change derivative). It sorts of hurts my ears.
To add to that, customizing sound schemes does not look simple (if not possible). So I was forced to rename the file to hide it from the system.
Posted by
Thanatos
at
6:48 PM
0
comments
Labels: annoyances, software
Monday, June 11, 2007
On extended weekends
I remember a strip in MAD comics saying that Japanese students are ahead of American students because they don't have to spend extra time for praying in class. (btw, I think routine prayers are hypocrisy, and are nothing more than memory exercises). The bottom line is, time spent on study or work contributes to progress. And here I am, in a country whose government extends weekends when there (is a) are holiday(s) for the week. As if the 2 day weekend had not been enough rest and boredom. So you'll have to wait till Tuesday to continue a project or till Monday to continue Thursday's unfinished tasks. Moving holidays also imply that the exact day of the event is no longer important, making them easier to forget. Sometimes, even not so popular annual events are suddenly promoted to non working holidays, making you wonder why the library is suddenly closed.
American students may be loosing minutes. Filipinos waste days.
Posted by
Thanatos
at
11:08 AM
0
comments
Friday, May 25, 2007
Can't believe it
It's either I'm lying to the quiz, or I guess good on multiple choice, or I rank as high ianalis.
New Energy on Research and Development --MFudolig
Posted by
Thanatos
at
5:24 PM
0
comments
Tuesday, May 22, 2007
Gnuplotting

Figure 1. FDTD data plotted with Gnuplot
I realized how nice my data can look with Gnuplot (even when it's wrong). For instructions on how to visualize programming data using gnuplot, this article might be of help.
Pathetic recreations
After trying out all the keyboard letters (lower case only), I eventually verified (on my Linux "work" station) that the letter q has the least number of linux recognized commands that start with (loose sentence structure). I scanned a QWERTY keyboard, pressing "Tab" after each letter, and looked at the suggested commands starting with that letter.
[pathetic_user@work_station]$ q
qb-help qm2ts qrttoppm qtcups
qiv qmake qtconfig quanta
[pathetic_user@work_station]$ q
As it can be seen, there are only 8 commands starting with q. Some of them (if not all), like quanta, the html editor, are not even basic commands. Some of them are commands I never knew exist. There might be more if I used the root account.
Posted by
Thanatos
at
6:14 PM
0
comments
Labels: software
Tuesday, May 15, 2007
3 years of digital graphics (at least)
This is the comic strip I created around 3 years ago (2004) when I was still the graphics editor of Scientia. Back then I was just experimenting with Photoshop (although I was ahead enough to volunteer for graphics editor). I started with version 6. I still remember when I was frustrated with layers. I eventually appreciated layers when I enjoyed altering photographs, putting people in places, faces in clouds, creating ghosts etc... And then came GIMP. It lacks some features of photoshop such as layer blending options, but it had filters that allowed me to do more things. For a time I tried 3d graphics with POVRay, but I immediately lost interest. And now, the latest addition to my list is vector graphics. I started out with Corel Draw (version 9), when Sr VRD had a copy of it installed on my work station to assist on making my SPP 2006 papers and posters. What I like about vector graphics, is the option to save images with embedded text (such as wmf format). This makes the text 'readable' (in a software sense) when the images are inserted to documents which eventually are converted to pdf format. It is also much easier to use when the images are not photo-realistic in nature; examples include: diagrams, experimental setups, flow charts ... figures that usually appear in geek texts.
...
Ok. Enough mental wandering.
Posted by
Thanatos
at
1:17 PM
0
comments
Labels: comics
Thursday, April 26, 2007
Adios, soltero en ciencia

Five long BS* years
95 thesis pages
1,351,965 bytes of source code
60++ GB of data
32 computing nodes
16 former computing nodes
633 nanometers of wavelength
3 years in the lab
3 SPP publications
3 mugs at the kitchen
3 class card markings
3 tubes of Alaxan gel to replace dozens of missed breakfasts
Countless sachets of instant coffee
Countless overnights
Countless sleepless overnights
Liters of sweat and blood
Several dozens of black shirts
Thousands of friends
Millions of enemies
One glorified Sunday
*The acronym BS may stand for other more appropriate words I'd rather not spell out.
Posted by
Thanatos
at
3:08 AM
2
comments
Tuesday, April 17, 2007
Thoughts in djvu format
As a reader of djvu ebooks, I got curious how I could make my own djvu documents. Making pdfs is quite trivial nowadays with many free pdf printers (PDFCreator, PrimoPDF, CutePDF). Using a printable document (created with Open Office or M$ Office), here's how I converted my .odt's to .djvu's with readable/searchable text (text not treated as graphics).
Materials & Equipment
- djvudigital that comes with the djvulibre package. It converts pdf/ps to djvu.
- Ghostscipt (Usually comes with Linux)
- Linux: it is easier to compile/install djvulibre in here, Cygwin might also work (A real Linux is usually better)
- A pdf printer that uses GNU Ghostscript such as CutePDF
If printing in Windows,
Methodology
- Convert the document to PDF.
Unfortunately direct pdf export from Open Office may not work optimally, because it encodes PDF's differently. This may result in text being treated as graphics in the resulting djvu. Since djvudigital uses Ghostscript, it is better to "print to pdf" using the system's printer devices.. When exporting from OpenOffice, check the "Tagged PDF" option that would be seen by clicking the "Export..." button. This option makes the PDF file more readable to djvudigital. In Windows, I also use CutePDF since it uses GNU Ghostscript converter. - In the bash prompt type:
djvudigital --exact-color --words --lines -v input.pdf output.djvu
Here it is assumed that input.pdf will be converted to output.djvu. The option --words ensures the text in the pdf remains text in the djvu. The explanation of the other options can be displayed by typing:
djvudigital --help
I already had a djvu version of my undergraduate thesis (which is not supposed to be online yet). Here is my Lumban embroidery paper in djvu format.
Posted by
Thanatos
at
2:36 PM
0
comments
Labels: software
Sunday, April 15, 2007
Drive Rescue to the rescue
Just when I thought my crammed fine arts paper is almost done, I suddenly realized that the SD Card's folder containing the photos (/DCIM/100CAMEA) is inaccesible to Windows and unseen to Linux. However, the photos are still browable through the camera's display. I tried both plugging the camera's interface cable and a third party card reader (by CD-R King) only to get the same ubfavorable results. I suspect this was due to recent proliferation of viruses targetting removable media (those that exploit autorun.inf) (I should had been more selfish!).
After failing to read the JPEG files from my SD card, I eventually remembered the night when Vera asked me for help on her unreadable USB flash drive. I used Drive Rescue to recover her files (downloadable here).

Figure 1. Jpg image files inaccessible to Window$ explorer but seen by Drive Rescue
I first encountered Drive Rescue at the free to use workstations at CSRC wayback 1st year college (VRD was not yet its coordinator). At that time (2002-03), floppies were still widely used and USB media doen't seem to exist yet. I saw it while browsing at the software on the start menu and copied it, thinking it would be useful at home where we had old hard drives (Seagate 120mb types (ST3144)) and lots of floppies (e.g., 22 floppy Win95, etc...). Despite being relatively old (2002), it works good for newer gadgets such as USB drives and SD cards.
Friday, March 30, 2007
ExplorerXP: Tabbed file browsing
There must be a Windows counterpart for Konqueror. In addition to its web browser, what I like about Konqueror is its tabbed file browser. Unlike with Window$ explorer where you have to open many explorer windows when working with different directories. It's a mess.
ExplorerXP is a nice Windowze software that can do that. (Just leave the tabbed web browsing to Firefox)

Figure 1. Unfinished thesis manuscript files in different directories accessible via tabbed browsing
...Back to thesis writing...
Posted by
Thanatos
at
11:35 AM
0
comments
Labels: software




