Lifting the Curse of Knowledge | DaedTech

An interesting post regarding ‘the Curse of Knowledge’ — or the difficulty in remembering what it’s like not to know something!

The first paragraph alone sets the scene:

As most of you know, one of the biggest anti-patterns when you’re instantiating program slots is to forget to set CanRemoveOverride to true. But what you probably didn’t know was that the SlotConfig is — Just kidding. I lifted this from a post I wrote almost 3 years ago about legacy code I was working with then. I have little more idea than you do what any of that means. [Emphasis Mine, ksb]

Lifting the Curse of Knowledge | DaedTech.

Words used in Source Code

I’ve been thinking about trying to create a library of name elements that might be useful while coding (e.g. above and beyond pattern names such as ‘BlahFactory‘ or ‘ThingMapper‘); and a list of elements that might be misleading or that I think should be avoided (such as the element ‘Data’ on a field name; it’s not impossible that this could be a valid element name; but in a sense everything in a data structure is ‘data’ so that’s the basis on which I consider its use may be problematic).

I thought that this was pretty interesting: Words used in Source Code.

Source Code Wordle

Be sure to visit the source site, where clicking on an image then shows you a larger version, where clicking on a word shows you where it is used.

These word clouds might help identify lists of the ‘useful’ name elements.

Zero Config

This essay sounds fascinating! Unfortunately, I can’t seem to find it on the public internet…

About, oh, maybe 3 years ago, long before we had company internal blogs, Jacob Gabrielson wrote and circulated a brilliant essay called Zero Config.

via you-should-write-blogs – steveyegge2.

Although the post as-a-whole is fascinating and mostly about blogging, this caught my eye because I have been trying to look at reducing the amount of configuration for my current client. Much config is duplicated, and some is just not worth being config and is more constant; e.g. setting the format for a message seems to make sense in the  configuration until you realise you can never change it after the first message has been written in that format!

Likewise, almost every project and service is built and released in subtly different ways, as each had someone had to be honed to fit a very specific need (if that’s the case, it was done poorly!) – but the result is a package of releases that are hard to automate because little is repeatable, common or shared!

If anyone knows how I might get to see a copy of this essay I’d love to hear about it…

Get Just The Tools: SSMS Download | Strate SQL

This is a handy tip if you just want to donload and install Sql Server Management Studio on a machine: Get Just The Tools: SSMS Download | Strate SQL.

you can download just the management tools through the Microsoft® SQL Server® 2012 Service Pack 1 (SP1) Express download page.  Just select either SQLManagementStudio_x64_ENU.exe or SQLManagementStudio_x86_ENU.exe from the download options and you’ll have the full version of SSMS at your fingertips; in about a quarter the size of the full installation download.

 

Hosting a WCF Service Library Project in IIS 8.0, Windows 8.0, .Net 4.5

It sounds like it should be trivial: Create a WCF web library and host it in IIS. Surely lots of people need to do this, and it will be easy in a fairly modern version of Visual Studio like 2012? Well, I did not find it easy despite reading a Step-by-Step book (Microsoft Windows Communication Foundation by John Sharp, 2007), lots of blog posts and MSDN articles and so on.  Of course, in fairness, the book was quite old compared to my development environment, but in several respects it still seemed quite current.

Continue reading