HN user

kirici

72 karma
Posts0
Comments38
View on HN
No posts found.

How does Elixir renew my certificates, mount networked storage mounts and create a VIP and internal DNS entries for my valkey instance?

Scaling is a sidenote, that it becomes easy is a result of hoisting everything else onto one control plane and a set of coherent APIs.

Even if they did they still won't have caught up, because Tesla has had full self driving at the end of every year for the past 8 years.

I was using "just git" until I realized I've started writing a whole bunch of scripts of various types to recreate ("ad-hoc, informally specified and bug-ridden...") functionality that chezmoi offers out of the box and has already tested in the field.

SQLite's File Format 11 months ago

I've had multiple flaky issues with SQLite (e.g. non-HA Grafana) on Azure Files using NFS v4.1 leading to locked DBs. Perhaps some implementations work, I'm not gonna rely on it or advise others to do so.

Cursed Knowledge 12 months ago

Like television and telephone, the "tele" (remote) part is the crucial and defining one. Without it, it's just metry.

Cursed Knowledge 12 months ago

opt-out telemetry: go

By default, telemetry data is kept only on the local computer, but users may opt in to uploading an approved subset of telemetry data to https://telemetry.go.dev.

To opt in to uploading telemetry data to the Go team, run:

    go telemetry on
To completely disable telemetry, including local collection, run:
    go telemetry off
https://go.dev/doc/telemetry

With Go's multiple return values to represent errors, they are also known to be too easy to "forget" to even look at the error value.

How? Unassigned

    foo := myFunc()    # [...] assignment mismatch: 1 variable but myFunc returns 2 values
Assigned, but not used
    foo, bar := myFunc()
    fmt.Println(foo)    # [...] declared and not used: bar
Intentionally ignored
    foo, _ := myFunc()
Ignoring is a deliberate decision and trivial to review, lint and grep for.

Except for, I suppose, shadowing a variable before checking it

    foo, bar := myFunc()
    _, bar = myFunc()
    fmt.Println(foo, bar)
Which is more of a general grievance of quite some people, but I don't think that has much to do with multiple returns - and you definitely have to look at the error to pave over it afterwards.

edit: https://goplay.tools/snippet/E69xFuIcG7I

I've recently returned from a trip across the country and liked everything about my (physical) ICOCA card, except that the machines used to charge it, at least the ones I've found, only accepted cash.

After charging it once with a decent balance though, I got away (almost) entirely without cash using it in combination with a virtual credit card via NFC, save for street food carts and Gachapon machines.