55 karma · joined Oct 20, 2021 (5y ago) · 46 submissions
comment 5mo ago · link · parent
I'd say it's mandatory today to encrypt drives. In the age of SSDs it's not really possible anymore to delete files and to be sure they are in no way recoverable by an adversary.
comment 7mo ago · link · parent
I guess the idea of jj's authors is that jj's commits are far more squishy and can always be changed, so a fixed finished timestamp makes less sense. I still prefer git's behaviour, marking work as finished and then keep the author (but not commit) timestamps on amends.
I use this jj alias to get git's timestamp behaviour:
[aliases]
c = ["util", "exec", "--", "bash", "-c", """
set -euo pipefail
change_id=$(jj log -r @ --no-graph -T 'change_id')
desc=$(jj log -r $change_id --no-graph -T 'description')
commit_author=$(jj log -r $change_id --no-graph -T 'author.email()')
configured_author=$(jj config get user.email)
jj commit -i "$@"
if [ -z "$desc" ] && [ z"$commit_author" = z"$configured_author" ]; then
echo "Adjusting author date"
jj metaedit --update-author-timestamp --quiet $change_id
fi
"""]
[templates]
# display author timestamp instead of commit timestamp in log
'commit_timestamp(commit)' = 'commit.author().timestamp()'comment 1y ago · link · parent
small edit: It seems that jj supports `jj absorb` now as well. Wonderful!
comment 1y ago · link · parent
To me, this seems initially like some very minor thing, but I find this very helpful working with non-trivial code. For larger methods you can directly discern whether a not-as-immutable-declared variable behaves immutable nonetheless.
comment 1y ago · link · parent
comment 2y ago · link · parent
1: I was only able to find something in German: https://www.wiwo.de/politik/ausland/realsatire-aus-bruessel-...
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
Germany addresses them by doing a FPTP pass and then filling the remainder of the parliament such that the overall parliament has PR according to a second, independent vote given at the same time. This creates some other issues again, but works surprisingly well for the most part.
comment 2y ago · link · parent
Other than that tailscale is really great. It just works.
comment 3y ago · link · parent
comment 3y ago · link · parent
1: https://de.wikipedia.org/wiki/Halbgeviertstrich#Gedankenstri...
comment 3y ago · link · parent
comment 3y ago · link · parent
1: https://rust-random.github.io/rand/rand/rngs/struct.ThreadRn...