Re: [go-nuts] Prefer named variables or "with" in templates?

2025-05-26 Thread Nick White
Hi Paul, On Sun, May 25, 2025 at 03:08:12PM +1000, Paul Baker wrote: > Should I prefer one over the other? Which of these (if either) would > be considered idiomatic? > > 1. > {{- $resource := .Page.Resources.Get $path -}} > {{- $lines := split $resource.Content "\n" | after $skip_lines -}} > {{-

Re: [go-nuts] I saw the news today, oh boy

2025-05-18 Thread Nick White
Thanks for all your great work and patience in helping people in this community for all this time, Ian. The rest of us will have to step up to keep this place as active and useful as it is! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To un

Re: [go-nuts] Pass SQL null values to Parquet

2023-01-22 Thread Nick White
On Sun, Jan 22, 2023 at 08:56:12PM +, Rory Campbell-Lange wrote: > I have implemented a fairly efficient line-wise dump file reader which > includes a rudimentary table typer. However I'm not sure how to represent > nulls in my go code so that I can pass these onto parquet encoders. > > Is a

Re: [go-nuts] What's go's convention for specifying the equivolent of configure --prefix?

2022-12-03 Thread Nick White
On Thu, Dec 01, 2022 at 08:42:46PM -0800, hey...@gmail.com wrote: > Using a Makefile makes sense. > > And thanks for bringing embed to my attention. I never knew it exists. Sounds > like it can solve my problem. Yeah, embed is brilliant, I'm glad it can help you. One thing I forgot to mention is

Re: [go-nuts] SignatureDoesNotMatch error when S3 object name contains “=”

2021-04-16 Thread Nick White
Hi, Quoth nonnikcm: > i am struggling with using the s3manager to create files on S3. the file names > need to be in the following format "set=2012-04-3", containing an "=". > uploading with out the "=" works perfectly... It would probably be worth submitting a bug to the AWS SDK for Go issue tr