<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Graham Fearn on Medium]]></title>
        <description><![CDATA[Stories by Graham Fearn on Medium]]></description>
        <link>https://medium.com/@graham.fearn?source=rss-8a6ab5d9d4f2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*SKhMLP_j9qzRm7ap7iqHKw.jpeg</url>
            <title>Stories by Graham Fearn on Medium</title>
            <link>https://medium.com/@graham.fearn?source=rss-8a6ab5d9d4f2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 12:30:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@graham.fearn/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Troubleshooting a jQuery upgrade from v1.12.4 to v3.4.1]]></title>
            <link>https://medium.com/@graham.fearn/troubleshooting-a-jquery-upgrade-from-v1-12-4-to-v3-4-1-5558236ce78c?source=rss-8a6ab5d9d4f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/5558236ce78c</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[jquery]]></category>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[bgltech]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Graham Fearn]]></dc:creator>
            <pubDate>Wed, 18 Sep 2019 15:21:24 GMT</pubDate>
            <atom:updated>2019-09-20T14:26:04.656Z</atom:updated>
            <content:encoded><![CDATA[<p>Having used jQuery since it was first published, senior software engineer Graham Fearn shares how he got more than he bargained for when he upgraded the version of jQuery used by the company’s white label insurance self service web application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/0*YD7I25tPwhVE1prT.gif" /></figure><p>Recently I have been involved in a programme of work to update the version of jQuery we are using in a number of our white label web applications where it is used extensively to implement client-side functionality from input validation to making ajax requests for data and content. I also took the opportunity to update jQuery UI to the latest version as well.</p><p>I was very familiar with the jQuery functionality our web applications relied upon (or at least I thought I was). I had read through <a href="https://jquery.com/upgrade-guide/3.0/">https://jquery.com/upgrade-guide/3.0/</a> so was aware of the deprecated features. So I felt I was well prepared for the task ahead. I had already identified some of the obvious changes that had to be made including:<br>Changing <strong>.live</strong> and <strong>.bind</strong> and <strong>.delegate</strong> to <strong>.on</strong><br>Changing <strong>.unbind</strong> and <strong>.undelegate</strong> to <strong>.off</strong><br>Changing <strong>$.parseJSON</strong> to <strong>JSON.parse</strong></p><p>Some of the things that I wasn’t aware of that ended up being gotchas that had to be troubleshooted were events that are triggered when the user “checks” a checkbox or “selects” a radio button option. Whereas previously, the “checked” and “selected” input attributes could be interrogated through the use of “<strong>attr</strong>” and “<strong>removeAttr</strong>”, this is no longer the case. The “<strong>attr</strong>” and “<strong>removeAttr</strong>” methods were altered so that they can only work with the visible html tag attributes (that is, those attributes that are in the html in the original response from the web server). To work with intrinsic attributes or attributes added dynamically the prop() method should be used.</p><p>Another hard found bug was where the data-* attributes were no longer referenced correctly, I had to change code from</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5d70e5b2db252e06134fa385caf71f4a/href">https://medium.com/media/5d70e5b2db252e06134fa385caf71f4a/href</a></iframe><p>Using the browser developer tools console window revealed that the <strong>$.browser</strong> object had been deprecated. This was being used in a few places to detect the Safari browser to alter behaviour. I replaced this with code found at the following location: <a href="https://stackoverflow.com/questions/9645803/whats-the-replacement-for-browser">https://stackoverflow.com/questions/9645803/whats-the-replacement-for-browser</a></p><p>There was a single styling tweak I had to make due to the jQuery UI upgrade. Some of the modal popups were appearing under the screen disabling layer, this was fixed by adding a high z-index value so that they appeared above it.</p><p>As I was working my way through the numerous JavaScript files in the web applications, I was applying ReSharper’s suggestions, especially changing <strong>==</strong> to <strong>===</strong> when comparing simple values and solely using double quotes rather than a mixture of single and double quotes around strings.</p><p>I also took the opportunity to apply Uncle Bob’s Clean Code Boy Scout Rule “always leave the code behind in a better state than you found it” by removing comments in the code that had been there for years that no-one had done anything about it such as:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9614b7a5f0eb15ea5e1bd4a2c36e3317/href">https://medium.com/media/9614b7a5f0eb15ea5e1bd4a2c36e3317/href</a></iframe><p>Curiously there were checks for ‘undefined’ that I can’t understand how they ever worked so I changed these instances to:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/85b9b8032b5de37d3df195550e4f0665/href">https://medium.com/media/85b9b8032b5de37d3df195550e4f0665/href</a></iframe><p>Finally there were some third party vendor jQuery plugins that either needed updating to their latest versions because older versions don’t work with the newest version of jQuery or had to be replaced.</p><p>All in all what I thought would be a straightforward project to work on proved to be long and complicated but ultimately gave me a much deeper understanding of how our web applications work (far deeper than I previously had). I don’t think any amount of investigation would have provided an accurate estimate of the work required, in the end it was a six week task including five full days of manual and automated testing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5558236ce78c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[BGL Tech hosts its very first .NET Meetup]]></title>
            <link>https://medium.com/bgl-tech/bgl-tech-hosts-its-very-first-net-meetup-1c55aca3f29f?source=rss-8a6ab5d9d4f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c55aca3f29f</guid>
            <category><![CDATA[meetup]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[greatplacetowork]]></category>
            <dc:creator><![CDATA[Graham Fearn]]></dc:creator>
            <pubDate>Sun, 12 May 2019 20:27:45 GMT</pubDate>
            <atom:updated>2019-05-24T14:18:10.393Z</atom:updated>
            <content:encoded><![CDATA[<h3>BGL Tech hosts its first .NET Meetup</h3><h3>In my second blog post, I thought I’d talk about our inaugural Peterborough .NET Meetup, which took place on Tuesday 30th April.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OW6grPubd3l3Dz6S1EJJfw.jpeg" /></figure><p><strong>What inspired me to set-up a .Net Meetup in Peterborough?<br></strong>Following BGL’s investment in a <a href="https://www.bglgroup.co.uk/media/press-releases/january-2019/bgl-group-makes-investment-in-sunderland-tech">new tech hub</a> in Sunderland, I got involved in hiring our new .NET Engineers. It just so happened that, on the evening before some of these interviews, a .NET Meetup was taking place in Newcastle (organised by <a href="https://www.hainton.net/">Hainton.net</a>). There were a number of reasons I wanted to attend:</p><ul><li>I’d never been to a Meetup before and (secretly, unbeknown to anybody else) wanted to find out what it takes to run one, as it had been on my mind for a few months!</li><li>It was a great opportunity to meet the wider recruitment team</li><li>To learn about the tech being discussed (CAKE which is a .NET build automation system)</li><li>To check out the .NET scene and engineering talent in the Newcastle area</li></ul><p><strong>The initial set-up… <br></strong>Taking learnings from the Hainton.net Meetup, I made the decision to go for it, and set-up a .NET Meetup in Peterborough.</p><p>I realised that, to be successful, it would have to be arranged outside of normal working hours, somewhere convenient, with food and drink provided, and on a subject that would be exciting and engaging. There was also the job of actually arranging, promoting and presenting at it!</p><p>I had the support to host the Meetup at BGL offices, had the cost of food and drink covered, and a date set in the diary. To promote the event, I set up a <a href="https://www.meetup.com/Peterborough-NET-Meetup/">Meetup.com</a> account, had posters designed and engaged my tech colleagues across BGL to spread the word across their teams. I also announced the Meetup at our department’s weekly stand-up. It was well received, with many of my colleagues expressing interest in attending and asking what subject I would be presenting on…</p><p>That was a good question! After giving it some thought, I decided to present on WebAssembly and Blazor — two technologies I didn’t know much about but had heard a lot of exciting things. People soon started signing up and with that, I knew that I had enough interest.</p><p><strong>Preparing content for the day… <br></strong>I had seven weeks to learn about WebAssembly and Blazor, as well as preparing the presentation and creating technical demos. My working day is so busy, that realistically I could only do this in the evenings and weekends — it was a big commitment but I loved the process of learning something new.</p><p>First, I had to get my head around WebAssembly: what it is, why it was developed and an understanding of the text format. This took two weeks. Although there’s plenty of documentation available, I needed to create my own demos to really understand the technology and clearly explain it to other people (and confidently answer any questions!) This took a further two weeks.</p><p>This left me with just three weeks to understand and create demos for Blazor. Unfortunately, half way through the first week of learning, Microsoft released an updated version of Blazor (.NET Core 3.0 preview 4) and Visual Studio 2019, which meant my demos needed re-writing (I promised myself not to update my software until after the Meetup!) I purposefully allowed less time to learn about Blazor than WebAssembly, because I was already familiar with C# and Razor — what I didn’t realise, was that I would need to learn about Razor Pages and Razor Components in order to understand Blazor. This took it right to the wire, leaving me with little time to prepare the presentation. In hindsight, I should have prepared the presentation as I went along…</p><p><strong>The evening of the Meetup… <br></strong>I arrived 45 minutes early to set-up the room and test out the kit so there would be no “technical surprises”. I had put some signs up in the reception area pointing people in the direction of the meeting rooms, reference material was printed, name badges were ready and the pizza arrived bang on time at 5:45pm, along with all the other refreshments. People started arriving at 5.50pm and by 6.20pm all attendees had turned up, with 26 people attending of the 30 capacity.</p><p>At 6.25pm, everyone took to their seats and I started the presentation. Of course, I was nervous, but once I had started speaking and cracked my first joke, my nerves disappeared. A good tip I received was to establish the goals of the Meetup early on, and thankfully this one was well received. These were:</p><ul><li>Establish an engaged and growing community who are passionate about .NET and the frameworks and eco-systems supporting it.</li><li>Provide opportunities to learn new skills.</li><li>Allow people to connect and network with each other.</li><li>Be in the company of like-minded individuals.</li><li>Learn about best practice</li></ul><p>Some key learnings from the presentation:</p><ul><li>When you need people to get out of their seats and participate in an activity, double the time you think you should allow for it (the brainstorming activity took 15 minutes and I only had only planned for 5!)</li><li>Rehearse your presentation at least twice to be sure on timings and that what you are saying makes sense</li><li>Don’t speak for too long when talking about a specific slide in your presentation</li><li>Try and limit comfort breaks to 5 minutes</li><li>Practise each demo in the meeting room ahead of the Meetup</li><li>When ordering pizza for a large group of people — from my experience, you only need to order a third of a large pizza, per person</li></ul><p>Although the presentation overran by 30 minutes, there were no problems, people respected the ground rules, enjoyed themselves and I had nothing but positive feedback.</p><p><strong>Conclusion…<br></strong>All-in-all it was a great evening. Everybody learned something and it was a great experience for me to organise and present. I hadn’t learned something that technical in such a short space of time for 10 years (since I was studying to gain my MCSD). I am sure my family are relieved the first meetup is done now and my children have their Dad back and my wife has her husband back;-) In fact, I dedicated the first meeting to my wife!</p><p>A date for everyone’s diary for the next .NET meetup is Tuesday 25th June when the subjects being discussed are: <a href="https://www.meetup.com/Peterborough-NET-Meetup/events/261081086/">What’s new in .NET Core 3.0 and Dockerising .NET Applications</a>.</p><figure><a href="http://joinus.bgltech.co.uk/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0UzRZywK-0GUvCgCaPZdPg.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c55aca3f29f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bgl-tech/bgl-tech-hosts-its-very-first-net-meetup-1c55aca3f29f">BGL Tech hosts its very first .NET Meetup</a> was originally published in <a href="https://medium.com/bgl-tech">BGL Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Day in the Life of… a Senior Software Engineer — .NET]]></title>
            <link>https://medium.com/bgl-tech/a-day-in-the-life-of-a-senior-software-engineer-net-in-business-technology-bgl-group-523bd8586ff5?source=rss-8a6ab5d9d4f2------2</link>
            <guid isPermaLink="false">https://medium.com/p/523bd8586ff5</guid>
            <category><![CDATA[day-in-the-life]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Graham Fearn]]></dc:creator>
            <pubDate>Thu, 21 Mar 2019 21:12:19 GMT</pubDate>
            <atom:updated>2019-06-11T09:21:27.341Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Day in the Life of… a Senior Software Engineer — .NET</h3><p>I have been employed in the Business Technology department since December 2015. In that time I have seen the department go through considerable change especially around our implementation of Agile. I thought it was high time that I started to blog about some of my experiences in my day-to-day work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ngjUA8OE0dV1uinN" /><figcaption>Photo by <a href="https://unsplash.com/@charlesdeluvio?utm_source=medium&amp;utm_medium=referral">Charles 🇵🇭</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>20th March 2019</p><p>As I was travelling to work this morning I finished the podcast that I started listening to yesterday from Agile for Humans titled “<a href="https://ryanripley.com/afh-105-agile-leadership-and-management-with-dave-dame/">AFH 105: Agile Leadership and Management with Dave Dame</a>”. It was quite an inspirational podcast as Dave discussed his experiences as an Agile management coach with Cerebral Palsy working for medium to large software and IT companies in Canada. Oddly enough the two biggest takeaways I got from the podcast were nothing to do with Agile but life lessons — 1) Senior Managers and Leaders within large organisations have earned the right to be where they are and don’t take kindly to being told they are doing things wrong! 2) If your calendar is rammed every day and you have limited time to do your work — prioritise the meetings by only attending those that add value to you or that your presence adds value otherwise cancel your attendance!</p><p>I had been given the responsibility of being the hiring manager for .NET Software Engineers in January and the department is currently aggressively recruiting to build new Agile software delivery teams in our Sunderland office. I was conducting a half hour first stage interview followed by a one and a half hour third stage interview — both in the morning. So I re-read both the applicant’s CVs figuring out what questions I would be asking and reviewed the technical test that the second applicant submitted. The combination of preparation and conducting the interviews took me up to lunch. Immediately after lunch was a meeting with some of the other .Netters in the department to discuss the technical requirements of adding a new brand to our white labelled sales and service website platforms. I had already prepared for this meeting during my lunch break with points that we needed to consider such as ID ranges, affinity/mask codes, source control branching and merging strategy, the questions we needed to ask our business analysts, new subdomains that would need setting up, which servers would be used to host the different environments we have and so on. I setup a page in Confluence for us to fill in as we got answers to our questions. I would be joining the others with the development from the next sprint.</p><p>Last year I headed managed the software engineering apprentice and graduate programmes in the department, this lead me taking on two new direct reports and technically mentoring two others. Back in December, I was asked to lead a new project to develop an internally used website to monitor how the Agile development teams in the department were getting on by displaying various metrics in charts and graphs (the data coming straight out of JIRA). I thought this would be a great project for the graduates and apprentices to work on and an opportunity for us to do the development in <a href="http://asp.net/">ASP.NET</a> Core 2.2 and how it could be done using TDD. This afternoon the team were mob programming to add a new metric to the website. The metric displayed was dependent on the selected sprint and agile delivery team. The list of sprints would be displayed in a new drop down list. I had previously spoke to them about implementing the observer pattern in the JavaScript (using pubsub) whereby the drop down list emitted the change event and the JavaScript handling the display of the chart listened for the event. They were struggling to implement it correctly so I sat with them, guided and explained how to get it working (whilst keeping an eye on the code they were writing adhered to our in-house coding standards for JavaScript and C#). Once I could see they were able to continue without me, I cracked on with the BAU changes I started yesterday that the Agile delivery team I am a member of is working through (standardising the NCD proof cycle) for each of our partner brands. This required me to write a few INSERT and UPDATE statements to adjust the content for one of our brands in the sales website content SQL Server database. I also updated our automated content tests to check for these content changes. This work took me to the end of the day and as I got in to the office early this morning, I was able to leave a few minutes early.</p><p>This is a typical day for me, working on stories and tasks within my Agile delivery team, helping my .NET colleagues, training and mentoring the apprentices and graduates, conducting interviews and having 1–2–1s with my direct reports. Next week I am attending a department wide event as the second stage of this year’s goals are presented and discussed. Also I have some meetings with the other Senior Software Engineer — .NET in the department to discuss a technical roadmap for the customer facing sales and service websites and tools used internally in the department. The roadmap will be presented to the Technical Lead Engineers in the department next month.</p><figure><a href="http://joinus.bgltech.co.uk/"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NXSe_6heJAapyzCSm0PsUQ.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=523bd8586ff5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bgl-tech/a-day-in-the-life-of-a-senior-software-engineer-net-in-business-technology-bgl-group-523bd8586ff5">A Day in the Life of… a Senior Software Engineer — .NET</a> was originally published in <a href="https://medium.com/bgl-tech">BGL Tech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>