Readit News logoReadit News
nagaiaida commented on If It Quacks Like a Package Manager   nesbitt.io/2026/03/08/if-... · Posted by u/jandeboevrie
Spivak · 7 days ago
I could see a case being made that programming language functions, especially in ruby where everything is message passing, forms a package manager. A method might actually want to guarantee that when it sends a message foo that the code receiving it remains fixed.

Being able to declare dependencies that granular might actually be great for doing refactors and upgrades. Maybe we accepted too easily that dependencies for a project are global.

nagaiaida · 7 days ago
in raku, versions are specified for imported packages, not for installed packages; you can specify in the code a dependency on a particular version
nagaiaida commented on Why does C have the best file API   maurycyz.com/misc/c_files... · Posted by u/maurycyz
ajross · 13 days ago
> and if i directly do an mmap syscall on linux from a freestanding forth

... mmap() remains a system call to a C kernel designed for use from the C library in C programs, and you're running what amounts to an emulator.

The fact that you can imagine[1] an environment where that might not be the case doesn't mean that it isn't the case in the real world.

Your argument appears to be one of Personal Liberty: de facto truths don't matter because you can just make your own. This is sort of a software variant of a Sovereign Citizen, I think.

[1] Can you even link a "freestanding forth" with an mmap() binding on any Unix that doesn't live above the libc implementation? I mean, absent everything else it would have to open code all the flag constants, whose values change between systems. This appears to be a completely fictitious runtime you've invented, which if anything sits as evidence in my favor and not yours.

nagaiaida · 13 days ago
?

i'm not so much imagining an environment per se¹ as describing one i've already written, so i'm not entirely sure where any of this is coming from. if you care to have some additional assurance this isn't somehow an elaborate rhetorical trap, a previous comment about forth tail call elimination with a bit of demonstrative assembly is presumably only a short scroll down my profile. ctrl-f for cmov if you want to find it quickly. as i recall, it came up for similar reasons then because people often make similar incorrect generalizations about lots of things that implicitly sit atop a c runtime in their minds. that said, you're the first one to call me a sovcit before asking any clarifying questions so at least there's some new pizzazz there.

i was clear that i was talking specifically about linux precisely because this isn't something one can do portably for exactly the reasons you're describing (which, yes, makes porting things built like this off of linux before the point you've built up enough to be able to go through libc annoying and ad hoc at the very least).

the fact remains that i can, right now, non-theoretically, on a well supported common unixlike os, and entirely unrelated to whatever weird crusade you seem to have invented to stand in for my side of this discussion, link a pile of assembly with -static -nolibc, fire up the repl, and mmap files into memory as i please with nary a bit of c on the userspace side.

as i originally said, i'm happy to consider linux a weird exception to the point you're making in a wider context since this isn't something you can do portably, but there still are entirely useful things one can do today with mmap that involve zero userspace c code on a widely supported platform.

edit: lol forgot to even get to this part. i'm also somewhat curious what you mean with this bit: "you're running what amounts to an emulator." perhaps i'm not firing on all cylinders today but i fail to see how it's useful to characterize performing bare syscalls from assembly (or something more high-level built out of assembly legos) as an emulator in any way, but i'm open to having missed some interesting nuance there.

¹ unless you mean trivially (seeing as this is code i imagined and then proceeded to write) in which case i suppose i agree

nagaiaida commented on Why does C have the best file API   maurycyz.com/misc/c_files... · Posted by u/maurycyz
ajross · 13 days ago
No, that's too far down the pedantry rabbit hole. "mmap()" is quite literally a C function in the 4.2BSD libc. It happens to wrap a system call of the same name, but to claim that they are different when they arrived in the same software and were written by the same author at the same time is straining the argument past the breaking point. You now have a "C Erasure Polemic" and not a clarifying comment.

If you take a kernel written in C and implement a VM system for it in C and expose a new API for it to be used by userspace processes written in C, it doesn't magically become "not C" just because there's a hardware trap in the middle somewhere.

mmap() is a C API. I mean, duh.

nagaiaida · 13 days ago
and if i directly do an mmap syscall on linux from a freestanding forth that doesn't go through libc for anything? sure, c unfortunately defines how i have say, pass a string, but that's effectively an arbitrary calling convention at that point; there's no c runtime on the calling side so it's not particularly useful to contend that what i'm using is a c api.

or perhaps mmap is incontrovertibly a c function on platforms where libc wrappers are the sole stable interface to the kernel but something else entirely on linux?

nagaiaida commented on IDF killed Gaza aid workers at point blank range in 2025 massacre: Report   dropsitenews.com/p/israel... · Posted by u/Qem
TurdF3rguson · 19 days ago
That article says 30 deaths of "people" not civilians and that the strikes targeted commanders.
nagaiaida · 19 days ago
if the ceasefire only applies when targeting civilians, was agreeing to a ceasefire in the first place thus an admission of targeting civilians?
nagaiaida commented on Git's Magic Files   nesbitt.io/2026/02/05/git... · Posted by u/chmaynard
speleding · 20 days ago
I'm not very familiar with deploy tools other than Capistrano, but I would think you also do not want to have the .git directory with your entire repo inside the working directory on the production server, so I assume some kind of "git export" must happen at some stage on most deploy tools? (Or perhaps they just rm -rf the .git directory?)
nagaiaida · 20 days ago
tangential, but deploys/builds that involve worktrees happen to neatly sidestep this since then .git is just a pointer to the real one. i use this to avoid having to otherwise prevent docker from wasting time reading the git info into the build context (especially important for latency if feeding local files into a remote image build)
nagaiaida commented on Loops is a federated, open-source TikTok   joinloops.org/... · Posted by u/Gooblebrai
ftchd · 21 days ago
I want this to be succesful so much, but almost nothing works in the mobile app

Needed 2 tries to sign up, and uploading a video from the camera roll failed (5-7 tries)

nagaiaida · 21 days ago
yeah, there's a consistent pattern of overpromising across this and other projects by the same person
nagaiaida commented on Ggml.ai joins Hugging Face to ensure the long-term progress of Local AI   github.com/ggml-org/llama... · Posted by u/lairv
fc417fc802 · 23 days ago
Is that with a WISP by chance? Or in a developing country? Or are there really wired providers with such low caps in the western world in this day and age?
nagaiaida · 23 days ago
well it's my wired cap a stone's throw from buildings with google cloud logos on the side in a major us city, so...
nagaiaida commented on Tailscale Peer Relays is now generally available   tailscale.com/blog/peer-r... · Posted by u/sz4kerto
dec0dedab0de · 25 days ago
Wouldn't the FOSS alternative be to simply use wireguard?
nagaiaida · 24 days ago
a simpler setup with broad feature parity would probably look more similar to nebula than bare wireguard
nagaiaida commented on Zero-day CSS: CVE-2026-2441 exists in the wild   chromereleases.googleblog... · Posted by u/idoxer
JoeAltmaier · 25 days ago
Maybe it's more complicated than that? With allocate/delete discipline, C can be fairly safe memory-wise (written a million lines of code in C). But automated package managers etc can bring in code under the covers, and you end up with something you didn't ask for. By that point of view, we reverse the conclusion.
nagaiaida · 25 days ago
yes, people often invoke "simply write safer c" but that doesn't make it any more realistic of a proposition in aggregate as we keep seeing.
nagaiaida commented on Text classification with Python 3.14's ZSTD module   maxhalford.github.io/blog... · Posted by u/alexmolas
az09mugen · a month ago
I do not agree on the "lossless" adjective. And even if it is lossless, for sure it is not deterministic.

For example I would not want a zip of an encyclopedia that uncompresses to unverified, approximate and sometimes even wrong text. According to this site : https://www.wikiwand.com/en/articles/Size%20of%20Wikipedia a compressed Wikipedia without medias, just text is ~24GB. What's the medium size of an LLM, 10 GB ? 50 GB ? 100 GB ? Even if it's less, it's not an accurate and deterministic way to compress text.

Yeah, pretty easy to calculate...

nagaiaida · a month ago
(to be clear this is not me arguing for any particular merits of llm-based compression, but) you appear to have conflated one particular nondeterministic llm-based compression scheme that you imagined with all possible such schemes, many of which would easily fit any reasonable definitions of lossless and deterministic by losslessly doing deterministic things using the probability distributions output by an llm at each step along the input sequence to be compressed.

u/nagaiaida

KarmaCake day62August 27, 2020
About
alice at [user] dot fr

if you email me, there's a good chance my replies will go to your spam folder.

View Original