For the most part I am a self taught web developer and, for the most part, this is OK, because I'm capable of learning what I need to, when I need to. Just-in-time knowledge. Today I've been showing my son how to write HTML and he asked me how I learned to type so fast... Continue Reading →
Time to reboot
Throughout my career I've always loved my job. But recently I've struggled. I've been working on a lot of legacy projects, I've not been empowered to implement change and I've not been proud of the products I've been creating. This bothers me. It bothers me because I care. I need to reboot. I need to... Continue Reading →
Adding typescript to ASP.NET 2 WebForms project
If you are burdened with the technical debt of an old ASP.NET 2 Webforms project, then the chances are that you might not have had the chance to stay up-to-date with JavaScript revolution. A lot has changed with JavaScript in the past few years, and keeping up is a significant effort. So what should you... Continue Reading →
Adding SQL MIME type to IIS 7
To download a SQL file from an IIS hosted website the website needs to know how to handle the file. In general terms a SQL file is plain text, so the respective MIME type would be text/plain This can be added to IIS manually using the MIME types editor. Or for a more reliable approach... Continue Reading →
Working around Selenium
After you've used selenium for a while, you'll be familiar with some of the problems. Yep, WaitForElement doesn't exactly cover itself in glory. It is possible to work round this a bit using a static helper for retries. Something like this; public static void MyNavigateMethod(this IWebDriver driver, int retryCounter = 0) { try { driver.DoSomething();... Continue Reading →
Converting performance data to reports
In my previous article about collecting performance data from remote-servers we looked at a script for extracting perf-data from multiple servers. This script is used to convert the extracted CSV file into an HTML report. clear# define the first field in the file - this will be the x-axis for most graphs# and can also... Continue Reading →
Collect performance data from remote servers
To collect performance data from remote servers, when running a load test for example, use the following PowerShell script: clear$testId = "doodle"$durationSeconds = 20$threadsPerAgent = 5$client = ""$counterList = @( ".NET CLR Exceptions()# of Exceps Thrown / sec", ".NET CLR Memory()# Total committed Bytes", "\ASP.NET\Application Restarts", "\ASP.NET\Request Wait Time", "\ASP.NET\Requests Queued", "\ASP.NET Applications()\Requests/Sec", "\Web Service()\Current... Continue Reading →
Goldilocks and the 3 reseller packages
Goldilocks was walking through the wood one winters day when she came across a house with three computers. (Yes there was also fibre broadband installed - it's a tech savvy wood - get over it!) The first computer was connected to Fasthosts. A solid offering she thought, back by over a decade of experience. But... Continue Reading →
Arduino Uno 101: Using the SparkFun Inventor’s Kit (UK)
I’m an experienced programmer, but have only ever touched on electronics during A-levels and my degree course. New developer boards Arduino open up the world of micro-electronics to those with little or no experience. This is the start of my adventure: The kit I brought was the SparkFun Inventor's Kit for Arduino with Retail Case... Continue Reading →
Arduino Uno (UK)
Today I got an Arduino Uno and I’m getting my geek on!