Category Archives: Software Engineering

Java command-line argument parser taxonomy

Every once in a while, at the beginning of a new project, I start the search for a command-line argument parsing library in Java. This post shows the results of examining the field as of mid 2018. This post serves … Continue reading

Posted in Software Engineering | Comments Off on Java command-line argument parser taxonomy

JRebirth quick evaluation

Want to see how you can quickly tell that somebody wrote 79,695 lines of Java on a completely wasted library/framework? Watch how quickly JRebirth comes to a head-slap fail: 1) Visit http://www.jrebirth.org/ 2) Under Documentation, click on Installation, create the … Continue reading

Posted in Software Engineering | Comments Off on JRebirth quick evaluation

Java Self Loathing

Oracle hates its own product so much (Java) that it actively discourages people from ever running it. This is apparent in the JNLP dialogs you get when starting an application for the first time. Can you spot the difference? Both … Continue reading

Posted in Software Engineering, Uncategorized | Comments Off on Java Self Loathing

RIP REST

2018 resolution: Say RIP to REST – aka “the year of RIP REST” The specific resolution – only use “REST” casually, as a synonym for “client-server” REST has had a pretty good run. The PhD dissertation was published in 2000. … Continue reading

Posted in Software Engineering | Comments Off on RIP REST

The future of AngularJS and Angular 2

It has been fun developing AngularJS applications. It was the first complete framework that was both a higher level of abstraction than jQuery and easy enough (not “easy”, per se) to learn and use. You can even play with my … Continue reading

Posted in Software Engineering | Comments Off on The future of AngularJS and Angular 2

Should REST and microservice APIs be Versioned?

This is a very lively topic. The starting point for these questions must be: in our world (enterprise grade computer science), what isn’t versioned? The answer to that is: everything is versioned. Therefore, the actual question splits into two parts: … Continue reading

Posted in Software Engineering | Comments Off on Should REST and microservice APIs be Versioned?

Is Spring RestTemplate Thread Safe

Is Spring RestTemplate Thread Safe? The only correct answer to this question is: No A quick look at the source (the link is tied to a specific version so the line number is always correct) on line 230 shows the … Continue reading

Posted in Software Engineering | Comments Off on Is Spring RestTemplate Thread Safe

iptables flush and ssh

Fun lesson from today: don’t blindly clear/flush your iptables. If you are remotely managing a system, then make sure you run this: sudo iptables -P INPUT ACCEPT sudo iptables -P FORWARD ACCEPT sudo iptables -P OUTPUT ACCEPT before you run … Continue reading

Posted in Software Engineering, Ubuntu | Comments Off on iptables flush and ssh

What is AngularJS – the key is client-side

After working with AngularJS for a couple of months now, I can finally express a concise answer to “What is AngularJS?” It is: MVC where the model is on the client side MVC where the view is a template based … Continue reading

Posted in Software Engineering | Comments Off on What is AngularJS – the key is client-side

Amazon SDK broken dependencies

If you have received this error message: java.lang.IllegalStateException: Unsupported cookie spec: default It is because Amazon made their SDK dependency look like this: +— com.amazonaws:aws-java-sdk | +— org.apache.httpcomponents:httpclient:[4.1, 5.0) -> 4.4-beta1 | | +— org.apache.httpcomponents:httpcore:4.4-beta1 i.e. they made an open-ended … Continue reading

Posted in Software Engineering | Comments Off on Amazon SDK broken dependencies