gbuk2013
Joined 13 years ago
Joined 13 years ago
How I wish for a world where the same could be said for every other army!
If your performance is significantly slower then you are probably doing it in CPU - there was some fiddling required to get it to use GPU (I use llama.cpp)
The key is the perspective of what success is: it’s the state where the resource does not exist, or is the action having deleted the resource. But 200/202 is perfectly capable of expressing the distinction in the latter case as well.
It depends on your use-case if you care about this or not. If you do care you will have to handle it either way somehow.
But if you want an idempotent API then a success is more appropriate IMO than an error.
Idempotency just means no state mutation on subsequent request.
I played Zero-K several years ago and it didn’t stick in my mind as much but maybe worth revisiting it - thanks!
Reading about it seems to suggest that it’s even deeper in terms of strategy and tactics so I will probably struggle even more. :(
I even managed to make that part of the workflow on one team I worked with but several other teams since thought it was a crazy idea. :)
IN is the only way OUT - https://www.amazon.co.uk/Inner-Engineering-Yogis-Guide-Joy/dp/0143428845/