[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


[25-07-2019]

Running JAR file from R using rJava (without spawning new process)

Let’s say we have this, very simple, structure of the project . |– Manifest.txt `– src `– somepackage `– StringTest.java where StringTest.java is a very simple Java class package somepackage; public class StringTest { public String changeString(String str) { return "I have changed the string: " + str; } public static void main(String [] arg) […]


[25-07-2019]

R, Java 11 and making sure you can load rJava

As usual, there are some issues with new Java releases (11 and 12) and R. If you want to run rJava package inside R you have to do few things. First, make sure you are using Java 11 as default inside terminal session. Inside ~/.profile add this line export JAVA_HOME=$(/usr/libexec/java_home -v 11) Once it’s done, […]


[08-07-2019]

macOS Mojave and accessing TimeMachine’s
data from command line (iTerm2)

Whenever I restore (setup) new Mac, I do it manually. I simply install clean system, and transfer what I really need from TimeMachine’s backup – typically using CLI. In Mojave it’s a no-no. If you use iTerm2, you will face following issue while accessing data inside TimeMachine’s storage. > cd /Volumes/TimeMachine/Backups.backupdb/ > ls ls: .: […]


[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 string |– 1 |– 2 |– 3 |– 4 |– 5 |– 6 |– 7 |– 8 `– 9 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 > find string […]


[11-06-2019]

Running Java code in R

Let’s say you have a Java class StringTest package somepackage; public class StringTest { public String changeString(String str) { return "I have changed the string: " + str; } } inside file src `– somepackage `– StringTest.java and you want to run it in R. All you have to do is to compile the code. […]


[27-05-2019]

And Now for Something Completely Different – Interwencje 2

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


[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 ld -L${JAVA_HOME}/lib/server -ljvm … 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 […]


[21-05-2019]

And Now for Something Completely Different – Królestwo

Do kompletu to chyba brakuje jeszcze tylko Królewicza.