I’m a security engineer and a builder at heart. I’ve been recently focusing a lot on agentic AI security, among other things.
Developing a Compass Android Application
This post is accompanied by a sample application that can be found on GitHub. Feel free to clone the repository and try it out yourself. The UI We will not discuss the UI elements in detail, but will focus instead on calculations and Java code. The code below is from the sample application’s layout file. The layout contains three TextView elements for displaying magnetic heading, true heading and magnetic declination values. The ImageView contains an image resembling a compass. The image will be programmatically rotated with animation, based on magnetic heading value. ...
Setting Up an Icecast Audio Streaming Server
Icecast is an open source media streaming server that can stream both audio and video across a network. It is very versatile and customizable. It can be used for running live podcasts or for hosting internet radio stations. In this guide, I will share my experience of setting up an HTTPS audio stream over Icecast. The guide will assume that you are running Ubuntu 18.04. The Architecture Icecast requires a source client that sends a bitstream to a mountpoint. Listeners can listen to the stream by accessing these mountpoints. ...