[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. […]


[12-01-2020]

You need no maven to run JUnit 5 tests

Whenever I see presentation, article, tutorial, related to JUnit 5 based tests there is Maven as well. I am not quite a fan of Maven. Anyway, I think it’s worth remembering that for running tests you don’t need it. You don’t have to create complex pom.xml file. You can resort to just few lines of […]


[06-01-2020]

Google Search Console, site map file and WordPress

If you want to generate site-map of your WordPress based blog it’s simple and hard at the same time. It’s hard because it’s problematic to find good plugin that can get site-map for you. It’s simple, because you can do it without any plugin at all. You will need: search being enabled in your blog, […]


[05-01-2020]

LEUCHTTURM1917 vs. Moleskine – ultimate, final battle ;)

So, you are thinking which calendar should you pick for a coming year. In my case, I was always struggling whether I should pick Leuchtturm1917 or whether I should stick to Moleskine. I admit, this review is little bit biassed as I use Moleskine calendars for quite some time already. However, it has some objective […]


[01-01-2020]

Instrumenting JNI based code using Instruments.app

This time, I will sneak peek memory allocations that are leaking from within JNI based code.


[29-12-2019]

Using XCode for JNI development (Objective-C)

There is a new video at my YouTube channel – JNI Cookbook. This time, I am focusing on XCode and JNI based development. I am setting up JNI based code (written in Objective-C) that spawns new JVM and calls custom class through it.


[28-12-2019]

Running JNI based code inside XCode

Sometimes you want to run JNI based code inside XCode – e.g. in case when your C/Objective-C/C++ code is based on some Java library. It’s both simple and little bit confusing to get JNI running in XCode – you have to make sure to set few things before proceeding. 1. Getting source code In this […]


[19-12-2019]

Setting up googletest on macOS

I am making strong assumption that you have XCode and Command Line Tools installed. First of all, you need CMake. I prefer installation from the sources, so I go this way. Make sure to have $HOME/opt/usr/local/bin on your PATH. After you have CMake in place, you can build googletest. And now, you can test the […]


[18-12-2019]

Installing boost at macOS

Installation of Boost at macOS is quite simple.


[31-10-2019]

libjansi.jnilib cannot be opened because the developer cannot be verified – macOS 10.15

If you can see this error: “libjansi.jnilib” cannot be opened because the developer cannot be verified – while working on macOS 10.15 (screen shoot looks like this) it means you probably have issues with libjansi coming from Apache Maven. Make sure to upgrade to version apache-maven-3.6.2. ———— Update ———— In fact, you can do better […]


[30-10-2019]

macOS 10.15 – directory size in CLI

There is this interesting article about using NCurses Disk Usage in Arch Linux – you can find here: Cleaning root partition on Linux. I definitely prefer to stick to macOS, so I have decided to get it running from iTerm2. It’s really simple. All you have to do is to (as with other samples you […]


[21-10-2019]

macOS Catalina and VirtualBox issues

I had this strange issue with VirtualBox. There was this crash solution that worked for me follows source: https://forums.virtualbox.org/viewtopic.php?f=8&t=95041


[24-09-2019]

macOS Mojave – make sure your system is safe
updated for ClamAV release 0.101.4

If you want to make sure that your macOS High Sierra is clean (when it comes to malicious software) you can use free tool (free as in beer and free as in speech – at the same time) called ClamAV. You can get it various ways. You can download it’s commercial version from AppStore – […]


[17-09-2019]

_JAVA_OPTIONS will not always work for your Java code

It’s good to know, that _JAVA_OPTIONS will not always work in your Java code. Especially, when you elevate privileges using sudo. Let’s say we have this simple code and we run it following way As you can see, in case of second execution _JAVA_OPTIONS were not picked up. The reason for not picking it up […]


[07-09-2019]

The submit token is NOT YOUR LOGIN PASSWORD.

If you are trying to submit your solution using sbt, like this. you might find this one a solution for you. Start sbt, and run submit from there.