[01-08-2019]
And Now for Something Completely Different – Altered Carbon
Zdecydowanie lepsza od interpretacji Netflixa
Zdecydowanie lepsza od interpretacji Netflixa
Company of One is … everything
To learn what eternity means, change your keyboard setting from this to this
Let’s say we have this, very simple, structure of the project where StringTest.java is a very simple Java class while Manifest.txt contains We can easily create JAR (“executable”) from these files using jar application Now, let’s try to run this code inside R. It’s quite straightforward.
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 Once it’s done, you have to make […]
1. disable Night Shift It looks like Mojave 10.14.5 has some issues with booting when display colours are adapted to night mode using Night Shift. After starting up my macOS based machine in the evening (when Night Shift kicks in with all the fancy colour settings) I have noticed that machine boots into black screen. […]
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. What you have to do, is adding […]
While using JNI, it becomes a little bit of burden whenever you want to pass something more complex than simple types back to Java.
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
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 […]
Zbiory felietonów – one zawsze niosą ze sobą pewne ryzyka :(
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 […]
Do kompletu to chyba brakuje jeszcze tylko Królewicza.
If you have stuck with pre 1.8 Java but you have to go back to the future, it’s definitely worth it!
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
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 […]
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 […]