Kyle MacFarlane

Results 18 comments of Kyle MacFarlane

That wiki link is for something different (the "Edit with Vim" shell extension). I'm talking about the native "open with" menu option. Right click a file > open with >...

I don't actually use django_dramatiq but I just run into the same problem with plain Django + Dramatiq. Are you wrapping any DB calls in sync_to_async? Here's a standalone Django...

A fix seems to be to send `db.close_old_connections()` through `sync_to_async()` so that it finds and cleans up any connections in there. ``` import asyncio from django import db from time...

It could also be a regular thread somewhere (or running dramatiq with --threads x and non thread safe code). From what I understand sync_to_async is just a wrapper around an...

The notes also say that Safari on Windows requires a scroll to work. This isn't exactly true and the actual problem is that the swf won't run until it's displayed....

If you're already using supervisor inside a container then you can add a process like this to the end of your development config. You will need `procps` and `inotify-tools` installed...

I just ran into what I assume is the same issue. I'm glad you found the solution as I'm sure this would have been trial and error. I have a...

The fix from #135 breaks Firefox if the script is loaded before the body tag. Appending to body needs to be delayed with something like: ``` document.addEventListener("DOMContentLoaded", function() { document.querySelector("body").append(this.noSleepVideo);...

I also had this issue a month or two ago and simply solved it by setting self.sid to an instance of local(). I could create a pull request for the...

When would reentrancy even be an issue in a Django app? Thread safety on the other hand is a major problem since the model managers are global. So if you...