What do you get when you cross a LLaMA with a Gopher?

Plus when TinyGo beats C++, domain driven design in Go, and how Go calls Windows' APIs. |

#​456 — April 18, 2023

Unsub  |  Web Version

Together with  JetBrains

The Go Weekly Newsletter

Go's Error Handling is a Form of Storytelling — That’s probably one of the kindest ways I’ve heard Go’s approach to error handling described, but the author makes the argument that good error messages add up and tell a story.

Preslav Rachev

Staying on the theme of errors, Dolthub's Max Hoffman also wrote about where panics have their place, how panicking is faster than raising errors, and the tradeoffs you need to consider between the two.

Try GoLand 2023.1! — This version introduces the vulnerability checker and better navigation through gRPC code. We’ve also updated the Code Vision feature so that GoLand now shows both the number of implementations for an interface and its method specifications.

JetBrains sponsor

Improving Tailscale via Apple’s Open Source — This is only related to Go in as much as Tailscale’s client is written in it, but it’s an interesting tale of how digging through some of Apple’s code has paid dividends in improving Tailscale’s own functionality.

Mihai Parparita (Tailscale)

Tailscale's Jordan Whited also wrote about optimizations made to push Tailscale into the '10Gb/s club' and where some loop unwinding in Go helped.

The Tao of Go“If we were to approach software development in Go in a sensitive, intelligent way, following the natural contours of the language and the problem rather than trying to bulldoze them out of the way, what would that look like? Let’s try to establish a few general principles.”

John Arundel

IN BRIEF:

An Indepth Look at Go's Windows Calls — After analyzing a variety of Go malware, the author ended up picking up a lot about how Go calls Windows’ APIs under the hood. This is detailed and not for the faint of heart.

Leandro Froes

Six Best Practices for Kubernetes Audit Logging — Cohesive auditing policies? Reliable backends? Here’s why you need all that plus RBAC, consistent log formats, and more.

Teleport | goteleport․com sponsor

▶  Why Go is Great for Command-Line Tools — The latest in a line of short YouTube videos from Google selling the benefits of Go, we assume, to companies and teams considering Go but not yet using it. (3 minutes)

Go Team

How Go Fixed Everything That Was Wrong with Programming — A bold claim, but unsurprisingly this is an opinion piece ;-)

Jan Kammerath

🛠 Code & Tools

llama.go – It's Like llama.cpp in Pure Go — This is exciting, but there’s a lot to unpack if you’re not into modern large language models. If you’ve heard of ChatGPT, it relies on a ‘large language model’ (LLM) and LLaMA is Facebook/Meta’s attempt at producing one of their own. llama.cpp is a C++ app to use the LLaMA model efficiently, and now llama.go is a Go attempt. Oh, and you need a lot of memory. Phew.

Serge Gotsuliak

Queue 1.2: Generic, Thread-Safe Queue Implementations — Specifically, blocking, priority and circular queues.

Adrian Brad

Domain Names for Go Programmers at Porkbun.com — Porkbun has the best domain names for Go programmers to show off your work. Get .app, .dev, and more at the best prices.

Porkbun Domain Registrar sponsor

Opengist: A Self-Hosted Pastebin — A git-powered Gist-like pastebin app with more features than you might exepct.

Thomas Miceli

go-mask: Library for Masking Sensitive Information — Mask sensitive information or data that you don’t want to output by setting tags on structs.

showa

µDiff: A Small Diffing Library — Implements the 📄 Myers’ algorithm for finding differences between strings.

Ayman Bagabas

QUICK RELEASES:

Jobs

Find a Job Through Hired — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.
Hired

🧑‍💻 Got a job listing to share? Here's how.

n

Key phrases

Older messages

The smallest Go binary

Tuesday, April 11, 2023

Plus what's new in GoLand, how to parse spreadsheets from Go, GoReleaser 1.17, and treating ourselves to some Gin. | #​455 — April 11, 2023 Unsub | Web Version ℹ️ As mentioned last time, Go Weekly

'Til Tuesday

Friday, March 31, 2023

Plus it's Go 1's 11th birthday, a GUI app for viewing Go execution traces, and a new way to make and use network block devices. | #​454 — March 31, 2023 Unsub | Web Version ℹ️ A quick

Go on the Xbox?

Friday, March 24, 2023

Plus the power of single method interfaces, a new way to optimize structs, and a simple parser package built upon struct field tags. | #​453 — March 24, 2023 Unsub | Web Version Together with Ardan

Structured logging is a go

Friday, March 17, 2023

Plus real world Go concurrency examples, flame graphs, and there's more than one way to structure a Go project. | #​452 — March 17, 2023 Unsub | Web Version Together with Shortcut The Go Weekly

The journey to faster JSON parsing

Friday, March 10, 2023

Plus Go re-enters the TIOBE top 10, using multi-module workspaces, and what the Go team is talking about. | #​451 — March 10, 2023 Unsub | Web Version Together with Ardan Labs The Go Weekly Newsletter

Apple Vision Pro, MacBook Air & iOS 17 🌎, StackOverflow moderator strike 👨‍💻, CSS blend modes 🎨

Tuesday, June 6, 2023

Apple's augmented reality headset, the Apple Vision Pro, will launch early next year starting at $3499. Sign Up|Jobs|Advertise|View Online TLDR Together With CleanMyMac X TLDR 2023-06-06 Mac full

Digest #106: I love git-blame-someone-else! 😳

Tuesday, June 6, 2023

Digest #106: I love git-blame-someone-else! 😳 #106: I love git-blame-someone-else! This week, I've compiled yet another selection of the latest insights, tutorials, and tools in the DevOps space

[New post] Microsoft .NET Code Analysis: The Rijndael and Rijndaelmanaged Types Are Superseded

Tuesday, June 6, 2023

dotNetDave posted: " Since September 2021, the Rijndael and RijndaelManaged types have been superseded by the AesManaged type. Although Rijndael is still supported in .NET, it is generally not

The Rust I wanted had no future — and Our right to challenge junk patents is under threat

Monday, June 5, 2023

Issue #1154 — Top 20 stories of June 06, 2023 Issue #1154 — June 06, 2023 You receive this email because you are subscribed to Hacker News Digest. You can open it in the browser if you prefer. 1 The

Here’s all of TechCrunch’s reporting from day one of WWDC 2023

Monday, June 5, 2023

TechCrunch Newsletter TechCrunch logo The Daily Crunch logo By Christine Hall Monday, June 05, 2023 Today, our team brings you all of the ooey, gooey Apple WWDC 2023 keynote goodness, including

JSK Daily for Jun 5, 2023

Monday, June 5, 2023

JSK Daily for Jun 5, 2023 View this email in your browser A community curated daily e-mail of JavaScript news Mini-Game Using Only HTML, CSS and JavaScript Start by creating an HTML file and open it in

Max Q - Max Q: Another day, another delay

Monday, June 5, 2023

TechCrunch Newsletter TechCrunch logo Max Q logo By Aria Alamalhodaei Monday, June 05, 2023 Hello and welcome back to Max Q! In this issue: Pixxel's new investor Mission delays for Boeing, Rocket

Daily Coding Problem: Problem #1118 [Easy]

Monday, June 5, 2023

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Dropbox. What does the below code snippet print out? How can we fix the anonymous

Physical vs. Digital Games: Should You Buy Physical Games?

Monday, June 5, 2023

Did You Know?: The enormous geodesic polyhedron, Spaceship Earth, at the center of Walt Disney World's Epcot park, is clad in 11324 silvered isosceles triangles. If a perfect polyhedron, it would

DeveloPassion's Newsletter #124 - Polywork

Monday, June 5, 2023

Hello everyone! I'm Sébastien Dubois, your host (I'm on Twitter). You're receiving this email because you signed up for DeveloPassion's Newsletter. Thank you for being here with me ✨