43 karma · joined Jul 25, 2025 (1y ago) · 22 submissions
1.
A Warm Welcome to ASN.1 and DER(letsencrypt.org ↗)
2 points · by 5pl1n73r · 1y ago · discuss
comment 1y ago · link · parent
> The lesson? Always test critical software under multiple compilers and library versions — especially when enabling a new language standard.
Don't have giga-complicated language jockey stuff backing software that can't afford to even have one bug.
comment 1y ago · link · parent
comment 1y ago · link · parent
10.
Don't use Redis as a rate limiter(medium.com ↗)
42 points · by 5pl1n73r · 1y ago · 27 comments
comment 1y ago · link · parent
As I understand it, the primary purpose of newtypes is actually just to work around typeclass issues like in the examples mentioned at the end of the article. They are specifically designed to be zero cost, because you want to not pay when you work around the type class instance already being taken for the type you want to make an instance for. When you make an abstract data type by not exporting the data constructors, that can be done with or without newtype.
comment 1y ago · link · parent
This is what happens when you use Google for recipes. And a good hint that this article does not represent the average demographic; most people outside of her's do not want room mates good reason.
comment 1y ago · link · parent
You can make tmux's OS window title and its internal window titles be whatever you want:
Add "set -g set-titles" to ~/.tmux.conf. To test without changing the config, type `^B : set -g set-titles`, and to restore it back to default, `^B : set -gu set-titles`. This will be useful but overly verbose. It can be configured further. For example, `set -g set-titles-string "tmux | #{pane_title}"` will make it contain the title set by the shell (for PS1, I just make it set the current directory with `\w` or `\W`).
Then, to make tmux's window titles (so, what will show up in the "window list") also be named after the current directory, you can use `set -g automatic-rename-format "#{pane_title}"`.
comment 1y ago · link · parent
$ free -m
total used free shared buff/cache available
Mem: 3915 2116 1288 41 769 1799
Swap: 974 0 974comment 1y ago · link · parent
comment 1y ago · link · parent