.
Thanks!Additional question: what OS would you prefer: Mac Os or Linux?
Ronald
Thanks!Additional question: what OS would you prefer: Mac Os or Linux?
From a dev point of view, they are basically the same for python.
Ronald
Windows isn't Dev friendly - it makes easy things complicated. Especially since the normal command prompt doesn't support basic terminal commands
Doug
I switched from mac to ubuntu and I love it
Doug
works great
.
"Windows must die" )) P.s As my mates at University said
Doug
It will, or it will evolve eventually
Ronald
MS should fix command prompt first.
Ronald
😂
Ronald
can't even SSH natively
Doug
Yeah, the ubuntu VM isn't good to work with at all
Ronald
need to download 3rd party software
.
I don't like Mac cause its source code is closed and Apple laptops cost pretty much
Ronald
Yeah, the ubuntu VM isn't good to work with at all
yeah i'd rather wipe windows completely and install Ubuntu
Doug
that's essentially what I did. I don't regret it at all
Doug
The only thing I miss are games, but I work more than game so it's fine with me.
⟨ Simon |
can't even SSH natively
on linux you need to install openssh too lol
⟨ Simon |
ssh has nothing to do with the terminal
Doug
openssh usually comes preinstalled on a lot of builds
⟨ Simon |
doesnt make it a feature of the command prompt ¯\_(ツ)_/¯
Ronald
on linux you need to install openssh too lol
but even then, there's no way to use it on command prompt which is Window's built in "terminal"
⟨ Simon |
oh and https://i.sitischu.com/d6222
Doug
windows adaptation of openssh doesn't even allow for a config file to set hosts, etc.
Ronald
then you installed it wrong 🤷🏻‍♂️
I haven't used Windows since Windows 7
⟨ Simon |
windows adaptation of openssh doesn't even allow for a config file to set hosts, etc.
oh yeah, config files dont work at all https://i.sitischu.com/87590
cj
I haven't used Windows since Windows 7
the last windows I used was XP 🤷🏻‍♂️
Ronald
anyway, I didn't have to install anything. 🙂
Ronald
Ronalds-MacBook-Pro:~ ronald$ ssh usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
Ronald
But anyway, long story short a few years ago a client's site crashed and I wasn't home, but my dad luckily had his laptop nearby and I tried SSH onto server from there and quickly leart that I need to install putty to be able to ssh as nothing happened from cmd
⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠
¯\_(ツ)_/¯
⟨ Simon |
¯\_(ツ)_/¯
oh hello there
cj
¯\_(ツ)_/¯
haven't you fixed your userbot yet?
⟨ Simon |
he never learns
⟨ Simon |
his fault ¯\_(ツ)_/¯
cj
¯\_(ツ)_/¯
cj
🤔
Anonymous
🤔
⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠⁠
George
Le Createur
Emacs
maybe
Gio
Hi guys, any Django full stack developer available for a full time job?
Le Createur
interesting
Le Createur
i am available
Gio
interesting
I'll pm you
Guillermo
Anonymous
You need to install a package called pillow that handles image related stuff, and also run python manage.py collect static command may these thing help you.
Luis
Oooh god has joined the group
Luis
😱
Anonymous
Website is on live but images are not loaded in python anywhere server... Please help
Anonymous
Please help me...Any solution.. I was searching ,not able to rectify issue
Cavidan
Hello guys How to Flask MYSqL Db connection in flask framework
Cavidan
?
Cavidan
Help me pls...
⟨ Simon |
First off read the group title
⟨ Simon |
Second off learn python
Anonymous
Set static path properly
STATIC_URL = '/home/manikanta2305/phoenix/static/img/'.... I set the static path..This way
Cavidan
Sorry, but I'm in the 1st queue I know python. 2nd shift is written in Flask and Django python. So it's not right to make a difference with logic companions.
Anonymous
phoneix is your project ?
For testing code...I used that name
Mirco
For testing code...I used that name
But it's your main Django folder right ?
Anonymous
Yes
Mirco
Yes
So why you hardcoding your path ? Use os.path.join() or Pathlib to specify the path to your folder It's more reusable and you avoid typo issues
⟨ Simon |
Sorry, but I'm in the 1st queue I know python. 2nd shift is written in Flask and Django python. So it's not right to make a difference with logic companions.
there is a difference between Django and flask, if you have to ask how you can use something with a db chances are you don't know python enough
Francis
Hey guys, how do I return a queryset as Json. I get error: Object of type Category is not JSON serializable