[15-06-2019]

Passing vector of vectors to Java from C++ using JNI

While using JNI, it becomes a little bit of burden whenever you want to pass something more complex than simple types back to Java.


[12-06-2019]

How to find files that have certain string in last line

Let’s say you have few files And they may end with two different endings: aaa or bbb. Finding list off files that have given string at the end can be done following way on macOS you have to go slightly different way


[11-06-2019]

Running Java code in R

Let’s say you have a Java class StringTest inside file and you want to run it in R. All you have to do is to compile the code. You will get compiled version of your class – it will have class extension. This is the class you want to run. Let’s take a look at […]


[27-05-2019]

And Now for Something Completely Different – Interwencje 2

Zbiory felietonów – one zawsze niosą ze sobą pewne ryzyka :(


[26-05-2019]

Welcome back my friends :)


[26-05-2019]

And Now for Something Completely Different – Król

Odczarowuje


[23-05-2019]

Be careful with JVM library location while building JNI based code

In case you want to compile JNI based code on macOS, be careful. Pay attention to @rpath. If you compile the code like this you will end up with reference to /usr/local/lib/libjvm.dylib. You may face lots of issues related to incorrect `JVM` version used while linking `JNI`. If you want to make sure that your […]


[21-05-2019]

And Now for Something Completely Different – Królestwo

Do kompletu to chyba brakuje jeszcze tylko Królewicza.


[21-05-2019]

And Now for Something Completely Different – Wieczny Grunwald

Potrafi wciągnąć.


[19-05-2019]

And Now for Something Completely Different – Modern Java in Action

If you have stuck with pre 1.8 Java but you have to go back to the future, it’s definitely worth it!


[19-05-2019]

And Now for Something Completely Different – Serotonina

Po taniości :(


[08-05-2019]

VNC – The first attempt to start Xvnc failed

At some point I was struggling with the strange issue. It came out of nowhere. VNC simply stopped working. Eventually, it turned out that reason was completely awkward. Missing directory on LD_LIBRARY_PATH. Yes, I know how it sounds, but it’s true. You can try it by yourself


[08-05-2019]

Stopping node.js – an elegant way

If you want to stop node.js you have basically two ways: – brute force (⌃ – C), – gentle way, via socket inside your application. I will show you how to do that using simple code (https://nodejs.org/en/about/). Brute force This is the simplest way, just kill your app inside console using Ctrl-C (macOS: ^-C). All […]


[07-05-2019]

What kind of programmer are you…
take this simple C based ‘loop’ test

You still remember good old days with your Atari/Commodore machine. You like to annotate the code and you miss line numbers so much You like it ‘low level’ style. In high school you were the master of assembler. There is nothing wrong about working with bare metal, close to the chip. There is also nothing […]


[30-04-2019]

Invalid CSS after “body”: expected 1 selector or at-rule, was “{ “

This error drove me crazy for a while. Find one difference :)


[26-04-2019]

find without .git and .svn


[16-04-2019]

Apple keyboard symbols – how to type them

⌘ – U+2318 ⌥ – U+2325 ⇧ – U+21E7 ⌃ – U+2303 ⌫ – U+232B If you don’t know how to type Unicode characters in mac OS, take a look here: Unicode frames in macOS.


[16-04-2019]

Capture whole HTML page into PNG

1. Start Chrome 2. Open the page 3. Open DevTools (⌥⌘I) 4. Open the Command Menu (⇧⌘P) 5. Choose Capture full size screenshot


[06-04-2019]

Python 3 Programming Specialization – Coursera

If you want to learn Python 3, I definitely suggest this specialization: Python 3 Programming Specialization. It consists of five courses, each focusing on different aspects of programming. It will guide you through the basics of Python 3 programming and will let you learn lost of various aspects of Python 3 based development: Python basics […]


[28-03-2019]

List all shared libraries loaded by the process

or