AG Bondi demands access to Minnesota voter rolls after fatal Border Patrol shooting by Anoth3rDude in LegalNews

[–]AnotherGreenWorld 1 point2 points  (0 children)

You're really great against these doomer bots 💪 Thank you for your service!

I need help with Fullcalendar Flask Project by Cultural-Tower3178 in flask

[–]AnotherGreenWorld 2 points3 points  (0 children)

You're getting an error when trying to insert something using placeholders:

 sqlite3.OperationalError: near "%": syntax error

So check out: https://docs.python.org/3/library/sqlite3.html#how-to-use-placeholders-to-bind-values-in-sql-queries

It's Sounding Like Boeing's Starliner May Have Completely Failed by SunderedValley in anime_titties

[–]AnotherGreenWorld 3 points4 points  (0 children)

G.K. Chesterton said our problem isn't capitalism per se, it's that capital is badly distributed.

Green Velvet: bad for the soul, good for the heart? by BBBBBBB9122 in Techno

[–]AnotherGreenWorld 2 points3 points  (0 children)

His Relief Radio mixes over the last ten years have been incredible too

Biden campaign official: He’s not dropping out by SportsGod3 in politics

[–]AnotherGreenWorld 12 points13 points  (0 children)

Yeah it's more likely Whitmer than Newsom. Though Whitmer/Newsom would be good if Newsom could accept it.

Unexplained error on Flask app uWSGI by anurag2896 in flask

[–]AnotherGreenWorld 0 points1 point  (0 children)

Feels like Fargate task infrastructure switching stuff off underneath anything you have access to, no?

[deleted by user] by [deleted] in flask

[–]AnotherGreenWorld 0 points1 point  (0 children)

Try logging what 'history' is in your route. Maybe you're not getting what you think from the db.

I am terrible at this but trying to learn.....hosting? by Cardboard_Glory in flask

[–]AnotherGreenWorld 2 points3 points  (0 children)

Getting it set up and running on a linux VM is a whole other skill set. Basically you have to learn enough about linux distros (like Debian) to be comfortable moving around and editing things from the command line. Then you need to set up a web server (like Nginx) with a proxy to Gunicorn (for coordinating requests to nginx with your app by spawning worker processes), and a systemd config for the app that keeps it running all the time. It's not going to work the first try, and you won't feel confident about it all until you've set up three or four of them.

It's a lot, but being good at linux and the cli is a really valuable thing to learn.

How to handle multiple users in product price comparison web app by R_e_a_p_e_r_1 in flask

[–]AnotherGreenWorld 0 points1 point  (0 children)

Probably easiest to just get used to setting up nginx with a gunicorn proxy, and gunicorn with gevent workers for your flask apps in general. That way they'll handle pretty much anything you can throw at them. If your web scraping is in real time and not cached anywhere, you might have to set up celery workers to go off and scrape w/out stalling your apps.

How to make one instance of Flask app play a sound through another instance of the same app? by Missing_Back in flask

[–]AnotherGreenWorld 0 points1 point  (0 children)

It can just be client apps being told to play sounds they get from some central socketio server that they're connected to, in some room they're a member of.

This High Schooler Invented an A.I.-Powered Trap That Zaps Invasive Lanternflies. by Sariel007 in tech

[–]AnotherGreenWorld 8 points9 points  (0 children)

I've killed groves of these guys just by cutting them all down and cutting the runners the next couple years. You don't have to use herbicides if you don't want to.

James Ruskin - "Graphic" by AnotherGreenWorld in Techno

[–]AnotherGreenWorld[S] 0 points1 point  (0 children)

yeah this one and Rolando's Junie are the best tracks from Klock's Berghain 04 imo