Hasta la vista baby…

July 4th, 2008

I was using the out of the can 1&1 blog and found it no longer met my needs.
I now blogging directly from www.metalshaperman.com instead of www.blog.metalshaperman.com
I’m leaving this sight up for now. I thought I couldn’t export my posts, but there is a way as you will see

Experiments with tables in 1&1 wordpress blog

July 3rd, 2008

Ok…. This is started as an experiment to see if could generate a 3×3 table using KompoZer and have it work by pasting it into this blog.
cellpadding=”2″ cellspacing=”2″>
This is a test to see if This will 1 space paste into my blog 2 spaces
3 spaces
Result: Failure….
Need to do some research here:
I found this very interesting sight here:
Oh boy….. Do I have a long way to go..
Alrighty I followed this link to the guy who wrote a nice plug in for wordpress.
Soo. I guess to add a table I should figure out how to add a plug in 1&1.
Ohhh…. I just ran across something that explains a few things.  Apparently You can’t access the out of the can blog directly.   I guess this makes sense…  Newbies like me would really mess things up by having directly table access and just drive their tech support (which is pretty good by the way), just totally nuts…..Hmmm. Time to setup a new database

Something new here(for me at least) 1&1 website management on Ubuntu Linux (SSH vss FTP)

June 29th, 2008

I’m trying to figure out how to do some tweaks on my web pages beyond the basic web based “Websitebuilder” on the 1on1 site can handle.  They really give you a great deal on the sign up to get you going, but of course they want to charge for the nicer  stuff.  Can blame them, if it were my business, I’d probably do the same.

Anyway, when you sign up you can specify Windows or Linux hosting package. Since I’m on the Linux kick thats the one I chose.   It’s been a few months, but they sent a CD “1&1 Website Tuner CD STARTER” with the confirmation paperwork.  The irony of this is that the CD requires windows to run.    A friend of mine who makes a living supporting windows based machines had a lot of fun with that one(at my expense).  I’m pretty sure that wasn’t an Opps on their part but I guess I should check. Yep… Just talked to Jackie at tech support and that the way it is….
Since my blog stuff is basically for snicks and grins and I’m on a beyond tight budget, I have no desire at the moment, to hi-grade to the delux( aka $$ )web-based tools.  So I wanted to see if I could download my webpages and see if I could fix them up locally.
Basically searching the ubuntuforum as well as the 1&1 faq’s  I came up with my basic strategy to try out.
I found the following Open Source web tools in the Ubuntu repository downloadable with the Synaptic package manager:
Kompozer:  a WYSIWYG HTML Editor based on Nvu.
Bluefish:  a free software/open source text editor for POSIX-conforming operating systems such as Linux and Mac OS X
Inkscape: a vector graphics editor application. Its stated goal is to become a powerful graphic tool while being fully compliant with the XML, SVG and CSS standards
The GIMPGNU Image Manipulation Program: a raster graphics editor used to process digital graphics and photographs
At this point, these applications are not my personal recommendations, but it seems this is my interpretation of the forum discussion of what some of the best free stuff thats out there to try..

The next step in the process is to get my connection going from my website to my PC.  From my basic research I got the impression that  1on1 offers SSH and FTP.  There may be other options but those are the ones I ran across so far.   I got the impression that FTP is not very secure and that SSH was the way to go.  I’m not an expert such matters which I posted on the ubuntuform and some excellent feedback. [Need to add link site is not reachable at the moment]

Setting up a  SHH connection to the 1on1 webserver in Linux was remarkable easy:
Login to the 1&1 control panel (1&1 website)
Select FTP account(1&1 website)
Select Place->Connect to Server (in ubuntu linux)

Ok…Bear with me here.  I just screenshot the Connect to server form and saved it to my desktop.  Now I just fired up the Gimp (I’m a huge fan of that movie Pulp Fiction) and it makes me smile everytime I think about the Gimp.. anyway…) to crop the screen shot… Now time to figure out how to upload  the image…..
I found this link on the 1&1 site: How to insert Images which seems to be a dead end because you need the good package to use that…. @#%. Hmm…  I just fired my SSH link up and tried dropping it into the static image folder for my site…. Let see if that works…. No it doesn’t..
Try #2 dropping it into the main folder for www.metalshaperman.com
In theory something there should be an image there. Looks Hot darn we’re in business. .My daughter just got home and wants to play dinosaurs….
Later 🙂

Getting side tracked into opensource web development tools

June 29th, 2008

I guess its been a while.  I’ve managed to get myself side tracked a bit.  I currently experimenting with some open source web tools.  I’m giving KompoZer Bluefish,inkscape and the GIMP…..
I guess well see what happens. I haven’t given up on the C++ Opencascade thing…. Just a small diversion for the moment…

A thought on what makes C++ cool.

May 25th, 2008

Ok… I’m definitely starting to get into this C++ stuff.
I guess it helps to be challenged but not totally blown away.
One thought  that I got out  “Thinking in C++”  is that you get the low level bit twiddling capability of “C” and the high level “paint with a broad brush” stuff you get with the object you get with the C++.  Now… that is music to the ears of a hard-core VB6 programmer who likes to occasionally bit-twiddle.
Hmmm.. Now if there was an gnu C++ object that resembled JT’s weapon of choice, the Hierachialflexgrind control, that would really be cool..
I googled a bit and didn’t really come up with anything…. I threw the question out to the programming section out to the ubuntu forum.  It would be interesting to see what they have to say… http://ubuntuforums.org/showthread.php?t=806807

C++ Hello World getting started in Unbuntu

May 23rd, 2008

I’ve been studying a bunch C++ stuff and now I’m starting to hunker down a really work through this stuff.  I’ve been basically going through Bruce Eckel’s, “Thinking in C++” line by line and I’ve gotten to the point where I’m getting ready to g++ with some of this source code examples.  So far in the book he talks about the compiler but not exactly what to do.  ( He doesn’t mention the ./a.out part at this point in book to generate output.)

Anyway maybe it’s further in the book…. But I found this quick wiki link on how to fire up some simple C++ program in Linux :http://gentoo-wiki.com/StartingCPP

Here goes:
jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$ gedit JT_hello_world.cpp
jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$ cat JT_hello_world.cpp
//JT’s Version of Hello World
#include <iostream>

int main ()
std::cout << “JT says Hello world in ANSI-C++ \n Yeah….. It works… \n”;
return 0;

jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$ cat JT_hello_world.cpp
//JT’s Version of Hello World
#include <iostream>

int main ()
std::cout << “JT says Hello world in ANSI-C++ \n Yeah….. It works… \n”;
return 0;

jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$ g++ JT_hello_world.cpp
jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$ ./a.out
JT says Hello world in ANSI-C++
Yeah….. It works…
jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$

Alright… This is something celebrate in my Linux/C++/opencascade project.  Actually having something working more or less on the first attempt….
For some reason, that just seems wrong…. so I’m going to intentional do something wrong to see what happens…..
basically the first gentoo example uses std::cout and in the prior to applying “using namespace std”.  So… here goes:
jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$ cat JT_hello_world.cpp
//JT’s Version of Hello World
#include <iostream>

int main ()
cout << “This should generate an error with the compiler because we don’t have ‘using namespace std’ in the program\n”;
return 0;

jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$ g++ JT_hello_world.cpp
JT_hello_world.cpp: In function ‘int main()’:
JT_hello_world.cpp:6: error: ‘cout’ was not declared in this scope
jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$

Ok... Then... That's more like the stuff I've been used to seeing......
Alrightly..... Now lets put it all together and send the output to something other than a.out
jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$ gedit JT_hello_world.cpp
jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$ cat JT_hello_world.cpp
//JT's Version of Hello World
#include <iostream>
using namespace std;
int main ()
       cout << "Hello again world. I think we've got it and we're off to the next step...n";
       return 0;

jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$ g++ JT_hello_world.cpp -o i_got_it
jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$ ./i_got_it
Hello again world. I think we've got it and we're off to the next step...
jonas@Ubuntu4:~/Documents/Thinking in CPP/Source/C02$
We'll actually first I need to bond with the family, try to sand some drywall and do a few other things first....

8.04.1 and Opencascade

May 23rd, 2008

I was just on the opencascade forum and saw this interesting link on Ubuntu and OCC.
I planning on checking this out a little more in detail later on.

Hunkering down in anticipation of 8.04.1

May 22nd, 2008

Ok.. So American Idol is now over and David Cook as won.
I wanted Mr. Cook to “win” but thought David A would triumph since I thought he had the better performance in the last competition.  Go figure..
Overall, I enjoyed David C’s creative and Zen like calmness in his performances.  Either way, I think both of them did fantastic…

Gee… I wonder what I’m going to do till January?  So far I’ve managed to get the screen resolution more or less working in my better machine and have resolved to be patient and hopeful that the kinks in 8.04 will resolve themselves in 8.04.1.
I played around a little with opencascades MakeBottle.cxx but so far without success.  I think I’m at a point where I need to slow down in order to speed up.  I originally I went through the on-line C++ tutorial[Need to a link here].   It’s understandable  but I think it was a little bit too much to fast to get it to stick in my brain.  Subsequently, I ran across a book in the library, “Thinking in C++” by Bruce Eckel.  It took me a little bit of time to get used to his writing style, but I think this author will be good for me.  His books are also downloadable.   Basically, I can either pickup the hardcopy, or review in my browser.  I’ve gone to basically slowing down reading it line by line.  It seems his style is to basically take a single concept, roughly explain it, build on it and review it.
So… basically, I would call this slow going forward progress which is what I need at the moment..
More Later….

Configuring Hardy Heron the Hard Way

May 12th, 2008

This is nuts.. I was having some problems getting screen resolution to work with my original box, so I went wound up partitioning my XP box which is slightly more modern and had the same issue.  (I couldn’t get beyond 840*680 Screen resolution).  So…… at this point I feel like I’m one of those monkey’s at a type writer banging away.  Suddenly you have Shakesphere.  I have the screen resolution working just perfectly and not exactly sure what I did.

This is the steps that I recall:
I downloaded and installed a native Nvdia driver from the manufacturer.  I used this link as my guide: http://ubuntuforums.org/archive/index.php/t-609006.html
As I recalled the instructions didn’t work. I was stuck in the low resolution mode and I wound up going to system=>Adminstration=>Hardware Drivers.  I clicked on the enable video card, and some how I got into the manual configuration screen.  I scrolled down the lists for graphics cards and monitors, picked out what I needed and there you go.  Based on what I saw flashing across the screen I don’t think I’m using the manufacturer driver, but I’m not sure.
I guess the test would be to see I can get into that manual screen and configure my other box..
Time to save the blog, flip the KVM and see what happens.  No luck yet on this…..
I made a post on Ubuntu… See what happens..http://ubuntuforums.org/showthread.php?t=790348

First Experience with Ubuntu 8.04 LTS

May 3rd, 2008

Ok… In a word no so good.
Started out real nice on the install and then when to heck…
My PC is what I call state of the art….
Gutsy seemed to load right up no problem…
This version so far…. Not so good…
I got the little square boxes starting out… Had to go System=>Preferences=>Visual Effects and set that to none.
That took car of the boxes…
Next on the agenda.. I’m at 640X480 resolution…. Need to work on that. First thread that looked promising on that front is:
Some of the posts are not looking too friendly…. Some one made a point that Gentoo was easier to configure….
One of post made suggestion was studying and understanding xorg.conf before messing with things.
I ran across this link that looked promising:http://www.linux.com/feature/118108
I thought I try the quick non-thinking fix….
I tried to run: sudo dpkg-reconfigure xserver-xorg
I didn’t seem to hurt anything, but didn’t help either…
From the article it looks like the following sections in xorg.conf need to be messed with:
Section “Device”
Identifier “Configured Video Device”
Option “UseFBDev” “true”

Section “Monitor”
Identifier “Configured Monitor”

Section “Screen”
Identifier “Default Screen”
Monitor “Configured Monitor”
Device “Configured Video Device”
I guess the first thing to figure out is what type of graphics card I have.
Seems like I should be able to figure this out without a resorting to looking at archival hardcopy, but this seems to get me there the fastest. I appears I have a Intel 82815 graphic controller.
Googling… I found this link which looks promising:http://ubuntuforums.org/showthread.php?t=731038
Actually this seems to be the place: I810
Learned something new here: lspci – list all PCI devices
Which tells me:
jonas@jonas-desktop:~$ lspci
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82815 Chipset Graphics Controller (CGC) (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 01)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 01)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 01)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus Controller (rev 01)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 01)
01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
01:0a.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08)
01:0d.0 Communication controller: Conexant HCF 56k Data/Fax/Voice/Spkp Modem (rev 08)
‘This is what I thought I had… It just confirms it..
I just ran across this link: http://www.intellinuxgraphics.org/man.html
I get the impression, this is going to be the hard way..
This seems to be something I can clone a bit:http://ubuntuforums.org/showthread.php?t=557566
Ok… This is really start not being fun….
I just booted a live  Gutsy session…  Resolution is fine….
I’m going to try pasting the contents of xorg.conf back into my regular session and see what happens:
# xorg.conf (xorg X Window System server configuration file)
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
# Edit this file with caution, and see the xorg.conf manual page.
# (Type “man xorg.conf” at the shell prompt.)
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section “Files”

Section “InputDevice”
Identifier    “Generic Keyboard”
Driver        “kbd”
Option        “CoreKeyboard”
Option        “XkbRules”    “xorg”
Option        “XkbModel”    “pc105”
Option        “XkbLayout”    “us”

Section “InputDevice”
Identifier    “Configured Mouse”
Driver        “mouse”
Option        “CorePointer”
Option        “Device”        “/dev/input/mice”
Option        “Protocol”        “ImPS/2”
Option        “ZAxisMapping”        “4 5”
Option        “Emulate3Buttons”    “true”

Section “InputDevice”
Driver        “wacom”
Identifier    “stylus”
Option        “Device”    “/dev/input/wacom”
Option        “Type”        “stylus”
Option        “ForceDevice”    “ISDV4”        # Tablet PC ONLY

Section “InputDevice”
Driver        “wacom”
Identifier    “eraser”
Option        “Device”    “/dev/input/wacom”
Option        “Type”        “eraser”
Option        “ForceDevice”    “ISDV4”        # Tablet PC ONLY

Section “InputDevice”
Driver        “wacom”
Identifier    “cursor”
Option        “Device”    “/dev/input/wacom”
Option        “Type”        “cursor”
Option        “ForceDevice”    “ISDV4”        # Tablet PC ONLY

Section “Device”
Identifier    “Intel Corporation 82815 CGC [Chipset Graphics Controller]”
Driver        “intel”
BusID        “PCI:0:2:0”

Section “Monitor”
Identifier    “Generic Monitor”
Option        “DPMS”
HorizSync    30-70
VertRefresh    50-160

Section “Screen”
Identifier    “Default Screen”
Device        “Intel Corporation 82815 CGC [Chipset Graphics Controller]”
Monitor        “Generic Monitor”
DefaultDepth    24

Section “ServerLayout”
Identifier    “Default Layout”
Screen        “Default Screen”
InputDevice    “Generic Keyboard”
InputDevice    “Configured Mouse”

# Uncomment if you have a wacom tablet
#    InputDevice     “stylus”    “SendCoreEvents”
#    InputDevice     “cursor”    “SendCoreEvents”
#    InputDevice     “eraser”    “SendCoreEvents”