Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
willchen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
31.
▲
by
willchen
2y ago
Any particular parts that you feel are inadequate with web components? Web components aren't a panacea but they have definitely come a long way in the past decade.
32.
▲
by
willchen
2y ago
Thanks, yeah describing Mesop API as essentially a UI over RPC is a good analogy and is basically what's happening under the hood [1]. I guess one funny thing is that I actually identify as a FE developer more than a Python developer :
33.
▲
by
willchen
2y ago
We posted on Show HN https://news.ycombinator.com/item?id=40567327 ~a month ago and got a ton of great feedback. Since then, we've made a lot of updates to Mesop, including adding support for web components which allow
34.
▲
Is Mesop and Web Components the cure to Front-end fatigue?
(google.github.io)
12 points
by
willchen
2y ago
|
12 comments
35.
▲
by
willchen
2y ago
Thanks! I've used Google's internal version of Bazel but it wasn't until this project where I had to spend a lot of effort getting Bazel working in a new project, which is honestly a lot of work and not very straightforward :
36.
▲
by
willchen
2y ago
Thanks! Yeah, a lot of innovation happening in this space.
37.
▲
by
willchen
2y ago
Good point, we'll try to rephrase this to be clearer. Thanks for the feedback!
38.
▲
by
willchen
2y ago
Thanks! Agree, we wanted to provide a high-degree of customizability with a CSS-like API https://google.github.io/mesop/components/style/ so you can create delightful demos.
39.
▲
by
willchen
2y ago
Thanks, I've filed an issue: https://github.com/google/mesop/issues/359
40.
▲
by
willchen
2y ago
There's similar things in other languages like https://www.gpui.rs/ and https://github.com/linebender/xilem . Mesop also drew inspiration from frameworks like LiveView (for Elixir/Phoenix) ht
41.
▲
by
willchen
2y ago
Thanks for the question! Streamlit is definitely more mature and I think it's a great tool for many use cases. Where I think Mesop shines is that you get a lot of flexibility, just by writing your UI in Python. For example, Mesop has
42.
▲
by
willchen
2y ago
You can customize the UI quite extensively using our Style API https://google.github.io/mesop/components/style/ If you like tailwind, I think you will like this as it's essentially like writing inline st
43.
▲
by
willchen
2y ago
Accessibility is important and the good thing is Mesop is built on Angular Material components ( https://material.angular.io/components/ ) which has invested in supporting a11y. Mesop components are likely missing aria-*
44.
▲
by
willchen
2y ago
This is definitely something we've discussed and I think Python -> WASM is an exciting innovation. Right now, there's some challenges with how large of a WASM binary a typical Python app will compile to (e.g. bundling the std l
45.
▲
by
willchen
2y ago
Yeah, I think the "simple things easy and hard things possible" is a good way of framing this. I've written a blog post about the design philosophy of Mesop and how it differentiates with existing frameworks: https:/&#x
46.
▲
by
willchen
2y ago
Might want to check out: https://flet.dev/docs/cookbook/packaging-desktop-app/ I haven't used it personally (this is separate from mesop), but it looks like a way to program desktop guis (among other pla
47.
▲
by
willchen
2y ago
OK thanks. I've filed an issue here: https://github.com/google/mesop/issues/345 if you could share with us a repro (the Mesop code you're running) on the issue, that would be helpful in debugging th
48.
▲
by
willchen
2y ago
All the python code, including requests are executed on the server Take a look at https://google.github.io/mesop/internal/architecture/ for an explainer on how the client-server interaction works and let me k
49.
▲
by
willchen
2y ago
Could you share the error you're getting locally? Re: calling backend, yeah you can use requests or anything else (e.g API client libs, talk to DB directly). The beauty is that you're just writing regular python code
50.
▲
by
willchen
2y ago
Yeah, you can definitely deploy it to share with others. Check out our deployment guide ( https://google.github.io/mesop/guides/deployment/ ) which shows you how to deploy Mesop apps to Google Cloud Run, but yo
51.
▲
Show HN: Mesop – Open-source Python UI framework
(google.github.io)
130 points
by
willchen
2y ago
|
54 comments
52.
▲
by
willchen
8y ago
I think the problem with bundling chromium is that it wouldn't be evergreen, which means it doesn't have the latest security fixes, etc .
53.
▲
by
willchen
8y ago
I think the +1 button was a really nice feature and something they should've done a while ago, but it's hard to draw the line. If everyone contributes their pet UI feature (e.g. custom theme, use XYZ monospace font), then there wi
54.
▲
by
willchen
9y ago
A bit confusing that there's blue, underlined text that look a lot like links. Perhaps this was posted too early and should actually link to more in-depth docs?
55.
▲
by
willchen
9y ago
Looks very exciting! I've used firebase for some small weekend projects and it's been very productive for me. I'm curious, what's the react native support like for Firestore / firebase in general?
56.
▲
by
willchen
9y ago
Citation?
57.
▲
Prettier now supports Typescript
(github.com)
2 points
by
willchen
9y ago
|
0 comments
58.
▲
Expo for React Native SDK v17.0.0 is now available
(blog.expo.io)
2 points
by
willchen
9y ago
|
0 comments
59.
▲
by
willchen
9y ago
Very interesting DB service. If I'm reading the docs right it sounds like you can't do JOINs across documents? https://docs.microsoft.com/en-us/azure/documentdb/documentdb...
60.
▲
by
willchen
9y ago
Congrats on the release. Could you summarize the pros and cons of picking Relay Modern vs Apollo Client?
More ›