Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amluto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
901.
▲
by
amluto
10mo ago
> Protected and private inheritance are C++'s equivalent to traits How so? Maybe in a COM-like world where the user of an object needs to call a method to get an interface pointer. I’ll grant that concepts are a massive improvement
902.
▲
by
amluto
10mo ago
Interestingly, a few weeks ago I fed Claude a curve from a datasheet (actually a screenshot from the web) via its UI with some of its internal tools enabled, and, with minimal prompting, it turned that plot into an interactive tool that ana
903.
▲
by
amluto
10mo ago
As a long time C++ user, I’m curious why you like inheritance and virtual methods so much. I maintain a medium sized, old-ish C++ code base. It uses classes and inheritance and virtual methods and even some multiple inheritance. I despise
904.
▲
by
amluto
10mo ago
I would like to introduce you to StopIteration.
905.
▲
by
amluto
10mo ago
Interestingly, on bare metal or old-school VMs, durability of local storage was pretty good. If the rack power failed, your data was probably still there. Sure, maybe it was only 99% or 99.9%, but that’s not bad if power failures are rare.
906.
▲
by
amluto
10mo ago
I think this entire design approach is on its way out. It turns out that the DIMM protocol was very much designed for volatile RAM, and shoehorning anything else in involves changes through a bunch of the stack (CPU, memory controller, DIMM
907.
▲
by
amluto
10mo ago
Skipping flushing the local disk seems rather silly to me: - A modern high end SSD commits faster than the one way time to anywhere much farther than a few miles away. (Do the math. A few tens of microseconds specified write latency is pre
908.
▲
by
amluto
10mo ago
One could tune an FEL to precisely the same wavelength as ASML’s setup if one were so inclined. (Subject to all kinds of complications, as the high energy electron sources needed are complex and EUV light is hard to work with. But there is
909.
▲
by
amluto
10mo ago
Oh, that’s neat. It uses high-harmonic generation. My sole personal experience with any sort of harmonic generation was being in the room while some grad students debugged a 266nm laser that consisted of a boring 1064nm Nd:YAG laser followe
910.
▲
by
amluto
10mo ago
All books published by Tor are DRM-free.
911.
▲
by
amluto
10mo ago
They mean bandwidth as in rate at which one can expose a mask using an electron beam, because they’ve confused two different technologies. See my other reply. P.S. Can you usefully chirp an FEL? I don’t know whether the electron sources
912.
▲
by
amluto
10mo ago
This is a totally different technology. A free electron laser (FEL) uses free electrons (electrons not attached to a nucleus) as a lasing medium to produce light. The light would shine through a mask and expose photoresist more or less just
913.
▲
by
amluto
10mo ago
RDMA is not really intended for this. RDMA is really just a bunch of functionality of a PCIe device, and even PCIe isn’t really quite right to use like RAM because its cache semantics aren’t intended for this use case. But the industry kno
914.
▲
by
amluto
10mo ago
If I were running this show, I would have a second concurrent project as a hedge and as a chance of leapfrogging the West: trying to make free electron laser lithography work. Free electron lasers have lots of (theoretical) advantages: no t
915.
▲
by
amluto
10mo ago
The Demo 3 Live Search example has really nasty scroll jank issues. I’m guessing it’s caused by the results being inserted inline in the document (and thus redoing the layout of much of the page) instead of being placed in some sort of over
916.
▲
by
amluto
10mo ago
Sigh. I should probably have clarified the vibe-coded part. I think this entire project could he done with rather little total code, and that the code could be written entirely by humans without an immense programmer-hour commitment or by h
917.
▲
by
amluto
10mo ago
I feel like I could specify and vibe-code a CI workflow system that would be dramatically better (for a single organization’s workflow) than GitHub Actions. And hosting it would be barely more complex than hosting a GitHub Actions self-hos
918.
▲
by
amluto
10mo ago
The MOTU Ultralite Mk5 is a nice piece of hardware and is even at a great price point if you use more than a tiny fraction of its capabilities, but it also costs quite a few times the entire cost of the rest of this system :) If you just w
919.
▲
by
amluto
10mo ago
I read the post and the companion post: https://vitaut.net/posts/2025/smallest-dtoa/ And there’s one detail I found confusing. Suppose I go through the steps to find the rounding interval and determine that k
920.
▲
by
amluto
10mo ago
My setup is a mixed C/C++/Python project. The C and C++ code builds independently of the Python code (using waf, but I think this barely matters -- the point is that the C/C++ build is triggered by a straightforward command
921.
▲
by
amluto
10mo ago
Answering my own question: CEC is electrically unrelated to DDC/EDID. The EDID data tells each source its physical address, and then the devices negotiate over CEC to choose logical addresses and announce their physical addresses. Th
922.
▲
by
amluto
10mo ago
Is there any plan for a non-“compatibility layer” way to do anything manual or nontrivial? uv sync and uv run are sort of fine for developing a distribution/package, but they’re not exactly replacements for anything else one might wan
923.
▲
by
amluto
10mo ago
Their integration with existing tools seems to be generally pretty good. For example, uv-build is rather lacking in any sort of features (and its documentation barely exists AFAICT, which is a bit disappointing), but uv works just fine with
924.
▲
by
amluto
10mo ago
How about: Mozilla HTTPS To My Router (or printer or any other physically present local object) in a way that does not utterly suck? Seriously, there’s a major security and usability problem, it affects individual users and corporations, an
925.
▲
by
amluto
11mo ago
> Autocoding straight to embedded I used this twenty-something years ago. It worked, but I would not have wanted to use it for anything serious. Admittedly, at the time, C on embedded platforms was a truly awful experience, but the C (an
926.
▲
by
amluto
11mo ago
Okay, now I’m curious. If the pins are just connected across all ports, how does the AVR tell which CEC-speaking device is on which port? Chip select or similar pins?
927.
▲
by
amluto
11mo ago
> How am I supposed to get the audio to the speakers without a bulky expensive receiver box? You can get a small ARC/eARC audio extractor with RCA or S/PDIF output and use your favorite amplifier or DAC with it.
928.
▲
by
amluto
11mo ago
I always assumed that it was a separate i2c bus per HDMI link and that it was the AVR’s job to handle a request from something and send the right requests to everything else.
929.
▲
by
amluto
11mo ago
> There’s also Rubio Monocoat and other two-component hardwax oils where the base component is usually a solvent-free blend of drying oils and waxes, and the accelerator component is Hexamethylene diisocyanate or HDI. The base component
930.
▲
by
amluto
11mo ago
>> The security failure is in an ecosystem that allows packages to run arbitrary code silently. > No, your security failure is that you use a package manager that allows third-parties push arbitrary code into your product with no o
More ›