that link 404's :(
just curious, what problems do you see with gobgp? (I have only a rather basic familiarity with go, but was considering gobgp for an infra project...)
Sorry, I am being dense... how does that solve the problem? I still have to get a connection from the pool, I just do it inside the function body now, right? So this @app.get("/users") def get_users(conn =…
I might be outing myself as a noob here, but... what is the (better) alternative?
Am I the only one seeing _crazy_ levels of CPU usage when opening the project's homepage (https://buzz.xyz)? Like "maxing-out-8-cores"-crazy?
I am not a mobile dev :D I am aware that NAT is often used in corporate networks, but it does not automatically make any more sense there - the isolation is achieved by the firewall, not by NAT. NAT (address or port…
NAT is a crutch to circumvent the problem of "there are not enough addresses for each device". I _assume_ you are referring to a default deny inbound firewall (so that devices are not reachable from the outside), but…
I am not sure this approach can take you very far. In my experience, CC makes it very very easy to _add_ things, resulting in much more code / features. CC can obviously read/understand a codebase much faster than we…
While I agree in principle, as of now the latest commit to the pyaes repo and its latest release to pypi are from 2017...
> `NonZeroU32::saturating_add(self, other: u32)` is able to return `NonZeroU32` though! I was confused at first how that could work, but then I realized that of course, with _unsigned_ integers this works fine because…
Would have to be F32, no? I cannot think of any way to enforce "non-zero-ness" of the result without making it return an optional Result<NonZeroF32>, and at that point we are basically back to square one...
Agree that "splitting for splittings' sake" (only to stay below an arbitrary line count) does indeed not make sense. On the other hand I often see functions like you describe - something has to be executed step-by-step…
Fair point! Maybe I am just a bit burned by this particular example I ran into (where this pattern should IMO not have been used).
I ran into some code recently where this pattern caused me so much headache - class A has an attribute which is an instance of class B, and class B has a "parent" attribute (which points to the instance of class A that…
Agreed that this "hack" is very ugly! On the other hand, I tend to take it as a hint that I should look at my module structure, and see if I can avoid the cyclic import (even if before adding type hints there was no…
He explicitly mentioned RAID0 though :)
This sounds intriguing and terrible at the same time :D
This 100%
The formatter already exists, my understanding is that this is merely an alias for "uvx ruff"...
> I think there's a distinction between worst-case and adversarial behavior. I think _technically_ there is no difference - it does not matter if the worst-case-behavior is triggered by an "adversary" or by chance. It…
Huh, I had not heard of claude code cloud before. (Also almost swallowed my tongue saying that out loud)
Why is it that regular git hooks do not work with claude code?
I guess some prefer to stick with the stdlib instead of third party libs. Also, dataclasses feels more straightforward and less "magic" to me (in the sense that it is more or less "just" a way to avoid boilerplate for…
Pretty sure it has eSIM (at least my FP4 has it...)
That's a funny idea :) I think the first one should be very much doable, but I am not sure how I would build the "almost complete" and the "similar colors" features.
that link 404's :(
just curious, what problems do you see with gobgp? (I have only a rather basic familiarity with go, but was considering gobgp for an infra project...)
Sorry, I am being dense... how does that solve the problem? I still have to get a connection from the pool, I just do it inside the function body now, right? So this @app.get("/users") def get_users(conn =…
I might be outing myself as a noob here, but... what is the (better) alternative?
Am I the only one seeing _crazy_ levels of CPU usage when opening the project's homepage (https://buzz.xyz)? Like "maxing-out-8-cores"-crazy?
I am not a mobile dev :D I am aware that NAT is often used in corporate networks, but it does not automatically make any more sense there - the isolation is achieved by the firewall, not by NAT. NAT (address or port…
NAT is a crutch to circumvent the problem of "there are not enough addresses for each device". I _assume_ you are referring to a default deny inbound firewall (so that devices are not reachable from the outside), but…
I am not sure this approach can take you very far. In my experience, CC makes it very very easy to _add_ things, resulting in much more code / features. CC can obviously read/understand a codebase much faster than we…
While I agree in principle, as of now the latest commit to the pyaes repo and its latest release to pypi are from 2017...
> `NonZeroU32::saturating_add(self, other: u32)` is able to return `NonZeroU32` though! I was confused at first how that could work, but then I realized that of course, with _unsigned_ integers this works fine because…
Would have to be F32, no? I cannot think of any way to enforce "non-zero-ness" of the result without making it return an optional Result<NonZeroF32>, and at that point we are basically back to square one...
Agree that "splitting for splittings' sake" (only to stay below an arbitrary line count) does indeed not make sense. On the other hand I often see functions like you describe - something has to be executed step-by-step…
Fair point! Maybe I am just a bit burned by this particular example I ran into (where this pattern should IMO not have been used).
I ran into some code recently where this pattern caused me so much headache - class A has an attribute which is an instance of class B, and class B has a "parent" attribute (which points to the instance of class A that…
Agreed that this "hack" is very ugly! On the other hand, I tend to take it as a hint that I should look at my module structure, and see if I can avoid the cyclic import (even if before adding type hints there was no…
He explicitly mentioned RAID0 though :)
This sounds intriguing and terrible at the same time :D
This 100%
The formatter already exists, my understanding is that this is merely an alias for "uvx ruff"...
> I think there's a distinction between worst-case and adversarial behavior. I think _technically_ there is no difference - it does not matter if the worst-case-behavior is triggered by an "adversary" or by chance. It…
Huh, I had not heard of claude code cloud before. (Also almost swallowed my tongue saying that out loud)
Why is it that regular git hooks do not work with claude code?
I guess some prefer to stick with the stdlib instead of third party libs. Also, dataclasses feels more straightforward and less "magic" to me (in the sense that it is more or less "just" a way to avoid boilerplate for…
Pretty sure it has eSIM (at least my FP4 has it...)
That's a funny idea :) I think the first one should be very much doable, but I am not sure how I would build the "almost complete" and the "similar colors" features.