HackerTrans
トップ新着トレンドコメント過去質問紹介求人

LennyWhiteJr

no profile record

コメント

LennyWhiteJr
·12 日前·議論
honestly just leave him. it's a more metal burial place than any other he'll get anywhere else.
LennyWhiteJr
·12 か月前·議論
Yeah, it's included as one of the gradle scripts which fails the build in CI if the rules don't pass.

No template, as it's specific to my team's project, but one example is that we enforce that classes within our core domain don't import types from outside the project. You could accomplish this with separate projects, but that comes with its own complexities. This rule basically says "any domain type shall not import a non-domain type".
LennyWhiteJr
·12 か月前·議論
I love Detekt! It's particularly good for enforcing project conventions that can't be covered with standard linters. With access to the full AST, you can basically enforce any kind of rule you want with custom analyzers. And LLMs take out 90% of the effort for creating new analyzers.
LennyWhiteJr
·12 か月前·議論
Almost my entire org uses it for backend server development at Amazon. There is very strong support for Kotlin support within the Amazon dev community.
LennyWhiteJr
·昨年·議論
[dead]
LennyWhiteJr
·3 年前·議論
Someone who actually knows what they're talking about.

Even with the Customer Obsession LP, it's not too hard of a stretch to arrive at a conclusion where more ads are shown. Better are worse are, in many aspects, quite subjective in these areas.
LennyWhiteJr
·3 年前·議論
There is organic matter buried in and around the site that can be used to date the point at which it was filled in.
LennyWhiteJr
·3 年前·議論
In my Amazon team, we use PostgreSQL as a queue using skip-locked to implement transactional outbox pattern for our database inserts. People commenting 'just use a queue' are totally missing the need for transactional consistency. I agree with the author, it's an amazing tool and scales quite well.
LennyWhiteJr
·3 年前·議論
Nothing about the outbox pattern guarantees ordering.
LennyWhiteJr
·3 年前·議論
Even if are "down to several nano-seconds", a slight clock drift can be the different between corrupt data or not, and when running at scale, it's only a matter of time before you start running into race conditions.

For a small web app, fine, but if you're running enterprise level software processing billions of DB transactions per day, clocks just don't cut it.
LennyWhiteJr
·4 年前·議論
A couple ways. If the need is not real-time and analytical, you feed the data from multiple services into a separate BI database which can do slower and more complex joins across data from multiple data sources. Or if the need is real-time, you build a paginated API with a page limit that can always be processed within the API SLA. Then you build workflows on top of the paginated API to operate on that data.

Generally, unbounded operations have to be broken up at some point. It just depends on how big the data set is.