https://blog.gslin.org/archives/2025/05/06/12384/go-%e7%9a%84-green-tea-gc/
Go 的 Green Tea GC
#algorithm #cache #collector #cpu #garbage #gc #go #golang #l1 #l2 #miss #performance #scalability
Päivittelin taas Bookmark Manageria. Nyt sen pitäisi noudattaa 429 Too Many Requests -tilanteessa vastauksessa olevaa Retry-After -headeria, jos sellainen on. Jos ei ole, niin sitten se odottaa viikon verran ennen seuraavaa tarkistusta.
Lisäsin tämän, koska pari omassa kokoelmassa olevaa linkkiä on alkanut vastailla tällä koodilla, vaikka omassa käytössä Bookmark Manager tarkastaa linkit vain kerran vuorokaudessa.
Harmillisesti, nämä 429 -tapaukset eivät palauta Retry-After -headeria, joten minulla ei ole hajuakaan, miten harvoin niitä pitäisi tarkastella 🤷♂️
https://github.com/saaste/bookmark-manager/releases/tag/v1.0.8
#ohjelmointi #AvoinLähdekoodi #programming #OpenSource #golang
Golang recap for week 18/2025
https://discu.eu/weekly/golang/2025/18/
Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium
Карты(maps) в Go
Карты (maps) в Go — это отличный инструмент для хранения данных в виде пар «ключ — значение». Они широко используются в разработке благодаря своей гибкости и удобству. Например, карты часто применяются для кэширования данных, хранения конфигураций или обработки больших объемов информации. Однако эффективная работа с картами требует понимания их внутреннего устройства и особенностей управления памятью. Под капотом карты реализованы на основе хеш-таблиц, что обеспечивает быстрый доступ к данным, но также создает потенциальные проблемы, такие как неэффективное использование памяти или утечки. В этой статье мы разберем устройство карт в Go, рассмотрим, как они растут и работают, а также обсудим способы оптимизации их использования. Особое внимание уделено проблемам, связанным с инициализацией карт и управлением памяти, чтобы помочь вам писать более эффективный и надежный код.
Meet VarMQ - A simplest message queue system for your go program
https://github.com/goptics/varmq/
Discussions: https://discu.eu/q/https://github.com/goptics/varmq/
Check out my new #Go #Golang package https://github.com/zhulik/pal
@zorak1103 Page is up, just checked the link. I think error handling is matter of preference so only personal opinions. My team choose #golang because we are in corporate space, projects come and go and when need to get back to something we did while ago having errors explicitely handled where they happen is big readability benefit for us. I like #golang being boring and very easy to read as it very much fits into our workflow.
@zorak1103 Nice AI written useless article. Let me generate similar one about how #rust is bad language! Oh wait no, I’ll save few trees and have better things to do. Also a lot of lies in there. Dropbox uses both Go and Rust, Rust is reserved to very bottom of the stack. Cloudflare is heavy Go user (see: https://blog.cloudflare.com/tag/go/) #golang
First working version of my db2xlsx script written in Go done. This gets the structure of a MySQL (or compatible) database and converts it into an Excel file, with one sheet per table and one Excel row per database column.
Written to solve a problem for a client, but as it may be useful elsewhere I've done this on my own time and made it open source.
Needs a bit of tidying up, but it does the job.
A developer platform for workflow automation and orchestration. It is an easy-to-use, code-based alternative to no/low-code platforms (such as Zapier, Workato, Make, n8n)
#golang
TIL: You can stop Go from auto-removing unused imports when saving a file by adding an underscore before the import line, e.g.
import (
"database/sql"
_ "github.com/go-sql-driver/mysql"
)
This is necessary because database/sql relies on go-sql-driver/mysql (it needs a driver in order to work) but as you never call a mysql.* function Go thinks you're not using that import and removes it.
The #Golang is working on a revenue stream. It seems that they are planning to sell waste products to caffeine stores. This may sound like an AI hallucination, but it makes perfect sense: Go is a garbage-collected language, so why not make money on the waste you are collecting anyway? #garbagecollector #greentea
Odin, A Pragmatic C Alternative with a Go Flavour
https://bitshifters.cc/2025/05/04/odin.html
Discussions: https://discu.eu/q/https://bitshifters.cc/2025/05/04/odin.html
A rate limiter designed for multiple use cases, especially for multiple rate limit windows.
#golang
A server monitoring and management platform designed for private VPS servers. It provides real-time monitoring, alerting, project management, and (future) cron job automation — all from a single dashboard.
#golang
I had some time to play with #golang over the weekend. A thing I haven't really done in over a year. And all I can say is it is a great language.
A markdown to RSS converter written in Go. With this tool, you can write articles in a local folder and have them automatically formatted to an RSS compliant XML file
#golang
A Visual Studio Code extension designed to make working with Go packages effortless.
#golang
A lightweight, expressive, and extensible validation library for Go — inspired by Laravel’s Validator.
#golang