The Ron's Blog

Ok this is where I'm putting the HUMOR and other NON-Technical Rants. Ok I call it humor. Others might not.... Whatever your view point. You have your right to it. So try to enjoy. That is my intent. Life is too short not to laugh.

My Photo
Name:
Location: National Park, New Jersey, United States

"The Ron" is very into his wife Cindi and his home life. They've raised some really cool children who are tech savvy. I'm a major computer "geek" myself who started on hardware side of analog and digital electronics in late 70' and early 80's. I'm currently programming in C# (C Sharp not C Octothorp). I started in software on PC side with CPM and DOS 1.0 using Assembler and C. I'm currently a software developer working in Business Intelligence and Enterprise Software Development with a Fortune 100 company. I like outdoor nature stuff, cooking on the grill and comedy of all types. This helps balance the hard core geek in me. Oh yea... Semper Fi !! "You can take man out of Marine Corps but not Marine Corps out of man."

Wednesday, August 23, 2006

One of Those Rare Great Moments in History?

There comes that time when you have that one car that you use for driving only to work.

These cars can have many names; Betsy, Rover, Junker, etc....

In my case it is "Skateboard". It is a Chevy Metro. Yes that is right....

Very small and great on gas. I drive a minimum of 65 miles round trip to work.

So great on gas is good. Have you noticed that cost of a gallon of gas and cost of a bridge toll manage to stay about same cost.

There must be a conspiracy there. Ponder that one.

For now I'm celebrating. Last week I stopped at my wife's office on way home from work.

You see a monumental event was close.


















With advent of digital cameras on cell phones now, recording "Those Rare Great Moments in History" like this one is easy to do.

One only has to be more aware of such important events.

I thought it was a great reason for stopping by to share with my wife and her co-workers.

You know some people just don't find this kind of thing impressive. Wonder why?


So I'm sharing moment with Internet by posting it here for all to see.


















I hope you found it as satisfying as I did. My car is happy that I recognized the accomplishment and has managed to continue to carry me to work after this event.

I'm glad.... Because my Jeep would be using at least four times gas that my little Metro.

So my wallet is happy too.

Enjoy!
The Ron

Tuesday, August 15, 2006

FOR DEVELOPERS - USING SQL SERVER 2000 AND 2005 SIDE BY SIDE

Ok everyone here are the HIGH LEVEL directions for using both versions of SQL SERVER on your development box.

As you all know you can install and use Visual Studio 2003 and 2005 on the same computer and they will play nice.

It can be that easy with SQL SERVER if you follow this basic over view.

What I'm going to describe is for those of you who have installed SQL SERVER 2000 several times in your developer lifetime.

For our purposes lets assume the computer your installing on has NOT had SQL SERVER installed on it yet.

We are going to install both in to their own NAMED INSTANCES called SQL2000 and SQL2005. (original huh?)

We will be installing ALL FEATURES.

For SQL SERVER 2000 you could likely do this with entirely with the default instance and rely only on the SQL SERVER 2005 to be the named instance.

You will install Analysis Server 2000 in it's default location since it does not do named instances.

First you install SQL SERVER 2000 with all patches in a named instance called SQL2000.
Then the Analysis Server 2000 and patches in the default instance.
Followed by the Reporting Services with patches in to the SQL2000 named instance.

Next you install the SQL SERVER 2005 selecting all features into a named instance callled SQL2005.

During the initial stages of the a setup be sure to select any option that say migrate and NOT UPGRADE.

For the reporting server select the option to "configure the report server later"
(READ THIS FIRST: http://msdn2.microsoft.com/en-us/library/ms143520.aspx)

When you are done your directory structure should basically be like this.

Microsoft Analysis Services 2000

C:\Program Files\Microsoft Analysis Services - SQL Server Analysis Server (SSAS) Only installs as default. No Named Instances

Microsoft SQL Server

Default Folders

C:\Program Files\Microsoft SQL Server\80 - Default Binaries and Tools Area

C:\Program Files\Microsoft SQL Server\90 - Default Binaries and Tools Area

SS 2000 Named Instance Folders (called SQL2000)

C:\Program Files\Microsoft SQL Server\MSSQL - SQL Server Reporting Services (SSRS) 2000

C:\Program Files\Microsoft SQL Server\MSSQL$SQL2000 - SS 2000

SS 2005 Named Instance Folders (called SQL2005)

C:\Program Files\Microsoft SQL Server\MSSQL.1 - SQL Server 2005

C:\Program Files\Microsoft SQL Server\MSSQL.2 - SQL Server Analysis Server (SSAS) 2005

C:\Program Files\Microsoft SQL Server\MSSQL.3 - SQL Server Reporting Services (SSRS) 2005

In this configuration I'm runing Two flavors each of Visual Studio, SQL Server, Analysis Server and Reporting Server.

This allows me to have all my older tools for production and development work. I can work in both .NET frameworks, upgrade cubes and migrate all kinds of things.

Life is grand.

So enjoy!

The Ron

Thursday, August 10, 2006

PICKLES GARLIT STYLE!!

Ok... So one of the things on "The Ron's" list of things to do has been to make pickles. Yes.... he normally makes candles as a form of destroying things while being constructive. (You get to MELT WAX and play with fire and you get something out of it)

So We've been building up to this. Collecting the materials and stuff like that.

So with "The Boy" somewhere between Detroit and San Francisco we made PICKLES!!

Prepare the Pickles.


































Stuff the Jars while boiling up the pickle juice.



















Look finished Pickles!! (Well after they set for six weeks anyway.)


















So next on the list is making wine.

When the daughter moves home. (There is a opening ... he he he)

Enjoy!

The Ron

LET'S ADD TO THE STRESS TODAY!


















"The Boy" made plans to fly to San Francisco this evening to spend the weekend with his brother the software developer.

Just when the British bust up a plot to blow up commercial aircraft in flight!!

So the United States is on HIGH ALERT!

So are the parents of everyone flying today are STRESSED OUT for sure.

:-)

Good luck to all and safe trip to anyone flying.

The Ron

PS.. I'm refraining from further comment. I am Marine Corps... need I say more?

Why is it?

Everyone has that thing they can't do or near.

So I ponder WHY IS IT that I can fix high tech medical electronic equipment, write enterprise software and do all kind of home construction type projects.

BUT!!!

You get me near anything that has a GAS ENGINE in it and I make it worse if I try to fix it.

Now with three vehicles going down in two weeks time I decided to fix one myself.

Seems the others I could drive to the repair shop.

But I had to try and save some money on "The Jeep".





















Need I say more. :-(

The Ron

Meet the TWINS!



















With all the kids growing up and leaving the house we got new ones. These make less of a mess. HA HA HA!!

Only kidding....

These guys are headed to being part of the fall window dressing.

The following is a sample of Easters theme.























Enjoy!

The Ron

Tuesday, August 08, 2006

You Might Be A GEEK!

This is part of what I'll call my "Favorite's Posting" I plan to occasionally post about people I respect, places I go and sites I frequent when I want to find out some of those more special bits of info.

Please do yourself a favor go check out Sam Gentile's blog at the link following this.

--------- Sam Writes -----------------

Eric Sink: Marketing for Geeks and Clues You May Be a Geek
Eric does it again! In a brilliant essay, Geek Gauntlets, he states, “You're a geek, and before you can get competently involved in marketing you have to admit that you are not normal. :-) Your geekiness is your strength, and it makes you a good developer. But there is a time to talk about what normal people want. “

How true and often we forget that we are in this business to sell our stuff to business ueers. Then there is his Top 8 list:


Top Eight List:
Clues that You Might be a Geek


0 -- You number things from zero instead of one, because that's what a C programmer would do.

1 -- You love numbers that are powers of two. Instead of "Top Ten" lists, you do "Top Eight".

2 -- The word "blog" doesn't sound stupid to you anymore.

3 -- You still don't understand why anyone would name a pharmacy after a version control system.

4 -- You plan to give all your children names which are expressible in hex.

5 -- You think the nominees for best actress this year should be Trinity, Mystique, Arwen, and T-X.

6 -- You know at least one person whose computer has less RAM than your video card.

7 -- This holiday season, instead of emailing your greeting cards, you're planning to just publish an RSS feed.

Man, I exhibit quite a few of these-)

posted on Thursday, August 07, 2003 8:21 PM at Sam's Site.


This was an echo of Sam Gentile Blog (http://samgentile.com/blog/archive/2003/08/07/9356.aspx)

Learn about the Man and his work at
His main site is http://samgentile.com/Default.aspx

Enjoy!
The Ron

Monday, August 07, 2006

Meet the Patterns and Practices GURU!

If your a hardcore programmer and a Microsoft type then you can't go wrong listening to the ranting of this guy.










P&P GURU Ron Jacobs!

He is the Architect Evangelist in Microsoft's Architecture Strategy Team team based in Redmond, Washington

Check out his handy work at

His website....
http://www.ronjacobs.com

His blog....
http://blogs.msdn.com/rjacobs/

Patterns and Practices LIVE!!
http://pnplive.com/

Enjoy!

The Ron

PS... He has a great first name too.

Visual Studio 2003: Insert Connection String Macro

In order to have a handy connection string creator added to your VS.NET for figuring out and inserting a string just where you need it in your code. I'm supplying this handy macro.

First....

Access the Visual Studio Macro Explorer and create a module.











Insert the following code in the module.

Imports EnvDTE
Imports System.Diagnostics

Public Module Module1
Public Sub InsertConnectionString()
Dim links As Object = CreateObject("DataLinks")
Dim cn As Object = CreateObject("ADODB.Connection")

links.PromptEdit(cn)
If cn.connectionstring = "" Then Exit Sub
Dim sel As TextSelection = ActiveDocument().Selection
sel.Text() = cn.connectionstring
End Sub
End Module


Then Save the macro.

When you are in a place during your coding that you wish to enter a connection string.

Execute the macro and it brings up the DataLink dialog box. which everyone using VS.NET should know how to use.


















Upon hitting ok

Your connection string will be entered from the clip board into the code where your cursor location waas prior to executing the macro.

Which in this example was in between two quotes after the strConnnectionString assignment.





Enjoy!

The Ron

Where does "The Road to No Where" Lead?













It leads to the "Ultimate List of Free Windows Software from Microsoft" which is about 150 FREE programs from Microsoft you can download.

Check out this link!

http://bhandler.spaces.live.com/blog/cns!70F64BC910C9F7F3!1231.entry


Enjoy!

The Ron

(PS.... Thanks Jordan)

Saturday, August 05, 2006

DOES "The Boy" wash the car everyday?













Inquiring minds are pondering that very question. There may even be a pool running on it in Atlantic City and Vegas

Enjoy!
The Ron

Meet My UGLY Neighbor!!






While doing yard work Saturday I found this guy in one of the empty trash cans.

So I took his photo and released him inthe wild.








Enjoy!

The Ron

Friday, August 04, 2006

The Tech Savvy Kids of the Garlit Clan















(Left to Right)

Devin - Lead Software Developer who just left Comcast On-line in Phila., PA to try out a Startup in San Francisco. (http://realitydigital.com) He is the oldest child. (AKA: Trent Steel)

Mark - Currently in college and entering Nursing School in January. He is the youngest and most daring of the kids. An Eagle Scout and into HIGH ADVENTURE. Once my knee heals I plan to do another 70 plus mile hike with him throught the New Mexico mountains. (AKA: The Boy.)

Melissa
- She works for Comcast Spotlight in Phila., PA and the most educated college degree wise. We can't explain what she does for Comcast. But she works with the more graphical media side of the computer. She has a BTMM degree from Temple and Some form of Masters degree from FSU in Communications and Management. When she sees this she can send it to me. She is also the middle child. (AKA: Mel)

Have Fun,
The Ron

Developing DB2 applications with Visual Studio 2005 and .NET Framework 2.0

Check out the video "Developing DB2 applications with Visual Studio 2005 and .NET Framework 2.0" at IBM.
















The URL is
https://developer.on.raindance.com/confmgr/view_stored_doc.jsp?docId=9361185808026141897471561512&docType=recording

Enjoy!

The Ron

The "USING" Statement in C#

(With comparison to VB.NET)

At first most people think the using statement is the
direct equivialant to VB.NET's import statement.


Using System.IO;

is the same as

imports System.IO


But it is not.

The using statement is one of coolest features of C# (and
NOW VB.NET).

For those of us who believe in "Aquire Late and Release Early"
for our database connections the using statement has been
our way of managing connections to the database and memory
resources.

The using statement get translated behind the scenes in C#
and .NET framework. These are acquisition, usage, and
disposal.

Important Disclaimer... The object resource has to
implement IDisposable interface.

For example in C# for a object that suipport IDisposable
we would write it as such.

using (MyResource myRes = new MyResource())
{
myRes.DoSomething();

}


Which basically get transalated in the CLR and MISL to
something that works like this.


MyResource myRes= new MyResource();
try
{
myRes.DoSomething();
}
finally
{
// Check for a null resource.
if (myRes!= null)
// Call the object's Dispose method.
((IDisposable)myRes).Dispose();
}

This basically allows us to manage the memory resources
while managing our object life cycle ourselves versus the
Garbage Collector (GC).

What does this really do for us?


Lets look at database access scenario where we could use
the using statement is :

string connString = "Data Source=localhost;Integrated " +
"Security=SSPI;Initial Catalog=Northwind;";

using (SqlConnection conn = new SqlConnection(connString))
{
SqlCommand cmd = conn.CreateCommand();
cmd.CommandText = "SELECT ID, Name FROM Customers";

conn.Open();

using (SqlDataReader dr = cmd.ExecuteReader())
{
while (dr.Read())
Console.WriteLine("{0}\t{1}", dr.GetString(0),
dr.GetString(1));
}
}

At first glance you might be thinking "Bad Ronnie" because
it looks like I didn't close my connection amoung other
things. BUT in reality I did. When we went out of the
scope of each of the two using blocks the objects
implementing IDisposable closed and disposed of their
resources.

This makes for cleaner, more compact and not to mention
readable code.


Now what about VB.NET, it uses object with IDispoable in
them but doesn't have the using statement.

To implement in Visual Basic 2003 under framework 1.1 (I'm
borrowing this code from a Microsoft PPT) you would have
to write your code like this.

Dim p As Pen = New Pen(c)
Try
g.DrawLine(p, 0, 0, 50, 50)
Finally
If Not p Is Nothing Then
CType(p, IDisposable) _
.Dispose()
End If
End Try


But now in Visual Basic 2005 under framework 2.0 you have
the using statement now. And thus would write your code
like this.

Using p As New Pen(c)
g.DrawLine(p, 0, 0, 50, 50)
End Using

Pretty clean code huh?

Happy Coding!!

The Ron

Thursday, August 03, 2006

What's the "Scroll Lock" key on my computer for?

Hi all,

I dug this out of my archives. It was in a text file I saved back in 2003 mark FYI. Seems there was this posting on 07-Oct-2003 that asked

"What's the "Scroll Lock" key on my computer for?"

:-)

(Ok kids... AND YOU thought I was bad with the looong answers to questions. he he he)

For the OVERKILL answer read on. (Or as far as you can tolerate anyway.)
--------------------------------------------------------------------------------

Dear Straight Dope:

Why does my computer keyboard have this "Scroll Lock" key that seems to serve no purpose whatsoever? In 15 years I don't remember ever pushing that button. I'm almost scared to touch it --Insanegrey, Lawrence, KS

Guest contributor replies:

Although your mother told you that there are many things to avoid touching (like downed electric lines, scorpions, and the "naughty place"), don't be afraid to touch the Scroll Lock key. Nothing bad will happen – in fact, probably nothing at all will happen. Once upon a time, however, something did.

The Scroll Lock key has appeared on the keyboards of IBM personal computers since the original 83-key PC/XT and the 84-key AT layouts, and remains on the 101-key and greater "enhanced" keyboards currently in use. The Scroll Lock key wasn't on the original Macintosh keyboards but appears on the Mac's "enhanced" keyboard.

The main intent of the Scroll Lock key was to allow scrolling of screen text up, down and presumably sideways using the arrow keys in the days before large displays and graphical scroll bars. You can see where this might have been handy in the DOS era, when screen output typically was limited to 80 characters wide by 25 rows deep. For some types of programs, spreadsheets being the obvious example, it's still handy now. In Microsoft Excel, Scroll Lock allows you to scroll a spreadsheet with the arrow keys without moving the active cell pointer from the currently highlighted cell. In Quattro Pro, another spreadsheet program, Scroll Lock works in a similar manner, although in contrast to Excel it's not possible to scroll the active cell pointer completely off the screen.

Other programs use Scroll Lock for special functions. It's said (although I haven't personally verified this) that the Linux operating system as well as some early mainframe and minicomputer terminals employed Scroll Lock to stop text from scrolling on your screen in command-line sessions – pausing the scrolling, in effect. The ancient DOS adventure game “Rogue” (one of my all-time favorites) used Scroll Lock to scroll your character’s movement through the ASCII dungeons on the display. I'm told some computers in the late 1980s used the Scroll Lock key to halt the scrolling of the boot-up messages that appeared when you started the computer. This last use may be apocryphal, as I could find no examples of computers that displayed this behavior. The point is, Scroll Lock sometimes does something besides make that little light light up.

Other odd keys worthy of note on your keyboard include the SysRq key (sometimes appearing as SysReq), which shares the same key as the “Print Screen” key. (Historical sidelight – SysRq was the “84th key” added when the 83-key PC/XT keyboard became the 84-key AT keyboard.) Unless programmed by a particular application, the SysRq key does nothing in most operating systems, including DOS, Windows, and OS/2. The SysRq key has different "hooks" into the system BIOS (basic input/output system, the interface between the software and the low-level functions of the computer) from the other keys on the keyboard. IBM evidently included this key to facilitate task switching in future operating systems – that is, to allow either switching from one task to another (as on a mainframe computer), or interrupting all tasks and returning control to the keyboard. Advanced MS-DOS Programming, second edition, Microsoft Press, states:

A multitasking program manager would be expected to capture INT 15H so that it can be notified when the user strikes the SysReq key.

In layman's terms that means, "You can make a multitasking program manager monitor a specific location in your computer's hardware so it can do something cool, such as letting the user switch tasks, when the SysReq key is pressed." As it turned out, the developers of Windows didn't use SysReq when implementing task switching. Some new keyboards no longer feature this key, and its days seem numbered.

The Pause/Break key was used in the DOS command line environment to pause scrolling of text on the screen, which could, depending on the program and its method of text output to the screen, have the effect of pausing program execution. I have several old DOS power plant analysis programs that run under OS/2, Windows NT, and Windows XP, and I can attest that the Pause key effectively pauses execution of all of these programs by halting display of their screen output. Other programs may be unaffected by the Pause key, though, depending on how they are written and whether or not they output text to the screen. The Break key, when combined with the Ctrl key, is used to terminate DOS applications – and still does today, even in the DOS window of Windows XP. Some DOS communication programs used the Break key as a shortcut to terminate a modem connection, but that was really a function of the program, not the operating system.

The <`> key is called many names. According to the "Hacker's Jargon FAQ," these include:

backquote, left quote, left single quote, open quote, (grave accent), grave. Rare: backprime, [backspark], unapostrophe, birk, blugle, back tick, back glitch, push, (opening single quotation mark), quasiquote.

That's nice, but what is the symbol used for? It has no operating system function in DOS or Windows (although it does find use in the UNIX operating system), and in most type fonts doesn't match the appearance of an ordinary single quote (apostrophe), so it can't really be used as an open quote mark. However, programmers, being loath to let extraneous keys sit unused on a keyboard, have found use for it as an operator in the LISP and Python programming languages.

The pipe key <|>, also known as the bar key or vertical bar, is found above the backslash key <\>. It sees frequent use in C, C++, C# and other programming languages where it serves as the "OR" symbol. A single pipe indicates "bitwise OR," and two pipes together (||) signify "logical OR." For example:

C = (A | B)

means "apply bit operations to A and B and put the result in C." That is, if A is 0000 0110, and B is 1111 0000, then the result is:

A 0000 0110
B 1111 0000
--------------
C 1111 0110

which is bit-level arithmetic. If you're not a programmer, don't worry about it. The use of double pipes, such as:

if(A > 0 || B >0)

is a logical statement that means, "If variable A is greater than 0, or variable B is greater than 0, then do something."

In command-line environments such as DOS, the pipe symbol can add functionality to a DOS command. The way I most frequently use it is when doing a directory listing (DIR) on a large directory with hundreds of files. Say I type “DIR” at the command prompt like so:

C:\RON\SOME FOLDER>DIR

. . . then the 22,000 files in that directory scroll past so fast I can't see their names. However, if I apply the pipe function at the command prompt like this:

C:\RON\SOME FOLDER>DIR | more

. . . then the display will show me one screen of files at a time, with a "More" at the bottom. To display the next screen of files, I hit any key to continue, until all of the files in the directory have been listed (or I break, by pressing Ctrl-C). What's happening is that the pipe symbol causes the output of the DIR command to be "piped" to the "More" (paging) command. You get pretty much the same result by using the "/p" modifier, such as "DIR /p," to display directory information a page at a time.

One suspects that some oddball keys were put on the PC keyboard (or to be more precise, included in the ASCII character set, most of which found its way onto the PC keyboard) because the developers figured they'd come in handy for something. On the whole that has turned out to be the case--programmers and developers have found a use for nearly every key on the keyboard, even if that use isn't obvious to the general computing public. Witness the tilde <~>, which, whatever use it may have as a diacritical mark, now can mean "home directory" or "text omitted," among other things. Given the pace of change in information technology, there's a lot to be said for designing your user interface for maximum flexibility.

CREDIT FOR THIS GOES TO

"Straight Dope Science Advisory Board"


http://www.straightdope.com

THEY ARE DIDICATED TO FIGHTING IGNORANCE (Since 1973)

GOOD LUCK GUYS!!


The Ron

Wednesday, August 02, 2006

.NET from a land down under.

(Could there be a song there in the title?)


Found this cool site in Sydney!!














http://www.ssw.com.au/ssw/


Check out the standards (rules) area. It has all these cool standards
(Yes; ONLY a SICK mind would think that standards are COOL).

But there are interesting tidbits to be gleaned from the links on this page.


http://www.ssw.com.au/SSW/Standards/Default.aspx

Enjoy,
The Ron

Robotics Studio Home Page Arrived on MSDN Today!!

First we had Lego MindStorm stuff to play with...



http://msdn.microsoft.com/coding4fun/lego/lego_intro/

Now Microsoft has gone after the real thing.



http://msdn.microsoft.com/robotics/

HEY WE ARE BACK FROM VACATION!!

As you can tell we are back from a mixed vacation week.

I did some work around homestead for a couple days while Cindi (My Wife for those who don't know that) worked.

We then celebrated our Thirty-First (31st) Wedding Anniversary with a jaunt to the mountains.

It was relaxing and good fun. It did have it moments like passing rain storm and "Storm of DANCERS" (Don't ask!).

There was food!

Like Alaska Pete's





http://www.alaskapetes.com/

and

Callies Candies


http://www.calliescandy.com/




Shopping!










http://www.premiumoutlets.com/


Nature!




http://www.nps.gov/dewa/InDepth/Sites/DFtrail.html

Check out links and enjoy.

The Ron

Tuesday, August 01, 2006

The Boy Bought a NEW SCION tC!!

Yep "The boy" (Mark my youngest son) bought a new car.

It is a SCION tC.

He was sleeping when "The Dad" decided to take a test drive with the dog.

So I stole a QUICK test drive around the block.

Nice car.

I thought it was a little slow but the dog didn't.

hehehe

Video Software Find!!!

If your into video on the PC.
You've likely been going nuts trying to convert video formats. Your also finding out that converters cost a lot and don't do much.

Well check out this article that I found earlier today.

Actually I should thank Jordan for pointing it out to me. (Thanks Jordan)

http://www.theinquirer.net/default.aspx?article=33380

Other Key Links (from the article)

http://www.erightsoft.com/SUPER.html
http://ffmpeg.mplayerhq.hu/
http://www.winavi.com/video-converter.htm
http://www.xvid.org/
http://www.videolan.org/

Enjoy!!
The Ron

The Ron has arrived at Blogging!!

Yes gang he went and did it. The Ron (aka: The Dad) has setup a blog.

He will likely keep this on the technically geeky side with personal touch and photo's tossed in.

I'll try to resist the political stuff. It is best I don't think about that stuff. But NO promises.

See ya on line.

The Ron