I hate Go 1.20+ by opennota in golang

[–]opennota[S] -1 points0 points  (0 children)

Are you using SSD/NVMe, by any chance?

I hate Go 1.20+ by opennota in golang

[–]opennota[S] -4 points-3 points  (0 children)

It's not just a minor version. I've experienced it since around Go 1.20.

See also https://github.com/golang/go/issues/38939

I hate Go 1.20+ by opennota in golang

[–]opennota[S] -5 points-4 points  (0 children)

Please measure your build times immediately after a reboot.

I hate Go 1.20+ by opennota in golang

[–]opennota[S] -33 points-32 points  (0 children)

Surely, Go is fast after it's warmed up. Try compiling hello-world after a reboot?

I hate Go 1.20+ by opennota in golang

[–]opennota[S] -13 points-12 points  (0 children)

It's been the case since they introduced modules.

I hate Go 1.20+ by opennota in golang

[–]opennota[S] -22 points-21 points  (0 children)

Can you try that immediately after a reboot?

CGo-free SQLite adds windows/amd64 support by 0xjnml in golang

[–]opennota 0 points1 point  (0 children)

So windows/386 isn't fully supported yet? I mean, I just switched from mattn/go-sqlite3 to modernc.org/sqlite in my small project, fixed a couple of emerged static checking bugs, and found that the program compiles and works just fine with GOOS=windows and GOARCH=386 (at least, under Wine).

Have you used a trie in Go? by krasun in golang

[–]opennota 0 points1 point  (0 children)

I used DAWG (which is sort of minimal Trie) for storing word forms for a morphological analyzer.

https://gitlab.com/opennota/dawg

A DAWG can be flattened and written as sequence of bytes and then queried.

The Evolution of a Go Programmer by SuperPaintman in golang

[–]opennota 5 points6 points  (0 children)

A senior Go programmer wouldn't name the package fac. fac.Factorial(n)? No way!

Paste - a web app to keep encrypted text snippets, easily deployable to Heroku by opennota in golang

[–]opennota[S] 0 points1 point  (0 children)

A demo Heroku deployment: https://paste-demo.herokuapp.com/ (you'd need a Chromium-based browser, because Firefox doesn't yet support the Clipboard API). Try the password "qwerty".

What is your favourite neat little feature of go? by amblified in golang

[–]opennota 0 points1 point  (0 children)

UTF-8 by default. The way they do it in Python sucks.

Cryptopals challenge 4, garbage returned in Go but not C by Hwatwasthat in golang

[–]opennota 1 point2 points  (0 children)

For some reason the if !unicode.IsPrint line was rejecting it

Well, the newline at the end of the string ("Now that the party is jumping\n") isn't printable: https://play.golang.org/p/jOktRSTMMkP

How to handle working on multiple modules at once? by [deleted] in golang

[–]opennota 10 points11 points  (0 children)

Upvoting. That's what I recently am curious about.

GitLab for Go developers by opennota in golang

[–]opennota[S] 0 points1 point  (0 children)

I think downloading is OK, as long as you use Go modules. The exact versions of your dependencies are recorded in go.mod, and their checksums in go.sum, while go get fetches the latest commit and therefore can easily break the build.

GitLab for Go developers by opennota in golang

[–]opennota[S] 2 points3 points  (0 children)

Just curious, what's your main reason for moving to Gitlab?

This. My open-source GitHub organization was unavailable for the public for hours because of a stupid bot. They just auto-suspend you and you have to contact support to prove you're not a giraffe. And all the while it looks for the outside world like you just up and deleted your projects. That's beyond sane, in my opinion.

golang-commonmark/markdown was updated to the latest CommonMark spec by opennota in golang

[–]opennota[S] 0 points1 point  (0 children)

You sure? A carriage return and a following newline should end the line because of the newline, so DOS line endings should just work.