home.social

#golang — Public Fediverse posts

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

  1. 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

  2. After reading about Hyrum-proofing in encoding/json/v2 I made a tiny errors compatible module doing exactly that.

    codeberg.org/vyskocilm/herrors

    #golang

  3. 𝗚𝗶𝘁𝗲𝗮:

    #Git #Golang

    thewhale.cc/posts/gitea

    Gitea is a painless self-hosted Git service. Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.

  4. 𝗚𝗶𝘁𝗲𝗮:

    #Git #Golang

    thewhale.cc/posts/gitea

    Gitea is a painless self-hosted Git service. Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.

  5. 𝗚𝗶𝘁𝗲𝗮:

    #Git #Golang

    thewhale.cc/posts/gitea

    Gitea is a painless self-hosted Git service. Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.

  6. 𝗚𝗶𝘁𝗲𝗮:

    #Git #Golang

    thewhale.cc/posts/gitea

    Gitea is a painless self-hosted Git service. Gitea is a community managed fork of Gogs, lightweight code hosting solution written in Go and published under the MIT license.

  7. #gocon #goconjp attendee lanyard is an unpopulated PCB you can solder parts on and light it up with some rainbow leds driven by #tinygo #golang

  8. The October 2026 issue is available now. This month, we introduce you to the Vosk speech recognition toolkit and show you how to build speech input into a Python script. This month's DVD: Garuda Linux Mokka and GParted Live. Get your copy today!

    shop.linuxnewmedia.com/shop/ca

  9. 100% local chat with a GGUF model in your browser using WebAssembly.

    Written in @golang compiled with @TinyGo Now runs in Chrome / Firefox & supports WebGPU when available.

    Try it!
    hybridgroup.github.io/yzma-was

    #golang #wasm #llama #tinygo #yzma #gguf #webgpu

  10. You have to be shitting me. Even #OpenCode Big Pickle fucks over Gemini 3.1 Pro.

    Welp, I'm not renewing that shit anymore, so it's time to find a cheap AI Agent around.

    Curently aiming for OpenCode. What are your recommendations under $20?

    #AI #AIAgents #VibeCoding #VibeCode #Programming #SoftwareDevelopment #WebDevelopment #WebDev #PHP #JavaScript #TypeScript #Python #Golang #Rust #ArtificialIntelligence #Codex #Claude #Copilot #Kimi #ZenAI #Perplexity #DeepSeek #MistralAI #Grok #Qwen

  11. Fluent Swap: как я вышел за пределы CRUD и начал разрабатывать matchmaking на Go

    Большинство backend‑проектов начинаются предсказуемо: HTTP‑запрос, бизнес‑логика, SQL и ответ клиенту. Но что изменится, если вместо очередного CRUD нужно одновременно искать собеседников, поддерживать долгоживущие WebSocket‑соединения и не допускать двойного matchmaking? В этой статье я расскажу, как появился Fluent Swap, почему его первая версия работает без базы данных и как очередь в памяти одного Go‑процесса постепенно подводит архитектуру к Redis и горизонтальному масштабированию.

    habr.com/ru/articles/1076800/

    #Go #Golang #websocket #matchmaking #backend #redis #конкурентность #архитектура

  12. Анимации в терминале — это сложно (иногда)

    Не так давно я на ровном месте занялся написанием библиотеки на Go ( spinq ) для, казалось бы, тривиальной задачи — спиннера, который гарантированно не будет ломаться при конкурентных записях в stderr и stdout. Все началось с того, что я писал вообще другой код — консольную утилиту для запуска тестов. И захотел прикрутить туда спиннер. Но не просто спиннер, а такой, что позволил бы использовать оба потока вывода — stderr и stdout, без риска оставить артефакты на экране. Более того, во время анимации мне нужно иметь возможность показывать на экране отчеты по завершившимся тестам, не откладывая это все до конца запуска/остановки спиннера. И так уж почему‑то получилось (спойлер: потому что не слишком просто, иногда совсем невозможно и мало кому нужно), что я не смог найти библиотеку, которая бы мне подошла.

    habr.com/ru/articles/1076736/

    #go #golang #cli #terminal #ansi #progressbar #spinner #акторная_модель #конкурентность

  13. The age of software plugins is coming to an end. Thanks #AI!

    levelup.gitconnected.com/ai-is

    Why pay for someone else's plugin when you can ask AI to code it for you, and keep it forever? Then you ask why now everything is a subscription to *something* in the cloud.

    Imagine #PHPUnit was a cloud service. $20/m for 10K assertions.

    #Programming #Coding #Code #SourceCode #SoftwareDevelopment #WebDevelopment #VibeCoding #VibeCode #WebDev #AppDevelopment #JavaScript #PHP #Rust #Golang #Go #TypeScript

  14. Пачка PDF положила прод. Расследование багов в Go библиотеках

    Мой сервис обрабатывает большой поток PDF от самых разных генераторов. В начале июня один‑единственный файл уложил его на 30 минут: HPA раздул поды до потолка, и все они наглухо повисли, 100% CPU, обработка стоит, очередь копится, алерты сыпятся пачками. Расследование в трёх актах: ложный подозреваемый, закомментированный panic и санитайзер, не знавший алфавит до конца.

    habr.com/ru/articles/1073660/

    #golang #pdf #ascii85 #парсинг_pdf #goroutine #отладка #open_source #порча_данных

  15. Sriracha, a free and open source imageboard and forum server, now supports archiving threads.

    When threads are pruned from a board, staff may choose which threads to archive or delete.

    Thread archives are searchable. Visitors and staff may search for text in post subjects and messages.

    See the Sriracha Manual for information on how to install and use Sriracha:

    codeberg.org/tslocum/sriracha/

    #gnu #bbs #foss #freesoftware #opensource #software #release #announcement #golang #free #imageboard #forum

  16. Migrating 354GB from Google Photos to Proton was… an adventure.

    Key lesson: Proton Drive and Proton Photos are NOT the same API. Uploading to Drive doesn't put photos in your timeline. Two completely different systems.

    I built gphoto2proton (with 2 approaches):

    1️⃣ Go binary — streaming from .tgz, no disk extraction, cross-platform (macOS/Linux/Windows). Photos land in Drive. Albums via the undocumented Photos API.

    2️⃣ Bash script — wraps the proton-drive CLI (which has hidden photo/album commands not in the README). Photos go directly to the timeline. Linux only. Needs disk space for extraction.

    Why two? Because Proton's architecture forced it. Windows users have native app support. Everyone else gets to DIY.

    Open source, MIT, Homebrew, 126 tests:
    github.com/mmornati/gphoto2proton

    Read the full story on my blog:
    blog.mornati.net/how-i-built-g

    #Proton #GooglePhotos #OpenSource #Golang #Privacy #bmad #bmad-method

    PS like most of my current projects (I would to say all of them?), the idea was challenged and then built with BMAD (github.com/bmad-code-org/bmad-) if you haven't test it so far, give it a try !

  17. 10 вопросов на Go собеседовании, которые валят большинство джунов

    Готовиться к Go-собеседованию по списку с GitHub — значит знать ровно то же, что знают все остальные. Интервьюеры это чувствуют сразу. В этой статье — 10 вопросов, которые реально задают на Golang Junior собеседованиях, с разбором так, как это объяснили бы вам после интервью на обратной связи.

    habr.com/ru/articles/1045104/

    #golang #go #собеседование #junior #goroutine #concurrency #channel #defer #slice #interface

  18. Я люблю SQL, но устал собирать WHERE через fmt.Sprintf: зачем я сделал qrafter

    Мне нравится чистый SQL. Не «нравится, потому что пришлось», а правда нравится. В хорошем SQL‑запросе видно, что происходит с данными: откуда берём, как фильтруем, где соединяем, что агрегируем и в каком порядке отдаём наружу. Но как только в API появляются фильтры, сортировка, пагинация и отдельный COUNT(*) с тем же WHERE, чистый SQL быстро обрастает ручной бухгалтерией: args, placeholder«ы, fmt.Sprintf и копирование условий между запросами.» В какой‑то момент я понял, что меня раздражает не SQL. Меня раздражает работа вокруг SQL. Так появился qrafter — небольшой type‑safe SQL query builder для Go: без ORM, без codegen, с типизированными колонками, зависимым от диалекта рендером и обычным SQL + аргументами на выходе.

    habr.com/ru/articles/1042578/

    #golang #sql #postgresql #sqlx #querybuilder #opensource #typesafe