Earlier quoted context omitted.
Have you tried Django? https://www.djangoproject.com/
It could be a nice option for small projects! The companies where I saw Django in production had terrible issues. Last.fm is one of them, I can't speak directly about the other one (aerospace). Django is good for a proof of concept but once you hit real-world requirements or your developers (inevitably unaware of the nuances of Django) start adding code and exceptions, it completely breaks down. Django was a good ide…
Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
221–230 of 329 posts
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#222Earlier quoted context omitted.
It could be a nice option for small projects! The companies where I saw Django in production had terrible issues. Last.fm is one of them, I can't speak directly about the other one (aerospace). Django is good for a proof of concept but once you hit real-world requirements or your developers (inevitably unaware of the nuances of Django) start adding code and exceptions, it completely breaks down. Django was a good ide…
> Last.fm is one of them Can you talk a little bit more about this? What kind of issues does Last.fm have that is related to or caused by Django?
The API can't be easily modified -and sometimes XML responses have info JSON don't-, the website is stuck on being served through the framework instead of relying on a modern API... They even have an "old" and "new" database for albums, so when you query some of the albums through the API they come back with no tracks because the API is in the old codebase. It's a mess. And from my experience with Django, it feels a lot like the difficulties we had trying to scale and improve our existing code. It's not that you can't do things: it's just that Django isn't agile enough to adapt. You end up adapting to Django and its -beautiful and magical- ways.
Of course we could blame it on poor design choices, lack of Django knowledge or just call it technical debt... but I believe the framework is the major culprit.
For context: I haven't worked for last.fm, but I manage a third-party client (Open Scrobbler). I've been using their API for more than five years now, had interactions with their devs, read many replies in the API support forum and even tried to find undocumented endpoints that could help me (during this time I found some old profiles and test pages where you can even see screenshots of Django logs!).
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#223Looks similar to Nitro https://nitro.h2o.ai/ and Wave https://wave.h2o.ai/ - both open source. Nitro already works with WebAssembly via Pyodide. (Author here)
Hey! What's the difference between Nitro and Wave? Wave seems like a great fit for my usage.
As an example, here is a macOS calculator clone in ~50 lines of Python: https://twitter.com/crunchingdata/status/1563300652918325249...
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#224Earlier quoted context omitted.
I think a big thing is the limited supported libraries as of now.
Isn't also just the fact you need to send over like 7MB of wasm for even just the standard library?
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#225Earlier quoted context omitted.
> ...I'm an old computer science guy and would love to write software again. I can write plenty of functionality in Python but I don't really want to learn all the JS stuff... Back in early 2000s, i used to be more of a front-end dev...but over the years of being more of a manager (or PM or product manager) i stepped away from daily development...So, you know, I lost my touch. But a few years ago when i tried to dip…
Then you might like Rails 7 which defaults to Hotwire for a minimal-JS front-end.
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#226Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#227Does https://pynecone.io/docs/database/overview use a SQLLite database on the front end (ie a cross compiled version in the browser) or on the server?
Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#228Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#229Re: Launch HN: Pynecone (YC W23) – Web Apps in Pure Python
#230Looks nice, reminds me of swiftUI :)