X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/11797e53c0117e23d4c5ebc6cb4b6bc0aedf011c..379121c749f5aafe8806fd583a14123d3f506774:/learning.txt?ds=inline diff --git a/learning.txt b/learning.txt index 81754ab..a5f419d 100644 --- a/learning.txt +++ b/learning.txt @@ -1,3 +1,12 @@ +2024-09-16: @FocusedValue and @FocusedBinding provide convenient ways to share values for the current view. +2024-04-03: DDP doesn't work through Wi-Fi because of issues on how packets are transformed between Ethernet and Wi-fi, which messes up the Datagram :'(. Not all routers do, DD-WRT might! +2024-03-31: You can run a security audit of your systemd units, and limit a lot how they're able to operate. This is very handy so even if I write some code that could be exploited, if I prevent the process from being able to do certain things, it reduces the exposure. +2024-03-30: There's a VNC client for 68k macs called miniVNC. +2024-03-26: AWS DMS migrates the data but not indexes, sequences and relations. +2024-03-25: Pulumi doesn't deal well with renaming target groups, as the listener rules they use are still there so it can't edit them. +2024-03-24: Lynis is a tool that lets you audit hardening status in linux systems. It has good recommendations to improve security. +2024-03-22: There are account settings in AWS you can only enable for a role, but you need to use the root account to do this. This is helpful to control ENI trunking in only some instances. +2024-03-15: Most popular Linux media players implement “MPRIS”, a dbus based protocol that lets you control or get information from players. 2024-03-13: Man pages are stored gzipped. I should probably update my packaging to make sure the manpages are gzipped first. 2024-03-11: You can iterate over several architectures in make by setting a variable to space separated values, then using the variable name as the target (eg. $(architectures):). Then you can access the value with $@ 2024-03-09: I misunderstood how expect() works in rust. In a Result it won't return Err, it'll panic. .map_err() and ok_or_else() are a closer way to offer the same result.