Fixing The Android Camera API
The other day I participated in a company hackathon and I decided to make use of the Android camera. I’ve always said that the Android APIs are very bad (toContinue reading
The other day I participated in a company hackathon and I decided to make use of the Android camera. I’ve always said that the Android APIs are very bad (toContinue reading
Java 8 introduces the Optional class. In a nutshell, instead of returning null, and then checking for null, you return an Optional instance, which can either have or not haveContinue reading
Many websites (including big ones like Adobe, Yahoo, LinkedIn, Gawker, etc.) store user passwords insecurely. Either in plain text, or encrypted (reversible), or using a broken or brute-forceable hash function.Continue reading
I will put my captain Obvious cape now and write in short how to get rid of methods with many parameters, especially if some of the parameters are optional, orContinue reading
Important update: if you want to get things working, see this post. Several years ago I used to work on a project that required the use of smart cards andContinue reading
WebSocket is a cool new(ish) technology that allows real-time, two-way communication between the browser and the server, with almost no overhead. What I want to do here, is to provideContinue reading
How do you configure your machine in order to have save-and-refresh for Java web projects? When you ask this question to developers, the answer starts with “oh, well…”, and continuesContinue reading
It is a very rare usecase, but sometimes you need it. How to embed Maven in your application, so that you can programatically run goals? Short answer is: it’s tricky.Continue reading
This is going to be a short post. It may look like stating the obvious, but I was again reminded the other day that there are still frameworks and toolsContinue reading
As part of a project I’m working on, I needed to get documents from state institutions. And instead of writing code specific for each site, I decided to try creatingContinue reading