Viewing profile — tomck
tomck
HN member- Joined
- Tue, May 19, 2020, 7:50 PM UTC
- HN karma
- 36
- Public activity
- 17 items
- HN profile
- View on Hacker News ↗
About tomck
No profile information was provided.
Recent public activity
-
comment
Comment #45773976
> `if (file_exists(f))` is misuse of the interface, a lesson in interface design, and a faulty pattern that's easy to repeat with async-await. It's even easier to repeat without as…
-
comment
Comment #45772858
> I replied directly to you My comment was responding only to the person who equated threads and async. My comment only said that async and threading are completely orthogonal, eve…
-
comment
Comment #45753361
I think you replied to the wrong person. That being said, I don't understand your `is_something_true` example. > It's very often used to do 1 thing at a time when N things could be…
-
comment
Comment #45752230
> I do fully understand people who can't get their heads around threads and prefer async This is a bizarre remark Async/await isn't "for when you can't get your head around threads…
-
comment
Comment #45608829
I have tried a model on my laptop+GPU before, and it is incredibly unusable. Incredibly slow and just bad output for exactly the work you describe If you're looking for a cheap pra…
-
comment
Comment #45438785
This isn't what people are talking about, you aren't understanding the problem With RAII you need to leave everything in an initialized state unless you are being very very careful…
-
comment
Comment #45437861
This whole page, and their response in this thread, is about tigerbeetle as a transaction processing database - e.g. financial transaction processing I think this is very clear, I …
-
comment
Comment #44722553
You're repeating propaganda from a far right newspaper headline, written misleadingly to make it sound like labour have said something recently about VPNs (they haven't)
-
comment
Comment #41886562
Why do you think you would see a flicker of death? For local inputs, the fixed timestep is always a frame or smaller, this is not an issue unless you're over a network Edit: Oh i s…
-
comment
Comment #40928926
> So getListOfUsersWithFoodPreferences and getListOfUsersWithFoodPreferencesWithoutFavouriteFoods living together as client-specific methods is absolutely fine Sorry; my point was …
-
comment
Comment #40927403
I have no idea what you're talking about, my example doesn't include any writes, only a read
-
comment
Comment #40925128
Every layer you create is another public API that someone else can use in some other code. Each time your public API is used in a different place, it gathers different invariants -…
-
comment
Comment #40924587
No, this is how everyone incompetent designs systems Layers of generic APIs required to be 1000x more complex than would be required if they were just coupled to the layer above Ch…
-
comment
Comment #40357225
This article is disingenuous with its Vec benchmark. Each call to `validate` creates a new Vec, but that means you allocate + free the vec for each validation. Why not store the ve…
-
comment
Comment #34972625
You can tell when, because if it uses the allocator it will return an error. So the first line definitely doesn't allocate, and the second definitely does. That is, unless you expl…
-
comment
Comment #26341652
Is that really that slow? idk how they even read the file in that amount of time, my drive is only about 125MB/s
-
comment
Comment #23239328
> have to restart the server every 20 days because of some memory leak Hmm this seems like something super specific to their async setup, rather than 'common lisp leaks memory'