Tuesday, 18 February 2014

Gotcha when downgrading ServiceStack.Redis to version 3

Update

It turns out that this is caused by a change of the default behaviour in NuGet 2.8 whereby it now picks the lowest patch version of a package dependency.

 ----

You're probably aware of the announcement that ServiceStack is no longer free from version 4, but if you've already installed it, and reflexively clicked the licence agreement, then you probably need to downgrade to the latest of v3.

I discovered the hard way that there's a mismatch in the versions pulled down from NuGet.  Cryptically, this gives the following error message:

System.TypeLoadException : Method 'get_Db' in type 'ServiceStack.Redis.RedisNativeClient' from assembly 'ServiceStack.Redis, Version=3.9.71.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

If you run the command Install-Package ServiceStack.Redis -Version 3.9.71 then along with ServiceStack.Redis v3.9.71 NuGet pulls down ServiceStack.Common version 3.9.11, which is not compatible (I've confirmed this behaviour in a fresh solution).

To solve it, you need to explicitly install version 3.9.71 of ServiceStack.Common:

Install-Package ServiceStack.Common -Version 3.9.71

P.s. don't forget to set the version constraints in your package.config file.








Wednesday, 13 November 2013

Islington STEM Event

We're constantly hearing about the skills shortage for IT roles in the UK Technology Industry and how more female role models are needed to encourage young women to consider IT careers.  Last year I decided I would get involved and signed myself up to be a STEM Ambassador.  STEM is an acronym for Science Technology Engineering and Maths which is generally used in the world of education.

On Monday I took part in a STEM Careers event for Year 9 pupils (13-14 year olds) held at the City and Islington Sixth Form College.  I was a Speed Networker, along with Ambassadors from other STEM fields.  The format entails having the Ambassadors sit at separate tables and the pupils get to spend 5 minutes at each one before moving onto another table.

It was suggested that I bring a prop with me from my job, so I grabbed a laptop.  Now this is the second time I've done an event like this and I learned the hard way that showing a screen of code to young people does not impress them, rather it frightens them.  They find the code impenetrable, they assume it's complex and don't even look at it.  I did have some success showing HTML to students and saw the lights go on when they discovered it was easily understandable.


This time I loaded up my presentation for A Day in the Life of a 7digital Developer so that I could show the images of the office, the daily standup, people pair programming and other pictures.  I also showed my spike I did with WebGL a couple of years ago as I discovered that something visual can capture their imaginations.

Almost all of the pupils had no knowledge of what a Software Developer does, or even what the role is.  I tried to get across the feeling of creativity and exploration that comes with being able to develop software whilst  also emphasising the need for teamwork inherent in the role.  In the space of 5 minutes it was impossible, but I hope that my enthusiasm came across and that  alone will inspire them to look into it as a choice.

It was an interesting day, and very tiring, but I feel that we made a difference in giving the pupils a chance to meet real people in different STEM roles and expand their knowledge of the opportunities out there.



Tuesday, 17 September 2013

Agile on the Beach - Day 2

After the first day of Agile on the Beach I had a restful sleep in the excellent student accommodation.  The next morning started with a tasty English breakfast provided by the campus kitchens.

The second day of the event was kicked off with a second keynote speaker, Gabriel Steinhardt, about his take on Marketing Driven Product Management.  The talk started off very well, with an overview and definition of the Product Owner role and where Gabriel sees it fitting into product development - it is indeed true that in many places the role lacks definition.

http://agileonthebeach.com/2013-programme/2013-photos/img_3368/
Gabriel then spent some time discussing where the role fits in a classic hierarchical company structure, followed by what seemed like advocating for the Software Development Team to be removed as much as possible from clients and even decision making related to the product.  This all felt a bit too "command and control" for my liking - he seemed overly concerned with putting people into boxes.  It was at this point that his talk began to become controversial - in an agile conference with a stream aimed at Developers and another at Teams, his points felt incongruent to the overall feel.  Though, as Alan Kelly stated, a controversial keynote is an excellent way to get people thinking. It's good to break the effect of the echo chamber now and then, and I appreciated Gabriel's points about Product Owners, but we'll have to disagree on the role Developers should play.

After the Keynote I attended Steve Freeman's talk Fractal TDD. This turned out to be the same talk I had seen presented at Devs in the Ditch. Regardless, as with all forms of learning, repetition is extremely helpful in assimilating new information and I appreciated the recap.
Seb Rose was up next in the Software Craftsmanship track with Good Test, Bad Test.  Seb has six attributes he feels define a good test and he backed these up with examples. A very good talk although I disagree slightly on one or two small things, but these are personal niggles and will need a blog post of their own.

http://agileonthebeach.com/?attachment_id=1110
Lunch was once again a range of sandwiches and a short session by Tanya Krywinska who was appealing to the general community for feedback and suggestions on a range of Games Development degree courses she intends to launch. I felt that some of the audience had forgotten what it was like to be at university as they made statements that the university fees alone should be enough impetuous to fully engage students in group work. I distinctly remember money and fees being a "future problem" that "future me" would resolve (and 10 years later that future is nearly here as my loan dwindles) and group work being something fraught with egos and procrastination.

I suggested regular 1-2-1s to highlight any group issues, although I conceded that this may not be practical. Also, regular demos, as in Scrum, could help maintain focus.

For the rest of the day I decided to leave the Software Craftsmanship track and saw Judith Andersen's talk. This was probably my favourite talk of the event. Judith explained how, when groups grow, they reach certain numbers which cause a change in the dynamics - increased channels of communication, the formation of cliques, etc.  She included her tactics for tackling and overcoming these problems, which are a function of our human nature, and dispelled some myths. The incorrect assumption that talking about feelings is unprofessional being an extremely important one. I highly recommend watching the video.

Finally, I stayed on the Teams track and saw a talk enticingly entitled The "Just Do It" Approach to Change Management. Unfortunately I could not maintain my attention during this presentation. I don't know if this is a reflection on me and how tired I felt or the speakers. They had attempted to do a kind of double act where they bounce jokes off each other, which I always feel is so difficult to get right that it mostly ended up feeling awkward.

All in all, it was a good conference. It was small, friendly and with interesting talks. The organisation was good too - many events forget to add a few minutes between presentations and they soon begin to go off schedule as laptops must be setup and attendees move from room to room.

I would also like to than Alan Kelly who badgered me into submitting my presentation - I honestly didn't think people would consider it worthwhile but I'm happy to have been proven wrong.
I hope to see everyone again next
year on the 5th & 6th September.


Tuesday, 10 September 2013

Agile on the Beach 2013 - Day 1

This is the first time I've attended Agile on the Beach and I feel it was a very successful event.  There were three tracks, Software Craftsmanship, Teams and Business.  I almost exclusively attended the Software Craftsmanship track and a couple from the Teams track.
The event kicked off with a keynote from Dan North.  He explained his view on mastery - a progression from apprentice and journeyman with the defining characteristics of each.  Dan ties his talk together with a story of his own journey to the mastery of a particularly difficult origami fold called the Jackstone - a fold he attempted as a child, but failed to master until decades later.

Jim Barrett had the first slot in the Software Craftsmanship track and he was unfortunately beset by some technical difficulties.  After the initial hiccups he dived into giving an overview of Clojure.  I haven't done anything in the language before, nor have I tried anything in Lisp which it is based upon and so was interested in learning of its power.  Unfortunately I feel he spent too much time on the syntax.  I personally don't get much out of watching people code simple snippets on-screen.  I realise this isn't very constructive feedback.  Maybe it would have worked better as a workshop with a Koans approach or with some direct comparisons between Clojure and Java code to show the advantages and differences.

(negative) feedback
Marcin Floryan was up next with a presentation focussed on feedback and how important it is to collect, review and act upon relevant feedback you can gather about your system.  An enjoyable presentation with a dash of humour.

Lunch was a variety of sandwiches, nothing particularly special, but nothing bad either - vegetarian options were well represented and there was plenty available to ensure you got your fill.  I know I'm commenting on food, which may seem inconsequential compared to the presentation content, but I feel it's an important part of keeping up the stamina and morale of all attendees and speakers.

After filling our bellies James Lewis had the difficult after lunch slot but he managed to keep us interested with an overview of how systems built as microservices can create highly reactive and flexible ecosystems.  This is essentially how the architecture is designed at 7digital - small, focussed internal HTTP based services supplying functionality for their bounded contexts.  We've found it to be highly successful and it was good to see it being presented.

I took the stage next, hiding my nervousness by cajoling the audience into a Mexican Wave, a silly thing to do, but it made the distance between us feel smaller.  I believe my presentation went well and I fielded many questions, some of which I am now finding to be repeated each time I give the presentation and as such I must find ways to incorporate the answers into my slides.  I've got answers to some previous questions asked listed on a blog post here.

I'm afraid that I didn't attend the final session as I was too amped after my talk (apologies to Phil Nash) - I'm still getting accustomed to speaking and I find that it can knock me sideways once the adrenaline wears off.  I hung around in the communal area, grabbed some coffee and wrote up some notes for the day.

The day was finished up with a few Lightening Talks of which the highlight was a method for visualising problems and obstacles, which I believe the person called The Mercado Technique, but I must have heard wrong because I can't find any sources of this on Google.  If anyone managed to get the proper name, or the name of the person who presented it, please let me know. Update: @AnthonySteele informs me that it is The Mikado Method and @EwanMilne let me know that @facilligent had presented it.

https://twitter.com/Agileonthebeach/status/375701598535954432
The day wrapped up with a Beach Party which included a free pint of the local ale and a hog roast (veg burger option too).  The British weather let us down a little and it was slightly cold and windy, but nevertheless the sunset was beautiful and the conversations were interesting.  A good first day.

Slides and videos from the event are being added here.

Thursday, 6 June 2013

Presenting at Agile on the Beach


After some reassurance from my friend Alan Kelly, I submitted my experience report on Continuous Delivery to this year's Agile on the Beach.  To my surprise and delight I've been accepted!  This will be my first full scale conference as a speaker and I'm very excited and nervous - I hope I can finish the day having inspired at least one person.

Agile on the Beach is a two day business and technology conference taking place in Falmouth on the 5th and 6th of September.  It's on the Cornish coast and from what I've been told the weather is great and there will be a fantastic beach party on Falmouth's famous Gyllyngvase Beach.

The conference includes three strands of agile adoption – Software Craftsmanship, Business Strategy and Teams and I'll be presenting in the Software Craftsmanship stream.  The full list of speakers and a schedule are up on the site.

I can also let you know about an offer of 10% off your ticket at Agile on the Beach using discount code SGUEST13 when booking in via Eventbrite - tell them I sent you :D

Early bird tickets are available until the 31st of July at £265. Accommodation is also available to book on site at an additional cost.

To book tickets to Agile on the Beach visit http://www.eventbrite.co.uk/event/5135380060 and follow them on Twitter @Agileonthebeach / #agileotb.

Sunday, 28 April 2013

Presented at SyncIpswich

Following on from the success of SyncNorwich, Carl Farmer has set up SyncIpswich - a regular event for technologists, creatives, entrepreneurs and graduates to meet up and talk in with the aims of growing the community in Ipswich.  Paul Grenyer recommended me to Carl as a speaker and after letting Carl know that I'm not proficient at speaking (yet) I agreed to come up and give my presentation on Continuous Delivery at 7digital.

Despite fighting with the traffic in Ipswich town centre I made it just in time and spoke in front of a crowd of roughly 60 people.  As before, my slides were done in roughly 15 minutes and I fielded questions from the audience for about another 15 minutes more.

After a short break I was followed by Richard Astbury giving an introduction to the Azure platform where he deployed an empty MVC App from his laptop and then a simple Hello World node.js site from his Raspberry Pi at home, which was rather impressive and demonstrated how smooth it can be.

We then gathered at the nearby pub where we broke into a few discussions about the advantages and disadvantages of feature branches among other things and I admired the view of the boats in the marina before I left for the nearly 2 hour drive home.

I had a great evening and it was good to talk to people outside of London and once again be reminded that we don't have the monopoly on smart, inquisitive, talented developers doing great things.  Thanks to Carl for arranging it and Paul for recommending me.

Sunday, 24 March 2013

Team Transformation Presentation for London Continuous Delivery Group

On Tuesday 19th March I gave a short presentation on the steps 7digital took to transform our team in order to facilitate Continuous Delivery.  This was held at Skillsmatter for the London Continuous Delivery group.  I also managed to rope in a few of my colleagues for a discussion panel after my short set of slides

I'm really grateful to Hibri, Goncalo, Matt and Rob for coming along as I felt that having more than just my voice would add to the credibility of what I said and it would also be more interesting.

You can see the video on the Skillsmatter site and these are the slides.  James Betteley also posted a running commentary of the event where you can read some of the discussion which took place.