Articles in 2021

There are several tutorials on how to run django with pm2 but all use manage.py to deploy and this doesn’t seem like a good idea. Even if behind Nginx, you should not use the django deployment server in production but you can run django with pm2 and gunic

Read More calendar 20 NovÀmber, 2021

I have already covered how to deploy your Swift Saga site on Vercel and for windows affecionados on Azure but there is another simple and free option:Github pages If you are looking for a simple way to host your static website done with made with Saga in

Read More calendar 24 Oktoober, 2021

In my previous article I discussed how to deploy a Swift static website on Azure Static web pages. As of today, I think that Vercel has a much more compelling offer (you can see a comparison here comparison here and is much more user friendly). In Vercel

Read More calendar 23 Oktoober, 2021

Few days ago I wanted to try something different. I have some static website generated using Saga a static site generator written in Swift. I found it to be simple but, by far, the best static site generator built on Swift. If you look through the documen

Read More calendar 19 Oktoober, 2021

Today I tried Azure Static Web Apps. The offer tries to enter the growing market of static (or rather said frontend) web development. It supports the major frontend frameworks like Vue, React, Angular and all static HTML/Javascript websites. The pricing m

Read More calendar 18 Oktoober, 2021

There are several ways to deploy your Django project. In this day and age there are several new services that let you deploy an app just with a config file without having to deal with web servers or WSGI. But if you want to run your own server (e.g. via

Read More calendar 09 Oktoober, 2021

Running mariadb + phpmyadmin is essential to run a number of web applications including django. A lot of django tutorials use postgresql but I found the mariadb + phpmyadmin combination very user friendly to manage your database. There are plenty of tutor

Read More calendar 09 Oktoober, 2021

In my opinion one of the strongest features of Django is the Admin. In pretty much every framework and programming language I have tried: PHP, NodeJS, Golang and even micro-frameworks like flask you end up writing your own admin. This seems trivial (and i

Read More calendar 05 Oktoober, 2021

One of the most tedious aspects of writing a blog post is writing the slug. For these not in the know a slug is simply the url at which your article will be reacheable: so if you have a post with a title “Hello World” the slug would be yourdomain.com/hell

Read More calendar 05 SeptÀmber, 2021

Inspired from the UI change to dark mode I decided to change the website backend. The previous backend was in Svelte-Sapper that has now been discontinued in favour of SvelteKit. I started using Svelte/Sapper in April and learned many things about static

Read More calendar 18 Auguscht, 2021

As always when I have some “holidays” I come up with ideas to experiment my website and hobby apps. As it is now 3:54 AM this won’t be a long post but I have just changed the UI and design to dark mode 🌚. The font is also monospaced so consistent with cod

Read More calendar 17 Auguscht, 2021

While browsing my hackernews clone I came across an intriguing and at the same time bizarre project: S3 Email that will make you forget everything you thought about imap server, smtp, pop and other traditional email protocols. date: 2021-07-29 According t

Read More calendar 29 Juli, 2021

In the past month I lead the effort to migrate three major projects from Express/Node.js to Next.js. Why Next.js and not Svelte, Gatsby, Hugo or another Jamstack and
why move from Node.JS to Jamstack ? Starting from the last question Express/Node.js with

Read More calendar 20 Juni, 2021

I have just finished my new iOS app: MarienkĂ€fer. It is a small app yet –at least to me 😜– very useful. But wait: there is already a wide selection of great and powerful notes app so why another one ? MarienkĂ€fer🐞 is small and different: You can write no

Read More calendar 09 Mai, 2021

In my quest to move a lot of work projects to a serverless architecture I have used Use Svelte + Svelte Spa router svelte spa router in several projects. This present an issue: if you fetch data from an API it will expose your credentials and this is les

Read More calendar 08 Mai, 2021

I have now finished migrated a website developed in Nodejs/Express/MySQL to sveltekit so I thought it would be a good moment to pen down some of my experiences. If you are a bit like me you can be confused by Sapper/Svelte/Sveltekit. What are the differe

Read More calendar 03 Mai, 2021

In the enthusiasm of moving much of my stack to svelte I re-wrote flags.lol a simple game inspired from “fun with flags” from the series big bang theory. The first version was written in go with a mysql backend (to host the flag codes and file locations)

Read More calendar 27 April, 2021

As soon as I decided to move some of my websites using jamstack I was faced with the the issue of hosting or – better said in the case of jamstack – deploy my shiny new website. I have tried Google Cloud, Netlify, Vercel and Cloudflare pages and here are

Read More calendar 25 April, 2021

This page does not exist. May be I changed some routes, so it can be my fault! back to the homepage Feel free to visit the Apps section to try some of my apps!

Read More calendar 24 April, 2021

Previously, I was very sceptical (to say the least) about “static websites”. There are several limits and somehow don’t feel as cool as dynamic websites. Little I knew that “static” today doesn’t mean just writing a bunch of HTML pages and upload them in

Read More calendar 24 April, 2021

After a few months I am now revisiting the previous review of sapper-svelte. Recently, I decided to try to migrate a project from a dynamic to a static website to be hosted on google cloud. Looking back, I made a number of mistakes one of which was using

Read More calendar 18 April, 2021

I have been using Protonmail (now it is called Proton.me) for several years with some ups and down. In 2018 I think I stopped using it because it was suddenly unavailable for serveral hours but I have now decided to revisit it in 2021. For starters, Proto

Read More calendar 04 April, 2021

Mit Swissradio.live können Sie alle wichtigen öffentlichen Schweizer Radiosender hören. Keine Werbung, weder auf Sendung noch in der App. viel spass! With Swissradio.live you can listen to all the major swiss public radio stations. No ads, neither on air

Read More calendar 01 April, 2021

Schweiz.Press bietet einige der neuesten Nachrichten aus dem SRF mit einem Twist: Positive Nachrichten werden vollstĂ€ndig angezeigt, einschliesslich Foto und Beschreibung. Nachrichten, die von der KĂŒnstlichen Intelligenz als negativ analysiert werden, wer

Read More calendar 01 April, 2021

I have now migrated my silent hacker news clone form node (which was using also streams) to PHP 8. What is pretty nice is the design that is now using a comics-style look and feel: see it for yourself at https://neu.sh It is really a simple and basic up b

Read More calendar 28 MĂ€rz, 2021

I have been working on a new font adaptation and I wanted to try to create a variable font. The benefits of variable fonts for the web are clear: in a much smaller font size you can include different weights. So here it is “David.Dev Sans” Variable font t

Read More calendar 03 MĂ€rz, 2021

**Guideline 4.2.2 - Design - Minimum Functionality ** We noticed that your app only includes links, images, or content aggregated from the Internet with limited or no native iOS functionality. Although this content may be curated from the web specifically

Read More calendar 26 Februar, 2021

I am happy to announce that my new app schweiz.press is now available in the Apple App Store. This app includes the latest Swiss News in German with a twist: a) Using the Natural Language Native Swift framework it filters the “bad news” that are displ

Read More calendar 25 Februar, 2021

A few months ago PHP 8 was released: since a lot of new interesting functions were added, most notably the JIT (just in time) compilation that will make PHP much faster, I knew I would answer to the đŸ§œâ€â™€ïž and had to try it. Not only I did, but I moved my blog

Read More calendar 17 Februar, 2021

I am currently waiting for some of my new apps to be approved in both the Apple Mac App Store and the App Store for iOS. The review system has become more and more erratic recently: I have an app approved and available on the Mac App Store but 
rejected m

Read More calendar 14 Februar, 2021

Dicziunari.app Dicziunari.app Ú il program gratuit per translatar pleds dil romontsch en tudestg e dil tudestg en romontsch. Scrivas il pled e ti vegns a vesair la translaziun!. Ils verbs cuntegna la conjugaziun cumpletta. Deutsch : Mit Dicziunari.app kön

Read More calendar 31 Januar, 2021

I have now finished the release of Dicziunari.app. DicziunariApp is a dictionary between German and Romansch (one of the 4 official languages of Switzerland). I started the project long ago but never came across to finish it. There are over 200,000 words

Read More calendar 31 Januar, 2021

I finally had some time to review my web app https://password.select the previous version was generating the passwords sever side and that is not a great idea. So inspired by https://www.useapassphrase.com I have now updated password.select to work entire

Read More calendar 30 Januar, 2021

I have spent the past few days to locate a good webfont for a business project. During the process of licensing and analysing several webfonts I now understand why google dominates the web fonts market. Part of the fault is the absurd “pay as you go” pric

Read More calendar 23 Januar, 2021

Welcome to the completely re-designed david.dev! The new design is complete different and is inspired by Brutalist web design (see https://brutalist-web.design if you are curious) but without exagerating - I still think that beauty is important. I have s

Read More calendar 18 Januar, 2021

One of the most under-rated parts of frontend web development is typography. I have found several great developers being totally unmoved by the power of typography on the web. Things have changed: now Google fonts dominate the market because is so easy to

Read More calendar 01 Januar, 2021