Tuesday, November 16, 2010

Miguel coupe de cheveux, by Peter

Earlier today, we let Miguel tag along with us to David's in Divisoria. We weren't sure if Miguel was ready to have his first "official" haircut. After seeing all of us get trimmed by Peter (he's the only one who cuts our hair), it looked like he was okay to get one too, until someone wrapped a barber's cape around his neck and the screeching started. LOL!

He did pause a few times to try to smile at the camera through tears. Awww. It took Peter about 10 minutes to properly trim Miguel's ultra fine hair since he moved a lot, and I had to hold him standing up on my lap and steady his head at the same time. But the outcome's great! Our son looks real handsome now that he has shorter hair.

I lurv going places - Miguel

Dimsum again

We love Dimsum Diner, but we gotta start learning to keep ourselves from eating there too often. Why? We're all high risk people, that's why.

In this set, my sister-in-law was playing around with the camera settings, which explains the no-flash feature. Will try to do another shoot next time and will play with ISO and WB. Not a DSLR. Lugging that with us during family eat-outs is overkill.

Wednesday, November 10, 2010

Kysa Knows

Well here are a couple of shots of our princess, who was trying to finish off her purchases so she can brush teeth and sleep already. She's tried doing some blogging in her spare time (I think this is a good thing for her) and you can follow her here.

Nomnomnom! First shot settings were F/7.1, ISO-400, shutter speed of 0.81sec

Next shot used F/2.8, ISO-400, and shutter speed of 1/10sec. The better shot I think.

Tuesday, November 9, 2010

SVN-MantisBT Integration


I've downloaded and installed MantisBT 1.2.3stable on linode2, and after fixing permissions issues, proceeded with the installation. I stopped when I realized I didn't have the same MantisBT version on the old server. It's always better to set up MantisBT on the target server "as is", and let the install scripts handle the upgrade.

I'm roughly 28% in with a server-to-server SCP of a 79Mb MySQL dump of our bugtracker. I haven't had time to check with the backups since I felt that a fresh dump is always best; but no, I remembered that several developers preferred working odd hours and they would definitely need the bug tracker up.

Next up, install the different source and meta plugins needed to make this mashup work. Excellent guide here.

Tuesday, November 2, 2010

Thursday, September 30, 2010

Linux Kernel Tuning for C500k | Urban Airship Blog

By Jared "Lucky" Kuolt on September 29, 2010

Like the idea of working on large scale problems? We’re hiring talented engineers, and would love to chat with you – check it out!


Note: Concurrency, as defined in this article, is the same as it is for The C10k problem: concurrent clients (or sockets).

At Urban Airship we recently published a blog post about scaling beyond 500,000 concurrent socket connections. Hitting these numbers was not a trivial exercise so we’re going to share what we’ve come across during our testing. This guide is specific to Linux and has some information related to Amazon EC2, but it is not EC2-centric. These principles should apply to just about any Linux platform.

For our usage, squeezing out as many possible socket connections per server is valuable. Instead of running 100 servers with 10,000 connections each, we’d rather run 2 servers with 500,000 connections apiece. To do this we made the socket servers pretty much just socket servers. Any communication between the client and server is passed through a queue and processed by a worker. Having less for the socket server to do means less code, cpu-usage, and ram-usage.

Friday, September 3, 2010

Get through your email faster with Gmail Priority Inbox

This is great for people who do not use a GTD system yet. Try it and see how fast it learns.

sections Gmail
Priority InboxBeta


Welcome to Priority Inbox! By automatically separating out your most important messages, Priority Inbox makes it easy for you to read and respond to the messages that matter.


Get through your email faster


Try reading and replying to the messages in the "Important and Unread" section first. Mark anything that requires follow-up with a star, then go through the "Everything Else" section. If you leave Priority Inbox, you can return to it by clicking the link next to Inbox on the side navigation of Gmail.

How it works

Gmail's servers look at several types of information to identify the email that's important to you, including who you email and chat with most, how often you email with these people, and which keywords appear frequently in the emails you read.

Monday, August 23, 2010

Mall rat in the making :p

It's greatthat we've started to take Miguel along each time we're in the mall. It's doing wonders for his social skills. :D

Saturday, July 24, 2010

How to count instances of an IP address in a log file

I was looking for a quick and painless way to determine what IP addresses used our web app the most and stumbled across this excellent post. I got reminded of the power of the command-line interface and that often, I underestimate the way these commands are supposed to make a sysad's life easier.

So here's a quick tip for counting unique visitors to your web app. Locate your web app's log file and do a quick scan of the last few lines. In my case, this is what I saw: - - [10/Jul/2010:00:57:29 -0400] "POST /v2/api/execute.php?method=upload_time&ver=win1.1.15 HTTP/1.1" 200 116 "-" "Mozilla/5.0" - - [10/Jul/2010:00:57:30 -0400] "POST /v2/api/execute.php?method=timestat&ver=win1.1.15 HTTP/1.1" 200 288 "-" "Mozilla/5.0" - - [10/Jul/2010:00:57:29 -0400] "POST /v2/api/execute.php?method=offtime&ver=win1.1.15 HTTP/1.1" 200 19 "-" "Mozilla/5.0" - - [10/Jul/2010:00:57:32 -0400] "POST /v2/api/execute.php?method=get_defaults&ver=win1.1.15 HTTP/1.1" 200 77 "-" "Mozilla/5.0"

In this log format, the IP address appears first, so we will only need to get the first set of characters, separated by a space. In order to count instances of an IP address, we sort the IP addresses so similar IP addresses are grouped together, then count them. Then we sort them again so that the sums are arranged. The number of unique IPs may give you pages of standard output, so optionally, if you only want to see which IP addresses accessed the web app the most, we look at the top results only.

So these are the commands used, piped one after the other, with the output:

[root@server2 ~]# cat /var/log/httpd/access_ssl.log | awk '{print $1}' | sort | uniq -c | sort -nr | head>

[root@server2 ~]#

Happy counting, err reporting!

The things Miguel does on a usual day

In a month or so he'll be too big to fit in his laundry basket. He has his eye on the bigger hamper in our room.

He runs around and does the "happy feet". He also likes running while on top of the air bed, but I can't get any video of that yet as I'm too busy going after him lest he bounce too hard and hit the wall.

And he demands his time for "computer work". :)

Thursday, June 3, 2010

Being a Systems Administrator @37signals (Podcast)

 I use Basecamp a lot. Kudos to these guys for making my job as a Systems Administrator more bearable than usual. :p

Episode #12: Being a Systems Administrator at 37signals

Time: 22:50 | 04/13/2010 | Download MP3 | Link to this episode

Mark, Joshua, and John on life as a 37signals Sys Admin

The Sys Admin team discusses hosting the 37signals apps, working with programmers, helping support, telecommuting, dealing with vendors, improving speeds in Europe, and more. Related links:


Tuesday, June 1, 2010

How big is a Yottabyte? - Holy Kaw!

And I got a long way to go. My next step doesn't happen in the next couple of months, and that's when I purchase a terabyte external hard drive for storage purposes.

Remember back in the 1970s when 200MB was the size of a tire? Now we live in a world of gigbytes and terabytes, and the future will bring zettabytes and yottabytes in everyday life. Hello, future!

k to view large

Download full size (80 KB)

Via Digital Kamera.

Tons of tech.


Saturday, May 29, 2010

New theme, needs more work

I'm doing some major cosmetic changes with this blog; and I'm sort of working off this to-do:

1. come up with a manageable set of tags
2. update posts with appropriate tags
3. look for any form of twitter integration

Yes, I think I'll be blogging more now. More than anything else, I need the writing exercise.

After a busy afternoon of play, Ate Kysa attended to her brother and shared a meal with him.


Friday, May 28, 2010

Miguel's first giddyap!

Watch on Posterous

Spur of the moment thing. I was never really good with "anticipation" so didn't take a better recording gadget with us. We didn't think Miguel was going to point at the carousel since he would normally ignore this. I guess he's starting to appreciate things around him more, now that he's walking...and running...and stumbling.

Tuesday, May 18, 2010

Kickstarter - Decentralize the web with Diaspora


IMO, this is the answer to all your privacy-related concerns on Facebook. Can’t wait til it launches.

Wednesday, April 28, 2010

Stop Jejemon Bashing

It’s not my business, but I’m really tired of all of these jejemon-bashing stuff I’m seeing in twitter and facebook. Why not make an effort to educate these language-challenged people?

Come on people, this monster’s been around a long time. It just took on a new name. Let’s do something productive. ^_^

Wednesday, March 24, 2010



Mindanaoans have already contributed hundreds of hours for Mother Earth in the last month. Spare us.


lights out..

reblog. :)

Sunday, March 21, 2010

Fever and what-not's

I dare not say what we hope our daughter didn’t get that’s causing her on and off high fever since Tuesday night. We’re still hopeful that it’s some ordinary viral infection that’s been plaguing kids these hot El Nino days.

My wife and I are in distress due to lack of sleep, but we’re still hopeful. We were advised to wait until 6pm tonight to get another CBC exam. That’s because aside from her fever, she hasn’t been showing the other symptoms, e.g. nausea/vomiting, joint pains, tummy pains, etc.

Well, she’s known to not complain about pain unless it’s caused by a needle. So we’re not taking chances. After all, you’d do everything for your kids, right?

Friday, March 19, 2010

ang pinoy at ang Starbucks. Latte Loco? ERR. (source: teentalk)



1. Only in the Philippines will you see people ditching the comfort of sipping a cup of Starbucks coffee inside the airconditioned store and preferring instead to sit outside and be soaked dry by the heat of the tropical sun.

The reason? Kailangan makita ng friends/classmates/kakilala ko na nandito ako sa Starbucks! Magpapakasosyal na lang, e di i-todo ko na.

The lesson? Sit where you would be seen easily the most.

2. Only in the Philippines will you see people bringing their laptops inside the Starbucks store and staying there for hours and hours just to avail of the free Wi-Fi.

The reason: Para mukha talagang sosyal, kailangan busy-busyhan gamit ang laptop habang sip ng coffee. Makikisaksak pa yan para maki-charge at naka cross legs pa sa upuan para feel at home. Feeling bahay ko na itong Starbucks. I own it, you know?

The lesson: Make sure to bring your laptop no matter how heavy it is. The attention you will get is priceless, anyway!

3. Only in the Philippines will you see people giving strange names when asked by the barista for their personal name to be written on the cup. The names oftentimes teeter at the brink of being lewd and/or profane (e.g. Lucky T T or Ba Hoko).

The reason: Siyempre kapag sinigaw ng barista yung name, magtatawanan kami ng circle of friends ko. I got the attention I am so craving for again. They are all looking at me o! Bwahahaha!

The lesson: Be prepared with the most attention-grabbing name (those with sexual innuendos are most recommended) to be written on your cup and later on to be shouted by the drop-dead gorgeous barista who would melt in front of everybody after shouting Lucky T.T. or Ba Hoko.

4. Only in the Philippines will you see people taking pictures of themselves all the time and from all possible angles while sipping their favorite ice-cold frapp. You will be surprised to see how the Starbucks logo is almost always part of the frame!

The reason: I need to upload this in my Multiply, Friendster, Facebook, MySpace, Flickr, Blogspot, Faceparty, hi5, Livejournal, Plurk accountssss-sssssss! I need to anonymously view and comment para maraming views at laging nasa top ako ng page sa updates! My friends need to see na nag Starbucks ako! Sayang P120 ko kapag hindi nila nakita picture ko! Huhuhuhuhuhu….

5. Only in the Philippines will you see people getting a lot of extra sugar, cream and tissue. And when I say a lot, it means its damn too many!

The reason: I paid P150 for my venti java chip mocha frapp, I should at least deserve to get a year’s supply of that fiber tissue with the Starbucks logo on them! Sagarin ko na yung binayad ko, and mahal kasi eh! Penge na rin extra, extra, extra sugar ska super extra, extra, extra na cream [Tapos biglang tago sa bag!]

The lesson: Everybody knows that the coffee is overpriced. So get your money’s worth! Grab as much fiber tissue, sugar and cream sachets that can fit in your bag! And dont forget to bring a huge bag to begin with!

6. Only in the Philippines will you see people gulping on twenty venti cups of frapp in one night just to get the oh-so-precious Starbucks planner!

The reason: !@#$, lahat may naka display na Starbucks planner sa kamay nila! Dapat ako rin! [Sabay tungga ng dalawampung cups ng venti frap] Kahit mejo tinamaan doon sa coffee overdose, makikipila pa rin para ma claim ang Starbucks planner [khit gaano pa ito ka-cheap tingnan]

The lesson: Secretly ask your friends for their stickers to complete your collection. In that way, you won’t be spending 2500 pesos for a stupid-looking planner which you do not intend to write on anyway. Your life is a mess dude! What on earth would you do with a planner/organizer you dumbass!

7. Only in the Philippines will you see people holding on to their Starbucks tumblers while they are, well, practically everywhere - on the streets, inside the train, inside the comfort room, etc. What is ironic is that when nobody is watching, they put in their Nescafe 3-in-1 coffee mix inside their Starbucks tumblers and drink their heart away to cheap coffee. Aaahhhhh, sarap talaga ng 3-in-1!

The reason: Basta may Starbucks logo, sosyal! Kaya kailangan dala-dala ko ito lagi! Keber b nila kung Nescafe 3-in-1 yung nasa tumbler ko! Starbucks ito o! Ayan yung logo, tingnan mo!

The lesson: Never ever let anyone catch you put that Nescafe 3-in-1 coffee mix into your Starbucks tumbler. That will so ruin your reputation among all the Embassy-going folks and ecstasy-sniffing elites out there.

Just as when hundreds of Starbucks stores have started to close shop in every major city around the world, at least three new stores open their doors in Manila [or at least in a lighted street corner somewhere around the city] every month. A bit anomalous isn’t it? The truth is that we are perhaps just in the middle of a brewing (pardon me for the intentional pun) coffee craze, or perhaps Starbucks obsession / Starbucks mania / Starbucks phenomenon - call it by any other monicker, but Filipinos are definitely in love with the Seattle-based coffee chain. Now, how on earth could an American export selling coffee for P120 per cup be such a hit in a third world country like the Philippines where half of the population lives on less than P100 a day?

Saturday, March 13, 2010



Goes to show that at this hour, they’re outsourcing kings! (via @bleepster)

Sunday, February 14, 2010

How a Web Design Goes Straight to Hell - The Oatmeal


Well I’ll be! Just exactly how things go (but not with our current company, thank God). Goes to @Bambi @Lee @jenipur and all my web designer friends. ^_^

Friday, February 12, 2010



Miguel on a shopping cart

Using non-standard SSH port with TortoiseSVN

Some of my students reported that they were having problems connecting to their repositories using TortoiseSVN. At first, quick checks from my end didn't reveal what caused these, but I realized soon that it wasn't a server issue. It seems like the client software that they were using (TortoiseSVN) didn't know what to make of the svn+ssh://[user]@[ip]:[port]/[repo] URL.

I use RabbitVCS on my Linux boxen and get the same "Network connection closed unexpectedly" message. A colleague at work suggested that since a non-standard port for SSH is used, I should modify my /home/<username>/.subversion/config , look for the [tunnels] section, and append -p [port number] for the svn tunnel named ssh. Since this particular repository is just one among the dozens I access, I can't modify the default svn tunnel. Instead, I added a custom tunnel for each of the servers that use non-standard SSH ports.


For the repo that my students were trying to access, I used ssh2212 = $SVN_SSH ssh -q -o ControlMaster=no -p 2212. So the URL now looks like svn+ssh2212://[user]@[ip]:2212/[repo] and I was able to connect successfully.

In Windows, there are several ways to do this. Since the OS doesn't have a native SSH client executable, users will rely on Cygwin, Putty, or on TortoisePlink.exe (in newer versions of TortoiseSVN).

You can try any of the following solutions (they're all searchable in the Internets) and see if you can get around the problem. I've tried them all on a Windows guest OS on VirtualBox and only the last three solutions worked.

  • Using Putty: Use saved session name from Putty in the URL: svn+ssh://[user]@[saved putty session name]/[repo]. Make sure that you configure the session to already use the correct port.

  • Using Putty: Alternately, use IP:port format for the Putty saved session name so that you still use the svn+ssh://[user]@[ip]:[port]/[repo] URL format, but you're actually calling the saved session name.

  • c. Using client packaged with Tortoise. In TortoiseSVN settings -> Network, change SSH client to "C:Program FilesTortoiseSVNbinTortoisePlink.exe" and use standard svn+ssh://[user]@[ip]:[port]/[repo] URL.

  • d. Same as d., but for the SSH client, append -P [port number]

  • e. Using a wrapper script, such as the one provided here (excellent solution btw), and use it as the SSH client executable in TortoiseSVN settings -> Network.

Hope any one of these work for you. As an inside joke from one of my sysad friends, it was also suggested that I save myself the troubles and just log in to the server and revert to the default SSH port. LOL.

Thursday, February 11, 2010

Thursday, January 28, 2010

[repost] System for staying on top of priorities

I’ve tried a lot of productivity tools to get better control over my ever-bloating task lists, and none have been as effective for me, as using Gmail with the GTDInbox add-on, and Google Tasks. How I make these work for me is a result of several months of trials, using Google Tasks initially, then with custom labeling and automatic label switching with GTDInbox.

The goal was simple, and that was to attain inbox zero at least once a day. GTDInbox allows me to mark or tag emails containing tasks with action, wait-for, delegated, and finished. After the emails are tagged, they get added to Google Tasks, so that I’ll have an easy way to pull up a related email for a particular task. Lastly, these emails get archived, keeping the goal of inbox zero in mind, always.

What tools do you use, and have you already gotten into a rhythm of using these efficiently while working?

Sunday, January 24, 2010



Coffee! Remembering my dealings with Fiorgelato back in the days.

Wednesday, January 6, 2010

Tuesday, January 5, 2010



Doug should just stick to doing “point!” :D


Awwww, Doug is so cute here. Look at those eyes and ears!




(via fagtasticvoyage)


Monday, January 4, 2010

Now I got the itch to shell script this [http://bash.org/?910094]



Jen, pre-paramore days, about 2 or 3 years ago. My daughter’s in K2 back then.

backing up

Ok, so I griped earlier about failing at being an early adopter. Just when I thought something wouldn’t launch and I turn my back, everyone else then starts getting on it and using it. :p

So maybe I’ll just delete my old LJ account and start ranting here, for real. My Posterous account would then be a photoblog of sorts, since I can post directly to it via Gravity on my phone.

But a part of me wants to keep my LJ account…for posterity…bragging rights if you want to call it that. Connie would be real proud. After all, she was the one who got me into blogging back in the late 90s. Bwehehe!