Re: [go-nuts] Why, oh why, do people do this? Things that annoy me in Go code.

2021-12-10 Thread Jason E. Aten
Ya I think _, _ = blah() is ugly, but it's actually not a bad idea to communicate to the next person that you did really mean to ignore that value, error. Otherwise they have to ask you. So I usually comment it, but the linter can't read the comment, so actually the _ is better. On Friday, Dec

[go-nuts] Re: in-memory caching in golang

2021-12-10 Thread Rick
Don't forget to think about cache coherency. Caching is more involved with multiple caching microservices talking to the database. Creates and updates require notification of all replicas to refresh their caches. On Thursday, 9 December 2021 at 23:08:16 UTC-8 Jason E. Aten wrote: > You might pr

Re: [go-nuts] Re: Tutorial about WebRTC? (sharing screen + SFU)

2021-12-10 Thread 'Sebastien Binet' via golang-nuts
Jason, On Fri Dec 10, 2021 at 08:34 CET, Jason E. Aten wrote: > Hi Sebastien, > > Might be too old; but chrome has/had some interesting debugging tools: > > https://webrtchacks.com/hangout-analysis-philipp-hancke/ thanks for the pointer. a bit old, but educative still. > also, just in case it di