Archive for August, 2008

Ion3 Window Manager

Monday, August 25th, 2008

Those of you who know me, know I hate window managers and GUI in general under linux. After using nothing but screen for ages and testing a window manager here and there, I finally found a window manager I liked: Ion3.

In essence, Ion3 is screen… as a desktop manager. Based on PWM, Ion3 is meant to be a mouse-less window manager. After playing with it for a few days I was hooked. It’s interface is slim and sexy. It’s lightweight. Most importantly, it doesn’t remove the “command line” feel of screen. With hot-keys for changing desktops, moving and resizing windows, splitting upwards and down, and even hot-keys for launching applications.

The hot-keys for launching applications is really one of my favorite parts of Ion3. Using the F-keys, you can launch applications from a dynamic menu, open an ssh window, or create new desktops. Another great feature of Ion3 is that, while it feels like a command line, you still have full GUI. Firefox runs wonderfully under Ion3. Even flash videos play flawlessly.

I highly recommend trying Ion3. It’s installation is easy and quick. If you prefer a command line this is a great way to add some extra functionality to that command line.

Download: http://www.freshports.org/x11-wm/ion-3/

PWM Information: http://en.wikipedia.org/wiki/PWM_(window_manager)

Windows XP as a router…

Sunday, August 24th, 2008

I’ve recently working in an environment where only a wireless network connection was available, however; 2 of my 3 machines did not support wireless internet. After dealing with not having those machines offline for a while, I finally decided to do something about it.

Materials:

1 Cat5 cross-over cable

1 Windows XP machine with wireless and ethernet capabilities

1 Router (I used my LinkSys WRT54G)

Procedure:

1. Connect to the wireless network with your Windows XP machine

2. Open the network properties for that interface (Control Panel -> Network Connections -> (right click) Properties for the device)

3. Open the advanced tab and enable “Allow other users to connect through this computer’s internet connect”

4. Connect the cross-over cable to both the Windows XP machine’s NIC and the uplink on the router

5. Renew the router’s DHCP

At this point you should be able to plug into the router and use the internet as normal. If this setup doesn’t work, you may need to open the properties dialog for your Local Area Network connection and set it to use the wireless adapter as it’s internet source.

Reading Rainbow: Episode 12

Sunday, August 24th, 2008

While working on my web-spider class for an application I was developing, I did some searching for efficiency of spidering algorithms. I came across this comparison of the depth-first versus breadth-first search algorithms. http://www.leekillough.com/trapopt.html

Using a combination of Javascript and CSS, it is possible to enumerate parts of a user’s history. This site demonstrates this with a “finding your gender” based on which sites you have viewed. http://www.mikeonads.com/2008/…-history-estimate-gender/

The following two links provide a breakdown of file systems based on capabilities (the wikipedia post) and performance (the linuxgazette post.) I’ve been using these lately while re-installing a few machines and have found them to be more than helpful.

http://linuxgazette.net/122/piszcz.html

http://en.wikipedia.org/wiki/Comparison_of_file_systems

Typo-squatting is a well known method of gathering data or presenting spam-sites. This article from TechRepublic gives a few methods for protecting against such a threat. http://blogs.techrepublic.com.com/security/?p=543&tag=nl.e036

This is a handy little web application that will generate your .htaccess file to restrict access based on what country the IP address is from. http://blockacountry.com/htaccess.php

If you are a programmer anything I like I am, you are constantly trying to find ways to better yourself or keep skills sharp. A friend of mine showed me this set of exercises designed to help keep things fresh. http://codekata.pragprog.com/2007/01/code_kata_backg.html