HNHacker News
TopNewBestAskShowJobs

dbrgn

3,927 karma · joined October 30, 2012

submissionscomments
dbrgn··on Bitcoin Lightning network could disrupt $150B year payment/remittance industry
No, Lightning Network is a distributed protocol. Here's a good intro: https://bitcoinmagazine.com/technical/understanding-the-ligh...

Technically, Lightning Network is fascinating and quite ingenious. Practically, the blogpost above was written in 2016, so more than 6 years ago, and LN - in my impression - hasn't really taken off yet... I wonder if it's due to its complexity, plus the potential need for watchtower services when using a node that isn't always online.

dbrgn··on Podman 4.2.0
I agree, rootless was also the main blocker when I attempted my last migration in June. My goal was to run all my Docker containers as rootless Podman containers through systemd. The first service I ported was single-container, which made it easier. Still quite some work (like manually adjusting the podman-generated unit file, tracking down some weird-looking error messages, etc), but doable. Once you get to multi-container setups, I ran into even more issues (IIRC related to the linking of containers through a network, while staying rootless), so I gave up for the moment and started a Docker daemon for the rest of the services...
dbrgn··on Essential Climbing Knots
For a faster way to tie the figure-eight knot, use the ninja method: https://www.youtube.com/watch?v=PJkCaUUhqgs
dbrgn··on The tooling ecosystem that adds joy to KiCad
The push&shove router is one of KiCad's best features. I'd take that over an autorouter any day.
dbrgn··on Publii: Open-source local WYSIWYG static site CMS
There is a somewhat similar system called Lektor, originally written by Armin Ronacher (of Flask/Jinja fame): https://www.getlektor.com/ You define your models, then start the local devserver to add entries for the models. In the end, it stores the data in the filesystem and outputs static HTML.
dbrgn··on Embed is in C23
And there's also https://doc.rust-lang.org/std/macro.include_str.html for strings.
dbrgn··on The inventor of ibuprofen tested the drug on his own hangover
It's not a surprise if you look at the Ibuprofen packaging used in US supermarkets... There's a picture in the article of such a supermarket aisle. You can buy a 750- or even 1000-pack for a few dollars. WTF, how is it a good idea to sell painkillers in such quantities in supermarkets?

If you sell drugs like candy people will eat it like candy.

dbrgn··on The inventor of ibuprofen tested the drug on his own hangover
Yeah, don't take paracetamol if your liver is already busy getting rid of the alcohol. However, both alcohol and ibuprofen increase the risk of stomach bleeding, so don't overdo it with ibuprofen either. I'm sometimes shocked how nonchalantly people mix residual alcohol with drugs without checking side effects.

PS: Paracetamol is a drug with pretty low side effects, but the dosage is really important. Even just doubling or tripling the dose can cause acute liver failure.

dbrgn··on EU Digital Markets Act, aimed at Google, Apple, Amazon, approved
Because of institutional corruption. Lawrence Lessig has some great talks about this topic, here's one of them: https://www.youtube.com/watch?v=okfLPvBjImM Here's another one: https://www.youtube.com/watch?v=AxCo2bE9Gtk

(Lawrence Lessig, a law professor, was one of the founders of Creative Commons. He later tried to change US copyright laws to be more consumer-friendly, but concluded that it's almost impossible to do so as long as corporate interests rule politics. He then shifted his research topics to institutional corruption in politics. He actually ran for presidency a few years ago, with funding only from the popuplation, and limited to a certain amount. It failed, he wasn't even invited to TV debates because "if he doesn't take company money he doesn't have a chance".)

dbrgn··on Postgres 15 improves UNIQUE and NULL
A similar issue is {}, {"mylist": null} and {"mylist": []}. Three ways to represent a missing or empty list.
dbrgn··on The bait-and-switch hidden in today’s cookie announcement
The announcement says it wants to "protect consumers", but it changes user tracking from opt-in to opt-out... How about ensuring that companies stop tracking people unnecessarily?

I see so many websites – even club websites or private blogs – that have a cookie consent banner, but which wouldn't actually need one if they'd just turn off Google Analytics. I just don't get it.

dbrgn··on Show HN: I hacked my son’s Duplo train to go faster using my voice
So "your son" got a Duplo train for "his birthday". I see what you did there!
dbrgn··on I want an iPhone Mini-sized Android phone
The Pixel 3a (my current phone) has a 5.6" screen, the 4a has a 5.8" screen and the Pixel 5 has a 6" screen. However, they're all approximately the same physical size, it's just the bezels that got smaller.
dbrgn··on Arm Open Source makes a seamless migration to GitLab
Self-hosted on-premise GitLab is much nicer to use than the SaaS gitlab.com instance.

A few years ago (when I used gitlab.com regularly), the hosted version was quite slow and felt like a buggy beta-testing environment. Not sure if it's better nowadays. On the other hand, I'm running two on-prem instances of GitLab for a few years now, and they've been working flawlessly and are fast. (One of them is now upgraded to the Premium plan.)

dbrgn··on I fixed my broken monitor with a hair dryer
A few years ago, I got ahold of an old Samsung Syncmaster LCD that didn't work anymore. After replacing all electrolytic caps for around 2-3$, it worked like new again.
dbrgn··on Keycloak: Open-Source Identity and Access Management
Does someone here know how Keycloak compares to Gluu?
dbrgn··on Blockchain Is Dangerous Nonsense
Sure, I just wanted to point out that building merkle hash trees, or blockchains, or whatever you want to call it, isn't "all rubbish". There are some valid use cases.
dbrgn··on Blockchain Is Dangerous Nonsense
Certificate transparency logs are essentially a blockchain. Would you prefer Google and the other stakeholders to run an SQL database instead, containing these logs?
dbrgn··on Blockchain Is Dangerous Nonsense
Certificate transparency is a permissioned blockchain (a merkle hash tree), ran by a group of trusted organizations and observed by third party monitors ("validators"). Your browser probably queried that blockchain when you opened hackernews.
dbrgn··on Blockchain Is Dangerous Nonsense
Bitcoin is a block-tree as well, you can have diverging branches. It's just that branches are usually very short-lived due to the incentives designed into the system.
dbrgn··on Incident with GitHub Actions and Codespaces
Don't enable unattended updates for GitLab. The migrations don't always work and sometimes need manual work. (This is rarely the case, but can happen.)

(Also, when upgrading GitLab, make sure to upgrade version-by-version and always wait for background migrations to finish before upgrading to the next version. You can check background migrations at /admin/background_migrations.)

dbrgn··on How is the free firmware for the Raspberry progressing?
Yeah, it's more than just graphics.

Here's an interesting blogpost that kinda explains the multiple boot stages: https://www.furkantokac.com/rpi3-fast-boot-less-than-2-secon...

dbrgn··on Atlassian products have been down for 4 days
Performance is terrible in their cloud offering, but actually pretty OK in the on prem version.

Guess which one of those two they're sunsetting...

dbrgn··on Atlassian products have been down for 4 days
Yeah, on prem is not affected. But they're discontinuing on prem, making customers even more dependent on their hosted services. Bravo!

(My employer will switch away from Atlassian products once they don't offer on prem anymore.)

dbrgn··on Debian still having trouble with merged /usr
If you'd actually read the article, you'd see that the problem isn't merged /usr. Other distros moved to merged /usr just fine.

Also, the decision to move Debian to merged /usr wasn't done by Poettering, it was done by the Debian technical committee. So please stop spreading such ad-hominem nonsense.

dbrgn··on GitHub incident 2022-03-23
It seems there's a tracking issue here, but it seems stalled: https://github.com/go-gitea/gitea/issues/1612
dbrgn··on GitHub incident 2022-03-23
Does Gitea support some kind of federation / cross-instance PRs? That's the main thing I'd miss from a self-hosted instance, the ease of getting contributions.

After all, you don't even need Gitea for pure Git hosting. If you have a server with SSH access, just init a bare repo in a directory, push to that, and you're ready to go. No web UI needed.

The reason I'm still using GitHub is not code hosting. It's collaboration.

dbrgn··on Please put units in names
You can do something like this:

    export interface OpaqueTag<UID> {
        readonly __TAG__: UID;
    }
    export type WeakOpaque<T, UID> = T & OpaqueTag<UID>;
And then use it like this to create a newtype:

    export type PublicKey = WeakOpaque<Uint8Array, {readonly PublicKey: unique symbol}>;
To create this newtype, you need to use unsafe casting (`as PublicKey`), but you can use a PublicKey directly in APIs where a Uint8Array is needed (thus "weak opaque").
dbrgn··on Lawn mowing frequency affects bee abundance and diversity (2018)
Ah, I think they're of the genus Primula ("Primeln" in German).
dbrgn··on Lawn mowing frequency affects bee abundance and diversity (2018)
I didn't plant them, they grow like crazy and destroy the grass :D I don't know what they're called, but I could try one of those plant identification apps. Check back in a few days, I'll try to post a comment if I find out more.
← PreviousPage 5 of 23Next →