March 17, 2022

Autoreload your Rust webserver with rust

When you create a long running application in Rust, you have to recompile your files everytime you make a change. The first way is to just run cargo run and Ctrl-C the process then run it again when you want to reload. A better way is to install cargo-watch, which will do this process automatically when you change a file in your project. You just need to run it with Read more

March 17, 2022

Using cargo-edit to simplify dependency management

Getting back into Rust, I want to start documenting my journey to getting a small service running. The first "problem" I had to solve was to add dependencies to the project. The official method is to add the dependencies manually in your Cargo.toml file. However, this is not convenient, and could lead to errors quite easily. Thankfully, you can make this easier using cargo-edit. This will let you add, remove, upgrade dependencies or set-version of your crate. Read more

January 26, 2021

A Simple Wifi Menu With Rofi on i3

I’ve been using nm-applet in i3 to manage my networks, and it works pretty well. However, I don’t really like the icons it comes with in my systray, so I decided to try my hand at creating a little helper to get rid of it and manage my networks in an other way. Basically, I want to be able to connet to a wifi from the list of available ones. Read more

January 1, 2021

Alert on Low Battery in I3

Working on i3, you have to define a lot of functionalities yourself, or install the program that does it for you. One of those functionalities is to be alerted in case of a low battery. Let’s explore two options, the very simple and the very customizable, so that you can choose what fits you best. You’ll learn more about linux going the custom route, but it will take longer to get running. Read more

November 9, 2020

My Technological Struggle

I started developing Startyk using Go, and found myself having to implement a lot of different elements, such as writing to a database, or choosing how to do templating. While there is power in creating your own version of those features, that is not something you want to reinvent if your goal is to develop a project fast For this reason, I tried to quickly implement the same functionalities using Rails. Read more

Copyright Marin Gilles 2019-2022