I was recently in need of a java implementation of the inverted normal distribution function, named “NORMINV” in Excel 2003 and later: NORMINV. I only found a JavaScript implementation in kmpm’s repository norminv.js. It has quite a history, coming over C# from C++. I have the impression nobody wants to deal with the mathematics 😉 […]
Java has a build-in java.text.Normalizer class to transform Unicode text into an equivalent composed or decomposed form. Dafuq? The letter ‘Á’ can be represented in a composed form U+00C1 LATIN CAPITAL LETTER A WITH ACUTE and a decomposed form U+0041 LATIN CAPITAL LETTER A U+0301 COMBINING ACUTE ACCENT Normalizer handles this for your: import java.text.Normalizer; […]
UTF-8 has always been a multi-byte encoding but you probably had to handle only 2 byte (16bit) UTF-8 characters. With the raise of Emojis 4 byte characters rose as well so handling 4 byte UTF-8 characters is not only of interest for handling exotic languages but also for the needs of average users who want […]
Another year, another W-JAX. It seems to become a jour-fix, being in Munich in November. As last year i only can recommend staying in the Westin Grand if your company is willing to afford this. You’ll have a much better conference experience than commuting throughout the city for your hotel or hostel. When i started […]
Note: The following stuff is not Hibernate specific but is true for every JPA2 provider and falls into the category of JPA criteria query. Some days ago i just saw this video Christin Gorman about Hibernate. Although i don’t agree with her and i actually do like hibernate as a great tool, there are certainly […]