Live data from Hacker News

Show HN: I built a Python web framework

github.com

51–60 of 127 posts

Re: Show HN: I built a Python web framework

#51

Earlier quoted context omitted.

What do you mean by headless UI components?

Basically the ui layer and the backend layer which and the operational layer need to be combined into one seamless tool. Right now you have the write a "frontend" and a "db connection + backend logic layer". And by headless I mean something which builds on what the web provides like buttons but adds a whole lot more of components which are used but are unstyled.

Sounds like Vaadin for Java, I think.

Re: Show HN: I built a Python web framework

#52
post #10

Are you really 15yrs old? is the biggest question here..

Have noticed that teens tend to indeed say they're x old on stuff they're doing.

While some do, in order to increase their credibility, there's also a lot of survivorship bias/selection bias. There are a lot of projects (or comments) by teens that don't disclaim their age.

I know I don't mention my age because I want people to judge my work objectively. (not to imply that I'm a teenager...)

Re: Show HN: I built a Python web framework

#53
post #34

To what does it owe its lightning fast-ness, and how does it compare against other frameworks? Edit: It looks like some of the hot-paths are implemented in C. Interesting! (I would recommend pointing this out in the readme)

> To what does it owe its lightning fast-ness,

this exactly. stop handwaving vague marketing terms, and spell out the technical reasons. this isn't good enough for a show HN imo

edit: just read that OP is 15 yo. ok, i get it. well, treat this is advice to improve your technical documentation, it'll do wonders for your career :)

Re: Show HN: I built a Python web framework

#54

I am waiting for someone to finally give me just a wysiwyg tool to make web pages and apps so I don't need to program anymore. I just want to make content, not make a machine to then make my content with. It's like building a wood cutting machine when I just want to be warm in the winter.

While I get the sentiment, as someone who knows CSS and HTML5 well, I can't help but feel there are reasons why this can't work.

Aside my web involvement I did a lot of print design as well. For print wysiwyg is perfectly fine.

But how would you wysiwyg for a medium that is inherently multifaced? I mean your window could be small, or huge, portrait or landscape, it could have colors or not, heck it could even be print.

So you won't get what you see unless you replicate the exact conditions under which it was seen when tou made it. Do you want that thing that you scale to stay at fixed size, should it stay at fixed distances to the viewport borders? If yes which ones? What happens if users set their font sizes differently and your perfectly scaled text box overflows? Either that wysiwyg editor has very opinionated choices that won't work for half of the people, or it will have auch a complexity in its options you will be better off with learning css in the first place.

Web is not print, nobody will get what you see.

That being said, if you are really just about content, I would just use the most basic default browser css (so basically none) and html and call it a day. That won't look shiny, but if people want shiny they can do their own styling. Some of my favourite blogs do this.

Other than that I wouldn't discount the fact that a backend can be a crucial part of the content as well as it allows you to do valuable things that are geared towards the consumption of said content, e.g. taxonomy (tags, categories, authors, consistent dates), but also more specialized things like linking between relevant topics, etc.

Of course you could also do that by hand, but then you wouldn't be focusing on the content, wouldn't you?

In the end it is your content and you want to present it in a certain way. If you want precise control over the how, you have to deal with these things — if it ia just about the content, use whatever CMS you like and never look back.

Re: Show HN: I built a Python web framework

#55
post #44

Earlier quoted context omitted.

Basically the ui layer and the backend layer which and the operational layer need to be combined into one seamless tool. Right now you have the write a "frontend" and a "db connection + backend logic layer". And by headless I mean something which builds on what the web provides like buttons but adds a whole lot more of components which are used but are unstyled.

Sounds like a DSL to facilitate building CRUD. I wrote one in PHP and 3 devs were able to build and maintain a 800 page CRUD system with it (still going strong, makes a ton of money). It has complex business logic, is fully unit testable and allows for escape hatches when needed. I'm in the process of rebuilding the DSL in C# with the lessons learned (because Entity Framework is awesome). And might open source.

Do you have any way to contact you? Would love to hear more about this. Also a C# developer and love EF. I think the standard library from Microsoft in general is the highest quality, most powerful and flexible library that’s out right now. I see so much potential to make a system that solves the 90% of use cases more simply, with enough flexibility to drop down lower when needed, and I think C# would be a great tool to build this.

Re: Show HN: I built a Python web framework

#57
post #25

Earlier quoted context omitted.

In what world is this an appropriate comment?

I really wonder what that dude was doing when he was 15 years old, should have been a difficult childhood...

When I was 15 I thought I was hot shit even though I wasn’t doing anything interesting. It would have been good if someone had told me that, so I had pushed harder and not been satisfied with what I was doing.

Re: Show HN: I built a Python web framework

#58
post #38

Flask is decent. Can’t we use that?

Whatever happened to web2py? I remember that being brought up a lot in these discussions…

Stuck for a while in python 2.x world with its "always backward compatible" pledge... then it lost attention I guess. Also, questionable technical choices. Now py 3.5+ compatible, but no compelling reason to use it.

Re: Show HN: I built a Python web framework

#59
post #25

Earlier quoted context omitted.

I really wonder what that dude was doing when he was 15 years old, should have been a difficult childhood...

I get what he’s going for I guess but “this isn’t much of an achievement” is sociopathic

What’s your honest appraisal of this code? Would you ever under any circumstances use it? If not, then be honest and tell them to keep pushing. The quote is that it is not much “yet”. It’s a good first step, but having too high of a self-appraisal is just as bad as having too low. As an elementary school kid I worked for several years on a BASIC game where you could fly an ASCII art ship around the screen. It was not good, and I would have been better off if some adult had been honest and told me that I was doing it wrong and sent me down a better path. Instead I thought I was hot shit because I was the best programmer at my school. It wasn’t until years after college that I really even began to understand programming, and having too high a self-conception hurt me for a long time.

Re: Show HN: I built a Python web framework

#60

I am waiting for someone to finally give me just a wysiwyg tool to make web pages and apps so I don't need to program anymore. I just want to make content, not make a machine to then make my content with. It's like building a wood cutting machine when I just want to be warm in the winter.

You might try a happy in between like something along the lines of Streamlit.
Post reply on HN