Archive for March, 2009

Joey Stanford

Using BitTorrent instead of a mirror

I’ve been playing around with an experiment using BitTorrent to get my normal updates and install files.   Speed-wise for me, it’s slower than a local mirror (except when the mirror is under heavy load at which point it’s much faster (e.g. beta release)). Note: If you’re not comfortable with the command line, despite how cool this looks, you’ll not want to do it. Stop now. :-)

  1. Install apt-p2p (e.g. sudo apt-get install apt-p2p)
  2. Backup your sources.list (e.g. sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup)
  3. Replace your local mirror with “localhost:9977/”.  Note: DO NOT REPLACE security.ubuntu.com. It probably would work but that would be an unwise security decision. Do not use this Launchpad PPAs.
  4. Do an apt-get update (e.g. sudo apt-get update).  The first update will take some time but future updates are close to normal speed.
  5. You will want to forward the ports for apt-p2p to your system (9977 TCP and UDP) so you can receive regular updates via BitTorrent. If not, you’ll have to get them on-demand which will be slower.

Yes, it is possible to use upgrade-manager to move to the next version of Ubuntu but I would caution against it. It’s much better to just download the .iso torrent, burn it, and do a disk upgrade.  However if you are adventurous, it will work.  To go back to normal, just copy your backup sources.list back to /etc/apt/sources.list (or you can use System->Administration->Software Sources and select a new mirror), uninstall apt-p2p, and run an apt-get update.

Here’s an example sources.list for Jaunty:
deb http://security.ubuntu.com/ubuntu/ jaunty-security universe main multiverse restricted
deb http://localhost:9977/archive.ubuntu.com/ubuntu/ jaunty main universe restricted multiverse
deb http://localhost:9977/archive.ubuntu.com/ubuntu/ jaunty-updates universe main multiverse restricted
deb http://localhost:9977/archive.ubuntu.com/ubuntu/ jaunty-backports universe main multiverse restricted
deb http://localhost:9977/archive.canonical.com/ubuntu jaunty partner

Joey Stanford

The Joey Stanford Conflict Theorem

I’ve been thinking about mdz’s recent posts on leadership and thought I’d present you with the working model of the Joey Stanford Conflict Theorem.

Conflict, in it’s most elemental form, is due to a lack of understanding. Conflict occurs for three basic, often inseparable, reasons:

1) Needs – When someone’s (or some team’s) needs are not met, conflict occurs.  If you find yourself disagreeing violently with someone, and them with you, or you seem to be talking past each other, stop a moment, release the emotion, and try to ask probing questions to uncover what the other person’s need(s) is that has not been met. Then think about yourself, and try to understand your need. Your next task is then to call those needs out and work cooperatively with the other person to address those needs. This is easier said than done especially when the “active discussions” are really “heated arguments”.  This approach though is your exit ramp on the circle (or roundabout) of disagreement and fosters understanding.

2) Values – These are what drive your actions. Everyone and every team has differing values. Sometimes they are closely aligned, sometimes not. We very often chose to do, or not to do, something based upon our valuation of that activity.  When you are overloaded, you often drop the “nice to haves/nice to dos” because they are a low priority. They are a low priority because you don’t value them as high as other things. You can express these values in different ways. Here’s one example:  “I/We place a high value on <some activity or quality> and therefore I/we will <prioritize/mandate/restrict/prevent> <something> so <activity or quality> is ever-present.”  e.g. “We place a high value on code reviews and therefore we will mandate universal code reviews (so code reviews are always done)”  If you do not value something as much as someone else, or vice versa, it opens the door to conflict. This is because the higher valued items become NEEDS and these NEEDS are unmet.

3) Trust – mdz noted that the more you trust someone, the less you tend to communicate. The converse is also true, the less you trust someone, the more you NEED to communicate. If your trust level is low and you can’t communicate often and effectively then you have a NEED that is not met. If the other person is not communicating with you, it’s most likely due to one or more of the following reasons: a) they don’t realize you have this NEED and you should tell them, b) they don’t VALUE communication in the same way you do, or c) they have a NEED which is unmet.

The key to resolving conflict is understanding.  Being forceful, emotional, or withdrawn doesn’t work.  You need to reach out and discover/uncover the cause.

Joey Stanford

Take Me Out to Ubuntu

Phil Shapiro from PC World’s Community Voices blog has done it again. I think he’s missed his calling as a comedian. :-)   This time it’s with Take Me Out to Ubuntu.  Quick link to the ogg file.  More on Phil over at Linux.com.