Andrea Leofreddi

6 posts
by Andrea Leofreddi

Using Slf4j from C++ JNI

Lately I've been gluing some Java+Netty code with a C++ native library, and I wanted the native code to use Java's logging too (in

by Andrea Leofreddi

Internet is a safe place

In the meantime... a.leofreddi@XXX's password: Last login: Thu Oct 13 17:26:12 UTC 2016 from YYY on pts/0 Last failed login:

Scanner with mono document-feeder: how to scan double-sided documents?
by Andrea Leofreddi

Scanner with mono document-feeder: how to scan double-sided documents?

I'm a happy owner of a Brother DCP-9020CDW which has a nice document-feeder feature, allowing you to automatically scan multi page documents (and perfectly integrated

by Andrea Leofreddi

How to compress a PDF file on MacOSX (& Linux)

Often (and especially when scanning documents with my printer) from MacOSX I would get unreasonable huge PDFs which are not suitable for emails. To strip

Tags: Unix, Linux, macOSX, pdf
Yubico Yubikey, CentOS/RHEL 7 and ssh
by Andrea Leofreddi

Yubico Yubikey, CentOS/RHEL 7 and ssh

Today I wanted to setup ssh yubikey authentication for a CentOS 7 box, and I've lost more time that expected. Since I've found a lot

NNet: a metaprogrammed C++ neural network
by Andrea Leofreddi

NNet: a metaprogrammed C++ neural network

NNet is a (metaprogrammed) neural network. It allows the selection of the network layout (number of layers and activation functions) in a simple way, without