!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

422 Members
Discussion about documentation improvements around the Nix ecosystem86 Servers

Load older messages


SenderMessageTime
6 Feb 2024
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @qyriad:matrix.org
It's not in Nixpkgs, confusingly it's in NixOS/nix/src/nix-build/nix-build.cc https://github.com/NixOS/nix/blob/master/src/nix-build/nix-build.cc
symys: Not only is it confusing - the flagship feature we put on the front page is a really ugly wart architecturally. Maybe the ugliest. We’re still discussing how to maneuver away from it and still provide the same or better level of convenience and maintainability, but it requires pulling on multiple ends of the problem to get done. I recommend not to sweat it and focus on more pressing issues, namely those large areas that are not properly documented at all.
16:24:16
@fricklerhandwerk:matrix.orgfricklerhandwerk Which is to say: nix-shell is well-understood at the surface and has enough reference documentation to get quite far. The sharp edges and thorny problems are somewhere else. 16:26:57
@fractivore:cyberia.club@fractivore:cyberia.clubMaybe, but also keep in mind that I came to this diagram through an organic process of reading through the doc as a learner and reflecting on what wasn't quite clear to me. 16:35:58
@fractivore:cyberia.club@fractivore:cyberia.clubLooking over everything I could find on my own about nix-shell, in fact16:36:30
@fractivore:cyberia.club@fractivore:cyberia.clubOf course, everybody follows a unique learning process and gets hung up on different details, owing to their diverse backgrounds.16:39:49
@fractivore:cyberia.club@fractivore:cyberia.clubBut yeah my motivation here isn't just entirely selflessly wanting to document stuff for the community. I mean I do want to give back to the community, but I also need to spend a lot more time reading existing docs to get a better understanding of Nix and NixOS myself. I thought an efficient way of deepening my own understanding while also contributing would be to go through all of the existing materials and make diagrams of stuff that jumped out of me. Then I can present the diagrams, where they can be accepted and/or modified or rejected. That being said I'm also very happy to take feedback on stuff that is under-documented or lends itself well to diagrams or whatever, I mean I like to be useful16:48:32
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @fractivore:cyberia.club
But yeah my motivation here isn't just entirely selflessly wanting to document stuff for the community. I mean I do want to give back to the community, but I also need to spend a lot more time reading existing docs to get a better understanding of Nix and NixOS myself. I thought an efficient way of deepening my own understanding while also contributing would be to go through all of the existing materials and make diagrams of stuff that jumped out of me. Then I can present the diagrams, where they can be accepted and/or modified or rejected. That being said I'm also very happy to take feedback on stuff that is under-documented or lends itself well to diagrams or whatever, I mean I like to be useful
Yes, writing down (or graphing) what you understand and bouncing that against people is a great way to learn!
16:50:22
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @dmills27:matrix.org
Greetings everyone, Season of Docs opened up their applications on the 2nd of February. I wanted to check with you guys if you're fine with me coordinating this activity for the NixOS Foundation? I have previously successfully managed a prior Season of Docs participant in 2022 (see 'Talawa' in https://developers.google.com/season-of-docs/docs/2022/participants). If everyone agrees, I can draft a CFP in the following days that details the strategies we could use for this edition of the programme.

Hey, it would be great if you kicked of the process with a CFP, because we should definitely take the opportunity to get funding.

How far do you want to go with it? Are you willing and available to drive it to conclusion: progress tracking, evaluation, final report, the whole project management long tail?

16:56:34
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @dmills27:matrix.org
Greetings everyone, Season of Docs opened up their applications on the 2nd of February. I wanted to check with you guys if you're fine with me coordinating this activity for the NixOS Foundation? I have previously successfully managed a prior Season of Docs participant in 2022 (see 'Talawa' in https://developers.google.com/season-of-docs/docs/2022/participants). If everyone agrees, I can draft a CFP in the following days that details the strategies we could use for this edition of the programme.
* Hey, it would be great if you kicked off the process with a CFP, because we should definitely take the opportunity to get funding.
How far do you want to go with it? Are you willing and available to drive it to conclusion: progress tracking, evaluation, final report, the whole project management long tail?
17:07:55
@fricklerhandwerk:matrix.orgfricklerhandwerk * Dominic Mills: Hey, it would be great if you kicked off the process with a CFP, because we should definitely take the opportunity to get funding.

How far do you want to go with it? Are you willing and available to drive it to conclusion: progress tracking, evaluation, final report, the whole project management long tail? (bearbeitet)
17:09:59
@megs78:matrix.orgmegs78 joined the room.19:13:44
7 Feb 2024
@fricklerhandwerk:matrix.orgfricklerhandwerk

As part of preparing the report on the documentation team's activities of the past year (and more...)

  • Did a clean-up pass over the nix.dev issue tracker, closing duplicate and stale issues
  • Merged the results of proofconstruction's prototyping for the tutorial outline with the work done by the Learning Journey working group
  • Pinned tracking issues for the three documentation categories we cover: https://github.com/NixOS/nix.dev/issues
  • Did a bunch of small PRs to fix typos, broken links, awkward phrasing; adding missing bits, etc. (thanks infinisil oliviacrain danielsidhion for quick reviews!)
04:26:51
@dmills27:matrix.orgDominic Mills
In reply to @fricklerhandwerk:matrix.org
Dominic Mills: Hey, it would be great if you kicked off the process with a CFP, because we should definitely take the opportunity to get funding.

How far do you want to go with it? Are you willing and available to drive it to conclusion: progress tracking, evaluation, final report, the whole project management long tail? (bearbeitet)
yes, I'm willing at do all of what you just mentioned for the duration of the programme.
21:10:47
@dmills27:matrix.orgDominic Mills
In reply to @fricklerhandwerk:matrix.org
Dominic Mills: Hey, it would be great if you kicked off the process with a CFP, because we should definitely take the opportunity to get funding.

How far do you want to go with it? Are you willing and available to drive it to conclusion: progress tracking, evaluation, final report, the whole project management long tail? (bearbeitet)
* yes, I'm willing and available at do all of what you just mentioned for the duration of the programme.
21:20:51
8 Feb 2024
@symys:dailyaslbot.twilightparadox.comsymys joined the room.06:22:03
@symys:dailyaslbot.twilightparadox.comsymys changed their profile picture.18:46:54
9 Feb 2024
@dooy:matrix.org@dooy:matrix.orgIs there any work towards creating an LLM bot that integrates Nix documentation for user support and generating specific documentation10:35:24
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @dooy:matrix.org
Is there any work towards creating an LLM bot that integrates Nix documentation for user support and generating specific documentation

There were some internal experiments with commercial offers at Tweag in the past months, based on the source code, i.e. official documentation. Unsurprisingly the quality was not overwhelming, because many things are simply not written down.

Last year there was quite harsh opposition to mine Discourse and IRC/Matrix logs due to copyright/privacy concerns. We thought about implementing a self-hosted setup and offering it to the community for testing. But as those volunteer efforts go, not much has happened due to other priorities.

Ideally such an LLM would graze over Discourse, Matrix, GitHub, and the sources, and reply to questions with summaries with references. Would be great to have such a smart dumb search engine, because of those things that are written down somewhere, most are really hard to find manually.

10:49:44
11 Feb 2024
@fractivore:cyberia.club@fractivore:cyberia.club
In reply to @dooy:matrix.org
Is there any work towards creating an LLM bot that integrates Nix documentation for user support and generating specific documentation
In my experience LLMs are really awful at Nix right now and hallucinate a lot. I think significant advancement would probably need to happen for this to be helpful rather than confusing, as a bot pulling from existing LLMs is very likely to hallucinate and provide incorrect documentation. Probably, an LLM would need to be trained specifically for the task, and yeah I feel like the best one could even hope for right now is for the LLM to provide links to relevant discussions as described above, or be able to tell you "this is new territory" with some level of confidence.
18:42:12
@fractivore:cyberia.club@fractivore:cyberia.clubThis also brings up the inevitable question of training ethics. Is there a means for indicating consent to train LLMs on, for example, code in nixpkgs? Is that up to the maintainer, or what? How does that work for discourse?18:46:07
@fractivore:cyberia.club@fractivore:cyberia.clubMy bias on this is, I'm a defender of "ai" tech, but also, people are thinking it's way better and more accurate right now than it actually is due to a small number of impressive cases like Alpha Go, and also the ethics are in a spot where nobody knows quite what to do and it's very easy to piss people off18:47:50
@fractivore:cyberia.club@fractivore:cyberia.club All that being said, docs are one place that LLMs should have some good use-cases, so I think it's good to keep exploring those. 18:49:18
@fractivore:cyberia.club@fractivore:cyberia.clubFinding relevant discussions would be more of a classifier than a generator18:51:19
@dooy:matrix.org@dooy:matrix.orgIf it could encapsulate the function logic without merely skimming over the consent code, that would be ideal. However, my knowledge in this area is limited. ChatGPT has been immensely helpful to me over the past year as I've been getting up to speed with NixOS. For the first time in my life, after being a hobbyist for 15 years, I've started working on my first PR. It assists me in understanding the function logic and already possesses a substantial amount of knowledge about Nix too. The value it provides is immense, and I feel significantly less stressed than before. It feels like I'm moving quickly, which empowers me. 21:24:30
12 Feb 2024
@symys:dailyaslbot.twilightparadox.comsymysSounds like it's gotten a little better since the last time I tried it.01:41:47
@symys:dailyaslbot.twilightparadox.comsymysBut... You haven't run in to situations where it lies to you? 🤨 Cuz that's the thing that would make it dubious to use unsupervised in docs.01:43:34
@symys:dailyaslbot.twilightparadox.comsymysPersonally I encounter hallucinations nearly every time I use chatGPT.01:45:04
@symys:dailyaslbot.twilightparadox.comsymysCould be clearly labeled with a warning tho, I spose02:02:09
@symys:dailyaslbot.twilightparadox.comsymysPersonally I feel like a q&a support bot with warning labels would make more sense than a doc generator as such.02:05:21
@symys:dailyaslbot.twilightparadox.comsymysI've been on the other hand thinking about "deterministic" doc generation... Which has certain advantages over "AI" (namely accuracy) but also distinct issues (verbosity).02:11:58

Show newer messages


Back to Room ListRoom Version: 6