Script Must Not be Null or Empty

I’ve just started learning Spring / Spring Boot so I’m at that stage where I’m making all the stupid beginner mistakes. In the past I used to catalogue the problems I hit, especially when learning a new technology. A few people told me they found it really useful so I’ve decided to start again. This particular issue I ran up against didn’t take long to figure out but the message on the exception isn’t as clear as it could be so I thought it was worth documenting.

Continue reading

Fastest Updates in SQL Server

The project I’m working on at the moment requires me to achieve the fastest updates I can into a moderate sized SQL Server database table. My initial attempts were adequate for the testing I was doing on my development machine but when I came to do a more thorough test in a production like environment I found that the method I was employing wasn’t even close to fast enough. At that point I seriously considered just giving up, the difference between what I had and what I needed didn’t look like an “I’ll give it a tweak” type problem it was a vast performance gulf that had to be crossed. The solution was to better understand both my application and SQL Server and here’s what I did.Continue reading

Pinyin causing Glassfish and Jetty to Fail

For as long as I can remember I’ve been hitting a bug when I start one of my web applications under GlassFish. The error message is about an ArrayIndexOutOfBounds exception and is related to Pinyin. I’ve looked for a solution a few times but never found an answer that worked. It seems to be one of those issues that a lot of people think they have found a solution for but none of them work. As far as I could tell the problem was not fatal to the application so I gave up looking but it has always worried me a little.

Continue reading

Reading Material

Over the years I’ve read my fair share of books on various aspects of computing from operating system design through to test driven development and for the last few years I’ve also been taking MOOC’s as I like the learning style. It occurred to me that I should probably keep a list so that I can see what I need to brush up on and what gaps I have to fill. For the most part this is going to be a list starting Summer 2015 but I might try and fill in some of the history if I get a chance to sit down and think about what I’ve read and when. I study a wide range of science based topics but I’ll try and keep this list focused on things that are relevant to the computing.Continue reading

Java 8 on Ubuntu 14.04

Getting Java 8 on Ubuntu 14.04 is a topic that is very hotly debated (1, 2, 3, etc, etc) but it looks like this important piece of software won’t officially make it into Ubuntu 14.04 in any time frame that is useful – I’m writing this May 2015, OpenJDK 8 was released March 2014 and it doesn’t look any closer to being included now than it did then.Continue reading