9/11 Remembered

Time flies. I can’t believe it has been 10 years since 9/11. I remember it vividly like it was yesterday. I had just woken up before 6am Pacific time. I went online to check my email and noticed that Yahoo was crawling. It was painfully slow. Yahoo’s home page eventually showed up after a couple of minutes. And there it was the top story. I don’t remember exactly what it said, but something similar to “Plane crashes into the World Trace Center.”

I immediately turned the TV on. Moments later, I saw the second plane hit the second tower. I also saw both towers collapse. I reluctantly showed up at work at 1pm. I was angry, dazed, and confused. It was a day that forever changed our lives. We lost loved ones. We also lost a large part of our freedom that day. We do things a little differently now, when we fly, and when we cross our borders. That was 10 years ago.

We moved on. And we must, but we should always remember 9/11.

HTML5 Basic Template

If you are going to be creating websites, you might as well be using HTML5 now. There is no point of using the older, antiquated, and sometimes verbose HTML 4 markup. A case in point, take a look at the HTML4 header markup below. It’s long, cryptic and hard to remember.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

Compare that to the HTML 5 header markup below which is much, much simpler.

<!DOCTYPE html>
Let's take a look at the basic HTML5 template.
The HTML5 Basic Template
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<title>HTML5 Template</title>
<link rel="stylesheet" href="style.css" type="text/css" />

This template is perfect for creating quick websites, displaying example pages, or for testing purposes. If you want to create professional websites, then you should check out HMTL5 Boilerplate template which I highly recommend. It’s an excellent website to get you started with your HTML5 projects.

Is Automattic Moving Offices?

The SF Port Authority has shut down Pier 38, home of numerous startups including Automattic, the company behind WordPress. SF Port Authority says the building is unsafe and must vacated in the next 30 days. I wonder if Automattic has to move at all, since the office sits right outside of the pier. I’ve been to that office numerous times for WordPress meetups. The good thing is, most of Automattic employees work remotely and are hardly in the office anyways. Anyways, all tenants must move out of Pier 38 by September 30. It will be interesting where Automattic is moving if at all.

I Found A Phone At the Bar

This story has been around for a few days, but it’s worth noting. Yet, another Apple employee has inadvertently left an iPhone prototype at a bar in San Francisco. Apparently, the police are helping out Apple retrieve the phone.

The poor sap who snagged the phone, it’s probably a phone you don’t want to mess around with, because it contains a company top secrets. If found, the last thing you want is having your hands caught in a cookie jar. All the more reason to return stuff that’s not yours.

If Apple is so worried about secrecy, then they shouldn’t let employees carry it around. At least, not the careless ones, because there’s always that possibility of misplacing it. Conveniently at a bar, of course.

Unless, Apple wants to leak it. That idea came to mind, but it defies all sorts of logic.

What about the GPS? Doesn’t every smartphone have that feature nowadays? I’m sure they can track the phone if they really want to. Unless, the person who found it turned it off. Of course.

Well, you can blame Apple and the employee that had too much to drink, for the whole fiasco. It’s careless, if you ask me. Especially for top secret stuff.

Well, I have the phone.

It’s black. It has no marking. No trademarks. Nothing. But, it contain bells and whistles, nice dials, and a crank for starting the app. I say incorporating the smiley face was a brilliant move.

Here’s the photo.

State of the art!

Maybe this whole fiasco is not much ado about nothing. Perhaps, it’s just another brilliant ploy and marketing from Apple. We are all fools.

Mount Bind

The mount command in Linux is used to attach a file system to a certain device. One of the least used features within mount is called bind. With bind, you can mount a certain directory to another directory within the file system. The result is, the files are accessible from both directories. This feature is particularly helpful when sharing files. I use it to map the home directory of a FTP user to the home directory of the web server. In this particular example, I’m using a FTP user called ‘ftpuser’ and mapping the drive to ‘/var/www,’ which is Apache’s home directory.

Mount Bind Command

mount --bind /var/www /home/ftpuser

Make It Permanent

To make this mount permanent, you need to add it to /etc/fstab.

/var/www /home/ftpuser bind defaults,bind 0 0