Re: [go-nuts] Re: recommended approach for loading private keys requiring passwords

2020-05-03 Thread Brian Candler
Yes indeed there are quite a few projects in this arena, and interestingly most of them are written in Go. I was aware of: https://github.com/smallstep/certificates [go, also available as a pay-for cloud service] https://github.com/netflix/bless [python, runs in AWS lambda] https://github.com/m

Re: [go-nuts] json decode is very slow

2020-05-03 Thread Jesper Louis Andersen
The general rule is to run a corollary of Dijkstra: experiments can only show the presence of problems in a system, not their absence :) That is, seek to validate your assumptions rather than trying to guess what is wrong with the system. The obvious things to check against are HTTP/1.1 vs HTTP/2

Re: [go-nuts] json decode is very slow

2020-05-03 Thread Amnon Baron Cohen
Excellent advice Jesper! On Sunday, 3 May 2020 10:34:12 UTC+1, Jesper Louis Andersen wrote: > > The general rule is to run a corollary of Dijkstra: experiments can only > show the presence of problems in a system, not their absence :) > > That is, seek to validate your assumptions rather than try

[go-nuts] Re: dial TLS error in Windows 10

2020-05-03 Thread Liam
This was due to Norton Firewall. On Saturday, May 2, 2020 at 12:02:25 PM UTC-7, Liam wrote: > > On Windows 10, in a Go app started by a command prompt which has > Administrator privs, I see this error when attempting a TLS connection: > > dial tcp [host:port]: connectex: An attempt was made to ac

Re: [go-nuts] Using FIPS-compliant boring Go to connect to microsoft.com(specifically)

2020-05-03 Thread mohit . bits2011
Thanks, it looks like we have some work to do ! On Thursday, April 30, 2020 at 11:31:37 AM UTC-7, David Anderson wrote: > > (Disclaimer: not a FIPS compliance expert, you should hire your own > experts to get authoritative answers) > > FIPS 140-2 seems to reference FIPS 186-4 for specific algorit

[go-nuts] Re: About text-based user interface for Windows and Linux

2020-05-03 Thread 洪嘉鴻
I'm looking for cross-compile source code examples about text-based user interface for Windows and Linux, not the terminal emulators. I think it might be difficult to find the examples that could work on both Windows and Linux. Thanks for your replying! Max Jason E. Aten於 2020年5月2日星期六 UTC+8上午11

[go-nuts] Re: About text-based user interface for Windows and Linux

2020-05-03 Thread Jason E. Aten
You didn't take my meaning. The reason the examples don't work on Windows is because the terminal emulator on Windows is messing them up. https://github.com/gdamore/proxima5 is an example. Tcell is cross platform. -- You received this message because you are subscribed to the Google Groups "go

[go-nuts] Re: Using FIPS-compliant boring Go to connect to microsoft.com(specifically)

2020-05-03 Thread Bhagya Prasad NR
(Disclaimer: Not a FIPS compliance expert) Couple of observations. I looked at how others are treating this by taking an example of OpenSSL 1.1.1 and Go's 1.12.4 distribution from CentOS 8.1 (which is derived from RHEL 8.1 and RHEL is inline for FIPS 140-2 validation as we speak). [1]. OpenS

[go-nuts] GoMobile connection issues on Android

2020-05-03 Thread kristoffer . stenersen
Our Android app needs to communicate with a wifi access point without internet. In order to make the app still communicate with internet, we bind the process to cellular, and we bind sockets to that the wifi-network. Network used to bind the process using connectivityManager.bindProcessToNetw

[go-nuts] [ANN] Treetop - A tool to create request handlers for nested templates

2020-05-03 Thread ruaidhri . devery
Announcing the Treetop Go library for HTML applications. I recently deployed a rewrite of a large internal CRUD application at work. The new project made heavy use of the nested template features of the Go html/template package. I took some time recently (weekends in lockdown!) to tidy-up the t

[go-nuts] What would be a non-regexp alternative?

2020-05-03 Thread Vivi
I find there're large chuck of strings would need to be scanned and remove/clean up, are there alternative way to improve beside using regexp? Replacer/NewReplacer seems to be limit on exact characters or my idea of NewReplaceGroup could be useful. ([abc .#$]+) -- You received this message be

[go-nuts] Re: About text-based user interface for Windows and Linux

2020-05-03 Thread 洪嘉鴻
I see. Actually I only want to make a simple application. The application is about segmenting two text-boxes for input and output. I've tried this and it seems good, except for the complicated example such as "demo". (The terminal emulator on Windows really mess "

[go-nuts] What would be a non-regexp alternative?

2020-05-03 Thread Tamás Gulácsi
You just want to remove those characters? Use strings.Map. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this