home.social

#golang — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #golang, aggregated by home.social.

  1. Netherlands or remote. I'm fluent in , , , and TS (#React). Can read any other programming language. Worked as software engineer all my long adult life, great at architecture and distributed systems, love technology and my craft, share my passion for others, and can solve any problem, even if I need to become an expert in a totally new field. worked in finance, security, medicine, and e-commerce. A big maintainer, founder of @fireflyzero.

    Hire me :)

    2/2

  2. zendis v0.4.0

    zendis is a disassembler for the Z80 and Z80N

    zendis is a new sibling to zen80 (a Z80/Z80N CPU core) to zenas (a Z80/Z80N assembler) and to ZenZX, the companion ZX Spectrum emulator that reuses the former.

    Its hex output format matches what zenas accepts as input, so a zendis listing can be fed straight back into zenas, it can interpret plain .bin files at a starting --org address, and it can reuse the zentools sibling library to import .tap, .tzx, .pzx .sna, .szx and .z80 Spectrum binaries.

    It supports various output formats, including formats compatible with other Z80 assemblers: plain / listing / json / zenas / pasmo / sjasmplus / snasm.
    The listing format is the default and it prefixes every line with the resulting memory address for each instruction (pictured below). The plain format is just the instructions without addresses. The JSON output format allows for feeding zendis output into other tooling and pipelines.

    Repo:
    github.com/ha1tch/zendis#readme

    Binaries released for 17 modern architecture/platform pairs
    github.com/ha1tch/zendis/relea

    #zenas #zendis #disassembler #disassembly #z80 #z80n #retrocomputing #golang #foss #programming

  3. zenas v0.11.2

    update:

    This version extends coverage of the Z80 instruction set implementing various undocumented instructions, and extends compatibility features with pasmo and sjasmplus, as well as some minor bugfixes.

    Binary releases for 17 modern architecture/platform pairs:
    github.com/ha1tch/zenas/releas

    #zenas #assembler #Z80 #Z80N #assembly #asm #golang #foss

  4. In #golang there should be a provided mechanism to update ONLY direct dependencies (and anything that cascades from that) and otherwise ignore the indirect dependencies.

    Sometimes the latest version of an indirect dependency requires a newer version of go, but none of your direct dependencies do, but you can no longer go get -u because it doesn’t seem to take the go directive into account for dependency resolution. Idk

    I might be wooshing something or going against some Golang community norms.

  5. TIL about Silo as an alternative to and written in with a gRPC interface for plugins:
    siloserver.org/

    Does anybody have experience with it? It claims to have a Jellyfin compatible API.

  6. TIL about Silo as an alternative to #Jellyfin and #Plex written in #golang with a gRPC interface for plugins:
    siloserver.org/

    Does anybody have experience with it? It claims to have a Jellyfin compatible API.

  7. TIL about Silo as an alternative to #Jellyfin and #Plex written in #golang with a gRPC interface for plugins:
    siloserver.org/

    Does anybody have experience with it? It claims to have a Jellyfin compatible API.

  8. TIL about Silo as an alternative to #Jellyfin and #Plex written in #golang with a gRPC interface for plugins:
    siloserver.org/

    Does anybody have experience with it? It claims to have a Jellyfin compatible API.

  9. TIL about Silo as an alternative to #Jellyfin and #Plex written in #golang with a gRPC interface for plugins:
    siloserver.org/

    Does anybody have experience with it? It claims to have a Jellyfin compatible API.

  10. Рантайм показывает ту же память, а под убивают по OOM: пять ошибок под лимитами cgroup

    Go показывает стабильную память, heap-профиль молчит, а Kubernetes всё равно убивает под по OOM. Разберём, откуда берётся это расхождение, как на поведение под лимитами влияют cgroup, GOMAXPROCS и GOMEMLIMIT и что изменилось в последних версиях Go. Разобрать причины

    habr.com/ru/companies/otus/art

    #golang #Go #GOMAXPROCS #GOMEMLIMIT #GOGC #cgroups #OOMKilled #сборщик_мусора #управление_памятью #лимиты_контейнеров

  11. forgejo-mcp v3.0.0 is out 🔒

    Security release. The sse and http transports now bind 127.0.0.1 by default and require a per-request Authorization header — previously they listened on every interface and served anonymous requests with the operator's own forge token. stdio is unaffected.

    Serving remote clients? Set --host and --allowed-hosts.

    The Go module path is now /v3.

    Thanks to synath for the report and the fix.

    git.b4mad.industries/agentic-f

    #agentic_engineering #MCP #golang @forgejo

  12. Как лень довела меня до написания кодогенератора

    Лень — двигатель прогресса. Я очень ленив, поэтому прогресс должен был выйти впечатляющим. Спойлер: он и вышел, но с ленью что-то пошло не так. Началось с того, что я предложил взять go-playground/validator — и услышал, что рефлексия нас замедлит. Бенчмарки показали единицы микросекунд на структуру: примерно столько же, сколько json.Unmarshal того же тела, и на три порядка меньше похода в базу двумя строками ниже. Решение всё равно осталось прежним. Поэтому я убрал рантайм целиком: разбор запроса и валидация генерируются из тегов структуры на этапе сборки. Опечатка в теге стала ошибкой генерации, а не пропущенной проверкой. Транспорт и вовсе оказался ни при чём. Ниже — как это выглядит, чего генератор делать отказывается и чем я за это заплатил.

    habr.com/ru/articles/1077792/

    #go #golang #кодогенерация #валидация #рефлексия

  13. Кто-то пользуется ещё BBS-ками? Я вот что-то интересуюсь немного этой темой и даже наваял простенький прототип.

    Пока типа форум и личные сообщение, но с шифрованием!

    `ssh itcom.multed.com -p 2222`

    #bbs #golang

  14. 🛠️ How to Install and Configure #ListMonk on #Ubuntu #VPS

    Here is a step-by-step guide to install and configure ListMonk (a high-performance, self-hosted #newsletter and mailing list manager) on an Ubuntu VPS.
    ✅ What is ListMonk?
    ListMonk is a fast, open-source newsletter and mailing list manager built with Go and PostgreSQL. It supports #email templating, subscriber management, ...
    Continued 👉 blog.radwebhosting.com/install #selfhosted #opensource #letsencrypt #mailserver #selfhosting #golang

  15. 🛠️ How to Install and Configure #ListMonk on #Ubuntu #VPS

    Here is a step-by-step guide to install and configure ListMonk (a high-performance, self-hosted #newsletter and mailing list manager) on an Ubuntu VPS.
    ✅ What is ListMonk?
    ListMonk is a fast, open-source newsletter and mailing list manager built with Go and PostgreSQL. It supports #email templating, subscriber management, ...
    Continued 👉 blog.radwebhosting.com/install #selfhosted #opensource #letsencrypt #mailserver #selfhosting #golang

  16. 🛠️ How to Install and Configure #ListMonk on #Ubuntu #VPS

    Here is a step-by-step guide to install and configure ListMonk (a high-performance, self-hosted #newsletter and mailing list manager) on an Ubuntu VPS.
    ✅ What is ListMonk?
    ListMonk is a fast, open-source newsletter and mailing list manager built with Go and PostgreSQL. It supports #email templating, subscriber management, ...
    Continued 👉 blog.radwebhosting.com/install #selfhosted #opensource #letsencrypt #mailserver #selfhosting #golang

  17. New guest post: my friend @mdelapenya wrote about Ryuk.

    → your tests hold a TCP connection open to it
    → it drops, 10s grace, then Ryuk deletes everything tagged with your session ID

    Check the blog post here: internals-for-interns.com/post

    #golang #testing #docker

  18. As someone who's new to programming, I cannot recommend "A Tour of Go" that's oftentimes mentioned as a thing you should start off with.

    It has way too many situations where a thing isn't explained and you'll just end up looking for answers instead of moving on.

    For example when studying what "ranges" are, the example had a "<<" and it wasn't explained that it's some kind of "bitwise left shift", so that just sent me down a rabbit hole and I keep losing time with this stuff...

    #golang

  19. context.Context в Go. Суть и частые ошибки

    Привет, Хабр! Сегодня поговорим о контексте: о его тонкостях и ошибках, которые возникают при его использовании.

    habr.com/ru/articles/1078940/

    #backend #golang #context #программирование #developer #development #std #go #timeout #разработка

  20. Go 1.27 подменил движок encoding/json. Замерил три конфигурации и нашёл, где стало хуже

    В Go 1.27 encoding/json стал тонким слоем поверх нового encoding/json/v2. Собрал тулчейн из исходников, прогнал один и тот же код в четырёх конфигурациях и разобрался, почему разбор в any стал медленнее в полтора раза.

    habr.com/ru/articles/1078082/

    #golang #json #сериализация #go_127 #бенчмарки #производительность #миграция

  21. Go 1.27 подменил движок encoding/json. Замерил три конфигурации и нашёл, где стало хуже

    В Go 1.27 encoding/json стал тонким слоем поверх нового encoding/json/v2. Собрал тулчейн из исходников, прогнал один и тот же код в четырёх конфигурациях и разобрался, почему разбор в any стал медленнее в полтора раза.

    habr.com/ru/articles/1078082/

    #golang #json #сериализация #go_127 #бенчмарки #производительность #миграция