Diamond
Diamond
New proposal: ```go type Gadget struct { gtk.Widget Child gtk.Widgetter `glib:"child,Construct,ConstructOnly"` } var gadgetType = glib.RegisterSubclass[*Gadget]( glib.WithParamSpecs([]glib.ParamSpec{ // TODO }), ) func NewGadget(child gtk.Widgetter) *Gadget { return gadgetType.NewWithProperties(map[string]any{ "child": child,...
I can take on this issue. However, I'm not sure how `Take()` should behave. I know that the signature could be `TakeCtx(ctx context.Context) (time.Time, error)`. I'm unsure if I can...
Also, why do we have 3 different implementations of Limiter? Do I update all of them? It appears that only one is used.
> I would recommend using https://pkg.go.dev/golang.org/x/time/rate#Limiter.Wait if it fits your requirements instead. This is what I ended up using. I just forgot it existed. It's still weird to me to...
This issue turned out to be more complicated than I thought. I expected `[T1 any, T2 interface{ T1 }]` to work, but it doesn't: https://go.dev/play/p/4s2dZxnNlEf.
> and envvars What envvars can we use? AFAICT (from `--help`), these are only available as flags. I'm using Nix shell for my repository, and I'm pretty close to just...
I have found a way to install nix-shell packages: ```sh nix-env -iE '{ ... }: (import ./shell.nix {}).buildInputs' ``` You can also directly feed this file into `nix-build` to get...
I've made https://github.com/rikhuijzer/cache-install/pull/12 to implement this.
I'm also making a soft fork of `cache-install` to experiment with some cool features, such as using the Nix output hashes as the cache key: https://github.com/diamondburned/cache-install/tree/auto-cache. I'm currently using it...
> @diamondburned curious what's the status of your work I've been using it for a few months now, and it's been working perfectly fine. Currently, all you really need is:...