I did this in func-yum before but I  had to do it today with just a pile of files of ‘rpm -qa’ from a set of systems and I put this together for just that purpose.

I realize I could diff the files but then order would matter and for purposes of pkgs on the system, the order doesn’t matter.

http://skvidal.fedorapeople.org/misc/host_pkglist_compare.py

for example:

 


$ python ~skvidal/host_pkglist_compare.py xen05.phx2.fedoraproject.org xen09.phx2.fedoraproject.org
Packages on xen05.phx2.fedoraproject.org not on xen09.phx2.fedoraproject.org

Packages on xen09.phx2.fedoraproject.org not on xen05.phx2.fedoraproject.org
m4-1.4.5-3.el5.1
selinux-policy-devel-2.4.6-300.el5

could make it easier to chase down bogon pkgs installed on your systems.

a sense of perspective

March 16, 2011

I read this today:

Mr. Jaczko’s testimony came as the American Embassy in Tokyo, on advice from the Nuclear Regulatory Commission, told Americans to evacuate a radius of “approximately 50 miles” from the Fukushima plant.

from: http://www.nytimes.com/2011/03/17/world/asia/17nuclear.html?hp

I started trying to figure out what that looks like land-mass-wise and population wise.

drawing a 50 mile circle around daichi gives you a land mass space about 3925 sq/miles (b/c roughly half of the area is ocean) ((50^2)*3.14)/2

that’s 2.7% of the total land mass of Japan.

To translate that to terms Americans can comprehend: 2.7% of the US land mass is roughly the STATE of Colorado.

According to wikipedia japan has a population density of 873 people per sq mile.

so take the 3925 sq miles and multiply that by 873 (guessing it is probably average) and you get 3.4Million people to evacuate.

To put some perspective on THAT – that would be about the same as evacuating the city of Los Angeles, CA.

It’s a nightmare to imagine how you would manage that even if things were fully functional. When things are broken I cannot fathom it.

It staggers my mind.

okay, so I guess I kinda knew them but had never tried them.

 

1.  generate rsa key using openssl or what not

2. have the private key on disk in a .pem file

3. run ssh-keygen -y -f myprivatekey.pem > ~/.ssh/authorized_keys

4. ssh -i myprivatekey.pem user@host_with_pub_key_on_it

simple as pie.

 

interesting

March 8, 2011

in my process for looking up info on android phones I found:

http://www.android-x86.org/

Which lets me run an android instance under kvm if I use the vesa driver.

That’s pretty hot.

 

 

phones

March 7, 2011

Shopping for a cell phone is hard.

really really hard.