Blog Fiasco

April 28, 2009

I love 80 character terminals

Filed under: Linux — Tags: — bcotton @ 8:22 am
Mail version 8.1 6/6/93.  Type ? for help.
"/var/spool/mail/root": 2 messages 2 new
>N   1 root@localhost.local  Thu Apr 16 04:02 254/9139  "LogWatch for localhos"
 N   2 root@localhost.local  Thu Apr 17 04:02 123/4280  "LogWatch for localhos"

Teeheehee. What admin doesn’t want some local hos?

April 25, 2009

Nugget Night update and links fixed

Filed under: Funnel Fiasco — Tags: , — bcotton @ 5:29 pm

A week late, the Nugget Night page has been updated.  These days it seems harder and harder to get to a massive quantity.  I spend the other 13 days trying to eat less, so pigging out doesn’t always mean what it used to.

Also, the links to the large version of the images on the 10 November 2002 chase page have been fixed.  You can now click on the images to the get “full sized” version.

April 20, 2009

The right way to build a web site

Filed under: The Internet,Web design — bcotton @ 11:08 am

Today marks the 5th anniversary of my first tornado, an F1 that struck Jamestown, Indiana.  It was a very exciting day for me, for many reasons.  One of which is that I felt like I finally had some legitimate content to put on my website.  By 2004, I had been making web pages for about ten years.  My first efforts were with AOL’s Page Builder (I think that’s what they called it).  It was  really simple and probably had a total of zero visitors in its entire existence.  By the end of the 20th century, I had discovered Angelfire.  My page on Angelfire was simply a place to store some of the crappy songs and stories I had written.   I had no intention of making it widely visited.  It was mostly a text-based site, including some pages that were made with Microsoft Word (yuk!).

It would only get worse.  In the final year of the millenium, I began developing my page on Geocities.  My Geocities page was everything the Angelfire page was, plus pictures of me and some random photos I took while driving around with my friend Erik.  Oh yes, and it was everything that you’d expect a Geocities page to be:  tiled background pictures, all manner of animated GIFs, superfluous exclamation points.  It captured the spirit of the age as well as any site.

Things began to improve when I went off to college.  I began hosting my site on the University’s servers, which meant I didn’t have all of the begging-to-be-abused site-building tools.  I also had marginally-interesting content, so the GIFs mostly went away.  Development in that first year was mostly done on Microsoft FrontPage (also yuk!), which forced me into a simpler design style.  The best was yet to come, though.  In the spring of 2002, I was hired to maintain my department’s weather data server.  One of the first things I wanted to do was add more products to the website.  I picked up a copy of HTML 4 For Dummies: Quick Reference and taught myself basic HTML.  From that point on, my design tool of choice was a text editor.  Notepad, PC-PICO, vim, whatever was available that let me get my ASCII on.  To this day, the majority of FunnelFiasco.com remains hand-edited.

The next big step came in 2005 or 2006.  Our department printed a CD every year to recruit graduate students.  I was tasked with making some provided updates.  The first thing I had to do was to convert the content from a series of PowerPoint files (okay, seriously?  Who does this?!) into HTML.  With some guidance from our department’s webmaster, I found that Cascading Style Sheets would cut down on a lot of the redundant work (and would make future updates much simpler), so I found some material online and learned CSS.  When I began re-designing FunnelFiasco.com last year, I had to re-learn my CSS, but it was well worth the effort.

So why did I start this post out by mentioning the Jamestown tornado?  It just so happens that yesterday I was driving to the very spot where I saw the tornado develop.  On the drive, I had the opportunity to consider many things, but what I ended up considering was my website.  My storm chasing exploits seem like they’d fit on a blog-type site rather well.  Would it be worth moving them?  WordPress also has static pages.  Could I just make my entire site contained in WordPress?  Or maybe I could make the whole site dynamically-produced.  That might be cool.

After some consideration, I’ve decided that I like how my site works.  It’s not the best, or the prettiest, but it works for me, and I think it works for the people who happen upon it.  I may not be a web designer, but I think when you can sit back and say “this site works”, then you’ve done it right.

April 16, 2009

Getting hardware information

Filed under: Uncategorized — bcotton @ 9:49 pm

A few weeks ago, we had a Sun desktop that stopped giving video.  After some hardware experimentation, we determined that the video card went kaput.  So I thought it might be helpful to get some information on the video card so I could find a replacement (the story ends with a replacement costing $1200, needless to say we decided to retire the box).   So I know how to get all kinds of hardware information on Linux, but Solaris works a little differently.

A Google search lead me to a post on Life After Coffee which told me that Solaris hardware info can be found with the command /usr/platform/`uname -i`/sbin/prtdiag.   So there’s some info, but it wasn’t all that helpful.  I’m sure there has to be better sources, but I haven’t found them.  Other platforms give a lot more information.

On Linux, you can get information from the lspci, lsusb, and dmesg commands.  And the dmidecode command gives you way more information than you’ll ever need.  Want to know the status of the temperature probes on the CPU?

/usr/sbin/dmidecode | grep -A 5 Temperature

There’s several hundred lines of information to be had, depending on your hardware.

MacOS takes the cake though.  The system_profiler command is your one-stop shop for hardware information.  This includes the MAC address of your network cards, something other Unix-like OSes make you do an `ifconfig` to find.  Regardless of how you have to find it, you can parse this hardware information to build an inventory database.  Hooray!

April 2, 2009

What editor should I use?

Filed under: Linux — Tags: , — bcotton @ 8:43 pm

There are many different holy wars to be fought in nerddom.  Star Wars vs Star Trek.  Windows vs Linux vs Mac vs Solaris vs BSD vs DOS 6.22.  Two of the most pointlessimportant happen to be Pirates vs Ninjas and vi vs Emacs.  Personally, I see myself more as a pirate than a ninja.  I’m obnoxious, I make myself known, and I like to drink.  As for editors, I was a Pico man for a long time.  In fact, on my Solaris hosts I still choose pico over vi (vim is my editor of choice on Linux and Mac, although I’ll admit freely that I only know a handful of the commands that make vi so powerful).

Needless to say, I suffered a bit of an identity crisis last week when I came upon a scientific discussion of the editors preferred by pirates and ninjas.  I guess I’m just a double-agent.  That’s pretty cool, too.

Powered by WordPress