IRC channel logs
2023-11-29.log
back to list of logs
<graywolf>I am reading the HACKING file, in particular regarding (add-hook 'before-save-hook 'delete-trailing-whitespace). For filesys.c it introduces fair amount of changes. How should that be handled? Inside one patch with my change? Two patch series (my change + whitespace cleanup)? Separate patch send separately? Or just not touch it? <lloda>i actually toggle that off when i edit guile files bc otherwise most of the patch is whitespace trimming. There's a lot of trailing whitespace in guile unfortunately <lloda>i'd be happy to remove it all in a single patch, but it would be annoying for anyone who git blames <jpoiret>lloda: i believe there's something you can put in a git repo to ignore some commits when blaming <jpoiret>although itd have to be configured manually for each checkout unfortunately iiuc <graywolf>lloda: Actually git blame supports -w flag, so I do not seen any potential for annyances there... <morenonatural>hey, y'all, is there a function to copy the content of one port to another? <morenonatural>is (put-bytevector some-out-port (get-bytevector-all some-in-port)) The Way? <samplet>That will do it, but it puts the whole contents of the port in memory. <samplet>Another option is to loop reading and writing in chunks. <morenonatural>I had the idea there was a different kind of abstraction, but seems there isn't <morenonatural>in which you don't write a line to copy, but rather state objects (that will do the copy) <morenonatural>(not judging or requesting, btw... just feeling like I'm about to do a non-standard lib for my own tastes) <sneek>I've been serving for 21 days <sneek>This system has been up 34 weeks, 4 days, 3 hours, 43 minutes