Archive for November 2006

Programming Humor

November 30, 2006


ImageCloud has a Green Light!

November 29, 2006

I finally got the review back on the ImageCloud proposal. The teacher green lighted it (as the title say 😉 ).

My Proposal:
Project Description:
ImageCloud was born out desperation. I thought the project up after going through my hard drive and finding folders of images that had no clean naming scheme. Like many digital cameras, they had names like DCM234620.JPG. Sure, Windows could rename them coming of the camera, but I don’t (won’t) use Windows.
The benefits of ImageCloud versus other photo album software are that unlike generic albums, ImageCloud takes a more human approach. People don’t usually categorize a single image off a single word. A picture of a forest could be described as “nature,” “trees,” “green,” “photo,” “streams,” or “forest.” With normal directory structures, this would require a large number of folders and sub-folders. This model is time consuming and unnatural to navigate. With ImageCloud, you would ‘tag’ a photo of a forest with the forementioned tags, and any single one would be able to recognize it. Clean, simple, and fast.
Expected Outputs:

  • List of photos matching tag
  • Gallery of photos matching tag (if we get that far in class)
  • Cloud of tags to browse by (if we get that far in class)

Required Inputs:

  • A list of files to store in the database
  • A directory of folders
  • List of tags per photo

Brief Code Description:
The code will consist of a set of procedures (or objects if we get into OOP). They will be responsible for searching through the directories for images [using findfirst / findnext or glob depending on the OS ran on], getting a list of tags per image, writing to / appending the database, and output.

The Response:
“OK, Greenlight.

Excellent idea. Althouh there are many photo albums out there this does have the unique twist that gives it the green light.

I would like a program like this.

BTW, do you envision renaming the files as well?

I do use the XP copy function to do that and create folders with sortable (by date) and descriptive names.
One problem I have with this is that it does not check for pre-exisiting files and will actually overwrite any with the same name – oops if you have also selected the Delete after copy function.
So recommend that you check for that.”

Blogging Clients in Fedora6

November 27, 2006

I did some searching around today. I tried Gnome-Blog, Drivel, BloGTK and another (who’s name escapes me) with the multiple user setup that WordPress uses. So far, I have only managed to get Drivel and BloGTK to work. It looks like Gnome-Blog would work, but it keeps appending /wordpress/xmlrpc.php to the end of what you enter. This is a problem when (in my case) I wanted to enter . Drivel and BloGTK let me enter the whole URL, with out appending anything to my string. In the end, I chose Drivel. It automagically picked up my categories; BloGTK didn’t.

Geekin’ it up…

November 27, 2006 – My favorite is “Hello, World!”

Redone Laptop

November 16, 2006

HP dv6000t:
Operating System : Genuine Windows XP Home Edition
Processor : Intel(R) Core(TM) 2 Duo processor T7200 (2.0 GHz)
Display : 15.4″ WXGA Widescreen (1280×800)
Graphics Card : 256MB NVIDIA(R) GeForce(R) Go 7400 (128 dedicated / 128 shared )
Personalization : FREE Upgrade: HP Imprint Finish/Microphone/Webcam
Memory : FREE Upgrade to 1024MB DDR2 (2 Dimm)
Hard Drive : FREE Upgrade from 40GB 5400RPM to 60GB 5400RPM
Primary CD/DVD Drive : Super Multi 8X DVD+/-R/RW w/Double Layer Support
Networking : Intel(R) PRO/Wireless 3945ABG Network Connection
Primary Battery : 12 Cell Lithium Ion Battery
Printer : HP Deskjet F380 All-in-One
Carrying Cases : Targus Blacktop Messenger Case
Mice & Keyboards : HP Special Edition L2000 Mobile Mouse
HP extended service plans : 1-year HP Accidental Damage Protection with Express Repair extended service plan

total cost: $1,287.95  — after $130 MIR and $120 instant savings

It doesn’t have the graphical horse-power of the other, but the battery life should be a hell of a lot better.

Crazy Pascal Assignment

November 8, 2006

My semester project in pascal is self assigned. I’ve written a proposal letter to the teacher to make ImageCloud in pascal. The python verison is not really even helpful in this besides being a psuedocode for the pascal. This is what I have so far. He hasn’t even green-lighted the idea yet. Here’s hoping…

program FileReader(input, output);


    MAXDBSIZE = 224;
    StrArray = array [0..(MAXDBSIZE-1)] of String;

    pathname : String;
    filelist : StrArray;

procedure glob(var filelist : StrArray);
	s : SearchRec;

        x : integer;
        pathname : String;

        x := 1;
        filelist[0] := ' ';

          Writeln('Please enter a directory to search in:');
        findfirst(pathname + '*.*', AnyFile, s);

	if <> '' then
	  while (x < MAXDBSIZE) and ( <> filelist[x-1]) do

	      filelist[x] :=;

              x := x + 1;

          writeln('No files in that directory!');

        x := 1;

        while (x < MAXDBSIZE) and ( <> filelist[x-1]) do

            x := x + 1;


procedure UserInput;

    inputchar : char;
    foo, jello : integer;

    foo := 0;
    jello := 0;

    inputchar := ' ';
        write('Do you want to [B]rowse, [A]dd, or [Q]uit? >>');

          case inputchar of
	    'a','A': begin

	      jello := jello + 1;

	    'b','B': begin

	      jello := jello + 1;
	    'q','Q': begin

	      jello := jello + 1;

      until jello <> foo;

begin {main}