Linux by example – GCC, Ncurses, attr and bzip2
We are in our new linux environment and create gcc compiler that will be our final compiler. Then we look at some text manipulation libraries, compressors and file attribute tools.
We are in our new linux environment and create gcc compiler that will be our final compiler. Then we look at some text manipulation libraries, compressors and file attribute tools.
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 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…
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.
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.
We look into how to setup an expansion file in Android and download it from Google Play.
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.
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.
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.
We solve the day 18 challenges for the Advent of Code.