[26-05-2020]

Spring Boot – Could not open JPA EntityManager for transaction

If you are getting something like this before digging inside your Spring Boot configuration, make sure that Docker with your MySQL database is still running ;)


[25-05-2020]

I am your private JAR, do what you want me to do
– or how to use local JARs in your Maven based project

I think it’s a quite common case in most of the projects. You have this one or two fancy JARs that are part of your project and you have to import them into Java application that is build using Maven. To get it solved, you have to do following. First of all, create your local […]


[22-05-2020]

And Now for Something Completely Different – JetBrains Academy or how to learn Java, Kotlin and Python

If you are new to Java, Python or Kotlin you can get a jump start by joining JetBrains Academy. It’s free – at least for now. I have started to learn Kotlin using this platform and I must admit I like it so far. At the very beginning you have to decide what technology you […]


[05-05-2020]

R4.0 with Java 14 inside macOS 10.15.4

As usual, there are some issues with new Java releases (14) and R4.0. If you want to run rJava package inside R you have to do few things. First, make sure you are using Java 14 as default inside terminal session. Inside ~/.profile or ~/.zshrc add this line Once it’s done, you have to make […]


[04-05-2020]

And Now for Something Completely Different – schabowy, ziemniaczki i mizeria

Schabowy, ziemniaczki (z koperkiem) i mizeria. Mniam, mniam. Idealny zestaw. Czasami bywa jednak tak, że ktoś wyjedzie za granicę (np. do Bawarii), wejdzie do jednego ze sławnych Bier Hausów i od tej pory już tylko Wiener Schnitzel mit Sauerkraut. I tylko to i już tylko to będzie się liczyć. I te wszystkie historie o niebagatelnym […]


[28-04-2020]

And Now for Something Completely Different – Senior Java Developer
– crazy metrics based on tutorial materials

It takes Senior Java Developer 6 (six) minutes to fix type cast error while working with TypeScript. If it takes you the same ammount of time, I guess you can call yourself a Senior Java Developer :)


[31-03-2020]

IT meet-ups – there are better alternatives

I think I have attended close to call it enough number of meet-ups so far. Recently I have found this article: Why I Stopped Attending Programming Meet-ups – I think it is pretty close to summing up the idea of meet-ups. I don’t claim I am not going to attend any meet-up ever. I am […]


[15-03-2020]

And Now for Something Completely Different – cs:go
macOS Catalina and double click issue

If you face the issue with mouse double click inside CS:GO – e.g. you have to double click to switch between menu options, or you have to double click to shot a weapon – follow these steps. To set windowed mode of CS:GO make sure to set it here Counter Strike Global Offensive


[12-02-2020]

Running GSL library inside R on macOS 10.15

It’s quite simple. Make sure to build everything from the sources make sure that R can see your fresh installation and run R. now, you can install other packages that depend on GSL, e.g. copula. That’s it!


[11-02-2020]

JDK 14 and macOS Catalina – issue with unidentified developer

After installing JDK 14, as soon as you try to compile simple Hello world! application you will notice following issue “jdk-14.jdk” is damaged and can’t be opened This issue can be solved by moving Info.plist into backup file (e.g. one with ~ at the end). However, this will not solve your problems completely. There is […]


[29-01-2020]

Modules as a convenient way of choosing build chain on macOS

Modules (Environment Modules or Lmod: A New Environment Module System) are the convenient way of setting up your – typically CLI based – environment. You can efficiently switch back and forth between different tool chains. You can run different tools inside different terminal windows (you probably know the pain of setting up Java inside macOS […]


[29-01-2020]

Over engineering – good sides of it

Abstract: How much can you over-engineer simple formula for converting units. If you want to skip the reading, you can go straight to repo There was this holiday contest (in one of the programmers forums) based on the idea of writing over-engineered tool for converting miles per galon to liters per 100 kilometers. You can […]


[28-01-2020]

Building OpenCoarrays on macOS
– everything from the sources – gcc-8.3.0

This article focuses on installation based on gcc-8.3.0. There are quite a lot of perquisites for this article, but there are two, most important ones. You will need: huge cup of coffee/tea and something to do between various compilation steps (good book would be handy, maybe some movie on Netflix). There are few steps you […]


[28-01-2020]

I thought macOS had it all.
I was wrong, my installation starts to resemble HPC machine

OK, I thought I can survive basing purely on what macOS can provide me with. I was so wrong. My mpich installations start to look, oh so, HPC alike. Now, let me introduce you to my most recent mpich installation ;)


[20-01-2020]

OpenCoarrays using homebrew – I guess you have to be lucky to get it working :(

Yet another way of using OpenCoarrays is to work with homebrew. However, there is one, small, issue. Note that OpenCoarrays may not work with OpenMPI. You can find description of the issue here: https://github.com/sourceryinstitute/OpenCoarrays/issues/625, and here is the original post on StackOverflow – Why does coarray with allocatable component creates segmentation faults when accessed from […]


[20-01-2020]

Learning coarrays on macOS using Docker based installation of gfortran

Installation of the whole toolchain that allows you to play with coarrays might be challenging. It requires lots of small steps, and at least sort of proficiency when it comes to installation based on source code. Take a look here if you are brave enough to install everything from sources: Building OpenCoarrays on macOS – […]


[18-01-2020]

Building OpenCoarrays on macOS
– everything from the sources – gcc-9.2.0

This article focuses on installation based on gcc-9.2.0. There are quite a lot of perquisites for this article, but there are two, most important ones. You will need: huge cup of coffee/tea and something to do between various compilation steps (good book would be handy, maybe some movie on Netflix). There are few steps you […]


[16-01-2020]

Passing string as #define and resolving it as string

Sometimes, it’s required to pass string that will be passed as preprocessor variable so we can make some choices during compilation phase. If you try to pass string as preprocessor variable, and will try to use it inside C string literals, it will fail. and, of course, I learned that the hard way. It’s simple, […]


[16-01-2020]

X2Go issue on macOS Catalina – X2Go can’t start XQuartz

If you are running X2Go and you get following error It means something is wrong with your XQuartz installation. First of all, it might be you haven’t installed XQuartz at all. In that case, take a look here: https://www.xquartz.org/releases/. Another issue might be related to some dangling connections and in fact, issue is somewhere else […]


[14-01-2020]

Embedding JVM inside macOS application bundle using XCode

This time, I am showing you how to embed JVM inside macOS application bundle. In this 5 minutes long video I am guiding you step by step how to create application that will contain JVM. Please note that various JVM releases (depending on vendor) may have different requirements and limitations when it comes to embedding. […]


←Older