The Cattle Grid

Michele Beltrame's corner

Follow me on GitHub Follow me on Twitter


I am Michele Beltrame, I love computer programming, Unix systems, languages and hiking in the mountains and playing the bass guitar.

This personal web site contains a blog with mainly tech-related articles, plus some extras. Most blog posts (all the tech stuff) are in English, but there's also the occasional Italian language writing.

Latest blog posts

Dealing with dates and times in software and databases

This post aims at pointing out some of the difficulties that arise when writing software and dealing with dates and times, and with storing them in databases.

Read article »

The Undergarden, a text adventure in Rust: 2 - Objects

In this second blog post I’m showing how I implemented objects - things the player can interact with - for a text adventure written in Rust. As usual, the full code is available on GitHub.

Read article »

The Undergarden, a text adventure in Rust: 1 - Sections

I’m attempting to write a (very simple, at least initially) text adventure in Rust, so I’m going to share progress on my blog starting today. This first post is about the sections, that to day is the rooms of a house for example.

Read article »

A Rust crate for EU VAT ID validation

I just published a Rust crate for European Union VAT IDs validation. It performs a syntactic validation of a VAT ID, without querying the VIES database: this is what most developers need, actually, because sometimes you can’t find a VAT ID (especially if it was just assigned) in the VIES database.

Read article »

My first Rust crate: tools for Italian codice fiscale

So here’s my first Rust crate: codice_fiscale. It’s a first attempt to release crates aimed at solving tasks which are very common especially in web programming: validation of credit card numbers, shipping rates lookups, and loads of other things. Some of these tasks already have Rust crates dedicated to them, other’s still don’t.

Read article »