Live data from Hacker News

Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

news.ycombinator.com

161–170 of 329 posts

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#161

Hello Nikhil and Alek! Pynecone looks great! I saw your Show HN a couple of months ago, but I hadn't tracked its progress since. I'm a fellow founder in the Education space; would you be interested in building a series of "Tutorials" (we have to find the best shape for this) of building Pynecone apps?

Yes that sounds interesting, let's discuss more!

Awesome Nikhil, I'll shoot you an email. We're in the Data Science education space, so even if we don't end up collaborating, your feedback will be highly appreciated.

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#163
post #50

Love the idea. As someone who's not trying to build The Next Big Thing (TM), but just get some stuff done - I appreciate the focus on the basics. A lot of the python webui's are heavily focused on AI/ML related stuff, which is cool - but what about those of us who just want to build an internal tool that does 5 specific things and nothing more? I try to avoid javascript if at all possible, so "python front to back" i…

> A lot of the python webui's are heavily focused on AI/ML I'm sorry, what?

Yes. As the other commenters said, and perhaps I should have been more explicit. When you look for python web application frameworks, there are the traditional answers like django and flask... but when you try to find something that's more "webui included" there are also a lot of newer solutions (as mentioned, like Gradio) that are specifically designed for ML. As anyone in the Python world knows, it's a super popular use case for the language these days.

I've just happened to run across a few of them recently as I was looking to see what else was new out there for easier ways to build quick and dirty web apps.

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#164
This sounds fine for a very narrow subset of use cases which follow the Happy Path but a complete disaster for anything else. I mean, come on, there are so many React devs who struggle to get it right so how on earth is a Python abstraction layer going to be any better? Just learn JS.

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#165

I'm not exaggerating but this might just be the highest impact library I've seen. As a backend developer who has lots of great project ideas but bail at the thought of having to use JavaScript and HTML, this library is a godsend! My only question is why it took so long for someone to implement it? And where are the equivalent libraries for Go, Rust and Java?

Well, I haven't looked into this one deeply yet, so I'm not sure what the differences are exactly. But there are many existing, broadly similar, projects. I see this as a solution to "I want to make an interactive website, and I don't want to touch the JS ecosystem at all and/or I really prefer python-specific libraries". This is my position exactly, so I sort of keep track of what's available. From that perspective,…

This is a futile pursuit simply because you are creating a layer of abstraction over JS using another dynamic language so there's no real gain other than syntactic sugar.

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#166

I'm not exaggerating but this might just be the highest impact library I've seen. As a backend developer who has lots of great project ideas but bail at the thought of having to use JavaScript and HTML, this library is a godsend! My only question is why it took so long for someone to implement it? And where are the equivalent libraries for Go, Rust and Java?

So ruby has a JS transpiler - opal - https://opalrb.com/ I tried using it a little bit but the reality is if you need JS to make your app more interactable it's really worth it to just learn some JS. As soon as you need something complex the extra layer of abstraction just gets in the way and becomes more of a headache, and if you don't need anything complex then you don't need a fancy JS solution in the first place.…

I'm working on https://github.com/mayu-live/framework which is 100% server side Ruby. It's kinda like React/Preact, but server side, and Ruby. No JavaScript required (it's not even supported).

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#167
post #164

This sounds fine for a very narrow subset of use cases which follow the Happy Path but a complete disaster for anything else. I mean, come on, there are so many React devs who struggle to get it right so how on earth is a Python abstraction layer going to be any better? Just learn JS.

Lol what a silly opinion.

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#168

I'm not exaggerating but this might just be the highest impact library I've seen. As a backend developer who has lots of great project ideas but bail at the thought of having to use JavaScript and HTML, this library is a godsend! My only question is why it took so long for someone to implement it? And where are the equivalent libraries for Go, Rust and Java?

So ruby has a JS transpiler - opal - https://opalrb.com/ I tried using it a little bit but the reality is if you need JS to make your app more interactable it's really worth it to just learn some JS. As soon as you need something complex the extra layer of abstraction just gets in the way and becomes more of a headache, and if you don't need anything complex then you don't need a fancy JS solution in the first place.…

You are assuming people use Opal because they don't want to learn JS. In reality it's that JS is a very messy language compared to ruby.

You can be a lot more productive if you avoid JS entirely.

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#169

Earlier quoted context omitted.

So ruby has a JS transpiler - opal - https://opalrb.com/ I tried using it a little bit but the reality is if you need JS to make your app more interactable it's really worth it to just learn some JS. As soon as you need something complex the extra layer of abstraction just gets in the way and becomes more of a headache, and if you don't need anything complex then you don't need a fancy JS solution in the first place.…

JS is complicated because the browser environment is complicated. If it's going to be rendered by and live in a web browser it will either be complicated or limited in some way (like low code/no code tools).

That's not really true. It's complicated because the language is one of the worst to manage.

Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python

#170
I love this. I tried to get a small PoC working last week and encountered a bug on a very trivial case (rendering a python list to an unordered list element), so may be a bit early for my blood, but I'm excited to see how this project matures and will continue to follow along!
Post reply on HN