Hunger Games Movie Review

By Ramon - Last updated: Saturday, March 24, 2012

This is going to be a spoiler-filled review.

Went this morning with Rica to the 10am show to watch hunger games. First off, it was a bad move. She never read the book – and she came away feeling that it was glorified killing. So obviously the movie did not convey to a non-reader the atrocity of forcing teens to fight to the death. I tried to explain to her that the movie was really about ‘rebellion’ – but it didn’t come across. Worse, I wanted Louie to come with us. In retrospect, she’s right, Louie should not see hunger games until he can figure out that the violence wasn’t the point. That it wasn’t OK to kill others.


OK, this rest of this post will contain spoilers, so read no further unless you intend to be spoiled.

The scenes up to the reaping were ok. Peacekeepers all in white. Cool. Why do they travel by train when there’s a giant airship. is it just short range? what was the purpose of that shot? next shot was Effie. So were we to believe the airship dropped Effie off? then she went back by train?

MISSING SHOT: it could have been replaced with a shot of Katniss selling the grouse at the Hob.

Eliminating Madge – I guess that’s ok. It would have been fun if Madge’s mom was somehow part of the rebellion and hence gave her the mockingjay pin to take to the games.
Speaking of which, if the mockingjay were a symbol, then it should have been more prevalent. In the entrance outfit, etc.

In the book, there was a distinct transition that Haymitch goes through. Instead of just coaxing a couple of teens to their deaths the last 23 years, he finally realizes that they’ve given him a couple of fighters this time and becomes serious about their training. He’s supposed to be Obiwan to Katniss’ Luke. I wish they could have conveyed that.

At the capitol, when the crowd went to meet the District 12 tribute train – what was that. I know it was in the book – but was the crowd that big for people they did not even know? The intro of Cinna was awkward. The attendants were a distraction – in the movie as in the book. I did not even notice the Avow until the credits. Can’t remember seeing her on screen. The interview scene was great – flames coming out while twirling = better than the book. Peeta’s revelation was kinda flat – but the reaction otherwise was awesome. The details of Katniss’ and Peeta’s apartment, the scene when Katniss was reminiscing about the woods = a waste of screen time.

Training for the arena was ok. The scene with Clove was awesome. Rue resting on the ceiling rafter – that was strange – and I am uncertain that it added anything. The camouflage scene = great. Katniss’ evaluation – perfect. There were so many times when Kat’s thought process could have been explained: i.e. that she was being forced to kill. That the capitol was really barbaric.

The arena: the start of the arena was good. Clove hunting for her knives. When Katniss blocks Cloves knife it wasn’t obvious that the knife stuck in the backpack – thereby gaining Katniss a knife. It was not obvious where Katniss got her knife. Then the first night in the tree, that was good. Great shot. Katniss looks very awkward in a tree. Speaking of which, when she was treed by Cato’s gang, why didn’t Clove just take her out with her lethal knives. In the book, I seem to recall that clove wasn’t there.

Hovercraft not taking the bodies, hmmm – that might have been due to budget.

District 11 unrest right after Rue’s death = PERFECT.

Peeta’s camouflage in the river – AWESOME! – It would have been nice for Katniss to call out his name like she did in the book. And how he answered her and she still could not see him.

CGI Dogs. bleah. and there was nothing saying they were former tributes.
Cato getting shot in the hand. SO QUICK and not obvious at all. I had to explain it to Rica.
Cato’s mercy killing – I can see why they did not want to show him being skinned.
The defiance in the arena – what was ok. I can see that they even got to the part where when the rule change was revoked to try to get Kat and Peeta to kill each other, I saw the hesitation in Kat. Like she was about to kill him then got ashamed of herself for thinking that.

The return to district 12: that was kinda fun. It was bad that they were not able to convey how Peeta was FOOLED into thinking that Kat liked him. The let down would have been great. And how they held hands for the crowd and TV was great. That was a brilliant smile that Katniss put on there. Wish they had shown her smile more to lighten up the overall feel of the film.

The end: the last shot of president snow. That was pretty good.

Other than that, it was a pretty good movie. I won’t be watching it again soon. But I’ll continue reading Catching fire.

Filed in movies

Avaya Partner R8 Programming

By Ramon - Last updated: Wednesday, June 8, 2011

OK. I don’t normally do this…

but I need to configure the VM for one of Rica’s friends’ store.

Right now the problem is: The VM message (which was recorded using the intercom 777, option 3) is a ‘night’ voice mail message. #507 had been set to ALWAYS. I figured if I set it to 3-Night Only, then it would work.

tested. still fails. Symptom:
1) Ensure night answer is off
2) call on one line. and answer it. leave it off hook.
3) call on the other line. after 2nd ring, you’re redirected to Voice Mail (which has the night message recorded).

This might be ok… what if, the call on the other line went to the voicemail box of extension 10. And as I can see, there is no voice mail greeting for extension 10.

New test: I recorded a message for extension 10. repeating the test. night answer off.

I got 3 separte results on 3 attempts:
1) got disconnected. 2) got some static and alien sounding voices. crosstalk? 3) got night voice mail. 4) got night VM message again.

OK. I did. #506. I noticed hunt delay for line 02 was 2 rings. set it to 4 rings. ditto for lines 03 and 04. Tested. Now I get night voice mail after 4 rings.

That’s still not quite correct. What we should do is during the day it should go to the voice mailbox of extension 10. during the night it goes to night voice mail.

Now I try #507. I noticed that line 1 was indeed set to night only. but lines 02, 03 and 04 were set to Always. I changed them to night only. testing.

OK. Now the VM does not answer at all and the phone just keeps on ringing. The problem now is, how do I get that line to go to voicemail.

I changed #310. all extensions were not-assigned. now they are assigned. testing.

The VM never answered.

… need to do more research.

Ok. more things to try and check.
Need to program #111 to a button with lights. I know the one.
Program #110 to the number of rings.
Check #121. make sure it’s set to HOLD
#204 needs all lines to be assigned
Press intercom-891 to hear the message a caller hears

2. Night Service Voicemail
VMS/VMESS Button upper left Button on your button pad Enter 0# Enter password (default is 4321#) Press 3 Press 1 Record your Message When you are done recording Press 1

Filed in Uncategorized

Why you should build your AMI with an EBS root device

By Ramon - Last updated: Thursday, February 10, 2011

… more to come…

the main reason NOT to is cost since AMI’s with instance root devices are stored in S3 whereas those with EBS root devices are stored in EBS which costs more but is faster.

I guess I better publish this stub and clean it up later. more to come…

Filed in engineering • Tags: , , , ,

Emergent Medleys

By Ramon - Last updated: Wednesday, February 2, 2011

By now I figure people have uploaded pretty much every variation of every song to youtube… and yet…

I remember this one day in the early 70s perhaps? (Man – that totally dates me – but WTH). I was on my way being driven (as one is apt to be) from our home in Mandaluyong to school in Ateneo. ‘Twas a hazy day typical of Manila in the day, and after taking the short cut from White Plains to Aurora, as we were about to turn right into Aurora, I was listening to DZRJ. Back in the day, there was but two radio stations: DZBM and DZRJ. The former for the more mellow top 40 songs (in the day, Fifth Dimension, George Benson, Paul Williams, etc), and the latter for the more hard rock songs (The Who, Petrified Anthem, and the like). I remember hearing a medley which I’ve never heard again. I heard in on RJ – the hard rock station. Go figure.

I remember it clear as day, and as it’s not in youtube, I guess it’s my duty to create it. It was a medley of two really old songs: “Worst That Could Happen” by The Associations, and “I’m Gonna Get Married” by The Sunday Band. Diametrically opposed songs. One full of regret for the past. One brimming with excitement for the future.

As far as I can tell, that medley doesn’t exist in the ‘wild’. But… now that I’ve got Adobe CS3 installed, I figure I should try to create it the way I remember it.

Alalahanin… Gunitain….Ang puso natin, sariwain.


Filed in music • Tags: , ,

A quick way to paste MySQL output to Excel

By Ramon - Last updated: Wednesday, December 15, 2010

I don’t normally swim in Excel waters, so when I actually figure out something new, I thought it best to share and document it.

When I test my code, I copy output quite often into an open VIM window. Since my scripts typically end up writing to a DB (a mysql DB in this case), I typically have a sql prompt open ready to query for the results of my test. The results are something like this:

| page_id | m_imp | t_imp | m_elig_vis | t_elig_vis | n_users |
|      15 | 88172 | 27139 |      71689 |      21044 |   10715 |
|    7498 |  3132 |  2704 |       2630 |       2322 |    1006 |
|    7727 |     0 |     1 |          0 |          1 |       0 |
|    7732 |     0 |     0 |          0 |          0 |       0 |
|    9870 |   181 |   170 |        165 |        143 |      54 |
|    9871 |   431 |   518 |        323 |        370 |     186 |
|   12385 |     0 |     0 |          0 |          0 |       0 |
|   12924 |     0 |     0 |          0 |          0 |       0 |
|   25857 |     0 | 17423 |          0 |      15718 |    6837 |

That’s a typical MySQL result set. When I want to send it to excel, the conventional way is to rerun the query converting it to a csv and outputting the results in a /tmp directory (yes, I’m Mac/Linux based. I don’t know where MySQL on windows writes an OUTFILE to). I would then have to copy the file to a local directory on the MySQL server (usually in a colo or off-site), then scp the file to my local machine importing into Excel using Data->Get External Data. This method is cumbersome and not very quick.

It would be much smoother for me to copy the text output as above into my clipboard and ‘paste’ it into Excel. Then I can format it and run a few quick calculations faster than writing a php script or a mysql query. If you do copy the above table, as text, and paste it into excel, the output is a single column where every linefeed is a separate row. Having to hand-edit each cell is un-acceptably tedious, time consuming and error-prone.

What if, we could simply paste the plain text onto a column, then write a quick formula to convert that single column into multiple columns.

One relevant row in the column as the following format:

|      15 | 88172 | 27139 |      71689 |      21044 |   10715 |

What if I could write a formula which pulled out 15 to one cell. and 88172 into another cell. I need to create a formula to get pull out the data between the ‘|’ characters. If the formula knew to pull out the nth’s field, then I could copy such a formula across a worksheet which, in turn, can then be used as a source to populate other worksheets. So that’s simple enough.

I could use the =MID(text,start,count) function. The problem is, where do I start and what should I use as the count. The key is, being able to find the ‘nth’ occurrence of the ‘|’ character. Thanks to, that info is right here.

The formula I chose is of the form: =FIND(CHAR(1),SUBSTITUTE(A1,”B”,CHAR(1),3)) – which finds the 3rd occurrence of the character ‘B’. The ‘3’ in the formula can refer to a cell instead. And “B” can be changed to our delimiter: ‘|’.

The rest is pretty straightforward following from above.
The start of the Nth field is the position of the Nth delimiter + 1.
The length of the Nth field is the position of the (N+1)th delimiter minus the position of the Nth delimiter – 2.

1. Opened up a new Excel spreadsheet. copied my text (including tabular data) and pasted it on cell A2.
2. Then on I numbered B1, C1, D1, … as 1,2,3, etc. – this should correspond to the number of columns I have.
3. This then allowed me to put the following formula on cell B2

=MID($A2,FIND(CHAR(1),SUBSTITUTE($A44,"|",CHAR(1),B$1))+2,FIND(CHAR(1),SUBSTITUTE($A44,"|",CHAR(1),(B$1+1))) - FIND(CHAR(1),SUBSTITUTE($A44,"|",CHAR(1),B$1)) - 2)

I hope this helps. Saved me a ton today.

Filed in engineering • Tags: , , , ,


By Ramon - Last updated: Monday, November 8, 2010

In the end, Richard Back wrote it true:

“Whatever Enchants also Guides and Protects.” (I’m writing this from memory so it may not be verbatim. I’m certain the web has the exact quote from “The Bridge Across Forever”. But also true, is that the way we remember quotes make them more meaningful. Back continues…) “Passionately obsessed by whatever we hold dear: airplanes, sailboats, php code, We are carried over chasms of fear and doubt. And the rules are leveled and dissents are silenced. Without that passion we are boats becalmed on seas of boredom. And those are dangerous.”

And so, be enchanted with code, or gadgets, or teeth (like Michelle), or games, or people, or cars, or planes…

I promised a friend I’d post twice a week from here on onward. Let’s see what becomes of this blog.

Filed in Uncategorized

Just a quote I ran into today

By Ramon - Last updated: Thursday, October 14, 2010

“I do not love the bright sword for its sharpness, nor the arrow for its swiftness, nor the warrior for his glory. I love only that which they defend.” –J.R.R.Tolkien, The Two Towers

Filed in Uncategorized • Tags:

Lichauco Family Tree WIP

By Ramon - Last updated: Thursday, December 24, 2009

Right now, the canonical Lichauco Family tree is a Work in Progress.

I’ve got basic descendant charts going at: but even that needs a lot of work. Clicking on the root box brings you up the tree. Clicking on the lower boxes makes that person the new root and regenerates the tree. So far the responsiveness has been snappy. So I’ll keep this structure right now without any caching.


This application makes extensive use of the Sitemap.css developed by I’ve seen the way does the “family” type presentation but I rather like mine better. It’s more compact and lends itself more to large extended families.

In subsequent posts, I’ll expound on the data model used for my angkan software.

Filed in Uncategorized • Tags: , , , ,

Configuration files and Open Source

By Ramon - Last updated: Wednesday, December 23, 2009

I’m writing some family tree software which I’m GPL/Open Sourceing. It’s the angkan project in Sourceforge.

While developing, I use a directory for running programs and thus I require real DB credentials. I don’t want to commit these credentials to an open source repository but the size of the project does not warrant a deployment script (yet). Thus, if I were to use the same directory as a repository root for svn, I would be compelled to make the DB credentials generic.

Taking a cue from the way WordPress retrives configuration files, I’ve come up with the following. I create the config file with the REAL credentials in a directory ABOVE the repository root, while the one in the repository root contains GENERIC credentials. The REAL config file contains just the defines. The config file in the repository root contains code which runs the REAL config file if it exists.

The directory structure will be something like:

   + public_html
      + REAL_ConfigFile
       + project directrory (svn root)
           + GENERIC_ConfigFile

In GENERIC_config.php, prior to setting the db credentials, it first checks to see if a site specific file REAL_config.php exists in the directory above (which will not be committed into the source tree) and if it exists, it “includes” that file. If not, then some default db credentials will be used which can then be cusotmized by those using the software.

For instance a good config file will be something like the following:

if (file_exists( dirname(dirname(__FILE)) . '/REAL_config.php' )) {
require( dirname(dirname(__FILE__)).'/REAL_config.php' );
} else {
// put default db credentials were
define( 'HOST', 'localhost' );
define( 'DB_NAME', 'changeme' );
define( 'DB_USER', 'changeme' );
define( 'DB_PASSWORD', 'changeme' );

There may be more elegant ways to do this. But I thought I’d share this particular technique.

Filed in Uncategorized • Tags: , , , , ,

Just another post

By Ramon - Last updated: Thursday, December 10, 2009

Looks like is pretty interesting. I like her use of pencil graphics (probably drawn from that nice an shiny wacom cintiq that she has.

Hey – thinks are looking up – with a second post. go figure. I might have something nice to say here yet.

Filed in Uncategorized