CINXE.COM
Golang Weekly
<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"> <channel> <title>Golang Weekly</title> <description>A weekly newsletter about the Go programming language</description> <link>https://golangweekly.com/</link> <item> <title>What's coming in Go 1.24</title> <link>https://golangweekly.com/issues/533</link> <description> <table border=0 cellpadding=0 cellspacing=0 align="center" border="0"> <tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <div> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr> <td align="left" style="padding-left: 4px; font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "><p>#533 — November 26, 2024</p></td> <td align="right" style="padding-right: 4px; font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "><p><a href="https://golangweekly.com/link/162706/rss" style=" color: #0099b4;">Unsub</a> | <a href="https://golangweekly.com/link/162707/rss" style=" color: #0099b4;">Web Version</a></p></td> </tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0; padding-right: 12px; padding-left: 12px;"><p>Go Weekly</p></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <a href="https://golangweekly.com/link/162709/rss" style=" color: #0099b4;"><img src="https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/myanfq6dhkacspmavpnj.jpg" width="640" style=" line-height: 100%; "></a> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162709/rss" title="eli.thegreenplace.net" style=" color: #0099b4; font-size: 1.1em; line-height: 1.4em;">GoMLX: ML in Go <em>without</em> Python</a></span> — Eli <a href="https://golangweekly.com/link/162710/rss" style=" color: #0099b4; ">recently wrote</a> about Go’s suitability as a glue language for calling out to third party machine learning services and Python ‘sidecars’, but could you just do the heavy lifting from Go itself? <a href="https://golangweekly.com/link/162711/rss" style=" color: #0099b4; ">GoMLX</a> provides one option.</p> <p>Eli Bendersky </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><span>📊 </span> <a href="https://golangweekly.com/link/162712/rss" title="docs.google.com" style=" color: #0099b4; font-size: 1.05em;">What's Coming in Go 1.24</a></span> — A 52-slide deck that goes through language, tooling, and standard library changes coming to Go 1.24 (expected in January or February 2025). There’s quite a bit here, including generic type aliases, weak pointers, and an <a href="https://golangweekly.com/link/162713/rss" style=" color: #0099b4; ">experimental test package for concurrent code.</a></p> <p>Daniel Martí </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"><p>💡 You may remember <a href="https://golangweekly.com/link/162714/rss" style=" color: #0099b4; font-weight: 600;">▶️ Daniel's similar talk about Go 1.22</a> a year ago – when the video for the new talk lands, we'll link to it.</p></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <a href="https://golangweekly.com/link/162708/rss" style=" color: #0099b4; "><img src="https://res.cloudinary.com/cpress/image/upload/c_limit,w_480,h_480,q_auto/copm/1ea6f5f1.png" width="110" height="110" style="padding-top: 12px; padding-left: 12px; line-height: 100%; "></a> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162708/rss" title="www.ardanlabs.com" style=" color: #0099b4; font-size: 1.05em;">Go! Unlock Your Tech Potential with Ardan Labs Consulting</a></span> — 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!</p> <p>Ardan Labs Consulting <span style="text-transform: uppercase; margin-left: 4px; font-size: 0.9em; color: #885 !important; padding-top: 1px; padding-right: 4px; padding-left: 4px; ">sponsor</span></p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162715/rss" title="www.dolthub.com" style=" color: #0099b4; font-size: 1.05em;">Are Go's Generics Simple or Incomplete? A Design Study</a></span> — Some argue that Go’s generic implementation only added complexity to the language, while others disagree. Nick takes us through a complex problem that he struggled to solve with generics, eventually ending up with a solution that works but felt a bit harder than necessary. <a href="https://golangweekly.com/link/162716/rss" style=" color: #0099b4; ">Some commenters on Reddit</a> felt that his approach was more OO / interface-based than it needed to be, though.</p> <p>Nick Tobey (DoltHub) </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;">▶ <a href="https://golangweekly.com/link/162717/rss" title="www.youtube.com" style=" color: #0099b4; font-size: 1.05em;">WASI to Go: Write Once, Go Anywhere</a></span> — A talk from the recent <a href="https://golangweekly.com/link/162718/rss" style=" color: #0099b4; ">WASMCon</a> event exploring Go’s relationship with WebAssembly and how WASM can help ‘Go go anywhere.’ A pretty good primer on the topic as things currently stand.</p> <p>Zhou and Reddig </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><strong>IN BRIEF:</strong></p> <ul> <li> <p>🖼️ Preslav Rachev's ebook <a href="https://golangweekly.com/link/162719/rss" style=" color: #0099b4; font-weight: 500 !important; ">Generative Art in Go</a> is half-off this week.</p> </li> <li> <p>Forget Go <em>versus</em> Rust, <a href="https://golangweekly.com/link/162720/rss" style=" color: #0099b4; font-weight: 500 !important; ">Go and Rust together make a great pair of languages</a> to know, says John Arundel.</p> </li> <li> <p><a href="https://golangweekly.com/link/162721/rss" style=" color: #0099b4; font-weight: 500 !important; ">Matteo shows how a simple optimization</a> sped up one of his dependencies <em>"by 38147125738.8x."</em></p> </li> </ul> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162722/rss" title="newsletter.pragmaticengineer.com" style=" color: #0099b4; font-size: 1.05em;">Inside Bluesky’s Engineering Culture</a></span> — A writeup from May 2024 that’s perhaps become more relevant with Bluesky’s recent rapid ascent. Go sits at the heart of the social network’s backend.</p> <p>Gergely Orosz and Elin Nilsson </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>📄 <a href="https://golangweekly.com/link/162723/rss" style=" color: #0099b4; font-weight: 500 !important;">A Go Production Performance Gotcha with <code>GOMAXPROCS</code></a> – A well understood but oft encountered gotcha when GOMAXPROCS isn’t set. <cite>Chris Battarbee</cite></p> <p>📄 <a href="https://golangweekly.com/link/162724/rss" style=" color: #0099b4; font-weight: 500 !important;">Investigating a Memory Leak with Pprof</a> – Commonly trod ground, but well explained. <cite>Aviv Zohari</cite></p> <p>📄 <a href="https://golangweekly.com/link/162725/rss" style=" color: #0099b4; font-weight: 500 !important;">Testing with Go and Postgres using Ephemeral DBs</a> <cite>Michael Stapelberg</cite></p> <p>📄 <a href="https://golangweekly.com/link/162726/rss" style=" color: #0099b4; font-weight: 500 !important;">Getting a Pointer to a Constant in Go</a> <cite>Xe Iaso</cite></p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0; padding-right: 0; padding-left: 0;"><p>🛠 Code &amp; Tools</p></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <a href="https://golangweekly.com/link/162727/rss" style=" color: #0099b4;"><img src="https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/bm6pjbifn6ybvemalwyk.jpg" width="640" style=" line-height: 100%; "></a> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162727/rss" title="superfile.netlify.app" style=" color: #0099b4; font-size: 1.05em;">superfile: A Terminal-Based File Manager App</a></span> — Built with Go and Bubble Tea, it combines a visually appealing design with the simplicity of terminal tools, providing a fresh, accessible approach to file management.</p> <p>Yorukot </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><span>♻︎</span> <a href="https://golangweekly.com/link/162731/rss" title="github.com" style=" color: #0099b4; font-size: 1.05em;">recur: Retry a Command with Exponential Backoff and Jitter</a></span> — A Go-powered command line tool for retrying shell based commands in a controlled way until a condition (or success) is met.</p> <p>D. Bohdan </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162730/rss" title="workos.com" style=" color: #0099b4; font-size: 1.05em;">WorkOS: Sell to Enterprises with a Few Lines of Code</a></span> — The modern identity platform for B2B SaaS, offering flexible, easy-to-use APIs to integrate SSO, SCIM, and FGA in minutes instead of months.</p> <p>WorkOS <span style="text-transform: uppercase; margin-left: 4px; font-size: 0.9em; color: #885 !important; padding-top: 1px; padding-right: 4px; padding-left: 4px; ">sponsor</span></p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162732/rss" title="github.com" style=" color: #0099b4; font-size: 1.05em;">Porcupine 1.0: A Fast Linearizability Checker</a></span> — You write a spec for a system in Go, provide a concurrent history, and Porcupine figures out if the history is linearizable with respect to the spec. There’s <a href="https://golangweekly.com/link/162733/rss" style=" color: #0099b4; ">a 2017 blog post</a> that explains more.</p> <p>Anish Athalye </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <a href="https://golangweekly.com/link/162734/rss" style=" color: #0099b4;"><img src="https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/zrt3xhgl9vskombkbs3y.jpg" width="640" style=" line-height: 100%; "></a> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162734/rss" title="github.com" style=" color: #0099b4; font-size: 1.05em;">Sequin: Human-Readable ANSI Sequences</a></span> — The latest work from the folks at Charm (well known for Bubble Tea, Lip Gloss and other libraries) interprets ANSI sequences into something you can actually understand..</p> <p>Charm </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>⚙️ <a href="https://golangweekly.com/link/162735/rss" style=" color: #0099b4; font-weight: 500 !important;">nats-mutex: Distributed Lock Library using NATS JetStream</a> <cite>Yurii Biurher</cite></p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <ul> <li> <p>🕒 <a href="https://golangweekly.com/link/162736/rss" style=" color: #0099b4; font-weight: 500 !important; ">Carbon 2.5</a> – Developer friendly way to work with times and dates (<a href="https://golangweekly.com/link/162737/rss" style=" color: #0099b4; font-weight: 500 !important; ">examples</a>).</p> </li> <li> <p><a href="https://golangweekly.com/link/162738/rss" style=" color: #0099b4; font-weight: 500 !important; ">Goose 3.23</a> – Database migration tool. Supports SQL <em>and</em> Go functions.</p> </li> <li> <p><a href="https://golangweekly.com/link/162739/rss" style=" color: #0099b4; font-weight: 500 !important; ">GoReleaser 2.4.8</a> – Build/release binaries for multiple platforms.</p> </li> <li> <p><a href="https://golangweekly.com/link/162740/rss" style=" color: #0099b4; font-weight: 500 !important; ">Mockery 2.49</a> – Generate mock implementations of interfaces.</p> </li> <li> <p><a href="https://golangweekly.com/link/162741/rss" style=" color: #0099b4; font-weight: 500 !important; ">Ginkgo 2.22</a> – Mature testing framework.</p> </li> </ul> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 0px; padding-left: 0px;"> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>📰 Classifieds</p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>📚 Risk mitigation is key to safeguarding your organization's future. <a href="https://golangweekly.com/link/162742/rss" style=" color: #0099b4; font-weight: 500 !important;">Discover how Temporal enhances reliability and minimizes risk in finserv</a>.</p> <p>🤖 Control RAG access with <a href="https://golangweekly.com/link/162743/rss" style=" color: #0099b4; font-weight: 500 !important;">SpiceDB's fine-grained permissions in Go and open source</a>.</p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0; padding-right: 0; padding-left: 0;"><p>🎁 And a little bonus quote..</p></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>I saw <a href="https://golangweekly.com/link/162744/rss" style=" color: #0099b4; font-weight: 500 !important;">this 2020 blog post</a> by Brad Fitzpatrick the other day and liked an insight he shared about complexity and how Go changed his opinion of it:</p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 0px; padding-left: 0px;"> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>"I used to tolerate and expect complexity. Working on Go the past 10 years has changed my perspective, though. I now value simplicity above almost all else and tolerate complexity only when it's well isolated, well documented, well tested, and necessary to make things simpler overall at other layers for most people."</p> <p>___<br>Brad Fitzpatrick (Go team member 2010-2020)</p> </td></tr></table> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> </div> </td></tr> </table> <img src="https://golangweekly.com/open/533/rss" width="1" height="1" /></description> <pubDate>Tue, 26 Nov 2024 00:00:00 +0000</pubDate> <guid>https://golangweekly.com/issues/533</guid> </item> <item> <title>A Go-powered MIDI sequencer</title> <link>https://golangweekly.com/issues/532</link> <description> <table border=0 cellpadding=0 cellspacing=0 align="center" border="0"> <tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <div> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr> <td align="left" style="padding-left: 4px; font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "><p>#532 — November 19, 2024</p></td> <td align="right" style="padding-right: 4px; font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "><p><a href="https://golangweekly.com/link/162400/rss" style=" color: #0099b4;">Unsub</a> | <a href="https://golangweekly.com/link/162401/rss" style=" color: #0099b4;">Web Version</a></p></td> </tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0; padding-right: 12px; padding-left: 12px;"><p>Go Weekly</p></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <a href="https://golangweekly.com/link/162403/rss" style=" color: #0099b4;"><img src="https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/nktoojmhmsuwkrlb1pdf.jpg" width="640" style=" line-height: 100%; "></a> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162403/rss" title="mailpit.axllent.org" style=" color: #0099b4; font-size: 1.1em; line-height: 1.4em;">Mailpit: Go-Powered Email and SMTP Testing Tool</a></span> — A small, fast, efficient and zero-dependency email testing tool and API for developers. It acts as an SMTP server to which mail can be sent and provides a Web interface to read the mails. And being written in Go, it can be compiled to a single binary and put on whichever server you like. <a href="https://golangweekly.com/link/162404/rss" style=" color: #0099b4; ">GitHub repo.</a></p> <p>Ralph Slooten </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162405/rss" title="blog.jetbrains.com" style=" color: #0099b4; font-size: 1.05em;">GoLand 2024.3 Released</a></span> — The popular (commercial) Go IDE gets its latest big update with multiline AI code completion, improved startup times for large projects, a way to look for cyclic imports, and a way to emulate a terminal in the output console.</p> <p>Ruslan Akhmetzianov (JetBrains) </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <a href="https://golangweekly.com/link/162402/rss" style=" color: #0099b4; "><img src="https://res.cloudinary.com/cpress/image/upload/c_limit,w_480,h_480,q_auto/copm/f9189b47.png" width="110" height="110" style="padding-top: 12px; padding-left: 12px; line-height: 100%; "></a> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162402/rss" title="blacksmith.sh" style=" color: #0099b4; font-size: 1.05em;">Run GitHub Actions Up to 2x Faster at Half the Cost</a></span> — Blacksmith runs your GitHub Actions substantially faster by running them on modern gaming CPUs. Integrating Blacksmith is a one-line code change. 100+ companies like Ashby, Superblocks, and Slope use Blacksmith to help developers merge code faster.</p> <p>Blacksmith <span style="text-transform: uppercase; margin-left: 4px; font-size: 0.9em; color: #885 !important; padding-top: 1px; padding-right: 4px; padding-left: 4px; ">sponsor</span></p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162406/rss" title="snyk.io" style=" color: #0099b4; font-size: 1.05em;">Understanding Command Injection Vulnerabilities in Go</a></span> — If you’re calling out to system utilities from your code, there are some basic yet essential precautions you can take to avoid security issues, because you certainly don’t want anyone being able to convince your server to run <code>rm</code> or worse..</p> <p>Liran Tal (Snyk) </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;">▶ <a href="https://golangweekly.com/link/162407/rss" title="www.youtube.com" style=" color: #0099b4; font-size: 1.05em;">Developing a Terminal App in Go with Bubble Tea</a></span> — A well produced 50-minute screencast walking through the creation of a practical note-taking command line tool using Go and Charm’s <a href="https://golangweekly.com/link/162408/rss" style=" color: #0099b4; ">Bubble Tea</a> and <a href="https://golangweekly.com/link/162409/rss" style=" color: #0099b4; ">Lip Gloss</a> for structure, views, and styling.</p> <p>Package Main </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><strong>IN BRIEF:</strong></p> <ul> <li> <p>🔥 <a href="https://golangweekly.com/link/162410/rss" style=" color: #0099b4; font-weight: 500 !important; ">Pyroscope's Go Playground</a> lets you run Go code and immediately see <a href="https://golangweekly.com/link/162411/rss" style=" color: #0099b4; font-weight: 500 !important; ">a flame graph</a> for it.</p> </li> <li> <p>🎧 On the latest episode of the <em>Go Time</em> podcast, <a href="https://golangweekly.com/link/162412/rss" style=" color: #0099b4; font-weight: 500 !important; ">Anchor's Wesley Beary spoke about the challenges that arose</a> when his team built a production-ready CLI tool in Go.</p> </li> <li> <p>🎤 Brian Kernighan, co-author of <em>The Go Programming Language</em>, <a href="https://golangweekly.com/link/162413/rss" style=" color: #0099b4; font-weight: 500 !important; ">▶️ went on a podcast to discuss his new book</a> <em>Unix: A History and a Memoir</em> and what it was like working at Bell Labs.</p> </li> <li> <p><a href="https://golangweekly.com/link/162414/rss" style=" color: #0099b4; font-weight: 500 !important; ">RIP to Thomas E. Kurtz,</a> the inventor of the BASIC programming language, who has died aged 96. While not a direct influence on Go, BASIC had a pivotal role in bringing programming to the masses.</p> </li> <li> <p>🤖 <a href="https://golangweekly.com/link/162415/rss" style=" color: #0099b4; font-weight: 500 !important; ">Ollama</a> is a popular Go app for running large language models locally. It's just had a major revamp with the addition of lots of Go-powered image processing routines <a href="https://golangweekly.com/link/162416/rss" style=" color: #0099b4; font-weight: 500 !important; ">to support Llama 3.2 Vision</a> for doing things like OCR and Q&amp;A against supplied images.</p> </li> </ul> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162417/rss" title="victoriametrics.com" style=" color: #0099b4; font-size: 1.05em;">Go sync.Once is Simple, But How Does It Work?</a></span> — <em>“The <code>sync.Once</code> is probably the easiest sync primitive to use, but there’s more under the hood than you might think..”</em></p> <p>Phuong Le </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162418/rss" title="abenezer.org" style=" color: #0099b4; font-size: 1.05em;">Encountering <em>Hyrum's Law</em> in Go</a></span> — When the author encountered an intriguing comment in Go’s codebase warning others to not change some text due to “Hyrum’s Law”, he <em>had</em> to find out what it was all about.</p> <p>Abenezer Belachew </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>📄 <a href="https://golangweekly.com/link/162419/rss" style=" color: #0099b4; font-weight: 500 !important;">Compiling a Go Program Into a Native Binary for <em>Nintendo Switch</em></a> – Not new, but somehow I missed it at the time, but it’s interesting to see the details. <cite>Hajime Hoshi (Ebitengine)</cite></p> <p>📄 <a href="https://golangweekly.com/link/162420/rss" style=" color: #0099b4; font-weight: 500 !important;">The Go Module Proxy and Forcing Go to Actually Update Module Versions</a> <cite>Chris Siebenmann</cite></p> <p>📄 <a href="https://golangweekly.com/link/162421/rss" style=" color: #0099b4; font-weight: 500 !important;">Migrating from Prisma to sqlc for Better Performance</a> <cite>Alexander Belanger</cite></p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0; padding-right: 0; padding-left: 0;"><p>🛠 Code &amp; Tools</p></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <a href="https://golangweekly.com/link/162422/rss" style=" color: #0099b4;"><img src="https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/wwtwadjyqrauezubsr5e.jpg" width="640" style=" line-height: 100%; "></a> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162422/rss" title="empr.cl" style=" color: #0099b4; font-size: 1.05em;">Signls: A Non-Linear, Generative MIDI Sequencer</a></span> — If you like noodling with music, you’ll enjoy this. It’s a Go-powered MIDI sequencer that runs in the terminal (cross-platform) and lets you create dynamic, generative music that evolves and changes over time. The author also created <a href="https://golangweekly.com/link/162423/rss" style=" color: #0099b4; ">Sektron</a>, a Go-powered MIDI step sequencer. <a href="https://golangweekly.com/link/162424/rss" style=" color: #0099b4; ">GitHub repo.</a></p> <p>emprcl </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162425/rss" title="workos.com" style=" color: #0099b4; font-size: 1.05em;">WorkOS: Sell to Enterprises with a Few Lines of Code</a></span> — The modern identity platform for B2B SaaS, offering flexible, easy-to-use APIs to integrate SSO, SCIM, and FGA in minutes instead of months.</p> <p>WorkOS <span style="text-transform: uppercase; margin-left: 4px; font-size: 0.9em; color: #885 !important; padding-top: 1px; padding-right: 4px; padding-left: 4px; ">sponsor</span></p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162426/rss" title="github.com" style=" color: #0099b4; font-size: 1.05em;">Act: Run Your GitHub Actions Locally</a></span> — Run <code>act</code> and it looks at your repo’s GitHub Actions, uses Docker to grab the necessary images, and runs the tasks locally.</p> <p>Nektos </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162427/rss" title="www.git-town.com" style=" color: #0099b4; font-size: 1.05em;">Git Town: Extra Commands for More Structured Git Usage</a></span> — Provides additional <code>git</code> commands to automate the creation, synchronization, shipping, and cleanup of branches. Compatible with popular workflows, mono-repos, and trunk-based development. <a href="https://golangweekly.com/link/162428/rss" style=" color: #0099b4; ">GitHub repo.</a></p> <p>Git Town Team </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162429/rss" title="github.com" style=" color: #0099b4; font-size: 1.05em;">gosax: Libary for XML SAX (Simple API for XML) Parsing</a></span> — A read-only XML parsing library focused on being ‘efficient and memory-conscious.’</p> <p>Nao Yonashiro </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <ul> <li> <p><a href="https://golangweekly.com/link/162430/rss" style=" color: #0099b4; font-weight: 500 !important; ">Go Blueprint 0.9</a> – Streamline the initialization of new Go projects.</p> </li> <li> <p><a href="https://golangweekly.com/link/162431/rss" style=" color: #0099b4; font-weight: 500 !important; ">Listmonk 4.1</a> – Self hosted email newsletter system (<a href="https://golangweekly.com/link/162432/rss" style=" color: #0099b4; font-weight: 500 !important; ">homepage</a>).</p> </li> <li> <p><a href="https://golangweekly.com/link/162433/rss" style=" color: #0099b4; font-weight: 500 !important; ">goshs 1.0</a> – Imagine Python's <code>SimpleHTTPServer</code> but in Go.</p> </li> <li> <p><a href="https://golangweekly.com/link/162434/rss" style=" color: #0099b4; font-weight: 500 !important; ">html-to-markdown 2.2</a> – Tool to convert HTML into clean Markdown.</p> </li> <li> <p><a href="https://golangweekly.com/link/162435/rss" style=" color: #0099b4; font-weight: 500 !important; ">validator 10.23</a> – Value validations for structs and fields based on tags.</p> </li> <li> <p>🖼️ <a href="https://golangweekly.com/link/162436/rss" style=" color: #0099b4; font-weight: 500 !important; ">avif 0.4.2</a> – AVIF image format encoder/decoder.</p> </li> <li> <p>🖼️ <a href="https://golangweekly.com/link/162437/rss" style=" color: #0099b4; font-weight: 500 !important; ">jpegli 0.3.3</a> – JPEG image format encoder/decoder.</p> </li> <li> <p><a href="https://golangweekly.com/link/162438/rss" style=" color: #0099b4; font-weight: 500 !important; ">Mockery 2.48</a> – Generate mocks for interfaces.</p> </li> </ul> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 0px; padding-left: 0px;"> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>📰 Classifieds</p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>🤖 Control RAG access with <a href="https://golangweekly.com/link/162439/rss" style=" color: #0099b4; font-weight: 500 !important;">SpiceDB's fine-grained permissions in Go and open source</a>.</p> <p><a href="https://golangweekly.com/link/162440/rss" style=" color: #0099b4; font-weight: 500 !important;">Hookdeck</a>: An alternative to Amazon API Gateway + Lambda + SQS. With local dev, debugging, and observability built-in.</p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> </div> </td></tr> </table> <img src="https://golangweekly.com/open/532/rss" width="1" height="1" /></description> <pubDate>Tue, 19 Nov 2024 00:00:00 +0000</pubDate> <guid>https://golangweekly.com/issues/532</guid> </item> <item> <title>A very demure, very mindful issue</title> <link>https://golangweekly.com/issues/531</link> <description> <table border=0 cellpadding=0 cellspacing=0 align="center" border="0"> <tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <div> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr> <td align="left" style="padding-left: 4px; font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "><p>#531 — November 12, 2024</p></td> <td align="right" style="padding-right: 4px; font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "><p><a href="https://golangweekly.com/link/162072/rss" style=" color: #0099b4;">Unsub</a> | <a href="https://golangweekly.com/link/162073/rss" style=" color: #0099b4;">Web Version</a></p></td> </tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0; padding-right: 12px; padding-left: 12px;"><p>Go Weekly</p></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <a href="https://golangweekly.com/link/162075/rss" style=" color: #0099b4;"><img src="https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/q39wwjnltirt5jecgfgo.jpg" width="640" style=" line-height: 100%; "></a> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162075/rss" title="go.dev" style=" color: #0099b4; font-size: 1.1em; line-height: 1.4em;">Happy Birthday, Go! Go Turns 15</a></span> — Grab a slice of cake, Go has celebrated its latest anniversary. Austin reflects on what Go’s latest year has brought to the language and what the ongoing priorities for the core team are.</p> <p>Austin Clements </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162076/rss" title="github.com" style=" color: #0099b4; font-size: 1.05em;">Proposal: Add Region-Based Memory Management to Go</a></span> — If you have a long <em>memory</em> you might recall an indefinitely stalled proposal for <a href="https://golangweekly.com/link/162077/rss" style=" color: #0099b4; ">adding memory arenas to Go.</a> This new proposal comes up with a differently scoped alternative, based around <em>regions</em>, and has attracted a lot of comments both in support of and against the idea.</p> <p>Michael Knyszek </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <a href="https://golangweekly.com/link/162074/rss" style=" color: #0099b4; "><img src="https://res.cloudinary.com/cpress/image/upload/c_limit,w_480,h_480,q_auto/copm/2d45ce7c.png" width="150" height="150" style="padding-top: 12px; padding-left: 12px; line-height: 100%; "></a> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162074/rss" title="frontendmasters.com" style=" color: #0099b4; font-size: 1.05em;">Polyglot Programming: TypeScript, Go, &amp; Rust</a></span> — A mind-bending tutorial journey about programming side-by-side in these three languages. This detailed video course shares how to get the most out of this multi-language approach, specifically by implementing a fully-unit tested CLI app and comparing the differences.</p> <p>Frontend Masters <span style="text-transform: uppercase; margin-left: 4px; font-size: 0.9em; color: #885 !important; padding-top: 1px; padding-right: 4px; padding-left: 4px; ">sponsor</span></p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><span>👀</span> <a href="https://golangweekly.com/link/162078/rss" title="github.com" style=" color: #0099b4; font-size: 1.05em;">wasmVision: A Way to Get <em>Go-</em>ing with Computer Vision</a></span> — Fresh from the genius behind <a href="https://golangweekly.com/link/162079/rss" style=" color: #0099b4; ">TinyGo</a> and <a href="https://golangweekly.com/link/162080/rss" style=" color: #0099b4; ">GoCV</a> comes a high-performance computer vision processing engine you can customize and extend with WebAssembly (which you can generate with TinyGo – or Rust or C, if you're so inclined).</p> <p>The Hybrid Group </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162081/rss" title="www.dolthub.com" style=" color: #0099b4; font-size: 1.05em;"><code>fmt.Sprintf</code> vs String Concat</a></span> — While code using <code>fmt.Sprintf</code> might look better-structured, simple string concatenation (+) proves to be somewhat faster. Why? Max digs into how <code>fmt.Sprintf</code> works under the hood.</p> <p>Max Hoffman </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><strong>IN BRIEF:</strong></p> <ul> <li> <p><a href="https://golangweekly.com/link/162082/rss" style=" color: #0099b4; font-weight: 500 !important; ">Go 1.23.3</a> has been released – a very minor bugfix release. Fingers crossed we also get the decidedly <em>euarithmous</em> Go <strong>1.23.4</strong> next.</p> </li> <li> <p>Matt Boyle has teamed up with JetBrains to offer a free, online <a href="https://golangweekly.com/link/162083/rss" style=" color: #0099b4; font-weight: 500 !important; "><em>Mastering Go with GoLand'</em> course.</a> If you complete it, you even get a year's license, apparently.</p> </li> <li> <p>A mere tidbit from Julia Evans but if you haven't tried Go's cross-compiling support you might realize <a href="https://golangweekly.com/link/162084/rss" style=" color: #0099b4; font-weight: 500 !important; ">just how easy it is.</a></p> </li> </ul> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162085/rss" title="victoriametrics.com" style=" color: #0099b4; font-size: 1.05em;">Go Runtime Finalizer and Keep Alive</a></span> — A look into Go’s <code>runtime.SetFinalizer</code> and <code>runtime.KeepAlive</code> APIs, two advanced features that have some interesting quirks and should be used cautiously. Finalizers are notoriously problematic (and may even <a href="https://golangweekly.com/link/162086/rss" style=" color: #0099b4; ">be deprecated</a> one day) while KeepAlive is easier to grok but will stop objects from being collected.</p> <p>Phuong Le (VictoriaMetrics) </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162087/rss" title="jitesh117.github.io" style=" color: #0099b4; font-size: 1.05em;">Creating a 'Brainrot' Language Server in Go</a></span> — So-called ‘brainrot’ is a mishmash of next generation slang and memes. Follow along with this tutorial as the rizzler Jitesh creates a bussin' basic LSP server – no cap. Perhaps you can put the lessons learnt to more productive use? 😅</p> <p>Jitesh Kumar Sahoo </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"><p>🤞 And let's hope that's the first and last time we use Gen Alpha slang here..</p></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162088/rss" title="eli.thegreenplace.net" style=" color: #0099b4; font-size: 1.05em;">Machine Learning in Go with a Python Sidecar</a></span> — While Python currently holds the ML crown when it comes to the diversity of projects and examples, Go is a great ‘glue’ language for working with ML and LLMs and tying things together, even if it involves talking to Python-based projects.</p> <p>Eli Bendersky </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0; padding-right: 0; padding-left: 0;"><p>🛠 Code &amp; Tools</p></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <a href="https://golangweekly.com/link/162089/rss" style=" color: #0099b4;"><img src="https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/i5oykh2plnkljq3azy0h.jpg" width="640" style=" line-height: 100%; "></a> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><span>🕒</span> <a href="https://golangweekly.com/link/162089/rss" title="github.com" style=" color: #0099b4; font-size: 1.05em;">When 1.1: Natural Language Date/Time Parser</a></span> — A very long standing, and useful, library. The idea is simple: given a string like <em>“tonight at 11:10 pm”</em> or <em>“next wednesday at 4:20 a.m”</em>, you get the date/time you expect. Has rules for English, Portuguese, Chinese, Russian, and Dutch out of the box.</p> <p>Oleg Lebedev </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162090/rss" title="html-to-markdown.com" style=" color: #0099b4; font-size: 1.05em;">html-to-markdown 2.1: Convert HTML to Markdown</a></span> — Actually parses HTML rather than just using regexes so can handle a lot of interesting edge cases. <a href="https://golangweekly.com/link/162091/rss" style=" color: #0099b4; ">v2 is a total rewrite</a> and boasts improved accuracy. It can be used both as a CLI tool or Go library. <a href="https://golangweekly.com/link/162092/rss" style=" color: #0099b4; ">GitHub repo.</a></p> <p>Johannes Kaufmann </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162093/rss" title="www.warpstream.com" style=" color: #0099b4; font-size: 1.05em;">Reduce Your Apache Kafka Costs by 80+%</a></span> — Kafka with no local disks or interzone fees, zero ops auto-scaling and in your cloud with no cross-account access.</p> <p>WarpStream <span style="text-transform: uppercase; margin-left: 4px; font-size: 0.9em; color: #885 !important; padding-top: 1px; padding-right: 4px; padding-left: 4px; ">sponsor</span></p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162094/rss" title="github.com" style=" color: #0099b4; font-size: 1.05em;">Yokai: A Modular, Observable Go Framework for Backend Apps</a></span> — A modular framework for production-grade Go backends that handles observability, configuration, and dependency wiring out of the box, meaning less infrastructure boilerplate for you to write.</p> <p>Ankorstore </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/162095/rss" title="miniflux.app" style=" color: #0099b4; font-size: 1.05em;">Miniflux 2.2.3: Minimalist and Opinionated Feed Reader</a></span> — So minimalist that no ORM or framework is used (just Postgres) and only the most essential JavaScript. <a href="https://golangweekly.com/link/162096/rss" style=" color: #0099b4; ">GitHub repo.</a></p> <p>Frédéric Guillot </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 0px; padding-left: 0px;"> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>📰 Classifieds</p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>10x cheaper (and faster!) GitHub Actions with <a href="https://golangweekly.com/link/162097/rss" style=" color: #0099b4; font-weight: 500 !important;">runs-on.com</a>. Easily self-hosted on AWS. Perfect alternative to ARC or home-made solutions.</p> <p>Legacy permissions systems can’t keep up with AI. <a href="https://golangweekly.com/link/162098/rss" style=" color: #0099b4; font-weight: 500 !important;">Meet SpiceDB</a>, the modern authorization system inspired by Zanzibar, in Go and Open Source.</p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <ul> <li> <p>🧋 <a href="https://golangweekly.com/link/162099/rss" style=" color: #0099b4; font-weight: 500 !important; ">Bubble Tea 1.2</a> – A popular Elm-inspired functional and stateful way to build terminal apps. Now with much faster rendering.</p> </li> <li> <p><a href="https://golangweekly.com/link/162100/rss" style=" color: #0099b4; font-weight: 500 !important; ">k6 0.55</a> – Modern Go + JavaScript-powered load testing tool. (<a href="https://golangweekly.com/link/162101/rss" style=" color: #0099b4; font-weight: 500 !important; ">Homepage.</a>)</p> </li> <li> <p><a href="https://golangweekly.com/link/162102/rss" style=" color: #0099b4; font-weight: 500 !important; ">Task 3.40</a> – Imagine if <code>make</code> were reimplemented in Go. (<a href="https://golangweekly.com/link/162103/rss" style=" color: #0099b4; font-weight: 500 !important; ">Homepage.</a>)</p> </li> <li> <p><a href="https://golangweekly.com/link/162104/rss" style=" color: #0099b4; font-weight: 500 !important; ">BadgerDB 4.4</a> – Embeddable, fast pure-Go key-value DB.</p> </li> <li> <p><a href="https://golangweekly.com/link/162105/rss" style=" color: #0099b4; font-weight: 500 !important; ">gRPC-Go 1.68</a> – Go implementation of gRPC for HTTP/2 based RPC.</p> </li> <li> <p><a href="https://golangweekly.com/link/162106/rss" style=" color: #0099b4; font-weight: 500 !important; ">errorx 1.2</a> – Comprehensive error handling library.</p> </li> </ul> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> </div> </td></tr> </table> <img src="https://golangweekly.com/open/531/rss" width="1" height="1" /></description> <pubDate>Tue, 12 Nov 2024 00:00:00 +0000</pubDate> <guid>https://golangweekly.com/issues/531</guid> </item> <item> <title>Tools for writing secure Go code</title> <link>https://golangweekly.com/issues/530</link> <description> <table border=0 cellpadding=0 cellspacing=0 align="center" border="0"> <tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <div> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr> <td align="left" style="padding-left: 4px; font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "><p>#530 — November 5, 2024</p></td> <td align="right" style="padding-right: 4px; font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "><p><a href="https://golangweekly.com/link/161809/rss" style=" color: #0099b4;">Unsub</a> | <a href="https://golangweekly.com/link/161810/rss" style=" color: #0099b4;">Web Version</a></p></td> </tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0; padding-right: 12px; padding-left: 12px;"><p>Go Weekly</p></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <a href="https://golangweekly.com/link/161812/rss" style=" color: #0099b4;"><img src="https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/z9w25ok6srswuynmlu2f.jpg" width="640" style=" line-height: 100%; "></a> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/161812/rss" title="jarosz.dev" style=" color: #0099b4; font-size: 1.1em; line-height: 1.4em;">Writing Secure Go Code</a></span> — A handy article rounding up a variety of resources and techniques to keep in mind in order to write more robust and secure Go apps, including staying up to date with your Go version, leaning on Go’s tools like <code>go vet</code>, and scanning your code for known vulnerabilities.</p> <p>Jakub Jarosz </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"><p>🗣️ This post also led to <a href="https://golangweekly.com/link/161813/rss" style=" color: #0099b4; font-weight: 600;">an extensive discussion on Hacker News.</a></p></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <a href="https://golangweekly.com/link/161811/rss" style=" color: #0099b4; "><img src="https://copm.s3.amazonaws.com/3261fd07.png" width="140" height="140" style="padding-top: 12px; padding-left: 12px; line-height: 100%; "></a> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/161811/rss" title="events.zoom.us" style=" color: #0099b4; font-size: 1.05em;">How to Compare Postgres EXPLAIN Plans &amp; Tune Slow Queries</a></span> — Are slow Postgres queries impacting your Go app performance? Join this webinar to learn how to diagnose and tune them effectively. We'll use pganalyze to walk through how to compare plans &amp; debug common scenarios like inefficient nested loops &amp; missing indexes.</p> <p>pganalyze <span style="text-transform: uppercase; margin-left: 4px; font-size: 0.9em; color: #885 !important; padding-top: 1px; padding-right: 4px; padding-left: 4px; ">sponsor</span></p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/161814/rss" title="medium.com" style=" color: #0099b4; font-size: 1.05em;">Checking the Top 10 Million Web Sites with Go</a></span> — Actually titled <em>‘27.6% of the Top 10 Million Sites are Dead’</em>, I felt this is really more a look into using Go to do basic scraping at scale. Redis was coupled with Go (along with a lot of hardware) to perform the task in just ten minutes (~17k requests per second). <a href="https://golangweekly.com/link/161815/rss" style=" color: #0099b4; ">The source</a> has been made public.</p> <p>Tony Wang </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/161816/rss" title="eli.thegreenplace.net" style=" color: #0099b4; font-size: 1.05em;">Ranging Over Functions in Go 1.23</a></span> — This post discusses several examples of using the new range-over functionality in 1.23, including simple linear iterators, recursive iterators, and a brief word on push vs pull iteration.</p> <p>Eli Bendersky </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <a href="https://golangweekly.com/link/161817/rss" style=" color: #0099b4;"><img src="https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/qe0rjp3l7zpkcp8a1prr.jpg" width="640" style=" line-height: 100%; "></a> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;">▶ <a href="https://golangweekly.com/link/161817/rss" title="www.youtube.com" style=" color: #0099b4; font-size: 1.05em;">The Business of Go</a></span> — I often skip high level talks to focus on technical ones, but <a href="https://golangweekly.com/link/161818/rss" style=" color: #0099b4; ">Matt Boyle encouraged me</a> to watch this, and it’s an interesting look at the processes of the Go team and how Go gets treated as a <em>product</em>, rather than just a language. Cameron demonstrates why Go continues to grow and thrive in a space where it’s easy for technologies to go stale.</p> <p>Cameron Balahan (Google) </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/161819/rss" title="blog.jetbrains.com" style=" color: #0099b4; font-size: 1.05em;">Creating a Full-Stack App with Go and React</a></span> — A look at bringing together the best of the front end and back end into a single app, a contrived ‘Go Eats’ food ordering service.</p> <p>Mukul Mantosh (JetBrains) </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/161820/rss" title="bitfieldconsulting.com" style=" color: #0099b4; font-size: 1.05em;">Constraints in Go</a></span> — John has finished his 4-part series on generics (which <a href="https://golangweekly.com/link/161821/rss" style=" color: #0099b4; ">started here</a>) with a look at placing constraints on types.</p> <p>John Arundel </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/161822/rss" title="rybicki.io" style=" color: #0099b4; font-size: 1.05em;">Building Thread-Safe Abstractions in Java vs Go</a></span> — A look at translating pieces of the <em>SimpleDB</em> implementation from Java into Go, and differences between the concurrency and synchronization primitives the languages provide.</p> <p>Chris Rybicki </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/161823/rss" title="dub.sh" style=" color: #0099b4; font-size: 1.05em;">The First Newsletter Dedicated to Product Engineers</a></span> — Learn the skills and strategies the new generation of product engineers need to succeed.</p> <p>PostHog <span style="text-transform: uppercase; margin-left: 4px; font-size: 0.9em; color: #885 !important; padding-top: 1px; padding-right: 4px; padding-left: 4px; ">sponsor</span></p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>📄 <a href="https://golangweekly.com/link/161824/rss" style=" color: #0099b4; font-weight: 500 !important;">Writing Integration Tests for a Go CLI App</a> – A look at Luca’s reasonably simple approach involving <code>make</code>, golden files and table driven tests. <cite>Luca Pette</cite></p> <p>📄 <a href="https://golangweekly.com/link/161825/rss" style=" color: #0099b4; font-weight: 500 !important;">How to Build Smaller Container Images: Docker Multi-Stage Builds</a> – Including <em>“How NOT to organize a Go application’s Dockerfile”.</em> <cite>Ivan Velichko</cite></p> <p>📄 <a href="https://golangweekly.com/link/161826/rss" style=" color: #0099b4; font-weight: 500 !important;">Why is Go's Compilation Speed So Fast?</a> <cite>Wild Thorn</cite></p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0; padding-right: 0; padding-left: 0;"><p>🛠 Code &amp; Tools</p></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "> <a href="https://golangweekly.com/link/161827/rss" style=" color: #0099b4;"><img src="https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/u9r3oiwlw4azixvsgnvs.jpg" width="640" style=" line-height: 100%; "></a> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/161827/rss" title="github.com" style=" color: #0099b4; font-size: 1.05em;">vgt: The 'Missing Tool' for Visualizing Go Tests?</a></span> — A browser-based tool for visualizing Go test results – described as being helpful for understanding the parallelism of tests along with identifying slow ones.</p> <p>Robert Laszczak </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/161828/rss" title="github.com" style=" color: #0099b4; font-size: 1.05em;">jsony: A 'Blazing Fast', Safe JSON Serialization Library</a></span> — Pure Go, reflection free, and faster than the stdlib approach, but you do have to lay everything out just right.</p> <p>Orsinium Labs </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/161829/rss" title="www.pgflo.io" style=" color: #0099b4; font-size: 1.05em;">pg_flo: Stream, Transform, and Route Postgres Data in Real-time</a></span> — Offers a set of filters and transformations that can make moving data between, say, production and staging databases simple using one of two modes: copy-and-stream or stream-only. Uses NATS and Postgres’s replication.</p> <p>Shayon Mukherjee </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><span style="font-weight: 600; font-size: 1.2em !important; color: #000;"><a href="https://golangweekly.com/link/161830/rss" title="github.com" style=" color: #0099b4; font-size: 1.05em;">Neotest: A Framework for Interacting with Tests from NeoVim</a></span> — If you’re a NeoVim user, this is for you. It’s written in Lua but <a href="https://golangweekly.com/link/161831/rss" style=" color: #0099b4; ">neotest-golang</a> extends it to support working with Go-based tests.</p> <p>Rónán Carrigan et al. </p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 0px; padding-left: 0px;"> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p>📰 Classifieds</p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <p><a href="https://golangweekly.com/link/161832/rss" style=" color: #0099b4; font-weight: 500 !important;">Open Source Authorization</a>: Zanzibar-inspired permissions, built for Go.</p> <p><a href="https://golangweekly.com/link/161833/rss" style=" color: #0099b4; font-weight: 500 !important;">How Google handles authorization at scale</a>. A technical comparison of Google's Relationship-based authz system and Oso's Authz as a Service.</p> <p>🪝<a href="https://golangweekly.com/link/161834/rss" style=" color: #0099b4; font-weight: 500 !important;">Hookdeck</a>: The Amazon EventBridge Alternative. Receive, authenticate, transform, filter, route, and send messages across your EDAs.</p> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style="font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; padding-top: 0px; padding-right: 15px; padding-left: 15px;"> <ul> <li> <p>☸︎ <a href="https://golangweekly.com/link/161835/rss" style=" color: #0099b4; font-weight: 500 !important; ">Watermill 1.4</a> – Library for building message/event-driven apps: <em>"Think of it like an HTTP router but for messages."</em></p> </li> <li> <p>💋 <a href="https://golangweekly.com/link/161836/rss" style=" color: #0099b4; font-weight: 500 !important; ">Charm Lip Gloss 1.0</a> – Style definitions for nice terminal layouts. An 'honorary' 1.0 release indicating the project is now stable.</p> </li> <li> <p>🤖 <a href="https://golangweekly.com/link/161837/rss" style=" color: #0099b4; font-weight: 500 !important; ">Gobot 2.4</a> – The robotics / drones / IoT framework. Now supporting newer versions of Go.</p> </li> <li> <p><a href="https://golangweekly.com/link/161838/rss" style=" color: #0099b4; font-weight: 500 !important; ">sqlrange 1.0</a> – Use Go 1.23's range functions with <code>database/sql</code>.</p> </li> <li> <p><a href="https://golangweekly.com/link/161839/rss" style=" color: #0099b4; font-weight: 500 !important; ">Slack Dumper 2.6</a> – Generate Slack exports without admin privileges.</p> </li> <li> <p><a href="https://golangweekly.com/link/161840/rss" style=" color: #0099b4; font-weight: 500 !important; ">Asynq 0.25</a> – Reliable, efficient Redis-backed distributed task queue.</p> </li> <li> <p><a href="https://golangweekly.com/link/161841/rss" style=" color: #0099b4; font-weight: 500 !important; ">fsnotify 1.8</a> – Cross-platform file system notifications in Go.</p> </li> <li> <p><a href="https://golangweekly.com/link/161842/rss" style=" color: #0099b4; font-weight: 500 !important; ">Ginkgo 2.21</a> – Mature testing framework.</p> </li> </ul> </td></tr></table> <table border=0 cellpadding=0 cellspacing=0 border=0 cellpadding=0 cellspacing=0><tr><td style=" font-family: -apple-system,BlinkMacSystemFont,Helvetica,sans-serif; font-size: 15px; line-height: 1.48em; "></td></tr></table> </div> </td></tr> </table> <img src="https://golangweekly.com/open/530/rss" width="1" height="1" /></description> <pubDate>Tue, 5 Nov 2024 00:00:00 +0000</pubDate> <guid>https://golangweekly.com/issues/530</guid> </item> </channel> </rss>