Viewing profile — charleslmunger
charleslmunger
HN member- Joined
- Sun, Mar 03, 2013, 10:34 PM UTC
- HN karma
- 1,309
- Public activity
- 455 items
- HN profile
- View on Hacker News ↗
About charleslmunger
No profile information was provided.
Recent public activity
-
comment
Comment #49246346
>today you could set up a system where the whole process is tap two phones together with nfc and confirm This was actually possible in 2011 or so, and a friend and I implemented it…
-
comment
Comment #49238069
Yes but that space would have existed anyway for a window of that size regardless of its contents.
-
comment
Comment #49233043
A weather widget using 8 bit color plus alpha on a 4k display show three full size images in 100mb. But I suspect that's not the ux we're talking about here, and a widget style sys…
-
comment
Comment #49210197
It's a problem for language specifiers, basically. The behavior is undefined in the standard; to rely on it you either need your implementation of the standard to define it themsel…
-
comment
Comment #49169563
From a hardware perspective this is correct. From a language perspective it's UB, and unless your compiler has defined that UB, it doesn't matter what the hardware's behavior is un…
-
comment
Comment #49072638
This is overstated in value; on arm systems with LSE it's faster to use that even for weak operations than to use ll/sc. Even if you are limited to ll/sc the compiler may not put y…
-
comment
Comment #48796237
I agree you can't trust your compiler, but you can control its behavior more reliably with __builtin_expect_with_probability https://github.com/protocolbuffers/protobuf/commit/9f29…
-
comment
Comment #48779697
Michael Bloomberg
-
comment
Comment #48538547
I mean this is sort of true in that windows is constantly introducing trash, but I've run into all kinds of nonsense: 1. Amd HDMI 2.1 fiasco and adapter workarounds -> debugged the…
-
comment
Comment #48219256
I mean... You can turn a one byte out of bounds write into code execution. https://daniel.haxx.se/blog/2016/10/14/a-single-byte-write-o... And if you get code execution, then you b…
-
comment
Comment #48219221
Isn't the proposal from the parent comment to define the behavior?
-
comment
Comment #48209736
I got a measurable improvement from eliminating a null pointer check within the last week. Billions of devices have arm little cores, and the extra branch predictor pressure and fr…
-
comment
Comment #48209597
Wouldn't that make a compiler that emitted bounds checks violate the standard, since it would not be emitting the actual memory operations if you deref out of bounds?
-
comment
Comment #48209521
Is that really a meaningful distinction? Once you are addressing arbitrary values you are firmly in the realm of "anything happening" in practice, but you've now given up optimizat…
-
comment
Comment #48109611
The Synaptics VMM7100-based adapters only support VRR on older firmware versions with bugs. The Chrontel CH7218 is the most reliable but still also suffers blackouts during VRR. Pa…
-
comment
Comment #47983218
Yeah arm little cores are a very different story - they aren't superscalar out of order architectures, they can dispatch up to two operations per cycle. Big cores are more like tha…
-
comment
Comment #47974756
The first implementation I encountered was a linear search, starting at the last-found field. Empirically it performed better to do a binary search with early exit and branchless b…
-
comment
Comment #47969438
Yeah namespaces and public/private would be quite nice, but C doesn't have them, so they get hacked on via macros and prefixing. The syntax was not the hard part of working or anal…
-
comment
Comment #47968689
I've spent some brainpower on binary search and have not been able to beat this: https://github.com/protocolbuffers/protobuf/blob/44025909eb7... 1. Check for dense list O(1) 2. Che…
-
comment
Comment #47957791
I had fun exploiting this to detect the falling convention used by some code at runtime - there were two different options depending on OS version; one passed a jnienv* as the firs…
-
comment
Comment #47898341
>Maintaining both MV2 & MV3 support isn’t easily sustainable long term when you factor in the need to prioritize other features. There is no feature Firefox provides that is more d…
-
comment
Comment #47877040
If you can trigger address sanitizer from input outside the program, and the program may interact with untrusted input, isn't that always worth reporting and fixing?
-
comment
Comment #47394247
>With Kotlin/Spring Boot, compilation is annoyingly slow. That's what you get with modern languages and rich syntax. This is because the kotlin compiler is not written in the way p…
-
comment
Comment #47115822
The default Gboard keyboard has settings for always showing the number row, or only showing it when entering a password. There is also a setting for the "suggestion strip" under "c…
-
comment
Comment #47021350
Not OP, but used Arch for a while in 2011, and at some point doing an update moved /bin to /usr/bin or something like that and gave me an unbootable system. This was massive inconv…