Viewing profile — Const-me
Const-me
HN member- Joined
- Mon, Mar 02, 2015, 2:17 PM UTC
- HN karma
- 6,369
- Public activity
- 3,329 items
- HN profile
- View on Hacker News ↗
About Const-me
http://const.me/
Recent public activity
-
comment
Comment #49241828
Before Vista, we did not have window previews in task bar and alt+tab. We didn’t have a good multimedia framework based on the hardware codecs: media foundation arriving with Vista…
-
comment
Comment #49241641
“aren't truly using a fully shared memory pool” I think with AMD iGPUs I have here (GCN 5.1 and RDNA3 generations) it’s actually unified, at least on Windows 10. The difference bet…
-
comment
Comment #49237868
There’s a reason why all modern desktop environments are designed the same way: power efficiency when multitasking. Imagine you have 3 windows visible at the same time: a videogame…
-
comment
Comment #49234613
True, but many modern computers are using unified memory. On such systems all memory is almost equal, despite often reported differently. For example, on my 5 years old laptop with…
-
comment
Comment #49233569
10 MB is not too bad for a GUI app. If the app is full screen, display is FullHD and has 8 bit depth, that's almost 8 MB memory for the back buffer alone. Enable HDR and pixels bec…
-
comment
Comment #48638631
I agree. In the past, I have successfully used Debian and Alpine for embedded. Never needed to compile OS kernels or standard DLLs, other people already did and published in these …
-
comment
Comment #48611515
Why is that HEVC video extension is required? As a part of the user-mode half of the GPU driver, GPU vendors ship media foundation transform DLLs to use HEVC hardware codecs. Don’t…
-
comment
Comment #48611317
> typical crystals in the 10-100MHz range I think most quarts watches oscillate at 32 kHz = 2^15 Hz, high precision quartz watches at 8.4 MHz = 2^23 Hz. > The actual problem is sta…
-
comment
Comment #48610937
> A typical PC clock is +/-100ppm. After 1 hour that's 0.36s Are you confident in these numbers? They add up to 52 minutes of drift/year. Good modern quartz watches specify 5 secon…
-
comment
Comment #48557472
> On which image does the gradation appear more even? It’s the second one! Can’t reproduce. Tested on two monitors on my desk, designer-targeted Benq and cheap laptop. On the Benq,…
-
comment
Comment #48546158
“Is it because of government regulations, do we need to deregulate?” Insufficient law enforcement. The same memory manufacturers already broke antimonopoly laws in the past, pleade…
-
comment
Comment #48502752
On modern processors, floating point addition often has equal performance to floating point multiplication. For example, on AMD Zen4 it’s 3 cycles latency and 0.5 cycles throughput…
-
comment
Comment #48495691
Might be jurisdiction. Let’s say a person who is not a Polish citizen committing and broadcasting a crime outside of Poland, then trying to enter Poland. IANAL but I think this law…
-
comment
Comment #48489419
> let alone more performant Not anymore. On modern hardware, the only operation where integers win is single cycle add/sub. For the rest of operations (multiplication, division, sq…
-
comment
Comment #48476460
Good article. Worth noting C# standard library handles most of that complexity, no regular expressions required. Call System.Net.Mail.MailAddress.TryCreate, if successful read Addr…
-
comment
Comment #48476222
Cool trick, but personally I don’t trust C bitfields. When I need something like that, I usually create C++ class or C# structure with a single private uint64 field, and public met…
-
comment
Comment #48419817
None so far. When I try to use these language models in the primary areas of my expertise like SIMD or GPGPU they fail to do any good. When I ask them to implement some general-pur…
-
comment
Comment #48349230
> Performance should not be priority #1. Security should be. For a web browser, or a server in a bank, sure. For anything else, questionable. > adding a sandbox around a memory-uns…
-
comment
Comment #48280627
The AVX2 SIMD version is not ideal. Too many instructions, and it needs constant vectors. I would rather do it like that https://godbolt.org/z/cn6YKbfYd
-
comment
Comment #48255110
> decode (GEMV) is memory bound Decode with batch size 1 is GEMV. Batching makes the decode GEMM too.
-
comment
Comment #48251822
> Most of those FLOPS are constrained by memory bandwidth I believe inference with large enough batch size is almost always compute bound, simply due to algorithmic complexity. Eac…
-
comment
Comment #47585020
While data centres indeed have awesome internet connectivity, don’t forget the bandwidth is shared by all clients using a particular server. If you have 100 mbit/sec internet conne…
-
comment
Comment #47392592
Based on the title, I expected the article to be about this: https://en.wikipedia.org/wiki/HESA_Shahed_136
-
comment
Comment #47212266
Indeed, but these normal APIs have runtime costs for bounds checking. For some use cases, unsafe can be better. For instance, last time I used a memory-mapped file was for a large …
-
comment
Comment #47211088
I think C# standard library is better. You can do same unsafe code as in C, SafeBuffer.AcquirePointer method then directly access the memory. Or you can do safer and slightly slowe…