News for hackers. Stuff that matters.

ancount

Re:“Why isn't chess popular in Japan?” on Friday September 08, 2023 @08:28AM (#37432650)
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.
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?
Re:Zendesk to be acquired on Thursday July 21, 2022 @09:55AM (#32179436)
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...

Re:Kerberos: Open-Source Video Surveillance on Sunday July 11, 2021 @08:54AM (#27800414)
Does anyone have some outdoor camera recommendations?

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

Re:iPad Pro M1 on Tuesday April 20, 2021 @03:20PM (#26879991)
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.

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.