For years I have been using the syntax:
$ find . -type f -exec rm {} \;
For some reason I took the time to read the man page for find today and guess what:
$ find . -type f -delete
Does the exact same thing and it is almost instant. Lesson learned, every now and again read the man page.
Read the Man Page
A Bit of Humor in the Current Market
An Italian walked into a bank in New York City and asked for the loan officer. He needed to borrow $5,000 for two weeks, but he was not a depositor of the bank. The loan officer said that the bank would need some form of security for the loan, so the Italian handed over the keys to a new $250,000 Ferrari out front and they could hold it until the loan was paid off in two weeks. The title was produced and everything checked out, the car was driven into the bank’s underground garage and parked, and the loan granted at 12%.
Later, the bank’s president and officers all enjoyed a good laugh on the Italian for using a $250,000 Ferrari as collateral for a $5,000 loan.
Two weeks later, the Italian returned, repaid the $5,000 plus interest of $23.07. The loan officer said, “Sir, we are very happy to have had your business, and this transaction has worked out very nicely, but we are a little puzzled. While you were away, we checked you out and found that you are a multimillionaire. What puzzles us is, why would you bother to borrow $5,000?”
The Italian replied: “Where else in New York City can I park my car for two weeks for only $23.07 and expect it to be there when I return?”
Learning Python Complaints
I read an excellent post the other day discussing Python education. I personally identify with almost 100% the author has to say. With Perl and PHP online articles and available books provide task based examples. What better way to learn a programming language than to give examples on how to solve a specific problem. More than anything else the lack of task based instruction has stalled my adoption of Python.
http://troutgirl.wordpress.com/2008/08/08/learning-python/
HOWTO Remove Emergency Dialing from Blackberry when Locked
I have what seems to be a relatively straightforward problem. I lock my blackberry, put it in my pocket and discover that a perfect series of motions result in the phone dialing 911. I find out the phone has dialed 911 when the emergency dispatcher calls me back to ask if I have an emergency. Should I be concerned when they accept my “no Sir/Maam, we do not”?
After scouring the Internet this weekend, and waiting on hold with AT&T my fears were confirmed. There is simply no way to remove the “Emergency Call” option when the phone is locked. However I did find another option which has been working just as good if not better. By holding down the mute key the phone will go into standby mode disabling all of the keys except the mute button. Unfortunately I cannot figure out how to map the side keys to the standby function, but it is a step in the right direction.
Installing BES 4.1.6 on Windows 2008 Server
Don’t it’s not supported.
Earthquake
There was an Earthquake this morning in Los Angeles. If you are interested in the full details check out the USGS site here:
Magnitude 5.4 – GREATER LOS ANGELES AREA, CALIFORNIA
Reports are sizing the quake in the mid 5’s – which means if you are in LA you felt it. I must say it was in interesting experience looking out the window in my 28th floor office watching the world move.
As an unfortunate side effect the elevators serving the high rise (the upper floors) of the building are still out. This means each time I need to go to our main POP on the 7th floor I end up climbing 10 flights of stairs on the way down, and again on back on the way up.
mrtgsql Actually Used
So I just found out that a utility I wrote called mrtgsql (parses and records the values of the mrtg .log files into a SQL database is/was being used by a German hosting operation. Honestly I wouldn’t have imagined that anyone would be using the software – very cool that it came to use by someone. I’ve long since re-written the utility to read directly from .rrd files. Maybe I should release that work as well.
30 Million Domains No Profit
From Data Center Knowledge:
Go Daddy said this week that it is now managing more than 30 million domains.
I was actually thinking about the domain registration business the other day and what the actually costs associated are. GoDaddy is charging $6.85/year (plus the $0.20 ICANN fee) for a .com domain registration. If they are paying Verisign the list price of $6.42/year per .com name registered GoDaddy is making $0.43/year per domain (a 6.7% margin).
With 30 million registered domains that is 12.9 million/year in Gross after $192.6 million/year payment to Verisign. Who’s the real winner here?
To bad there are those pesky things called merchant fees. At a best case 1-2% of the sale price for Visa/Mastercard (higher for Amex) that margin goes away really fast. Ever wonder why the GoDaddy shopping cart is so cluttered with all those up sells?
Superglued
Tonight during round 37 of spring cleaning I managed to superglue three of my fingers together. It was quite funny actually – I was fixing some refrigerator magnets and dripped a nice pea sized dribble on one. As I was wiping the dribble up with my finger the thought ran through my head that it probably wasn’t a good idea. After a quick run though our household chemicals I can say that nail polish remover works pretty good at melting the stuff of of skin.
$100 Dollar Tank
This last week (as in four days) we watched the price of premium at the station near our house climb from $4.30/gallon to $4.61/gallon. Besides the disgust at the cost to fill up I’ve learned some interesting things in the process, for example: Gas pumps cut ATM/Debit cards off at $75 dollars, and the limit for Credit Cards is $100.
Last month I was expecting gas to hit $5 dollars by 2009, now it looks like July 4th.