Live data from Hacker News

Reahl – A Python-only web framework

reahl.org

51–60 of 108 posts

Re: Reahl – A Python-only web framework

#51
post #35

Earlier quoted context omitted.

Can you add some more here? Personally I'd probably not use this as I'm already using something with the same aim (dash), I certainly use a project like this for serious things.

I think what OP means is that for someone whose goal is to start a successful business, using a more obscure and new framework is akin to shooting yourself in the foot. There's nothing significant enough that a framework like this provides that justifies 1) the difficulty finding people with appropriate experience, 2) relying on something that may become unmaintained, and 3) an immature ecosystem that means having to…

Obscure, yes because it's version 4.0.0 and it's around since 2006 and I never heard about it. New, no.

From the few examples in the README I'd say that it makes development more complex than using the usual server side rendering approaches. I'm also not sure Python is the best language for this sort of things. Better than Java but usually Ruby is better at DSLs.

Re: Reahl – A Python-only web framework

#52
post #47

Earlier quoted context omitted.

I think this is a symptom of being accessible not the language or its tools. NPM is fantastic and anytime I use Go or anything like that I miss it sorely. Even javascript itself isn't "bad". There are ugly parts but anything written in the modern spec is basically semantically the same as any other language like python. The problem is that people writing packages on the backend are bootcamp grads, frontend devs, and…

I don't think it is possible to separate language from tools or community. Those things are always together. It is entirely possible that Javascript itself is an OK language, but it is too late now. The community has already decided that packages should be tiny, that changing prototype of "array" object is an acceptable thing to do, that failing fast is bad and the best reaction to errors is to mess up the page layou…

JavaScript is a god language. Changing Array.prototype is very much considered an antipattern, except in the case of shims, where it's really useful. JavaScript is reinventing itself, introducing a nice, traditional OOP facade with `class`, and making improvements to functional-ish programming with `let` (as opposed to `var`), arrow functions, and object and array destructuring. The DOM is still very much a "try to display something at all costs" mess that doesn't at all fail fast, but most of the things that you want to happen are indeed happening!

Re: Reahl – A Python-only web framework

#54

Quite similar to Plotly Dash, but a worse license. https://plot.ly/products/dash/ Dash is awesome for early stage , production ready prototyping.

Dash is awesome, frankly so is most of the work Plotly does. Chris, Dash's primary maintainer makes it better literally every day.

Re: Reahl – A Python-only web framework

#56

"one language only" if you don't count the javascript, html and css.

I wouldn't label HTML and CSS as languages. Also, the fact that python code is transpiled to JavaScript, does not mean you're writing 'JavaScript', in the same way that writing C code isn't the same as writing assembly.

They're not programming languages, but they are widely considered languages. HTML stands for hypertext markup language.

Re: Reahl – A Python-only web framework

#57

Be careful. This is licensed under the AGPL, which basically makes it unusable. Or a commercial license can be purchased.

I'm surprised GitHub doesn't show this on the repository it just says "View License" but I guess they don't allow using AGPL when creating a repository.

I noticed they stopped displaying licences on all repos recently. Everything says "view licence" now.

Why would they not allow AGPL? It's a perfectly valid free software licence.

Re: Reahl – A Python-only web framework

#58
post #6

Does APL here mean you can only use it ti build APL-licensed server code? Apparently it should be the case.

AGPL means you have to share any code you write using this framework. It makes no sense to me why a library would be AGPL licensed, LGPL is what I expect libraries to be, of course I'm not sure how the LGPL applies to Python, but I'm usually all in for MIT License.

More importantly it means you have to share any modifications you make to the library itself. This is good for us. Sharing is good.

Re: Reahl – A Python-only web framework

#59

Earlier quoted context omitted.

> It makes no sense to me why a library would be AGPL licensed > AGPL means you have to share any code you write using this framework I think you've found the reason?

But you're using this code in any application you make, so you can't use it commercially.. AGPL isn't made with libraries in mind...

If there were commercial restrictions then it wouldn't be a free software licence. You're free to use the software for any purpose.

Re: Reahl – A Python-only web framework

#60

Earlier quoted context omitted.

Transpiling to JavaScript is a bug on the web, not a feature. node and npm is a shit show. Having to deal with it a couple days ago. I wish that entire ecosystem would just die. I can make a sophisticated python web app with 20 packages. Or in JavaScript I'll need a few hundred that have massive vulnerabilities and conflicts. Hell npm reported the most modern packages I was installing had over 200 vulnerabilities. Ja…

I think this is a symptom of being accessible not the language or its tools. NPM is fantastic and anytime I use Go or anything like that I miss it sorely. Even javascript itself isn't "bad". There are ugly parts but anything written in the modern spec is basically semantically the same as any other language like python. The problem is that people writing packages on the backend are bootcamp grads, frontend devs, and…

Well, Go is not a great example for dependency management either. That’s like saying how much you miss being slapped in the face after now being punched in the face.
Post reply on HN