Archive for February, 2008

Feb 25 2008

Checking for Root Kits

Published by Bill under Linux

For a long time I have used a program called chkrootkit for root kit scanning on Linux. This program recieved a much needed update in December of ‘07. To use it, download the package, extract it, and run make. Finally run chkrootkit > rootkit_scan.txt. After it finishes, view the results in rootkit_scan.txt. This is a really nice tool to add to your security arsenal.

No responses yet

Feb 24 2008

Sun Java on Fedora 8

Published by Bill under Linux

I seem to struggle with installing Sun’s Java on Fedora every time. Here are the quick steps to get it working including the Firefox plug-in. I hope this helps someone.

  1. Download Java from Sun as a self extracting rpm.
  2. Remove java icedtea if it’s installed
    • sudo yum -y remove java-*-icedtea java-*-icedtea-devel java-*-icedtea-plugin
  3. Install Java and answer yes to the license agreement (this is for version 6 update 3, you will need to adjust the filename to match the version you downloaded)
    • sudo sh ./jre-6u3-linux-i586-rpm.bin
  4. You will need the following packages to get the Firefox plug-in to work
    • sudo yum -y install compat-libstdc++-33 compat-libstdc++-296
  5. Now symlink the plug-in (this is for Firefox 2.0.0.12 so you will need to adjust the path for your version of Firefox
    • cd /usr/lib/firefox-2.0.0.12/plugins && sudo ln -s /usr/java/latest/jre/plugin/i386/ns7/libjavaplugin_oji.so
  6. Setup alternatives to point to Sun’s Java
    • sudo /usr/sbin/alternatives –install /usr/bin/java java /usr/java/latest/bin/java 2 /usr/sbin/alternatives –config java
    There are 2 programs which provide 'java'.
    Selection    Command
    -----------------------------------------------
    *+ 1        /usr/lib/jvm/jre-1.5.0-gcj/bin/java
    2           /usr/java/latest/bin/java
    
    Enter to keep the current selection[+], or type selection number: 2
  7. Verify that the correct version of Java is being used
    • java -version
    java version "1.6.0_04"
    Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
    Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)

That should do it. Please let me know if you have any questions or find any problems with this little how-to.

No responses yet

Feb 23 2008

Design Patterns in Ruby

Published by Bill under Books, Ruby

If you are a Ruby nut like I am or you are just beginning in the language, I highly recommend Russ Olsen’s Design Patterns in Ruby.  The book covers many of the original “Gang of Four” patterns from the classic book Design Patterns but it applies all of the Ruby magic that is inherent in the language.  For those new to Ruby, this is not really a starters book, but it does have a simple introduction to the language that would suffice for those with development experience in other languages, especially object oriented languages.  The examples in the book are well thought out and include enough detail to allow the reader to understand the pattern in full, without going too far which could obscure the point of the example.  Congratulation Russ, this is a fantastic book.

No responses yet

Feb 20 2008

5th Computer Graphics Assignment

Published by Bill under Computer Graphics

The 5th project in Computer Graphics class was to create a composition that included modeled real-world objects built solely out of primitive shapes (cubes, spheres, pyramids, and cones). We were also required to incorporate at least one boolean in the composition. A boolean is when you use an object to cut a piece out of another object. The screwdrivers contain many booleans. The handle has the yellow spaces, the circular “dent” near where the blade meets the handle, and the tip of the blade. We were required to turn in 2 separate views of the same scene. The second view is below along with links to both full-sized images. Please let me know what you think.

First view of the 5th assignment

Second view of the 5th assignment

No responses yet

Feb 10 2008

Intro to Computer Graphics

Published by Bill under Computer Graphics

I am taking a computer graphics class this semester. The class teaches basic art principles using computer graphics as the medium. We use Bryce and Photoshop to create our masterpieces. Since I am more inclined to logic than art, this class is challenging and fun. Starting with this assignment (our fourth one), the projects have started to produce interesting results. The project requirements for the attached image were to create an abstract “sculpture” out of primitive shapes (cubes, spheres, pyramids, and cones) that was sitting on a “tabletop” with a wall behind it blocking out all of the sky. It must be created using a single texture on the sculpture and a single texture for the “table” and “wall”. I was really happy with how this turned out. Feel free to share your comments!

4th Computer Graphics Assignment

View the Full Sized Version!

No responses yet