HN user

arccy

2,026 karma
Posts2
Comments1,006
View on HN

Google Registry / Charleston Road Registry Inc. operates the .dev TLD

What they sold to squarespace was Google Domains, the user facing registrar from which you can buy domains from most TLDs. It doesn't get any special treatment wrt to .dev

auto add is nice for universal undo for changes made outside your editor...

instead of adding changes to a new commit, i split/squash them into the previous one so the current commit remains dirty

i too work with worktrees (jj workspaces) and prs (requires branches). it's easier if you give up choosing the name of your branch, and instead rely on finding things by description or your workspace name.

for prs, I usually start with a single commit, so `jj git push -c` will auto create a named branch based on the change id. And i have template like the following to push to the same branch if i decided to stack commits rather than rewrite:

    branch-push   = ["util", "exec", "--", "sh", "-c", """
    name="$(jj log --no-graph --no-pager --color=never -r 'fork_point(@ | trunk())+ & fork_point(@ | trunk())..@' -T '"push-" ++ change_id.short()')"
    jj bookmark set -r @- "${name}"
    jj git push -b "${name}"
    """]
you could probably write a similar alias that used your workspace name as the branch name to push to.

and descriptions are slightly nicer than branch names, since they can be longer.

perhaps the oncall is better if you write your own services, but as an SRE / ops person who has to run other people's services, rust ones just generally seem to be worse: logs that are so verbose but seem to tell you nothing, statsd seems to be the only choice for metrics, contextless errors everywhere, memory "leaks" (more like runaway memory use) that the developers swear are impossible because it's rust, overall just less mature across services written by both in house and oss teams

SSH Secret Menu 4 months ago

with neovim as the pager for man, it does find ~?

though you have to be aware of the escapes for regex, so \~?

If you don't want to bother with directories or want to use https instead of ssh, you can do remote url based dispatch in your gitconfig:

    [credential "https://github.com/org1"]
      useHttpPath = true
      helper =
      helper = /path/to/auth.sh user1
    [includeIf "hasconfig:remote.*.url:https//github.com/org1/**"]
      path = user1.gitconfig
      ; set name / email in user1.gitconfig
where auth.sh is something that can produce the right token for the given user, e.g.
    #!/bin/bash
    echo "username=$1"
    echo "password=$(gh auth token --user $1)"
Gentoo on Codeberg 5 months ago

They even have the gall to call it an improved UI for reviewing large pull requests. They must have let UI designers who've never written code before design it.