#go

21 bookmarks tagged with #go · RSS Feed · ← All Tags

Don't couple your Go code to GitHub | Iain Cambridge

https://iain.rocks/blog/dont-couple-your-go-code-to-github
The main problem with using your git hosting location is that your code is now coupled to a hosting provider. That is, if you move your git hosting to GitLab then you have to change your code! Otherwise, you’ll be fetching the old verison. This can result in you being unable to change git hosting provider because the amount of overhead in switching. So you literally end up with your code coupled to GitHub. Which sounds completely nuts, but it’s something that is pretty much defacto in the Go community.

15 Go Subtleties You May Not Already Know

https://harrisoncramer.me/15-go-sublteties-you-may-not-already-know/
One of the best ways to learn something new is to write down something you’ve learned about it regularly. Over the past year, I’ve been doing this with the Go programming language. Here are some of my favorite lesser-known tidbits about the language.

Embedding Our New React UI in Go | Flipt Blog

https://www.flipt.io/blog/embedding-react-in-go
The UI is served over HTTP directly from the binary using Go’s fantastic http.FileServer implementation from the standard library. Sometime around February 2021 was the Go 1.16 release, which came with native embedding of files into Go binaries. Flipt quickly took advantage of this feature for bundling the static UI assets directly into the binary. Go has a handy wrapping function that adapts the embed.FS into the required http.FileSystem interface to integrate it seamlessly into an http.Server. You can find the current (v1.16.0) embed directive in Flipt here.

Computers are very good at the game of Go

http://blog.printf.net/articles/2012/02/23/computers-are-very-good-at-the-game-of-go
Zen19 is beating extremely strong amateurs, but it hasn't beaten professionals in games with no handicap yet. That said, now that we know that Zen19 is using Monte Carlo strategies, the reason why it seems to be getting stronger as it's fed more CPU time is revealed: these strategies are the most obviously parallelizable algorithms out there, and for all we know this exact version of Zen19 could end up becoming World Champion if a few more orders of magnitude of CPU time were made available to it. Which would feel like a shame, because I was really looking forward to seeing us figure out how brains work.

EidoGo - Source Code

http://eidogo.com/source
"The EidoGo Player (SGF viewer and editor) is an independent piece and can be embedded into any webpage. The basic Player is entirely client-side (browser-based) and does not include the joseki tutor, pattern searching, GNU Go, or saving features. To use these features, you must set up code server-side (see site source code below)."

Artificial Intelligence and the Game of Go

http://goai.blogspot.com/2004_01_01_goai_archive.html#107503696117864929
"Computers have great difficulty with the Game of Go. The field of Artificial Intelligencehas conquered chess, but still has difficulties with Go. This blog will contain information about advancing the state of the art Go AI"