3 Sep 2023 |
jbedo | Large store paths used to be an issue but mostly work pretty smoothly now as a lot of the memory bottlenecks have been removed | 21:49:18 |
CRTified | That makes sense. I really had the impression that large store entries still pose a lot of problems π Nice to know that this changed | 21:51:16 |
4 Sep 2023 |
Bruno Rodrigues | does that mean that you could retrieve intermediary outputs from the store to further Analyse in R? | 16:25:16 |
Bruno Rodrigues | say I create a ggplot does it get into the store, and could I look at it in R later? | 16:25:50 |
CRTified | I mean, the store contains files after all. I don't see a reason why that shouldn't work | 16:26:07 |
Bruno Rodrigues | that's essentially how targets works and I find it very useful | 16:26:08 |
Bruno Rodrigues | true, but I was wondering if bionix provides a mechanism for retrieving these files within an R session | 16:26:49 |
Bruno Rodrigues | and also suppose I fit a model, and would like to save this model | 16:31:35 |
Bruno Rodrigues | with targets this model gets serialized and saved for later retrieval in an r session | 16:32:06 |
Bruno Rodrigues | does nix/bionix serialize intermediary outputs ? | 16:32:46 |
CRTified | I think jbedo could help a bit more for the bionix question, but for additional outputs, I'd actually check the outputs argument for mkDerivation | 16:33:08 |
CRTified | The typical usecase are distinct outputs for libs, bin and so on, but I think it would fit that application nicely as well | 16:33:37 |
jbedo | In reply to @brodriguesco:matrix.org with targets this model gets serialized and saved for later retrieval in an r session there's no knowledge of bionix at the application level, for R i use the builtin serialisation like save() and writeRDS() , and as CRTified said multiple outputs are handy for dealilng with several outputs produced simultaneously | 22:27:20 |
5 Sep 2023 |
Bruno Rodrigues | very nice I'll have to play around with it | 07:18:04 |
| ri-char left the room. | 15:55:18 |
11 Sep 2023 |
| Salar Rahmanian (softinio) joined the room. | 01:26:02 |
maupind | Do many people here work with non-nix users, particularly people on Windows? Curious on workflows that you use to share your code/projects. I've played around with the rix package (awesome work Bruno Rodrigues), but trying to make as low of barrier entry as possible. I'm hoping to be able to upload code used in research data analysis and would love a simple approach with as little work for end-users who may want to check. I've thought Docker could work and also been told about devcontainer.json as an option. Any other ideas/tips? | 15:54:00 |
Jez (he/him) βΎοΈ | i'm still pretty new to using nix in this way, but i mostly rely on the "standard" tools for this (e.g. requirements.txt /pyproject.yaml for python) and then adapt them for nix for my own convenience, either with automated tools like mach-nix where they work, or otherwise by hand (because my requirements are usually fairly simple) | 16:02:04 |
12 Sep 2023 |
maupind | Have only just started getting into Python. That seems like it'd be a good option for my projects that end up using it though | 07:15:26 |
13 Sep 2023 |
| Alexis left the room. | 22:11:45 |
16 Sep 2023 |
Bruno Rodrigues | friends I've written a blog post on literate programming with Nix | 14:58:25 |
Bruno Rodrigues | it focuses on Quarto and R, but the main takeaways can be adapted to any tools and languages | 14:58:48 |
Bruno Rodrigues | https://www.brodrigues.co/blog/2023-09-15-nix_for_r_part5/ | 14:58:51 |
Bruno Rodrigues | I'm a beginner so if you notice something stupid, that's normal π | 14:59:21 |
18 Sep 2023 |
| Felix changed their profile picture. | 20:21:13 |
| Felix joined the room. | 20:24:20 |
20 Sep 2023 |
| nbathum changed their display name from nbathum (he or they) to nbathum. | 04:58:30 |
| nbathum removed their profile picture. | 04:58:41 |
21 Sep 2023 |
| ben joined the room. | 09:41:27 |
| dedmunwalk joined the room. | 23:05:21 |