A few days ago we released a new version of HabitCat (v1.9.1) taking in account feedbacks we received from our users:

  • 🌗 Switch between light and dark mode (also known as "night mode")! HabitCat now supports dynamic color schemes, depending on the mode set on your phone the app will automatically select the appropriate scheme.

  • 📆 We received multiple times the feedback that users want to set past data, for example from other applications, and have more control over the starting date of a habit. We agree that's a very good feature, so that's now possible! When creating a habit the start date will default to today, but you can change it to a date in the past then manually fill the data you already have.
Read full post

When reading Svelte 3 documentation of the {#each} keyword, it isn't clear how to correctly handle the case where the variable we want to iterate on is null or undefined.

A common use case is listing the result of an object of type Promise<MyItem[]>. We could imagine for example that this promise represents the result of an HTTP request. We would first initialized the promise to null as a way to communicate that we didn't fetch any result yet.

Read full post

About a month ago we released HabitCat, a simple mobile application to track and develop new habits. We are now learning how to market it, something neither me nor my partner have any experience doing! So far we got a few downloads without doing any form of advertising (other than creating a Twitter account), though that's of course really limited and is mostly from our friends, family, and acquaintance.

So today we are trying something new for us, publishing our project on ProductHunt, which seems to be the main platform for product developers to showcase what they've done.

HabitCat - Track your habits | Product Hunt Embed

Upvote our submission if you have a ProductHunt account and want to support us, we would love to see more people developing habits and routines using HabitCat ✌.

My custom powershell profile

Since I switched to Windows last year I'm using Microsoft's Powershell as my main shell environment (on my personal laptop). At first I didn't really look into Powershell's feature until around half a year ago when I found the motivation to work on a nicer prompt and spent some time migrating my ZSH profile to Powershell. I ended up creating a different profile that suits my needs, and that I had lot of fun building.

That's how my prompt looks:

My custom Powershell prompt

It has the following features:

  • Used for both Windows and Linux subsystem
  • Current directory
  • A dynamic "main directory" used to specify the context
  • Git branch
  • Current time
  • Last command success/failure
  • Admin user label

That was a cool and fun way to learn more about Powershell features, after spending all my life with sh, bash, and zsh it was refreshing to try out a different way to write shell scripts.

Some implementation details

Left and right prompt

That's a very common feature in other...

Read full post

This week we released updates to HabitCat, our simple mobile app to develop and track new routines and habits.

  1. We created an improved welcome screen that displays our cute cat logo and looks a bit more welcoming.

  1. Habits can now be deleted and reorganize from the home screen! Just click on the "Edit" button on the top right corner.

  1. Someone reached out to us on Twitter to suggest a randomized default color for habits. That's a simple, neat little detail, so we did it.
  2. We were (and still are) looking for ways to improve our form to create new habits. We are trying a new way to present the colors as a wheel instead of a grid. We should maybe think about making it more interactive (would it be cool to be able to spin it?) in the future.
  3. Improved localization for our three supported languages: French, German, and English. The back button and date content (months, days, etc) are now localized correctly everywhere.
  4. Some touch are...
Read full post