
Writing a simple example of Feistal Cipher
We talk about the Feistal Cipher and implement a simple proof of concept to test the algorithm out. Computerphile video: https://www.youtube.com/watch?v=FGhj3CGxl8I Source code: package org.ea; import java.security.MessageDigest; import java.util.Arrays; public class FeistelAlg { private final static String plainText = "the brown fox jumped over the lazy dog"; public static void doRound(byte[] left, byte[] right) throws […]

Inference with Tensorflow in Java
We talk about the struggles I had with running inferences in Java using a Keras model in tensorflow. This is the train.py used in this example. import tensorflow as tf #import tensorflowjs as tfjs import os from datetime import datetime from tensorflow.keras.models import Sequential, Model from tensorflow.keras.layers import Conv2D, MaxPooling2D, BatchNormalization, Layer from tensorflow.keras.layers import […]

Web server in pure Java
We talk about how to create a simple web server using only native java code, no libraries and the simple interface used for these actions.

My coding style
We talk about how I write my Java code and why I have chosen to write my code in a specific way. This is my opinion. I’m interested in yours if you have differing opinions.

How to use expansion files in Android
We look into how to setup an expansion file in Android and download it from Google Play.

Parsing an OpenAPI file (Swagger)
We go though how to read a OpenAPI specification with the old API reading body content. And we also translate it to the new V3 parser and go through how this differens and works.

Creating your custom model for Tensorflow.JS
We look into how to use Java to create an image classification model using TFRecords and train it with python. Then we will read that model in TensorflowJS in order to predict images.

Java 14 – LTS Wrap up
We look at what will come in the next release of java. Java 14, this release will wrap up development for the long time support release.

Advent of Code – Day 10 – This was a hard one
We solve the day 10 challenges for the Advent of Code. After 3 hours of trying we finally solve it by some interactive debugging.

Advent of Code – Day 7 – Finally solved!
We solve the day 7 challenges for the Advent of Code.