Note This article is a part of a series of tutorials "Creating an Electron application with Svelte 3 and TypeScript".

Earlier this month the team behind the web UI framework Svelte announced they are now officially supporting TypeScript. I didn't follow the project before this announcement, but I see it as a good motivation to try it out. For this reason I decided I would create a simple Electron application interfacing with Wikipedia's public API, and will document the process through a serie of tutorials.

I read Svelte's documentation yesterday for the first time, so I'm really new to the framework, though from what I've seen so far it should be quite fast to pick up. As mentioned in the title, I'm going to use Svelte 3 and TypeScript. Let's start with the initi...

Read full post

TL;DR

I have again an active Apple Developer Membership, thus Disk Info is back on the Mac App Store.

Sources: https://github.com/dgellow/DiskInfo

Back in 2015 I got a used MacBook Pro for a very good price and started to use it as my main machine. Moving back from ArchLinux on a ThinkPad x230 to a MacBook Pro was in general a very good experience, for example the upgrade to a high density display was the best thing ever, but it didn't take long to be frustrated by some simple things I got accustomated to as part of my Linux experience.

One small thing I really don't like in macOS is how annoying it is to know how much free space is available in my main drive. That's clearly not a huge deal, just:

  1. Open Finder
  2. Locate the drive
  3. Right click
  4. Select "Get Info"
  5. Locate the available disk space

Slightly annoying, but nothing too bad, only for the reason that I found myself checking my available space multiple times a week! It quickly became a pain to repeat those ste...

Read full post

An short explanation and a debugging session.

This website is made with Grav, a CMS based on markdown files for content and modern PHP for rendering and the rest. I'm not doing anything crazy here, it's just a personal blog, but so far I'm happy with it. I created my own theme, named microblog, that covers my needs.

Today I wanted to fix a few styling and usability issues I have with my theme, so I started my local environment (just a Dockerfile to run an Nginx + php fpm to replicate the real environment), and did my changes. Once done, I faced the question: how do I distribute it to my server?

You have the following solutions:

  • copy through ssh, e.g: scp, or SFTP if configured (of course only possible if you have an ssh access). That's fast and simple, but be sure to use the correct user and/or set correct file permissions.
  • use GPM, the plugin system used by Grav. If your project is open source (specifically MIT licensed) then you can add it to the public list of...
Read full post

The consistency curse

A weird Apple ID picture, and thoughts on consistency.

Those days my main operating system is Windows 10, I switched from macOS a bit less than 1 year ago out of frustration as I was looking for a new laptop. The shift of paradigm took a bit of time to adapt, but once I accepted that Windows really does and never cared about consistency, things started to go quite well, and I'm now a happy Windows user.

A bit less than a week ago I was working on a release of HabitCat to iOS and so had a need for XCode and the iOS simulator. I went back to my old MacBook and started applying all available macOS updates. I avoided them until now because of all the issues that always come with macOS upgrades, but that's an XCode requirement, so I put my grumpy face, grumbled my annoyance away and started the long upgrade process, then of course spent the next hour or so fixing all the issues caused by the removal of 32 bits support, new app permission restrictions, etc (the usual stuff when upgradi...

Read full post

HabitCat released on iOS

Small update to follow-up the official HabitCat public release. The app is now also available on iOS, worldwide and for free 😁.

Get it right now!

Again I want to cheer the people at Expo for making it that easy to target the whole phone market, releasing on iOS wasn't our plan until just a few days ago because we thought that would be too much work for a small side project like this one, but in fact that only required a few tweaks and manual operations.

So we are now done with the release on mobile, and done with the first version of the application, we reached all our goals and even more. A very successful project so far (not in term of users of course, but that's not our main motivation to work on this)!

And please, if you try the app, continue to give us feedbacks on Twitter or by email, we will follow-up with updates to take in account user comments 🤗.