🌱

Digital Garden

Where my ideas grow. A permanent Work In Progress.


Optimize Rust build in Docker

This is a docker file I pushed that relies on docker caching to optimize builds:

Programming

How to find a frontmatter variable with your shell

So I have a file like:

---
title: Server infrastructure
description: IPFS Cluster provides data orchestration across a swarm of IPFS daemons by allocating, replicating, and tracking a global pin-set distributed among multiple peers. Learn how to install it here.
current-ipfs-cluster-version: v1.0.0-rc4
---

# Server infrastructure

If you want to install IPFS in a server environment and offer IPFS as a service, you should look at IPFS Cluster. IPFS Cluster provides data orchestration across a swarm of IPFS daemons by allocating, replicating, and tracking a global pin-set distributed among multiple peers. This makes it significantly easier to manage multiple IPFS nodes and ensure that data is available across an internal network.

## Create a local cluster

To see if IPFS Cluster is suitable for your project, follow this quick start guide and spin up a local IPFS Cluster instance. At the end of this guide, you will have a solid understanding of how IPFS Cluster is set up and how to interact with it. If you'd rather create a production-ready cluster, take a look at the [official IPFS Cluster documentation →](https://cluster.ipfs.io/)

I want to find the value for current-ipfs-cluster-version.

Programming

Build Environment Variables in Go

I want to customize the build process of a piece of go code. It’s dockerized. I know there are a few parameters I want to use, like -modfile that lets you change the go.mod and go.sum files used to build the app.

Programming

Ultra Logging

I’ve been stuck in a tunnel for some time.

Sometimes there are problems that just feels like you need to hit your head against a wall for a day or a week without any visible outcome. That happens. For example when you’re doing research work, comparing libraries, setting up new systems or debugging random bugs in Software.

Building

Notes about IPLD

IPLD is a data model developper by Protocol Labs (they make IPFS). It basically emerged from their work on content-addressed data.

Technology

Offline-First and Decentralization

I am not sure this is a well understood or well researched fact. Might be. But researching on offline first applications and working in the decentralized field, I find there are many relations between both.

Decentralization

Github Actions tips

👋 I wrote this note in 2022, if you have any questions, please reach out.

Programming

Getting Started with Rust

I’m learning Rust by updating a library, this is tricky.

Resources to get started

Basics:
https://doc.rust-lang.org/rust-by-example/mod/use.html

Programming

Quick Go Dump

I am working on porting a Go SDK to Rust. My goal right now is to figure out the I/Os of a certain SDK function and replicate it in go.

Programming

Testground Debugging

Testground

Testground is an open source tool developer by Protocol Labs. It’s designed to write large scale test plans for decentralized software.

Decentralization

Testground Hacks & Tricks

Testground

Testground is an open source tool developer by Protocol Labs. It’s designed to write large scale test plans for decentralized software.

Decentralization

Troubleshooting an IPFS Cluster

IPFS Cluster

A pretty cool tool: cluster.ipfs.io/. It lets you create clusters of IPFS nodes that are orchestrated togethere to make sure content is available and replicated.

Decentralization

Troubleshooting an IPFS Cluster

IPFS Cluster

A pretty cool tool: cluster.ipfs.io/. It lets you create clusters of IPFS nodes that are orchestrated togethere to make sure content is available and replicated.

Decentralization

Better name for Logging Levels

I find logging levels quite difficult to understand and use. What’s informative? versus what is a warning?

Technology

Run Hugo in a VSCode task

I’m looking for ways to increase my focus and reduce the time I waste on “non important tasks”.
With this simple configuration, I don’t have to boot another terminal nor memorize Hugo’s parameters.

Technology

Emails Marketing

Checking your email’s quality

I’ve sent a few emails during the last few weeks to ask for feedback on whena.re. I got only one response.

Building

Publish an Article

I just published: https://tickingfocus.com/pomodoro-technique/pomodoro-method-guide/

Some stuff I always spend time googling:

Check your opengraph at http://opengraphtools.com/

Grab a cover photo at:

Building

Science of Doubt: The Left-Hand Experiment

How your tools might kill your confidence?

In 2003, researchers asked their students to write down their BEST or WORST qualities.

Doubts & Impostors

Science of Doubt: The Recall Irony Experiment

I’ve been researching doubts these last few weeks; here is a fascinating experiment I found.

Doubts & Impostors

Terraform

I started working on a new projects that relies on terraform and AWS. This is new to me, I’m used
to Google Cloud and “artisanal” setup, by hand with scriping tools like Python’s Fabric or Ansible.

Technology

Trying out Forestry

I’ve been looking for the best way to write content for a while.

I do not appreciate WordPress, too heavy, too slow, in my opinion.

Technology

Trying out Stimulus

DDH shared a tweet recently talking about a new version for a tool called Stimulus.

Technology