dannyman.toldme.com


About Me, Photo-a-Day

Twins!

Link: https://dannyman.toldme.com/2011/07/07/twins/

Danny and Curtis sport a Silicon Valley fashion sensibility.

. . . and matching glasses!

Feedback Welcome


Photo-a-Day, Sundry

VTA Cup Holder

Link: https://dannyman.toldme.com/2011/07/06/vta-cup-holder/

A hand hold on VTA's light rail makes a convenient place to hook a travel mug

I usually have my coffee at work, but on this morning I brewed at home and took it with.

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


Photo-a-Day, Sundry

Book Donations

Link: https://dannyman.toldme.com/2011/07/05/book-donations/

PLEASE DO NOT LEAVE BOOKS OUTSIDE ON GROUND OR DRIVEWAY

We eased this situation by providing foster homes for some of the books left on the ground.

Feedback Welcome


Photo-a-Day, Sundry

Breakfast Party

Link: https://dannyman.toldme.com/2011/07/03/breakfast-party/

Florentine, waffles and fruits! Oh my!

Feedback Welcome


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


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


Photo-a-Day, Sundry

Tire Failure

Link: https://dannyman.toldme.com/2011/06/20/tire-failure/

You don't see a bike tire do that very often.

For some time I had noticed and been avoiding the weird bulge in my rear bicycle tire. Finally it gave way on my commute. The threads inside the tire appear to have been separating, and I guess I hit something sharp at a weak spot.

I put on my spare tube and made it home. I have since replaced this tire with a knobby road tire, paired with a puncture-resistant inner tube and a puncture-resistant liner. If I never have to change a bicycle tire again it will be too soon!

2 Comments


Photo-a-Day, Sundry

Pie!

Link: https://dannyman.toldme.com/2011/06/19/pie/

Mei's folks were in town for Father's Day, so she made him an Apple Pie, and a pork roast, and other delicious things for dinner.

Feedback Welcome


About Me, Photo-a-Day

Mixed Fish Head

Link: https://dannyman.toldme.com/2011/06/12/mixed-fish-head/

Eat them up! Cheap!

Sometimes I like to wander around in 99 Ranch and have my mind blown.

Feedback Welcome


About Me, Good Reads, Relationship Advice, Technical, Technology

I, Wallace

Link: https://dannyman.toldme.com/2011/06/02/i-wallace/

Last week I enjoyed a great story by Rands, who, as a team lead, had a total communication disconnect with one of his team members. While he enjoyed an easy rapport with Harold and Stan, he just wasn’t clicking with Wallace. At first he accepted things as they were, but soon learned that the disconnect with Wallace was a genuine problem in need of improvement. Rands concluded that the only thing to do with Wallace was to completely unwind his normal assumptions about rapport and “clicking” with a colleague and just get down to making basic communication work. This can be pain-stakingly frustrating, but this is what you need to do when you’re not getting the easy, intuitive connection you want with someone you rely on.

One of the comments (Harry) chided Rands: “Here’s the deal: if your boss asks you to lead, he either gives you the power to sack people, or you don’t accept his job offer. In your case, Wallace is obviously not compatible with you. So you sack him.”

I thought “No–Good engineers are expensive, and it is preferable to learn to steer an existing engineer in the right direction rather than finding and training a replacement.” Other comments pointed out that Wallace wasn’t incompetent or incapable, just that he needed clear expectations with management. Someone named Dave chimed in:

“I’ve been a Wallace, and I’ve also been a Harold, and from my standpoint it has less to do with personality than with context. You can have a poor team dynamic, with no clear leadership and constantly-shifting goals, where everybody ends up isolated in their corner and becoming Wallace, at least in part. Or you can have a good team, where even the most Wallace-y engineer becomes Harold for at least a few hours each day.”

Amen. We each have in us both a Wallace and a Harold. They are Yin and Yang. The Wallace side of my personality wants to get heads down in to the work, but needs to know what to work on. The Harold side takes some time to chat up his manager and coworkers to find work and set priorities, then steps aside and lets Wallace get back to work. Tech workers tend to be more innately introverted, they tend to want a good manager to play the part of Harold, and come back and set clear work objectives and priorities. When things are not going well, unhappy people will tend to revert to their base personalities. For engineers this often means getting stuck in Wallace mode.

Sometimes employees are happy and eager, and sometimes they are curmudgeons. It depends on the context of work and life morale, mediated by an employee’s emotional intelligence. These are variables that can be influenced, allowing for change over time. Management needs to provide a positive work environment with clear goals. Employees need to do our part in building a positive home environment, with positive life aspirations, while also cultivating a greater degree of self awareness. An employee who learns to steer their own craft and deliver what management wants will create a more positive work environment for their colleagues.

Feedback Welcome


About Me, Photo-a-Day, Sundry

Kona Ka`u Peaberry

Link: https://dannyman.toldme.com/2011/05/31/kona-kau-peaberry/

Would you like a nice Hawaiian . . . coffee?

Normally I brew my own coffee at work, but if I get in early and I find the pot has not yet been contaminated, I’ll clean the machine off and brew a pot for my colleagues. This was some peaberry (smaller beans) from the K`au region of Kona, on Hawaii’s Big Island. My final souvenir from the airport in Hilo.

Feedback Welcome


About Me, Biography, Photo-a-Day, Sundry

Goin’ to Get Married

Link: https://dannyman.toldme.com/2011/05/14/going-to-get-married/

Danny walks with the Chaplain into the wedding ceremony.

There are of course way better photos of our wedding day, but this one was taken with my camera, by my Uncle John, who even as a groomsman can not resist the urge to snap some photos.

Also, I don’t have to persuade the wife to post any photos of her that are less than perfect to her eye.

Feedback Welcome


About Me, Biography, Photo-a-Day

Truckin’

Link: https://dannyman.toldme.com/2011/05/11/volkswagen-it/

Dad gives a thumbs up from the driver's seat of a VW bus I rented on Oahu.

Some of my fondest memories of my Dad involve long expeditions in a VW bus. I rented a VW camper bus for a few days on Oahu, and had him pose. Given Dad’s health challenges these past years, to see him make it to Hawaii for the wedding and to enjoy the scenery in an old Volkswagen . . . that’s a good time.

Feedback Welcome


Photo-a-Day, Sundry

Fitting Room

Link: https://dannyman.toldme.com/2011/05/10/fitting-room/

I pressed Uncle John into service as a groomsman. Here we are at the fitting room of the Nordstroms at Ala Moana, after he arrived from camping in the California desert.

1 Comment

« Newer Stuff . . . Older Stuff »
Site Archive