mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#golang

25 posts23 participants0 posts today
Golang News and Libraries<p>Nice article: 20 Go Performance Tricks I Learned the Hard Way<br><a href="https://mastodon.social/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a></p><p><a href="https://medium.com/@leapcell/20-go-performance-tricks-i-learned-the-hard-way-3e879ff40dc2" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">medium.com/@leapcell/20-go-per</span><span class="invisible">formance-tricks-i-learned-the-hard-way-3e879ff40dc2</span></a></p>
Sandip Bhattacharya ☮️<p>I was thinking of writing a <a href="https://mastodon.social/tags/discord" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>discord</span></a> chatbot and discovered <a href="https://mastodon.social/tags/errbot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>errbot</span></a> which handles a lot of the heavylifting. However, with so much developers focusing on AI chat, I wonder if this project is still active and widely used.</p><p>Also, is there a <a href="https://mastodon.social/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a> equivalent?</p>
deadprogram<p>Just booked my plane tickets to Gophercon see you all in New York!</p><p><a href="https://gophercon.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">gophercon.com/</span><span class="invisible"></span></a></p><p><a href="https://social.tinygo.org/tags/gophercon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gophercon</span></a> <a href="https://social.tinygo.org/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a></p><p><a href="https://www.youtube.com/watch?v=N3IV_klDh-0" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">youtube.com/watch?v=N3IV_klDh-0</span><span class="invisible"></span></a></p>
Andrea Grandi 🦕<p>I just released Log Basset, a cli tool to inspect Scalyr logs, written in Go (and inspired to their scalyr-tool) <a href="https://github.com/andreagrandi/logbasset" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/andreagrandi/logbas</span><span class="invisible">set</span></a></p><p><a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/logs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>logs</span></a> <a href="https://mastodon.social/tags/scalyr" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>scalyr</span></a> <a href="https://mastodon.social/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a></p>

I love Jetbrains’s IDEs. But I like the idea of having a personal software stack that’s different to my work stack, so I can test IDE’s on personal projects!

I’m currently trying to be friends with VS Code on my personal laptop.

Anyone else like to keep work tech profiles separate from? 👀

This is another prototype where I'm putting together some of the earliest optimised canvas drawing I had written for the first Deluxe Draw version (last month), I replaced the bespoke hardcoded GUI elements with Deluxe UI widgets (newly written, in the last couple of weeks), and re-implemented parts of (last week's) ZX Draw code example I had written for Deluxe UI.

In theory, if this experiment succeeds, I should be able to deliver a Deluxe Draw that is able to work with both, modern layered pixmap painting, and with old ZX Spectrum mode painting. And with Deluxe UI running unmodified on Mac, Linux, and Windows!

So far, so good!

Wanted to try out GoToSocial. Can't even deploy it using Docker because of: error creating instance account: sqlite3: SQL logic error: table accounts has no column named memorialized_at

😞

I'm really not in the mood to troubleshoot it or fix the bug 🐛

@dolanor Apart from time.Parse() and time.Format() (both of which I mostly avoid) I must admit I've never come across much US-centricity and generally found the time package pretty solid.

As an alternative to time.Parse() I use regexp as the failure mode of time.Parse() is inscrutable.

Continued thread

I think I won't accept any people whining over Go time API anymore.
I'll just link them to that.

(and I'm personally pissed about Go time API because of the ass-backward US style order of day/month. Otherwise, I like the idea)

Replied to Kevin McDonald

@sudorandom It's all very well that Errgroup constrains concurrency, but it leaves you with the problem of what to do if TryGo() returns false.

This seems like a nasty edge-case where you have to resort to your own queuing or pooling or mutex management. This seems like its the raison d'état of Errgroup yet it punts the problem back to you at the most crucial of times.

I'm not a big fan of punting edge cases back to the consumer as that's worse complexity for them than exposing concurrency for them to deal with as a matter of course.

I agree that carrying around a context is pretty useful.

I really want an errgroup implementation that can run all "jobs" to completion and will return all errors as a multierror.

I was about to complain about errgroup not being in the standard library, but I feel like it needs one more feature before being "ready"

My golang knowledge is pretty basic. I had to do some updates to a product at work, and it was pretty easy and straight forward. Actually quite fun. Just to learn more golang, I started working on a cli-tool for my Niri setup, and it's actually pretty usable already.
I just want to polish it and clean up the code a bit more before publishing it. Also, since I'm not that good at the language yet, I'm totally not sure if I even do things correctly or the 'golang' way.

Any tips on which pre-commit hooks people usually use? I found one repo that has pretty much everything, but I always welcome alternatives.
I was also thinking about go-semantic-release to handle the package releases.

I know, this is probably quite overkill for a simple project, but hey, I like to learn and do things correctly!

#golang#go#niri

What if you could build your own multiplayer virtual world? 🤔

GoMud is a free, open-source engine for making text-based online games using the Go programming language.

I talked with the creator, Volte6, about the project & how it works. He shared a playtest where things went hilariously wrong (in the best way):

writing-games.com/gomud-a-ligh

Writing Games · GoMud: a lightweight engine for building text-based worlds - Writing GamesVolte6, creator of GoMud, talks about the new engine, what it's like to make a project open-source, and lessons learned along the way.