Relationship Math

As I’ve grown older and witness more people start new romantic relationships, I’ve come notice that there are two different types of romantic relationships: Addition and Subtraction.

In an Addition Relationship, the new romantic interest becomes a new member of the family or group of friends. They regularly show up at family gatherings, they make time to hang out with their new friends, and your email mailing list gains one more address.

In a Subtraction Relationship, the new person is rarely seen. Not because they are not invited or because they live far away, but because for whatever reason, they do not make the effort to engage with their new friends or family. Sooner or later, you actually don’t even want to see them, because if you see them, it means something terribly bad has happened. A death, or tragic accident perhaps. But what’s worse is that, because this new person never comes around, it means that the friend or family member who is with this person, will also disappear with them. Hence the subtraction.

Experience has taught me that for friends and family, Subtraction Relationships are a very unhappy and bitter arrangements. It’s a double whammy really. First you lose a friend, and second, you feel that the person you love is now stuck with someone who is not right for them — because if they were the right person, why would they rip them from their friends and family?

The only thing you can really do is hope that they are happy where they are. Maybe they found better friends or family elsewhere. The alternative is that they are isolated from the outside because of their new partner — which is not a happy thought.

But all in all, I do not have enough evidence to conclude which type of romantic relationship is better for the people actually involved in the relationship — Maybe in a couple of years, tracking divorce rates, I can answer this question.

Amazon Web Services is awesome

The other day while playing around with my AWS RDS account, I realized that I left an RDS-large instance running for about 6 months. It had nothing in it, but it was turned on. It was costing me about $500 a month, but I had no idea because I pay my amazon account automatically, and I rarely ever log in to check in on the bill.

This is of course a huge mistake on my part, and my heart sunk when I realized what a mess I made.

I did the only thing I could think of and emailed Amazon asking them to spare me. I made a huge mistake and needed their mercy.

To my surprise, they credited me the entire balance without hassle, within 2 days.

Awesome. Amazon is awesome.

And yes I learned my lesson. I now check my billing account regularly and set alarms to notify when I exceed my threshold.

President Reagan and the Environment

Saw an interesting documentary today on American Experiences about the environmental movement in America.

One thing I learned from it was how Reagan basically ruined the forward momentum we were making  with environmental issues in America.

http://www.thedailygreen.com/print-this/presidents-worst-environmental-records-460808?page=all

http://www.nytimes.com/1989/01/02/us/reagan-and-environment-to-many-a-stalemate.html?pagewanted=all&src=pm

 

Because of his legacy, lawmakers can’t even talk about environmentalism in this country without being called names, chastised for being anti-business, or ridiculed as being impractical.

If we had someone in the white house who embraced the progress Carter was making, and encouraged people to educate themselves, who knows what kind of world we could live in today.

Starbucks: the good life

Every time go to Starbucks, I get this uncomfortable feeling that these are the best days of my life.

It’s not because I have some unhealthy love for Starbucks, but because in the back of my mind I feel like the fact that I can go to Starbucks and order over-priced coffee and treats any time I want, life must be pretty good.

I know this because I grew up poor. In my childhood, I couldn’t afford a 39 cents hamburger from McDonalds, let alone $1.50 coffee.

And of course, compared to 99% of humanity who struggle every day to make ends meet, battling health issues, or stuck in other bad situations, my life is REALLY good.

I feel uncomfortable about it because it seems like everything good in life must come to an end. Things will change, and life CAN always get tougher. I am not saying it will, but I some times I feel like I am at the pinnacle of human life right now, and when you are at the top, it is easiest to go down.

I would love to end this post by saying that I am making the most of my situation and doing everything I can to help my fellow human beings, but the truth is, I am not. It’s something that I struggle with daily, and I only hope that — maybe — I could.

How to get Google Apps for free

Note: This post is about how to get google’s business productivity suite — not google play apps. If you are here for Google Play apps, you’re in the wrong place, sorry.

A while back, google shut down their Google Apps Standard tier account. It was a great service that allowed you to easily mange services for your domain — mainly email — for free. It was a really sad announcement, because there are no similar free alternatives, until I learned that you can still get it for free, and here is how.

Untitled

  1. Sign up for google AppEngine
  2. Create an app (or use an existing if you already have appengine)
  3. Go to the app’s manage page, under “Administration » Application Settings”
  4. Then find “Add Domain”
  5. Then click “Sign up for Google Apps Standard” (refer to screenshot)

There you go, free google apps standard. I hear they limit you to one user account, but that is still better than nothing.

Gun Control

I am not really for gun control. Mainly because I think the NRA has tricked so many Americans into believing that guns are a necessity to live like it’s food and water. Taking guns away from these people would be a nightmare for our society. If we want to do that, it would take years of re-education. If it works, people would naturally just not stockpile guns anymore. And if they do own guns for legitimate purposes like protection and sport hunting, then hopefully we’d have facilities like the DMV to properly train and license them.

But stories like this is why I do not support people who thinks arming everyone is the solution. These are trained police officers, but look at how many fucking bullets they put into two innocent latina women’s car while on a manhunt for a big black guy! The same shit happened in NY city a couple of months ago.

If even trained police officers can not use their guns properly. No rednecks with a gun is going to save humanity from the next mass shooting.

How to play any video format with the AppleTV 3 from the command line

I finally bit the bullet and bought an ATV3 after nearly a year of holding out and trying other media players (Google TV, WD, Roku).

I finally caved and bought the ATV3 because of how seamlessly it is integrated into all the other Apple products: iPhone, iPad.

Surprisingly, the one thing that the ATV3 does not play well with is the Macbook. You need a newer Macbook with Mountain Lion in order to use Airplay. And of course, it only support the MP4 movie format, and there are no known jailbreak, so this is a real bummer.

But the cool thing is, you can send any MP4 video to the ATV3 with a simple HTTP request. There is even an awesome Ruby library to help you do that: elcuervo/airplay.

Now the only challenge is to convert all your files into MP4 format.

Luckily there are many software that can convert any movie format into MP4 on the fly. If you wanted to really get to the core of it, you can use ffmpeg. But several people have already build nice utility software that does this for you seamlessly. The one I like is airplayit.

They have a built-in webserver which can stream any video as M3U8 — a playlist format that is recognized by ATV3.

So Airplayit + Airplay.rb = play anything you want.