Live data from Hacker News

Show HN: Mesop – Open-source Python UI framework

google.github.io

51–56 of 56 posts

Re: Show HN: Mesop – Open-source Python UI framework

#51

Earlier quoted context omitted.

If it's not rendered, then it's not supported. This is very obvious in this case, where the square-brackets have no additional value, but make it just harder to read the text. The links are getting rendered independent of the brackets, so markdown-syntax has no function here.

I think most markdown symbols add semantic comprehension or emphasis value in _plain_ text. That is functional[^1] even here. Including the squared circle for inline links. [^1]: As in functional requirements, is serving to convey the markup intent in a non rich text rendering.

Something tells me you felt clever posting this. If you're open to a different perspective:

The underscore makes your text worse to read, IMO. Same with the MD anchor syntax.

HN supports italicizing by wrapping an expression with asterisks *. Why insist on a foreign standard?

HN commenters use the [{i}] notation all the time for footnote referencing. Which can be used for links, declutttering the main text.

Why add a ^?

Re: Show HN: Mesop – Open-source Python UI framework

#52
This is a Great project I am really looking forward to using for internal apps. IMO a central requirement for internal apps is auth, especially OIDC/SAML-type auth. How do you recommend implementing this in mesop?

Looking through the docs I am guessing a nice place for auth to hook into is the on_load parameter of the pages API? https://google.github.io/mesop/api/page/#mesop.features.page...

Re: Show HN: Mesop – Open-source Python UI framework

#53

This is a Great project I am really looking forward to using for internal apps. IMO a central requirement for internal apps is auth, especially OIDC/SAML-type auth. How do you recommend implementing this in mesop? Looking through the docs I am guessing a nice place for auth to hook into is the on_load parameter of the pages API? https://google.github.io/mesop/api/page/#mesop.features.page...

This seems like a direct copy of reflex.dev https://reflex.dev/docs/events/page-load-events/

Re: Show HN: Mesop – Open-source Python UI framework

#54
I have taken a thorough look at the source and I very much enjoyed it.

The project highlights the utility of Bazel more than I have seen before. How long did it take you (and others) to become as fluent as you are in Bazel and working with it?

Additionally, you (Will) seem to have a very intuitive grasp of build processes in general, notably many of the scripts are fun to dive into and have a very clean design. How did you familiarize yourself so well with those sorts of concepts? Do you have any recommended readings or side-projects you’d recommend tackling to get experience with?

Re: Show HN: Mesop – Open-source Python UI framework

#55
post #51

Earlier quoted context omitted.

I think most markdown symbols add semantic comprehension or emphasis value in _plain_ text. That is functional[^1] even here. Including the squared circle for inline links. [^1]: As in functional requirements, is serving to convey the markup intent in a non rich text rendering.

Something tells me you felt clever posting this. If you're open to a different perspective: The underscore makes your text worse to read, IMO. Same with the MD anchor syntax. HN supports italicizing by wrapping an expression with asterisks *. Why insist on a foreign standard? HN commenters use the [{i}] notation all the time for footnote referencing. Which can be used for links, declutttering the main text. Why add a…

Certainly, italics in asterisks, but underscores are valid too in plain text, double either to get bold. I wanted the _underscore_ since I was talking about plaintext and didn't want it disappeared, though I *suppose* this works too.

^ means superscript, as footnote numbers are in publishing, but more importantly, https://github.blog/changelog/2021-09-30-footnotes-now-suppo...

Re: Show HN: Mesop – Open-source Python UI framework

#56
post #54

I have taken a thorough look at the source and I very much enjoyed it. The project highlights the utility of Bazel more than I have seen before. How long did it take you (and others) to become as fluent as you are in Bazel and working with it? Additionally, you (Will) seem to have a very intuitive grasp of build processes in general, notably many of the scripts are fun to dive into and have a very clean design. How d…

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 :(

What helped me the most was looking at other projects using Bazel with similar tech stacks and then assembling it together, e.g. :

- https://github.com/angular/components - https://github.com/tensorflow/tensorboard

Alex Eagle of https://www.aspect.build/ has a lot of great resources on using Bazel - both on YouTube and the aspect website.

Post reply on HN