Hacker Newsnew | past | comments | ask | show | jobs | submit | flakes's commentslogin

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.


[flagged]


That's extremely weird. I don't know of another place that does that aside from Quebec, and it's extremely illogical on its own merits.


"Extremely illogical". Okay buddy.

What other place do you know of whose context is the same as Quebec?


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 comment is dripping with racism.

Did you know there are tensions in Switzerland because there is a will to stop kids from learning French while they attend primary school? https://www.edi.admin.ch/fr/newnsb/CbsqmmLpkhDjQgEILMp_P

Did you know Switzerland is located in Europe and shares a border with France? Did you know people in France speak French?

Do you know where Quebec is located?

I’ve seen your kind before.


> Your comment is dripping with racism.

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.


> Yeah, I'm in Montreal right now and have been living there for quite a while.

shocked Pikachu


No matter what I replied, I suspect it would have confirmed your prejudices.


Belgium, somewhat? :)


Not really. They are located in Europe. Share a border with France. Still have a lot of laws to protect French.


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.


Yea that would be the obvious implementation. No idea why they didn't choose that route


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.


> Isn’t this a symptom of structural/duck typing where interfaces are not declared

Yes, essentially duck typing. See https://github.com/golang/go/blob/65504872cbca64d77f45828409...

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.


It’s pretty common to type check interface implementations in Go using package-level casts.


I know, it is yet another language hack, just like the iota/const dance, instead of proper language constructs.


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.


Because they are a workaround for what should be a language feature in first place, just like on ML languages to type check structural types.


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.


One is not really better, you want both. Certificate revocation lists are loaded out of band and depending on the client can be poorly enforced.

Questions come up: do you block a request if you fail to download the latest CRL? How often do you refresh it?

When the cert expires, it can be removed from the CRL, so shorter lived certs will allow CRLs to be smaller and faster to transfer.


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


> competent system administrators

Sorry, we don't hire those anymore.

Best I can do is a YAML monkey who knows how to glue cloud services together..


So true. The last time I worked with a person with an actual "system administrator" title was 2009!


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.


Ah I did not know the pheromone part. So it could be a completely unrelated clan that moves in next time.

In older houses it is nearly impossible to find all entries… they can climb, and will even enter through the roof.


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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: