panmari's blog

Learn something new every day

Go generics and cpu profiling

I recently tried introducing go generics for my cuckoofilter implementation. Unfortunately I ran into some performance regressions.

April 7, 2023 . #golang #profiling #generics


Make your flutter app detect dogs

Changing content displayed for a given camera input stream makes your app feel like magic. I wanted to try my hand at exactly this for my app that simulates the vision of a cat.

April 11, 2021 . #flutter #machine learning #vision #label detection


Most efficient probabilistic datastructure in go

Probabilistic datastructes are a useful tool for every programmers tool belt. Imagine you have an expensive lookup operation, for example fetching a file over the network or hitting a slow, huge database. You only want to spend time and resources on this call if there’s actually a result to retrieve!

October 9, 2020 . #golang #bloomfilter #cuckoofilter


Run Flutter e2e tests on Travis CI

Integration tests play an important role in making sure you don’t break your app. In this blog post I go over the important bits for writing and end to end integration test in Flutter, then making it run continuously on Travis CI.

August 7, 2020 . #flutter #e2e #integration testing #firebase #camera


Blur the background of a flutter app with a cutout

Every once in a while you want to draw the attention of a user to a specific part of your app. One way of doing so is blurring all screen content, except a small cutout. To take it up a notch, also darken the blurred area.

August 1, 2020 . #flutter #blur #highlight


Simulating color deficiencies in Flutter

It’s surprisingly easy to create an app that simulates a color deficiency, such as red-green color blindness, by using Flutter’s ColorFiltered widget and applying it to a camera feed. With this insight as main ingredient, I created an app to simulate the vision of cats, who are red-green color blind. Check it out at the Google Play and soon also the Apple app store.

June 30, 2020 . #flutter #graphics #perception #linear-algebra


Hello World!

Hi. I’m panmari, a software engineer based in Europe. This is my first time writing a blog, so I’m not really sure where this is going. I’m always excited about trying out new things, so don’t expect the blog to keep revolving around the same topics.

June 25, 2020 . #general