Fork me on GitHub
#off-topic
<
2020-01-02
>
seancorfield00:01:04

"Start with a straight line"... good advice 🙂

👍 4
jaihindhreddy13:01:34

For the pythonistas out there: Which web framework (or composition of libraries) is the simplest in the Hickian sense? Also, are there examples of python web apps out there that don't use any ORM?

borkdude13:01:18

@jaihindhreddy I don't know the Python ecosystem very well, but the yesql idea has caught on pretty much everywhere it seems: https://pypi.org/project/anosql/

borkdude13:01:21

hah, it's maintained by someone I know from Twitter

jiriknesl05:01:15

Yes, Honza. He’s Czech. “ANO-SQL” - Ano is Yes in Czech, so it’s technically YesSQL 🙂

lispyclouds13:01:42

@jaihindhreddy I tend to use Sanic(https://sanic.readthedocs.io/en/latest/) a lot as it does the minimum required like routing, tls, workers etc and leaves the rest to me. Its blazing fast, async and that serves most of my usecases. combined with asyncpg its quite good. also check out: https://github.com/mekicha/awesome-sanic

lispyclouds13:01:40

i personally am a fan of picking the libs i need and make the thing as opposed to a framework, which is kinda there in clj too. i think

💯 4
jaihindhreddy13:01:29

I'm also looking for something that I can actually understand. Django combined with DRF has all the logic fractionated into an elaborate inheritance hierarchy I can't grok.

lispyclouds13:01:59

sanic follows the Flask model which is simpler IMO

valtteri13:01:32

I did a couple of projects with Flask and I kinda enjoyed it http://flask.palletsprojects.com/en/1.1.x/

4
valtteri13:01:14

It was ~5 years ago though

jaihindhreddy13:01:33

Flask did seem a lot simpler than Django to me too. But I've also heard it said that, Django isn't necessarily complex, it just comes with a lot of batteries.

lispyclouds14:01:25

yeah my main gripe with Django was I need to go the top down way of removing the things i dont need vs composing upwards

lispyclouds14:01:06

plus the tightly coupled ORM in Django was a deal breaker for me

drewverlee21:01:39

What is the official name of these types of time v space/ network / server & client type charts:

drewverlee21:01:15

And does anyone happen to know a tool that draws them? The more data oriented the better 🙂

drewverlee21:01:38

thanks. Yep, thats the name! I'll take a look.

walterl21:01:53

Didn't know about PlantUML. Bookmarked 🙂

drewverlee14:01:51

@mermaid looks cleaner, do you use a reason to prefer one over the other?