Welcome to Sol 3 Sign in | Join | Help
CS Search | Live Search Search

Sol 3

Home of Barrows Software Solutions, LLC

Keith Barrows

Subjects range from Personal to Technical.

  • I see you

    For you my wife!
    I see you
    I see you
    Walking through a dream
    I see you
    My light in darkness breathing hope of new life
    Now I live through you and you through me
    Enchanting
    I pray in my heart that this dream never ends
    I see me through your eyes
    Living through life flying high
    Your life shines the way into paradise
    So I offer my life as a sacrifice
    I live through your love
    You teach me how to see
    All that’s beautiful
    My senses touch your world I never pictured
    Now I give my hope to you
    I surrender
    I pray in my heart that this world never ends
    I see me through your eyes
    Living through life flying high
    Your love shines the way into paradise
    So I offer my life
    I offer my love, for you
    When my heart was never open
    (and my spirit never free)
    To the world that you have shown me
    But my eyes could not division
    All the colours of love and of life ever more
    Evermore
    (I see me through your eyes)
    I see me through your eyes
    (Living through life flying high)
    Flying high
    Your love shines the way into paradise
    So I offer my life as a sacrifice
    And live through your love
    And live through your life
    I see you
    I see you

    Leona Lewis I See You lyrics found on http://www.directlyrics.com.com/leona-lewis-i-see-you-lyrics.html
  • Female Power

    C51a01

    While the C-5 was turning over its engines, a female crewman gave the G.I.s on board the usual information regarding seat belts, emergency exits, etc.

    Finally, she said, 'Now sit back and enjoy your trip while your captain, Judith Campbell, and crew take you safely to Afghanistan '

    An old MSgt. sitting in the eighth row thought to himself,
    'Did I hear her right? Is the captain a woman? '


    When the attendant came by he said 'Did I understand you right? Is the captain a woman?' 'Yes,'! said the attendant, 'In fact, this entire crew is female.'

    'My God,' he said, 'I wish I had two double scotch and sodas. I don't know what to think with only women up there in the cockpit.'

    'That's another thing, Sergeant,' said the crew member, 'We No Longer Call It The Cockpit'
    'It's The Box Office.'

    C51a02

    Quote of the day:

    'Whatever you give a woman, she will make greater. If you give her sperm, she'll give you a baby. If you give her a house, she'll give you a home. If you give her groceries, she'll give you a meal. If you give her a smile, she'll give you her heart. She multiplies and enlarges what is given to her. So, if you give her any crap, be ready to receive a ton of ***.'

  • Bailout – Is it really a good thing?

    I've been in debates with several people over the direction our President is taking us.  Bailouts are not the answer.  IMHO, a bailout puts the corporation into Government hands.  The last I looked that is part of a Communistic political regime.  Now, Obama is trying to push a Nationalized Health Care plan – yet another step towards the Government running our lives, telling us what we are worth, stripping away the American Dream.

    To illustrate, this is a letter from GM's CEO and a response from one of their suppliers:

    Subject: Auto Supplier tells GM Where to go. - One to read!

    This is GM's letter:

    Dear Employees & Suppliers,
    Congress and the current Administration will soon determine whether to provide immediate support to the domestic auto industry to help it through one of the most difficult economic times in our nation's history. Your elected officials must hear from all of us now on why this support is critical to our continuing the progress we began prior to the global
    financial crisis.
    As an employee or supplier, you have a lot at stake and continue to be one of our most effective and passionate voices. I know GM can count on you to have your voice heard.

    Thank you for your urgent action and ongoing support.

    Troy Clarke
    President,
    General Motors North America

    ------------------------------------------------------------------------------------------------------------------------------------

    Response from:
    Gregory Knox, Pres.
    Knox Machinery Company
    Franklin , Ohio

    Gentlemen:

    In response to your request to contact legislators and ask for a bailout for the Big Three automakers please consider the following, and please pass my thoughts on to Troy Clarke, President of General Motors North America.  Politicians and Management of the Big 3 are both infected with the same entitlement mentality that has spread like cancerous germs in UAW halls for the last countless decades, and whose plague is now sweeping this nation, awaiting our new "messiah," Pres. Obama, to wave his magic wand and make all our problems go away, while at the same time allowing our once great nation to keep "living the dream." Believe me folks, The dream is over!

    This dream where we can ignore the consumer for years while management myopically focuses on its personal rewards packages at the same time that our factories have been filled with the worlds most overpaid, arrogant,  ignorant and laziest entitlement minded "laborers" without paying the price for these atrocities. This dream where you still think the masses will line up to buy our products for ever and ever.

    Don't even think about telling me I'm wrong. Don't accuse me of not knowing of what I speak. I have called on Ford, GM, Chrysler, TRW, Delphi, Kelsey Hayes, American Axle, and countless other automotive OEM's throughout the Midwest , during the past 30 years and what I've seen over those years in these union shops can only be described as disgusting.

    Troy Clarke, President of General Motors North America, states: "There is widespread sentiment throughout this country, and our government, and especially via the news media, that the current crisis is completely the result of bad management which it certainly is not."

    You're right Mr. Clarke, it's not JUST management. How about the electricians who walk around the plants like lords in feudal times, making people wait on them for countless hours while they drag ass so they can come in on the weekend and make double and triple time for a job they easily could have done within their normal 40 hour work week. How about the line workers who threaten newbies with all kinds of scare tactics for putting out too many parts on a shift and for being too productive.

    (We certainly must not expose those lazy bums who have been getting overpaid for decades for their horrific underproduction, must we?!?)

    Do you folks really not know about this stuff? How about this great sentiment abridged from Mr. Clarke's sad plea: "over the last few years we have closed the quality and efficiency gaps with our competitors." What the hell has Detroit been doing for the last 40 years?!? Did we really JUST wake up to the gaps in quality and efficiency between us and them?  The K car vs. the Accord? The Pinto vs. the Civic?!? Do I need to go on?  What a joke!

    We are living through the inevitable outcome of the actions of the United States auto industry for decades. It's time to pay for your sins, Detroit .

    I attended an economic summit last week where brilliant economist, Alan Beaulieu, from the Institute of Trend Research , surprised the crowd when he said he would not have given the banks a penny of "bailout money."

    "Yes, he said, this would cause short term problems," but despite what people like politicians and corporate magnates would have us believe, the sun would in fact rise the next day and the following very important thing would happen. Where there had been greedy and sloppy banks, new efficient ones would pop up. That is how a free market system works. It does work if we would only let it work."

    But for some nondescript reason we are now deciding that the rest of the world is right and that capitalism doesn't work - that we need the government to step in and "save us". Save us my ass, Hell – we're nationalizing and unfortunately too many of our once fine nation's citizens don't even have a clue that this is what is really happening.

    But, they sure can tell you the stats on their favorite sports teams.  Yeah - THAT'S really important, isn't it?

    Does it ever occur to ANYONE that the "competition" has been producing vehicles, EXTREMELY PROFITABLY, for decades in this country? How can that be??? Let's see. Fuel efficient. Listening to customers. Investing in the proper tooling and automation for the long haul.

    Not being too complacent or arrogant to listen to Dr.. W Edwards Deming four decades ago when he taught that by adopting appropriate principles of management, organizations could increase quality and simultaneously reduce costs. Ever increased productivity through quality and intelligent planning. Treating vendors like strategic partners, rather than like "the enemy." Efficient front and back offices. Non union environment.

    Again, I could go on and on, but I really wouldn't be telling anyone anything they really don't already know down deep in their hearts.

    I have six children, so I am not unfamiliar with the concept of wanting someone to bail you out of a mess that you have gotten yourself into – my children do this on a weekly, if not daily basis, as I did when I was their age. I do for them what my parents did for me (one of their greatest gifts, by the way) - I make them stand on their own two feet and accept the consequences of their actions and work through it. Radical concept, huh.  Am I there for them in the wings? Of course - but only until such time as they need to be fully on their own as adults.

    I don't want to oversimplify a complex situation, but there certainly are unmistakable parallels here between the proper role of parenting and government. Detroit and the United States need to pay for their sins.

    Bad news people - it's coming whether we like it or not the newly elected Messiah really doesn't have a magic wand big enough to "make it all go away." I laughed as I heard Obama "reeling it back in" almost immediately after the final vote count was tallied. "We really might not do it in a year or in four." Where the Hell was that kind of talk when he was RUNNING for office.

    Stop trying to put off the inevitable folks. That house in Florida really isn't worth $750,000. People who jump across a border really don't deserve free health care benefits. That job driving that forklift for the Big 3 really isn't worth $85,000 a year. We really shouldn't allow Wal-Mart to stock their shelves with products acquired from a country that unfairly manipulates their currency and has the most atrocious human rights infractions on the face of the globe. That couple whose combined income is less than $50,000 really shouldn't be living in that $485,000 home.

    Let the market correct itself folks - it will.. Yes it will be painful, but it's gonna' be painful either way, and the bright side of my proposal is that on the other side of it all, is a nation that appreciates what it has and doesn't live beyond its means and gets back to basics and redevelops the patriotic work ethic that made it the greatest nation in the history of the world and probably turns back to God..

    Sorry - don't cut my head off, I'm just the messenger sharing with you the "bad news". I hope you take it to heart.

    Gregory J. Knox, President
    Knox Machinery, Inc.
    Franklin , Ohio 45005

    NOTE:  According to SNOPES (http://www.snopes.com/politics/soapbox/knox.asp ) this is a true story, with a little interesting additional information.

    What is your take on the direction this once great nation is heading?

  • Tidbits

    From time to time I get a slew of links that may/should be useful to others than just myself. The quotes are from these web pages and are not of my manufacture.

    • 40+ Essential Front End Web Developer Cheat Sheets
      Quote:
      Today more or less everyone can put a simple web page together but implementation of professional Web based Application Front Ends is not as simple as some people may think. It is a complex task requiring deep knowledge of several technologies like html, css, javascript, php, etc. In this article you will find essential cheat sheets for the most commen web based technologies that you are likely to use if you’re a Front End Web Developer. First you will find resources covering client side markup and development (html, xhtml, css, javascript, jQuery etc.) and then you will find resoures covering server side development that are to some extent required for Front End Development (php, asp.net, …). Please make sure that you post a comment if you know an important resource that have not been included in the article. I hope you will find this article useful, lets get started!
    • 70 Windows 7 Tips & Tricks
      Quote:
      Windows 7 is currently only a beta version, but it’s much better than the latest version of Windows Vista and it comes with a lot of new features. Unfortunately, some of them aren’t so easy to figure out, so I created a list of the most important tips and tricks and a step-by-step guide that will help you apply all of these great tips and tricks.
    • Thrive
      Quote:
      We understand that training is more important than ever to help you stand out in today’s job market. Check out our wide range of training resources - learn at your own pace, join up with other developers, or take online courses to refresh your skills. You’ll also find industry and career advice from seasoned coders. These people know what it’s like out there, and they’ve got practical insights you can use to advance your career.
  • Blogging on ASP.NET Weblogs site again…

    Just a quick blog to say I finally have Live Writer setup to post computer technology related posts to http://weblogs.asp.net/kbarrows now.  I still have a few things to get setup like publishing images and files and such but that will fall in place soon.  I will still be posting all topics at http://sol3.net/blogs/starpilot/default.aspx.

  • VS2008 & Win 7 x64 – Compatible?

    Can anyone reproduce this sequence of events?

    1. I added 6 lines of code to  of my data model view.
    2. I compile – no warnings, no errors, build successful.
    3. I run the app and the lines of code I added DO NOT EXECUTE!
      In fact, I am getting an error that my code is different than the last time I compiled.  Yet, I compiled when I hit F5 to run.  :(
    4. OK – remember that sometimes the temp cache can foul things up so delete the temp cache.
    5. Restart VS2008, load project, hit F5 and – what the hell?  It still will not execute those lines and I still get the temp dll does not match error.
    6. So, go flush everything again, reboot, reload, rerun and – what the hell?  It still will not execute those lines and I still get the temp dll does not match error.

    The definition of insanity is doing the same thing over and over again and expecting different results.

    Here are screen shots along the way:

    2009.03.29.VS2008.00

    2009.03.29.VS2008.01

    2009.03.29.VS2008.02

    UPDATE:
    I was running in Debug/x86 mode.  I changed it to Debug/Any CPU and what do you know – the above problem went away.   I can’t wait to get my laptop back from the shop so I can install Win 7 x86 and run this code in both environments to see if there are really differences…

  • VS2008 (MVC) & Win 7 x64 – Compatible?

    I am currently developing on a Win 7 (build 7000) x64 box using the newly released MVC addition for ASP.NET.  While the promise of MVC is great, the reality that this developer has been experiencing for the last 2 weeks is not at all what I expected.  For instance, trying to get my routes to behave.

    Code:
    Routes01

    Results:
     Routes02 

    Compare the data in the “Route Data” table to the “All Route” table (“Defaults” column). 

    Now, I run it without the route debugger and this is what I see when I step through this particular URL:
    Routes03

    Routes04

    Now, I change the route to http://localhost:1620/Catalog/nav I see this when I inspect the variables:
    Routes05

    The position element should be null.  It is not. 

    So let’s take this one step further.  Let’s navigate to http://localhost:1620/Catalog/LifeStyle and inspect the variables again:
    Routes07

    Now mind you, this is a running instance of VS2008 and I have the Locals window open to the right of my code window.  The inspector object on the left has different values than the Locals window!

    This is but 1 of many, many examples of what is acting in a very strange way on my machine.  It has brought my productivity down to nearly zero.

    Anyone else having “weird” problems running VS2008 (MVC) on Win 7 x64?


    28 Mar 2009 - Today is a new day and I just hit another weirdness in VS2008.
    VS2008-01

    I am playing with the various parts of a menu system, working at meeting client needs (and learning of course).  I am “handling” pagination in a more manual method for the moment.  The Red circled bits are what I see in the code while stepping through it.  The Blue circled code just plain does not run.  While stepping it passed over them and did not execute them.  :(

  • Late Notice – MVC has been released.

    newdotnetlogo_2_thumb_3 New machine, new OS, new this and new that I forgot to post a blip on the hottest release from Microsoft – MVC!  I’m not going to hammer on it so feel free to read the following:

    Note:  To get the latest information, including tutorials, sample code, design galleries, and discuss groups, check out the official site at http://www.asp.net/mvc.  You can download it right now here.  MSDN Documentation for MVC is also now available here.

  • Snow Day

    100_0319

    My wife and I were supposed to go to her Doctor’s appointment today.  After nearly 15 minutes of driving we had made it about a mile into a 30+ mile drive.  Time to turn around and try it another day.  Nasty, nasty day today.  White out conditions, 8-12 inches of snow already with more on the way.  Even here in Colorado where rural schools are rarely closed due to snow, the whole county is shut down. 

    Hot chocolate, a warm fire and a couch are beckoning.  But – I have a home office so it is back to work for me.  I’m working on an MVC project currently – what are you doing today?

  • MVC RC2 Released

    Microsoft’s ASP.NET team has been hard at work.  Phil Haack just blogged on the latest release of MVC – which is Release Candidate #2.  Make sure to read all of the requirements as they have changed a bit since RC1.  More later.

  • MVC, Master Page, Extension Methods and Controlling your menu items

    I am working on an application using MVC and discovered quite quickly that there is no documented way to control my main menu’s looks while it is in the master page.  After searching for an hour or more I knew there had to be a way to overcome this without resorting to adding a code-behind file.

    I found a couple of java-script solutions but wanted something more robust.  I queried out to several tech lists, including my favorite on http://aspadvice.com/lists and got some quick hits back.  I think my favorite was “extension methods are your friend. :)”.  Thanks Paul – I’ve never used Extension Methods.

    So, on to Extension Methods – which are wickedly cool!  MSDN says this about Extension Methods:

    Extension methods enable you to "add" methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type. Extension methods are a special kind of static method, but they are called as if they were instance methods on the extended type. For client code written in C# and Visual Basic, there is no apparent difference between calling an extension method and the methods that are actually defined in a type.

    So, after a couple of false starts and a few blog entries that were semi-complete I finally have my first Extension Method working!  It is not very clean yet so feel free to suggest ways to make this code block better:

    using System;
    using System.Web;

    namespace System.Web
    {
    public static class HtmlExtensions
    {
    public static string GetSelected(this HttpRequest Request, string id, string target)
    {
    if (target.ToUpper().IndexOf(Request.Url.ToString().ToUpper()) > 0)
    id += "active";

    return id;
    }
    }
    }

    To use this I am twiddling the ID attribute on my <LI> elements.  The CSS uses a PNG image with offsets (a sprite I believe it is called) and is looking for either the CSS tag of navA or navAactive.  So, in my code for my menu bar I now have this:

    div id="main_nav">
    <ul>
    <li id="<%= Request.GetSelected("navA", "") %>"><%= Html.ActionLink(" ", "Index", "Home")%></li>
    <li id="<%= Request.GetSelected("navB", "Product") %>"><%= Html.ActionLink(" ", "Index", "Product")%></li>
    </ul>
    </div>

    Now, depending on what URL is being passed through the Master Page the Extension Method will pull out the URL from the Request object (which is the object we are extending), check to see if the target is in the string. and if it is, append the active token to the id that was passed in.   Obviously this is a site specific Method Extension so I added it to a folder called libraries under my MVC app directory.  I also changed the namespace to System.Web so I don’t need to prefix it when I use it, nor do I have to add a reference for it in any page.

    Comments?

  • Starting a new gig...

    I am finally back to working with modern technologies - and for myself.  I am no longer an employee of a corporation!  I am so looking forward to being on the cutting edge again after a year of classic ASP and some .NET 2.0 Win Services.  I can't go into too many details on what the project(s) entail but it looks like I'll be diving deep into MVC and LINQ to get to point B.  Big Smile
  • Windows XP Pro x64

    I am biting the bullet now.  I have a desktop that is running an AMD Opteron (Dual Core) and have never run a 64 bit OS.  I have Win XP Pro x64 on my MSDN subscription so decided to repave this desktop and install it.  Several false starts later I finally have it up and running.  Getting the drivers to work was no where near the nightmare so many have said it was.  Nvidia had the x64 drivers for my geForce 6200 card and the other drivers I needed were on the motherboard's CD.  MY motherboard is an ASRock 939Dual-SATA2.  Then onto installing the software.  Because of certain add-ons I run in Outlook I opted for Outlook 2003.  VS2005 and VS2008 went on smoothly once I figured out how to properly mount ISOs in the 64 bit environment.

    I'll try to post out here as this experience progresses...


    Note #1:  I installed the .NET 1.1 Framework and got this message before installing it:

    Microsoft .NET Framework 1.1
    Microsoft


    Issue Description:

    This software has known incompatibility with IIS services on this platform. To maintain IIS functionality,

    we recommend that users complete the following steps after the software install is complete:

    1- From the Start menu select Run then press the Enter key

    2- In the "Open" edit field enter the following command:

    "cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1"

    3- Press the Enter key


    Note #2 - Seems none of the Microsoft Live pieces will run on XP Pro x64.  According to the system requirements page:

    Operating system: Windows XP with Service Pack 2 (32-bit edition only), Windows Vista (32-bit or 64-bit editions), Windows 7 Beta (32-bit or 64-bit editions), or Windows Server 2008. Note: Windows Live Movie Maker is not supported on Windows XP

     

  • Missed my High School Reunion :(

    Wish I had thought to google for this.  Another classmate just left me a message on MySpace and the link to my HS Reunion site.  <sigh/>

    With all of this technology at hand it is still hard to know when periodic events like this happen.  How does everyone else stay abreast of events like this?
  • Loading XML with accented characters breaks System.XmlDocument.Load()

    It took me a bit of time but I finally found a solution for loading a XML file that has accented characters (like áéíóúâä) into a UTF-8 format.  I'm loading data for a client and it ended up having a name in it with an accented e character.  For the first time on this project System.XmlDocument.Load() was blowing up.  With a lot of Googling I finally found a link that gave me, what I hope, is the solution for this problem.  For now it is working so I'll go with it.  The link to the article I found is in the code sample below as well as the image to the left.  The magic happens by reading in while enforcing a double-byte encoding then saving out in an encoding that gives the visual representation we, in the US, would expect.

    Hope this helps someone else.


       1:  #region Fix Character Encodings
       2:  // Need to drop accented characters back to normal characters...
       3:  // reference:  http://www.codeproject.com/KB/cs/EncodingAccents.aspx //
       4:  StreamReader sr = new StreamReader(_pfInfo.WorkingFile, Encoding.GetEncoding("iso-8859-1"));
       5:  string fileContents = sr.ReadToEnd();
       6:  sr.Close();
       7:  sr = null;
       8:   
       9:  StreamWriter sw = new StreamWriter(_pfInfo.WorkingFile, false, Encoding.GetEncoding("iso-8859-8"));
      10:  sw.Write(fileContents);
      11:  sw.Flush();
      12:  sw.Close();
      13:  sw = null;
      14:  #endregion
    .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; }
More Posts Next page »
CS Build: 2.1.61129.2
1999
Listed on the CS Listings Powered By Community Server Themed by nb development