#golang — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #golang, aggregated by home.social.
-
Падающая сборка, и это я её просил
Три способа тихо сломать приложение сборкой зависимостей: два пула к базе, не тот кэш, разъехавшиеся ветки конфигурации. Компилятор их не ловит — типы верные. Рантайм-контейнеры ловят половину и приносят свои отказы. Про diogen — compile-time DI для Go: внедрение зависимостей на этапе компиляции, обычный Go-код на выходе, без рантайм-контейнера и без рефлексии.
https://habr.com/ru/articles/1082060/
#dependency_injection #внедрение_зависимостей #di #go #golang #кодогенерация #wire #fx #diogen #gorib
-
Валидатор не нашёл поле is_admin, а Go его нашёл: пять ошибок при работе с JSON
Один и тот же JSON может привести систему к разным выводам. Валидатор пропустит поле, которое Go‑сервис спокойно прочитает, nil ‑слайс превратится в неожиданный для клиента null , а ошибка в имени параметра останется незамеченной до самого продакшена. Разбираем пять случаев, где поведение encoding/json в Go способно создать расхождение между компонентами системы, и смотрим, что меняет переход на encoding/json/v2 . Узнать детали
https://habr.com/ru/companies/otus/articles/1076496/
#Go #Golang #JSON #API #backend #микросервисы #валидация_данных #сериализация #безопасность_приложений #разработка_ПО
-
NginXplorer: Because Spinning Up a 2GB Grafana Stack Just to Watch Nginx Logs is Madness
It usually starts with an innocent thought on a Friday evening.You’re logged into a lo
https://schulz.dk/2026/09/14/nginxplorer-because-spinning-up-a-2gb-grafana-stack-just-to-watch-nginx-logs-is-madness/?utm_campaign=blogpost&utm_medium=twitter&utm_source=twitter
#bubbletea #golang #linux #nginx -
NginXplorer: Because Spinning Up a 2GB Grafana Stack Just to Watch Nginx Logs is Madness
It usually starts with an innocent thought on a Friday evening. You’re logged into a low-powered VPS or your homelab machine, and you notice your blog is feeling a bit sluggish. Or maybe you noticed a suspicious spike in inbound network bandwidth and you just want to know: Who is hammering my web server right now, what URLs are they hitting, and how badly is my upstream PHP-FPM or reverse proxy sweating? Naturally, you look at your options in 2026: The “Modern Cloud-Native” […] -
Thank you very much to #cupOGo for having me as a guest last Friday to talk about @TinyGo
Check it out here:
https://cupogo.dev/episodes/a-big-episode-about-tiny-things -
Most guides I found on Go backend services cover the code inside the service, with little on the production problems around it: configuration, lifecycle, observability, packaging, deployment.
My new guide, Building a Production REST API in Go, covers all of these alongside a working example service: https://tecnick.com/guides/go-rest-api/
#golang #restapi #backend #softwareengineering -
I won't stop glazing my plan prompt for #AI.
https://levelup.gitconnected.com/ai-planning-the-correct-way-55b1923f6906
Without it, AI Agents just shove anything and get things right but with collateral. With the plan, it stays on its lane.
#Programming #Coding #Code #VibeCoding #VibeCode #PHP #Laravel #Python #Golang #Rust #JavaScript #TypeScript #JS #HTML #CSS #CPP #SoftwareDevelopment #WebDevelopment #WebDev
-
I won't stop glazing my plan prompt for #AI.
https://levelup.gitconnected.com/ai-planning-the-correct-way-55b1923f6906
Without it, AI Agents just shove anything and get things right but with collateral. With the plan, it stays on its lane.
#Programming #Coding #Code #VibeCoding #VibeCode #PHP #Laravel #Python #Golang #Rust #JavaScript #TypeScript #JS #HTML #CSS #CPP #SoftwareDevelopment #WebDevelopment #WebDev
-
I won't stop glazing my plan prompt for #AI.
https://levelup.gitconnected.com/ai-planning-the-correct-way-55b1923f6906
Without it, AI Agents just shove anything and get things right but with collateral. With the plan, it stays on its lane.
#Programming #Coding #Code #VibeCoding #VibeCode #PHP #Laravel #Python #Golang #Rust #JavaScript #TypeScript #JS #HTML #CSS #CPP #SoftwareDevelopment #WebDevelopment #WebDev
-
I won't stop glazing my plan prompt for #AI.
https://levelup.gitconnected.com/ai-planning-the-correct-way-55b1923f6906
Without it, AI Agents just shove anything and get things right but with collateral. With the plan, it stays on its lane.
#Programming #Coding #Code #VibeCoding #VibeCode #PHP #Laravel #Python #Golang #Rust #JavaScript #TypeScript #JS #HTML #CSS #CPP #SoftwareDevelopment #WebDevelopment #WebDev
-
I won't stop glazing my plan prompt for #AI.
https://levelup.gitconnected.com/ai-planning-the-correct-way-55b1923f6906
Without it, AI Agents just shove anything and get things right but with collateral. With the plan, it stays on its lane.
#Programming #Coding #Code #VibeCoding #VibeCode #PHP #Laravel #Python #Golang #Rust #JavaScript #TypeScript #JS #HTML #CSS #CPP #SoftwareDevelopment #WebDevelopment #WebDev
-
Hey #golang folks, I have a service listening on some port (say 4321) and the #systemd service file has
```
SocketBindAllow=tcp:4321
SocketBindDeny=any
```When my service makes an _outgoing_ connection by calling
```
var dialer net.Dialer
dialer.DialContext(ctx, "tcp", "somehost.example.com:5678")
```
the service gets a permission error for violating the SocketBind* systemd restrictions.But only when using the cgo resolver. Setting `GODEBUG=netdns=go` fixes the error. So what is the cgo resolver doing that requires binding a socket?
-
Hey #golang folks, I have a service listening on some port (say 4321) and the #systemd service file has
```
SocketBindAllow=tcp:4321
SocketBindDeny=any
```When my service makes an _outgoing_ connection by calling
```
var dialer net.Dialer
dialer.DialContext(ctx, "tcp", "somehost.example.com:5678")
```
the service gets a permission error for violating the SocketBind* systemd restrictions.But only when using the cgo resolver. Setting `GODEBUG=netdns=go` fixes the error. So what is the cgo resolver doing that requires binding a socket?
-
Hey #golang folks, I have a service listening on some port (say 4321) and the #systemd service file has
```
SocketBindAllow=tcp:4321
SocketBindDeny=any
```When my service makes an _outgoing_ connection by calling
```
var dialer net.Dialer
dialer.DialContext(ctx, "tcp", "somehost.example.com:5678")
```
the service gets a permission error for violating the SocketBind* systemd restrictions.But only when using the cgo resolver. Setting `GODEBUG=netdns=go` fixes the error. So what is the cgo resolver doing that requires binding a socket?
-
Hey #golang folks, I have a service listening on some port (say 4321) and the #systemd service file has
```
SocketBindAllow=tcp:4321
SocketBindDeny=any
```When my service makes an _outgoing_ connection by calling
```
var dialer net.Dialer
dialer.DialContext(ctx, "tcp", "somehost.example.com:5678")
```
the service gets a permission error for violating the SocketBind* systemd restrictions.But only when using the cgo resolver. Setting `GODEBUG=netdns=go` fixes the error. So what is the cgo resolver doing that requires binding a socket?
-
Hey #golang folks, I have a service listening on some port (say 4321) and the #systemd service file has
```
SocketBindAllow=tcp:4321
SocketBindDeny=any
```When my service makes an _outgoing_ connection by calling
```
var dialer net.Dialer
dialer.DialContext(ctx, "tcp", "somehost.example.com:5678")
```
the service gets a permission error for violating the SocketBind* systemd restrictions.But only when using the cgo resolver. Setting `GODEBUG=netdns=go` fixes the error. So what is the cgo resolver doing that requires binding a socket?
-
Databricks is hiring Staff Software Engineer - AI Research Infrastructure
🔧 #cplusplus #golang #java #rust #scala #kubernetes
🌎 New York City, New York; San Francisco, California
⏰ Full-time
🏢 DatabricksJob details https://jobsfordevelopers.com/jobs/staff-software-engineer-ai-research-infrastructure-at-databricks-com-may-15-2026-b96102?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Databricks is hiring Staff Software Engineer - AI Research Infrastructure
🔧 #cplusplus #golang #java #rust #scala #kubernetes
🌎 New York City, New York; San Francisco, California
⏰ Full-time
🏢 DatabricksJob details https://jobsfordevelopers.com/jobs/staff-software-engineer-ai-research-infrastructure-at-databricks-com-may-15-2026-b96102?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Databricks is hiring Staff Software Engineer - AI Research Infrastructure
🔧 #cplusplus #golang #java #rust #scala #kubernetes
🌎 New York City, New York; San Francisco, California
⏰ Full-time
🏢 DatabricksJob details https://jobsfordevelopers.com/jobs/staff-software-engineer-ai-research-infrastructure-at-databricks-com-may-15-2026-b96102?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Databricks is hiring Staff Software Engineer - AI Research Infrastructure
🔧 #cplusplus #golang #java #rust #scala #kubernetes
🌎 New York City, New York; San Francisco, California
⏰ Full-time
🏢 DatabricksJob details https://jobsfordevelopers.com/jobs/staff-software-engineer-ai-research-infrastructure-at-databricks-com-may-15-2026-b96102?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Databricks is hiring Staff Software Engineer - AI Research Infrastructure
🔧 #cplusplus #golang #java #rust #scala #kubernetes
🌎 New York City, New York; San Francisco, California
⏰ Full-time
🏢 DatabricksJob details https://jobsfordevelopers.com/jobs/staff-software-engineer-ai-research-infrastructure-at-databricks-com-may-15-2026-b96102?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Trying to understand #golang. It seems to have quite some "implicit (and short) is better than explicit (and longer)"-features 🙄
-
WGX is now ihasvpn, and it's been rewritten from scratch.
The old WGX was a Bash installer that assembled a VPN on your host. The new one is a WireGuard server of its own: one static Go binary in one container, driving kernel WireGuard over netlink, with a web console built in.
Free software, AGPL-3.0.
-
WGX is now ihasvpn, and it's been rewritten from scratch.
The old WGX was a Bash installer that assembled a VPN on your host. The new one is a WireGuard server of its own: one static Go binary in one container, driving kernel WireGuard over netlink, with a web console built in.
Free software, AGPL-3.0.
-
WGX is now ihasvpn, and it's been rewritten from scratch.
The old WGX was a Bash installer that assembled a VPN on your host. The new one is a WireGuard server of its own: one static Go binary in one container, driving kernel WireGuard over netlink, with a web console built in.
Free software, AGPL-3.0.
-
I'm sure many older programmers will grunt at seeing this mentioned, but as much as AI annoys me just as much as the next guy (because of AI slop, increased hardware costs and stuff like that)...
... I can't deny that it feels like it's easier than ever to start learning to program these days.
You've got yourself a personal tutor who guides you through step by step and answers all of your questions you might be wondering.
You'll never be completely stuck.
Learning #Golang with Gemini atm
-
Azure SDK Release (August 2026)
https://devblogs.microsoft.com/azure-sdk/azure-sdk-release-august-2026/
#dotnet #java #python #javascript #typescript #golang #azure #cloud #azuresdk
-
I'm looking for a coffee shop (or even a café) to host a meetup to have a bunch of Golang engineers congregate to chat about the Go programming language.
Anyone know of any?
Preference: Metrotown and Downtown New Westminster.
But anywhere Downtown Vancouver, Metrotown, Brentwood, Downtown New Westminster, and Surrey Central is fine.
#Vancouver #Go #GoLang #GoProgrammingLanguage #LowerMainland #LowerMainlandBC #LowerMainlandBCCanada #LowerMainlandBritishColumbia #LowerMainlandBritishColumbiaCanada #LowerMainlandCanada #GreaterVancouver #GreaterVancouverRegionalDistrict #MetroVancouver #VancouverCanada #VancouverBCCanada #VancouverBritishColumbiaCanada #BCCanada #BritishColumbiaCanada #BC #BritishColumbia #NewWestminster #NewWestminsterBC #NewWestminsterBCCanada #NewWestminsterBritishColumbia #NewWestminsterBritishColumbiaCanada #NewWestminsterCanada #NewWest #NewWestBC #NewWestBCCanada #Burnaby #BurnabyBC #BurnabyBritishColumbia #BurnabyBCCanada #BurnabyBritishColumbiaCanada #BurnabyCanada #Surrey #SurreyBCCanada #SurreyBC #SurreyBritishColumbia #SurreyBritishColumbiaCanada #SurreyCanada
-
Match Group is hiring Backend Engineer (Trust & Safety), Platform
🔧 #golang #javascript #python #typescript #aws #docker #elasticsearch #gcp #kubernetes #mysql #redis #terraform
🌎 Tokyo, Japan
⏰ Full-time
🏢 Match GroupJob details https://jobsfordevelopers.com/jobs/backend-engineer-trust-safety-platform-at-mtch-com-jun-4-2026-99b6c3?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring -
Azure SDK Release (July 2026)
https://devblogs.microsoft.com/azure-sdk/azure-sdk-release-july-2026/
#azure #azuresdk #cloud #dotnet #java #python #javascript #golang #csharp #typescript #cpp #rustlang
-
Azure SDK Release (May 2026)
https://devblogs.microsoft.com/azure-sdk/azure-sdk-release-may-2026/
#rustlang #javascript #golang #dotnet #csharp #python #azure #cloud #azuresdk
-
After a ton of compiling, the v2 release is official. Containers all work, the client works, and now I'm gonna relax and watch some YouTube videos. Releases are available on the website though I still need to update the docs with the new "installation" process (much simplified).
Releases: https://git.jamesthebard.net/jweatherly/sisyphus-client-golang/releases
-
The long test is looking good for the `av1an`, `mkvmerge`, and `cleanup` modules, the Golang client is doing exactly what its supposed to which is a welcome change from yesterday. I need to do long tests on the `ffmpeg` and `handbrake` modules next, but I'll handle those tomorrow.
After that, I'll update documentation, release the `2.0.0` client, and deprecate the old client.
#sisyphus #av1an #ffmpeg #matroska #encoding #programming #golang
-
Lots of progress and a lots of pain. However, all of the Sisyphus modules have been implemented and I'm currently running a test across the `2.0.0b2` version. The most painful thing I fought was literally tailing a log file. Got lazy and brought in `hpcloud/tail` because it did what I needed it to, but what it _didn't_ do was work well for my application. After a day or two of battling it, I removed it and went with `bufio.NewReader`and a nice `context.CloseWith` setup and now it works every time.
Also added a `PostRun()` call to each module just to have a place to do basic module cleanup if needed.
Learned a ton on this one so far and while annoying at times: it's been pretty fun.
Repo: https://git.jamesthebard.net/jweatherly/sisyphus-client-golang
-
Ah previous me...I see you've decided to make this rewrite more difficult because you got _clever_ and I decided to keep backward compatibility. Thought that the `ffmpeg` module would be the biggest pain in the ass, but I was completely wrong. The `mkvmerge` part is coming along and I'm hoping to have it done today or tomorrow. Things progress.
-
The Sisyphus client rewrite continues after a bit of a break. The `ffmpeg` module is mostly finished and should serve as a good template for `handbrake`, `av1an`, `mkvmerge`, and `cleanup` modules. Logging is progressing pretty well. The config has been expanded slightly and can now pull from TOML files on top of the standard environment variables.
-
Azure SDK Release (November 2025) buff.ly/xXURdcY #azure #azuresdk #dotnet #java #javascript #python #golang #azd
Azure SDK Release (November 20...