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


[05-09-2019]

sign_and_send_pubkey: no mutual signature supported – macOS 10.14

Just add this one inside ~/.ssh/config.


[21-08-2019]

And Now for Something Completely Different – Zbudzone furie

The dusk was repeating them in a persistent whisper all around us, in a whisper that seemed to swell menacingly like the first whisper of a rising wind. ‘The horror! The horror!’


[21-08-2019]

And Now for Something Completely Different – Upadłe anioły

Jedyne co mogę powiedzieć na temat tej książki, to: a = g⋅sinα


[10-08-2019]

Kindle Paperwhite and hard space issue

Recently I have encountered quite frustrating issue with Kindle Paperwhite (3rd) and hard spaces inside Mobi document. At the same time (while buying the book) I have download three, different, formats: epub, Mobi and RTF. All of these have hard spaces all over the place in document. However, there is a slight difference in the […]


[02-08-2019]

Samsung and scanning to PDF in macOS Mojave

… is broken. There is no way to use default Image Capture application with Samsung SCX-4500W printer. However, there is hope :) You can download Samsung Easy Document Creator from here: link. Please note that Samsung line of printers was acquired by HP – this is why you have to download application from HP’s pages. […]


[01-08-2019]

How to get JAR location from JNI


[01-08-2019]

And Now for Something Completely Different – Wojtek Justyna TreeOh!

Radio RAM nie zawodzi ;) Tym razem, dzięki nim, dowiedziałem się o zespole Wojtek Justyna TreeOh!. Grają niesamowicie sympatyczny, spokojny, nieprzekombinowany Jazz, którego bardzo miło się słucha – szczególnie wtedy, gdy za oknem robi się ciemno. Nienatarczywy towarzysz wieczornej lektury książek, ale jako tło dla domówki też sie nada. A tutaj link do ich strony […]


[01-08-2019]

And Now for Something Completely Different – Altered Carbon

Zdecydowanie lepsza od interpretacji Netflixa


[01-08-2019]

And Now for Something Completely Different – Company of One

Company of One is … everything


[31-07-2019]

eternity – defined using macOS keyboard settings

To learn what eternity means, change your keyboard setting from this to this