Better HN
topnewbestaskshowjobs
Log inSign up

mikasjp

191 karma · joined Apr 14, 2021 (5y ago) · 23 submissions

Personal blog: https://mikolaj-kaminski.com/
Submissions

comment 4h ago · link · parent

Pretty much, yes. The value of a prime only decides when its bell rings: prime p rings at 1 + 0.15·p seconds, so the gaps between primes become gaps in time. The pitches are an arbitrary choice on my part. The bells just cycle through 25 notes taken from the first 25 zeros, which is why they stay in the same range.

The background is the zeros themselves. Each of the first 100 zeros is one sine tone, higher zeros give higher and quieter tones, and they join in as the camera passes them.

comment 22h ago · link · parent

I don't have a deep math background. I kept reading about the Riemann zeros this week and got curious what they would sound like, so I built this to find out.

It's just inspired by the math, not a scientific project. The visuals aren't a real plot of ζ, and things like the tuning and timing are arbitrary picks to make it listenable.

Code: https://github.com/mikasjp/music-of-the-primes

3.

Show HN: Music of the Primes – hear 1000 zeros of the Riemann zeta function(riemann.mikolaj-kaminski.com ↗)

3 points · by mikasjp · 22h ago · 2 comments

comment 1y ago · link · parent

I’m not entirely sure what the practical advantage of that approach would be compared to the explicit semaphore, but I’d be happy to learn more. If you think it’s a better solution, you’re more than welcome to open a pull request

comment 1y ago · link · parent

Under the hood, BusyBee consists of an in-memory queue built on Channels and a job processor that dequeues and executes tasks. The processor is essentially a BackgroundService, but BusyBee wires everything together for you, so you don’t have to manually set up the queue, parallel processing, timeouts and errors handling and observability for OpenTelemetry.

comment 1y ago · link · parent

It is a thin abstraction over Channels, and that’s by design. What it adds is graceful shutdown handling, OpenTelemetry integration, timeout support, and simple configuration. I kept needing those pieces in almost every project, so wrapping them up into a small reusable library felt worthwhile.

comment 1y ago · link · parent

This is exactly why I built BusyBee. My team found ourselves hand‑rolling something similar almost every time we started a new project. If we kept needing it, I figured there are probably more people in the same situation. So instead of duplicating the same background queue logic across multiple codebases, I decided to build it once, add proper OpenTelemetry support, and keep it simple without extra bloat. That way we can just reuse it and reduce the amount of similar code we have to maintain.

comment 1y ago · link · parent

Hangfire is primarily a job scheduler. It is designed for running jobs at specific times or intervals, and it persists jobs in a database so they survive restarts. It comes with a dashboard, retries, and a lot of infrastructure around long‑term job management. That makes it powerful, but also heavier in terms of setup and overhead.

BusyBee is focused on lightweight background processing. Everything is in‑memory, with no external storage required. It is designed for scenarios where you want to enqueue a task and have it executed immediately in the background, without scheduling or persistence.

A practical example: if you are building an API that accepts file uploads and you want to process the file asynchronously after the request returns, BusyBee is a good fit. You just enqueue the job and it runs in the background right away. If instead you need to schedule a nightly cleanup job or ensure jobs survive application restarts, Hangfire would be the better choice.

comment 1y ago · link · parent

BusyBee is a high-performance .NET background processing library built on native channels. It provides a simple, configurable, and observable solution for handling background tasks with built-in OpenTelemetry support and flexible queue management.

10.

Fast and observable background job processing for .NET(github.com ↗)

82 points · by mikasjp · 1y ago · 25 comments

11.

RabbitMQ Topology Simulator(tryrabbitmq.com ↗)

3 points · by mikasjp · 3y ago · discuss

comment 5y ago · link · parent

I think the whole problem is keeping the character encoding consistent in the applications and their dependencies. Programmers often forget this because they avoid non-ASCII characters in their code.

13.

I couldn't debug the code because of my name(mikolaj-kaminski.com ↗)

258 points · by mikasjp · 5y ago · 288 comments

14.

Wat (2012) [video](destroyallsoftware.com ↗)

147 points · by mikasjp · 5y ago · 28 comments

15.

How to configure Nginx reverse proxy with Docker?(mikolaj-kaminski.com ↗)

2 points · by mikasjp · 5y ago · discuss

comment 5y ago · link · parent

I am a full time .NET developer, but I have been interested in Ruby for some time. Not very professional, but I liked this technology very much. I would like to share why I think so.

17.

Why do I find Ruby sexy in 2021?(mikolaj-kaminski.com ↗)

5 points · by mikasjp · 5y ago · 1 comment

comment 5y ago · link · parent

Today I encountered an interesting case. I got a report that “something changes the date format while processing data”. I started debugging our distributed system looking for the source of the problem. It took me a while, so I’d like to share this story today, so you don’t have to waste your time.

19.

Asp.net Core, Newtonsoft JSON serializer and DateTime handling issue(mikolaj-kaminski.com ↗)

2 points · by mikasjp · 5y ago · 1 comment