Live data from Hacker News

Reflex – Web apps in pure Python

github.com

111–120 of 152 posts

Re: Reflex – Web apps in pure Python

#111
post #48

Why wouldn't it say nowhere (README, the website) what does it actually do and how? It's all marketing bullshit such as: Get up and running in seconds! Build web apps in minutes. Deploy with a single command. Build anything, faster. Create your whole app in a single language. Don't worry about writing APIs to connect your frontend and backend. This kind of shit might catch a manager's eye, not a developer's one.

Dude its pretty clear what it does just from scrolling down the readme. “Its just like php” if that helps you, but you can also write frontend state management and dynamic behavior right there in the “template”, all in Python.

Re: Reflex – Web apps in pure Python

#112

I feel like everything is eventually going to go full circle back to Google Web Toolkit[0]. The original "write it all in X language" toolkit with compile to JavaScript functionality. [0]: https://www.gwtproject.org/overview.html

Any idea what/which websites are written using GWT?

It was Google Adwords that was the big one to my mind...with Ray Ryan (rjrjr) leading a lot of those efforts.

Re: Reflex – Web apps in pure Python

#113
post #21

I have built three quick sites with Reflex and it is fantastic for a systems programmer like myself who has no interest in learning Javascript. The recent addition of supporting Tailwind CSS works well and makes it very easy for me to make not terrible looking frontends. Their discord is very helpful for questions and issues that I have raised on their GitHub are responded to quickly. I wish them the best with their…

Could you share your sites?

Re: Reflex – Web apps in pure Python

#114

I love this style of web development. I'll go to lengths to avoid doing anything {Java,Type}Script when building web applications. My last favorite was Seaside w/ Smalltalk – not quite the same thing as this project though (Seaside works mostly server side).

Just asking based on your handle / name, have you tried parenscript for your js ?

Re: Reflex – Web apps in pure Python

#115

Earlier quoted context omitted.

I haven't kept up with web framework type things in awhile—how commonplace is this? from here it looks kind of insane.

We are keeping all our telemetry anonymous and don't store/track ips https://nextjs.org/telemetry https://docs.streamlit.io/library/advanced-features/configur...

Sorry, but this is bullshit.

Re: Reflex – Web apps in pure Python

#116
post #80

Earlier quoted context omitted.

We have 5 badges in total, and 1 of them to points to our integrations test passing. And the integration test do serve an important purpose in making sure we are compatible on multiple different os and don't make a change that would break WSL for example. More info here https://github.com/reflex-dev/reflex/tree/main/.github/workf... The others are the current latest version, python version we support, how many people…

They serve no purpose, other than make life hard for disabled people. I expect tests to always be passing before merging anything. pypi metadata has the list of supported python versions, in text format A link to your documentation? Ok but why can't it be a regular link? I use forums or IRC, so the online users on whatever aren't super meaningful to me personally.

Can you be more specific in your criticism wrt disabled people? It's a lot easier for someone to receive feedback when it's specific, especially when discussing something like a README. It can be helpful to others reading who are on the fence about badges and their ilk, too.

What, specifically, is the issue with the badges concerning accessibility? Most badges I see can be reduced to a div containing two spans and some text, which should be usable with a screen reader. Is there missing alt text, aria attributes, etc?

Re: tests, it comes down to developer culture. It may be acceptable for experimental or alpha/beta versions to not pass tests, live on a separate branch, etc. Distros should be live-testing any packages they ship, too; upstream releases aren't guaranteed to be tested, depending on the upstream you're working with. It's nice to know that the latest commit is actually working without having to double check CI locally. However, tests also aren't created equally. The project author(s) could be learning how to refine their tests, and not actually trust the CI's results (yet).

Can we argue that's sloppy, or that they should've never done that before merging and pushing? Sure. Not sure where it gets us. Actionable feedback and cautionary advice is useful, though.

Re: Reflex – Web apps in pure Python

#117
post #31

Worth noting is that this framework has telemetry [1] enabled by default [2] which gathers and sends off various information about your system unless you explicitly disable it. [1] https://github.com/reflex-dev/reflex/blob/919f239168d789056d... [2] https://github.com/reflex-dev/reflex/blob/919f239168d789056d...

I haven't kept up with web framework type things in awhile—how commonplace is this? from here it looks kind of insane.

I was shocked when I discovered that Dart, a programming language, included telemetry.

Of course, since it’s coming from Google, I suppose it shouldn’t have been quite so surprising.

Re: Reflex – Web apps in pure Python

#118
post #48

Why wouldn't it say nowhere (README, the website) what does it actually do and how? It's all marketing bullshit such as: Get up and running in seconds! Build web apps in minutes. Deploy with a single command. Build anything, faster. Create your whole app in a single language. Don't worry about writing APIs to connect your frontend and backend. This kind of shit might catch a manager's eye, not a developer's one.

Dude its pretty clear what it does just from scrolling down the readme. “Its just like php” if that helps you, but you can also write frontend state management and dynamic behavior right there in the “template”, all in Python.

that doesn't help. I looked at the modules it makes use of and the first one is "openai" (Edit: whoops, it's in their example, not in their requirements. disregard).

php didn't use openai IIRC

i kind of cannot imagine what this would use openai for unless it's using it to write a web application for you. which is pretty ...not like php.

Re: Reflex – Web apps in pure Python

#119
post #118

Earlier quoted context omitted.

Dude its pretty clear what it does just from scrolling down the readme. “Its just like php” if that helps you, but you can also write frontend state management and dynamic behavior right there in the “template”, all in Python.

that doesn't help. I looked at the modules it makes use of and the first one is "openai" (Edit: whoops, it's in their example, not in their requirements. disregard). php didn't use openai IIRC i kind of cannot imagine what this would use openai for unless it's using it to write a web application for you. which is pretty ...not like php.

To be fair I don't think Reflex does use openAI, that's just the code example they used.

I think its a decent example project, its easily readable and you can understand what they're doing, but I think as a general rule its better to do something without external unrelated libs. An AI image generator just seems a bit too specific of an example for something that fundamentally has nothing to do with AI.

Re: Reflex – Web apps in pure Python

#120
post #118

Earlier quoted context omitted.

that doesn't help. I looked at the modules it makes use of and the first one is "openai" (Edit: whoops, it's in their example, not in their requirements. disregard). php didn't use openai IIRC i kind of cannot imagine what this would use openai for unless it's using it to write a web application for you. which is pretty ...not like php.

To be fair I don't think Reflex does use openAI, that's just the code example they used. I think its a decent example project, its easily readable and you can understand what they're doing, but I think as a general rule its better to do something without external unrelated libs. An AI image generator just seems a bit too specific of an example for something that fundamentally has nothing to do with AI.

ah you're right, I thought I saw it in their requirements, it's just in their example code. got it.
Post reply on HN