Viewing profile — ashf023
ashf023
HN member- Joined
- Fri, Jul 12, 2024, 6:19 PM UTC
- HN karma
- 54
- Public activity
- 31 items
- HN profile
- View on Hacker News ↗
About ashf023
No profile information was provided.
Recent public activity
-
comment
Comment #49191666
In addition to godbolt and reading the output, the scalable check is just benchmarks. When you write new code that you want to autovectorize, you can check it in ways mentioned alr…
-
comment
Comment #46772210
100%. I've always used youtube on desktop (connected to the TV usually), and it seems to me they're just making all versions of youtube into a mobile app optimized for shorts type …
-
comment
Comment #46469567
Genuine question, but have you seen the popup being described? It's absolutely huge, and has a fake x button pattern. The complaint is on how disruptive it is, not the ask for dona…
-
comment
Comment #46469540
I don't think this applies to Python. There is a core team and there are expenses, but people do contribute code and work. Not to mention corporate sponsors. Sure, donate if you wa…
-
comment
Comment #46469450
I looked out of curiosity and on my 15 inch laptop screen it does take up probably about 40%. I'm surprised by how egregious it is. And it looks like they changed it (or there's an…
-
comment
Comment #46302040
Yes, and on one request I saw a message like "Restarting server - this won't take long", and soon after it's back up.
-
comment
Comment #46279974
I mean, do it if it's worth it. But the parent seemed to imply everyone should be doing this kind of thing. Engineering is about tradeoffs, and sometimes the best tradeoff is to ke…
-
comment
Comment #46236789
I'm definitely in favor of not pessimizing code and assuming you can just hotspot optimize later, but I would say to avoid reusing objects and using sync.pool if it's really not ne…
-
comment
Comment #46210373
paranoid schizophrenia is an increasingly reasonable reaction to the modern world
-
comment
Comment #45827575
Yeah, golang is a particular nightmare for SIMD. You have to write plan 9 assembly, look up what they renamed every instruction to, and then sometimes find that the compiler doesn'…
-
comment
Comment #45776697
> Henriks true penalty would be living in a country of 6 million people that all know his face and that he is a pedophile. This is what I object to, not really your comment. Is thi…
-
comment
Comment #45773917
What an absolutely absurd statement
-
comment
Comment #45336057
JPEG is similar actually. The DCT is invertible, but the result of the DCT is quantized, which is where some of the compression happens (DCT -> quantization -> IDCT), so the end to…
-
comment
Comment #45186905
Agreed it's missing that detail. I think it makes sense though that the durable queues shouldn't need strong consistency and transaction isolation, just durability, so the DBs can …
-
comment
Comment #45130893
Fair enough, I was a little too negative. It is good they're thinking about improvements
-
comment
Comment #45107511
Interesting that very few people in that thread seem to understand Go's model, especially the author of this proposal. If you don't allow preemption, you still have a sort of color…
-
comment
Comment #44715007
All goroutines are async in some sense, so generally you don't need to return a channel. You can write the function as if it's synchronous, then the caller can call it in a gorouti…
-
comment
Comment #44032155
"one obvious way to do something" describes almost none of Python. Easier said than done I guess, but I find Python particularly bad at it
-
comment
Comment #44031540
If I understand it correctly, this is only catching ownership violations at runtime, so it doesn't actually prevent writing/shipping the bug? But it does seem to be able to improve…
-
comment
Comment #44031447
IMO pushing ifs up makes sense when the condition is enforceable by the type system, e.g. in the Option vs Walrus example, and when doing so makes the function's purpose more clear…
-
comment
Comment #43847808
Yeah I find this so strange. Why not take the opportunity to throw a bunch of heavily cached shorts recommendations in our faces when signed out? I don't understand how the anon ho…
-
comment
Comment #43549833
100%. I work in Go and use optimizations like the ones in the article, but only in a small percentage of the code. Go has a nice balance where it's not pessimized by default, and y…
-
comment
Comment #43549772
sync.Pool uses weak references for this purpose. The pool does delay GC, and if your pooled objects have pointers, those are real and can be a problem. If your app never decreases …
-
comment
Comment #41438101
This immediately popped into my head! I remember it blowing my mind years ago
-
comment
Comment #41058523
[flagged]