Why can’t I just open and edit a PDF file

People sometimes try to edit a PDF file by opening the file in a text editor. This very rarely works for 3 reasons. Firstly, a PDF file is effectively a dump of PDF objects. The file contains a reference table giving the exact byte offset locations of each object from the start of the file,…

Read More

Java Performance tuning

One of my favourite coding activities is profiling – taking a Java application and making it run faster. Every so often we set aside some time to just focus on making our code run faster. Don’t optimise code where speed does not matter. Not only does it give no benefit, it probably makes that code…

Read More