See latest online resume (Jan 2022):
https://app.enhancv.com/share/be066243?utm_medium=growth&utm_campaign=share-resume&utm_source=dynamic
Bob Horn
rhornjr@gmail.com
Last updated: 18-Aug-2021
Objective
I want to be really, really good at what I do, and I want to be happy doing it. I love learning and I love sharing what I've learned. I want others to be excited about getting better at what they do. I want to help others be that way.
Education
Master of Science - Business Information Technology
Walsh College, Troy, MI
GPA: 4.0
Bachelor of Science - Computer Information Systems
Walsh College, Troy, MI
GPA: 3.81
Work
Proliant: Senior Software Engineer
Paylocity: Programmer
MEDsys: Director of Information Technology
First Solar: Developer IV (developer and architect)
Metavante: Programmer Analyst Specialist (developer and release management)
Maximum Data: Software Development and IT Manager
Dantom Systems: Development Manager and Developer
Case Consulting Group: Accountant and Developer
Technical Experience
Languages: C#, HTML, ASP.NET MVC, JavaScript, CSS, TSQL
Platforms: Windows, Linux
Concepts: Software development, leadership, teaching, design, architecture, project management, web, architecture
Project Experience
Architect: solar power plant energy prediction
ScrumMaster: manufacturing project - Lot Traceability
Developer: Many projects over many years
Presentations
Pluralsight Audition Video on Polymorphism (2013)
Web Development (June, 2016)
SignalR (June, 2013)
Project Maintainability Analysis (measuring OOP, SOLID, best practices) (May, 2013)
Windows 8 and JavaScript (March, 2013)
Clean Code and Design Patterns (June, 2012)
Design Patterns and OOP (January, 2011)
Chain of Responsibility Design Pattern (2009)
Other Activities/Hobbies
Blog: http://inaspiralarray.blogspot.com/
Open source project (Presto): https://presto.codeplex.com/
Reading: http://inaspiralarray.blogspot.com/2013/04/books-ive-read-software.html
StackOverflow reputation of 10,000+: http://stackoverflow.com/users/279516/bob-horn
CodeMash: 2011, 2012, 2013, 2014, 2015, 2016, 2017
Sunday, June 9, 2013
Friday, May 24, 2013
Quick and Dirty ClickOnce Server
Disclaimer: This isn't necessarily the way a ClickOnce server should be set up. This is me doing the bare minimum, hacking around, just to get it up and running for someone to use quickly. If you're looking for best practice, go somewhere else.
On a server that was picked to be used as the ClickOnce server, create a folder to store the ClickOnce deployed application:
C:\ClickOnce\PrestoDashboard
Since I'm using AD authentication, I also set the security on the above folder to contain only those people that I wanted to access the app.
In the properties of the WPF app, set the location and then click Publish Now:
At this point I thought it would work, but I was getting errors when trying to access the location within my browser. So I set up a virtual directory in IIS:
I was getting an authorization error at this point, so I went into the Authentication properties of the virtual directory (screenshot above, right side) and enabled Windows Authentication.
Done:
On a server that was picked to be used as the ClickOnce server, create a folder to store the ClickOnce deployed application:
C:\ClickOnce\PrestoDashboard
Since I'm using AD authentication, I also set the security on the above folder to contain only those people that I wanted to access the app.
In the properties of the WPF app, set the location and then click Publish Now:
At this point I thought it would work, but I was getting errors when trying to access the location within my browser. So I set up a virtual directory in IIS:
I was getting an authorization error at this point, so I went into the Authentication properties of the virtual directory (screenshot above, right side) and enabled Windows Authentication.
Done:
Friday, May 17, 2013
WCF Security Issue - The target principal name is incorrect

My WCF service was working when testing on my laptop. After deploying to a dev environment where the client/caller and server/WCF were on different machines, I got this error:
System.ServiceModel.Security.SecurityNegotiationException: A call to SSPI failed...System.ComponentModel.Win32Exception: The target principal name is incorrect
My situation is this:
Client (AD user) -> WCF Service (AD service account)
First, the solution. Two options:
- Instead of using the AD service account, use the Network Service account
- On the client, specify a dummy SPN
Why do these things work? Another blog post explained the situation nicely.
For option #1, the Network Service account has access to the host machine SPN. Because of this, Kerberos authentication can be used. When the AD service account is used (like my scenario), it doesn't have access to the host machine SPN, so Kerberos fails and we get the SSPI exception.
For option #2, if a dummy SPN is used, Kerberos authentication will fail, however in this case authentication will fall back to NTLM and succeed.
An example client config section, using identity, is shown here:
It can also be done programmatically (second line):
<identity> <servicePrincipalName value="MySystem/Service1"/></identity>
It can also be done programmatically (second line):
var uri = new Uri(ConfigurationManager.AppSettings["serviceAddress"]);var endpointIdentity = EndpointIdentity.CreateSpnIdentity("");var endpointAddress = new EndpointAddress(uri, endpointIdentity);return _channelFactory.CreateChannel(endpointAddress);
If the client doesn't explicitly specify an identity, WCF will automatically create an identity using the host name in the Uri. If we are calling net.tcp://remotemachine1:port/MyService, the WCF client will use the machine name as the SPN, like this:
EndpointIdentity.CreateSpnIdentity("remotemachine1")
That's what will be used to call the service. When this happens, Kerberos authentication will fail, WCF will not fall back to NTLM, and we get the exception.
Sunday, April 21, 2013
Finding the Root Cause of WCF Exceptions
When setting up a WCF service, calls can fail for many reasons. The frustrating part is that we typically get a generic error:
The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:59.8380000'.
In order to find out exactly what was wrong, simply configure tracing, by placing this in the config file of the WCF service:
Note: The above configuration is from http://msdn.microsoft.com/en-us/library/ms733025.aspx.
After trying the WCF call again, open Traces.svclog and find the activity in red:
After clicking on the activity, click on the description/error in the right window pane:
The bottom pane will show you exactly what's wrong:
The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:00:59.8380000'.
In order to find out exactly what was wrong, simply configure tracing, by placing this in the config file of the WCF service:
<system.diagnostics> <sources> <source name="System.ServiceModel" switchValue="Information, ActivityTracing" propagateActivity="true"> <listeners> <add name="traceListener" type="System.Diagnostics.XmlWriterTraceListener" initializeData= "c:\temp\Traces.svclog" /> </listeners> </source> </sources> </system.diagnostics>
Note: The above configuration is from http://msdn.microsoft.com/en-us/library/ms733025.aspx.
After trying the WCF call again, open Traces.svclog and find the activity in red:
After clicking on the activity, click on the description/error in the right window pane:
The bottom pane will show you exactly what's wrong:
Books I've Read - Software
There are 89 books listed below. Out of those 89, I have chosen the five that have had the most influence on my career, and that I consider the best of them all. These are in no particular order.
My Top 5
1. Agile Principles, Patterns, and Practices in C# [Martin]
2. Head First Design Patterns [Freeman, et al.]
3. Peopleware: Productive Projects and Teams [DeMarco, Lister]
4. Joel on Software [Spolsky]
5. The Mythical Man-Month [Brooks]
C#/.NET
Design/Practices
Architecture
Web
My Top 5
1. Agile Principles, Patterns, and Practices in C# [Martin]
2. Head First Design Patterns [Freeman, et al.]
3. Peopleware: Productive Projects and Teams [DeMarco, Lister]
4. Joel on Software [Spolsky]
5. The Mythical Man-Month [Brooks]
C#/.NET
- Programming C# 5.0 [Griffiths]
- C# in Depth [Skeet]
- Programming .NET Components [Lowy]
- Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries [Cwalina, Abrams]
- Effective C#: 50 Specific Ways to Improve Your C# [Wagner]
- C# Cookbook, 2nd Edition [Hilyard, Teilhet]
- Introducing .NET 4.0: With Visual Studio 2010 [Mackey]
- CLR via C#, Third Edition [Richter]
- Expert C# 2008 Business Objects [Lhotka]
- Programming .NET 3.5 [Liberty, Horovitz]
- Essential Windows Communication Foundation (WCF): For .NET Framework 3.5 [Resnick, et al.]
- MSDN (magazine) - many
Design/Practices
- The Mythical Man-Month [Brooks]
- Agile Principles, Patterns, and Practices in C# [Martin]
- Design Patterns [Gamma, et al.]
- Head First Design Patterns [Freeman, et al.]
- Clean Code: A Handbook of Agile Software Craftsmanship [Martin]
- The Pragmatic Programmer: From Journeyman to Master [Hunt]
- Refactoring: Improving the Design of Existing Code [Fowler, et al.]
- Code Complete: A Practical Handbook of Software Construction [McConnell]
- Applying UML and Patterns [Larman]
- Software Engineering: A Practitioner's Approach [Pressman]
- UML Distilled [Fowler]
- Pragmatic Unit Testing in C# with NUnit [Hunt, Thomas]
- Practices of an Agile Developer: Working in the Real World [Subramaniam]
- Head First Object-Oriented Analysis and Design [McLaughlin, et al.]
- Data Modeling Essentials, Third Edition [Simsion, Witt]
- The Object-Oriented Thought Process [Weisfeld]
Architecture
- Patterns of Enterprise Application Architecture [Fowler]
- Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions [Hohpe, Woolf]
- Service Design Patterns: Fundamental Design Solutions for SOAP/WSDL and RESTful Web Services [Daigneau]
- Microsoft® Application Architecture Guide
- Microsoft® .NET: Architecting Applications for the Enterprise [Esposito]
- The Process of Software Architecting [Eeles, Cripps]
- REST in Practice: Hypermedia and Systems Architecture [Webber, et al.]
Web
- JavaScript and jQuery [McFarland]
- Programming ASP.NET MVC 4 [Chadwick, et al.]
- HTML5 and CSS3 [Castro]
- HTML5: The Missing Manual [MacDonald]
- Silverlight 4 in Action [Brown]
- Head First Ajax [Riordan]
- Programming ASP.NET [Liberty, Hurwitz]
Leadership/Project Management
- Agile Project Management with Scrum [Schwaber]
- Succeeding with Agile: Software Development Using Scrum [Cohn]
- The Five Dysfunctions of a Team: A Leadership Fable [Lencioni]
- Leadership: Enhancing the Lessons of Experience [Ginnett, et al.]
- The Leadership Challenge [Kouzes, Posner]
- A Guide to the Project Management Body of Knowledge, Third Edition [PMI]
- Project Management: A Systems Approach to Planning, Scheduling, and Controlling [Kerzner]
- The Power of IT: Survival Guide for the CIO [De Sutter]
- Ship it! A Practical Guide to Successful Software Projects [Richardson, Gwaltney]
- Creating a Software Engineering Culture [Wiegers]
- Peopleware: Productive Projects and Teams [DeMarco, Lister]
- The Project Manager's MBA: How to Translate Project Decisions into Business Success [Cohen, Graham]
- Adventures of an IT Leader [Austin, et al.]
- What Got You Here Won't Get You There: How Successful People Become Even More Successful [Goldsmith, Reiter]
- Manage It!: Your Guide to Modern, Pragmatic Project Management [Rothman]
- CIO Survival Guide: The Roles and Responsibilities of the Chief Information Officer [Schubert]
- The First 90 Days: Critical Success Strategies for New Leaders at All Levels [Watkins]
- Harvard Business Review (magazine) - many
- Introduction to Information Systems Project Management [Olson]
- Earned Value Project Management [Fleming]
- Applied Software Project Management [Stellman, Greene]
- Introduction to Project Management [Schwalbe]
Other/Advice/Culture
- Big Ball of Mud [Foote, Yoder]
- Building Windows 8 Apps with JavaScript [Sells, Satrom]
- Building Windows 8 Apps with C# and XAML [Likness]
- C Programming Language [Kernighan, Ritchie]
- WPF 4 Unleashed [Nathan]
- Programming Entity Framework: Code First [Lerman, Miller]
- Joel on Software [Spolsky]
- More Joel on Software [Spolsky]
- The Best Software Writing I [Spolsky]
- Programming Language Pragmatics, Third Edition [Scott]
- Data Communications and Computer Networks: A Business User's Approach [White]
- Manufacturing Execution Systems (MES): Optimal Design, Planning, and Deployment [Meyer, et al.]
- Workflow Modeling [Sharp]
- The Data Warehouse Lifecycle Toolkit [Kimball]
- Computer Networks, Third Edition: A Systems Approach [Peterson, Davie]
- Statistics for Business and Economics, 6th Edition [Anderson, et al.]
- Information Nation: Seven Keys to Information Management Compliance [Kahn, Blair]
- Who: The A Method for Hiring [Smart, Street]
- The Guru's Guide to Transact-SQL [Henderson, Celko]
- Computing Concepts with Java 2 Essentials [Horstmann]
Linux
- Understanding UNIX/LINUX Programming: A Guide to Theory and Practice [Molay]
- Linux in a Nutshell [Siever, et al.]
- Knoppix Hacks [Rankin]
- Linux Server Hacks: 100 Industrial-Strength Tips and Tools [Flickenger]
- Red Hat RPM Guide [Foster-Johnson]
Saturday, April 13, 2013
The Bad Code Problem - The Smooth-talking Garbage Guy
I think there is a major, fundamental problem in the software development industry. And it's a difficult, tricky problem to solve. That problem is managers hiring developers that write truly poor code, not knowing it, and letting them run amok, and even letting them guide other developers and teams.
The root of the issue is management not knowing the true quality of the programmers they hire. It's all too easy for a smooth-talking developer (that actually writes garbage code, hence smooth-talking garbage guy) to make himself look like the right answer in front of a manager that can't refute anything he says. It's especially more problematic when not examining a developer's code before a manager hires the developer. And even worse if a manager looks at the code and doesn't truly know if it's good code.
The problem is further compounded when misled manager guy (MMG) touts his developer to others within the organization. And to make matters even worse, the root of all evil in a company, the BOYM (bend over yes men) who are afraid to do or say anything about it.
Developers (and somewhat decent developers) can sometimes be awed by this STGG. I think I know why now. His systems are complex balls of mud, yet he can explain things in a way that can seem to make sense. Only through seeing through the bullshit, and going back to the basics of simple, clean, and elegant code, can you truly appreciate STGG for what he has built: an ugly system because he doesn't know how to do otherwise.
Good systems, regardless of architecture, have code that is simple, clean, and elegant. Period. A system with an awesome architecture, backed by terrible code, is a terrible system.
Bringing in a new developer, or architect, that knows how to do things better than the way things are currently being done, won't change things. At least not anytime soon. The system is the system, and the folks left to deal with it are constrained by it. In time, these new resources will look bad because they'll be associated with the current crop of problems. This is exasperating, especially if STGG has moved on/up to other departments.
How is this fixed? In enlightened companies this isn't even a problem. Software development is valued as a first-class citizen, and top-notch developers tend to run things. In unenlightened companies, it's almost impossible. The only thing I can think of is to hire an outside firm to do an objective analysis of the system. This can be expensive (although much, much less expensive than the hidden cost of not doing it at all), and since the system "works," nothing is usually done.
How do we stop this from happening?
Subscribe to:
Posts (Atom)