---
title: "Playing mental poker in Go"
publication: "Go Weekly"
issue: 372
published_at: "2021-07-23"
canonical_url: "https://golangweekly.com/issues/372"
---

Plus Go's the language everyone wants to learn, and using Go for a gRPC service on Google Cloud Run. |        

#​372 — July 23, 2021 

[Unsubscribe](https://golangweekly.com/leave/*|UID|*)|[Read on the Web](https://golangweekly.com/issues/372)   

Go Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/j5fhcmvwlklyp0qyvm8o.jpg)](https://www.reddit.com/r/dataisbeautiful/comments/om66b5/oc_most_popular_programming_languages_according/)  

[Go Now the 4th Most Popular Language on GitHub](https://www.reddit.com/r/dataisbeautiful/comments/om66b5/oc_most_popular_programming_languages_according/) — A fun data visualization on Reddit’s /r/DataIsBeautiful sub shows the popularity of different languages in public GitHub repos. JavaScript comes first, with Python, Java, and then Go just behind. 

Reddit   

[Delve 1.7.0: A Popular Debugger for Go](https://github.com/go-delve/delve) — A long standing project which has just this week [added](https://github.com/go-delve/delve/blob/master/CHANGELOG.md#170-2021-07-19) Go 1.17 support, a new API and terminal command for watchpoint setting, and more. 

Derek Parker   [![\](https://copm.s3.amazonaws.com/0f4741bf.png)](https://www.ardanlabs.com/training/?utm_source=Cooperpress%20PrimaryV4) 

[Advanced Engineering Go, Docker & K8’s Training](https://www.ardanlabs.com/training/?utm_source=Cooperpress%20PrimaryV4) — Ardan Labs provides instructor-led live-streaming training and self-paced online video training for teams and individuals. Join the 10,000 + engineers who’ve dramatically improved their engineering skills using Ardan Labs training now! 

Ardan Labs sponsor   

[Accessing Postgres Databases in Go](https://eli.thegreenplace.net/2021/accessing-postgresql-databases-in-go/) — No ORMs here, it’s a review of low-level ways to access Postgres databases from Go, including the `pq` driver, `pgx` and `sqlx`. 

Eli Bendersky   

[An Interesting Go Memory Issue?](https://boyter.org/posts/interesting-go-memory-issue/) — Found while running a test, a program that should never hit the OS memory limit did just that and Ben has theories as to why. 

Ben E. C. Boyter   

[How Does `sync.Map` Work Internally?](https://sreramk.medium.com/go-inside-sync-map-how-does-sync-map-work-internally-97e87b8e6bf) — A very long and detailed look at the how and why of using `sync.Map` along with some ways you might optimize its performance. 

Sreram K   

[Playing Mental Poker in Go](https://tpaschalis.github.io/mental-poker/) — Is it possible for two potentially dishonest players to play a fair game of poker without cards at arm’s length? Apparently the answer is yes and the author set out to recreate such a system in Go. 

Paschalis Tsilias   

[Go Related Findings in JetBrains' Developer Ecosystem Survey](https://www.jetbrains.com/lp/devecosystem-2021/go/) — I’ve enjoyed looking through the extremely plentiful results from JetBrains’ _The State of Developer Ecosystem 2021_ survey and Go gets [an entire page of its own](https://www.jetbrains.com/lp/devecosystem-2021/go/). [Gin](https://github.com/gin-gonic/gin) is the big winner in the Web framework stakes, [Mux](https://github.com/gorilla/mux) in routing and, elsewhere, Go is the most likely language for all survey respondents to [consider migrating to in the next year](https://www.jetbrains.com/lp/devecosystem-2021/#Do-you-plan-to-adopt--migrate-to-other-languages-in-the-next--months-If-so-to-which-ones). 

JetBrains     

Jobs  

[Senior Software Engineer (Go) - 100% Remote, UK/EU Only](https://www.form3.tech/careers/job-application?gh_jid=4003519002) — Solving complex technical challenges using the latest, cloud-native technologies to help Banks and FinTechs move money faster. 
Form3   

[Golang Developer at X-Team (Remote)](https://x-team.com/remote-go-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=go) — Join the most energizing community for developers and work on long-term projects for Riot Games, FOX, Sony, Coinbase, and more. 
X-Team   

[Find a Job Through Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-golangweekly%29&utm_content=find-your-next-job) — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers. 
Hired      

[Deploying a gRPC and gRPC Web API on Google Cloud Run](https://blog.gendocu.com/posts/grpc-on-google-cloud/) — Leans on Cloud Run’s experimental HTTP/2 support and implements the backend in Go. 

GenDocu gRPC Blog   

[Wrapping Commands in Go](https://developer20.com/wrapping-commands-with-go/) — “Commands” here are shell commands and the example shows how to run and parse the output of a command. 

Bartłomiej Klimczak   

[On Building Business Apps in Go](https://goingwithgo.com/2021/07/building-business-applications-in-golang-three-dots-labs/) — An interview with Miłosz Smółka, one of the co-founders of Three Dots Labs and co-author of the book _Go With the Domain_ about the realities of building business software using Go. 

Going with Go  

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/vtynubbtnt9aqcrbjiax.jpg)](https://github.com/davecheney/httpstat)  

[httpstat: Visualize HTTP Connection Statistics](https://github.com/davecheney/httpstat) — A self described ‘shameless rip off’ (or _port_) of a Python tool with the same name. 

Dave Cheney   

[EggOS 0.2: A Go Unikernel Running on x86 Bare Metal](https://github.com/icexin/eggos) — Run a single Go app on x86 bare metal, supports most Go features and standard libraries, and comes with a network stack that will work with most `net`-based libraries. 0.2 adds floating point, mouse and GUI support - all big things. 

fanbingxin   

[Why Tracing Might Replace (Almost) All Logging](https://go.lightstep.com/register-tracing-will-replace-logging-guide-co21?utm_campaign=golang&utm_source=cooper&utm_medium=Email) 

Lightstep sponsor   

[GoCV: Computer Vision in Go using OpenCV 4+](https://github.com/hybridgroup/gocv) — Years old and continues to see frequent updates. 

The Hybrid Group   

[askgit: Query Git Repositories with SQL](https://github.com/askgitdev/askgit) — A CLI tool for running SQL queries on git repos such as for making reports. 

AskGit   

[go-yaml: YAML Encoding, Decoding and Querying for Go](https://github.com/goccy/go-yaml) — A mature library that even supports YAMLPath, a way of extracting values or ASTs by a simple query language ([example](https://github.com/goccy/go-yaml#5-use-yamlpath)). 

Masaaki Goshima         

Curated by [Glenn Goodrich](https://twitter.com/ruprict) and [Peter Cooper](https://twitter.com/peterc). 

[Change your email address](https://golangweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://golangweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
