Skip to content

Tag: Coding and Programming

If you write software, you are a coder (or programmer). If you explain what you are doing, you have posts about the topics coding and programming.

Apache Shiro: implementing new password hashing algorithms

As an Apache Shiro PMC member, I have occasionally contact to cryptographic functions. For example, Shiro 1.x allows hashed passwords in your shiro.ini configuration.

Now, everyone should know by now that just hashing (and salting) a password is not a good protection against brute force attacks. Even with hundreds or thousands of iterations, such a password can be prone to brute force attacks nowadays. This it is not a surprise that Lez Hazlewood (the original creator of Apache Shiro) had the idea to add an bcrypt implementation.

Maven JLink Plugin Version 3.1.0 released

The Apache Maven team is pleased to announce the release of the Apache Maven JLink Plugin, version 3.1.0.

This plugin is used to create a JLink distribution using Maven. It is as easy as creating a jar file, but will instead create a zip file containing a reduced Java Runtime along with a launcher script, as well as the actual application of course. A JLink zip file is therefore platform dependent.

Use SnakeYAML in a modular jlink distribution

Whenever you pull in SnakeYAML (either directly or via Jackson), you will break your modulear builds. The reason: SnakeYAML is a named automatic module. But then, automatic modules cannot be used in jlink images.

But this can be healed. You can rescue your builds using the moditect-maven-plugin. It is a little hard to use, as the documentation is very technical. It also has few examples, and the documentation does not explain when to use which goal, and how to proceed. So, if you want to see a simple example, read on! 🙂

Spigot Plugin Development: How I got started

Developing a spigot plugin is easy, if you have used the Java programming language before. So, do you love playing Minecraft as I do? Are you a developer? There is a good chance that you are already running spigot as your server, which supports plugins using their own API. If you would like to develop your own plugin, you might get lost — there is not much in the way of good tutorials. In this article, I will try to explain the basic components of spigot, how to set up your development environment and how to get started.

WP-JsonLD: WordPress-Plugin for schema.org-linked data

WP-JsonLD is a new plugin, which was written by me. It is available on Github at bmhm/wp-jsonld verfügbar and already contains a fully functional wordpress plugin. For short: It will include machine readable data using the format specification Json-LD into your WordPress HTML output.

This post will describe the internals of this plugin and why you might want to use it.

Gogs Git-Server: Fast, beautiful, lightweight

The Gogs Git-Server is a central repository for your private git projects. Usually, you wouldn’t need a  git server at all, or you would probably use  GitLab. But GitLab can be a complex mess, so I was looking for an easy-to-use alternative. Other well-known git servers are e.g. Atlassian Bitbucket, Gitblit and GitList.

But aside from all those Gogs is the only one to be fast AND lightweight AND eays-to-use: Gogs is written in Googleʼs Go Programming Language which makes it really fast.