#ot1-perplexing-regexing

1 messages ยท Page 7 of 1

rough sapphire
#

@leaden goblet

leaden goblet
#

as i said

#

type in:

#

pip install pyinstaller

rough sapphire
leaden goblet
#

send ss of whole command bruh

rough sapphire
leaden goblet
#

hmmmm

#

reinstall it

rough sapphire
#

how

leaden goblet
#

uninstall it

#

then install again

#

and make sure you install it in PATH

rough sapphire
#

how

#

uninstall py

#

commajnd?

leaden goblet
#

pip uninstall pyinstaller

rough sapphire
#

and then pip install py

#

?

leaden goblet
#

yes

rough sapphire
#

done

#

what next

leaden goblet
#

try it again

rough sapphire
#

what it ry

crystal wraith
#

how would someone write this in code?

rough sapphire
#

@leaden goblet what to do now

cunning dove
#

Never indenting with tabs !!!!

#

Convert tabs to spaces !

wraith hound
#

with the caps

floral apex
#

Good GPT-3

harsh tundra
#

Nice usernames

#

Now I find my usernames boring

uneven pine
#

Here's my winfetch, I'm now going AFK, see if you can find all the cursed things.

thick ore
#

what

#

u have

#

48gb ram

low chasm
#

double gpu 0_o

lusty rune
thick ore
#

ma i swear i need 2 GPUs for school

lusty rune
#

definitely for homework

grave cove
graceful basin
#

237 GB drive

tulip cedar
#

Then there's me for whom even a 480 GB SSD is less

spare oriole
#

is there an alternative, in place replacement for cchardetect nowadays?

#

@carmine bane since i guess this is venturing to OT, what'd you major in

carmine bane
#

I didn't major in anything

#

SWE as a high school graduate

#

Graduated high school 4 months ago

spare oriole
#

oh right, i forgot bout you

carmine bane
spare oriole
#

lucky ass

carmine bane
#

Extremely ๐Ÿ˜…

#

Got lucky in spawn RNG

spare oriole
#

welp that's the life, i cant complain tho

#

i've had it pretty well in life so

carmine bane
#

Like every other Asian parent wouldn't have allowed their kid to pursue no college

#

My parents supported my path

spare oriole
#

are your parents AOTA?

carmine bane
#

AOTA meaning?

spare oriole
#

anything other than asian

carmine bane
#

No

#

Both are first gen

#

Both immigrated from China

#

They're just very heavily assimilated to the idea of American Dream and everything

spare oriole
#

ah gotcha

carmine bane
#

So they're like "ok this little shitter has a plan at least"

spare oriole
#

ntmu little shitter

carmine bane
#

My sister going to college next year and has 0 plan YEgrey_agonyLaugh

carmine bane
spare oriole
#

i came to college cuz i was bored

#

but now im bored in college

carmine bane
#

What year?

#

College right after high school?

spare oriole
#

nah, 4 years off

#

so im 4 years late to college, this is my first semester

carmine bane
#

Oh nice!

#

Long time to go ๐Ÿ˜…

spare oriole
#

i had a lot of fun

carmine bane
#

I just moved to San Jose last month so I have 0 fun

#

Work 24/7

#

0 friends 0 bitches

#

๐Ÿ˜ฉ

spare oriole
#

you mean you dont have coke induced orgies in san jojo

carmine bane
#

That's probably San Fran shit YEgrey_agonyLaugh

spare oriole
#

prolly

#

move to san fran then

#

problem solved

carmine bane
#

Nah

#

Mfs gonna run me broke ๐Ÿ˜ฉ

#

My only issue with San Jose really is that so many people are first gen here

#

Company I work for is like 90% first gen immigrants

#

And like, the words they say are Greek as it is cuz I never been in such an environment

spare oriole
carmine bane
#

But their accent makes it even worse

spare oriole
#

get yourself an interpreter

carmine bane
#

Which, no one does

#

But I good boy

#

People just come on Mondays only

#

Oh well

carmine bane
#

Ok including morning traffic that shit is 2 hours

spare oriole
#

seems like a worth sacrifice

#

worth it for the coke and molly induced orgies tho

carmine bane
#

That's a desperate sneaky link

#

Why not you come over and we can have some fun CH_Shy

spare oriole
#

kinky

#

only if you come to NY

carmine bane
#

I may actually

#

If I ever move from this company

#

And get a job in NY

spare oriole
#

your company doesnt have positions in ny?

carmine bane
#

But probably won't happen for a couple of years

carmine bane
#

100 people total

spare oriole
carmine bane
#

Bruh

#

Oh you're not in NYC?

spare oriole
carmine bane
#

Yeah

#

70 people in our branc

#

30 people in India branc

#

h

#

h

spare oriole
carmine bane
#

Oh you nasty

#

You took 4 year break to party?

#

That's gigachad move

spare oriole
#

yeah, to all these places

carmine bane
#

The fuck

#

Doesn't NYC have

#

A fuckton of desperate people

#

Both men and women

#

Those mfs must've been special

spare oriole
#

i mean i pretty much lived in medellin for like a year

carmine bane
#

Ic

#

You crazy fr

spare oriole
#

chilling out for a bit

#

i feel 4 years should do it

#

in 4 years you should be in a directoral position and hire me ez pz

carmine bane
#

I don't think I have the time to do that lorsob

spare oriole
#

hide the nepotism away

carmine bane
carmine bane
#

It's okay it's for the good of the company

spare oriole
#

a week in medellin would do you some good

carmine bane
spare oriole
#

theres a lot of asians who go there actually

carmine bane
#

To do this frequently

spare oriole
carmine bane
#

But lorsob

#

I'd rather go somewhere else

spare oriole
#

then yo ass boring

#

idk why you complaining then

carmine bane
#

Nah fr gotta go to

#

Ok

#

My only gal

#

goal

#

For 2022/2023

spare oriole
carmine bane
#

Other than becoming a 10x programmer

#

Is going to a Jacob Collier concert somewhere internationally. Spend 2 weeks there

#

I am thinking

#

Of either Germany

#

Or Seoul

spare oriole
carmine bane
#

Either Europe or East Asia

#

Not a poverished place like wherever you lived

#

Where I'll get mugged

spare oriole
#

bruh

#

thats

#

racist

carmine bane
spare oriole
#

you could very easily get done that in asia / europe

carmine bane
#

South America is ghetto

carmine bane
spare oriole
#

thats what the french say about asia

spare oriole
carmine bane
#

French is just on copium cuz no one has any sort of foundational respect for them

carmine bane
#

I love Jacob Collier

#

Like

spare oriole
carmine bane
#

A literal god

#

FKJ good

spare oriole
#

listen to that

#

oh you know him

carmine bane
#

Yes

spare oriole
#

i just discovered him today

carmine bane
#

His concerts are very ver ynice

#

Very immersive

spare oriole
#

im going

carmine bane
#

Snarky Puppy style

spare oriole
#

next week

carmine bane
#

WAIT DEADASS?

spare oriole
#

yea

#

sec

carmine bane
#

WHCIH LOCATION

spare oriole
carmine bane
#

This one?

spare oriole
carmine bane
#

WHAT THE FUCK HIS NAME IS FRENCH KIWI JUICE?!??

#

LMFAOOOO

#

:aogn

spare oriole
#

i just discovered him today

#

as you can see from the rant

carmine bane
#

Known him for

#

Years

#

Oh his tickets are cheap

spare oriole
#

WELL I WAS HIGH AF

#

and ran into his music

#

and like

#

wait this jazz shit cool

carmine bane
#

Drugs are bad for you

spare oriole
#

but its also house

carmine bane
#

I would kiss you but second handed cancer isn't fun

spare oriole
#

im kinda into the edm scene also

carmine bane
#

Mmmm

spare oriole
carmine bane
#

Addicted to this

#

I love performances that are this format

#

So nice

spare oriole
#

say less

#

imma be there

carmine bane
spare oriole
#

im probs gonna be the dude bopping around tho

#

im not gonna sit there so quiet like those ppl

carmine bane
#

Jacob Collier concerts are fucking hype

#

Jacob Collier is like music prodigy fucking nerd

#

All his audience is 100% musicians

#

So his concerts are literally like JC and thousands of people in his backup choir

#

All harmonizing with each other perfectly

#

So hype I go this year next year

spare oriole
#

do you only like him cuz you have the same dimensions with his forehead?

carmine bane
#

Dude I'm finna get a receding hairline cuz of work

carmine bane
#

Twink >

spare oriole
#

some of the mods watching both gen and this channel for the past be hour

#

im surprised still not muted

carmine bane
#

Ok that's probably punishable

spare oriole
#

but you like that so /shrug

carmine bane
#

why are airplane tickets so fucking expensive

spare oriole
#

from where to where

carmine bane
#

San Jose to either SK or Germany

spare oriole
#

rn im trying to see what im gonna do weds in re: class and then going to fkj

carmine bane
#

Just don't go to class

spare oriole
carmine bane
#

Yeah ig but still

#

Maybe go on Spirit airlines

spare oriole
#

mmmm, i can skip PC & hardware

carmine bane
#

I need that Networking class

spare oriole
#

oh yeah doing pre alg cuz i suck at math

#

and did none for 4 years

carmine bane
#

Bruh

#

Pre Algebra was like the loser math class for freshman in my high school

#

You on whole nother shit

spare oriole
#

yeah but high school classes =/= college

carmine bane
#

Doens't some more advanced CS course require higher math

spare oriole
#

yeeaa

carmine bane
#

That wasting your money

#

Start with calc in college

spare oriole
#

i get free college

carmine bane
#

Oh wtf

#

I maybe do college in future if company sponsors me

#

Be 100x programmer

#

Easy sponsorshiip

spare oriole
#

i am extremely bored so im trying to jump ships

#

but then my situation is unique so w.e

carmine bane
#

Just start applying for jobs and drop out of college

#

If you get an offer

spare oriole
#

i mean

#

shoot me an offer

carmine bane
#

Nah

#

You wouldn't fit company culture

#

Everyone's a damned workaholic

spare oriole
#

but im here for fun so going to stick with it, just gotta switch around

spare oriole
carmine bane
#

Bruh they had happy hour last Thursday

#

I can't drink ofc

spare oriole
carmine bane
#

But like shit was boring so I went to company gym to work out

carmine bane
#

That shit is a long time

spare oriole
#

you would love it here

#

lots of twinks, furries, catboys / catgirls, maids

#

list goes on and on

carmine bane
#

Dude when my class graduates I gonna be the one giving interviews to my class

#

God that's gonna be so fun

#

I give interviews and I say

#

"Yeah I started working here since high school"

#

"We same age lol"

#

Make them believe in 30000x prodigy

spare oriole
#

anyways gonna crash

carmine bane
#

Bye babe

#

Sweetest dreams

spare oriole
#

im straight, sorry to break your heart

carmine bane
#

I'm straight too

spare oriole
carmine bane
#

that gif timed so perfectly for me

#

Bye

mystic isle
azure widget
#

hello can someone help me with JS?

uneven pine
#

Not if you don't actually ask a question

young shoal
#

they did :P

uneven pine
#

A RELEVANT question

#

Not a "don't ask to ask" question

solemn leaf
#

i think people do that mostly beginners because they think it will be rude to directly ask the ques

jovial oriole
tulip narwhal
#

Any advices of how i can get hired?, i'd already done some python courses, i do practice, getting around some libraries, but what exactly are the companies looking?

#

i want to do DS and ML but one thing is what i want and what do they want

crystal wraith
#

how many extends

crystal wraith
#

anyone

tulip narwhal
young shoal
#

look at job requirements. get those requirements

crystal wraith
#

if you get shit grades then no point

tardy rain
#

What does computer engineer mean, do you have a degree

tulip narwhal
#

I know that the degree system is different, i'm not a native english speaker, so how do i put it on terms you could understand?

#

The engineering takes up to 5-6 years to obtain, it's necessary if you want to get a doctorate

#

But i know people with just a bachelors degree that are programmers, i want to start from bottom

tardy rain
#

So you do have a degree then? At least a bachelors?

tulip narwhal
tulip narwhal
tardy rain
#

Ok so what you need is to look at software dev jobs, build a project or two with some of those requirements and start applying to things

tardy rain
#

Yes

tulip narwhal
#

What do you do?

tardy rain
#

Full stack web dev

tulip narwhal
#

So javascript, css, html, react, node

tardy rain
#

js, css/html stuff, python, sql

#

Some react

tulip narwhal
#

oh nice, some time ago i made a couple of projects with js, css/html, and sql, used php for back end tough

#

in order, i coded in pascal, c, c++, java, c#, assembly(for university things), javascript, php, html/css(not actual coding but well), vbasic, and right know im 100% on python.

tulip narwhal
# tardy rain Some react

i need guidance on where to focus my time, what is your recommendation to get hired soon as a jr.?

tardy rain
jovial oriole
#

Just me or no one can remember what they do in free time ?

warped sentinel
tulip cedar
#

How was the movie guys?

carmine bane
#

Good

#

Would've been better if it wasnt in French

#

Made emojis sound so fancy

tulip cedar
#

oo

paper sequoia
grave cove
paper sequoia
mystic isle
#

definitely not me creating this using a Temp-Email

tulip cedar
#

Nice website

#

Its not sus guys, visit it

cinder laurel
paper sequoia
earnest hamlet
#

I have a problem to solve and i need a solution... Given an array of 2 dimensional rectangles of different sizes, how would i fit as many of them in as least (identical) areas as possible? I have a list of such rectangles and i need to cut them out from 115x75cm boards.

young shoal
#

where's my common app but for job apps. i've filled out the same workday form like 100 times by now

jovial oriole
#

is yes

young shoal
#

also, i almost submitted an anonymized version of my resume to a job app

spring ferry
#

@fossil spruce

hollow lynx
#

who here is familiar with 3d printing

floral dust
#

@rough sapphire i did because i unironically just completely blanked on when i'd have last seen you - then i got less surprised when it was april 2021

rough sapphire
floral dust
#

and also that was when i was pretty inactive on there

rough sapphire
#

You became pretty active

floral dust
#

oh so someone's been lurking then

rough sapphire
#

I'm not there anymore

floral dust
#

yes then how do you know i've been posting a lot recently

#

are you... a spy?

rough sapphire
#

I don't know, am i?

#

I don't think i am

#

If i where i couldn't say

tranquil orchid
hollow lynx
#

nvm i got nhelop ty

rough sapphire
#

Guys i need help in an exercise
is there any way somone can help?

hollow lynx
#

its an exercise

carmine apex
#

well that's a useful summary for once

tropic lichen
#

fun fact: in the wild, fruits that drop from trees can sometimes naturally ferment, leading the wildlife getting drunk off fermented fruit from the ground

floral apex
rough sapphire
lusty rune
#

yes

lusty rune
floral apex
#

Second time someone posted that on PyDis

paper sequoia
#

Weird, Whatsapp is down

tranquil orchid
rough sapphire
acoustic ingot
#

woooops

#

why here @steady jacinth

steady jacinth
#

because what we were talking about isnt python related

acoustic ingot
#

kinda true, ngl

#

makes sense

#

u in college I think?

steady jacinth
#

no, I'm taking igcse's

#

sry for the apostrophe

acoustic ingot
#

Okay...

#

Idk what that is but sounds noice

#

I ain't that far yet ;))

steady jacinth
#

igcses are exams you take so you can take more exams which then let you get into collage

acoustic ingot
#

ooooh

acoustic ingot
#

I get it

#

So they seem pretty important ngl

steady jacinth
#

yes

#

they are important

acoustic ingot
#

a lot

steady jacinth
#

if I dont pass these exams, then I wont be able to pass the exams I need to get into collage

acoustic ingot
#

Also, why tf was whatsapp down

steady jacinth
#

no idea

steady jacinth
#

so that is why I am doing these

acoustic ingot
#

k

steady jacinth
#

I want to go into college

acoustic ingot
#

same

steady jacinth
steady jacinth
#

ok

acoustic ingot
#

May seem liek it isn't my actual age bcuz most ppl say 16 when they are in truth like 12

#

ut ngl I haven't seen anyone under 13 on this Discord

steady jacinth
acoustic ingot
#

Still

steady jacinth
acoustic ingot
#

True

steady jacinth
acoustic ingot
#

yea

steady jacinth
#

there is more than one discord?

acoustic ingot
#

Like usually you have a ton of smol kids acting like 13

acoustic ingot
#

my bad

steady jacinth
#

oh

#

I am a python programmer

acoustic ingot
#

I started around 4 months ago with Python

#

Am still looking for a cool Coding Language

steady jacinth
#

I started learning python before I had a computer to code on

acoustic ingot
#

I already tried C++ for Unity, JavaScript, but then thought Python is the coolest

#

and here i am

#

coding stupid things that break my Laptop

steady jacinth
primal herald
#

ctrl+c

steady jacinth
#

its a stupid thing which will break your laptop

acoustic ingot
#

hmmmmmmmmm I can guess what this makes

primal herald
#

have you tried malloc in a while true loop btw?

acoustic ingot
#

When you never have a wait function

steady jacinth
acoustic ingot
primal herald
#

in lower level languages

acoustic ingot
#

How about making a game in when you fail your Laptop Shuts down

primal herald
#

bonus points for a bsod

acoustic ingot
#

Imagine a game that locks your Computer and you have to play to get the Computer Data back

#

Anybody here ever read "Erebos 2"?

#

Ima write that on my todo

#

did it

primal herald
#

never heard of it

acoustic ingot
steady jacinth
primal herald
#

but then again i havent read harry potter either

acoustic ingot
#

same

#

just watched it

steady jacinth
acoustic ingot
#

I made the mistake of watching it

steady jacinth
acoustic ingot
#

And so welp...

primal herald
#

am i missing out on something here?

steady jacinth
acoustic ingot
#

I think if u have read it it isn't the same watching it

primal herald
#

oh yeah

#

I saw that

acoustic ingot
#

Wait HOW did we get to Parry Hotter

steady jacinth
acoustic ingot
#

Originally we were by College

acoustic ingot
primal herald
acoustic ingot
#

yea that was magic

#

Why
Are
You
Always
Chatting
With
These
Vids

#

I
Don't
Get
It

steady jacinth
#

gifs

#

not vids

#

gifs

#

ok

acoustic ingot
#

yea basically

steady jacinth
#

gifs

acoustic ingot
#

forgot the name

steady jacinth
#

not vids

acoustic ingot
#

gifs

#

no vids

primal herald
#

no

#

its pronounced

acoustic ingot
#

we gonna get banned for level farming

primal herald
#

'gifs'

acoustic ingot
#

Hooooooooold up mate

steady jacinth
#

?

acoustic ingot
#

I'll be offline

steady jacinth
next gust
#

Making a python t shirt

rough sapphire
#

Nicee

next gust
next gust
#

Final design

ionic bane
#

๐Ÿ™Š

surreal dawn
grave cove
#

hey i remember this

#

big solidus

thick osprey
#

My favorite commit of the day, right at the end:

How to get ratelimited from github rooH

thick ore
#

am I the only one that chats in either ot1 or ot2 because ot0 has too much activity

thick osprey
#

Chat history suggests you are not.

grave cove
#

๐Ÿฅถ

thick osprey
thick osprey
#

Pretty good guess! 13_866 across 944 orgs. amegablobsweats

vale raven
#

944 ๐Ÿ˜ฒ

thick osprey
# vale raven What did you conclude?

That 3_115 of them need no action. 1_427 of them are archived. 426 of them need the master branch deleted. 8_898 of them need the default branch updated to main.

We have some work to do. rooH

vale raven
#

Or did you already go master->main, and now you're just cleaning up and deleting the old master?

thick osprey
#

The 426 have a different default branch than master but still retain the old default.

vale raven
#

Yeah

thick osprey
#

Oh, I also concluded that I didn't actually add the repo name to the report so..... oops.

vale raven
#

Another couple hours of being ratelimited for you!

thick osprey
#

Everything got logged. So I guess I'm writing a log parser next.

vale raven
#

That's the fun part!

#

I actually get to write an XML parser

#

When UPS gives us our invoices, we can also request a copy as a CSV or an XML file.
But the CSVs have 250 columns and no options for column headers, so, good luck guessing what any of those are
So, XML it is

thick osprey
#

Yay, xml!

next gust
#

Anyway, need a tagline for these bad bois

#

And where to put it

quick ledge
#

1

mystic isle
honest star
#

Guess which one is our sneaker bot video:

acoustic moss
#

lmao

thick osprey
#

ngl, he had me until the end

honest star
#

A third of our traffic comes from external sources. A whopping 2/3 of that 1/3 is people just googling how to make a sneaker bot

#

this video just keeps on giving apparently

tranquil orchid
#

Beautiful

low chasm
#

LOL

floral apex
#

Get sneakerolled

paper sequoia
#

in html (or with JS), how would I make a form that would send a POST request like this, but using form for passing the data py data = {"target_url": "https://google.com"} requests.post("http://127.0.0.1:5001/create/urls", json=data) , endpoint is expecting this kind of type, ```py
class URLBase(BaseModel): # pydantic BaseModel
target_url: str

grave cove
#

The name attr is key and the value attr is value

paper sequoia
#

I had, this but it resulted into "invalid dict" (or something along that) ```html
<form action="/create/urls" method="post">
<label for="url">Target url:</label><br>
<input type="text" id="url" name="target_url"><br>
<input type="submit" value="Submit">
</form>

#

resulted into: {"detail":[{"loc":["body"],"msg":"value is not a valid dict","type":"type_error.dict"}]}

paper sequoia
grave cove
#

Oh you want a default value?

paper sequoia
#

no, I just tried that since the one I had before didn't work

paper sequoia
#

@grave cove do you by any chance happen to know what am I doing wrong?

grave cove
#

they only send what's in the input

paper sequoia
grave cove
#

value="test" should set a default value

paper sequoia
#

I tried with that, but it also resulted to same error

grave cove
#

Can i see the HTML code?

grave cove
#

it doesn't have a value attribute

paper sequoia
#
<form action="/create/urls" method="post">
    <label for="url">Target url:</label><br>
    <input type="text" id="url" name="target_url" value="foo"><br>
    <input type="submit" value="Submit">
</form>
#

even if it has it, it results to error

#

if you happen to know what I might be doing wrong, it would be great if you let me know. Thx in advance

grave cove
paper sequoia
grave cove
#

and if you submit, does that go through?

paper sequoia
#

Nope, results to error

grave cove
#

and what's the error?

#

oh thanks

#

try checking the network tab

paper sequoia
#

Let me fire up things up

paper sequoia
grave cove
paper sequoia
#

where's that?

paper sequoia
grave cove
#

yeah

#

looks like it's going through

#

it's on FastAPI side probably

#

i'm guessing the form is sending it in a format you don't expect

paper sequoia
#

let me modify the endpoint

paper sequoia
grave cove
#

i believe fastapi expects that to be in the JSON body

#

maybe the form isn't doing it like that

paper sequoia
#

I can't even debug what values are there, since the code in endpoint is not ran

grave cove
#

maybe get a flask server for testing?

paper sequoia
#

hmm, I can access "request" method with middleware

grave cove
#

to find out what the req type is

paper sequoia
#

it's doing POST, but I can't figure out where the form data is being send

#

it is request.{x} but I don't know the x

paper sequoia
#

Well, gotta go, thx for your time!

harsh tundra
# paper sequoia this?

Check headers. If content is not set to json, fastapi will complain.
Apparently you can't set this header as json in html itself, you need some js to parse it and change headers between clicking the button and actually sending to the server

paper sequoia
#

I have to work with this tomorrow since now it's a movie time ๐Ÿฟ

harsh tundra
paper sequoia
harsh tundra
paper sequoia
#

there are many possibilities at my end that might be causing it, not too familiar with implementing any html to my code

harsh tundra
#

I'd try removing the model (making another endpoint without model linked and use it for the form) and just printing the request content you receive to see what is actually the problem?

paper sequoia
#

I removed the model requirement, and it looks like this atm ```py
@router.post("/create/urls")
async def create_url(request: Request, url: str, db: Session = Depends(get_db)):

#

it got a print statement just under function definition, and it doesn't even run. hit's 422

harsh tundra
#

did you re-run your project? that doesn't sound right, it shouldn't complain about the model if there's no model

paper sequoia
#

let me do something with the middleware

#

Request object has no .content, hmm

paper sequoia
#

the bytes, might be the problem

harsh tundra
#

ye, that's not even json. it's urlencoded probably or sth like that which is default for html, according to my earlier research
json would have {}s and quotes

#

bytes only means that you don't know the encoding to read it, it isn't really a problem. the lack of json structure is

paper sequoia
#

we can access these so far```
b'target_url=foo'
FormData([('target_url', 'foo')])

#

still hitting 422, makes sense, but {"detail":[{"loc":["query","url"],"msg":"field required","type":"value_error.missing"}]} kinda better

#

But now I need sleep, it's 11pm, thx a lot for making me think better!

harsh tundra
# paper sequoia we can access these so far``` b'target_url=foo' FormData([('target_url', 'foo')]...

https://stackoverflow.com/questions/60127234/how-to-use-a-pydantic-model-with-form-data-in-fastapi found this. quick search only, but might help looking into this direction

paper sequoia
#

Perfect, thank you! Now I know from where to continue from tomorrow

undone berry
#

here @rigid prawn

rigid prawn
#

There is a hiring bias against men in STEM, meaning that qualified men are less likely to be hired than are women of the same skill level. There is also a bias against men and boys all throughout the education process, starting from childhood and into college. These are facts, there's nothing to discuss and I don't have much an interest in doing so at the moment

undone berry
#

I agree that there are biases working against men and boys all through education - I think the same is true for girls

#

When you can only acknowledge one side of the struggle, and you refuse to even entertain the idea there might be some biases against women, you end up just seeming sexist.

rough sapphire
# undone berry There's a point on which we disagree - that there is a bias against hiring women...

I know I'm butting into a conversation that doesn't involve me, but I personally have not experienced any bias against women in education during my education in the UK. I did experience numerous biases against men, for instance 'women in engineering' events, women in construction events, women in STEM events, women in leadership events... I didn't once notice a men in x event... I can't comment on USA etc, but I imagine it'd be similar. NZ is similar for sure. That being said, there are billions of women around the world, such as those in the middle east, that do experience bias against them... but I don't believe in most of the first world countries, especially those with english as the primary language, women are biased against during education or employment in STEM fields

#

they're constantly encouraged and almost pushed towards STEM. Men are just left to do as they please

undone berry
#

that was said to a select committee iirc

velvet bolt
#

Guys idk if this CompTIA Traineeship is a scam or not

rough sapphire
#

Interesting. Probably a comment that shouldn't have been made, but I don't believe that to be influential enough to be classified as bias against women... it's not saying women can't do maths, it's saying girls just don't like hard maths... the same could be said for many boys

#

most people in school hated maths, I personally loved it and it was my best subject

#

but most of my friends, male and female, didn't enjoy math

wraith hound
#

and yet gender was brought into it

#

which is far too common

undone berry
arctic trout
young shoal
#

in the US, it is the case that many top universities will accept a proportionally larger amount of girls in order to achieve a 50-50 split in the admitted students. thus the admission process is biased against boys

undone berry
rough sapphire
#

But look at it from this perspective... say you were a male hairdresser, incredibly talented and enjoyed what you do. Then say a celebrity hairdresser came out and said 'boys just don't like hairdressing' would you let that stop you from following your aspirations?

#

sure, she's in an elevated position. Sure, she's making moronic comments. but she's not preventing girls from getting that education if that's where their interest lies

wraith hound
#

no. but if someone said that before you got into hairdressing, you'd likely never even consider it.

undone berry
rigid prawn
velvet bolt
# arctic trout I have multiple CompTIA certifications but have never heard of "Traineeship"

This company: https://itcareerswitch.co.uk/traineeships/ are offering me a traineeship for ยฃ1000, basically they provide the course content and exam for me for CompTIA+ and if i pass the exam they guarantee me a job in cyber or my money back basically

Train For A Career In IT | Coding | Cyber Security | Networking | Health & Safety | Project Management With A Guaranteed Salary ยฃ21k-ยฃ40K Job | Money Back Guarantee - Apply Online Now. IT Career Switch

#

But i don't know if i should trust the company as i've never heard of them, but it looks pretty legit and promising

#

And apparently they are a "CompTIA partner"

rigid prawn
rough sapphire
#

I don't know. I feel like waiting is a female dominated profession, and is often represented as such in tv shows, movies, etc... that had no effect on me, I still became a waiter for my first job

arctic trout
velvet bolt
velvet bolt
#

I don't understand why a 1 year college course for ยฃ5k or a traineeship for ยฃ1k would be better than a ยฃ30 pound hard cover book

rough sapphire
#

you follow what you're interested in, regardless of what opinions are out there. People there'll always be someone who has an opinion that boys shouldn't do x or girls shouldn't do x or this or that... I think the divide between genders in certain professions comes down solely to interests and work ethics

velvet bolt
#

Well i lost my job so i'm wanting to learn cyber as quickly as i can and it may mean i get some work on the side while studying

rough sapphire
#

if you're a female in the usa, is there any legislation preventing you becoming the best developer in the world?

velvet bolt
#

I'm in a pretty shit place in life rn

undone berry
# undone berry Would it be a conscious choice? No, but the prevailing belief by my teachers and...

These are deeply ingrained relatively weak effects that end up having an outsized impact on outcomes which end up negatively affecting everyone involved. The idea that women are more empathetic therefore make better psychologists, or that men are just better at logic therefore make better software engineers ends up just hurting everyone.

This isn't to deny the effect of biological differences, but there's very strong evidence that most of these disparities are in no-small-part cultural

young shoal
rough sapphire
rough sapphire
rough sapphire
wraith flower
rough sapphire
#

So here's my story...

undone berry
#

A personal anecdote. When I was choosing my A-levels, a teacher pulled me aside and said "don't do IT, you should do Computer Science instead." If even a small amount of teachers fail to say "Maybe you should try CS instead of textiles", then that's already an intervention at an early stage which is filtering through to have quite a big impact

rigid prawn
arctic trout
undone berry
#

There's plenty of stories of sexism in Silicon Valley

velvet bolt
undone berry
#

so - that's a pretty real effect making it harder for women to become the best developers in the world

wraith hound
#

because culture's impact isn't negligible, it can very much impact one's decisions in the areas they desire to explore and the experiences they have if they do.

undone berry
young shoal
wraith flower
#

I have a close friend in EU who was always told to not do CS/IT cause that's not for girls. Ended up with her not going into a STEM degree cause she was constantly told it's not for woman. She finally transitioned into tech recently through a bootcamp and loves it. Wishes it wasn't ingrained into her as a child that CS/math isn't for woman.

rough sapphire
#

As a 16 year old school leaver, I wanted to go into software engineering. I spoke to my parents about it. They advised me I was too old, it was too late, I would've had to start when I was a teenager, blah blah blah. As a result, I fell into civil engineering and spent the last decade miserable working a job I don't enjoy. Which is evidence of a cultural impact.

That being said, I wouldn't say that was a bias against me, I would say that was a mistake for me listening to advice from others regarding something I had a passion for.

rigid prawn
velvet bolt
#

I can sit the exam in the UK right?

rough sapphire
# wraith hound i think it's a question of whether culture or legislation is important, at this ...

not at all, I fully agree and understand the cultural impacts. Look at China/Japan's cultural work ethics compared to ours, they blow us out the water. Culture has a HUGE impact, I agree with you entirely. But what I'm arguing is that whilst culture does have an impact, it does not prevent people following their passions. Anyone who has enough self belief and passion for what they do, will be successful. Those who listen to naysayers, will not. As I was not.

velvet bolt
#

I think it's like $300

undone berry
velvet bolt
rough sapphire
undone berry
wraith hound
rough sapphire
#

now if we were arguing about the middle east where women are prevented from getting education, then I'd agree there's a strong bias against women

#

but someone saying 'girls shouldn't do x', 'boys shouldn't do x'

arctic trout
wraith flower
#

There's a massive difference between your parents giving once off bad advice vs multiple people you look up to that help you guide your education telling you that you don't belong in a role because of your gender

rough sapphire
#

my entire life I was told boys don't wear pink, like pink, etc

#

pink is my favourite colour

#

cultural influence only works when willingly adhered to

#

it is the choice of the person whether they let cultural influence affect them or not

undone berry
arctic trout
rough sapphire
#

if a woman does not want to go into STEM because of cultural influence, or any other reason, why should we firmly encourage it solely on the basis that more men historically entered STEM fields?

#

I was encouraged into a STEM field that didn't align with my passions and now I've wasted a decade in a job I don't enjoy

#

and am having to retrain working 60-80 hours a week to switch professions at 27

arctic trout
velvet bolt
undone berry
# rough sapphire if a woman does not want to go into STEM because of cultural influence, or any o...

whether it's a problem is a different question all together. I think it's a problem that companies should be addressing because it probably leads to worse software being built, and to worse workplaces. I would much rather work somewhere with a relatively diverse workforce - where I currently work is massively dominated by people from a relatively specific background, and I find it pretty damn uncomfortable

rough sapphire
#

why does it matter whether it is a male, female or even a toaster sat in the chair doing the work

arctic trout
rough sapphire
#

the only thing that matters is the work, right? the product, the output, the efficiency, the productivity?

solid elbow
wraith hound
velvet bolt
rough sapphire
#

why does it matter if male, female, cat, monkey

velvet bolt
#

Like, I don't know any of that...

undone berry
rough sapphire
#

all employers should care about is the work ethic and ability of the person

arctic trout
velvet bolt
#

"โ€ข Experience of working with SIEM Tooling", how am i meant to have this

undone berry
#

there's very specific examples of this latter thing going horribly wrong

undone berry
wraith hound
undone berry
#

introduce one asshole into a good team, and you destroy morale

solid elbow
arctic trout
solid elbow
#

have you worked before?
clearly yes, they were speaking about retraining above.

rough sapphire
rough sapphire
solid elbow
velvet bolt
#

when you say invest heavy, how long is that meant to take?

arctic trout
wraith flower
solid elbow
#

gender is one major source of diversity on teams, but there's no sort of diversity that isn't helpful. Given two candidates with comparable skills, the employer does best by choosing to hire the one that's most different from the existing members of the team, in terms of approach and world view and background.

arctic trout
velvet bolt
#

degree? pffff

rough sapphire
#

I agree, we should have max diversification. We should have equal representation from every gender, religion, ethnicity in every role. But that's not how people's interests and abilities align

undone berry
solid elbow
#

there are tons of examples of PR nightmares caused by a team of 20-something white males releasing something that's deeply offensive to another group.

rough sapphire
# undone berry you don't end up making racist webcams http://edition.cnn.com/2009/TECH/12/22/hp...

Interesting example, and it does have a good basis for your argument... but it was also produced by HP... are you implying HP doesn't employ people with black skin? I'm sure they have black developers, probably some that even worked on that project. I'd argue a bug in a product doesn't constitute racism? they didn't develop that product with the intention of discriminating against black people, making it not work for black people, it's simply a bug?

undone berry
#

if they had, they probably would have got out ahead of the newsstory

rough sapphire
#

also, the article seems to suggest the issue was because they were using color detection and contrast to identify facial positioning and the bug occurred due to the poor lighting in the room

solid elbow
#

I'd argue a bug in a product doesn't constitute racism?
No one is saying that it does.

rigid prawn
rough sapphire
solid elbow
undone berry
graceful basin
#

Having a larger hiring pool is better, and encouraging more women into STEM just about doubles that pool. And while you can't really remove sexist talent from STEM, you can provide advantages which help compensate for the sexism and make it less crippling to someone's interest in the field. A massive portion of programming is about talking with peers, and if your peers consider you inferior, you simply cannot be more effective than them.

solid elbow
#

imagine that their team had been diverse, and there were extremely dark skinned people involved in the early tests of the camera. They'd have still had the same bug, almost certainly, but they would have caught it sooner, and chosen to keep iterating rather than release something that failed for a large number of people who bought it.

rigid prawn
rough sapphire
young shoal
#

we do, there are plenty of programs for underrepresented groups

velvet bolt
#

I personally hate free courses

solid elbow
velvet bolt
#

I don't trust them

#

But

rough sapphire
velvet bolt
#

I'm going to study like fuck for this certificate

undone berry
#

I don't think you're entering the conversation in good faith

rough sapphire
velvet bolt
#

Any book or course recommendations for CompTIA A+ or Network+?

solid elbow
rigid prawn
young shoal
wraith flower
#

I'm from a country where theres historic bias against both woman and non white people. There are programs for both encouraging both into STEM degrees

velvet bolt
rough sapphire
velvet bolt
#

Preferably that don't cost too much ๐Ÿ˜„

rough sapphire
#

I can't imagine the team at HP being like 'ah no, we can't jack off on the internet with our webcams' though

velvet bolt
#

What's 220-1001?

#

Is that the latest one?

rough sapphire
#

I expect that was simply an oversight, but maybe I'm wrong

velvet bolt
undone berry
solid elbow
# rough sapphire I'd disagree on that one personally

well, you can disagree all you'd like. I can tell you that of the engineers I've worked with in my life, the number of female engineers has been far, far less than half. I'm in the US, and if I had to guesstimate racial groups, I'd guess that blacks and latinos are underrepresented and asians are overrepresented, but pretty much every team I've ever worked on has members from different countries, and I've worked on many teams without any women.

tardy rain
#

I must have missed it, did we come to a conclusion on suggesting reputable bootcamps to women in place of degrees

velvet bolt
#

Women get it hard, man

rigid prawn
solid elbow
#

... yes?

rough sapphire
solid elbow
#

obviously the reason that there are fewer female engineers is that fewer females chose to become engineers

undone berry
#

Tyler will only acknowledge the problem in one direction

rough sapphire
#

black or african american 4.9%, women make up like 33% according to the graphic someone posted earlier

rigid prawn
#

You're focusing on problems that don't matter, like "racist cameras"

rough sapphire
#

so, again, I disagree

solid elbow
undone berry
wraith flower
rough sapphire
rigid prawn
velvet bolt
#

Pointless conversation in my opinion

undone berry
undone berry
rough sapphire
#

yeah, the 'racist camera' was a good example and definitely made me think about things that I perhaps overlooked. I disagree that it's racist though, but it was a good example of how diversity does impact the output

#

I suppose more so in software engineering than other STEM fields such as construction, where the vast of my experience is

#

our outputs are not affected by gender or racial diversity

velvet bolt
solid elbow
rough sapphire
#

but it definitely seems more important in software related fields

wraith hound
velvet bolt
#

We need more women in IT

rigid prawn
# wraith flower This isnt focussing on a problem. Ugh asked for an example, and one was provided

Look at all the examples they brought up, about how some politician made a remark about women and math, or a teacher said maybe don't try computer science. The opposite for men is something like wanting to be a pre-school teacher, and immediately having someone accuse you of being a pedophile. Sure, there are different biases, but they are not at all comparable, and it's frankly annoying to hear

velvet bolt
#

For morale

wraith hound
undone berry
#

several times

rigid prawn
undone berry
#

this is a problem that cuts both ways and hurts everybody

#

it's you who's only willing to acknowledge one direction

solid elbow
velvet bolt
#

Should be able to do what they want

undone berry
rough sapphire
#

a lot of people's interests (women and men) are not as a result of cultural impact. Studies have been undertaken where children were given toys, prior to being impacting by any cultural influence, way too young to understand cultural influences, and the boys went for a big construction truck the majority of the time, the girls went for a doll the majority of the time

rigid prawn
rough sapphire
#

that's not to say some girls didn't go for the truck and some boys didn't go for the doll

undone berry
solid elbow
rigid prawn
graceful basin
#

Unless your peers are willing to treat you as a peer, you cannot be an effective programmer/computer scientist, and well, a significant number of programmers will not treat women as peers.

undone berry
#

there were no false pretences - I wanted to have a conversation, you refused, I've written you off as a shithead

rough sapphire
#

but the majority had their interests and followed them, as is true throughout education and profession. It could be cultural, it could be biological bias

rigid prawn
young shoal
#

as an anecdote, many of the people i knew wanted to continue taking CS classes, but decided not to because of a specific sexist teacher

rough sapphire
rigid prawn
#

Think about it this way. A bias against men was mentioned in the careers section. What did you do? You immediately had to make the problem about biases against women. Why?

solid elbow
#

!mute 152515077512232960 "I've written you off as a shithead" is insufficiently civil for our server, and I'm sure you know that by now.

royal lakeBOT
#

Sorry, an unexpected error occurred. Please let us know!

ClientConnectorError: Cannot connect to host site.default.svc.cluster.local:80 ssl:default [Connect call failed ('10.128.90.73', 80)]

rough sapphire
#

i.e. as Morgan Freeman once said, the way to end racism, is to stop talking about it. Stop seeing me as black, and I'll stop seeing you as white. We both refer to eachother by our names, and think of eachother as human.

graceful basin
tardy rain
#

This isnt a bias against men, its womens' organisations doing something actively for women, mens orgs can do the same cant they?

solid elbow
rough sapphire
graceful basin
#

Just about every meaningful social change was brought about by activists, not by randomly going away at some point

rough sapphire
#

by constantly identifying the diversity issues, we're constantly reaffirming that people from those backgrounds aren't typically going into these fields and, therefore, the cultural influence continues

rigid prawn
#

Imagine that, but permeating all of society

solid elbow
rough sapphire
#

If we simply let people follow their passion and didn't talk about the issues, it wouldn't be an issue. Everyone would be doing what they wanted to do

rough sapphire
graceful basin
#

Biases don't leave on their own, you have to fight them. And sadly, there isn't an effective way to do so.

solid elbow
#

I'm sure there are fewer male fashion designers because "boys don't play with dolls". There are fewer male educators and fewer male nurses because raising children or caring for people are "women's jobs".

rough sapphire
# graceful basin Yup, that does indeed happen. But well, there isn't really a better way. You can...

but no matter how much we try and force women into STEM fields, they'll always be the minority in those fields because the biological evidence suggests there is a difference in interests that occur as a result of biological differences. Would the better solution to not keep pointing out how few women there are, let those who enjoy the fields enter those fields and then be treated as an equal because they've progressed through the same routes, been given the same opportunities, etc?

solid elbow
#

biological evidence suggests there is a difference in interests that occur as a result of biological differences
Citation? I've never heard any credible research that suggests that women are biologically disinclined to develop software.

rough sapphire
tardy rain
solid elbow
rough sapphire
solid elbow
#

it's a huge problem that boys tend to grow up with few male role models outside of the home. There are huge societal benefits to encouraging more men to teach in grade schools.

graceful basin
rough sapphire
#

my point is: routes should be standardised and should not take into account anything other than ability.

rigid prawn
solid elbow
graceful basin
rough sapphire
graceful basin
#

CS cannot be done alone in isolation, it's a very social field.

rough sapphire
#

the girls in our classes were often prioritised in group projects

solid elbow
wraith hound
graceful basin
solid elbow
#

there are more boy doctors on TV, and more girl nurses, so girls are more likely to say they want to grow up to be a nurse and less likely to say they want to grow up to be a doctor. There's nothing biological about that, it's entirely social.

rigid prawn
wraith hound
#

do you have evidence for that? i'm genuinely curious, not trying to be combative.

graceful basin
#

So, in an unbiased system, women will have it harder in CS since they will be assumed incompetent until proven otherwise

#

Roughly, it's getting a lot better in recent years

rough sapphire
#

constant reaffirmation that less females are in these fields

#

which subconsciously can manifest as females generally have less ability to do the work

graceful basin
#

Why do you think so? Sexism in CS predates these programs

rough sapphire
graceful basin
#

These problems being brought up in fact trends with less sexism in CS

rough sapphire
#

before CS was taught in school

#

the early days of computers

wraith hound
#

we're not at a point where we can just drop all this support specifically for women and expect it to naturally fix itself, though

rough sapphire
#

were the majority of the founders of the industry male or female?

young shoal
graceful basin
#

In those times, it was about even actually

rough sapphire
#

seems balanced to me

graceful basin
#

During WW2, it was female dominated

young shoal
graceful basin
#

For obvious reasons

#

A lot of the biases were probably just inherited from math

rough sapphire
wraith hound
rough sapphire
#

It seems to me when we think about all the early founders and innovators, the vast majority were male. Which would suggest a male dominated profession even in it's infancy, but if you have a source that it was far more even, I'd be interested to read it

#

it may even change my outlook, as it'd suggest that the divide is as a result more of cultural influence than natural interests and instincts

young shoal
wraith hound
#

we don't really have an introductory CS classe, so i dunno what it's like here

rough sapphire
#

From what I can see, CS has always had approximately 30% of the workforce being female

#

even before it was talked about culturally

#

even before it because a prevalent career path or educational path

#

that'd suggest the divide is more nature than nurture

#

that's going back as far as the 80s

rigid prawn
graceful basin
# rough sapphire It seems to me when we think about all the early founders and innovators, the va...

https://en.m.wikipedia.org/wiki/Women_in_computing this article has a number of examples. Early computers were often women, and thus a lot of the early innovation was done by those human computers.

Women in computing were among the first programmers in the early 20th century, and contributed substantially to the industry. As technology and practices altered, the role of women as programmers has changed, and the recorded history of the field has downplayed their achievements.
Since the 18th century, women have developed scientific computati...

rough sapphire
#

if anything, the female ratio has decreased slightly since all the propaganda has been in the mainstream media, subconsciously reinforcing the belief that women don't have the ability to compete with men in CS fields

#

which brings me back to my point, constant reaffirmation of this issue is only exacerbating the issue

solid elbow
graceful basin
#

Fundamentally, a lot of the sexism was inherited from math, and I couldn't tell you why math is like that

rough sapphire
wraith hound
rough sapphire
graceful basin
rough sapphire
#

but that's a huge decline, was 29% in the early 90s

#

so ratio stayed fairly stagnant since the 80s, if anything, decreased since we been reaffirming the divide in the profession

wraith hound
#

then again, i suppose i'm arguing in favor of my general view of society. i've always had a fairly firm belief that very little about a person's beliefs are derived from nature, but rather that they're derived from our experiences growing up (not necessarily someone consciously telling us what to believe, but a summation of experiences and the things we've heard).

rough sapphire
rough sapphire
# rough sapphire

arguably the decline could be due to less importance being placed on a degree and raising education fees, as many employers now accept self taught developers

graceful basin
#

So you claim it started going down instead of up due to the gender imbalance getting brought up?

rough sapphire
#

but there is a noticable decline regardless

rough sapphire
#

but there are numerous explanations

solid elbow
rough sapphire
solid elbow
#

I don't see how it would...

rough sapphire
#

by ur own words it does not

graceful basin
#

As far as I can tell, most sources blame video games being marketed to boys, thereby giving them a major advantage

solid elbow
#

Yeah, I'd suggest that it's largely due to how "nerdy" computers were seen as being during the 80s and 90s.

graceful basin
#

That's actually something I haven't considered

rough sapphire
# solid elbow I don't see how it would...

because you're arguing that the decline in female developers predates the STEM push, which would suggest it's not because they're being told they're not welcome or not able, but simply less women chose to go into those fields as that isn't where their interest aligns

#

if we take out the cultural influence factor, we're left with nature, right?

#

biological interests

solid elbow
#

but we're not taking out the culture factor

#

just the attempts to correct for the culture factor.

#

the push to get more women into STEM is an attempt to change or work around existing societal biases.

rough sapphire
solid elbow
#

take away that push, you're left with just the unmitigated biases.

rough sapphire
#

gaming is what peaked my interest in developing

#

but that comes back to nature

rigid prawn
#

Women in male-dominated, oppressive countries are more likely to be in STEM than are women in Western nations

rough sapphire
#

even before the marketing

#

were trading cards collected more by boys or girls?

wraith hound
rigid prawn
#

it's pretty indicative that, when given the choice, women don't choose computer science all that often

solid elbow
rough sapphire
graceful basin
#

The interest was going up evenly with every other field until 80s

wraith hound
solid elbow
rigid prawn
#

One group has freedom, the other doesn't

wraith hound
#

the thing that makes it practically impossible to accurately determine these things as there's no way to just, like, stop biases. whether they're conscious or unconscious, you're still exposed to them essentially regardless.

rigid prawn
#

The less free ones choose science, the more free ones don't

rough sapphire
#

which would suggest nature not nurture

wraith flower
#

idk, seems pretty equally balanced at this point

rough sapphire
wraith hound
rough sapphire
#

I'd argue playing flappy bird on your phone and computer based games have a vast difference

graceful basin
rough sapphire
#

and I'd suggest the latter has much more incentive to follow CS fields

rough sapphire
rigid prawn
rough sapphire
#

thereby, it would suggest that the cultural influence is not as significant as the nature

rigid prawn
rough sapphire
#

as there is still a vast divide in genders across gamers

graceful basin
wraith flower