Some of you might know that I’ve moved to Mac recently (no comment!) — as such I had to ditch the HeidiSQL client for MySQL (booo! why does it only run on Windows????) and had to figure out another handy MySQL client which works on Mac OS X. You can of course use the MySQL […]
Posts Categorized: Tech
(More) Idiotic Recruitment
I’ve posted before about idiotic recruitment and having had some time to organise (read delete) some of my LinkedIn emails I came across this old one. So I decided that I’m going to start posting here every single bit of idiotic recruitment emails I’m getting — if there are people occasionally reading this then they’ll […]
Java vs JavaScript?
The title of this post was intentionally chosen to raise some eyebrows – after all we all know that in most cases (I’m taking the likes of Rhino out of the equation, same for applets) the former resides on the server side while the latter is used as a client-side language. So why would someone […]
StringBuilder — Memory Consumption
You have seen probably my initial post about creating StringBuilder’s in Java — and the continuation of it which looked at timings involved. As I promised, I have finally had some time to look at the memory consumption involved in using the 2 ways of creating a StringBuilder in Java. I have used a code […]
Creating StringBuilder in Java
I wrote in my previous post about StringBuilder’s in Java, and I felt I should provide some measurements around the whole discussion. So I put together some quick and dirty code which is good enough for a comparison of the 2 ways of creating a StringBuilder — bear in mind I said “comparison”, as such […]
About Data Comparison in Java
If you have been involved in some coding (Java or otherwise) more than likely at some point you had to deal with the situation where you have to compare some data — for the purpose of sorting items in a list, of validating input, or many of the many other situations that require it. And […]
Data Validation inside a List
Felt like sharing this, since there might be some other “dinosaurs” like myself (i.e. slow in their using the Apache Commons Collections) — and those guys might find this useful 🙂 Occasionally you find yourself providing components that will be used by various modules in a project, and as such you have to employ strict […]
Neat Trick for Returning an Empty List in Java
I’ve found this post actually burried in my “Drafts” — it’s been there for sometime it seems. I recall writing about it on my mobile WordPress application, so I’m guessing I’ve saved it as draft on the blog with the view to apply the code pretty-printing and forgot about it quite likely 🙂 So I […]
Arrays in Java
I seem to be on a roll today so I thought I’d mention this little tip that I have come across in the past when using arrays — more specifically bi-dimensional arrays. We think of such arrays (in Java and other languages as well!) quite often as a bit of a Scrabble board where we […]
Apache Commons Collections
I discovered this recently myself (having not been a big fan of Apache Commons Collections in the past) — and it’s a useful feature if you are dealing with a list of objects that can be compared by more than one property. For instance, consider you have a list of Person’s (see class below) which […]









