Aha Moments

by Codewiz51 23. April 2013 19:00

I was working on a side project to remove http post operations to a web service and replace it with a proxy component.  Easy right?  I thought it would be.  But the service I was looking at didn't utilize a WSDL or SOAP.  And Visual Studio 2008 doesn't like that when you set up a service reference. So, I had to look at writing my own proxy.  Not so easy, but doable.  The real issue is that the group that writes the web services uses VS 2012 and .Net 4.0.  The group I work in uses VS 2008 and .Net 2.0 (when we actually use .Net.)  These two don't play well together when you need to create references.

It took me a little while to realize the dll's the dev had sent me were targeted at .Net 4.0, and the best I could do was target .Net 3.5.  Goodbye project references.  (Except, a little magic with managed C++ might do the trick. Surprised I'll discuss that in another post.)

"Best laid plans of mice and men" and all that other rot that doesn't really help solve the problem.

Tags: , ,

Programming

Piddling around with JavaScript/Browser Performance

by Codewiz51 20. April 2013 08:07

Here's some results I got while piddling around with webkit's SunSpider benchmark program this morning.

It's not scientific, or even well controlled.  I'm using the latest updates for IE 10, Chrome and Firefox as of April 20.  Links will take you back to the test results.  My laptop is an old dual core machine running Windows 8 64bit, 8GB RAM and a slow 500 GB hard drive.

IE10 - 203.5 ms

Chrome - 280.9 ms

FireFox - 310.9 ms

 Just some food for controversy. Yell

Tags: , , , ,

Life | Programming

Document Your Code

by Codewiz51 18. April 2013 06:17

I've heard just about every excuse in the world why code is not documented.  The excuses are bogus. All of them.  Documentation must be a part of the corporate culture.  Most organizations do not understand the need for effective code documentation.  There's no training, no policy and no will to make it happen.

Ignoring documentation at the code level, the application level and the infrastructure level leads to another form of technical debt. An organization that ignores documentation, doesn't train personnel to develop it and doesn't incorporate it into their culture is living for today.

This is one of the better articles I've found on the internet regarding the mechanics of .Net program documentation using Sandcastle.  It's long, detailed, and effective.  You should read it.

Tags: , ,

Programming

C++ is a tolerant language

by Codewiz51 14. April 2013 21:18

Every C++ dev knows a java coder.  We're friendly to show we're tolerant. Surprised

Tags: ,

Programming

Cleaning up my inbox - good grief!

by Codewiz51 7. April 2013 06:32

Good grief, cleaning out my inbox is a real pain.  Even with the excellent spam filters keeping the spam out, I get so much useless email. Newegg and Amazon are the worst.  I buy from them, but the frequency of emails for stuff I don't want is way too high.  I guess it's time to remove myself from a lot of these lists.

This has caused me to think about my important email sources: my family, a couple of friends and that's about it.

All of this makes me wonder if email is really advancing our communication in meaningful ways.  Or are we simply tied to these bits and pieces of information because we've become conditioned to never turning off?

Tags:

Life

Disclaimer

This blog represents my personal hobby, observations and views. It does not represent the views of my employer, clients, especially my wife, children, in-laws, clergy, the dog, the cats or my daughter's horse. In fact, I am not even sure it represents my views when I take the time to reread postings.

© Copyright 2008-2011