-
alanc
oh, hmm,
illumos.org/man isn't up to date with the gate I see - changes from
illumos/illumos-gate bc19178 don't seem to show there
-
jbk
I think jclulow runs a script to update that
-
jbk
if we ever get everything converted to mandoc, one really nice thing is that it outputs html as an option and can use a common css amongst all of the pages
-
tsoome
LLM should be useful for such conversion.
-
MelanieUrsidino
would seem wildly inappropriate for the task (converting a presentational to a semantic markup language)
-
tsoome
-
fenix
→ CODE REVIEW 4817: convert ls.1 to mdoc(7) Assisted-By: Claude Opus 4.8 (1M context) (NEW)
-
tsoome
it did spend 14 minutes on it (with confirmation prompts).
-
andyf
jbk we can do that now - mandoc can output html for the older format too, and that's probably what's used for illumos.org/man. The OmniOS pages -
man.omnios.org/ls for example - include all the extra userland that OmniOS ships too, and has a stylesheet that could probably be improved.
-
jbk
oh, i figured it jsut passed through non-mandoc pages
-
andyf
There is also
github.com/omniosorg/tomdoc which is what I use to get started with mdoc conversion. It takes care of some of the mechanical bits. You'd have to carefully read through an LLM-assisted output anyway, so I find it useful to do the mechanical bits then read through top to bottom tidying it up and filling in things like the synopsis by hand.
-
jbk
i wrote a c program to assist a while ago... though you have to give it some input on certain things
-
jbk
but it does try to notice certain patterns and translate them into lists (for example)
-
jbk
heh.. why am I not surprised that vmware's nvme emulation is terrible
-
danmcd
Yep... I see proof every SmartOS release with test-flake.
-
richlowe
proof-reading any bulk conversion of the manual sounds like it would be hell
-
MelanieUrsidino
you'll save power and headaches doing it andyf's way
-
richlowe
given the state of our manuals (or at least, the decade of effort alanc has spent improving the same manuals, which we haven't), you're probably going to find/fix bugs too
-
alanc
ptribble has done quite a bit on your side
-
alanc
but yes, there is so much more that could be fixed
-
alanc
I wonder if you asked an LLM to report all the outdated bits in the man pages what it would say - if it would find stuff like the "workman" reference I removed from rmmount recently
-
sommerfeld
Another one is the use of IPv6 site-local addresses in man page examples -- they were deprecated years ago.
-
richlowe
alanc: at this point, "whenever a music CD" is not that much less antique
-
alanc
true
-
alanc
we removed most mentions of diskettes when we dropped our driver for floppy disk drives
-
alanc
from the notes I sent Peter comparing my changes to his:
-
alanc
-
alanc
- listing a bunch of media types here is silly, since the media type doesn't
-
alanc
matter, UFS is endian-dependent on any media.
-
alanc
-
alanc
- or, even better, ZFS!
-
richlowe
gwr_: do you still need me to test a test-runner thing?
-
gitomat
[illumos-gate] 18102 bhyve: Populate the device version from the backend -- ShengYi Hung <aokblast⊙Fo>
-
tsoome
to be really honest, I can not care less which way those updates are done as long as they are done.
-
jbk
unfortunately working with anything roff-like doesn't seem to be particularly inviting to people
-
jbk
and markdown is going to suffer from fidelity problems (there's no equivalent markdown syntax for .In or .Ev or .Dv for example)
-
jbk
which is what everyone seems to want to do these days
-
jbk
(also the resulting formartting it produces if you convert is usually crap -- see vmadm on smartos)
-
richlowe
I have -- shall we say -- worries about letting a system known for making shit up out of whole cloth, or copying the answers for other operating systems and hoping for the best, loose on our manual
-
richlowe
I would hope those worries were shared
-
richlowe
if a thorough proof reading is actually easier than doing the conversion, I guess that's someone elses problem to think about
-
jbk
i'm sure if you just tell it 'don't hallucinate and don't copy content from other operating systems' it'll be fine...
-
jbk
(/s if that's not obvious)
-
tsoome
why it should copy content from other operating systems when you tell it to convert from one macro language to another? you are not changing the text there. grab the patch from
code.illumos.org/c/illumos-gate/+/4817 and compare output from two man commands (before and after). I used this prompt to create it: > consult with usr/src/man/man7/mdoc.7 and convert ls.1 to mdoc format
-
fenix
→ CODE REVIEW 4817: convert ls.1 to mdoc(7) Assisted-By: Claude Opus 4.8 (1M context) (NEW)
-
tsoome
and btw, it did hallucinate about some macros, it did use 'mandoc -Tlint ls.1' as part of the process to detect and fix conversion errors there.
-
wiedi
if illumos merges llm stuff I think I would no longer be interested in the project
-
sommerfeld
tsoome: the issue is that the system architecture underlying LLMs does not allow for a clean airtight code vs data separation.
-
jbk
richlowe: that's why I'm leery about using them for code generation
-
jbk
but they can be useful to help figure out what code is doing or for code review (though I would put the onus on the person using it to curate the results before posting them)
-
tsoome
I actually do not want to use llm for code generation because I want to understand what I write;)
-
jbk
of course that's all while they're still affordable :P
-
jbk
or should i say insanely subsidized