EricIs.com
[ * ABOUT ME ] [ * LOGIN ] [ * Guestbook ] [ * Résumé ] [ * Erics ]
- [Search]   [Email]   [Home]  
Sedona, Arizona Panoramic
Total Posts: 239, Total Comments: 330, Get a blog or find resources for your blog!


 
I forgot my secret.
 
[ LOGIN ]
[ REGISTER ]
[

Categories

]
-  Technical Posts (???) Opens in a New Window
Software development both on and off the internet is a part of my daily routine.
-  MSN Spaces Archive (36)
An archive of all of my posts made on MSN Spaces (I did not import comments yet!)
-  Internet/Computers/Software (28)
My source of income and daily stress.
-  Software Development (28)
Automated repetitive tasks and making logical computations faster and less error prone
-  Other (24)
When I have no idea what category a topic falls under, I put it here.
-  Website (23)
Stuff about this website.
-  Hobbies (17)
Who has the time? Making time is key.
-  Book Reviews (15)
I am an avid fan of education and writing up a review on a book is the least I can do beyond putting money in the author's and publisher's pockets.
-  Health & Wellness (14)
Living in a world where every second is death to your cells, keeping healthy is hard.
-  Security & Privacy (9)
Stuff you should know about personal and computer security.
-  Work (7)
The necessary evil...
-  Animals & Pets (6)
Dogs, horses, and feretts... oh my!
-  Holidays, Vacation, and Travel (6)
People will fight for their right to party. But, they'll also, usually stand apathetically aside while commercialism takes over and robs you.
-  Body-for-LIFE (5)
This category will hold all of my posts during my participation in the BodyForLife.com competition.
-  School (4)
Thanks to Blue Cross® Blue Shield® of AZ, I can pay for what I could get for free off the internet! But, NOW I get a piece of paper!!!
-  Family (4)
Spouses and kids, moms and dads, siblings, grandmas and grandpas — there's nothing better.
-  Friends (3)
Shout outs to my peeps.
-  Science (3)
Science explains much of life... Why not talk about it?
-  MySpace.com (3)
I post about MSN Spaces tricks, so I might as well post about MySpace.com as well.
-  Spirituality / Religion (2)
I do a lot of thinking about this topic, so I might as well post about it once in a while...
-  Fix It! (1)
A very general bucket for anything that involves fixing stuff... fixing cars, computers, bicycles, etc.



[

Recent Comments

]

[

Blog Archive

]
[

Greetings — Welcome

]
The internet is embedded in almost every day of my life. And, like so many others in this world, I am attempting to capitalize on this exciting communication medium to reach people in my community and across the globe. So, whether you came here as a family member, friend, co-worker, or passer-by, I hope you will find your stay enjoyable. Who knows... maybe you will even come back. If you like, you can read more about Eric Swanson. Profile
Sign My Guestbook  (249 comments)

[

Stories / Articles

]

Silverlight Sucks

Category: Software Development
Posted: 7/22/2008 8:39:39 PM

Just compare the system requirements of Microsoft's Silverlight with Adobe's Flash (Macromedia). Now, Flash has traveled the world and taken in all the sites for years and years. But, you'd think with the importance of playing in this space that Microsoft would compete a little harder... Oh wait... you all are still excited about Silverlight no matter what reality dictates. That's right... Let me know how it goes. I'll stick with the basics for a little while longer. (Don't get me wrong, I get just as excited as you do about Silverlight and an embedded light-weight .NET environment, but I don't let emotions control my actions.) Oh, and let me know how well Microsoft acquired Yahoo! and how they competed in the ad space while you're whistling Silverlight tunes. :) For all their efforts, I continue to applaud the developers at Microsoft. I'm certain you've done better than I could have. BTW: I'm loving what I've seen of WCF so far!

Make a Comment  

Key Technologies Announcement

Category: Software Development
Posted: 4/2/2008 9:00:35 AM

Announcing the Web 2.0 YUI AJAX-enabled, Adobe RIA driven mashup with Silverlight 2.0 WPF XAML tutorials for social, community tagging and clipping supported by a LINQ backend running on top of Astoria from a geospatial aware SQL 2008 and communicating with JSON! All of this using scalable SOA built in the Cloud via REST APIs managed by an ESB and Grid Computing! You won't even recognize this Ruby Gem! :)

Make a Comment  

Updating my network of sites...

Category: Website
Posted: 3/20/2008 6:39:59 PM

I'm in the process of updating my network of websites. I've been transitioning to "Enterprise Architecture" along with a lot of other life changes. Busy, busy, busy... I've been using del.icio.us a lot lately, so here's what I've been looking at lately:

Make a Comment  

How to be a Failure!

Category: Book Reviews
Posted: 1/15/2008 11:28:25 AM

After starting the lengthy-titled book "How to Be a Complete and Utter Failure in Life, Work & Everything: 44 1/2 Steps to Lasting Underachievement", I had to comment...

Steve,

So far, I have failed to finish your book this morning due to pressing interruptions in business that are causing me great succstress.

I had the need to make a suggestion: "Whether neh accepts the advice, is completely up to ner."

The words "neh" and "ner" refer to he/she and him/her respectively. I started the words with the letter "n" to refer to "nobody in particular".

I saw that you Trademarked "self-unimprovement guide". In the same respect of unwillingness to share great ideas, I now trademark "neh" and "ner" and "succstress" and grant you the right to use these words if they refer to me as the author in respective context. ;D

Eric Swanson
http://iseric.com

Make a Comment  

Life Really is Good

Category: Health & Wellness
Posted: 7/24/2007 3:15:28 PM

Today is a really great day (for more reasons than I care to share with the world). I'm writing this entry today simply to share how much gratitude I have for my life.

Following are some highlights of my day (by the end of the day):

  • Talked with my wife throughout the day while she is helping my mom on a catering job
  • Reflected in my daily journal
  • Completed security integration of a Windows Forms CMS tool for the unreleased re-write of www.AzBlue.com
  • Helped my security director solve an urgent issue related to a bug in Internet Explorer
  • Created an Excel-VBA macro for a friend to find text in a column and select the entire row for every match
  • Rehearsed the dance "Tradition" for an upcoming Fiddler on the Roof production (September) by Starlight Community Theatre
  • Continued to practice my song for my Arizona Idol audition on July 30
  • Attended a daily meeting with friends
  • Spent a moment talking to both of my parents
  • Spent some time playing with my dogs
  • Woke up and went to bed with a personal prayer
  • Was so excited by the little things in my day that I felt compelled to write about it on a website for the whole world to see

I am truly grateful and I love the good times and I respect the bad times.

Make a Comment  

Obtaining Response.OutputStream.Length...

Category: Software Development
Posted: 6/21/2007 9:07:19 AM

In ASP.NET, the Response.OutputStream is write-only. As a result, if you attempt to read the length of the response output at any point in stage in the page events, you get the "NotSupportedException". Taking a page from the book of guys who wrote compression filters that compress the response output on-the-fly, I discovered that I could access the length of the response as it is written...

Basically, I wrote a custom class that inherits "Stream" and overrides all of the appropriate stream's methods/properties. The default constructor accepts a Stream object and stores it in a private variable, so the overridden methods/properties all expose the underlying stream's methods/properties. Example: override public bool CanRead { get { return this._stream.CanRead; } }. I declared a "private long _length = 0;" variable and set the value in my stream's "SetLength" method and update it in the "Write" method using the "count" parameter, ensuring the length always reflects the data length. In the "Close" method, I use "base.Close();" and then I can do whatever I want with my private "_length" variable, which contains the length of the response's output stream.

Once I had the class above, I used the following code in the page's "OnLoad" event:
this.Response.Filter = new ObserveResponseLengthStream(this.Response.Filter);


Per Jorge Pereyra's request, here is the code for "write, setLength, flush and seek":


class ObserveResponseLengthStream : Stream
{
   private Stream _stream = null;
   private long _length = 0;
   public ObserveResponseLengthStream(Guid urlKey, 
      Stream stream)
   {
      this._stream = stream;
   }

   public override long Seek(long offset, 
      SeekOrigin origin)
   {
      return this._stream.Seek(offset, origin);
   }

   public override void Flush()
   {
      this._stream.Flush();
   }

   public override void SetLength(long value)
   {
      this._stream.SetLength(value);
      this._length = value;
   }

   public override void Write(byte[] buffer, 
      int offset, 
      int count)
   {
      this._stream.Write(buffer, offset, count);
      this._length += (long)count;
   }

   public override void Close()
   {
      try
      {
         this._stream.Close();
      }
      catch { }

      base.Close();

      try
      {
         /*now you know the actual length 
           of the response in this._length,
           so do whatever you want with it*/
      }
      catch (Exception ex)
      {
         //make sure your exceptions are handled!
      }
   }

   /*...all the other code simply exposes the 
     _stream's properties and methods...*/
}

Read Comments 1)    Make a Comment  

Configuration a Machine for Microsoft Software

Category: Software Development
Posted: 3/4/2007 12:42:45 AM

I recently received a new laptop that needed a new operating system and developer software. I've setup machines countless times, so I might as well make a list that others can learn from...

-  Read More...   Read Comments 1)    Make a Comment  

Raymond Chen's "The Old New Thing"

Category: Book Reviews
Posted: 3/2/2007 9:49:10 PM

Raymond Chen's book titled "The Old New Thing" is the realization of a web blog in print. Parts of the book can be enjoyed by anyone who has dealt with the evolution of the Microsoft Windows operating system and inevitably asked the question "Why?" Why does Windows look like it does? Why are those seemingly quirky things about Windows the way they are?

-  Read More...   Read Comments 1)    Make a Comment  

Books on CD

Category: Book Reviews
Posted: 2/5/2007 2:05:27 PM

I finished three books on CD in January; Good to Great, Managing the Dynamics of Change, and Built to Change. I listened to the "Change" CDs first only to hear the author in "Good to Great" scold companies for focusing so much on change management. It was a refreshing reminder how we all get caught up in a single method of management and fail to swim upstream or even question why we're swimming in the stream we're in. However, dealing with change effectively in a business is vital to success. Quite honestly, the books all cover common sense topics, but most of us don't take the time to sit and actually think through some common sense. So, once again, I am recommending that at least read "Good to Great" to take some personal time and get some thinking in the realm of "back to basics".

Good to Great Managing the Dynamics of Change Built to Change

Make a Comment  

In the Navy

Category: Family
Posted: 1/31/2007 11:33:06 AM

Navy Official Seal My wife had been in the service with the US Navy for about 5 years before we ever met and she has wanted to re-join for some time now. Well, she's been gathering information and talking about it for months and finally seized the opportunity to join the Naval reserves. That's right! Last Tuesday, Wendy re-joined the Navy and that makes me a proud husband to a member of our nation's military. Although I am certainly against violence as a means to an end, I definately understand the need to protect the things we feel need protecting (family, country, beliefs/values, etc.) You tell me... what's the alternative when a person has a gun pointed at you? Are you the type that shoots first and asks later? What if a person simply has a gun on them? Do you feel the need to also have a gun? What if they look a certain way or behave a certain way that offends you or makes you wary? Security... a basic need and desire of all living things.

Make a Comment  

Eric's RSS Feed Eric's Atom Feed
Privacy Policy | Terms of Use | Legal
Building the Internet... One Site at a Time™
Copyright ©2006 Eric Swanson ALL RIGHTS RESERVED
Swanson Valid XHTML 1.0! Valid CSS!