Replies
-
-
-
Joe 3 years agoOff the back of this, I'm taking a look at tailwind to see if that can help with the re-style and dark mode. The CSS is all over the joint TBH (I'm not a frontend guy). @sigg3 I also took a deeper look at Starlette. It does seem pretty nice, Trying to find if it has a nice way of moving work to a seperate process/thread. Resizing images will block the event loop too long.
- 1
-
-
Joe 3 years ago@sigg3 yea they're all valid points. It's not around the change to Python itself, I still love the language. It's more around the fact that their are too many projects competing to make asyncio frameworks and tools. None of them seem to support all the features we get with Flask out of the box. Asyncio doesn't help with speed of code, just concurrency.
- 1
-
Sigg3 3 years ago@joe I'm not sure what you mean, since I'm entirely new to it and just an amateur coder. However, asyncio doesn't take away the GIL, it just optimizes its usage IMO. For me it comes down to one more method for effective use of resources (e.g. httpx.get that reuses the TCP session in context is incredibly fast when compared to requests.get). It doesn't really change python, just makes parts of it faster at runtime :)
- 1
-
-
-
-
-
Joe 3 years agoThe goal at the moment is to re-write the entire site to clean up a lot of the cruft. But front end is always transferable. If you have any questions feel free to ask :)
- 1
-
-
-
-
Sigg3 3 years agoI've recently used jinja2 (last three months) and "know" css from before, perhaps I can help..?
- 2
-
Joe 3 years agoThe front end is all CSS and Jinja2 templates, the CSS is a bit of a mess because I didn't really know frontend stuff when I wrote Pjuu. It's not the worse though.
- 1
-
-
Joe 3 years agoIt's already in the list and has been for a long time unfortunately. I real struggle with time these days
- 2
-