home.social

#golang — Public Fediverse posts

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

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

    codeberg.org/vyskocilm/herrors

    #golang

  2. 𝗚𝗶𝘁𝗲𝗮:

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

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

  7. On my way to FyneConf.

    Stopped at Antwerp Centraal train station. It is gorgeous.

  8. Документация, которая не врёт

    С документацией к API есть две крайности, и обе плохие: написанная руками врёт через полгода, сгенерированная целиком стирает всё осмысленное, что в неё написали. Я перестал выбирать между ними и поделил файл: структура принадлежит коду и синхронизируется без спроса, проза принадлежит человеку и не трогается никогда. Заодно оказалось, что документацию можно проверять как golden-файл, и что проверить нельзя прозу, а вот её отсутствие можно.

    habr.com/ru/articles/1080460/

    #openapi #swagger #go #golang #документация_api #кодогенерация #rest_api #golden_tests #рефлексия #gorib

  9. Документация, которая не врёт

    С документацией к API есть две крайности, и обе плохие: написанная руками врёт через полгода, сгенерированная целиком стирает всё осмысленное, что в неё написали. Я перестал выбирать между ними и поделил файл: структура принадлежит коду и синхронизируется без спроса, проза принадлежит человеку и не трогается никогда. Заодно оказалось, что документацию можно проверять как golden-файл, и что проверить нельзя прозу, а вот её отсутствие можно.

    habr.com/ru/articles/1080460/

    #openapi #swagger #go #golang #документация_api #кодогенерация #rest_api #golden_tests #рефлексия #gorib

  10. Документация, которая не врёт

    С документацией к API есть две крайности, и обе плохие: написанная руками врёт через полгода, сгенерированная целиком стирает всё осмысленное, что в неё написали. Я перестал выбирать между ними и поделил файл: структура принадлежит коду и синхронизируется без спроса, проза принадлежит человеку и не трогается никогда. Заодно оказалось, что документацию можно проверять как golden-файл, и что проверить нельзя прозу, а вот её отсутствие можно.

    habr.com/ru/articles/1080460/

    #openapi #swagger #go #golang #документация_api #кодогенерация #rest_api #golden_tests #рефлексия #gorib

  11. I mostly wrapped up my #rbac implementation today. After reading through the #owasp recommendations for building rbac I can proudly say that the implementation is about what, 10 LOC? You be the judge, I cant count. What you don't see is the map that is 500+ LOC that makes it all work.

    #homelab #selfhosted #golang

  12. Today's the last day of our summer sale. Use code SUMMERTIME to save on all 3-day and 4-day tickets!

    View keynotes, workshops & full schedule: techbash.com/

    #webdev #dotnet #cloud #ai #devops #softskills #python #csharp #azure #vscode #golang #javascript #softwaredev #devcommunity

  13. GTL Gemini Tinylog Reader/Editor

    I've forked bacardi55's Gemini Tinylog Reader/Editor "GTL", because it seems he doesn't reliably work on his Gemini projects anymore. There were open patches for over 7 month without being merged so I did the fork, especially because I use GTL myself and like it very much. I've already fixed a few bugs and added a few features, so bookmarks are now finally usable (see the README.md about this) and preformatted text is now displayed reasonably.

    You can build from the sources in Golang to get the most recent patches, cloning my Codeberg.org repository:

    https://codeberg.org/fab/gtl

    If you don't want to mess around with Golang and don't want to build the sources yourself, you can directly download some prebuilt binaries, which are built for Linux, FreeBSD, NetBSD and OpenBSD, each for the x86_64 (amd64) and arm64 architectures. I try to make binary tag releases on a regular basis. Download Link:

    https://codeberg.org/fab/gtl/releases

    I hope for some people to test GTL and maybe give some feedback. I'm always open for ideas and problems. You can also send in Pull Requests if you find a bug or want to add a feature. If you have problems or find a bug you can use the Codeberg issue tracker for GTL:

    https://codeberg.org/fab/gtl/issues

    #Gemini #GeminiProtocol #Tinylog #Tinylogs #gtl #Go #Golang
  14. #Go escape, or... //go:noescape
    "meaning that the function has an implementation not written in Go"
    very mysterious.
    pkg.go.dev/cmd/compile

    Today I learned a few first things about the #Golang runtime internals and how they may invoke #syscalls.
    go.dev/doc/asm gives a quick tour.
    How exactly Asm ends up in Go is still not 100% clear to me.

    See also my (for now draft) PR to fix an issue in the runtime:
    github.com/golang/go/pull/75306

    If you have any clue, help would be appreciated. 🙇

  15. 🥳 Watch out world, we've got the latest revolution in tech: a glorified notepad for HTTP requests, now written in Go! 🚀 Just sign up and you, too, can experience the thrill of storing your own webhook data because apparently, that's a thing now. 🎉
    testwebhook.xyz #techrevolution #HTTPrequests #GoLang #webhookdata #innovation #HackerNews #ngated

  16. avail immed for paying remote work in Golang

    I have a history of solving & shipping

    I'll push up my 1st code commits fast

    I deliver

    #Golang
    #programming
    #avail
    #hireavail
    #fedihire
    #work
    #jobs
    #hireme
    #workavail
    #freelance
    #contractor
    #consultant
    #expert

  17. #Introduction #Welcome

    Please repost for visibility, so I can find people with similar interests. Like or comment for me to take a look at your profile, and possibly follow.

    Likes/Interests: #Programming #Technology #OpenSource #FreeSoftware #FOSS #FLOSS #Fediverse #OnlineFreedom #Privacy #Anonymity #Anonymous #InfoSec #CyberSecurity #Manjaro #Linux #Science #Socialism #HumanRights #SocialJustice #MultipolarWorld #Programming #Python #Golang #Rust #RetroGaming #Gaming #SelfHosted #TechNews #Matrix #Youtube #Movies #Anime #Hentai #Erotica #Futurology #AI #Singularity #Fitness #Health #Collapse #ClimateCrisis #Audiobooks #Books #Fantasy #SciFi #StarWars #Fanfiction #Conspiracy #CriticalThinking #Cooking #DataHoarding #Piracy #FileSharing #Meshnet #Decentralized #Distributed #P2P #PeerToPeer #IPFS #Zeronet #Freenet #I2P #Tor

    Dislikes/Disinterests: #Music #Memes #Sports #Coffee #Animals #Cats #Dogs #Nazis #CIA #NATO #UsEmpire #Oligarchy #Plutocracy #Kleptocracy #Imperialism #Fascism #Racism #Capitalism #Billionaires #Woke #Wokeism #Liberals #Democrats #Republicans #Conservatives #BigTech #ClosedSource #Microsoft #Discord #Copyright #Censorship #WesternMedia #MaintreamNews #OfficialPropaganda #Surveillance #PoliticalCorrectness #SurveillanceCapitalism #DRM #DataMining #FakeNews #Misinformation #Disinformation #EchoChamber #FilterBubble #CorporateMedia #Consumerism #Materialism #Overconsumption #PlannedObsolescence #FastFashion #Waste #EnvironmentalDegradation #Gentrification #Inequality #Neoliberalism #Globalization #FantasyFootball #Apple #Tech #BoardGames #TTRPG #DnD

    Best to worst: #fopnu #nicotine+ ( #soulseek ) #aMule ( #edonkey2000 #ed2k ) #EiskaltDC++ ( #dcpp ) #gnutella #Shareaza #qBittorrent ( #BitTorrent #torrent )

    My dream social media platform. What do you think, what are the most interesting ideas, what other features would you like to see, how would be your perfect social media platform?