bojanz

Joined 12 years ago

Karma
483
Submissions
59
Member since
Apr 26
Director of Engineering @ Upsun

https://bsky.app/profile/bojan-zivanovic.bsky.social

https://github.com/bojanz

View on Hacker News

Recent submissions

Comment · 8 months ago
In my part of Europe it’s all in private WhatsApp groups (one for inner family, one for friends, etc)
Comment · 1 year ago
People are sometimes unkind to the Division Bell, but it contains one of my personal favorites: "Wearing the inside out". Wright's lyrics and vocals (first time since The Dark Side of the Moon), Gilmore's guitar, it all comes together.
Comment · 1 year ago
Comment · 1 year ago
What I dislike about the license change is that by trying to extract an extra dollar from Amazon&Google, the entire community gets hurt in the process.

Can I "dnf/apt install redis" on my Fedora or Debian install? I cannot, it's no longer packaged because it's no longer open source.

Can I go buy a shared hosting plan and get Redis? Or a small PaaS that sits on top of AWS? I cannot, because we have decided that every hoster is now as exploitative as Amazon, regardless of their margin.

For decades we lived in a world where someone could sell you an Apache server and a MySQL instance without having to pay money to Apache or MySQL. We can change that social contract, but like all tariffs, this one will be paid by the end users, not by the companies providing the service.

Disclaimer: I work for a PaaS.

Comment · 2 years ago
They did a reprint of the original magazine from January 1984, to mark its 40 year anniversary. It can still be purchased online at https://prodavnica.pcpress.rs/issue/339/1, and they ship internationally. I got my copy a few months ago, wanting to own a small piece of history.

You can buy the actual computer kit as well at https://pcpress.rs/galaksija/, but that one ships only within Serbia.

Comment · 2 years ago
Right, indeed!
Comment · 2 years ago
I like the support for custom currencies, as that is an edge case that often pops up.

On the other hand, be careful about tying the symbol to the currency, as symbols are locale specific. For example, the symbol for USD is $ in eu-US but US$ in en-CA and en-AU (Canada and Australia), and then $US in French locales.

https://cldr.unicode.org/ is the magical dataset behind most good implementations that deal with currency display. Updated twice a year, available in JSON, providing currency symbols and formatting rules for all locales, as well as country => currency mappings and other useful information.

Disclaimer: I maintain a Go solution in this problem space: https://github.com/bojanz/currency

Comment · 2 years ago
Comment · 2 years ago
You'll find many case studies about using Clickhouse for this purpose.
Comment · 2 years ago
In retrospective, I think it's obvious that Go's decision to have package and variable names be in the same namespace was a mistake. It is the main reason why people overuse single letter variable names, and have debates such as the one in the linked post.

I am guessing that using a different operator (e.g. rate::NewLimiter()) was deemed inelegant, but it would have avoided a whole set of problems.

Comment · 2 years ago
Comment · 2 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton