Skip to content

ChefServer – Server returned error 502

I’m facing a problem during the Chef server configuration. When I install Chef server for the first time, everything goes well. Now, since I need to do some tests, when I uninstall Chef server and I try to install it again and add a new user, this happens: Probably is also worth to mention, that when I …

java.lang.ClassNotFoundException with log4j

I am trying my first project with gradle. My project has a dependency with log4j-1.2.17.jar After my project is built, a jar file is generated. I try to run this with the following: But if I build a fatjar with gradle, the fatjar works without specifying any classpath. The dependency statement in gradle is li…

Julia Gtk Windows do not display outside REPL

I am trying to use Julia with the Gtk package outside the REPL. Using this code: in the REPL works, but the same code put in a test.jl file and using: in the command line does not work. I have tried the method written here: https://github.com/JuliaLang/Gtk.jl The code runs but no window appears. If it’s…

Reading numbers from file and normalizing

Hello Everyone, I want to load the data I have in a file, which looks like: Now, I want to load this from the file and compute the normalization. I do: But, I am getting the error: Although, I do the process directly into python 2.7 console in linux like, This works fine. I don’t know what I am doing

Using mono assemblies from the .NET CoreCLR

I need to consume a library that doesn’t yet have CoreCLR support (RabbitMQ.Client, to be specific). Is it possible to utilize a mono-based port of that library on a Linux system from inside a CoreCLR executable? If so, how is that achieved? Answer It is impossible at binary level (unless using a proper…

Reading corrupt file, segmentation fault

I run my program by passing it a bunch of directories like this: Each directory is a separate set of files that I am parsing for data which I then create into a spreadsheet. Each directory is a different row of the spreadsheet. I want to only put reliable data in the spreadsheet and so if an entry is missing

Docker container apt-get install can’t find package

I’m trying to spin up a docker container that populates mongo via a node.js script that I have. With the script below, I get the error : with this dockerfile: Why does apt-get not find nodejs? Answer Seems i was missing RUN curl –silent –location https://deb.nodesource.com/setup_0.10 | bash …