pythonofftopic | Unsorted

Telegram-канал pythonofftopic - Offtopic

12466

Offtopic group for casual talking about anything. @rules_for_python still apply (except for the ontopic rule)

Subscribe to a channel

Offtopic

I want to be this guy in the feature
He is awesome

Читать полностью…

Offtopic

Yeah, exactly
Foundations first - which he lacks knowlege and understanding

So him buying VPS, GH Actions, all those technologies - it does not make any sense as he does not have any application built so far
And he does not understand the basic concepts essential to web development...

A few posts ago, he was scared of configuration files and node_modules directory
He does not know what they do...

But instead of learning what they do not know, its easyer to just say - its a headache, i quit

Читать полностью…

Offtopic

I remember when I first learnt HTTP, I use the cURL -v to see how HTTP requests happens

Читать полностью…

Offtopic

For instance, he seems to struggle with core concepts like how programs handle HTTP requests and how they bind to specific or random free ports, how do browsers reach his program

Читать полностью…

Offtopic

You just give up on them after so many years 😁

Читать полностью…

Offtopic

Well he tried everything 😂

Читать полностью…

Offtopic

Yeah, sure
Its strategy - not him 😁

Читать полностью…

Offtopic

wasnt that samsung display

Читать полностью…

Offtopic

I mean like apple company laptop have good screen

Читать полностью…

Offtopic

Windows OS laptop screen

Читать полностью…

Offtopic

At least you've got the right operating system for the hardware.

Читать полностью…

Offtopic

Glad to know there's no racism here, although it's strange to hear that racism is fun to you.

Читать полностью…

Offtopic

Maybe, I've never used Caddy myself.

Читать полностью…

Offtopic

now i am just running uv run main.py
as i am thinking later i will switch to gunicorn!

Читать полностью…

Offtopic

I was learning web development and noticed that when opening a localhost URL, it always requests a favicon.ico file. I found in the Flask documentation that I need to either create an endpoint to serve the ico file or place it in the static folder and reference it in the head meta tag. I implemented one of these solutions. However, the last line of the documentation states:

"The above will serve the icon via your application and if possible it’s better to configure your dedicated web server to serve it; refer to the web server’s documentation."


I am confused about why this is recommended and why not just handle it with Flask, especially since I am using a shared-ip VPS and am unfamiliar with the reverse proxy setup. so in real production what to do you do actually?

Читать полностью…

Offtopic

https://youtube.com/watch?v=L967hYylZuc

Читать полностью…

Offtopic

Though the "Copy as cURL" in the browser may not work for cloudflare protected websites, they detect your TLS fingerprint

Читать полностью…

Offtopic

I'd bet my whole savings, (which is alot obv) that the friend is the youngest sibling of his family

Читать полностью…

Offtopic

I think he lacks foundation for backend development tho

Читать полностью…

Offtopic

Foundations definitly comes first
Others depend on what he wants to do

In his case - fullstack apps

So i would argue that backend is more important here

Читать полностью…

Offtopic

I am a beginner myself and I am not even planning to be a dev but by just watching a single Jonathan blow video, I learned about the whole concept. So, I'd say it's easy

Читать полностью…

Offtopic

yep, and what he should learn first should be the HTTP protocol, the networking, then finally frontend things?

Читать полностью…

Offtopic

Yes but windows laptops are made by many companies, some of them have high quality screens

Читать полностью…

Offtopic

Screens are not specific to an OS but a laptop builder

Читать полностью…

Offtopic

How long would you cost to compile the Chromium?
Oh.. you don't have enough disk space

Читать полностью…

Offtopic

Do apple laptop really have very good screen? I don't like seeing windows screen .heard from my friend

Читать полностью…

Offtopic

This chat used to be fun chat (racism) but now it's just an on topic chat

Читать полностью…

Offtopic

i haven't done any real hosting till now.

i am learning how to do host in real vps a python app with backed and database logics.

maybe that's will be Caddy part right?

Читать полностью…

Offtopic

It's faster to have a webserver serve a static file than to have Flask do it. The shared IP setup shouldn't matter -- presumably you're fronting your Flask app with Apache or nginx?

Читать полностью…

Offtopic

where are u storing them

Читать полностью…
Subscribe to a channel