I’m the author of Learning Go from O’Reilly, so I might be a bit biased.
What I’ve found is that different publishers put different amount of effort into producing good content. O’Reilly is almost always excellent. Others are less so.
It’s hard to find a dev who is willing to invest a year of their life to write a book that is likely to make almost no money. It’s doubly hard to find devs who write well.
Given these filters, two or three good programming books a year sounds pretty great.
> the organization's senior Middle East official, Sarah Leah Whitson, attempted to extract money from potential Saudi donors by bragging about the group's "battles" with the "pro-Israel pressure groups."
What's wrong with that? Any honest observer will have battles with groups who want to spin the truth.
I'd say one of the biggest problems in the US political system right now is that we don't have enough organizations willing to battle against our own partisan pressure groups (without siding with any of them).
Perhaps that's what's troubling: so many of our organizations have taken sides that it's difficult to understand an organization that hasn't.
As for raising money in Saudi Arabia: they were raising money from private supporters there, not the Saudi government. Do you think no one in SA supports human rights?
Or, if the suggestion is that HRW is siding with the Saudis, take a look at:
Who do you think "private supporters" are in Saudi Arabia?
And no, I don't think anyone with anything resembling power or wealth in Saudi Arabia supports human rights.
HRW execs admit via email to the editor in chief of a nationally respected magazine that they raise money by bragging how tough they are on Israel. And then they are tough on Israel, and you think it's a principled stance. Maybe they just have profitable principles, I dunno.
If you are looking for a way to map SQL queries to type safe Go functions, take a look at my library Proteus: https://github.com/jonbodner/proteus
Proteus generates functions at runtime, avoiding code generation. Performance is identical to writing SQL mapping code yourself. I spoke about its implementation at GopherCon 2017: https://www.youtube.com/watch?v=hz6d7rzqJ6Q
We used HJSON as the config file format for https://github.com/capitalone/checks-out and it worked out very well. It's a shame that it hasn't caught on, because it fixes the warts in JSON in an elegant way.
"The default type (used for inference) for an int constant is int, which is a 32-bit type" -- this is not true, the size of int is platform-defined. See https://golang.org/ref/spec#Numeric_types. The error you're seeing is because on 32-bit platforms where int is 32 bits, 2^64-1 does not fit an int, and on 64-bit platforms where int is 64 bits, 2^64-1 does not fit an int either (int's are signed). This will work on 64-bit platforms though:
At first I was wondering, what is this? Anyone with a Comp Sci degree who read the docs should already know most of this! Then I thought, "This is one of the best stealth Go basic Comp Sci education presentations I've seen in awhile!"
https://www.timesofisrael.com/poll-70-of-israelis-support-se... https://en.idi.org.il/articles/58648 https://en.idi.org.il/articles/59019 https://en.idi.org.il/articles/59940 https://www.jpost.com/israel-news/politics-and-diplomacy/art... https://www.inss.org.il/publication/survey-april-2025/
But I'm pretty sure you are only interested in sources that confirm what you already believe.