Thank you for this. Just opted out. They certainly made that page as hard as possible to find. Figuring out how to change my routers DNS server was also made needlessly complex.
Most of the parent comments in this thread did not seem to understand the article. So here’s the tl;dr
Postgres release is delayed due to the quality bar getting raised. New features are getting more eyeballs, and therefore leading to more rollbacks. Pre-existing releases are getting bug reports and backported fixes at much higher rate. Bug fixing might be taking away time from feature development, but does harden the codebase. LLM usage seems to have been a net positive.
During an internship I worked on optical transport network equipment. Most customers were either submarine or long-haul across land. I was told that many clients would design redundantly, mainly due to people digging up the cables, chopping them in half with a shovel, and being disappointed when there was not much copper to steal.
Quebec gets weird with their french rules. Parents are not allowed to send their kids to English speaking schools if both of the parents did their own schooling in French.
Belgium, Switzerland, Spain, come easily to my mind. Switzerland is a very interesting counter-example because although the French-speaking cantons (Romandie) have French as the "prevalent language", meaning that public services are almost exclusively in French, in practice most people speak German too because they're pragmatic about language: the German kantons are the center of economic activity and not speaking German is a huge disadvantage. Quebec, par contre, is full of people that wistfully (I had intended to write "wishfully" but the auto complete was fantastic this time) think they can manage with speaking only French and ignore the rest of the world.
Your paranoia is typical of Quebec. You need professional help, Mon ami.
> Did you know there are tensions in Switzerland because there is a will to stop kids from learning French while they attend primary school?
I lived for a while in Zurich as well, and it was well known that kids are exiting high school being unable to speak the second language they supposedly studied.
> Do you know where Quebec is located?
Yeah, I'm in Montreal right now and have been living there for quite a while.
It's people who speak french not being able to make a choice about their children's education, yes it's weird, and no it's not judgemental to wonder why parents can't make a very basic decision in their child's education.
I started programming when Java 6 was relatively new. Back then it was about 3-4 years in between releases. Although I don’t write much Java any more, I’m happy to see changes shipping more frequently now.
I interviewed with Microsoft at the end of 2016 as a new grad and was given the same marble question over the phone. I then made it to the on site interview where I failed horribly haha.
IMO a release workflow would be better with something like this:
1) Upload all files in a staging state. Can be done asynchronously via multiple build hosts. Files in this state are referenced via their cryptographic checksums (e.g. SHA, Blake, etc)
2) Make visible with a single call by providing a manifest with checksums for all source dists/wheels contained in the release. All artifacts are made visible atomically and the release is immutable.
That allows authors to prepare uploads over however many days they need to coordinate hardware, but doesn’t allow for users to discover a release in a partial state.
sendfile(2) and io.ReaderFrom both return the number of bytes transmitted. The issue is that users are unaware of (or forget about) the optional interface upgrades and fail to define all the methods required for interface upgrades on their wrapper structs. You can definitely make a counting reader with a minimal performance loss, but the proper solution is less obvious than it ideally should be.
Isn’t this a symptom of structural/duck typing where interfaces are not declared? In Java for all its faults this wouldn’t happen because you’d be forced to implement all the interfaces.
The logic uses a type assertion to safely verify if the value backing the provided io.Reader interface also implements the io.ReaderFrom interface. If it matches, then it will use the more efficient implementation
if rf, ok := dst.(ReaderFrom); ok {
return rf.ReadFrom(src)
}
> In Java for all its faults this wouldn’t happen because you’d be forced to implement all the interfaces.
I don't think I would go that far. In Java, many libraries make heavy use of the `instanceof` keyword, which is more or less the same as Go type assertions.
Yes, but contrary to Go, if you change an interface it will be a compiler error if additional methods are missing, unless they have default implementations.
In Java type assertions are mostly used when writing code pre-generics style, like downcasting from a common subclasse into the actual implementation, not to see if an interface is supported, as it is a given from the type system.
How is a package level interface check a “language hack”? They are straight forward and provide a user the same compile time guarantees as the Java implements keyword.
What exactly isn’t a language feature? Or do you have issues with semantics?
var _ Foo = (*Bar)(nil)
The statement asserts that Bar struct pointers are assignable to a Foo interface.
I do agree it’s not as clean looking as the Java implements keyword, but it’s already a fairly terse pattern and IMO the inconvenience does not justify introducing new language syntax.
> Questions come up: do you block a request if you fail to download the latest CRL? How often do you refresh it?
In the before times we left settings like this up to competent system administrators to decide based on risk and not hardcoded by a handful of people at Google.
When we had mice in our house years ago, we tried for a few weeks setting poison bait in the garage to get rid of them. We could tell the mice were eating the bait, but there was still no end to the mice.
We then had a thought... what if the mice were also eating the dog food in the garage? The container lid for the dog food was not very strong (weak and flexible enough that a mouse could possibly squeeze in and out), and coincidentally, that dog food was also high in Vitamin K.
Once we got better sealed containers to store the dog food, it only took a few days before we started seeing delirious, sick mice running around aimlessly in plain day light. Shortly after that, we stopped seeing them entirely.
It's possible the dog food was not reversing the poison. Maybe with the dog food locked up they started eating more bait, or maybe it simply took longer than we expected for the poison kick in. But regardless, we definitely learned a valuable lesson about keeping the pet food well sealed!
Just curious, you poisoned them once and no mice returned ever since?
In my house I had mice during the cold/wet season. Attempts to get rid of the population by killing them were futile. (House is now free of mice though. I secured every single possibility to get in during the summer. I read some mice can get through gaps that are 1 cm or .4 inches wide.)
We did do a lot of work sealing the exterior of the home, as well as removal of bird feeders near the house itself. The poison likely wasn’t a silver bullet, but I recall it (along with removing any access to easy food) having the most dramatic impact overall.
Yeah, without sealing entry points, they just keep coming. Not only can they can squeeze through tiny holes, they leave a trail of pheromones behind them letting other mice know where to come in. Mice infestations are awful. Hate the buggers.
Yup. My house is 50 years old and a townhome. I was killing 3-4 mice a week at one point! Got the entry points sealed and it's down to 2-3 a year. Will probably never get it down to zero because they can get in through my neighbors and find their way here somehow.
My house has a newer adjacent part with its own roof, pretty isolated from the old house. But I had mice on both attics. Finding their way from one attic to the other was the easiest part. But I needed infrared camera surveillance to figure where they entered the building. From the footage it was pretty clear that they never stayed long in the new attic. They entered through the new building, climbed up to the attic, than traversed to the old attic where they probably did all kinds of mouse things including raising their offspring.