Dropbox 2.0 in Mac ejects itself

That’s a really nice touch. After installation of Dropbox 2.0 in Mac, it ejects the .dmg for you. I do the usual — you know — after install, eject the .dmg file. I’m pleasantly surprised I don’t have to do that. That’s a great experience you gave me as a user. Although in all good intentions, I wonder does that mean applications can eject my external hard disk should they choose to.

Still it’s a nice touch and I will remember it as that. And the new user interface for Dropbox is amazing too. Kudos there:

Dropbox 2.0

With the recent USD100m acquisition of Mailbox, I am excited to see what’s coming up next.

How to install APC in Ubuntu 12.04

This installation is through PEAR. You can install it in other methods too. This has installed APC 3.1.9 for me over Ubuntu 12.04 LTS.

[code lang=”bash”]sudo apt-get install build-essential libpcre3-dev php5-dev
sudo pear update-channels
sudo pecl install apc[/code]

Continue reading “How to install APC in Ubuntu 12.04”

How to fix Node DNS resolver in Mac

I was working on the node package manager, npm, in Mac OS X and realized I cannot install Zombie.

[code lang=”bash”]kahwee:~ kahwee$ npm install zombie
npm info it worked if it ends with ok
npm info using npm@0.2.11-5
npm info using node@v0.2.6
npm ERR! Error connecting to server http://registry.npmjs.org/zombie
npm ERR! Error: ETIMEOUT, Timeout while contacting DNS servers
npm ERR! at Timer.callback (dns:15:13)
npm ERR! at node.js:773:9
npm ERR! Report this entire log at http://github.com/isaacs/npm/issues
npm ERR! or email it to npm-@googlegroups.com
npm ERR! Just tweeting a tiny part of the error will not be helpful.
npm not ok[/code]

I was hunting around what’s wrong with my DNS servers and I realized that even though Node.js is taking the DNS server settings from resolv.conf, Mac OS X did not have that updated as I would expect. The following is not my nameserver:

[code lang=”bash”]kahwee:~ kahwee$ cat /etc/resolv.conf
#

Mac OS X Notice

#

This file is not used by the host name and address resolution

or the DNS query routing mechanisms used by most processes on

this Mac OS X system.

#

This file is automatically generated.

#
domain Aphrodite
nameserver 192.168.1.254[/code]

So I commented that portion and changed it with nano:

[code lang=”bash”]sudo nano /etc/resolv.conf[/code]

Changed it to and comment the invalid entry:

[code lang=”bash”]kahwee:~ kahwee$ cat /etc/resolv.conf
#

Mac OS X Notice

#

This file is not used by the host name and address resolution

or the DNS query routing mechanisms used by most processes on

this Mac OS X system.

#

This file is automatically generated.

#
#domain Aphrodite
#nameserver 192.168.1.254
nameserver 165.21.100.88
nameserver 165.21.83.88[/code]

And now it works:

[code lang=”bash”]kahwee:~ kahwee$ npm install zombie
npm info it worked if it ends with ok
npm info using npm@0.2.11-5
npm info using node@v0.2.6
npm info fetch http://registry.npmjs.org/zombie/-/zombie-0.8.10.tgz

npm ok[/code]

How to install PHPUnit using PEAR

One of the ways to install PHPUnit is through PHP Pear. You must already have PHP Pear installed. This is verified to work on Mac OS X Snow Leopard.

To install PHPUnit through PHP PEAR, the following channels have to be added before an install:

[code lang=”bash”]pear channel-discover pear.phpunit.de
pear channel-discover pear.symfony-project.com
pear channel-discover components.ez.no
pear install phpunit/PHPUnit[/code]

Try running:

[code lang=”bash”]phpunit –version[/code]

You should see the following response:

[code lang=”bash”]PHPUnit 3.5.0 by Sebastian Bergmann.[/code]

What is Sentinel System Driver Installer?

Saw this in my control panel’s Uninstall a Program. What exactly does this tool and what installed this program? Is it some Adobe related tool?

Sentinel system driver installer in Uninstall a Program.

I feel like uninstalling it yet I don’t know if there are dependencies that may rely on this tool. It gives a link to SafeNet Inc which deals with DRM things, I think.

Since when did I even install Office 2003

I have Office 2007 installed and somehow Office 2003 creep in too. I wonder what did that installation.

Since when did I even install Office 2003
Since when did I even install Office 2003

I can’t even find in in my start menu. Now I have to upgrade something I didn’t install. This is amazing. And my update is almost 700 MB. Really huge.

Adobe Reader 9 out, nothing good about it

Adobe Reader 9 is full of crap. It comes with embedded Flash support, bundled with Adobe AIR and some crap Safari extension or something that didn’t work too well.

Adobe Reader 5 or 6 is probably the best Adobe Reader. Subsequent Adobe Readers are merely products to keep Adobe engineers busy so that they won’t get fired just because they have nothing to program on.

The install process take farking bloody long and is powered by iNOSSO. Since when does ads creep into installers. Is Adobe that in need of money?

Then they attempt to bundle the eBay desktop program, please don’t install that crap. The last thing you ever need is to install more crap after installing crap.

Adobe Reader even asks you to restart your computer after installation. I NEVER restart my Windows Vista after an installation. Get real. It runs for 10 days straight and I’m not going to restart it till the next Windows Update.

Adobe Reader 9
(includes Acrobat.com on Adobe AIR)

It’s bigger, it’s crappier and all it does is to read some documents. It doesn’t edit, it just displays the file. What’s up with the file size increase, the AIR inclusion and the bad install experience. It installed Adobe Help Viewer 1.1 and install another version of Adobe Update just because the new one can’t be compatible with CS3.

I recall installing Office 2007, it lets you select what you want, have a good customizable installation experience. And it doesn’t even ask you to restart your system.

You can read more here and here.

Want to install god?

I love it when a software has a good and catchy name but I love it more when a software has a name that looks funny in the a Linux install command:

[code]$ sudo gem install god[/code]

A Better Way to Monitor

God is an easy to configure, easy to extend monitoring framework written in Ruby.

Keeping your server processes and tasks running should be a simple part of your deployment process. God aims to be the simplest, most powerful monitoring application available.

God is useful, learn more about god.