@requiredargs sucks, if you rearrange the order of two fields with the same type on a class you invisibly break the code.
If you have multiple constructors (requiredargs, allargs) it makes tracing how they’re used using the built in tools of your IDE impossible
@builder fucking sucks, if there’s non-nullable fields and you don’t set them, at best you get a runtime exception.
Builder pattern should take non-null args explicitly in the builder() method so when you add a new required field it doesn’t invisibly break code 8 modules away
Only good thing is indeed the log annotation, and to some degree @getter @setter, big whoop
To be clear, I know how to look up where the class is used, and i know how to look up where constructors (note, plural) for the class is being used, but I have not found a reliable way to find where a specific constructor is being used if the class has multiple
I use Idea with eclipse shortcuts. I have lombok plugin.
Ctrl-O for a popup window of all methods. The lombok generated constructor is there. Highlight it and then shortcut for call hierarchy. Ctrl-h or ctrl-alt-h I am not sure now.
There is a litany of expensive consultants coming in and shitting up code bases worldwide with cargo-culty supposed 'best practices' like Lombok. It is good to call it out.
> If models had persistent memory or an evolving set of weights, you could easily construct an argument that they can experience "suffering" or other emotions which resultingly adjusts their personality.
The argument that models are conscious only during training, and not conscious during inference feels like a painful one to make. Are we killing models when they reach the training objective?
Technically we are killing models when they don't reach the training objective by throwing those weights away via survival of the fittest (fit meaning what we humans think we want).
Kinda like creating quantum copies of your child and keeping the ones that answer correctly and shooting the other ones in the face.
Yes, but the military exists for the nation, not the other way around, so a military success that turns into a national disaster is not a military success at all.
That's why even in the nuclear Navy, as crazy as they are about reactor safety, they would train and preach continuously that "safety of ship" is more important than reactor safety, because the reactor is not safe if the ship is not safe.
From a military standpoint, yes. You have to have your head buried in the sand to think we didn’t have significant loss of military assets in the region.
It really irked me when I read it the first time and it drives me nuts that no one else seems to catch this, you’re the first one in some 100 HN threads to point it out
I mean, I just checked, it seems under ideal conditions one could see the curvature of earth at 10.5 km height, but to me it was not really a convincing curvature last time I did a long flight. Your experience was different?
I’m not arguing against your basic point as I completely agree arriving on time is my own responsibility, but when I do what you suggest, i forget my house keys lol
@requiredargs sucks, if you rearrange the order of two fields with the same type on a class you invisibly break the code. If you have multiple constructors (requiredargs, allargs) it makes tracing how they’re used using the built in tools of your IDE impossible
@builder fucking sucks, if there’s non-nullable fields and you don’t set them, at best you get a runtime exception. Builder pattern should take non-null args explicitly in the builder() method so when you add a new required field it doesn’t invisibly break code 8 modules away
Only good thing is indeed the log annotation, and to some degree @getter @setter, big whoop