Golang Weekly - Writing generic collection types

Plus Russ Cox's new bot, using Go from JavaScript, and the River job queue gets a UI. |

#​513 — July 2, 2024

Unsub  |  Web Version

Together with  Ardan Labs

Go Weekly

Writing Generic Collection Types: The Missing Documentation — Go 1.18 introduced generics, but the author found practical examples and documentation on creating generic collections to be lacking. Luckily, he’s done the experimentation for us and shares what he learnt after many hours of spinning his wheels on the problem.

Zach Musgrave

Realtime Diagnostic Logging (or 'How to Really Spy on Your Go Web Apps') — An exploration of some options to temporarily enable verbose logging for troubleshooting purposes and making those logs accessible from anywhere and in real-time.

Vladimir Dementyev

Go! Unlock Your Tech Potential with Ardan Labs Consulting — Struggling with skill gaps, development speed or complex tech challenges? Ardan Labs specializes in Go, Rust, Docker and K8s to accelerate your software development, optimize architecture, and manage tech debt. Let us supercharge your team!

Ardan Labs Consulting sponsor

IN BRIEF:

How to Use a Go Library on a Web Page with WebAssembly — Compiling Go code to WebAssembly opens up some interesting opportunities in the browser.

Thomas Derflinger

📄 f-tests as a Replacement for Table-Driven Tests in Go Aliaksandr Valialkin

📄 How to Do 'Hotword' Detection with Streaming Speech-to-Text and Go – Leans on AssemblyAI’s platform. Yasoob Khalid

📄 A Silly Mistake I Made with io.TeeReader Vishnu Bharathi

📄 gRPC: The Good Parts Kevin McDonald

🛠 Code & Tools

River: A Fast, Robust Job Queue for Go — A Postgres-backed background job system that encourages using the same database for your app and your jobs. v0.8 just landed, but the biggest recent addition is River UI, a way to more directly monitor and visualize what River is up to.

Brandur Leach et al.

SmoothMQ: A Drop-in Replacement for Amazon SQS — Simple Queue Service (SQS) is a distributed message queuing service offered as part of AWS. SmoothMQ offers the same API but in a single Go binary.

Jay Goel

Your Fastest Path to Production — Build, deploy, and scale your apps with unparalleled ease – from your first user to your billionth.

Render sponsor

🍪 Cookie: Cookies, But With Structs — Set, get, and remove cookies, both plaintext and signed.

Chase Pierce

  • lo 1.44 – Lodash-style Go library offering generic functions over slices, maps, channels, etc.

  • Chi 5.1 – Popular composable router for building Go HTTP services.

  • Vitess 20 – Go-powered horizontal scaling approach for MySQL.

  • 📊 go-echarts 2.4 – Charting and data visualization library.

  • GoBGP 3.28 – BGP implementation in Go.

  • fx 35.0 – Powerful terminal JSON viewer.

🎁 And one for fun

Doggo: A Go-Powered Command Line DNS Client — A DNS tool written in Go designed to be used at the terminal (not as a library). Well presented and a good example of a modern, Go-powered CLI tool. GitHub repo.

Karan Sharma

n

Older messages

Go 1.23 gets another step closer

Tuesday, June 25, 2024

Plus making a regex engine in Go, how to think about channels, and Bleve gets vector support. | #​512 — June 25, 2024 Unsub | Web Version ✈️ I've produced this issue a day early due to being en-

A quick Go quiz

Tuesday, June 18, 2024

Plus debates about Go 1.23 iterators, anti-patterns, and another Go web framework. | #​511 — June 18, 2024 Unsub | Web Version Together with Dragonfly Go Weekly Why People are 'Angry' Over Go

Errors, errors, and errors again

Tuesday, June 11, 2024

Plus another success story for profile-guided optimization. | #​510 — June 11, 2024 Unsub | Web Version Together with Frontend Masters logo Go Weekly An Applied Introduction to eBPF with Go — eBPF is a

Generating Go boilerplate from OpenAPI specs

Tuesday, June 4, 2024

Plus a look at some Go alternatives to using Makefiles. | #​509 — June 4, 2024 Unsub | Web Version 🫣 We took a break last week, but forgot to notify you in advance - sorry! You didn't miss anything

The Go team explains compiler optimizations

Tuesday, May 21, 2024

Plus the latest GoLand EAP begins. | #​508 — May 21, 2024 Unsub | Web Version Together with Flipt Go Weekly ▶ Boosting Performance of Go Apps with Optimizations — Three members of the Go team gave a

You Might Also Like

🪫 Fixing Battery Life on My Windows Laptop — Are Folding Phones Here to Stay?

Friday, July 12, 2024

Also: Free Games That Aren't Worth It, and More! How-To Geek Logo July 12, 2024 Did You Know Batarangs—Batman's bat-shaped weapons—first appeared in Detective Comics #31, published in September

Last call: AI Consultancy Project is closing at 11:59 PM PT

Friday, July 12, 2024

Also, my story: I wanted more time to date my wife ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

iOS Dev Weekly - Issue 669

Friday, July 12, 2024

I am always going to use 🥽 to reference Vision Pro until we get a VR headset emoji! 🫨 View on the Web Archives ISSUE 669 July 12th 2024 Comment Earlier today, I stepped into my very own spatial

Defending Russia’s EU neighbors

Friday, July 12, 2024

Plus, startup valuations reach all-time high and more View this email online in your browser By Marina Temkin Friday, July 12, 2024 Image Credits: Bryce Durbin / TechCrunch Welcome to Startups Weekly —

Weekly News Roundup - Issue #475

Friday, July 12, 2024

Plus: Microsoft leaves OpenAI's board; OpenAI got hacked; the first step toward reversible cryopreservation; how good ChatGPT is at coding; China proposes guidelines for humanoid robotics; and more

Showtime!

Friday, July 12, 2024

Week of July 8, 2024 Showtime! Week of July 8, 2024 By MG Siegler • 12 Jul 2024 View in browser View in browser Are we sure the "AI Supercycle" for the PC market is going to be a thing? IDC

Charted | The World’s Top 100 Universities, by Country 🎓

Friday, July 12, 2024

Where are the top 100 universities in the world located? We look at the World University Rankings 2024 to find out. View Online | Subscribe takes what you love about Visual Capitalist to the next level

Daily Coding Problem: Problem #1494 [Medium]

Friday, July 12, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Yahoo. Write an algorithm that computes the reversal of a directed graph. For example,

Comedic Consultant 💻

Friday, July 12, 2024

A former Daily Show host's questionable tech ties. Here's a version for your browser. Hunting for the end of the long tail • July 12, 2024 Comedic Consultant Trevor Noah has been on the

Axion Processors: Googles First Arm-based CPUs

Friday, July 12, 2024

Top Tech Content sent at Noon! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, July 12, 2024? The HackerNoon Newsletter brings the HackerNoon