Friday Reads – 11th December 2015 – #13

The Most Important Code Metrics You’ve Never Heard Of

Actually, you’ve probably heard of some of them. I’d be interested to understand how they measure them, though.

http://blog.ndepend.com/important-code-metrics-youve-never-heard/

Can you solve GCHQ’s Christmas card puzzle?

http://www.bbc.co.uk/news/uk-35058761

People not processes – a personal lament

The author did not mention it, but the title is a key part of the Agile manifesto

http://www.bcs.org/content/conBlogPost/2530

Unit Tests are Your Specification

A critique of a unit test suite. Well worth reading if you’re regularly reviewing code that includes unit tests.

http://claysnow.co.uk/unit-tests-are-your-specification/

 

Wiki Patterns

What are the good and bad behaviours that are often observed when running a wiki within an organisation?

http://stewartmader.com/wikipatterns/

Do Interfaces Terminate Dependencies?

Great discussion on the possibly-misguided notion that substituting an interface in place of a concrete class automatically removes that dependency.

https://dzone.com/articles/do-interfaces-terminate-dependencies?edition=124053&utm_source=Daily%20Digest&utm_medium=email&utm_content=DZone%20Daily%20Digest&utm_campaign=dd%202015-12-08&userid=980387

New Language Support in Visual Studio 2015

The latest update to Visual Studio includes syntax highlighting and the beginnings of IntelliSense for over a dozen new languages.

http://www.infoq.com/news/2015/12/VS2015-Update1?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=C#

Given the Java IDE wars that have been raging for a decade, Is VS looking to challenge the remaining warriors (Eclipse, Netbeans & IntelliJ)?

And for the Java aficionados, here’s the latest twist in that war!

https://dzone.com/articles/the-latest-twist-in-the-java-ide-wars-subscription

Bitcoin’s Creator Satoshi Nakamoto Is Probably This Unknown Australian Genius

I’m a great believer in the future of bitcoin, or a bitcoin-like model. Up until now it’s creator has been largely anonymous. Looks like he’s been outed now, though.

http://www.wired.com/2015/12/bitcoins-creator-satoshi-nakamoto-is-probably-this-unknown-australian-genius/

Comics

Colds: http://xkcd.com/1612/

This language sucks: http://www.commitstrip.com/en/2015/12/09/this-language-sucks/

Drop all SQL Database Connections

I must have run this a dozen times in the last few days. Dead useful, which is why I’m posting it. Mostly for my own reference

USE master
GO

DECLARE @kill varchar(8000) = '';
SELECT @kill = @kill + 'kill ' + CONVERT(varchar(5), spid) + ';'
FROM master..sysprocesses 
WHERE dbid = db_id('MyDatabaseName')

EXEC(@kill);