1,214 karma · joined Dec 23, 2013 (12y ago) · 517 submissions
IN is the only way OUT - https://www.amazon.co.uk/Inner-Engineering-Yogis-Guide-Joy/dp/0143428845/
comment 4w ago · link · parent
comment 4mo ago · link · parent
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)
comment 5mo ago · link · parent
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.
comment 5mo ago · link · parent
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.
comment 5mo ago · link · parent
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. :(
comment 5mo ago · link · parent
comment 5mo ago · link · parent
comment 6mo ago · link · parent
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. :)
comment 6mo ago · link · parent
It does make sense that the right way would be to fork every dependency you use and install from your own repo reviewing and merging from upstream as needed. Would be a giant PITA though. :)
comment 6mo ago · link · parent
For example you don’t get to see TCP headers with Node out of the box and you can’t craft packets, whereas you can in Python.
comment 6mo ago · link · parent
Python is easier to interface with C/C++ libs.
comment 6mo ago · link · parent
Now if .NET was still not so embedded in the Windows ecosystem that would be very interesting to me to jump from TS. As it is I am learning Go instead.
comment 6mo ago · link · parent
Knowing something is different to reading about something, or hearing something from someone. And yet this is often confused as knowledge. In this way are we all that different from AI - we have some data and we regurgitate it as knowledge. Bad data, wrong answer. Except humans can also throw in some emotion to really muddle things up. :)
comment 7mo ago · link · parent
My only challenge is controlling the gassiness - it’s so vigorous that the moment I even slightly open the cap the whole thing fizzes up like crazy - opening it normally would result in a kvass fountain shooting up like 30cm. :)
comment 7mo ago · link · parent
I wish the touristy places in the UK were as clean though.
Also, writing this comment on a crowded, dirty and smelly train from Gatwick Airport, which has 2 carriages inaccessible because of broken doors and crawling due to signal failure on the line, I already miss the clean and comfortable Chinese trains I was taking from place to place.
That said I do get to work 945 here for more money so I am grateful for this for sure. :)
comment 7mo ago · link · parent
And this is also bearing in mind that I complicate my setup a bit by running the different sites in docker containers with Caddy acting as a proxy.
With storage volumes for data and a few Bash scripts the whole server becomes throw-away that can be rebuilt in minutes if I really need to go there.
And for sure any difficulty and ops overhead pales in comparison to having to manage tooling and dependencies for a typical simple JS web-app. :)
comment 8mo ago · link · parent
> Analysts concluded that 23 sailors survived the initial blasts and took refuge in the small ninth compartment at the rear of the submarine.
> Evidence suggests they remained alive for more than six hours. When oxygen grew scarce, they attempted to replace a potassium superoxide chemical oxygen cartridge, but it fell into the oily seawater pooling on the floor and exploded on contact.
> The resulting fire killed several crew members and triggered a flash fire that consumed what remained of the oxygen, asphyxiating the last survivors.
That does not suggest a possibility of a foreign rescue vessel making it there in time.