Viewing profile — alfons_foobar
alfons_foobar
HN member- Joined
- Wed, Nov 30, 2022, 8:28 PM UTC
- HN karma
- 146
- Public activity
- 78 items
- HN profile
- View on Hacker News ↗
About alfons_foobar
No profile information was provided.
Recent public activity
-
comment
Comment #49025446
ahh, gotcha! thanks!
-
comment
Comment #49017385
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("/use…
-
comment
Comment #49012229
I might be outing myself as a noob here, but... what is the (better) alternative?
-
comment
Comment #48996482
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?
-
comment
Comment #48133846
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 firewal…
-
comment
Comment #47988009
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 …
-
comment
Comment #47900769
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/under…
-
comment
Comment #47714475
I wondered about this as well. OTOH, consider that in the "pick the majority from 3 CPUs" approach that seems to have been used in earlier missions (as mentioned in the article) wo…
-
comment
Comment #47110333
While I agree in principle, as of now the latest commit to the pyaes repo and its latest release to pypi are from 2017...
-
comment
Comment #47105714
> `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 _unsig…
-
comment
Comment #47105185
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 , and at that point we are basically back t…
-
comment
Comment #46317904
> added random blank lines and deleted others from code that was not even in the file they were supposed to be working in. Maybe some kind of auto-formatter?
-
comment
Comment #46076201
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 - som…
-
comment
Comment #45414303
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).
-
comment
Comment #45403677
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 …
-
comment
Comment #45402447
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 be…
-
comment
Comment #45375203
He explicitly mentioned RAID0 though :)
-
comment
Comment #45352140
This sounds intriguing and terrible at the same time :D
-
comment
Comment #45281129
This 100%
-
comment
Comment #44983354
The formatter already exists, my understanding is that this is merely an alias for "uvx ruff"...
-
comment
Comment #44461591
> 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 trigger…
-
comment
Comment #44436365
Huh, I had not heard of claude code cloud before. (Also almost swallowed my tongue saying that out loud)
-
comment
Comment #44431303
Why is it that regular git hooks do not work with claude code?
-
comment
Comment #44422600
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 …
-
comment
Comment #44363844
Pretty sure it has eSIM (at least my FP4 has it...)