Hacker Newsnew | past | comments | ask | show | jobs | submit | kyahwill's commentslogin

This reminds me of that simpson meme where basically you can just call upon Australia's prime minister


Not gonna lie, this looks splendid!


I'm in this comment and I don't like it


I still don't understand how some companies dont realize that investing internally could lead to marginally bigger profits.


It /could/ do, sure. There's uncertainty. Companies deal with uncertainty all the time.

Perhaps they didnt believe that internal investment could actually bring profits.

Perhaps it could bring profits, but the opportunity cost wasn't worth it.

Businesses can do all sorts of investments, beyond upgrading their file serving setup to meet the ideals of IT workers.


It is easier to be inefficient and cheap on salaries.


I somehow agree with this. As a web developer who started on a framework first approach (Vue + Django), I was having one hell of a time trying to figure things out because of my lack of fundamental knowledge. I think abstraction is okay but you have to understand that just because you can make abstractions doesnt mean you should.


A young colleague of mine who has also started "framework first" with Vue + Django was recently confused about what a "serializer" was. They have "written some" within Django REST framework, but he was confused about their purpose.

I had to explain the problem with a single wire signalling bits in a series, recipient having to de-serialize them into some data structure. Then I had to explain that TCP emulates such a single wire using small packets.

I think that they have understood, but it was a funny feeling explaining this to someone who routinely deserializes form and JSON data, then serializes them into SQL queries, then deserializes query results in order to serialize them into templates or JSON.


I had a similar starting point (spring web apps), but reached a different conclusion.

The layers and layers of indirection obscured what HTTP is for me, and it took me too long to understand it.

Have a look at https://learnbchs.org/easy.html for a real "oh that's what HTTP is?" moment.


I usually teach HTTP with `nc example.com 80` and then `nc -lp 8080` plus a browser.


whats the differene with this from flask?


Second line of the page:

It(bottle.py) is distributed as a single file module and has no dependencies other than the Python Standard Library.


Looks like its only dependencies are the standard library. So it appears to be a more lightweight Flask. Should've been called phial :D


Bottle came first, flask was a play on the name.


Flask was a joke it really got out of hand


Flask is a high-level wrapper around werkzeug, with some stock components like jinja2 thrown in.

Basically the Ikea of web site tools.

If that seems a hassle, go Django.


TIL. Didn't realize this wasn't a new project (but also didn't read past "WSGI").


In comparison, flask is more like express for the javascript ecosystem. You can cover simple scenarios with bottle, its usage is straightforward


Sometimes the joke writes itself.


This.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: