Java 20 – Divide and concurrent
We look into the changes made in the latest release of Java, 20.
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…
We solve the day 18 challenges for the Advent of Code.
We look into how to setup kubernetes easily on one machine and then get cephfs mounted into a pod. Using ceph you could balance workloads or share resources easily in your kubernetes cluster. Git repository ceph-kubernetes An example of how to setup ceph mounting on a kubernetes cluster. Ceph Packages First up after you have…
We look into how to create TFRecords to and handle images from a custom dataset. Later we load these records into a model and do some predictions.
In this tutorial, I go through how to create a video in java. Using the framework Xuggle we can create a video file containing a stream of images. But you can use any BufferedImage to create these frames, so this library is super flexible and even support audio.
We look into web assembly and compare it to x86 assembly code.