2,940 karma · joined Oct 16, 2020 (6y ago) · 2,890 submissions
----------------------------------------------------
comment 2y ago · link · parent
Perfectionism doesn't necessarily mean better implementations, good practices, or even doing the right thing. Chasing and stacking needless abstractions to make things appear clean is an example of such perfectionism that actually harms the industry and erodes standards.
comment 2y ago · link · parent
Personally, I just wrote the types, and then used serde.
comment 2y ago · link · parent
Now that I don't need CUDA anymore I might consider going full team red.
comment 2y ago · link · parent
Something of this nature would have had our entire team fired. The number of phases and the thoroughness and exhaustiveness of the protocols we have to ensure we don't push bad builds would have most engineers taken aback... but we have to. With great power comes great responsibility.
comment 2y ago · link · parent
Eg try java’s random prng library, and generate a few booleans with two seeds very close to each other.
Then try apache common’s merseine twister prng.
comment 2y ago · link · parent
In general; search algorithms like BFS, DFS, Uniform, A* and variants have the following structure:
do
current_state, cost <- container.pop()
container <- container.update(expand(current_state))
while current_state != goal
where container is a datastructure, and this is the key difference. DFS simply prepends all nodes, so every expansion just goes deeper, we use a stack. BFS simply appends, it's a queue (an expensive one too!), uniform uses a priority queue based on the cost. This allows you to blend actions of variable cost, and still reach minimal cost nodes. A* simply augments this with a heuristic when sorting.comment 2y ago · link · parent
comment 2y ago · link · parent
I think the issue is that integ tests are not really a place that sees "development". You write the integ tests, and move on, you are not actively introducing more integ tests.
I think that's a shame that this is the common view of the people that need to fund this. Bad integ tests mean bad dev exp, which then results in increased attrition and dissatisfaction.
comment 2y ago · link · parent
I don't blame my parents for it, they really didn't have much of a choice in the matter as we were too poor for private schools and homeschooling isn't a thing where I come from.