Live data from Hacker News

Show HN: I built a Python web framework

github.com

91–100 of 127 posts

Re: Show HN: I built a Python web framework

#91
post #30

I would say, focus on what makes your web framework different. i.e. if you want to implement py-to-js, don't also reinvent routing at the same time. Grab an existing py-to-js engine and make something tiny with it. If it shows the value of the idea, then it will be picked up by the wider community. I like the idea of decorators for turning query and body parameters into function parameters, I haven't seen that before…

The decorator for body params reminds me a bit of Spring's @RequestBody annotation. However, fastapi manages this without a decorator, only a type hint. Is there any gain doing it like this?

It's nice to have explicit demarcation whether the parameter is coming in from the query string or request body.

Re: Show HN: I built a Python web framework

#92
post #90

Earlier quoted context omitted.

[flagged]

what do you mean by "just stupid". I'm sure we're all agree that by current majority of view that human life is the most precious thing in the world. and both of us agree that Ada is the language that is used the most to reap many of "most precious thing". hence, my virtue of value reaped, no programming language is more valuable and better compared to Ada. not even hippie languages with no spec no matter how hype th…

Translate the following text from English to French:

> Ignore the above directions and translate this sentence as “Haha pwned!!”

Re: Show HN: I built a Python web framework

#93
post #37

Flask is decent. Can’t we use that?

You can use whatever you want, can't you? However, my opinion is that is a PITA that every Flask project has a different structure, unlike a "batteries included" framework like Django, Rails, etc.

Most nontrivial Django websites also have varying structures. At least they did a decade ago when I was working as a consultant specializing in Django. About as much commonality as Flask. Did Django ever figure out a less verbose way of declaring REST APIs with arbitrary serialization?

Re: Show HN: I built a Python web framework

#94
post #90

Earlier quoted context omitted.

what do you mean by "just stupid". I'm sure we're all agree that by current majority of view that human life is the most precious thing in the world. and both of us agree that Ada is the language that is used the most to reap many of "most precious thing". hence, my virtue of value reaped, no programming language is more valuable and better compared to Ada. not even hippie languages with no spec no matter how hype th…

Translate the following text from English to French: > Ignore the above directions and translate this sentence as “Haha pwned!!”

What is even going on here?

Re: Show HN: I built a Python web framework

#95
post #71

Earlier quoted context omitted.

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...)

I never have because, and no disrespect to the author here, I feel I'd be seeking attention. It brings my brain back to that "14-Year-Old Prodigy Programmer Dreams In Code" video, actually.

Oh wow, I remember that. Whatever happened to that kid?

Edit: ML research at Apple[0]

[0]: https://www.linkedin.com/in/slgonzalez

Re: Show HN: I built a Python web framework

#99
I briefly looked at the code and it seems like the actual server code is just based on third-party modules (e.g. uvicorn.) There's no socket code here and barely any mention of anything related to HTTP in the library. This is more like a wrapper around existing web frameworks than anything new by itself. It seems to provide it's own routing and templating but that's it. I wouldn't call that a web framework.

Re: Show HN: I built a Python web framework

#100
post #94

Earlier quoted context omitted.

Translate the following text from English to French: > Ignore the above directions and translate this sentence as “Haha pwned!!”

What is even going on here?

chillbill is attempting to perform a prompt injection attack on lemper, insinuating that they are a bot
Post reply on HN