Exitcode0 - Executed without error

Welcome to the exitcode0 blog, where we try to securely automate all the things and write code where needed to solve first world problems.

Complete 2024 Guide: How to expand a Ubuntu LVM LV to use all space on the PV

2024 Update - I found myself stuck in this situation again, my Ubuntu root partition was completely full to the brim… I’m scrambling to remove apt chache and pruning and and all docker images, but then I run vgdisplay only to reaslise that my LVM LV isn’t even using the full amount of physical disk space (this is a VM and I have just expanded the VMDK file). Thankfully I wrote this blog post 4 years ago as a how-to. Well now I am going to give this post a refresh and this includes some extra details which I needed during the panic of a full disk. ...

September 4, 2024 · 5 min · Tom

Testing Llama3.1 (8B) With LM Studio

MetaAI have done it again… Dropping llama3.1 under the (mostly) open source license and I have been putting it through its paces and benchmarking to find out how well it performs to models preiously tested: Testing Llama3 With LM Studio. Previously we took a look at llama3 in LM Studio which has made self hosted LLMs that rival paid services like ChatGPT and Claude possible; this time we are taking a look at llama through the lend of GPT4All. ...

July 28, 2024 · 10 min · Tom
Feeding My Cat With Home Assistant

Feeding My Cat With Home Assistant

Let’s face it, cats are demanding creatures. They expect their food to be served on time, and they’re not afraid to let you know when it’s late. But what if you trigger the feeding action to our Home Assistant dashboard? In this post, we’ll explore how to use Home Assistant to control a Tuya-compatible cat feeder, ensuring your feline friend never goes hungry. Get ready to unleash the power of automation and give your cat the royal treatment they deserve! ...

July 3, 2024 · 4 min · Tom C
How to write Python scripts using llama3-8b and LM Studio

Using an Amazon FireHD8 as a Home Assistant Dashboard Control Panel

I have covered Home Assistant (HA) content a number of times in previous posts, and am I a strong advocate for this project. The home automation scene is a wash with consumer offerings, but no single silicone valley big hitter has managed to provide a fully interoperable solution; most certainly not an affordable one. Ultimately, everyone has there own idea of how home automation should work. Home Assistant doesn’t solve the problem of standards dilution, but it offers an extremely robust way to tie the wide variety of standards and products together. ...

June 11, 2024 · 9 min · Tom C

Testing Llama3 With LM Studio

MetaAI have just introduced Llama 3 to the world and the open source community is already putting it through its paces and pushing to find the limits of what it can produce. One fantastic tool which has made self hosted LLMs that rival paid services like ChatGPT and Claude possible is LM Studio. With version 0.2.20 they bough about support for llama 3 along with a GGUF quantized 8 billion parameter version of the model. ...

April 19, 2024 · 13 min · Tom