Top 9 _Ooops_ Moments

Posted by John Tue, 27 Jul 2010 14:30:00 GMT

Below are a few incidents that I’m personally aware of which impacted a few different projects. Some are from my personal desktop to production dispatching systems with 20K+ users to some that impacted a space shuttle launch data.

People like Top 10 Lists, but I could think of only 9 near disasters. Perhaps something interesting will happen this week? ;)

Ooops – beep, beep, beep ….

Editing GUI Settings in Linux or UNIX

Posted by John Sun, 20 Jun 2010 21:00:00 GMT

Today a friend sent an email with a Gnome helper app to setup a panel so remote ssh logins could be added to the Gnome Panel. There are lots of applications, or applets, like this out there. They all read and edit config files and provide a GUI to do something that has been possible for years and years. I guess if you are new, then having a program that edits configuration files before you’ve learned to use a UNIX editor is a good thing. Noob-friendly editing is good and reduces the perceived learning curve for Linux. Long-time users know that having a program to edit simple configuration files isn’t needed. You can edit them yourself and accomplish amazing things.

Some background reading on X/Windows. Here’s an architecture image as a reminder:

Recall that the X-Server runs on the desktop and that the X-client runs on the other, sometimes remote, machine sending requests for to the specific screen to be displayed. Also, you can run many X-servers on a single machine, even if they are not physically displayed.

Nothing is New

Do a google search on “fvwm screenshots” to see what I mean. This one or one very similar has been displayed as long as I can recall using fvwm. fvwm has been around since before I started using UNIX/Linux in 1993. I didn’t find it until 1995 when it was a pioneer in virtual desktop capable window managers. At that time, people were still using wmw and twm, yes, people actually used twm. When you first started using FVWM, you wanted to configure the menu for your local needs. It was easy to get going quick and setup remote logins to other systems for everything, including telnet, ssh, email, web browsing, editing files, running desktop word processors … whatever. Today the GUI settings are still maintained inside text files and these can be customized manually. Sometimes there are a few more steps since GUI programmers today like to take a simple concept and turn it into an environment that requires many, many more config files. Still, manually adding menu items to a panel for Gnome, KDE, XFCE, or LXDE is relatively easy.

Using Matroska - mkv - Media Containers 1

Posted by John Sun, 23 May 2010 00:38:00 GMT

The Matroska container format for video has become popular over the last few years because it merges a number of good ideas and let’s a single file contain multiple video, audio and subtitle streams. No longer do you have to keep multiple .vob/.mpg/.avi.mp4, and multiple .sub/.srt/.idx files to have 3 different audio and subtitles. All of them can be placed into a single .mkv file. For me having the subtitles efficiently contained inside the same file is good, but the real, fantastic reason that MKV containers are brilliant is you can easily correct aspect ratio issues without re-encoding.

Here’s another article for why you should also use MKV if you’d like more specifics.

There’s another nice bonus. In my testing, the .mkv files are always smaller than the .avi files from which they are made.

Jumping into the How-To

Blog Spammers Hit

Posted by John Sat, 17 Apr 2010 13:39:00 GMT

Blog Spam

I’ve noticed the number of blog spammers have increased significantly in the last 2 months. They use general “good job” or “nice work” comments, then leave their email and commercial weblink. I assume these are spam-bots – automatically doing it.

Moderated Comments

Since all comments are moderated here, I’ll do my best to weed them out if they aren’t related to the posted article. Only on-topic links will remain and generic posts will not be allowed. It isn’t like there are hundreds of spam posts daily. I know this will reduce the number of comments, but that is the price for non-spam comments today. Sorry. If you’re comment is on topic, it will be posted. Basically, any comment that is remotely on topic will be posted. Just those that are commercial or links to unrelated content will not be posted. For example, if the post is about virtualization and you provide a comment with links to an online vitamin store, that will not be posted. OTOH, if links in comments are to other articles on virtualization or even commercial virtualization products, then it will be allowed. The decision of moderators leans towards posting comments when in doubt.

Test Messages

I guess some people don’t want to bother writing a longer message if it won’t be posted. I get that, but a test message is not on topic either and won’t be posted. How does that comment add to the conversation?

Further, I’ve disabled comments for older articles. I don’t recall the actual cutoff day. It is probably 90 or 120 days, so it won’t impact the few, loyal, readers. Those articles do not have any way to enter any comments. If there is a comment field displayed, then your comment will be seen by the moderators.

Hello, Nice Article and other non-related comments were allowed previously, but are not going forward. Sorry. Those do not add to the conversation.

English Only Please

This is an English language blog. While we like worldwide viewers and understand that not everyone reads English, that is simply a limitation of our skills. I have translated some non-English comments previously. None were on-topic to the post. We may attempt to translate comments again, but you can visit translate.google.com just as easily as we can.

No Sign-up Required

We do not require any sign up to post comments. Heck, we don’t really want your email address either. An alias is preferred. If you leave an email address or web address, it will probably be included in the comment and publicly seen. That seems to be the way this software works. Our systems do log IP addresses, just like every other system out there does.

Example Blocks

A few of these spammers have been blocked at the router. Sure they can come from a different subnet, but I bet they won’t.

The financial planning and foreign internet diamond sellers are the funniest. Blocked.

Automatic Moderation

I’ve looked into viable solutions to allow non-moderated comments here and didn’t find one that I was willing to implement.
Here’s a site from 2005 with specific ideas to reduce, if not eliminate internet marketing on blogs. About a year ago, I came across another site where the blogger had placed a static Captcha with an simple arithmetic problem inside the image. The answer was always “42.” He never changed it, Never, yet it prevented 100% of the blog spam. I may introduce that here.

If I were running MT or blogger or some other highly popular blog tool, then I’d have a bigger issue. Since I’m running a little used Ruby blog with few internet users, I’m fairly safe just like Linux and Apple are safe compared to Microsoft.

Today, we are manually moderating comments about once a day.

Comment Edits

Occasionally, comments may be edited by a moderator to remove offensive content. We will say in the post that it was edited. Cuss words will probably be removed or exchanged for #$#%. Keep it clean, please.

Exceptions

We are people and regardless of the statements above, there will be exceptions for posting and not posting. Friends who post can say almost anything.

Automatic QuickStream Fix Processing for VideoRedo Plus 2

Posted by John Fri, 02 Apr 2010 13:08:00 GMT

Here’s a little program that automates Video Redo Plus Quick Stream Fix, QSF, processing.

Perl CPAN Made Easy

Posted by John Mon, 15 Mar 2010 15:10:00 GMT

CPAN, the Comprehensive Perl Archive Network, contains 10,000+ different Perl modules. All of these work just about the same to get installed on a system. That’s because Perl programmers use a standard package for distributing software that includes the code, tests, and manual. Below I’ll show the general way to build and install most perl modules, including those with external, non-perl, dependencies. Then I’ll show how to automate this with CPAN.

Best Articles Here on Technology, Finance, Investing

Posted by John Thu, 04 Mar 2010 20:07:00 GMT

Over the years, I’ve been using this blog to help myself remember how to do things and to share some great tools and techniques with you. I figure it is time to recap some of those articles whether they are computer, financial/retirement, or just interesting things.

New Server Build - Part 2

Posted by John Thu, 04 Feb 2010 22:03:00 GMT

So with all the equipment here, I began the server build. Refresh your memory for components by reading New Server Build – Part 1.

The Old Machine

Before beginning this build I booted the old machine; it was running FreeBSD previously. It had an Athlon 1800+XP CPU, 2GB DDR RAM and AGP graphics. It also had an S3-Virge PCI video card AND an SMC 1000base-tx GigE NIC. Both the NIC and video card were reused in the new server build.

The old machine also had (3) IDE devices – (1) DVD-RW and (2) WD 250GB disks. The motherboard only supports 1 IDE cable, so I’ve connected it to the DVD and 1 of the disks. At some point, I need to boot off USB or get/scrounge a SATA boot disk. I do have a spare 3.5" 1GB SATA, but that is used for weekly off site backups currently. I’ll probably try using a 2GB SDHC flash drive for boot since the host OS only runs the hypervisor.

Bad Parts

New Server Build - Part 1

Posted by John Wed, 03 Feb 2010 14:23:00 GMT

I’ve needed to build a new server for about 6 months, but delayed spending the money as long as possible. I’ll be reusing many old components and have purchased the main new items listed below.

Server Purpose

Top Old School UNIX Tools I Can't Live Without

Posted by John Wed, 27 Jan 2010 14:58:00 GMT

  1. tcsh – the one true shell (bash is workable)
  2. ssh
  3. perl
  4. locate
  5. vim
  6. cron / at
  7. aliases – mainly to correct common misspellings
  8. egrep
  9. pushd/popd
  10. find
  11. man