dannyman.toldme.com


About Me, Technology, Testimonials

SAQ: Corporate Communication

Link: https://dannyman.toldme.com/2011/07/19/saq-corporate-communication/

Q: “What would help make communications more clear, simple, and transparent for you?”

A: I come from a startup culture, where the Fearless Leader will once a week stand up an a table and enthusiastically explain what new deals and products are in the pipeline, in terms his Grandma would understand. Then we drink cool-aid.

Compared to that, most corporate communication is Kremlinology.

Feedback Welcome


Linux, Sundry, Technical, Technology, Testimonials, WordPress

Updating WordPress: Upgrading php53 on CentOS

Link: https://dannyman.toldme.com/2011/07/05/wordpress-upgrade-php53-centos/

If you have a self-hosted WordPress blog, you really ought to keep it up to date. Popular software is a popular security target, and as new exploits are discovered, new patches are deployed. Fortunately, WordPress makes this super-easy. Just go to Dashboard > Updates and you can update with one click. I basically get a free update any time I get it in my head to write something.

Except this morning, when I was told that an update was available, but:

"You cannot update because WordPress 3.2 requires PHP version 5.2.4 or higher. You are running version 5.1.6."

On my CentOS VM, this was addressed by:


sudo yum update
sudo service httpd restart

Actually, it was a little difficult, because we’re replacing php with php53:

0-13:11 djh@www0 ~$ cat /etc/redhat-release
CentOS release 5.6 (Final)
0-13:11 djh@www0 ~$ rpm -q php
php-5.1.6-27.el5_5.3
0-13:11 djh@www0 ~$ yum list installed | grep ^php
php.x86_64                               5.1.6-27.el5_5.3              installed
php-cli.x86_64                           5.1.6-27.el5_5.3              installed
php-common.x86_64                        5.1.6-27.el5_5.3              installed
php-gd.x86_64                            5.1.6-27.el5_5.3              installed
php-mysql.x86_64                         5.1.6-27.el5_5.3              installed
php-pdo.x86_64                           5.1.6-27.el5_5.3              installed
1-13:11 djh@www0 ~$ sudo service httpd stop
Stopping httpd:                                            [  OK  ]
0-13:11 djh@www0 ~$ yum list installed | grep ^php | awk '{print $1}' 
php.x86_64
php-cli.x86_64
php-common.x86_64
php-gd.x86_64
php-mysql.x86_64
php-pdo.x86_64
0-13:12 djh@www0 ~$ sudo yum remove `!!`
sudo yum remove `yum list installed | grep ^php | awk '{print $1}'`
Loaded plugins: fastestmirror
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.1.6-27.el5_5.3 set to be erased
---> Package php-cli.x86_64 0:5.1.6-27.el5_5.3 set to be erased
---> Package php-common.x86_64 0:5.1.6-27.el5_5.3 set to be erased
---> Package php-gd.x86_64 0:5.1.6-27.el5_5.3 set to be erased
---> Package php-mysql.x86_64 0:5.1.6-27.el5_5.3 set to be erased
---> Package php-pdo.x86_64 0:5.1.6-27.el5_5.3 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch          Version                 Repository        Size
================================================================================
Removing:
 php               x86_64        5.1.6-27.el5_5.3        installed        6.2 M
 php-cli           x86_64        5.1.6-27.el5_5.3        installed        5.3 M
 php-common        x86_64        5.1.6-27.el5_5.3        installed        397 k
 php-gd            x86_64        5.1.6-27.el5_5.3        installed        333 k
 php-mysql         x86_64        5.1.6-27.el5_5.3        installed        196 k
 php-pdo           x86_64        5.1.6-27.el5_5.3        installed        114 k

Transaction Summary
================================================================================
Remove        6 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing        : php-gd                                                   1/6 
  Erasing        : php                                                      2/6 
  Erasing        : php-mysql                                                3/6 
  Erasing        : php-cli                                                  4/6 
  Erasing        : php-common                                               5/6 
warning: /etc/php.ini saved as /etc/php.ini.rpmsave
  Erasing        : php-pdo                                                  6/6 

Removed:
  php.x86_64 0:5.1.6-27.el5_5.3            php-cli.x86_64 0:5.1.6-27.el5_5.3    
  php-common.x86_64 0:5.1.6-27.el5_5.3     php-gd.x86_64 0:5.1.6-27.el5_5.3     
  php-mysql.x86_64 0:5.1.6-27.el5_5.3      php-pdo.x86_64 0:5.1.6-27.el5_5.3    

Complete!

0-13:13 djh@www0 ~$ sudo yum install php53 php53-mysql php53-gd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: yum.singlehop.com
 * epel: mirror.steadfast.net
 * extras: mirror.fdcservers.net
 * updates: mirror.sanctuaryhost.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php53.x86_64 0:5.3.3-1.el5_6.1 set to be updated
--> Processing Dependency: php53-cli = 5.3.3-1.el5_6.1 for package: php53
--> Processing Dependency: php53-common = 5.3.3-1.el5_6.1 for package: php53
---> Package php53-gd.x86_64 0:5.3.3-1.el5_6.1 set to be updated
--> Processing Dependency: libXpm.so.4()(64bit) for package: php53-gd
---> Package php53-mysql.x86_64 0:5.3.3-1.el5_6.1 set to be updated
--> Processing Dependency: php53-pdo for package: php53-mysql
--> Running transaction check
---> Package libXpm.x86_64 0:3.5.5-3 set to be updated
---> Package php53-cli.x86_64 0:5.3.3-1.el5_6.1 set to be updated
---> Package php53-common.x86_64 0:5.3.3-1.el5_6.1 set to be updated
---> Package php53-pdo.x86_64 0:5.3.3-1.el5_6.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package             Arch          Version                 Repository      Size
================================================================================
Installing:
 php53               x86_64        5.3.3-1.el5_6.1         updates        1.3 M
 php53-gd            x86_64        5.3.3-1.el5_6.1         updates        109 k
 php53-mysql         x86_64        5.3.3-1.el5_6.1         updates         92 k
Installing for dependencies:
 libXpm              x86_64        3.5.5-3                 base            44 k
 php53-cli           x86_64        5.3.3-1.el5_6.1         updates        2.4 M
 php53-common        x86_64        5.3.3-1.el5_6.1         updates        605 k
 php53-pdo           x86_64        5.3.3-1.el5_6.1         updates         67 k

Transaction Summary
================================================================================
Install       7 Package(s)
Upgrade       0 Package(s)

Total download size: 4.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): libXpm-3.5.5-3.x86_64.rpm                         |  44 kB     00:00     
(2/7): php53-pdo-5.3.3-1.el5_6.1.x86_64.rpm              |  67 kB     00:00     
(3/7): php53-mysql-5.3.3-1.el5_6.1.x86_64.rpm            |  92 kB     00:00     
(4/7): php53-gd-5.3.3-1.el5_6.1.x86_64.rpm               | 109 kB     00:00     
(5/7): php53-common-5.3.3-1.el5_6.1.x86_64.rpm           | 605 kB     00:00     
(6/7): php53-5.3.3-1.el5_6.1.x86_64.rpm                  | 1.3 MB     00:00     
(7/7): php53-cli-5.3.3-1.el5_6.1.x86_64.rpm              | 2.4 MB     00:00     
--------------------------------------------------------------------------------
Total                                            12 MB/s | 4.6 MB     00:00     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : php53-common                                             1/7 
  Installing     : php53-pdo                                                2/7 
  Installing     : php53-cli                                                3/7 
  Installing     : libXpm                                                   4/7 
  Installing     : php53                                                    5/7 
  Installing     : php53-mysql                                              6/7 
  Installing     : php53-gd                                                 7/7 

Installed:
  php53.x86_64 0:5.3.3-1.el5_6.1           php53-gd.x86_64 0:5.3.3-1.el5_6.1    
  php53-mysql.x86_64 0:5.3.3-1.el5_6.1    

Dependency Installed:
  libXpm.x86_64 0:3.5.5-3                  php53-cli.x86_64 0:5.3.3-1.el5_6.1   
  php53-common.x86_64 0:5.3.3-1.el5_6.1    php53-pdo.x86_64 0:5.3.3-1.el5_6.1   

Complete!
0-13:14 djh@www0 ~$ sudo service httpd start
Starting httpd:                                            [  OK  ]

And now I have successfully upgraded via the web UI.

Most days, I am not a CentOS admin, so if there is a better way to have done this, I am keen to hear.

8 Comments


Sundry, Testimonials

Pricing Truck Rentals: Budget vs Penske

Link: https://dannyman.toldme.com/2011/06/29/pricing-truck-rentals-budget-vs-penske/

[Notes from my move from Brooklyn to Mountain View, CA in July 2010. We rented a truck and towed a car. We drove via I-80/I-70. We stayed at Motel 6 when we could, and I asked my Android GPS to avoid tolls, especially East of the Mississippi.]

When I moved from California to New York I went with Budget Truck rental, based on price. It went well enough. This time I’m going with Penske, based on my sweetheart’s AAA discount. Penske’s web site is more polished, especially the “enter make and model of car to be towed” interaction. Today I received a 20% discount coupon for Budget. I made my reservation and was pleased that the price came out lower, until I reviewed my Penske reservation and saw they had included tax in their total. Budget did not. It also looks like Penske applies the AAA discount per-item, where Budget’s discount was only on the truck itself.

Item Budget Penske
Discount 20% coupon 12% AAA + web discount
10-day one-way 16′ truck rental $1,291.20 $1,250.06
Tow Dolly $185.00 $264.00
Hand Truck $35.00 $17.60
2-dozen furniture pads $54.00 $26.40
“Cost recovery fee” $33.00
Total $1,598.20 $1,558.06

Notes:

4 Comments


Quotes, Technology, Testimonials

Sun, Wind, and Tide!

Link: https://dannyman.toldme.com/2011/06/29/hope-we-dont-run-out/

“We are like tenant farmers chopping down the fence around our house for fuel when we should be using Nature’s inexhaustible sources of energy — sun, wind and tide . . . I’d put my money on the sun and solar energy. What a source of power! I hope we don’t have to wait until oil and coal run out before we tackle that.”

Thomas Edison

Feedback Welcome


Relationship Advice, Sundry, Technology, Testimonials

Cultivate Childhood Creativity

Link: https://dannyman.toldme.com/2011/06/27/ken-robinson-ted-talk/

Trying to get your week going? Can’t quite find your groove? Try and spend 20 minutes with Ken Robinson.

Lots of good humor to deliver a simple and important message. We face an important problem in that we designed our primary education systems to build conformist factory workers. As we rocket ever faster in to our collective future, what we’ll need more than ever is the capacity to formulate creative solutions to our new problems. Kids start out creative, then we educate the creativity out of them. We need to do what we can to help our kids grow with access to the various disciplines which move them, so that they can realize their potential as 21st century human beings.

Feedback Welcome


About Me, Biography, Excerpts, Good Reads, News and Reaction, Politics, Religion, Testimonials

Osama bin Laden is Dead

Link: https://dannyman.toldme.com/2011/05/02/and-good-riddance/

Some folks are irritated with American reactions to the death of Osama bin Laden. Julie indicated that she had mixed feelings upon seeing our “own countrymen basically holding a frat party outside of the White House, hanging off of trees and singing ‘Nah nah nah nah, hey hey hey, goodbye!'” I have heard others moan that this doesn’t change anything, why are we celebrating?

So, I expressed my own feelings in a comment on Julie’s blog:

I was happy about the news yesterday, and I still am. We killed a bad guy who has devoted his life to killing us. That is a victory, and I am proud and glad.

When the crowd outside the White House gathered and sang the Star Spangled Banner, it brought a tear to my eye. Then, America the Beautiful. People gathered at Ground Zero for a candle light vigil. In both places, the crowd chanted “USA! USA! USA!” They spoke for me.

I think it is debatable who kills the most Muslims. Our military adheres to Rules of Engagement that put them at greater risk in order to protect Muslim civilians. On the other hand, extremists recruit the young and naive to walk into crowds of Muslims wearing explosive vests.

We are not perfect and we shouldn’t pretend to be. We make mistakes, we kill innocents, and we have failed to hold ourselves to our own standards of humane treatment of prisoners and jurisprudence.

We are drawing down forces in Iraq, which has changed from a brutal dictatorship built on terror to a messy, unstable, imperfect democracy vulnerable to sectarian violence. We now have one less reason to linger in Afghanistan, which may help motivate the government there to get its act together.

Last night was progress. America done good and a bit of pride is perfectly reasonable.

-danny

I mean, its no Moon Landing. No sincere attempt to curb global warming or end world poverty, hunger, disease . . . but it is progress and I’ll celebrate it just the same.

Feedback Welcome


News and Reaction, Photo-a-Day, Politics, Religion, Sundry, Testimonials

Osama bin Laden is Dead

Link: https://dannyman.toldme.com/2011/05/01/osama-bin-laden-is-dead/

Osama bin Laden is Dead

Feedback Welcome


Photo-a-Day, Sundry, Technology, Testimonials

H4XX0R3D

Link: https://dannyman.toldme.com/2011/04/27/h4xx0r3d/

Within ten minutes, Maggie has defeated the automatic feeder.

Maggie likes to try and wake me up early for breakfast. Spraying her with the water bottle hasn’t dissuaded her, so now I put her out on the porch. I have read that an automatic feeder could distract her attention: instead of bugging me she’ll watch vigilantly over the feeder. And since we’ll be out of town for two weeks in May it would be a worthwhile investment.

Alas, this PetSafe Electronic Pet Feeder didn’t last ten minutes before she was able to break in and get the kibble. I’m proud of her. But I’m looking forward to finding a feeder that will keep her entertained without bothering me in the morning.

Feedback Welcome


Biography, Photo-a-Day, Sundry, Testimonials

Indian Jubilation

Link: https://dannyman.toldme.com/2011/04/02/india-cricket-world-cup/

Fans in Mountain View Celebrate India's World Cup Victory

As I was walking home from the cafe I encountered a growing crowd of shouting, chanting, singing folks waving Indian flags. I googled “Indian Holidays” on my smart phone, then thought to google “India cricket” and it turns out India has just beaten Sri Lanka to win the World Cup.

In my Sophomore year of college I was paired with a roommate from India. Tarun was a very serious EE major who left the room for only three things: 1) classes, 2) meals and 3) the India-Pakistan cricket match. He was a nice guy but since he was always studying in the room he wasn’t an ideal roommate.

Indian ex-pats I meet tend to be really serious, smart, hard-working people, so it is nice to see a crowd of folks reveling in a collective emotional experience. This is a great moment for anyone who has moved so far from home to make their life.

See Also: Indian Spinning Wheel.

Feedback Welcome


About Me, Biography, Testimonials

Experiment: April on $10/day

Link: https://dannyman.toldme.com/2011/04/01/track-daily-spending/

So . . . I’m not an accountant.

I’m trying to get a better handle on my “spending cash” which is managed through my personal account and credit cards. Most “needs” type expenses are covered through our joint finances, so the personal account is mostly discretionary. The problem is I want to reduce my personal credit card debt, and these days the personal account doesn’t get much money to play with, which means I need to be smart and aware with my discretionary income.

About a decade ago I tried managing my spending by writing the date on a series of $20 bills. If I was breaking a bill with today’s date on it, things were going alright. If I was breaking yesterday’s date, I was doing well, and if I was spending a bill with a future date on it . . . well, time to cut back, eh?

This time around I’m thinking to allow myself $10/day. ATMs don’t give out tens, and these days I make some small purchases with the credit card, so I’ll try a different solution: a Google Spreadsheet!

I thought it might be neat to share the progress here, in case other folks are curious to see how this experiment works. You should be able to see the results tally up over the course of the month on the right.

This is by no means a comprehensive thing: I’m not tracking automatic withdrawals (charity, web hosting) or interest on the cards: I’m merely trying to keep my personal spending (the “burn rate”) in check by maintaining an awareness of what’s up. This is pretty much lunch money, small gifts, and entertaining the sweetheart. My rule is going to be that any personal spending I have to initiate I will track. So, I’ll count the $50 mobile phone bill, for the sake of a healthy challenge.

Technical note: I don’t know for spreadsheets, but the formula for setting up the balance column was to start at cell D3 with this formula:

=IF(A3="",,SUM(D2+C3))

This basically means that if the date (A3) on this row is filled in, add the amount (C3) to the previous total (D2). I was then able to “copy” that cell, multi-select all the cells below, and “paste” and the formula got updated each row, as my Excel Guru colleague expected.

Feedback Welcome


About Me, News and Reaction, Politics, Sundry, Testimonials

An Experience at a Tokyo Supermarket

Link: https://dannyman.toldme.com/2011/03/22/report-from-tokyo-japan/

As reported by a colleague in Japan:

An experience at the supermarket

Yesterday, at the cash register of my local supermarket, I was asked by the cashier if I would purchase only one of the two packs of noodles I had intended to purchase. The unspoken implication was, in that way, someone else could have noodles too. Now, from the point-of-view of the supermarket’s profit, it makes no difference whether those two packs were sold to me as an individual, or sold separately. Yen is yen. But as an example of a society sharing its burden (even in this small way), it spoke volumes. I had my hand gently slapped, and was humbled.

I recall a story I heard on the radio, from I think it was Denmark, where a lady needed a medical procedure and was informed that there would be a two-month wait for the service. She explained this to her son, a Doctor, who offered to pull some strings to get her in sooner, and she shamed him because the right thing to do is follow the rules like everyone else: fairness before favoritism.

This sort of thinking in anathema in much of the world, but it is a way of thinking that I really like. I guess its because as a child I was indoctrinated with Socialist ideology at the water fountain, where we were taught to queue and each take an equal share.

Feedback Welcome


Photo-a-Day, Politics, Testimonials

Look Both Ways

Link: https://dannyman.toldme.com/2011/02/10/look-both-ways/

Mountain View VTA Light Rail Station

Today, all eyes are on Egypt. This morning it sounded as if Mubarak would be removed from power, and I felt a euphoria at all the times in my life when I have pumped my fist in the air and chanted with the crowd that “The People–United–Will Never Be Defeated!”

At lunch, we watched the captions on the TV as Mubarak spoke, and said he wasn’t resigning. I have work to do but I have Al Jazeera on in my headphones.

It felt like today could be one of those days when the people triumphed. Not today, but soon.

Feedback Welcome


Sundry, Technology, Testimonials

Cable at $30/mo

Link: https://dannyman.toldme.com/2011/02/08/comcast-hijinks/

So, one of my peeves is companies that charge new customers a lower rate, and then raise the rate after you have had them for a while. I think it is really weird that loyal customers are charged more than new customers. For example, I signed up for basic cable service with Comcast at $60/mo, but paid the introductory rate of $30/mo, which is about the most I’m inclined to pay for monthly television. (And I’m only willing to pay that much because I prefer to live with someone who likes TV.)

Anyway, my rate recently went up to, as best I can tell: $45/mo for the next six months, after which it will go up to $60/mo. “Homie don’t play dat.” So I called them and explained that I was only going to pay them $30/mo, either through them or DirecTV, which both offer new customers $30/mo. They transferred me to some other lady that said that it was $45/mo or bust unless I wanted the cheaper $30/mo package but no more Bravo. I said I’d check with my sweetheart and the lady on the phone said “okay, $30 package for you.”

Not sure if we have Bravo or not, I looked online. Aside from pirating shows, which is inconvenient for the non-techy sweetheart and the old analog television, Amazon.com offers “Top Chef” and “Project Runway” which is what we watch on Bravo, for $2/episode. If both shows are running then we’d pay $16 in a month, otherwise . . . ah and yes, Amazon on-demand service pipes straight through the TiVo: no technical expertise or computer connections required!

So, I think I’m paying Comcast $30/mo now, and if I don’t have Bravo then I’m purchasing shows a la carte. Vivé consumer empowerment!

Update: Comcast got in touch with me due to this post, and switched me back to the six-month $30 rate that includes Bravo. Thanks, Comcast! I guess I’ll have to blog about this again in August.

2 Comments


Biography, Testimonials

Idaho

Link: https://dannyman.toldme.com/2011/01/26/idaho/

My first experience of “Idaho” was hitching a ride to the Rainbow Family campground in Wyoming in a car with Idaho plates driven by a lady who took sips from the bottle of beer she kept pressed between her legs. At which point I concluded that Idaho must be Awesome.

Mind you I haven’t been fooled in to actually going to Idaho.

Some fantasies are best left untainted by reality.

Feedback Welcome


Technical, Technology, Testimonials

G2 vs G1

Link: https://dannyman.toldme.com/2011/01/20/g2-vs-g1/

In a nutshell . . .

The G2 is fast as heck.  It has all the cool new Android apps, and T-Mobile let’s you do tethering out of the box.  We moved our apartment last month and setting up a wireless access point on my phone was braindead easy and plenty fast while we waited for the DSL installation.  Everything works faster, and the battery life is better to boot.

The keyboards has a generally nice feel to it.  But . . .

The biggest drawback is the lack of a number row on the keyboard.  Really irritating to have to press ALT to type numbers.  Entering “special” characters is a bitch-and-a-half.  For example, to type a < you have to type ALT-ALT-long-press-j.  WTF?  Also, I miss the scroll wheel.  There is a button on the phone that sometimes-but-not-always works as a directional pad to surf through a text field but I have learned to stab my thumb at the screen until I manage to land the cursor where I want it.  (What I really miss is the Sidekick 2 direction pad.)

It is a very very nice phone with a short list of dumb shortcomings.

Feedback Welcome

« Newer Stuff . . . Older Stuff »
Site Archive