RSSAmplifier

Blog

Blog - Binary Sky

binarysky.seRSS feed ↗7 posts

Latest posts

Why is the app slow on Pixel 7?

So a collegue comes over to me one day to ask what changes we did since the last release, reason being: "The app is very slow on Pixel 7 running on <cloud-based emulator service> ". As I, too, am addicted to being useful , I get curious and sympathetic to their call for help. I suggest we should try a debug build instead to get a profile trace. But instead, we get... a crash? Cannot locate symbol…

My Advent of Code in Roc 2023

It starts like it always does. Everything is fun and games before they hit you with the algorithm-heavy days. And then you can't muster up the strength to keep up anymore. And then you give up. But I still mostly scraped by until day 20 (skipping 14 and 17, which I keep telling myself I will get back to anytime before next December). At least my language of choice gave me an interesting extra…

Val.town

If you're like me, you've probably run into the case that you need to run scripts every week, day or every hour. Maybe you want to monitor the daily scoreboard of Advent of Code. Maybe you want to post the status of the Strava running challenge to a Slack channel each week. I found val.town on hacker news some time ago and have since ported all my scripts to use it. In this post I have collected…

Advent of Code 2023!

It's almost time! Just one week left to Dec 1st: adventofcode.com/2023 . My goal this year is to learn a new programming language, if not only because then I can put the blame on something else when I inevitably crash and burn somewhere around day 15 given my current track record: 2015 12 2016 10 2017 11 2018 8 2019 10 2020 22 2021 15 2022 22 You can follow me along on GitHub where I will be…

CSS Grid – force columns to be the same width

We used to do a lot of column-based layouts at work — which I implemented with CSS Grid. .grid { display: grid; grid-template-columns: repeat(3, 1fr); } This example can be customized to any number of columns by changing the 3 in repeat(3, 1fr) . All was fine initially, but designers complained of inconsistent column widths on certain screen sizes. After some research, I stumbled over this…

Today I quit my job and started working as an independent consultant

Many old colleagues wished me luck with my future plans. I cooked! Today I made Korv stroganoff — it is one of my favorite dishes and I like to keep improving my cooking skills. We also did some budgeting to make sure that we could pay rent and survive for the months I wouldn't get any salary. Also, I did something probably many other people did this week — I switched my coding font to a Monaspace…

GraphQL Subscriptions with Apollo Supergraph

Together with a colleague, I set up an Apollo Supergraph that includes support for GQL subscriptions. graph TD A[Gateway & Websocket Proxy] --> HTTP --> B(GraphQL Server) A --> WebSocket --> C(Subscriptions Server) Details of the supergraph We put the old GraphQL server and the subscriptions server behind the gateway server, and then we set up a WebSocket proxy server to proxy the connections to…