[go-nuts] Asvatthi, Document and share your Golang source code for free

2025-03-29 Thread 'Asvatthi' via golang-nuts
Hello all, *Sign up for the Free Plan*: *www.asvatthi.com * No credit card needed, we are giving away a lot of languages at this point. * Screenshots: *https://www.asvatthi.com/features* * Sign up for *Newsletter

Re: [go-nuts] Logging best practices with log/slog

2025-03-29 Thread Mike Schinkel
> On Mar 28, 2025, at 8:58 AM, cpu...@gmail.com wrote: > > I'm in the process of converting our application (evcc.io) from using > spf13/jwalterweatherman for logging to log/slog. This is a very serendipitously timed discussion (for me) since yesterday and today I have been working on how to

[go-nuts] Re: Logging best practices with log/slog

2025-03-29 Thread Andrew Harris
The question of how to pass loggers around was discussed at significant length in GitHub, and drew a lot of strong opinions. More so than other standard library stuff, any particular piece of the slog API is maybe less an eager endorsement of best practices, but more about matching what exists

[go-nuts] Re: ANN: jcp does rsync, but 3x faster

2025-03-29 Thread Jason E. Aten
Right. So the answer to that is: It can, and does, but it is missing the obvious optimization of skipping the network stack for local-disk-to-local-disk transfer. It might still be fast (enough); you'd have to benchmark it to see. See below for demonstration. Its pretty convenient to try local-t

[go-nuts] Re: ANN: jcp does rsync, but 3x faster

2025-03-29 Thread jeff.ko...@gmail.com
I read G's question as whether jcp can efficiently update incremental backups from primary to secondary local storage, e.g. daily backup of a home dir to an attached memory stick or an alternate folder on the same filesystem. On Friday, March 28, 2025 at 3:55:30 PM UTC-7 Jason E. Aten wrote: >