[26-05-2018]
and this reminds me of a quote The irresistible proliferation of graphomania among politicians, taxi drivers, childbearers, lovers, murderers, thieves, prostitutes, officials, doctors, and patients shows me that everyone without exception bears a potential writer within him, so that the entire human species has good reason to go down into the streets and shout: “We […]
[22-05-2018]
There was this on-line challange where you were supposed to calculate the cargo that could fit into your cargo space. Task, itself, was not complicated, however my ideas about solving it, were jumping from technology to technology. From purely functional, via object based to ancient, structural based, approach. At first, I though – “Why not […]
[18-05-2018]
On CentOS 7 you can face issues related to pyOpenSSL version while running certbot (https://certbot.eff.org/). ImportError: ‘pyOpenSSL’ module missing required functionality. Try upgrading to v0.14 or newer. If you can’t force CentOS 7 to use more recent version of this package, try this: If you want to renew the cert, simply type
[17-05-2018]
If you need more information what Cython is, take a look here: http://cython.readthedocs.io/. This sample, is a simple “Hello world” code for macOS based installation of Python and Cython. First step is to get Cython for your platform. You can use pip to achieve that After you are done with that, you can create sample […]
[11-05-2018]
Do you want to avoid these awkward moments when you want to do something inside editor but you have no idea how to do it? Do you want to look like a pro while working with random people? Do you remember last time you have asked your colleague – How do I quit this thing? […]
[01-05-2018]
JNI Cookbook – Appendix B
[27-04-2018]
Docker (at some point) requires root privileges. However, it’s not always the case you have them. And then, you need to go via sys admin ;) source: When Sysadmin lends a hand – CommitStrip If you have found yourself in a situation like this, consider using either uDocker or Singularity. Using uDocker, you can run […]
[26-04-2018]
If you have encountered the issue related to time out (during the build process of images while using ansible-container), take a look here: Reproducing the issue (macOS) Clone the repo and build image How to fix the issue?
[26-04-2018]
If you encounter this kind of problems, make sure to check port forwarding on your router. Recently, it happened to me that router decided to remove all the port forwarding I have set up in the past. Just make sure to have this list of forwards configured. You can read more about configuring Polycom with […]
[21-04-2018]
If you encounter this kind of issue Make sure to provide way more memory for your Docker
[21-04-2018]
Recently, I have found that it is a definitely good idea to call if you have Time Machine and you play with Docker a lot. This command is definitely worth running.
[20-04-2018]
If you are getting this error you should know that all you need is a Docker that is running ;) I love this kind of errors :)
[27-03-2018]
In Java 10, there is no longer javah tool. It means, that you can’t extract information regarding native interfaces easily. It’s not that simple to generate header files based on compiled – class – files. If you desperately need to process lots of class files, you can alway hack through using javap tool. You can […]
[20-03-2018]
Eventually, the time for updates has come. I had to update all the codes (Makefiles, to be precise) to get JNI Cookbook samples working with most recent releases of the tool chain. http://jnicookbook.owsiak.org/introduction/
[20-03-2018]
Well, you will be surprised with Java 10 and JNI. They have warned – that’s true, but it escalated quickly ;) you have to switch to javac and use it’s new feature of generating JNI headers directly from java files instead of class files In fact, the whole process is much simpler now as you […]
[20-03-2018]
In the past I was using Eclipse as a tool for Java formatting. Eclipse allows you to call formatter from CLI which makes it super convenient to format lots of files easily. You can find description here. But, I think that Eclipse’s time approached. I have found something called: Google Java Format. It’s very handy […]
[10-03-2018]
From time to time, I need to generate animated GIF. Mostly in cases when I want to share some info on web page or when I want to show some actions to the users. Usually, few steps that has to be done to achieve something. Like “-Click here, click there, here you go. It’s all […]
[08-03-2018]
If you are fan of point and click games you can’t miss this one – CHUCHEL. This is yet another game from well know Animata Design. These guys are the ones behind Smorost, Machinarium, and Botanicula (just to mention few). All these games have few, common, attributes: surrealistic sense of humour, great sound tracks (made […]