HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Eyas

no profile record

Submissions

Algorithmically Generated Crosswords: 'Good Enough' for an NP-Complete Problem

blog.eyas.sh
1 points·by Eyas·7 tháng trước·0 comments

comments

Eyas
·2 tháng trước·discuss
The best pattern I've seen is hash the request and validate that it is the same one. If not, error out as it is an invalid argument.

"Best guess" can be bad if it is not well-defined, but you can still make error detection obvious rather than hidden.
Eyas
·7 năm trước·discuss
Not really https://github.com/microsoft/TypeScript/issues/9235

Though with tuples, etc. being defined, maybe it's worth re-examining.
Eyas
·9 năm trước·discuss
You say that, but it is very telling that every large company out there (Google and Facebook come to mind) go for the single-repository approach.

I'm sure that, when dealing with stakeholder structures where different organizations can depend on different bits and pieces, having multiple repositories with difficulty of making breaking and cross-cutting changes, becomes good.

From the view of a single organization where the only users of a component are other components in the same organization, it seems like there is consensus around single-repository.