Could be easier for grandma, could reduce e-waste, will definitely be used to pigeon-hole us into an endless hell of subscription software.
109 karma · joined January 13, 2022
Could be easier for grandma, could reduce e-waste, will definitely be used to pigeon-hole us into an endless hell of subscription software.
It's all well and good to generalize basic containers and functions (good, in fact), but I wish the language was better at inferring types.
I'm sure this is something that will improve with time, but a bit after generics were released, I tried to build a type-safe language evaluator in Go using generics and found them lacking the kind of type-narrowing necessary for fully-generic architecture.
Short write-up of my conundrum on SO, if anyone is interested: https://stackoverflow.com/questions/71955121/how-to-type-swi...
TypeScript has me spoiled. :)
Pair that with tldr and it's a really good experience.
git clone <repo> .dotfiles && cd .dotfiles
stow --target=$HOME --dir=packages shell-config
stow --target=$HOME --dir=packages work-stuff
I've found this to be much more manageable than tools like yadm since I can pick-and-choose sets of configs/scripts based on the machine I'm using them on. let c = a + b
(() => { ... })()
This is evaluated as: let c = a + (b(() => {...}))()
which usually results in "TypeError: b is not a function." Obviously this can be solved with a semicolon after the "let c..." line, but another common approach is to just prefix all IIFEs with semicolons, since empty statements are no-ops in JS: let c = a + b
;(() => {...})()
I personally prefer to forego semi-colons, but I have a hard time getting worked up over it either way.So now, comically, I have to have a type-C Ethernet adapter connected to the back of my Thunderbolt dock...
That said, my Radicale server is exposed to the internet, and I haven't had any issues. The *DAV protocols are mostly just HTTPS requests with Basic Auth.
Not quite as good as native support (e.g. doesn't update dynamically), but otherwise it's pretty solid.