My tiny #GoLang database migration tool continues to serve me well on its fifth year. Does what it's supposed to, ultra simple, works with #Postgres, #MySQL, and #SQLite, common usage is a one-liner! :D https://github.com/maragudk/migrate

My tiny #GoLang database migration tool continues to serve me well on its fifth year. Does what it's supposed to, ultra simple, works with #Postgres, #MySQL, and #SQLite, common usage is a one-liner! :D https://github.com/maragudk/migrate
Recently decided to give #golang another flex, and at the same time do something worthwhile: Help out with fixing stuff for @codeberg
Found a nice little issue to cut my teeth on.
I keep seeing #job descriptions asking for experience in “modern #programming languages” and then listing #Python (1991), #Java (1995), JavaScript (1995), #GoLang (2009), and/or #Rust (2012) in the same breath. That's a hell of a spread for modernity!
Unless, of course, they mean “used by ‘modern’ #developers,” in which case, cue the music!
(to the tune of “I Am the Very Model of a Modern Major-General” from Gilbert and Sullivan’s “The Pirates of Penzance”) (1/7)
You are a #golang programmer OR kube/etcd #contributor OR experienced #etcd user OR experienced #documentation writer? etcd is looking for #mentees - If you are interested to become a contributor or even maintainer - join here https://docs.google.com/forms/d/e/1FAIpQLSdun9AsgBM-srIz_H_3mu25mV50xx3_Vj-QAR_OG_YpW6HXXw/viewform
Random though: #GoLang allows any letter in identifiers, so you can have a variable called 品
(yes, ideographs are letters), but you can't have a CJK exported identifier, because the first letter of those has to be an uppercase letter, and those only exist for alphabets… weird asymmetry
I am still prepping the #EliteDangerous Mamba model for display, but for the meantime I had another idea.
Levitated #golang gopher! :D
New blog post: Addressing CGO pains, one at a time: https://gaultier.github.io/blog/addressing_cgo_pains_one_at_a_time.html
#golang #programming
I couldn't agree more with Johnny's unpopular opinion about Makefiles… #Podcasts #GoLang https://podcasts.apple.com/es/podcast/fallthrough/id1783181295?i=1000690826682
First signs of cross compiling Go code to Haxe.
Very exciting.
#BoltDB is a Go rewrite of #LMDB (mostly; it has a lot more limitations). It's no longer maintained. Since 2021 some forks had a backdoor giving remote command access to machines.
https://snyk.io/blog/go-malicious-package-alert/
All of this is inconceivable for LMDB, since it has no other dependencies. Also, the thought of an embedded DB engine having access to any networking APIs at all is just mindboggling.
The Go build system, and its automatic pulling of dependencies from github, is ludicrous.
It's easier to write code in ES6 (modern JavaScript) than in Go.
Yet I will not be writing any more ES6 when I have a choice, and will be writing Go instead.
Why? Because the cost of maintaining software soon outgrows the cost of having written it, and maintaining ES6 in the NPM infrastructure is intolerable.
I'd rather take the up-front hit to write code that's going to keep working next week, next year and next decade.
Yeeeeees, a proposal to make nil slices convert to empty arrays instead of null in JSON marshaling in #GoLang! https://github.com/golang/go/issues/71497
I have created in #GoLang a command line utility that does something very simple: it succeeds sometimes, and fails sometimes. Randomly! You can give it the chance! #maybe #programming
https://github.com/pymander/maybe
Is there a good, modern instance out there of a tutorial/project with shared Protobuf types being integrated into a Go project that depends on those types?
e.g. I have a Go repo github.com/organization/application1, which depends on types from github.com/organization/protos. Assume I may also have a Python repo github.com/organization/application2, which also depends on the protos.
Full soup to nuts. None of this handwaving through the important parts, which is pervasive in virtually every StackOverflow link that shows up when searching for related details. It should include explanations for where and how code gets generated.
It’s astonishing (not in the good way) that this is not documented anywhere on protobuf.dev.
Go 1.24 released by @golang - full support for generic type aliases, performance & toolchain improvements, standard library adds FIPS 140-3 compliance, os.Root & runtime.AddCleanup . https://go.dev/blog/go1.24 #Golang #OpenSource #software #engineering #tech
Go 1.24.0 is released!
Release notes: https://go.dev/doc/go1.24
Download: https://go.dev/dl/#go1.24.0
I built a Go package for redacting sensitive data in log/slog records. Have a look: https://alesr.github.io/posts/redact/ #golang #go