Switching from Wordpress to a static website

I migrated my Blog site from Wordpress to a faster static web site using markdown files and Hugo.

July 20, 2020 · 1 min · 18 words · Matteo Redaelli

Imperative (not functional) languages are so boring. Long life to logical and declarative programming like Prolog

Below a simple example of using a a declarative language (Prolog) for finding all solutions for a trick game… ?- use_module(library(clpfd)). ?- X in 1..9, Y #= (X * 3 + 3) * 3, Z #= (Y rem 10) + (Y div 10), setof(Z, X^Y^label([X,Y,Z]), Sol). Sol = [9],

April 18, 2020 · 1 min · 49 words · Matteo Redaelli

Building a Cloud-Agnostic Serverless infrastructure with Apache OpenWhisk

“Apache OpenWhisk (Incubating) is an open source, distributed Serverless platform that executes functions (fx) in response to events at any scale. OpenWhisk manages the infrastructure, servers and scaling using Docker containers so you can focus on building amazing and efficient applications… DEPLOY Anywhere: Since Apache OpenWhisk builds its components using containers it easily supports many deployment options both locally and within Cloud infrastructures. Options include many of today’s popular Container frameworks such as Kubernetes, Mesos and Compose...

November 29, 2018 · 1 min · 143 words · Matteo Redaelli

Adding Active Directory authentication to RStudio Server Open Source edition

Have you installed the statistical R language and RStudio Server in a corporare environment and you would like to authenticate users using Active Directory instead of local unix users and passwords? It is easy, you just need to install libpam-krb5… ;-) Below a sample Dockerfile if you want to install RStudio Server in a Docker container… FROM rocker/rstudio RUN apt-get update ADD krb5.conf /etc RUN apt-get install -y krb5-config libpam-krb5 RUN apt-get install -y openjdk-8-jdk r-cran-rjava #setup R configs RUN echo “r <- getOption(‘repos’); r[‘CRAN’] <- ‘http://cran....

March 28, 2018 · 2 min · 265 words · Matteo Redaelli

Continuous integration and continuous delivery with Jenkins

In this post I’ll show how to use the opensource tool #Jenkins, “the leading #opensource automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project”. I’ll create a simple pipeline that executes remote tasks via ssh. It could be used for continuous integration and continuous delivery for Oracle OBIEE Systems Install (in a docker container) docker run -p 8080:8080 -p 50000:50000 -v /home/oracle/docker\_shares/jenkins:/var/jenkins\_home -d jenkins Configure credentials Login to Jenkins (http://jenkins....

March 10, 2017 · 1 min · 110 words · Matteo Redaelli