Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
epcoa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
301.
▲
by
epcoa
2y ago
Just to clarify: the spinning on CMPXCHG is not also a bad idea, the YieldProcessor is correct (a pause), but inside the CMPXCHG loop it should be spinning on a pure unlocked load. Is that correct?
302.
▲
by
epcoa
2y ago
> I'm not sure what I would have done differently in their place. Microcenter. Granted much larger and fewer store model, not a slot next to Orange Julius. But RadioShack was famously cluelessly managed for years.
303.
▲
by
epcoa
2y ago
How does one “open a text”?
304.
▲
by
epcoa
2y ago
> VHS was released in 1976. VHS-C was released in 1982. So? The first commercial camcorder came out in 1983 (Betamax). VHS-C predates the camcorder of any format (the first VHS-C VCR JVC HR-C3 coming out the same time). > The first VH
305.
▲
by
epcoa
2y ago
A Super 8 cartridge is only good for 2.5 minutes at 24 fps and 3:20 at 18 though, going to 120 (or even 20-30) minutes was quite a trade up. > Then VHS came out with the shoulder mount bricks. It took forever for VHS-C palmcorders to mak
306.
▲
by
epcoa
2y ago
Curious, what is the advantage of decimal? Why not base-64 or some larger and power of 2 base?
307.
▲
by
epcoa
2y ago
I do agree it is somewhat fishy of the large performance difference not being explained by comparatively fundamentally poor data access patterns. However, Redis runs as an out of process server with marshaling and unmarshaling of data acros
308.
▲
by
epcoa
2y ago
Not particularly unique at all. Handheld graphing calculators typically were not intended for use where hardware floating point was necessary. TI calculators historically used the Z80, no FPU. Earlier HP calculators did use a custom BCD bas
309.
▲
by
epcoa
2y ago
What in the hell are you going on about? B is 0x46 which is < 0x7F.
310.
▲
by
epcoa
2y ago
The “progress” demonstrated in this example is to literally just extract bytes from the middle of a number: Is this task: “About 2 minutes later, these values were captured, again spaced 5 seconds apart. 0160093201 0160092d01 0160092801 016
311.
▲
by
epcoa
2y ago
> Linux does not have kernel threads in order to support pthreads Yes, what I was alluding to somewhat cryptically was things like tgids and the related tkill/tgkill syscalls that as far I am aware were added with the implementation
312.
▲
by
epcoa
2y ago
Processes and threads on NT are distinct nominative types of objects (in a system where “object” has a much more precise meaning) and the GP is at least correct that the former are not schedulable entities. This distinction doesn’t really e
313.
▲
by
epcoa
2y ago
> self-socket is much better since you can't select on a pipe. This needs further explanation. Why can’t you select on a pipe? You certainly can use select/poll on pipes in general and I’m not sure of any reason in particular t
314.
▲
by
epcoa
2y ago
"WSAPoll" because it's not a POSIX poll even though the signature is the same at it works similarly for sockets and I guess Microsoft thought through it better 15 years later. But the original claim is just that select/p
315.
▲
by
epcoa
2y ago
> Both are available if you use --std=c89 on gcc and clang. This is irrelevant - that switch doesn’t have anything to do with controlling functionality not provided by the C standard library. Since poll and select aren’t part of it to be
316.
▲
by
epcoa
2y ago
Most of the networking stuff from the 80s at least wasn’t particularly well made, it’s just been maintained and significantly reworked to not have massive security vulnerabilities.
317.
▲
by
epcoa
2y ago
In contrast when I see software from the 80s that is not a security and performance disaster it’s because of continued investment and most of the basics like string handling have been replaced with bespoke or third party libraries and IO he
318.
▲
by
epcoa
2y ago
https://pubs.opengroup.org/onlinepubs/9699919799/ You appear not to realize that busybox is an essential component of a POSIX like system.
319.
▲
by
epcoa
2y ago
People for years buy add on tablets as a peripheral for many types of graphics work, so the device is already a global maximum for certain types of work. No and low code solutions aside, anytime you’re bringing a keyboard in the mix the tab
320.
▲
by
epcoa
2y ago
This isn't right. O_NONBLOCK doesn't mean the pipe doesn't stall, it just means you get an immediate errno and don't block on the syscall in the kernel waiting and this is specific to the file description, for which a pi
321.
▲
by
epcoa
2y ago
For years the most common use for “serial” would be dialup internet and computer mice (among other peripherals), neither of which would have been primarily ASCII. Not sure what you have in mind by “usually” ASCII, but it’s not the layer tha
322.
▲
by
epcoa
2y ago
Because the exception can’t be allowed to escape the function marked noexcept. No matter the actual implementation, the exception has to be effectively caught in that no except function.
323.
▲
by
epcoa
2y ago
> Now one for egui, please >> How is "Now one for egui, please" not a request? Relax. It's an idiomatic expression, perhaps you're not familiar with it, it doesn't usually signal entitlement.
324.
▲
by
epcoa
2y ago
It is true that there is C code that is conforming C++ code. However I would say if you’re using a C compiler with with “extern C” in the headers for C++ linker compatibility (as this library does) then saying C++ is about as misleading a
325.
▲
by
epcoa
2y ago
> Angular came out of Google and hasn't gone anywhere. I think you actually answered your own question. The difference is that Angular was already a hugely adopted and relatively simple piece of technology (the difference between a
326.
▲
by
epcoa
2y ago
Eh? The tokenizers are fully pluggable, the Unicode and ICU tokenizers will be good for many purposes and you can always drop something specific in. Eg https://github.com/wangfenjin/simple
327.
▲
by
epcoa
2y ago
Do you know what UBSAN is? Have you used it?
328.
▲
by
epcoa
2y ago
Intel is a serial fall on it's facer since the 90s. It's just one huge blunder after another. The cash cow keeping them afloat wasn't even their idea they wanted to bet it all on Itanium. They bought a strong mobile SoC start
329.
▲
by
epcoa
2y ago
I think you mean this guy https://youtu.be/4YBxeDN4tbk?si=lc31U_SHzLGk7Qy6
330.
▲
by
epcoa
2y ago
No idea why you’re getting downvoted. A configuration file for code that runs in kernel space is usually effectively kernel code (it certainly was in this case) - obviously there are formal methods to allow kernel code to be configured in a
More ›