Recent submissions

Comment · 1 month ago
What version of Pyodide do workers run on? Last time I checked, it was 0.28.x.
Comment · 6 months ago
Comment · 7 months ago
Comment · 2 years ago
Is there any way to contact project owners besides X "formerly Twitter"?
Comment · 2 years ago
Comment · 2 years ago
Don't want to sound negative, but copy-pasting results from ChatGPT session to a code editor is not an "integration".
Comment · 2 years ago
Thanks for your notes!

> It looks like Flet is for client-side code.

For web you can package Flet app to client-side (with pyodide, all Python logic runs in the browser, see an example here: https://gallery.flet.dev/todo/) and run as a server-side app (or server-driven) with Python logic running on the server (example: https://flet-controls-gallery.fly.dev/layout - notice faster loading compared to client-side one).

> If I'm writing Python that runs on the mobile device, it must talk to a server to read & write data. Doesn't this still require an API backend, database, cache, etc?

That's correct. Any backend service which provides Python API can be used when running Flet app on a mobile: FastAPI, Firebase, Supabase, Pocketbase, etc, but you use Python to call that which is awesome especially for beginner and non-web developers.

Comment · 2 years ago
SEO - maybe, but IFAIK accessibility in Flutter web app shouldn't be an issue (I just saw this comment from someone on Flutter team: https://news.ycombinator.com/item?id=24922849). They've been recently doing a great job in terms of performance (compiling app to WebAssembly) and size. I agree that Flutter web is not good for building websites, but for web apps, especially those "internal" apps used by a small group of users, it's a pretty decent solution.
Comment · 2 years ago
Flet (https://flet.dev) might be easier for backend devs as it doesn't assume any web experience at all. You use controls (aka widgets) with events (not request/response) and can build not only web, but desktop and mobile apps - all with a single codebase. Disclaimer: I'm Flet developer.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton