Hide scores on HackerNews

A few days ago I re-published on the Chrome Web Store a small browser extension "HackerNews No Pressure". You can find the store listing here.

It's purpose is to hide user scores, comment scores, and link scores when browsing https://news.ycombinator.com. The implementation is ridiculously simple, it doesn't have any logic, and only consists in a small stylesheet that hides a few elements. It doesn't have any impact other than this and is fairly stable, I'm using it as a side-loaded extension since around 5 years now with zero maintenance.

Someone asked about that feature in a recent thread, so I felt that would be nice to make it available again to more people.

And that's how HN looks when enabled.

Notice that no score are present in the comment header (click on this thumbnail for a higher resolution)

Of course the stylesheet is publicly available on GitHub, you can find the repository at https://github.com/dgellow/hn-no-pressure.

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