Masthash

#Go

Listening today to #TheCure while I do some #hacking o/ #HappyHacking #CTF #Rust #GO and checking my #usenet #newsgroups :crt_w_green_lines: :crt_w_prompt: :gnu:

Ben Vassie
4 hours ago

Can anyone recommend some booke for a complete beginner trying to learn Go? #go #golang

Dave Mackey
8 hours ago

(resolved)
I'm running into a problem working with a #UniFi #API SDK written in #Go. My experience with Go is minuscule and I suspect I'm making a fairly simple mistake - hoping someone with more experience can help me out. =)

I've cloned the repo github.com/paultyng/go-unifi

But attempting to run go install, go build, or similar results in the following error:

package github.com/paultyng/go-unifi: build constraints exclude all Go files in /home/<user>/go-unifi

#question #coding #code

1/2

Darq
1 day ago
So I experimented with #htmx and #go.
At first I used the Go html/template engine, which I didn't like and never did, so I didn't have fun. (Fucking samsung autocorrect).
Then I tried it with gin and pongo2.
Instead of extending templates, I included fragments, so I could render those fragments without rendering the whole inheritance.
Well, idk what to think, IMHO it's a lot more work than separate backend and frontend.

However if we could get a dedicated framework using htmx, this could change.
No support from #Jetbrains for those htmx attributes, which makes it a bit tedious.

With any new tech, I write a guestbook.
1st issue, separate state on client vs server.
I used the naturaltime filter to have a "time ago" feature.
But since the response is now, the timestamps of each returned post are now.
When I refresh, because I save the messages in memory, it's displayed correctly.

So this short experiment already shows some pit one can fall into.
Sal Rahman
1 day ago

Someone else did a full rewrite of their application from Go to Rust, and are seeing much fewer bugs.

Not a surprise since Rust does not have nullable values. #Rust #Go #GoLang #SoftwareDevelopment #SoftwareEngineering https://www.reddit.com/r/rust/comments/16v13l5/influxdb_officially_made_the_switch_from_go_rust/

We are migrating our stacks to Rust. Including progress from Golang to Rust. We are doing this incrementally on a per service basis. We see lower latency in Rust. And fewer errors/bugs. Often we find unintended nil pointer reference errors from our Golang. We have been diligent in our Golang codebases, yet still we see better results from our Rust deployments.
Wisesnail
1 day ago

I know I sound like a broken record, but that nose is PERFECT XD

#Aziraphale #MichaelSheen #Nose #Portrait #GoodOmens #GoodOmens2 #GO #GO2 #Wisesnail #SpeedPaint

Side portrait of Michael Sheen as Aziraphale. The brush strokes are quite rough and purposefully messy, without compromising the likeness of the portrait. Vertical lines and a white halo complete the painting.
amen zwa, esq.
2 days ago

#GoApp is a framework that enables implementing #PWA web apps in a single #programming language: #Go. It is clean, simple, and efficient. It is well documented.

https://go-app.dev/

John Bokma
2 days ago

Unusable feature, Data Archiving, and Initializing Large Static Maps

#python #git #go #movie #comedy

👉 Please retweet if you ❤ Plurrrr. Thanks! 👍

https://plurrrr.com/archive/2023/06/17.html

AlinskyDidNothingWrong
2 days ago

Anyone on this app play #go?

John Bokma
2 days ago

From Potter's Field: Good, git workflow, and Go container with Nix

#book #CrimeFiction #git #nix #go

👉 Please retweet if you ❤ Plurrrr. Thanks! 👍

https://plurrrr.com/archive/2023/07/01.html

Constantin Milos
3 days ago

GoCrack is a management frontend for password cracking tools written in #Go
https://github.com/mandiant/gocrack

Milos Constantin
3 days ago

GoCrack is a management frontend for password cracking tools written in #Go
https://github.com/mandiant/gocrack

Nodir 🇺🇦
3 days ago

I am learning #Rust (again) and semicolons are killing me. Was it really so hard to implement #Go's "implied semicolons"? https://go.dev/ref/spec#Semicolons

I read that a semicolon turns an expression into a statement. So we saved on "return" keyword at the cost of having semicolons in every other statement?

zimpenfish
3 days ago
Finally found a use for #Go Generics - wrapping a couple of methods in `go-mastodon` that have different return types in a retry loop (because my #gotosocial instance occasionally barfs on image uploads for no discernable reason but is fine if you retry almost immediately.)
lenny_
3 days ago

turns out it's as easy to embed files into your binary and serve them via http in #haskell as it's in in #go

```haskell
app :: Config -> Application
app config =
  serve (Proxy :: Proxy API) $
    serveDirectoryEmbedded $(embedDir "static")
      :<|> plantHandler
      :<|> convertApp config plants
```
Mahmud Ridwan
3 days ago

When Go was first released, a little over a decade ago, one of the key selling points mentioned then was fast build times. I think it is still very fast.

But I thought it was worth reminding myself that the fast build time is made possible by the cache that `go build` creates.

If you are building Go programs in Docker/CI/CD, ensure to retain the cache between builds.

https://hjr265.me/blog/go-tidbit-retain-cache-to-speed-up-go-builds-in-docker/

53 of #100DaysToOffload #Go #Golang #Docker

Tofu Musubi
3 days ago

Interesting that board games are being treated something like an olympic sport:

#Taiwan wins first-ever gold in #go at Asian Games”

https://www.taipeitimes.com/News/front/archives/2023/09/29/2003806940

Mahmud Ridwan
3 days ago

When Go was first released, a little over a decade ago, one of the key selling points mentioned then was fast build times. I think it is still very fast.

But I thought it was worth reminding myself that the fast build time is made possible by the cache that `go build` creates.

If you are building Go programs in Docker/CI/CD, ensure to retain the cache between builds.

https://hjr265.me/blog/go-tidbit-retain-cache-to-speed-up-go-builds-in-docker/

53 of #100DaysToOffload #Go #Golang #Docker

Mahmud Ridwan
3 days ago

When Go was first released, a little over a decade ago, one of the key selling points mentioned then was fast build times. I think it is still very fast.

But I thought it was worth reminding myself that the fast build time is made possible by the cache that `go build` creates.

If you are building Go programs in Docker/CI/CD, ensure to retain the cache between builds.

https://hjr265.me/blog/go-tidbit-retain-cache-to-speed-up-go-builds-in-docker/

53 of #100DaysToOffload #Go #Golang #Docker

Mahmud Ridwan
3 days ago

When Go was first released, a little over a decade ago, one of the key selling points mentioned then was fast build times. I think it is still very fast.

But I thought it was worth reminding myself that the fast build time is made possible by the cache that `go build` creates.

If you are building Go programs in Docker/CI/CD, make sure you are retaining the cache between builds.

https://hjr265.me/blog/go-tidbit-retain-cache-to-speed-up-go-builds-in-docker/

53 of #100DaysToOffload #Go #Golang #Docker

Elan Hasson
3 days ago

The #testing story in #go is super immature compared to #dotnet

#golang #SQA #SoftwareQuality #AutomatedTesting

Jonathan Hall
4 days ago

#Golang quiz, taken from my daily email (https://boldlygo.tech/daily):

What does the #Go following code output?

var hmm = [...]int{1, 2, 3, 12: 9, 8: 3}
fmt.Println(len(hmm))

Leonard Richardson
5 days ago

#GetFediHired

I’m a senior software engineer with 20+ years of experience, most recently leading digital book lending at the NY Public Library. I wrote & maintain the screen-scraping library Beautiful Soup, and co-wrote the book “RESTful Web APIs".

Open to remote contracting, consulting, full-time, or part-time gigs starting in December, programming in #Python, #Rust, or #Go.

Seeking a mission-oriented org, ideally involving publishing, freedom of access to information, or climate resilience.

Linuturk
5 days ago

Flashbacks to English class essays. Writing idiomatic #go code by telling a story. #GopherCon

Linuturk
5 days ago

#GopherCon is about to begin. #go #golang

John Bokma
6 days ago

How to Learn Nix, heredocs in Dockerfiles, and Go and PostgreSQL

#nix #docker #postgres #go

👉 Please retweet if you ❤ Plurrrr. Thanks! 👍

https://plurrrr.com/archive/2021/11/22.html

Linuturk
6 days ago

A little copying is better than a little dependency. #Go

Technotramp
6 days ago

The IPFS #network in #SanFrancisco #now has #great #RPlayer #connectivity! This is thanks to you who are using the #HTTP #gateway set up on the #technotramp.com domain. Thanks to #you, part of the #Web3 #global #repository with #data for RPlayer is also in this #destination. #Thank you very much for that! It's live in #IPFS, where it's of #interest. #Fragments of data #go where the #wheat #blooms, #split and #merge... It's #beautiful.

Listen.: https://technotramp.com

🖐️😶

#bjobsdyYUIEbidbnioENG

A painting in the style of Vincent van Gogh. The man on the left is sitting in a flowering meadow, playing an instrument resembling a guitar or lute, with a dog listening to him. High clouds float in the blue sky. There are also several mature trees.
CodePros
1 week ago

📢 Attention Dwellers of the Wasteland! We've unearthed a rare treasure from the pre-war image archives. Prepare your Go skills for a post-apocalyptic adventure like no other.

@neilprimmer

#GopherCon2023 #Golang #Go #ctf #CaptureTheFlag #Security #Fallout #wasteland

Sal Rahman
1 week ago

The Go JSON-LD library is somewhat buggy.

I'm SOL, I guess 🤷‍♂️.

At least the expansion algorithm works alright, but the compaction algorithm is somewhat broken.

#Go #GoLang #JSONLD

技術の手帖に記事を投稿いたしました。よろしければご一読ください。

Uber? Go? 夜の都内でオペレーションの仕組みをタクシードライバーに聞く。 https://techno-note.net/article/2023/09/26/1693 #タクシー, #Go, #Uber

GitHub
1 week ago
Sal Rahman
1 week ago

Question (regarding JSON-LD and Go): what are your thoughts on parsing/processing JSON-LD documents in Go?

Right now, the "best" JSON-LD library that I found online (github.com/piprate/json-gold) seems to behave significantly differently from the playground on the official JSON-LD website.

Am I even using JSON-LD correctly in Go?

#Go #GoLang #JSONLD

Go Meetup Prague
1 week ago

Go meetup 13 hosted by Heureka started with talk about Go profiling. #go #meetup

bundeskater
1 week ago

Schottisch vegane Küche. Grünkohl mit Linsen. Dazu Kartoffeln. Farbliches schön und geschmacklich toll.
#vegan #go vegan #veganfood @vegan #scottland

Teller mit Grünkohl und roten Linsen, darin stecken eine Schottische und eine Veganfahne. Tischdecke mit Papageintauchern. Buch: The scottish vegan cook book.
ItsNiceCraft
1 week ago

I have decided to start learning #go and I really like it so far. As a current Python dev it's really nice compiling code straight to binaries without needing to worrying about something like pyinstaller.

:mima_rule: Mima-sama
1 week ago

I have to say, I am not a big fan of how this #USENET RFD was conducted. As I'm writing this I have not seen any proof of the #Go language or #Golang projects being discussed in a newsgroup. It's either "I'm gonna read this newsgroup" or "I'm gonna post!" in the messages supporting this proponent in that RFD. I especially hate those who are writing the latter because I have not seen them post a Go article during the RFD. It's your chance to show that Golang deserves its own newsgroup, why do you have to screw it?!!! ​:parsee_angy:​

ahk in news.groups was right; in order for the creation of the newsgroup to be considered you should show that the topic is actually being talked about regularly on Usenet to warrant its own newsgroup. Others might even want you to show how the current existing newsgroups the topic is being discussed on is insufficient or causing conflicts with those newsgroups. But proof of the topic being regularly discussed in the first place is the BARE MINIMUM.

I have not seen a
single article about Golang in comp.lang.misc where the RFD was distributed. Nothing before the RFD was distributed, nothing during the RFD, and it will probably be nothing in both comp.lang.misc and the new comp.lang.go after the RFD is passed because the proponent couldn't be assed to actually talk about Go in Usenet without a dedicated newsgroup.

comp.lang.go turns out to be a failure? Too bad! Perhaps c.l.m is truly where it belongs for now.

If
#Big8 creates this comp.lang.go newsgroup, it's going to be yet another spit on decades of Usenet culture. But hey, I guess we have to appeal to the cool kids now how grew up on #Reddit and not on #netnews.

RE:
https://hispagatos.space/users/rek2/statuses/111103760273306805

Ale Funguju
1 week ago

How the hell do I get #go to just leave the go.mod file alone and install all the dependencies? Like, it seems you can just figure it out from what I already have, why make changes to my files? The thing needs to run on a wide range of different machines, are you gonna update the file differently on each one for each specific Go version? Package management was a mistake.

Jonathan Hall
1 week ago

Join me today for some live #Go coding! I'll be working on my open-source #CouchDB library, and/or answering questions from the audience, and going wherever the wind blows.

#golang #livestream #programming #livecoding #SoftwareDevelopment

https://youtube.com/live/vlcancBNVTw

Definitivamente: jugar a Go con música me funciona muy bien. En el torneo pensé en ponerme los cascos y no lo hice por si se veía raro o algo así. La próxima vez que vaya a uno (espero que haya una próxima vez XD) sí que lo haré. Me ayuda mucho a abstraerme y centrarme en lo que quiero, que es la partida. #go #igo #baduk #weiqi

Timothy Wolodzko
1 week ago

Those who play #go would understand.

The IQ distribution meme template. The dumbface has a very simple joseki diagram over his head. The average, crying guy has a very complicated joseki diagram (40 moves). The guru guy has the same very simple joseki as the dumbface.
Tyler Schmidtke
1 week ago

#introduction Moving here from mastodon_dot_social.

I'm a software engineering manager with a career focus on information security and endpoint management. I have a broad background spanning software development, infrastructure management, networking, and information security. I've been working on projects in #Rust outside my day job, but professionally I work mostly in #Go.

Outside of tech I enjoy music production, field recording, public transit, and the outdoors.

Open Source Issues
1 week ago

Want to try contributing to an #opensource project? coder is a #Go project that has open issues. Check out this issue on GitHub: https://github.com/coder/coder/issues/9749

lorddimwit
1 week ago

I should write a #TheoremProver in #Go.

For the record, I have no idea what I’m doing, how they work, or where to start, but I’ve got an idea that needs one as a component. That’s why I should write one.

#logic

Marcus Rohrmoser 🌻
1 week ago

🛠 schollz/croc: Easily and securely send things from one computer to another
https://github.com/schollz/croc
#Go
thanks https://news.ycombinator.com/item?id=37619151
see also https://github.com/psanford/wormhole-william
¹ https://mro.name/ad9ec8s

Wisesnail
1 week ago

Just a heads-up that after a disappointing experience with my calendars's provider, I worked hard to find a new one. The calendars' quality is even better now I think, but the pages are printed on both sides - this makes for lighter calendars though <;

Please note that The Sandman still has the old structure, while the others have the new one :)

After some feedback, I've also decided to change the layout so the image is bigger than before <:

#TheSandman #Lucifer #GO #TheUntamed #Hannibal 

Wisesnail
1 week ago

Something sweet for this sunny (then rainy then sunny again) Friday <:

I hope you like it! 💙

#Maggie #GoodOmens #GoodOmens2 #GO #GO2 #MaggieService #Portrait #Wisesnail

Headshot portrait of Maggie Service as Maggie from Good omens. She is smiling and looking straight at the viewer, with a white halo surrounding her head. The light blue background coplements the yello tones of her hair and cardigan.
Schachjugend NRW
2 weeks ago

Der #Go Verband ist übrigens auch auf der #Spiel23 - in Halle 3, gegenüber von uns. #Memory wird zudem als Deutsche Meisterschaft in der Galerie gespielt. #SchlaueSpiele #SchachRockt

#usenet the new #comp.lang.go #newsgroup for the #go or #golang language was submitted to the big-8 a couple of days a go for a last review and voting, this here is the original first proposal https://www.big-8.org/wiki/Nan:2023-07-04-rfd-comp.lang.go, but now we have moved forward, after these we are aiming to add #comp.lang.rust I code on both of them, and like them both for different aspects. So I am glad we're working on this the #comp.lang.c is a vibrant and super active community, so will be happy to have the other two.

getmisch
2 weeks ago

Enjoy the last week of Summer!
Fall Equinox is this Saturday -
#equal #parts #day & #night #fall #equinox #days #time #daytime #still #getting #shorter #final #week #go #get #some #summer

lorddimwit
2 weeks ago

Me writing #Go Me playing mini #golf
🤝
Slicing out of bounds

Bernhard E. Reiter
3 weeks ago

Being able to https://reuse.software easily is important, and headers for #FreeSoftware licences and the rights holders that can be parsed by code are helpful and more precise than doing it manually. However for #Go their package repository (https://pkg.go.dev/ ) is not yet REUSE compatible. That is a drawback for code repos that want to fully use REUSE. Help the #FSFE to improve the situation, https://lists.fsfe.org/pipermail/discussion/2023-July/013353.html (at least like the request). 👍 😀

Andrew Mark McCall
3 weeks ago

I'm a #javascript developer that does not use #typescript

I see some large projects are removing it (possibly due to compile times) but I never thought Javascript needed to be a typed language.

If I want types I will reach for rust, c, go, zig (a new one I have played with) or something else :-)

Should I invest time in typescript in 2023?

#webdev #programming #software #go #golang #rust #zig #c #java

Tobias Schmidl
4 weeks ago

Habe gerade die größe von verschiedenen #HelloWorld-Snippets verglichen.
* C++: 1,7 MiB (mit ` -O3 -s -static -static-libgcc -static-libstdc++`)
* Rust: 11 MiB. 🤯
[edit]
* Go: auch 1,7 MiB

#rust #cpp #go

Felicitas Pojtinger 🍂
4 weeks ago

Hey Fediverse! I just released #Multiplex, an app to watch torrents together. It provides an experience similar to Apple's SharePlay and Amazon's Prime Video Watch Party, except for any #torrent instead of a specific streaming service. Thanks to #WebRTC, it doesn't require a server to sync playback, and can use a gateway if a viewer can't use BitTorrent. It's written in #Go for #GNOME; check it out on GitHub (https://github.com/pojntfx/multiplex) or install it from Flathub: https://flathub.org/apps/com.pojtinger.felicitas.Multiplex ^^

Screenshot of Multiplex playing back a video for two users
Screenshot of Multiplex' start screen
Screenshot of Multiplex' media selection screen
Screenshot of Multiplex' playback start screen

This is awesome - the #Go 1.21 toolchain is now reproducible + verifiable (and a bunch of other build stuff got better in the process)

https://go.dev/blog/rebuild

Curtis "Ovid" Poe
1 month ago

Hey, #Perl peeps. Lots of languages, such as #go, #rust, and #node, have core tools to make it trivial to contribute open-source code.

I think Perl needs that, too. Here are my rough thoughts. https://gist.github.com/Ovid/05b69b8fa266e6d6b3600479871074b1

I would love to hear feedback.

Thang Do
1 month ago

Rate my technique
#go #baduk #badukshitposting

Wisesnail
1 month ago

I had so much fun painting this #portrait of #Nina! I hope you like how it turned out 💙

#NinaSosanya #GoodOmens #GoodOmens2 #GO #GO2 #NeilGaiman #Wisesnail

Portrait of Nina Sosanya as Nina. She is wearing a yellow carding, and she's looking over her shoulder to the viewer. The background is rendered mostly in green tones. A halo surrounds her head.
boxes and glue
1 month ago

The next releases of boxes and glue require go >= 1.21. After this, I try to be a bit more conservative and try to stay compatible to this version.

The reason is that boxes and glue requires the slog package, it is a structured logging package from the standard library. So even less external dependencies and more standardised behaviour.

#golang #go #boxesandglue

Wisesnail
1 month ago

Argh, he's so sweet!!! I can't, I really can't!

A smiling #Crowley to wish you all a great start of your week 💙

I hope you like it! <:

#AnthonyJCrowley #GoodOmens #GO #GoodOmens2 #GO2 #DavidTennant #Wisesnail #Portrait

Portrait of David Tennant as Crowley. He is dresses with a white tunic, like a canonical angel, and he's smiling showing his teeth.
Flous :gnome: :debian:
1 month ago

May she forever be remembered as the incredible person she was.
#krisnova #kubernetes #go #hachyderm #cloudnative #author #computerscience
https://krisnova.net/img/portrait.jpg

Stark
1 month ago

@danjac

Most implementations are in #Go, because a backend most probably shouldn't be written in #Python. Go just had better tools for it and is faster.

@Python #Python

Stark
1 month ago

@Floppy @vandam

So I looked into this. Allowing users to upload with #IPFS, a decentralized protocol replacement for #HTTP. Currently, I am benchmarking it by replacing my #Redis servers with it, just because I can for a few weeks.

#ActivityPub can be extended to allow for some extra allocated fields, and a fork of #Mastodon can be made.

Users will be able to upload their designs, and hosting would be decentealized and automatically spread around all users.

It is possible. I will look into a prototype, allowing users to use a bot or something like @3dprinting to share their prints before going for a fork of #Mastodon. Also need to investigate existing Activity Pub solutions and would possibly use something like #Go for the backend.

I'm still deciding on the front end.

@3dprinting #3dprinting

Konstantin 🏳️‍🌈
1 month ago

Does anyone have more details about the new linker in #Xcode 15 beta? It seems stuff has changed. There are new warnings and something about a search path making #Go and #Elixir builds with native components panic.

Screenshot from a terminal output of an error “ld: warning: search path '/usr/local/lib' not found”
Perma
1 month ago

My wife and I are excited about our upcoming move to Germany this October, where she'll be pursuing her master's degree.

I'm currently exploring opportunities as a Go or Rust backend developer.
If you happen to know of any positions available, whether remote or in the Bielefeld area, I'd really appreciate it if you could let me know.

Sharing my resume and discussing potential collaborations would be wonderful!

#germany #rust #golang #rustlang #go

Andrew Tropin
1 month ago

Found a nice talk on concurrency. It has a very brief comparison of different concurrency models, like Erlang's Actors, Hoare's CSP, Go's goroutines, Clojure's core.async, Concurrent ML (aka Fibers in Guile).

Primary focus on Concurrent ML (but examples are in Scheme with type annotations ><).

https://youtu.be/pf4VbP5q3P0

#go #golang #clojure #lisp #guile #scheme #ocaml #concurrency #erlang

zimpenfish
2 months ago
#Rust is infuriating when DB queries are async (thus requiring an `await`) but `main` can't be async and you can only `await` in an `async` function which means at some point you need a sync-async interface that as far as I can tell is either labelling the last async as `#[tokio::main]` which reduces it to a fake-sync function (but breaks in my code with the "runtime in runtime" panic) or you have to do some horrific faffing about with Tokio handles and executors and what nots.

What I wouldn't give for some of #Go's simplicity at this point.
Wisesnail
2 months ago

Time to update my #artbook game <;

Over the years, I have published 3 art books: #GO, #Hannibal and a one that includes works from #TheUntamed, #TGCF, #WOH and much more!

Links below 💙

- the #GoodOmens book is 76 pages and can be purchased here: https://peecho.com/checkout/157900319467340283/677401/to-the-world

- the #Hannibal art book is 152 pages, and it's available here: https://peecho.com/checkout/157900319467340283/701411/hannibal-regular

- the #HeartInParadise one is 110 pages, and can be found here:
REGULAR: https://www.peecho.com/checkout/157900319467340283/1296720/
VARIANT: https://www.peecho.com/checkout/157900319467340283/1296716/

Elan Hasson
2 months ago

Best practices on developing monolithic services in Go - DEV Community https://dev.to/kevwan/best-practices-on-developing-monolithic-services-in-go-3c95

#golang #go

Matthew Ford :bitzesty:
2 months ago

I made a simple CLI app in #go - my first time using #golang and it was pretty good

not bad andre braugher GIF by Brooklyn Nine-Nine

for those who write a lot of #go. For reading a set of rules when a tool runs - which would be better? yaml, or sqlite (performance)?

Even considering performance - I am still leaning to yaml for ease of entry.