Phoscur

Results 70 comments of Phoscur

Automatic documentation and code generation: http://editor.swagger.io/

How about this: Finish milestone 0.1(.0) asap (and get the game to work in any way with a playable subset) and keep bumping the minor version adding features until you...

Could even put simple values in there? ```ts const name = 'Grain'; const token = new InjectionToken(name); // would be nice to optionally give it a name const providers =...

Found a minor issue with the new example in the readme (typescript is complaining), I hope this is related enough: > Type 'typeof Logger' is not assignable to type 'ProviderToken'....

Oh needsEnqueue needs to be true at the start, ofc! Here is a typed version of the `effect` function, did I get that right, these are called again (curried) to...

> @Phoscur there is _an_ implementation here: https://github.com/proposal-signals/signal-utils/blob/main/src/subtle/microtask-effect.ts Oh, but that one is different, it leaves out any possibilty to clean up, on purpose? Any reason you don't want (me)...

> > , it leaves out any possibilty to clean up, on purpose? > > how do you mean? it returns a cleanup function that you'd have to call. Comparing...

I'm probably missing an actual use case, however currently I also only see additional complexity here. The last line of the code sample has a typo I guess: ```ts const...

Update, full script `fritzbox_upload_cert.sh` for `pi` user: ```sh DOMAIN=domain.v6.rocks export FRITZBOX_BASEURL=http://fritz.box export FRITZBOX_USERNAME=cert-uploader export FRITZBOX_PASSWORD=cert-uploader-password export FRITZBOX_CERTPATH=./certificates/fritzbox rm -rf $FRITZBOX_CERTPATH mkdir -p $FRITZBOX_CERTPATH sudo cp /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/$DOMAIN/$DOMAIN.crt $FRITZBOX_CERTPATH/fullchain.pem sudo cp /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/$DOMAIN/$DOMAIN.key...

Yes, but since certbot will require us to run a server on port 80 anyways, we can go with caddy right away. Let's keep this issue tied to caddy usage....