evilc00kie
Joined 5 years ago
Joined 5 years ago
OT but this me-problem makes me angry every time I read it. Nothing is simple, otherwise it is trivial and not worth mentioning. I can't read over this without thinking that I'm not smart enough to wrap my head around something instantly.
5 - A production-grade Matrix homeserver [...]
5 + This is a proof of concept Matrix homeserver [...]
This whole thing in a nutshell. Bold and sad to see this. Cloudflare has/had such outstanding posts that I really like/ed to read.https://github.com/nkuntz1934/matrix-workers/commit/fd412f41...
Slightly OT but came into my mind when thinking about designing website related stuff: https://www.w3.org/Provider/Style/URI
They also provide their own crypto within the standardlib. No openssl needed.
But I'd always alias some uncommon tasks and usages. Especially my quirky git ones:
# get default branch
alias gdefault='git remote show origin|grep -E HEAD|cut -d" " -f5'
# cd to git root
alias groot='cd "$(git rev-parse --show-toplevel)"'
# Revert last unpushed commit to the state before commiting
alias uncommit="git reset HEAD~1 --soft"
# Show all commits between head and main as one-liner
alias gl1="git log --reverse --oneline HEAD...\`gdefault\`"I often think about the "reinventing the wheel" argument. Isn't open source about diversity? There are so many fork, clones, "Yet another..."'s (yacc, yaml,...).
So many times I'm looking for suitable go libraries that solve a certain problem. There might be a few out there but every lib has its own pros and cons. Having the possibility to choose is great. Nothing sucks more than depending on a unmaintained clib nobody cares without alternatives.
The only counter-example that comes in my mind is crypto. You don't want to do your own crypto.
Random software-developer-related topics that I find interesting and needed to try out. I focus on writing compact posts since my overall focus is limited. I also use it to look back what I've actually done in the last years.
linux, programming, golang, godot, advent of code
evilcookie.de github.com/RaphaelPour