Better HN
topnewbestaskshowjobs
Log inSign up

ancount

8 karma · joined Jul 9, 2018 (8y ago) · 6 submissions

Submissions

comment 3y ago · link · parent

I'm no chess expert, but I think because at 17... Bxa4 followed by 18... Bxh2, the double bishop sacrifice, it's not obvious how Black will then dominate the rest of the game.

comment 3y ago · link · parent

Would you be willing to explain how that comparison makes any sense at all? How is living in a city "too hard" for people in suburban and rural communities?

comment 4y ago · link · parent

Here is some Microsoft documentation describing how a monolith application can be deployed behind a load balancer[0]. HTH

[0] https://docs.microsoft.com/en-us/dotnet/architecture/contain...

comment 5y ago · link · parent

Does anyone have some outdoor camera recommendations?

The ones I had were very low resolution, I could hardly recognize myself in video.

comment 5y ago · link · parent

M1 macs can run iOS apps natively, so I am guessing that the emulation for iOS development is a whole lot better. Sorry I can't really give you anything more concrete than that.

I would wait until the fall, though, it is likely that there will be a 15+ inch MBP with a new apple chip.

comment 5y ago · link · parent

I inherited a flask queue worker, and it suffers from some major problems (like 12 req/second when it's not discarding items from the queue). I am primarily a javascript programmer so I'm a little bit out of my element.

I am tempted to refactor the worker to use async features, and that would require factoring out uWSGI, which is fine, I only added it last week. The article states that Vibora is a drop in replacement for flask, but I guess I'm a bit skeptical, as I can't find much information outside of Vibora having a similar api. For a web service with basically one endpoint, I could refactor to another implementation fairly easily, I'm just looking for the right direction.

I thought maybe I should refactor the arch to either batch requests to the worker, or to use async. Anyone have a feeling where I should go? I am just getting started researching this, but any advice would be appreciated.

Edit: at least quart has a migration page.. probably will just try it out, what can I lose? https://pgjones.gitlab.io/quart/how_to_guides/flask_migratio...

Second edit: Also might try out polyrand's stack in the comments.