Monthly Archives: June 2006

Last Place at Carcassonne

IMG_061706_001.jpgIMG_061706_0031.jpgIMG_061706_0021.jpgIMG_061706_0041.jpgIMG_061706_0051.jpgIMG_061706_0101.jpgIMG_061706_0091.jpgIMG_061706_0081.jpg

This picture says it all! Justin Findlay with some used headphones from the geek trade. I would say it was mostly a DI drive in disguise, but I am only looking at it from one perspective, my willingness to dump 20G of 2G SCSI drives so I don’t have to actually go to the DI. But as you can see, it was truly a free-for-all on spare parts.

I also took pictures of the event for posterity, they can be found here.

In addition, it was really great to finally meet people like Christer Edwards, Harley Pig and Von Fugal among others. The best part was actually seeing members of the families of these people come out and enjoy the cool night air and the outrageous company we all keep. I think its quite an awesome brood we have on places like #utah and the Utah Open Source Planet.

I’d like to comment a bit on the food. It was amazing!! I tried the flank steak that Joseph Hall made, as well as the shish-kabobs done by Gabe. There was some tasty looking sausage roll-ups I saw, but I was too slow to try one of those. So much food was there, we could’ve fed the entire park I think. And don’t forget the ice cream either, althought I didn’t have any, many seemed to enjoy the delightful flavors like peaches and ice cream, fat boys, etc.

I’ve never been to a previous interLUG BBQ, but this one was a blast! I hope more people come and enjoy each others company in person, maybe even a bit more often now that we know where others live a little better. I look forward to next years barbeque with great expectations.

So, you ask, what does that have to do with losing at Carcassonne. Well, let me tell you that although many left between 8-9, a few (about 7-8) of us stuck around and played some board games. In fact, there were two games, one of Carcassonne and one of Settlers, Not sure who won Settlers, but I actually lost at Carcassonne. It was great fun and we didn’t actually leave the party until well after 11pm.

Thanx to all who organized and put this on, you guys are awesome, your hard work does not go unnoticed, at least for this Linux user.


Herlo

Everybody Blogged about UtahBlogger

And I recorded it. Audio is here!

OGG

MP3

Please only download these links…don’t stream them. Also, the audio isn’t perfect, but it works well enough if you have a decent set of speakers, so enjoy.

I will also speak to Jayce^‘s post a little here. I completely agree that the panel was a bit off balance. Over all, the entire conversation was really slighted toward business (with a little politics). I spent 20-30 minutes afterward discussing this fact with a couple of the folks sitting near me and another 20 minutes outside discussing this fact further.

It appears that the first conference was a great success, and I would have to agree. However, I will say that if the future conference doesn’t cover a good sampling of the vast realms of blogging arenas available, it will be a shame. From my discussions with many last night, it became clear to me that a more broad approach is necessary. I sure hope those who run this conference will take this into account and fix what’s broken.

I really do think it was a very good start, its time to watch and see what happens….

Herlo

My T60p is here!!!

After only three days of waiting, and it passing through Hong Kong, Alaska and Louisville to Utah, my T60p is here.

I started playing with it last night, its been so much fun.  Here’s a couple things I’ve enjoyed so far….

ThinkVantage Recovery Diskettes – 7 total just in case I wanna restore that ol’ winders xp I got with it…

Bluetooth – Connected it to my Palm, it’s so beautiful!!

There is so much more I plan to do with it, including installing XEN and several OSes to go with it.

Updates will abound.

Am I a Hotel Snob, or am I Justified? You Decide!!

So recently I went on a trip to New Mexico for work. You know, the normal ‘spend a week in a good hotel’ type week.

I have never before stayed in a La Quinta Inn (for work) and was a little skeptical, but figured it might be a good place to stay. Boy was I wrong!!

Well, first things first, I landed at the NM Airport, rented my car and headed up toward the hotel. Because I hadn’t been there before, I had the rental car agent help me with directions. I do this regularly and usually it provides a direct, albeit sometimes interesting, ride to the hotel. This ride was a little different, in that it wasn’t direct, but it sure was interesting, in a downright slum kind of way. That’s right, my directions took me directly through the slum of downtown Albuquerque, and sadly, my hotel was right in the middle of the ghetto!!
Strike 1, I thought to myself, scary area.

After I arrived at the hotel, I walked in and checked in with the clerk. I received my key, hmm, interesting I thought, a bit out of date, but it’ll do.
IMG_051106_003.jpg

Checking in went well, and I was directed to my room at the rear of the hotel. As I walked up to my room, I came upon this:

Nasty stain in front of my doorway...
Nice! Did someone feel ill one evening? And if so, didn’t the housekeeping staff notice the stain? What’s the deal?

Strike 2, Unkempt hallway at the hotel.

So I got into my room, and sure it was okay. It smelled a bit of smoke and disinfectant spray, the A/C sort of worked and the internet worked okay as well, so La Quinta won there. But with my room, I am not yet done. Here’s my bathroom:

Soon after getting into my room, I got ready to settle in for the evening, and as is customary (when I don’t have a fridge in the room) I headed down to get some ice to keep some drinks cool overnight. When I returned, I realized I had forgotten my key, and so I headed back to the front desk to get another key, which as I found out, they didn’t have. Instead, they had a master key, which of course, they wouldn’t lend me because I wasn’t staff, so I waited patiently while the very flamboyant desk clerk finished his conversation with his boyfriend (actually the conversation was with a hotel “guest”), and then we returned to my room.

He, however, when we arrived, we did not need the key after all. As I realized it later, I had not slammed my door. This was apparently required to shut the doors properly, and since I had not done this, the clerk pushed gently on my door and it opened. One strike for me for not checking first, one strike (3 for those who are keeping score at home) for La Quinta for not telling me to slam the door if I wanted it secured properly.

IMG_050906_005.jpg
On day two, it wasn’t any better. I thought it would be nice to go down for a swim at the “pool”. I headed down to see what the hours where and I was confronted with a sign that said “Closed, waiting for state inspection”. Wow, I said, this gets better and better. After investigating a little further, I took this picture of the pool: (Strike 4!)

IMG_050906_006.jpg

And on day three, I headed down to get some ice. Look what I found. Yappy dogs. Don’t get me wrong, I am not an animal hater, but what kind of ‘hotel’ (and I use that very loosely) lets people keep their dogs in cages outside their room. (I forgot how many strikes I am at!)

IMG_051006_001.jpg

Oh, and it grew!! Nasty, nasty stain!!!

IMG_051106_001.jpg
You decide!! Am I a hotel snob?

My T60 is on its way!!!

So I checked my email today, and noticed my lovely Thinkpad T60 I ordered last week is really on its way.

Here is the status from UPS:

LOUISVILLE, KY, US 06/09/2006 1:45 P.M. THIS SHIPMENT IS WAREHOUSED UNTIL IT IS RELEASED BY CLEARING AGENCY;BROKERAGE RELEASED SHIPMENT. SHIPMENT IS SUBMITTED TO CLEARING AGENCY FOR FURTHER CLEARANCE

Anyway, I am really stoked!! I hope it clears customs soon.
Here’s the specs of my new computer. I plan on really using most of the power too!!

Intel Core Duo processor T2500 2.0GHz

1 GB (667Mhz) DDR2 SDRAM

100 GB 7200RPM SATA HD

DVD-R 24X

ATI Mobility FireGL V5200 256MB UXGA

Plus it has Bluetooth, IR, GB Ethernet, 802.11 no cat, sound (and EVDO wireless wan which I might be able to use when Sprint gets their act together).

I got it for just under $2800, I think it was well worth it.
Here’s a link to the lenovo site for more details – http://tinyurl.com/9cykt

As well, here’s the review at Note Book Reviews – http://tinyurl.com/jx4sb

Getting Skinny (and win cash) at LardWars.com

A while back I posted about creating a new LardWars weight loss competition site. Well, I really haven’t done much with the site. That aside, when Harley Pig posted his “Holy Corpulence” piece recently, it prompted me to invite anyone to join our next Lard Wars competition, Lard Wars II – Revenge of the Lard.

I plan on starting the next competition this coming Wednesday (June 7, 2006), but if someone is interested in joining I will postpone it up to a week. Generally, everyone puts in money and prizes (see the rules here), there is a war prize to keep the competition interesting, plus anyone who meets their goal will win back their personal prize, but beware, there is much you can lose as well.

You can find details and everything else at http://www.lardwars.com

If you are seriously interested, you can contact me. Contact me at blog at herlo dot org.

Coloring and ls

So I was recently teaching the RH033 course in Phoenix, Arizona, when one of my students asked me what the colors meant when running ls -l from their prompt. I knew that the command had been aliased, and that it was actually running ‘ls -l –color=tty’ and I explained this to her, and that’s what I showed. Here is what she got when she ran alias:

[student@station9 ~]$ alias
alias l.=’ls -d .* –color=tty’
alias ll=’ls -l –color=tty’
alias ls=’ls –color=tty’
…snip…

As you can plainly see, I found exactly what I expected. When running ls, she had actually been loading colors by default when in a terminal. “But how do I know what the colors mean?”, she asked. That’s what prompted me to write this blog entry, what do the colors actually mean?

So we did some looking online and discovered that the colors actually derive from the file /etc/DIR_COLORS. This file, all fine and dandy, can be found on most any system (that I have checked, let me know if you don’t find it somewhere) and allows ls –color[=WHEN] to display appropriate colors for certain types of files.

Inside this file, the colors themselves consist of three numerically valued parts; attribute, text color, and background color. Attributes are such things as bold or underscore. Text color and background color should be quite clear. I have included a quick list from the config file:

Attribute codes: 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
Text color codes: 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
Background color codes: 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white

If we were to make symbolic links bold with blue text and a yellow background, we might do something like so:

LINK 01;34;43

There you go, now we know how the colors and attributes are represented. Below is a quick breakdown of the default colors and attributes in RHEL4:

NORMAL 00 – If a format doesn’t apply, do this one, black text on white background.
FILE 00 – Normal file, black text on white.
DIR 01;34 – Directory, bold blue text on white.
LINK 01;36 – Symbolic link, bold cyan text on white.
FIFO 40;33 – Pipe, yellow text on black.
SOCK 01;35 – Socket, bold magenta on white.
BLK 40;33;01 – Block device driver, bold yellow on black.
CHR 40;33;01 – Character device driver, bold yellow on black.
ORPHAN/MISSING 01;05;37;41 – Orphaned syminks and the files the orphans point to bold blinking white on red. (No need wasting two lines here)
EXEC 01;32 – Files with executable permissions, bold green on white.

There are many many more file types and extensions which are defined in this file, but most of them follow this general rule. Please go ahead and review them if you are interested in learning more. In fact, I have included my DIR_COLORS file for your perusing pleasure at the bottom of this post.

Important note: Order is not important with regard to the attributes and colors as the examples above show. It is also possible to apply multiple attributes to a specific file type, this is important when you want to show a file blinking and bold, for instance.

A couple more details remain unsolved however. One is applying default colors, the other is how to change your personal colors while not affecting the defaults(or if you don’t have root access). Lets address these…

Loading Default Colors into the Environment

Just because you changed your /etc/DIR_COLORS file doesn’t mean that the new colors take affect, in fact user interaction is expected. One more step must be taken to make the colors take effect. This step can be done in many ways, however, the quickest is to load them into the environment of your current shell. To do this, make the changes you desire in /etc/DIR_COLORS, then type the following command:

[student@station9 ~]$ eval `dircolors -b /etc/DIR_COLORS`

This command calls dircolors, which displays the environment variables needed for coloring ls to standard out. By wrapping eval around the outside, the DIR_COLORS variable gets loaded into the current shell environment. You now have a new system color scheme.

Other ways of getting the scheme working do exist, including logging out and back in as well as rebooting, but this scheme appears to be the fastest and most reliable. Also be aware that the next time any user logs in, these new colors will automagically take affect, pretty cool, huh!!

If you run “echo $LS_COLORS” from your command line before and after executing the line above, you should be able to see the applied changes.

Individual User Color Schemes

As you might wonder, well now I have my defaults set for coloring, but what if users want to change their own color schemes? Well, lucky for your users, their is a simple way. Just copy the /etc/DIR_COLORS file (its world readable) to .dir_colors of the users $HOME directory like so:

[student@station9 ~]$ cp /etc/DIR_COLORS ~student/.dir_colors

Once this is done, the user student should now be able to change their colors as described above, using this new .dir_colors file.

Final Note

Here is a before and after comparison of the ls coloring I did on my box. I have included several different types of files which should give a good sampling of the changes I have made from the default.

Before (default DIR_COLORS)
lsbefore.png

After (modified DIR_COLORS)
lsafter.png