this post was submitted on 17 Jun 2023
8 points (90.0% liked)

Programmer Humor

37051 readers
112 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

This is my first meme post on the internet, so it might not be funny at all, but then python bad

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 years ago (2 children)
[–] [email protected] 3 points 2 years ago

AFAIK some distributions only allow root to bind ports below 1024 (that is, if you don't so some other witchcraft...)

[–] [email protected] 1 points 2 years ago

You cant run something on port 80 as a normal user. All ports below 1024 are privileged and therefore require sudo.

[–] [email protected] 1 points 2 years ago (1 children)

Love that Python makes it so easy to start a local http server.

[–] [email protected] 1 points 2 years ago

i like it when it saved me from using the bloated nodejs live-server thing

[–] [email protected] 1 points 2 years ago

I use this all the time, but not with sudo and not 80