Monday, April 23, 2007

The Secret - pt 2...


The Stone Manor - Lake Geneva Wisconsin. Sold for $74,000 in the 80's




So I was riding my motorcycle this weekend getting mentally lost for a while.

My Bike is my "golf". I hate the idea of having to pay a bunch of money to play a sport, where an old guy in a cart drives around telling me to hurry up. On top of that, it's a sport I'm not very good at, so it's either "Don't talk to me, I'm CONCENTRATING!" or "Where the HELL is the beer cart??", no middle ground. Finally, it takes SOOOOOOOO long. I only have a couple of days a week to get anything done worthwhile, why would I waste 6 hours on a golf course?

I hit the road Sunday morning early. Not as early as I like, but we (My Bro-In-Law) were gone by 8:00AM. We meandered for a couple hours zig-zagging across Northeastern Wisconsin; Walworth, Delavan, Williams Bay, et.

After a breakfast in Delavan I wanted to get back home, so we decided to take a route out of town that would take us Northeast, away from my home, but pretty scenic, and cut across the area once we got further north. It was a great plan, it looked like a cool route - after all, I planned it using my "Walworth County area map" I got when we walked into the "Delavan Family Restraunt". Yep, nothing but the best for me!

"The best laid plans of Mice and Men"

We ended up totally missing our road, and stuck on some backwoods route that was the COOLEST road. Some country road that wound around, up and down, curves, straights, hills, valleys and scenery! It was Serendipitous - but wait, there's more..

As we buzzed along this road, we finally came to an end at the back end of Lake Geneva, the part people who are visiting, don't go to. We drove along the roads until we popped out on the major highway, and dove to the lake. We cruised along the lake shore, and up "Wrigley Ave". If you ever go to Lake Geneva for the first time, you really need to take time to see the homes on the shore - wow!.

Wrigley takes you past the Stone Manor, a mansion built in the 1870's by a guy who made a fortune in Chicago real estate. It is 18,000 square feet. You may not believe this, but in the 80's this place was sold for $74,000. Yep - back taxes.


As we wound our way up the hill, heading North, ( a route I've driven hundreds of times, since I was a kid), I flew past a new Gate. It was a huge gate, as Lake Geneva Gates go, but this one had big, gold lettering. It said;

"Expect a Miracle"

It was really cool looking. Based on how things have been going, and always lookng out for inspiration and clues, I fully contributed this to my karma. I've never seen it, I've been by there a jillion times, and how could I have missed it in the past?. I got up this morning, and said "heck, I think I'll google it.." and did.

It is owned my a woman, who ownes a company, not one block from here. Not only that, but one of my old employees dated her son! Wierd.....

I'm not sure that there are any underlying cosmic vibrations that may be travelling the earth, but I think it's something..

So here's my "butterfly effect".. I'm posting my experience, I've not had ONE comment on my blog yet. Maybe the moon will be in the 7th house, and jupiter will align with mars, and perhaps the good fortune I've been expecting will come crashing down on me...

In short, from here on out, I will "Expect a Miracle"..

Yep, Ubuntu is Feisty alright..

OK, so over the weekend I broke my PC. Anyone who knows me would not be a bit surprised. I'm a little OCD when it comes to computers, and I am constantly tinkering with them. I suppose if I was born in the 40's, I would be one of those guys with a souped up chevy or something.

I bought a 3D graphics card card from ebay, and installed it over the weekend. It worked just fine, so I pushed in and tried to set up Beryl (think Windows Vista, only better). Well, when I rebooted I got the famous "X windows no longer works, sorry kid, nice try" and a prompt.

Most Linux jocks wouldn't be a bit phased by this, but I'm lost without a GUI. I'm an old time DOS hack, but my memory just doesn't work well enough these days to memorize a new operating system, so I did what anyone else would do. I resigned myself to the fact I lost all my stuff (yea, I know, I should have backups) and re-installed.

I figured that my piecemeal method of getting 3d to work versus a fresh install where Linux handles setting up my card is the better choice anyways. Well, it worked great, and I was up and running again. I flew through my wireless card setup thanks to my trusty USB that had the drivers, and a copy of the web page I used to fight through it the first time.

Once I got it all running, I popped up the "updater", and noticed that "Feisty" had been released over the weekend. Feisty is Ubuntu 7.x, with better support for things like Wireless and 3D. Well, I think you know me by now - I hit "upgrade" and it did.

The download/upgrade process took a little over 3 hours, with minimal babysitting on my part. I re-booted and "wham", it came right up!.. "excellent" (think Bill & Ted)

I had a good strong signal on my wireless, I had the new NetworkManager up and running, it saw my router without any problems, and I jumped into Firefox. Alas, too good to be true. "www.msn.com not found".

After some fiddling, I determined that I have a connection, but no IP addrees. I mis-concluded that I needed my old driver, so I went about de-installing the new stuff, and installing the old stuff. After a second re-boot, I had lost all connectivity. CRAP!

Now, I had to put all the new stuff back, and back out the changes I made. This took a while, as I had to figure out exactly what I did to break it, and what was installed before I messed with it. Lucky I also have a windows laptop that works, for me to look up these issues on the web.

Anywhom....

After hours of messing around, I was about to give up when I came across "dhclient". This is different that the standard dhcp program. Once I had my connectivity back, and could see that I was connected to my router, I popped up a terminal window and typed " sudo dhclient ra0", and "viola", it worked, firefox was off and running.

Now, I had to figure out how to get that command in the startup process. I edited the init file and added it to the end and it worked fine - under KDE, not Gnome. CRAP! again.

Turns out that the cool new NetworkManager only gets in the way on Gnome, you have to remove it for this to work. Hopefully a new version will take care of it. When I uninstalled NetworkManager, everything worked fine.

Now, the real work starts.. I need to rebuild my kid(s) environments too, anyone remember what my 8 year olds Painted Penguins name was??????

Wednesday, April 18, 2007

Shhhhh.. It's a Secret

Ok, something weird and wonderful happened to me today.

I've been listening to "The Secret" on an audio book (if you don't have a subscription to Audible, I highly recommend it ). I don't want to give away the "Secret", but suffice it to say that it re-packages old knowledge in an understandable and motivational form. **SPOILER** I cannot really discuss my impression of the book without giving it away, so if you havn't read it, and plan on reading it, STOP NOW!.

I can do without the spiritual music in the background, giving it somewhat of a voodoo feel, because it's probably a turn-off to anyone without the patience to listen to the first few minutes. There's a whole science of subconscious reaction - and this one tripped my triggers. You need to give it some time.

Once you get past the mystical yoga-like musical track, the book gets to the point pretty quickly.

"The Secret" doesn't break any new ground for me, being a student of "possibility" to begin with. You see, I've already been down this road, and I *know* with 100% of my being, that it works. "The Secret" sort of collects the teachings of the bible, Motivational speakers and writers of old and new, as well as a strong dose of Quantum Physics. "The branch of physics that uses quantum theory to describe and predict the properties of a physical system"

Back in the old days, the 80's, I had being unsuccessful down to an art. Really, I did. My future father in-law (god rest his soul) referred to me as "the bum". He would answer the door, I would ask "Is Cindy here?", he'd yell upstairs "Cindy, da' bum is here, close the door in my face and walk away - such was my life. It actually was a really fun life in that moment.

I was a bartender at night (7 to close), and pretty much drank and played golf during the day. Oh, drank at the golf course too. We would make a bunch of cash from tips, leave the bar around 1 or 2, hit the all night restaurant where I would buy breakfast for all my friends, then get up late, take a shower, make a cooler of lemon aid and vodka, sit out on the pier and tan, then play 9 holes and sober up and finally, go back to the bar.

I was making nada' for all practical purposes. Finally, I decided to go to community college. My High school grades sucked, and I barely got out of there. I was taking a couple of history courses, and political science courses as the most logical direction for a drinking, fun loving manipulator like myself was Politics!.

I wound up getting myself elected to the Student Senate, and that gave me a feeling of self worth that I didn't have before. I quit the bar, and started working at a small computer place. First I learned to build computers, then I moved into sales. I made a whopping 6 grand that year. I got my first credit card too, a "Diners Club" card, I used primarily for cigarettes and gas.

I was watching TV late at night, when I saw the "Tony Robbins" course offered on TV. I was mesmerized. Here's a guy telling me that "He" has the secret to success, and if I bought his program, I could learn it. Things like "Have anyone in your life you want", "Have as much money as you want", "Have great health and happiness". This was the first time I'd ever bought anything over the phone. I didn't tell anyone, I was TOTALLY EMBARRASSED THAT I DID IT!

I can remember *vividly* opening the package. It came to my house in a cardbord box. I was sitting in the parking lot of school, in my crappy old brown mustang with the white quarter panel (I cunched it in an accident), and the red-white and blue hood (loaned it to a friend, he wrecked the hood). Both parts came from the junkyard.

I stuck the first cassette into the player, and got that familiar "da da daaa, da da dahhh, da da da da da da da da daaaaaaa" music, and then heard him speak. What a hyper son of a bitch. This guy was NUTS. Nuts and full of passion... Back then I think I almost turned it off thinking this guy was some kind of fanatical lunatic, and on tape two he would introduce me to Amway.

I listened to the whole program, side A on the way to school, side B on the way home. I had nothing to lose, so I did the "exercises" every day, just as he described them, exactly when he told me to. When I finally got to the "Goal setting seminar", I was a full blown student. He tells you to set goals, great goals, un attainable goals. Just let your mind free, write whatever you think. Short term, mid term, long term. It's a fantastic experience and I recommend that too.

To make a long story short, I set probably 50 goals. Good ones, bad ones funny ones, stupid ones, immediate ones, 5 and 10 and life goals. It took me about 10 years, and I achieved about 80% of them. Some, like being a professional bowler, weren't in the cards. I'm not saying it wasn't do able, I just wasn't as committed as I thought I would have been.

I did set income goals.

At the time, I was making 6k a year, and I made the mental commitment to double my income every year. Here's the rub - I had no idea HOW it would happen, I was just committed to IT happening. See, making a goal like this if your an exec, or someone around money, you can get in touch with big dollars. If you make $40k a year, you know what it's like to have $80k, because you probably have experience with people who do. Someone who makes $40 k however, would really be stretching themselves to commit to making $800k a year with no plan at all.

I made that commitment, I was going to make $100k a year. I was going to make about 16 times my current income in 5 years. Now, if I had the actual resources, knowlege or ability to make $100k at that moment in my life, I would have. You have to understand that this was waaaayyyyy out there for a guy like me. I didn't even KNOW anyone that made that kind of money. My Dad made $40k, and I thought HE was loaded.

I applied the teachings, I stuck to the rules, I made the commitment and through completely unrelated circumstances, I was making about $150k a year. It took me more like 7 years, but I got there.

There is a FANTASTIC speech Steve Jobs gave at Stanford University that is so important and compelling, I suggest everyone read it.



Steve points out that moving forward in life, you feel like you're jumping and changing directions all the time, and you may not trust those decisions. You have to have faith. Because, looking back, each and every "dot" in life will make a perfectly logical path from it's origin to this moment in time. Every "dot" will make sense - perfect sense. It makes NO sense going forward, perfect sense going back. Read it.

Back to the "Secret"....

The book is simply a summary of what Jesus, the Apostles, the Kings of old, Carnige, Mellon, Ford, Brian Tracey, Zig Ziglar, Tony Robbins and the like all know and shared with the world. They call it the "Law of attraction". Simply stated, the "Law of attraction" says that what a man thinketh, so shall it be.

The book goes a little out there, and I'm not sure it's entirely accurate. If you don't read between the lines, you may come away with the notion that just thinking, and making a wish on the universe will deliver.

That may actually be what they intended, but I feel that there is an element of action and awareness that needs to take place. Sure, there's the story of the woman who won the lotto - twice - purely through "wishing and Positive Mental Attitude", and there is hundreds and thousands of stories that are testaments to the power of PMA, mine included.

I believe however, that when you create strong focus, you in turn create strong subconscious awareness at the same time. You need to act on opportunities that present themselves. The universe may provide, but YOU need to recognize that opportunity and make it your own, or you will be passed by just as fast.

I have forgotten all of this over the past 5 to 10 years. I left it behind basking in my successes, not enormous successes - I don't own a movie studio or anything - but great sucess in my own right. I have been miserable and frustrated lately, actually, I had been for the past 5 or 6 years. The funny thing is that it never really occured to me until late, how I even got here. I totally lost touch "wit' da one whut brung me" to use an old phrase.

Last week, I was sitting idly on my porch, and I said "God - please help".

The next morning, I went on line to cancel my Audible subscription and noticed I still had credits. I went to the best sellers section to download a bunch of stuff, so I wouldn't waste those credits before I canceled. Well, the "Secret" was right there. I didn't scroll down to it, I must have hit my mouse wheel or something because the book was right in the middle of the page. I downloaded it.

Finally - my point.

In the book, there is a story of a guy who decided to test the power of "intention". He decided to visualize a feather. Not any feather, he visualized a very specific feather. He said to himself, if the universe brings him the feather, he will believe.

A few days later, while walking into a building down town, when the *exact* feather blew up to him as he was opening the door. A miracle. (yea, riiigghhtttt). I thought about it and said wow, what a coincidence.

This morning, when I went into the shower, I dropped my sweatshirt on the floor, kicked of my pajama pants and started to get ready. For some reason, I have NO IDEA why, I walked over to my sweatshirt, and kicked it.

Underneath it was a feather! Seriously.. a green feather!. I looked around the bathroom trying to figure out where it had come from, the girls had a bath last night, were they playing with something with feathers?. I couldn't find anything. A doll, a scrub brush, soap, water cup, rubber toys, nothing with a feather.

I have that feather in my pocket right now. I'm keeping it as a reminder. I have no idea if it has any meaning or significance, but as Tony Robbins says; "It's a cause set in motion".

Don't tell anyone what's in my pocket though - It's a Secret!

Friday, April 13, 2007

It's all One's and Zero's.

OK, I couldn't resist harping on this subject. Here are two great examples of "Hello World" programs, one in Hex (Hexidecimal - a representation on binary), and the other is actually Binary. If you can compile, run and test them, go for it. I just have to take the authors word for it.

HEX

66 BB 20 01 00
00 E8 05 00 B8
00 4C CD 21 60
67 8A 13 84 D2
74 08 B4 02 CD
21 66 43 EB F1
61 C3 48 65 6C
6C 6F 20 57 6F
72 6C 64 21 00



Binary:

01100110 10111011 00100000 00000001 00000000
00000000 11101000 00000101 00000000 10111000
00000000 01001100 11001101 00100001 01100000
01100111 10001010 00010011 10000100 11010010
01110100 00001000 10110100 00000010 11001101
00100001 01100110 01000011 11101011 11110001
01100001 11000011 01001000 01100101 01101100
01101100 01101111 00100000 01010111 01101111
01110010 01101100 01100100 00100001 00000000

The bottom line is that No matter what you write, it ultimatly becomes all ones and zeros........

Frustration - getting the "knack" of C.. See??

OK, pardon my puns. If you're too young to remember, there was a great 70's band called the "Knack", who played great, perverted songs like "Frustrated". Look em' up on iTunes. If your parents are around, blare "Good girls don't", they'll love it - just don't tell em' I told you to. lol

Anyways, on the to topic at hand; "C". I hate "C", I've always hated "C". I hate "C", "C+", C++" and any other derivation of "C" including my current nemesis "C#" (Pronounced C-sharp).

You see, I've been programming on and off for nearly 25 years. I started out on a Timex Sinclair, writing Sinclair basic. I've written dozens of applications that are in use in businesses including my own for years. Basic is a crappy language, I'll give you that, but I have yet to run into an argument that will convince me I need to write in a lower level language like "C". When I say lower level, I mean closer to the machine. Basic is highly interpretive, the machine has to work really hard to use it.

I've been told by dozens of people that I should teach programming, computers or computer history. If I could spend 16 weeks spinning yarns about Bill Gates, Steve Jobs and the rest of the HomeBrew era computer hoodlums, I'd love it. Teaching doesn't pay enough.

Anyways.

Computers really work on a series of one's and zero's. Everything you do eventually becomes one's and zero's. When you write in Basic, Fortran, "C", or whatever, the computer has to compile that down to something "it" understands. Some languages are easier to compile than others. Basic languages need an interpreter to run, or what is called a "runtime". Without the Basic "runtime", the program bombs. The interpreter converts the language to something the computer understands. When you compile a "C" type program, it's turned into something the computer understands already, no need for interpretation. I take issue with this today. To me, requiring the "VB.net" runtime, or requiring the ".net framework" are the same friggin thing. You need a library eternal to your program.

Programmers like to crab about Basic being procedural, lines execute one after another, unless interrupted and re-routed. Well, so are other languages. Basic didn't have the market cornered on procedural programming. In fact, most business applications were procedural, written in COBOL.

"C" languages are considered "Object Oriented", and when you use them, you are doing "Object Oriented Programming", or OOP. Object languages reflect the real world much better than Basic languages did. Lower level Basic languages like "Visual Basic .net", (pronounced "dot-net) are OOP for the most part. Here's an example of what I'm talking about.

A telephone is an "object" we can all agree on that. This object (the phone) has things called "properties", it can be black, red, white, big, small, plastic, ceramic or whatever. These are the properties of the phone. It also has "methods", things it can do. It can dial, it can answer, it can take a message. Finally, it has "events", things that happen. It rings, it lights up and so on. The core of object programming is just that; Properties, Methods and Events.

Let's consider making a P&J sandwich for instance. This was my first formal "program" I had to write in college (community college). Not one line of code. My teacher wanted us to describe how to make a P&J.

Well, most people said "get the peanut butter, get the jelly, put out some bread, yada yada..". I, on the other hand was FILLED with questions, and my teacher loved me for it. Where the the peanut butter come from?, same with the jelly. Was it in the fridge?, the closet?, a cabinet? How do you "get" it anyways?. Do you grasp it?, what if the door was closed?, what if you looked in the fridge and it wasn't there?. I was thinking OBJECT, but being asked to write PROCEDURAL.

This is the basis of traditional old-school programming. Present a problem, determine what the preferred result is, draw a path to get there, think through every possible scenario that may get in our way, follow it step by step and deal with those issues along the way.

OOP says Present a solution, build, borrow or inherit tools to handle whatever may happen on the way to the solution, and let er' rip.

The procedural way to a P&J may be "go to the closet", "open the door", "look inside", and so on...

Well, the OOP approach is different, OOP says "Get the peanut butter", which fires off an event called "get the peanut butter", which in turn fires off events called "Is it in the fridge" and "is it in the closet" and "is it in the cabinet".

Each event reports back if it found it. If "closet" and "fridge" both find it, maybe a "Crunchy versus creamy" method is called, or a "is this one more full than the other" may be called.

You see, *I* don't *care* how the peanut butter is gotten, all *I* care about is getting it. Conversely, if my wife wants a fluffernutter, does she have to go through the whole process?, of course not, she can use the same "objects" that I did. Those objects are dedicated to the ferreting out of peanut butter wherever it may be.

The traditional "first" program for 99% of the programming population is called the "Hello World" program. Here are a couple of examples:

Basic:

10 PRINT "Hello World"

20 GOTO 10


Simple. Line 10 prints "Hello World", line 20 tells the computer to go to line 10, and do whatever it says to do. This is also whats called an "endless loop". Kinda like "Pete and repeat were sitting on a fence". It never ends. Nor, do you have any control over where it prints it. What if you wanted it to go to the printer?

Now, the computer processes the lines in order, starting with 10. There is no magic to "10", it could be 1, 2, 15, 99, or 1,8907. As long as the next line number is bigger. It's a procedure - one after another until it's done.

Here's the same thing in "C":

#include iostream.h

main()

{

cout << "Hello World" << endl;
return 0;

}


Not quite as simple; It starts with an "include", which tells the computer I need to do something using input and output, so prepare anything I need to do that.

The IOSTREAM.H handles how to write stuff out (Input/Output). In the Basic example, the computer assumed the screen, unless told otherwise. In this case, we tell it the screen.

The second line "main()" is what's called the "entry point", or the start of the program. The "{" (braces) tell the computer that this is a program, self contained, a beginning and an end. Inside those braces, you may call all sorts of other "programs" if you wanted to.

the "cout << "Hello World" << endl;" says; "Console output (the screen), the words "Hello World", and add a carraige return (end line - endl).

The "return 0;" says; "we're done, and we're not giving any thing back".

Same stuff, except this one ends properly.

Now, in "C#":

using System;

class HelloWorld

{
public static int Main(String[] args)
{
Console.WriteLine("Hello, World!");
return 0;
}
}

See????? A little more readable, a little more understandable, but still convoluted.

Now, Visual Basic .net:

'Hello World in Visual Basic .NET (VB.NET)

Imports System.Console

Class HelloWorld

Public Shared Sub Main()
WriteLine("Hello, world!")
End Sub

End Class

Very similar, but no stupid ";" or braces. The last two examples introduce whats called a "class". A class is nothing more than a self contained program. When you "include" something, you are really saying "I want to use the classes that belong to whatever". This way, you don't have to reinvent the wheel.

This is what frustrates me. As a Basic Programmer, 80% of what I want to do is accounted for in the runtime library, and it's assumed that I want to use them. as a "C" programmer, I need to write every stinking thing very specifically. Basic is sloppy, "C" is clean. I'm sloppy.

Take a car builder. If I was a basic car builder, I would say give me a body, make it red, give me some wheels and an engine, an interior and lets drive. Sure, I could modify those things if I wanted to, but for the most part I'm ok with what's provided for me. A tweak here, a twaek there and I'm done. Sure, there are the Farrari and Roll's guys out there, but that's a small universe.

With "C" products, I either have to find the engine, or build it myself. I need to find tires, or build a tire factory, I need to tell the system the exact treads, or find a tread that fits my needs. It's just not as simple. Yes, there is a need for mission critical applications, there are huge systems that need that level of specificness, but for day to day business, VB apps work just fine.

OK, so I didn't make any point at all other than "C" is a pain in the ass to me. That's what's nice about Blogs. I can talk to myself.....

"Do what you do me Frustrated!"...........

Tuesday, April 3, 2007

It's that tornado time of year

Where I live, we have our share of semi annual Tornado watches, warnings, and hits. Thankfully, none have been anywhere near me. The last time I saw a real tornado, it was from a low lying cloud, and it was running across a cornfield. It came, it lasted about 10 seconds and disappeared that quickly.

I, like most of the people my age, spent my early childhood scared to death of tornado's thanks to the Wizard of Oz. My children have followed suit. Nice to know we have the Wiz' to pass unrealistic fears on to our children, or grandchildren and so on.

I remember being a little kid, at a party at the VFW hall (remember when our dads used to party in the parking lot of the hall on into the night and no one cared?) I looked up into the sky, because the thunder had been rumbling, but didn't have any rain yet. As my dad yakked with some guys, I watched as the clouds seemed to be bumping into an invisible wall, they were moving fast, but then went straight up. It was weird. Then I had that eerie feeling where everything goes quiet, and greenish.. I know now that the weird feeling is more or less the fast drop in air pressure, but I was a little kid, all I knew was that something wasn't right. The clouds got darker, and faster, then the whole ball of wax started to roll. First with an upward twisting motion, then it kinda rolled on it's side, and the whole cloud formation sort of lowered down like a space craft. I grabbed my dad's hand and cried, telling him to look up, he looked up, went "huh", and went back to his buddies.

The whole thing came and went in a few moments, and it scared the daylight out of me. I thought we were dead, and I looked at my dad as fearless. About that time I got over my fear of storms. I don't really know if this incident had anything to do with it, all I know is that from then on, not only was I not afraid, I found them to be really cool.

Which brings me to my point; I have a crapload of weather sites on my browser, for watching storms and things. But when you get the actual weather service bulletins, it's like they speak in weather-guy code.

"The storm is tracking so and so, on a line from so and so northeast to so and so from 3z to 12z"..

I would love to have an app that I can sit down to, type in a center point, say Chicago, and the get a list box of all the Illinois, Indiana and Wisconsin cities. From there be able to quick-search the cities and double click on them, and as I do, the app draws lines so I can visualize the line of storms. Also, it would be cool to identify the starting point of a tornado and give it a couple of cities it's passed over, and have it draw a "guesstimate" of the track so I can see it.

I might give it a shot with Google' s Googlemapping API - if I knew anything about HTML/XML. But I don't..

Oh well.

Oh, I wonder if Twister can be the modern equivalent of the Wizard of Oz?.. Maybe I'll sit *my* kids down and watch it - or maybe not.. :)