avatar

Life Programming

Simplifying infrastructure

Tricking myself into working

For a long time now, I have been wanting to create a business for myself. I always have had a lot of ideas, but as soon as I started working on one, I found that: Someone else already did something very similar It is much harder than I anticipated I don’t know where to start I don’t know that I am the right person to do it Now, I know that all of those are just excuses, and that until I persist in one idea for at least a few months, very consistently, I will not really be able to see any results. Maybe a few comments here and there, a few people that will like what I did, but nothing concrete.

My simplified development workflow in Go

Using tests during development to keep you code tidy 🔗As I was working on a project, while developing a new function, I noticed that I was modifying some existing code to be able to test it. Doing it this way seemed like a very bad idea, so I looked for a better way to do it. But let’s start an insanely simple example, to clarify what I’m saying. We start with a basic program, an extraString function and a main.

Automated vs Manual

We always speak about automating everything, especially in the tech world where everything goes so fast. And I agree that if you can, you should automate processes as much as you can. But there is value in doing things manually sometimes. The first value is for learning. If you are learning a new technology you will have to put the work, and manually tweak code, settings until you really understand how it works. Without going through the process, you will just scratch the surface of what you are learning.

New Virtual Appliance From an Existing One With Packer

When deploying Virtual Appliances (VA), you want the process to be automated and repeatable, not just a one shot configured and exported manually. Thanks to Packer, automating this is just a question of creating a JSON configuration file and letting it do its magic. Packer is used by giving it an ISO image of a base distribution, installing the distribution and running the modifications you want. This is good when creating new VAs, but what can you do if you already have an existing one?

"About this site and about me"

— Hi ! I'm Marin ! SRE by day, simplifier by night ! Trying to make infrastructures simpler, so they can be faster, and easier to create and maintain. I make devs happy when they know they'll have to deploy their code with my tools. I make CTOs happy when they (don't) see their cloud bill. Microservices not welcome Favorite people The Primeagen - Some ranting, hot takes, and wake up calls. Julia Evans - Quite a lot of different tech topics A few quotes I like > Be brave enough to suck at something new