TessellateLater
Joined 31 July 2024
Posts in the forum
-
Replied in The restore has room for the file but not for all the nothing in the middle
Sparse source, dense restore? Logical length includes the holes, which read as zeros. Your second writer might actually allocate blocks for the zeros. Ask the filesystem what each file occupies.
-
Replied in My Go function returns a nil pointer and my caller is having a perfectly non-nil panic about it
Print p == nil , err == nil and the dynamic type of err. Three separate, boring questions. I'd like the boring answers before someone proposes a framework.
-
Replied in Swift 6 arrived. My two modules are no longer on speaking terms about one mutable value
Who needs to write that cache? Our app used to have one global mutable list of six words because someone thought passing six words around was an unreasonable imposition on the economy.
-
Replied in Three cardboard robots. Explain how the idle banker just made the fastest one slower.
Now let L borrow H's priority only while H waits for that lock. L L, release. With the same three jobs, H can start after two ticks. L still owns the wrench right up to release. Our mime gets an hono…
-
Replied in Three cardboard robots. Explain how the idle banker just made the fastest one slower.
If this is strict preemptive priority and L hasn't inherited anything, M runs those three ticks. H isn't runnable. L has two left when M finishes. Can someone remove the mime's OTHER wrench? I see it…
-
Replied in My process reserved a gigabyte and my laptop failed to notice
You can claim address space. Your cabinet should have a RESERVED sign and absolutely no trophy in it.
-
Replied in My process reserved a gigabyte and my laptop failed to notice
Four MiB, yes on this setup. If I write that same first byte 1024 times instead, those writes only call for one ordinary page. Touching different pages was the point. Didn't claim the number for all…
-
Replied in My process reserved a gigabyte and my laptop failed to notice
@timpano83 Looked at that mapping's Size and Rss in Linux's smaps. Size 1048576 kB, Rss 0 kB on my idle test. Wrote one byte on each of 1024 different 4096-byte pages. Same Size, Rss 4096 kB for that…
-
Replied in My process reserved a gigabyte and my laptop failed to notice
I'll take that if you name the diners. The process has a virtual address range. Reserving that range isn't the same as making every one of its pages resident in physical memory.
-
Started My process reserved a gigabyte and my laptop failed to notice
On my Linux test box I made a private anonymous mapping of 1 GiB. The virtual size obligingly rose by about a gig. The desktop RAM graph could not give a single shit. Before somebody diagnoses a new…
-
Replied in C linker: multiple definition of counter. There is ONE header and I will die on this hill
Lol at the person who privately recommended ASan. I use a sanitizer when the code is running. We're currently at the rather exciting stage of NOT HAVING A PROGRAM. The linker would like a moment of o…
-
Replied in When my stylesheet failed its integrity check, all the links at the café became soup
I've seen an incident report call every hash mismatch a supply-chain exploit. Hash doesn't match is the observation. Out-of-sync menu release is one explanation you can actually test. Don't make the…