[20-11-2018]

/dev/ufs/ no such file or directory

I was struggling for quite some time with my USB backup drive attached to NAS server based on FreeBSD. From time to time, during boot time, I was getting error and machine was going into single user mode. It turned out, that adding late inside /etc/fstab was enough to solve the issue. It solved the […]


[18-11-2018]

NetBeans – make macOS installer beautiful again

It’s fairly easy to make macOS like Application based on zip file distributed by Apache. All you need to do is to create structure like this: and make sure to run actual application inside NetBeans wrapper script Then, you need just a little bit of this, a little bit of that, and you can end […]


[31-10-2018]

vsftpd and nasty ‘vsftpd failed – probably invalid config.’ error

If you have encountered this sort of issue try this one. Inside /etc/init.d/vsftpd replace these lines with this one I have spent few hours to resolve this one ;)


[29-10-2018]

NetCAT – NetBeans 10 and testing FTP connections
– Docker based

That’s yet another post about making live easier through Docker. This time, I am focusing on FTP. Testing FTP features in PHP based project requires running FTP server. And, let’s be honest, this is a place where you can face some issues. First of all, you have to have FTP server running, you have to […]


[26-10-2018]

CLI, diff, and something like meld

If you work with remote machines, and you need to take a brief look at some changes in files it might be really painful. If need a quick glimpse into differences between two files, you can always use diff. you can even get some context, together with difference But, let’s be honest, that’s not what […]


[21-10-2018]

NetBeans – profiler test pack (Docker based)

If you want to test remote profiler in NetBeans, it might be quite a struggle. Main source of the problem lays in the fact, you need remote code running. You have few options here: locally started code (you can access it via localhost), Virtual Machine with all the components (JDK, source code, profiler pack), dedicated […]


[19-10-2018]

NetBeans and arbitrary JDK version in macOS

By default, macOS picks up Java version based on highest number that is located here /Library/Java/JavaVirtualMachines. This is quite painful in case you have multiple versions of Java and willing to switch back and forth. You can, of course, export JAVA_HOME like this You can disable Java versions by moving file /Library/Java/JavaVirtualMachines/jdk-##.jdk/Contents/Info.plist to “backup” – […]


[18-10-2018]

Thunderbird – calendar times are mixed up (Lightning add-on)

I was struggling with Lightning plugin for quite some time. The reason was that I was getting invitations with mixed up times. Sometimes, they were correct, sometimes, completely crazy. Eventually, it turned out that Thunderbird has it’s own time zone settings. Who would have guessed? If you fix this one, all the meetings will start […]


[18-10-2018]

JAR files without version in file name

are so painful. The pain comes from the fact that you have to extract MANIFEST.MF to learn what’s inside.


[17-10-2018]

Parsing for size with prefixes in C

At some point, I have decided to pass size of the log file created by stdroller. I thought it will be hard as hell to pass SI prefixes. I was all wrong. It’s a piece of cake to parse the value with format like: ./stdroller –limit=10G or ./stdroller –limit=1k, etc. All you have to do […]


[17-10-2018]

Just for the record, one can use CLI to create big files

If you need a huge file, and you need it fast


[13-10-2018]

NetBeans 10 on macOS

At the moment, you can’t get nice looking, full-blown installer of NetBeans for macOS, yet. However, running it is fairly easy. Just make sure you have recent JDK installed – just get it from here: JDK 11 Note! Please, make sure you can survive with new licensing model preparred by Oracle. It’s quite different comparing […]


[12-10-2018]

NetCAT 10.0 – it’s already rolling

In case you haven’t heard about NetCAT program, yet, take a look here: NetCAT 10.0. NetCAT is a community acceptance testing initiative targeting NetBeans. If you work with NetBeans a lot, I guess this is the best place to support the team behind the product, and (as well) it’s the best place to get the […]


[12-10-2018]

macOS – how to get familiar with VIM

If you have never ever worked with CLI (on macOS) I suggest to start with iTerm2: https://www.iterm2.com. I just want you to know, this is my personal view, that iTerm2 is way better comparing to default Terminal – one that you can find inside /Applications/Utilities/Terminal.app. If you have never ever worked with VIM before, I […]


[29-09-2018]

Java preprocessor

If you have developed applications using C, you are probably aware of preprocessor. If you have ever worked with JNI code, you recall preprocessor’s directives for sure. You can find lots of them inside JNI based code generated through javah or javac -h. These directives let you change the code before it even gets compiled. […]


[25-09-2018]

iPod shuffle – “-Voice Over, where have you been all my life?”

Have you tried to organize your songs into play lists? And that’s what you have in your little iPod shuffle? “-All songs” “-Play list one” “-Play list two” “-Play list three” “-…” Man, this was driving me nuts. Fortunately, I found out that I could have “VoiceOver” turned on. After that happened, everything becomes way […]


[25-09-2018]

Logging – it can get really messy

There are different ways to create a log in Java Recently, I have read quite interesing article regarding logs in Java – Logger to też jest biznes. I guess, it summarize experience of most of the people who work with Java code. I guess, most of us went throuhg different means of logging: System.out, Apache […]


[22-09-2018]

Back to the future

Modern Fortran Explained: Incorporating Fortran 2018 by Michael Metcalf and John Reid is already on the way! I am still waiting for it to arrive. It will be some sort of back to the future ;) The oldest “modern” language with new, fancy, features ;) This time, all in red ;)


[18-09-2018]

Back in time

Sometimes, you need to go back in time. Recently, I had to develop simple log roller – I wanted to be system independent. Who would have guessed you could find a straightforward solution here ;) As for the roller itself, you can find it here


[11-09-2018]

Just dev.off!

I was playing with RStudio recently. And there was this annoying “issue” with plots. I am calling it “issue” as I am not quite sure whether this is a bug or a feature. The problem was that plots were drawn outside plot area. Axises were missing, title was too high, etc. I was trying to […]