Computers blog postings

Computers Postings

Earliest: June 12, 2003Latest: April 29, 2017Total: 101

March 15, 2007

ColdFusion Function

If you are looking for a function like ifDefined for ColdFusion, you won't find it! Its not called IfDefined, its called isDefined. Here's an example code:
<cfif isDefined("Session.login") and EmptySession eq 0 >
  ...
<cfelse>
...
</cfif>

Incidently the above code is one way to reset a ColdFusion session. You should experiment to what works best in your enviroment!

January 10, 2007

Some Red Hat Notes

I was working on Red Hat today and took a couple of notes:

Finding what drives are available on the system

fdisk -l

Mounting the found device

mount /dev/hda1 /mount/somedrive

November 30, 2006

Aqua Studio

If you are having problems connecting to a Oracle Instance using Aqua Data Studio that has a similar tag:

jdbc:oracle:thin:@//58.37.64.169:1521/MyDB
On a Macintosh you are best to use SQLGrinder. I have found that Aqua Studio doesn't handle service name varient too well.

The Oracle thin driver supports two variants of the database specifier: the service name and sid variants. Oracle highly recommends using the service name version of the connection URL. In fact they no longer describe the sid version in their current documentation. We describe both because some users may be more comfortable with the traditional sid over the new service name.

November 7, 2006

Package javax.servlet does not exist

Package javax.servlet does not exist
Apple.com says: For some reason, the necessary packages are not in your classpath. Debug your classpath to make sure the javax.servlet.* classes are there. If the classes are not found, the resolution is to download the servlet.jar and put it into /Library/Java/Extensions or in your classpath. The servlet.jar can be found with many open source distributions (such as tomcat).

Update
This morning I got the above message, but it turns out that the classpath in build.xml file was pointing to the wrong directory. If you are getting the above error, make sure that your classpath in build.xml is set correctly.

October 19, 2006

xD Picture Cards

It's amazing how quickly card readers have come down. Here's three orders that I placed in the past few years.

December 31, 2004
Sandisk 512MB XD Picture Card Retail @ $85.00

February 10, 2006
Olympus 1GB XD Picture Card Retail @ $73.99

August 24, 2006
FujiFilm 1GB xD-Picture Card Retail @ $39.99

Today the 2GB xD-Picture Card retails for $65.87 at Amazon. I wonder what the price will be like a year from now.

September 15, 2006

G4 Computer in 2001

G4 2001


Wow has times have changed. The above is the root level listing of my G4 400 series computer on January 21, 2001. This shows you all the applications that I used all the time on my computer.

What I thought was cool then is no longer cool today. What ever happended to CD Master, Fusion Recorder, VideoShop. Six years from now, I wonder what I'll be thinking of the applications that I use today.

The main use of this computer was for video encoding, that's why you see a lot of video applications, such as Video Shop, Media Cleaner and Fusion Recorder.

A lot of thought went into ordering the applications on the main window. The way the listing works is:

  • Top Row are all the Root Folders, including the System Folder.
  • Second Row contains all the importaint applications that I use. With IE, and BBedit being the most frequent.
  • Third Row has all the secondard Applications. Netscape is first because it flows better having it below IE.
  • Forth Row contains Utilities and Video Applications.
  • Fifth Row has all the fun apps
  • Six Row are rarely used but essential applications. Anarchie is on the bottom row because I didn't do much FTP on this computer since I only had dialup access.

September 14, 2006

Napster Revisited

Napster

I found the above graphic file in my CD collection. I remember taking a snapshop of it hours before the announcement came that they lost the court decision.

Napster was a great service and I was able to download lots of music that I had on Audio tapes but not on CDs or on the computer. It also made it easy for new artist to make it big with the need for the big record labels.

September 13, 2006

Beware the naked man who offers you his shirt

Quotes/Notes from Harvey Mackay from his best seller, "Beware the naked man who offers you his shirt"

What matters with anything you intend to use is what you can do with it, not what you can get it for. If I had played it smart, I'd never owned the property, or Mackay Envelope, for that matter.

A dream is always a bargain, no matter what you pay for it.

I've kept notes on every out-of-town trip for as long as I can remember. Not the usual stuff about what hotel to stay at in each city, but much more detail than that. What floor to stay on and even what room to ask for. Will it be an ocean view or mountain view? Every hotel has it room overlooking a mine shaft or next to a dumbwaiter or that were skipped over in the last renovation.

Intellectuals - Paul Johnson

PR people are experts at papering over weaknesses and making them appear to be strengths.

"Would the number-three brain surgeon in the world retire?"

"I have not failed once. I have succeeded in proving that those seven hundred ways will not work. When I have eliminated the ways that will not work, I will find the way that will work"

Failure is an attitude, not an outcome.

September 10, 2006

Tieng Viet

Want to have a little fun with Mac OS 10.4?

Create a new folder with the following file name:

TiengViet Folder

Use the Charater Pallet to help you get the right charater set.

Now try to delete the folder.

You can't!

August 15, 2006

Epson Stylus CX7800

Just purchased an Epson Stylus CX7800, and the initial reaction is that its a very good printer. This printer is to replace my Epson Stylus 880 and Canon N650U scanner.

There's two reasons why I wanted to replace my old printer. First its about 7 years old, and second I wanted something that would allow my to scan images.

I have an old scanner and having a printer and scanner on my computer desk was taking up too much desk space.

Having an all in one unit is great because it means that its one cable to my computer, freeing up 2 USB slots. Before I had a printer, scanner and a Memory Card Reader connected to my Macintosh. Now the CX7800 does all with one USB cable and one power cord.

The only thing that recently noticed is that there isn't mention in the documentation that this is in fact a USB2 printer! That means that the built in memory card reader replaces any USB2 that I was using before. The computer instantly recognizes when I insert a card.

It was pretty easy to configure my Macintosh G4 with this printer, and scanning works great with Photoshop CS2. I still haven't been able to figure out how to do borderless printing from Photoshop or iPhoto. Hopefully that won't take too long to learn.

Printing does seem a little slow, but the quality is great! I need to configure disclabel so that I can print really awesome labels.

I selected the Epson CX7800 over others because I didn't need to have a fax machine. I don't send that many faxes and there is excellent fax capability built right into Mac OS 10.4.

At $140, its a good deal! It replaces a printer that cost me $99 in 2000 and a $45 scanner both bought a Frys in Campbell, California.

Download some Macintosh icons I created for the Epson Stylus CX7800