After several months of beta testing on TestFlight, I am happy to share that [**Dive Exporter**](https://diveexporter.app/) is now available on the App Store. It's an iOS and macOS app I built to solve a frustration of my own, and along the way it turned into something I think other divers will find useful too. The pitch is simple: **connect to your Bluetooth dive computer, download your dives,…
I've been using **[Obsidian](https://obsidian.md/)** for a couple of years now, and it has become my go-to companion for notes, data tracking, and knowledge management. Before landing on Obsidian, I went through quite the journey of note-taking tools: **Evernote**, then **Notion**, then **Bear**. Each had its strengths, but none felt quite right. What won me over with Obsidian was the philosophy:…
**The Art of Invisibility** ([US](http://amzn.to/2FdZzvF) | [UK](http://amzn.to/2ADHjIN) | [IT](http://amzn.to/2CQNqPX)) is the latest book of Kevin Mitnick, one of the world's most notorious hackers. Despite what you may think, this book is not a highly technical book. Not at all. In fact, the Art of Invisibility takes a very informative approach: it documents the thousands of ways that others…
I consider myself an active [StackOverflow](https://stackoverflow.com/) user, despite my activity tending to vary depending on my daily workload. I joined StackOverflow in 2009 and, at the time of writing (December 2016), [I have a reputation](https://stackoverflow.com/users/123527/simone-carletti) of 124k and I'm ranked in the top 300 users. Every once in a while programmers ask me questions such…
A couple of days ago I was cleaning up my [1Password](https://1password.com/) primary vault, and I came across some entries dated 2008. In the software industry, eight years is quite a long period for a software adoption, and a question popped into my head: how long have I been using 1Password for? It turns out the answer is 9 years, as the oldest entry I have in my vault was created exactly 9…
The increasing adoption of HTTPS as the default connection protocol for websites has introduced a few new challenges to developers and system administrators, such as the need to consolidate a canonical domain by [redirecting non-HTTP sites to HTTPS](https://blog.dnsimple.com/2016/08/https-redirects/), in addition to redirecting www to non-www hostnames (or vice-versa). ## Introduction Here I show…
This article assumes you want to redirect a www version of a domain (e.g. `www.example.com`) to the non-www root domain (e.g. `example.com`) with HTTPS, using Amazon S3 static site redirect and CloudFront. ## Introduction Before we start, there are a few important notes to keep in mind: - In order to redirect via CloudFront, we will have to configure an Amazon S3 bucket for redirect. - If you are…
This article assumes you want to redirect an entire hostname to a different one, and the source hostname (the one that is redirecting) should be configured to accept HTTPS connections and redirect via HTTPS. For example, this is the case if you want to redirect the www-version of a domain, such as `www.example.com`, to the corresponding non-www version, `example.com`. | Requested | Redirected to |…
A few days ago I had to work on a small PHP script. Several years ago [I used to be a PHP developer](https://simonecarletti.com/blog/2009/03/design-patterns-in-php/), but these days I'm using different programming languages and I had to set up my Mac OS from scratch. Since I wanted a simple and portable solution with a very low impact on my machine, I decided to use [Caddy…
[Let's Encrypt](https://letsencrypt.org/) is a new certificate authority that entered the internet scene at the [end of 2015](https://letsencrypt.org/2015/12/03/entering-public-beta.html). Let's Encrypt _is not simply another certificate authority_, if for no other reason than the certificates are free, whereas the vast majority of existing certificate authorities sell SSL/TLS certificates for a…