May 19

Looney song

[Update Dec 2019 : replaced the dead links with a youtube counterpart]

I just popped into the Mandriva Users board and flashed through my thousand new posts and saw this link:

http://dojo.fi/~rancid/loituma__.swf [dead link]

https://www.youtube.com/watch?v=faQSs6UBDok

It’s supposed to be a Finnish folk song that is looped with Japanese Manga animation . It is supposed to either cheer you up, or make you gnash your teeth. I am ranking it next to the badger song. 😀

ciao!

Category: Humor | LEAVE A COMMENT
May 12

LLTHW: Importing Eclipse projects

I thought I was starting a new acronym but it seems NetHack has already first dibs on Lessons Learned The Hard Way. 😀 Anyway, any posts that I tag with this acronym should be self-explanatory. 😀

One of the training machines we are using is encountering a weird error because the user could not launch the plugin project for debugging. To make the matters worse, the error message just contains an empty string. The other machines does not seem to exhibit the problem.

After an hour of trial and error, we finally figured out the problem. Eclipse does not like importing projects that are placed in the C:\ (or root drive). The solution was to place the project code base in a intermediary directory (C:\Something) and then proceed with importing it in the workspace.

I do not know the rational explanation for this one and my initial google searches does not reveal anything that is remotely related. I will just chalk this one as a lesson learned the hard way.

ciao!

March 16

WordPress write functions resulting to a 404 (page not found) error

This week I encountered an error when writing the wget post since saving or publishing it causes a page not found (or 404 in techie parlance) error. I found this thread in the wordpress support forum and tested the “limit” scenarios which did not fully apply in my case. Posting a short test message works but somehow even one paragraph from my wget post causes the 404 message.

Later on the support thread I read a mod_security issue that causes in the post with the word curl in the post. That hit me, curl is a download utility similar to wget!!! Just like in the post, I just enclosed wget in span element and voila, problem solved!

+1 karma for internet support groups!

March 13

Using wget

I use wget from time to time (via cygwin when I am in the office) but the most I have used on its parameter is the -c option. This post is a reminder of the options and tips that I could use and have used for the wget utility. Why not just consult the manpage? It is because it is easier to put it here for further reference. There are a thousand wget tutorial sites out there, so why waste space here? The answer to that is because I can. 😛

Usage: wget [options] URL

  • Instead of specifying the proxy using the environment variable http_proxy, consider putting it in /etc/wgetrc instead. Not advisable if you dont have a consistent single source of connection (e.g. prepaid cards,etc)
  • -c – continue the file being downloaded. nifty if you are downloading a big file although it requires the download site to support resuming.
  • –user-agent=”UA_STRING” – based on a tip from the PLUG list. Spoofs the user agent to look like the download request is from a browser. This is good for sites that disallow dowloads from download managers. Example would be -user-agent="Mozilla/4.0 (compatible; MSIE 5.0b1; Windows NT 5.1*) "
  • –limit-rate=[number] – limits the download rate so wget does not hog all the bandwidth. Appending a k at the end of the number signifies kilobytes per second.

More updates as I use more options. 🙂

March 9

Commuting peeves

Just listing down my pet peeves when it comes to public commuting in the Philippines:

  • Jeepney amputees – people who for the life of me cannot extend their help in getting the fares to reach the driver. Can’t they see that the people who are handing the fares are already reaching out beyond the normal physical limitations of their limbs? Are these people scared of the germs that are going to be transferred via the paper notes and coins? These people should not be riding the jeepneys, they should be taking taxicabs.
  • “Healthy people” – I am not against people with a “healthy” body since I am almost past the medium built. However I am against “healthy” people that do not accept the fact that they have body builds that are enough for two persons. It really gets on my nerves when they try to squeeze to the space for a single person and fail miserably. I know the commuter fares today are very expensive but lets get a hold on reality, shall we? Occupying spaces good for one and a half people still counts for you paying the fare for two people. The fare is not for each head but for the space that is occupied by your ass.
  • Mucus marauders – these are the people who find it very entertaining to spray their colognes/perfumes inside contained spaces (e.g. confines of FX or van,etc.). Why cant they apply these strong smelling concoctions when they have alighted the vehicle is beyond me. Strong smells elicit a strong reaction to my body, my mucus membranes shift to overdrive which leaves me gasping for breath.
  • Mobile boomboxes – or vehicles that have sound systems that compete with jet engines when it comes to a decibel pissing match. Most of these vehicles are open but even then I can feel the bass make my heart vibrate like it is suffering from an epileptic seizure or something. Usually the bass settings are so loud that I can’t even understand what kind of music being played. And please, trim down on the mixes. Adding bass and drum rolls to any music does not make it sound cool.
  • Sardines conductor – these are the bus conductors that will put the sardine factories to shame. They keep on piling the people up the buses even if the people are standing up. More passengers means more income for them but please we are also paying the same amount as the one who got lucky with a seat. Dont treat passengers like sardines because we appreciate some degree of personal space even when using public transportation.
  • Sidewalk moppers – bus drivers who developed an affinity for the sidewalk. It seems to me that they could not drive unless the side of their bus is no more than two feet away from the sidewalk. They even engage in a long mooching match with certain sidewalks that they ignore the honking of the vehicles behind them.

I know there are more but I need to get back to work… 🙂

ciao!

Category: Garbage | LEAVE A COMMENT
February 1

Two words: job security

Feeling lazy at work, I blitzed some blogs and happen on this post by Dido regarding his reasons of staying here in the Philippines given the worsening economy and living conditions (attributed to very opinionated political, religious, and ksp groups).

Being asked the same question at least once a week (but not necessarily as talented as Dido), the answers given were very much the same stuff that I give to my well-meaning friends and family. For me it all boils down to one thing: job security.

Since the internet bubble burst, the tech industry has not yet been able to get a glimpse of its former glory. If then the jobs were literally draining the IT resources of the Philippines, a reversal is happening; jobs are being outsourced to locations where labor is cheap and the developers are as good as what they can get on their own country.

I still have plans of working abroad but my current job allows me to be assigned onshore for a short durations at a time. Given that my position is given less opportunities to work on a foreign assignment I am not totally out of it which is a good thing for me. Even if India is proving to be a tough competitor in the outsourcing business (they pay less and their education system is churning out IT masteral graduates much as the same way ours is churning out nurses and caregivers), I am still optimistic that I will still be competitively employed for the next 5 years. Within that time I hope I am already able to pay for my housing loan. 😀

Instead of spouting a spiel about nationalistic and patriotic duties I would paraphrase what my father told me when I kidded him about migrating to Australia (or was it New Zealand?) and petitioning him and my mother. My father said “migrate if you want but leave me here. In there I am going to be the outsider, the one being discriminated. Here in our province I belong and occasionally feel like a king.”

Wise words.

ciao!

Category: Rubbish | LEAVE A COMMENT
January 30

I had a dream

I had a dream and it was special.

It was about killing snakes in the bedroom/storeroom in our house in the province…
It was about a large snake that transformed into a human being when I killed it…
It was about me putting the snakes in a bag and taking them to school…
It was about me missing a major exam that I am not aware of, in college, and administered by my high school language teacher…
It was about me failing to answer anything since they were taking off the questions written in sheets of Manila paper as I am about to answer them…
It was about snakes that I assumed to be dead but are miraculously alive…
It was about finding out that even if snakes are dead, they have tiny eggs in them that succeeds in producing new snakes that takes an unbelievable short time to hatch and mature…
It was about killing these new snakes and trying to flush them down the 3rd floor men’s bathroom in the UST College of Science building…
It was about snakes that were maturing to constrictor-size beasts while I was trying to flush down small snakes on the toilet…
It was about me having enough and realizing it was a dream and woke myself up.

Now how many of you have ever had a dream wherein you realize its only a dream and could wake yourself up by just willing it?

Category: Garbage | LEAVE A COMMENT
January 27

Google: my favorite evil empire

Like most tech-oriented people, I love Google (the browser and the company) since they always bring innovative ways on how we do things and also a fresh non-corporate-like corporate approach on things (sounds like an oxymoron 😀 ).

GMail really hooked me up because they had a few nifty features when they started and they kept on adding new features as time goes along. This is the reason why I am still reeling from feature-withdrawal symptoms since the company I work for black-listed it in favor of so-called security (its a BS7799 thing). I still get to check my GMail account every once in a while but the recent feature addition is *gasp* adding a delete button directly on the mail listing *gasp* . Previously users had to access the delete functionality from a dropdown box. This was because GMail does not want people to delete mails but rather classify and save them. This is not an altruistic goal on the part of GMail since it helps Google serve really targeted advertisements in the non-obtrusive way that Google knows best. 🙂

Well everybody familiar with the tech scene knows that Google is building up to be a big corporation similar to Microsoft. The only difference is most geeks love Google as much as they love bashing Microsoft. I said most because there are others who bash Google the same way they bash any corporations. To these people, corporations is automatically synanymous to evil! They say that Google is amassing too much clout in swaying how people shoudl think and act.

What really made me laugh was the sequence of comic strips featured in userfriendly.org regarding the “delete” button in GMail. It started with this strip which culminated for this week with this strip. There might be a continuation tomorrow since it is only Friday here but I won’t see it until I return to the office on Monday.

Gotta love the comment from the poor web developer from Y**oo! 😀

ciao!

Category: Humor | LEAVE A COMMENT
January 23

Viper adrenaline

Last friday we found a snake in one of the chairs in our dinner table. It was on the seat of the chair where minutes ago I took the towel that I hang there every morning to dry. It was a pencil-thin snake that was about 2-3 feet long.

I didn’t know that snakes could *jump* as well as slither with such blinding speed. After an hour of cautious hide-and-seek I was able to corner it and kill it. My nature tells me to do otherwise but being not sure if it was poisonous or not, I had to err on the side of caution and end its life.

We got home at around 11:00PM and we only got to sleep at around 1:30AM. It was such an adrenaline rush that Neth and I couldn’t sleep even if we wanted to.

Something worth telling infront of friends enjoying a keg of beer. 😀

ciao!

Category: Garbage | LEAVE A COMMENT
January 18

Tidy XML configuration for PSPad

Working in Windows in inevitable but that does not mean that I am without the good things that the Free Software (FLOSS or otherwise) has to offer.

My previous text editor of choice was UltraEdit but not all of my project has license for it so I started to look for “worthy alternatives”. The closest alternative that I found and currently use is PsPad which has most of the functionalities offered by UltraEdit, and then some.

Since my work brings me into contact with a lot of XML-type of content, the built-in tidy support is very useful especially if I want to do comparison (but I use WinMerge for that). Below is my configuration for XML pretty-print:

[TiDy Fix XML indent]
input-xml:yes
indent-attributes:yes
break-before-br:no
doctype:AUTO
fix-bad-comments:yes
indent:yes
indent-spaces:4
markup:yes
output-xml:yes
quiet:yes
tidy-mark:no
uppercase-attributes:no
uppercase-tags:no
wrap:100
wrap-attributes:yes
write-back:yes

F/LOSS life is sweet. 🙂

ciao!