Portal

Software (Auswahl)

LinAlg -- The Linear-Algebra Scala Library

Submitted by h2b on
Name
LinAlg
Version
3.1.0
Programming language
Scala (2.12, 2.11)
Date

LinAlg provides data types and operations for algebraic vectors and matrices.

Vector and Matrix elements can be of arbitrary type, provided that a factory for that element type is available. Currently, factories exist for Double, Float, Long, Int, Short, Byte and Char.

SimGraf -- A Simple Scala Graphics Library

Submitted by h2b on
Name
SimGraf
Version
1.3.0
Programming language
Scala (2.12, 2.11)
Date

This is a Scala library of graphics utilities. It is focused on simple drawing of shapes and functions without the need of instructing the graphics system by a dozen or so settings before a simple picture is shown. It is not meant to program graphical user interfaces with buttons, menus and so on.

Algolib -- A Scala Library of Essential Algorithms

Submitted by h2b on
Name
Algolib
Version
0.1.0
Programming language
Scala (2.12, 2.11)
Date

This is a Scala library of essential algorithms.

It starts with Scala implementations of some algorithms from the book Algorithms 4 by Robert Sedgewick and Kevin Wayne [1]. Further adaptations from this book will be added from time to time. Other algorithms may go into this library as well.

PA-Toolbox -- Predictive-Analytics Java Toolbox

Submitted by h2b on
Name
PA-Toolbox
Version
1.1.0+1.1.0
Programming language
Java, Scala (2.12, 2.11)
Date

This is a Java library of some tools that happened to be useful in a predictive-analytics environment. In fact, most of them are not specific to this area and might be of general interest.

There is also a Scala interface for some sub modules, currently for pa-toolbox-linalg and pa-toolbox-plotting. It simplifies the use of these modules with Scala in general and with my LinAlg Scala Library in particular.


Anleitungen (Auswahl)

Web Server in a Sandbox

Submitted by h2b on
System
Debian GNU/Linux
Version
7
Symptom
A web server and related services as a database server shall run in jailed environments, so that they have no or or only limited access to other processes or filesystem paths of the operating system.

There are different methods to get a sandbox environment. Here, we use the  Firejail Security Sandbox, which allows to assign a private sealed scope to a service and all associated processes; this includes resources like network access, process table or filesystem. Therewith, the service only sees its own processes and can only access the part of the filesystem that has been assigned tio it.

Extracting Multiple Subtrees from a Git Repository

Submitted by h2b on
System

Git

Version
2.1.4
Symptom

Multiple subtrees of a Git repository shall be extracted and transferred to a new archive while keeping the version history.

Git provides different approaches to solve this task. Here, we use the git-subtree command to create branches from the subtrees to be detached. Then, these branches will be imported from another repository. Sources were the manpage (man git-subtree) and this answer on stackoverflow along with some comments listed there.

Improving Mailserver Reputation

Submitted by h2b on
System
Alle
Symptom
Mails sent from your server go into the recipient's spam or junk folder.

It is quite easy to set up a mailing system on your own server, but more often than not the recipients of your mails find them in their spam or junk folder – if at all. The reason is that most mail providers establish procedures to block unsolicited mails we have to deal with nowadays.