Love NHL · @lovenhl
34 followers · 6165 posts · Server channels.im
Sal Rahman · @manlycoffee
126 followers · 1993 posts · Server techhub.social

I think I found a solution for how to bring the benefits of algebraic types from other languages into Go.

I might write an article on it.

#golang #go

Last updated 1 year ago

In [[Flancia]] we'll meet · @flancian
661 followers · 15414 posts · Server social.coop

[[markdown to google slides]] ~ [[md2googleslides]]

github.com/googleworkspace/md2

#go

Last updated 1 year ago

Patrice Ferlet aka MΣƬΛᄂ3D · @metal3d
252 followers · 3121 posts · Server techlover.eu

It's a simple app, but that makes the job. Built with with

flathub.org/fr/apps/org.metal3

#go #Fyne

Last updated 1 year ago

PSiReN-X · @PSiReN
27 followers · 2430 posts · Server syzito.xyz
gurix · @gurix
19 followers · 188 posts · Server swiss.social

I did a small test to see if can write me a small application in . And it worked almost out of the box. Today I uploaded the source and asked to rewrite the application in . I only needed to fix a small glitch accessing the database collection. github.com/gurix/rest_sync_go

#chatgpt #go #ruby

Last updated 1 year ago

Amans · @amans
208 followers · 817 posts · Server piaille.fr

@scudery @GeorgiaSoupault personne dit le contraire

En ruralité ça joue autrement sur le transport par contre etc. On n'a pas d'bus nous (ou à + de 7km 😄). Fatigant aussi, mais des fois fatigue plus saine 🥴😇.
Y'a d'la place einh, enfin à condition de pas avoir peur de construire illégalement ou de retaper de l'ancien genre dès le gros œuvre (et de manquer de connexion pour les réseaus virtuels 😉)

Là ça commence à être serré le timing par contre pour cet hiver

#go #squattrural

Last updated 1 year ago

🐧MEU REFÚGIO NERD🍥 · @MeuRefugioNerd
943 followers · 12430 posts · Server mastodon.com.br
r_ivorra · @r_ivorra
5 followers · 81 posts · Server hachyderm.io

An interesting paper comparing the performance of against , and . The results show a similar performance as Go, but slower than C. All of them are, as expected, way faster than Ruby (which is the only interpreted language on the comparison).
digitalcollection.zhaw.ch/bits

#crystal #c #go #ruby

Last updated 1 year ago

Jochie 🚧 · @jochie
90 followers · 1575 posts · Server strangeweb.page

I mostly share results of these kinds of word/number/brain games in a private Discord channel or a work Slack channel (originally started to share games), but a streak of 50 seems an appropriate landmark to share it here as well?

My morning routine includes , , , , , some , & and games. Something may have to be dropped, soon…

1/5

🟩🟩🟩🟩🟩
🟩⬜🟩⬜🟩
🟩🟩⭐🟩🟩
🟩⬜🟩⬜🟩
🟩🟩🟩🟩🟩

🔥 streak: 50
🥇
wafflegame.net

#wordle #connections #waffle #crosswordle #metazooa #sudoku #wordfeud #go #waffle593 #wafflegoldteam

Last updated 1 year ago

Curtis "Ovid" Poe · @ovid
944 followers · 2390 posts · Server fosstodon.org

fans, in the Gopher book (go.dev/doc/tutorial/call-modul), section 5.2, we're supposed to run `go mod tidy` and a require directive is added to go.mod.

When I run `go mod tidy`, I get no output and nothing is changed. How do I debug this? I've searched and failed (the previous `go mod --replace ...` command was successful)

go version go1.21.0 darwin/arm64

#golang #go

Last updated 1 year ago

cargo new nicfitzgerald · @nicfitzgerald
26 followers · 191 posts · Server hachyderm.io

I think I'm going to, once and for all, forgo using for a while. I enjoy it (decently enough) but I just get really stressed thinking about using it. I'll just restructure my current utility and use that instead (using ). It basically feels like a scripting language that you can compile.

#rust #go

Last updated 1 year ago

Matthew Booth · @mattb
288 followers · 2990 posts · Server hachyderm.io

Generics in are so nearly useful.

I was hit on Friday by the lack of a `self` type. I'm hit today by: I want to assert: [*T metav1.Object], i.e. T is a concrete type, and *T implements the metav1.Object interface. I've done everything I can think of short of connecting a fuzzer to the compiler, and I can't find a way to express this.

#go

Last updated 1 year ago

Love NHL · @lovenhl
34 followers · 5648 posts · Server channels.im
Sal Rahman · @manlycoffee
127 followers · 1879 posts · Server techhub.social

I was experimenting with a concurrent data structure called the "bounded variable", in Go.

Think of it no different than a Golang channel with a capacity of just 1.

I was curious as to how a "bounded variable" performs compared to a channel.

It performs worse by a factor of 2.

Thought I'd share my result, so that you don't bother with using a "bounded variable" gist.github.com/shovon/1484e82

#golang #go #programming

Last updated 1 year ago

farcaller · @farcaller
115 followers · 1398 posts · Server hdev.im

2/3 I had a recent look at and I don't remember half of what makes it work. Is it an extremely compact and efficient VM manager? Yes. Does anyone care about it being such? Not at all. Even the concept of embedding cloud-hypervisor into the single binary failed, because it's more hassle than it's worth.

So what do I write for fun? for binaries, for exploratory coding. Go's easy to get up and running and has fast build times. Python comes with ipynb and polars.

#tinyvmm #go #python

Last updated 1 year ago

Follow GOLF · @fogolf
9 followers · 1344 posts · Server vive.im
Charles Corbett · @chas
30 followers · 275 posts · Server tty0.social

Well I have the start of a text alignment engine implemented for Text elements.

I arrived at the conclusion naturally that the easiest path was to always start by doing a Left justification, then flip the whitespace for Right justification, or normalize whitespace across the rune array for full. I still have to do center which is going to be interesting.

#tooey #terminalui #tui #golang #tcell #termui #flex #cli #linux #alacritty #development #go

Last updated 1 year ago

Jack Graham · @jack
316 followers · 325 posts · Server xeno.glyphpress.com

CHESS: This is the games of kings and strategists!
GO: Aw, that's cute.

#go

Last updated 1 year ago

Architecture News · @architecture
615 followers · 1550 posts · Server masto.ai