#voice-chat-text-0

1 messages · Page 23 of 1

quasi condor
#

fair enough, never seen the templating done like that, but I have no idea what db it is

faint ermine
#

its definitely not using string formatting at least

whole bear
#

In this Python SQLite tutorial, we will be going over a complete introduction to the sqlite3 built-in module within Python. SQLite allows us to quickly get up and running with databases, without spinning up larger databases like MySQL or Postgres. We will be creating a database, creating a table, insert, select, update, and delete data. Let's ge...

▶ Play video
faint ermine
quasi condor
#

Good to know, not seen it before

whole bear
faint ermine
cosmic iris
#

Wat

#

Sorry I’m just here to learn

icy axle
#

@severe geyser your keyboard is coming through a lot

sharp plume
#

Hii @icy axle

quartz terrace
#

hewo

#

hello how u doing?

azure rivet
whole bear
quartz terrace
#

im bored x depressed

azure rivet
#

I'm experimenting with it as we speak

quartz terrace
#

hello?

shell monolith
#

yes?

quartz terrace
#

hallo

#

idk what to say

shell monolith
#

what do you code?

quartz terrace
#

but I'm still a useless creature

shell monolith
#

do you use django?

quartz terrace
#

learning it*

shell monolith
quartz terrace
shell monolith
quartz terrace
#

I like docs in C/C++ stuff

shell monolith
shell monolith
quartz terrace
quartz terrace
shell monolith
shell monolith
quartz terrace
shell monolith
#

you are probably watching the sad ones

quartz terrace
#

I'm doomed

shell monolith
#

ok maybe avoid anime try out games? 😅

quartz terrace
#

But I'm still nothing

#

What cheers up others, doesn't cheer me

#

My humanity is fading away

#

and I'm leaving myself to it

shell monolith
#

what do you think?

quartz terrace
#

I think I should just give up and accept the truth that I'm an animal

#

I've a pet regression, this hopefully explains it further?

shell monolith
#

i think its because you think that way bro

quartz terrace
#

I don't know bro, being a human is kinda painful

#

and shitty

icy axle
#

@whole bear say your say

shell monolith
quartz terrace
#

I'm also an introvert which is uhh not so fortunate

quartz terrace
#

Women are better than men in every corner of life.
Cope.

shell monolith
quartz terrace
#

I'm still young for this though. I have to reconsider some important decisions in my life.

#

I started today some sort of mental therapy with someone here in discord from a femboy server (I am one), and they are so kind and keen to help.

shell monolith
#

@placid hedgeyo bro any django live coding 😅

quartz terrace
#

its true

placid hedge
quartz terrace
#

I mean, history is here if you want to read some

placid hedge
#

If I were to work on that project

#

Which uhh, my frontend is fucking death

#

Cannot do HTML or CSS for the life of me

shell monolith
#

you are on front end work right now?

placid hedge
#

On that project that's all that I would do

quartz terrace
#

Ok I clicked it

placid hedge
#

For work I'm not doing front end

quartz terrace
#

My spotify is cringe too

placid hedge
#

Doing any HTML and CSS make me wanna vomit

icy axle
shell monolith
#

do you see some django live coding here?
idk front end is too confusing for me 😅

placid hedge
#

Why I hate Django frontend. It's pretty much just HTML

quartz terrace
icy axle
placid hedge
#

Leave it to the graphic design majors

#

🤣

quartz terrace
#

True

#

I enjoy ASM more than Front-end (not a pro)

shell monolith
#

what ASM?

placid hedge
#

I started adding a shit ton of my CS colleagues, and the amount of people working to be front-end dev as a CS major is like what the fuck 😂

quartz terrace
placid hedge
#

No judging

placid hedge
#

Maniac

quartz terrace
#

¯_(ツ)_/¯

shell monolith
placid hedge
#

Not human legit

quartz terrace
#

I'm just a masochist, so you know I like to make myself suffocate

quartz terrace
placid hedge
#

@shell monolith What are you btw?

#

Student?

quartz terrace
#

man google be like, "let's be straight to the point kiddo"

shell monolith
#

hahaah just kidding

quartz terrace
shell monolith
#

i just graduated CS 2021-2022

quartz terrace
#

woah I just graduated seconday school

shell monolith
shell monolith
quartz terrace
#

I want to stay a kid

#

I don't wanna get a boring job and yada yada

shell monolith
quartz terrace
#

which is sweet

shell monolith
quartz terrace
#

why do people use zsh, while they can use fish

#

@icy axle you have typo here

ocean solar
#

what kind of typo are you building?

quartz terrace
#

except for catgirls and kittens

ocean solar
#

Do catgirls exist yet?

quartz terrace
#

demon girls also exist

#

and they're so adorable

ocean solar
#

🤔 where to find them?

quartz terrace
#

tinder

ocean solar
quartz terrace
#

no bro, real catgirls are 👑 ☁️ that live on earth

#

you gotta be worthy enough to meet one

ocean solar
#

what do i gotta do to be worthy enough?

#

too late i saw that

quartz terrace
#

..

#

catgirls also like computer nerds

ocean solar
#

no that's impossible

whole bear
#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

quartz terrace
ocean solar
#

you gotta be the mc of an anime

#

we don't live in an anime

#

thus we can not meet catgirls

quartz terrace
#

no cat girls are real bro

#

stop making me feel like I'm insane 😭

ocean solar
#

don't worry dude/gal, there is still a chance with technology...

#

友人がカフェに遊びに来ました。
頑張ってましろがお給仕します。

2022年10月7-9日、
東京・秋葉原のレンタルカフェ カフェトリオンプで
メイドロボット ましろが給仕する
実験店舗メイドロボカフェプロトタイプをオープンしました。

MaSiRoプロジェクト発足から4年
4歳になった娘が一生懸命初めてのお給仕する姿をみてください。

MaSiRoプロジェクトは、"アニメから抜け出てきたような個性豊かなメイドロボット達によるメイドロボットカフェ" を作ることを目標に 本物 のメイドロボット開発を行っています。

今回実現したのは、あくまで”プロトタイプ”
ここがゴールではなく、やっとメイドロボットとしてスタートラインに立てました。

これからもましろ姉妹は、より賢く、より可愛くを目...

▶ Play video
quartz terrace
#

owo

#

but I insist that catgirls are real

#

just search it up

ocean solar
quartz terrace
#

bruh why do find the gross ones..

#

deviantart has some cute catgirls.

#

I can send a hotass one, but my bro is sitting behind 😄

#

For a second I thought you were saying, "Why don't you guys dominate me"

astral eagle
#

hi

#

i need to complete my 50 message misson

#

XD

pseudo mason
#

#bot-commands

compact salmon
#

same

#

i think its anoyying

#

its way too much

signal laurel
#

same

somber heath
#

@safe pumice 👋

safe pumice
#

y_black = y[y > f(x)]

#

slope = -2 # we define a variable here as we need it later
def f(x, slope=slope):
return slope*x

somber heath
#

!e py import numpy as np arr = np.arange(10) result = arr[arr % 2 == 0] print(result)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

[0 2 4 6 8]
somber heath
#

!e py import numpy as np arr = np.arange(10) result = arr % 2 == 0 print(result)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

[ True False  True False  True False  True False  True False]
somber heath
#

arr is just 0 1 2 3 4 5 6 7 8 9

#

!e py import numpy as np print(np.arange(10))

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

[0 1 2 3 4 5 6 7 8 9]
safe pumice
#

import numpy as np
import matplotlib.pyplot as plt
plt.rcParams['image.cmap'] = 'plasma' # nice colours
plt.rcParams['lines.markersize'] = 3 # nice scatter point size

num_points = 100

np.random.random generates floats from 0 to 1

multiply those by two and subtract one to get num_points points between -1 and 1

bidmas

x = -1 + 2 * np.random.random(num_points)

the Euclidean (L2) distance between our points and the limit (1 == 1**2)

the closer a point is to 1 or -1, the lower its corresponding value in L will be

L = np.sqrt(1 - x * x)

print("test1" + L)

use the distance measure when generating y (otherwise also using the same np.random.random)

if an x is close to 1 or -1 (larger), the y will be correspondingly smaller

the effect of this is to distribute the data on a disk of radius 1 (instead of uniformly → a square)

y = L * (-1 + 2 * np.random.random(num_points))

for uniformly distributed data:

y = -1 + 2 * np.random.random(num_points)

we use a hypothetical line, y = -2x to split our data:

every point on or below it will be red, every point above black

slope = -2 # we define a variable here as we need it later
def f(x, slope=slope):
return slope*x

x_black = x[y > f(x)] # if y is above f(x) == -2x, black
y_black = y[y > f(x)]

x_red = x[y <= f(x)] # if y is on or below f(x) == -2x, black
y_red = y[y <= f(x)]

#

def plot_data():

plt.axes().set_aspect('equal')
plt.plot(x_black, y_black, 'ko')
plt.plot(x_red, y_red, 'ro')

u = np.linspace(-1, 1, 100)
v = np.zeros(100)

plt.plot(u, v, 'b')
plt.plot(v, u, 'b')
plt.show()
#

def print_data():
for i in range(len(x)):
label = 'black' if y[i] > f(x[i]) else 'red'
print(f'{x[i]: 12.10f}', ', ', f'{y[i]: 12.10f}', '\t', label, sep='')

#

print_data()

somber heath
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

somber heath
#
def func(v):
    return v

#is roughly equivalent to

func = lambda v: v```and is often used in things like list.sort, sorted, max, and min.
safe pumice
somber heath
#

!e py data = [1, 3, 2, 5, 4, 7, 6, 8, 7, 9, 0] data.sort(key=lambda v: v % 2) print(data) #Where every element of data is given to a lambda call as v, the return of which governs that element's position in the sort

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

[2, 4, 6, 8, 0, 1, 3, 5, 7, 7, 9]
somber heath
#

Evens on the left, odds on the right.

#
def func(v):
    return v % 2```
#
data.sort(key=func)```
#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

somber heath
#

But I think there's also something called the lambda function, which is different again.

#

You're in the right place. 🙂

#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

somber heath
#

My favourite place to send people is Corey Schafer's Youtube.

#

Web based Python is demonic influence made manifest on earth.

compact salmon
#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

safe pumice
compact salmon
#

'''

somber heath
#

They each have their own implementations which each behave differently and have their own rough corners that cause weird errors.

compact salmon
#

'''
py
print(hello world)
'''

somber heath
#

Code which ought to work in regular Python can sometimes just not work in a web-based Python....even when it should.

#

` not '

compact salmon
#

i am very curios how they did the python thingi

somber heath
#

Which Python thing?

#

You're on a Python server, you'll need to be more specific.

compact salmon
#

coding on the server

somber heath
#

!e?

#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

somber heath
#

This?

#
print("Hello, world.")```
safe pumice
compact salmon
#

i need some help pls

whole bear
#

@safe pumice

#
safe pumice
#

thank you so much guys

fluid helm
#

i do not have permission to speak wkwk

signal laurel
#

same

fluid helm
#

wkwk

signal laurel
#

pretty new

fluid helm
whole bear
#
import requests


def linkfetch():
    data = requests.get("https://api.warframestat.us/pc/fissures").json()
    for x in data:
        if (x['isHard'] and x['isStorm'] != 'True'):
            print(x['isStorm'], x['isHard'])


linkfetch()
fluid helm
#

"True" in "Truey", output was True... so it just check if there is a "True" word in "Truey"?

#

okay thanks

whole bear
#
a = "False"
b = "False"
if (a == "False") and ( b == "False")
   print("both are false")
icy axle
#

👋

undone idol
#

@molten pewter 👋

#

How's the day treatin' you?

#

👀

#

gud, it's harshly raining.

#

Mmm

#

We don't have much rain here, at equator.

zenith radish
prisma reef
prisma reef
#

vanished into thin air like nothing happened

unkempt skiff
#

how to know the number of my messages?

#

I want to reach 50 😄

prisma reef
#

You can search across the whole server for your messages

fallow barn
#

how can i get permission to speak

#

bhen di gaal sun nhi hai ya fr maa di?

#

just tell how

faint ermine
#

please don't ping me randomly for help

quasi condor
zenith radish
sturdy panther
#

Would be interesting to see what happens if wildcard is inserted before the last card.

quartz terrace
#

👋

#

@peak parcel

peak parcel
#

👋

quartz terrace
#

the requests library?

#

@distant grail I think I found you bro

sturdy panther
#

I guess we can deduce that the reversed iterator is likely just an index.

quartz terrace
#

@icy axle ay

#

I have to deafen for a sec

sturdy panther
#

Surprising, but also makes sense in hindsight. I was expecting an exception of some sort.

hearty perch
#

Hello

somber heath
#

@junior shadow Hm. Voice isn't connecting.

#

@haughty frost 👋

haughty frost
#

hey fam

#

says i need 50 msg fml

#

sad server

#

thats 4

#

human behavoir

#

lol

#

makes sense i was just gunna ask yall bout work an shi

somber heath
#

@sonic quarry 👋

astral eagle
#

hi

#

need 50 msg

#

dont know how to make it

#

telling me that 1 word per minute

#

mind blowing idea

frosty garnet
rotund hollow
#

hi

frosty garnet
#

🙂

frosty garnet
surreal wyvern
#

What is this?

#

Prompt ?

#

Why it's giving stainless steel head

#

This one is dalle

#

This your friend made?

astral eagle
surreal wyvern
hardy jasper
#

oh hi

#

I don't have perms

somber heath
#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

hardy jasper
#

I need to be here at least for 3 days to get the permissions

#

anyways how are you?

#

cool

#

how experienced are you in python

#

oh nice

#

I'm a beginner

#

sometimes it just takes me days to fix an issue inside my projects

#

exactly

#

wise words

#

it does fr

#

I'm having issue with my project and it seems simple to fix but idk why it's not working

#

it's a classic pong game I built using turtle

#

but the sounds for some reason doesn't play if I start the pong.py using cmd or python 3

somber heath
#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

hardy jasper
#

it only works when I select the whole folder that contains everything in visual studio code

somber heath
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

hardy jasper
#

yeah

#

like

#

I have the pong_game folder containing pong.py and the folder that contains the sounds

#

yeah

#

paste it here?

#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

hardy jasper
#

like this?

#

updates?

#

line 102

#

the game works

#

but the sounds seem to have issues I guess

#

yeah because in vs code I have the entire folder selected

#

that what it seems to me

#

and for some reason .py files can't reach other files if they both were in the same folder

#

yeah happened to me before

#

fair enough

#

is it possible to use pygame with my turtle code somehow?

#

well

#

I get the windows error sound when the ball hit anything

#

fair enough, I'm using different os and program lol

#

lol

#

I might try to recreate the game using pygame

#

that would take a lot of time haha

#

yeah, the whole idea of this project is learning python

#

I was watching a video tutorial on how to make this game but I changed some code lines because it didn't seem logical to me and fixed some bugs

#

like he used ball.dx *= -1

#

to change the ball direction

#

I was so confused on how did that reverse the ball direction lol

#

if ball.ycor() > 290:
ball.sety(290)
ball.dy = -0.1

#

this one is better imo

#

like yeah it's 2x the work but easier to understand

#

if the ball goes beyoned 290 then the ball y direction should be changed to -0.1

#

so it goes down

#

that would be funny

#

I mean

#

they already did tetris

#

why not make pong lol

#

pong is competitive hahaha

#

best competitive game

#

it only needs skills and reaction time

#

hi @brittle snow

#

hello javaspa

#

how old are you if I may ask

#

I'm 17, I started learning python few months ago and I stopped for like a month or two now I'm back

#

I enjoy coding and seeing my code work more than playing games lol

#

Feel the rush of dopamine

#

alright

#

welcome back

#

I'm gonna head out

#

I have to exercise

#

it's been fun talking with you

#

have a nice day :D

final crane
#

Why can I not talk

somber heath
#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

final crane
#

oh thank you

#

I need help

#

my . shift does not work

#

do you guys know why

#

@somber heath

#

do you know what I have done wrong

#

@lethal thunder why do you live in iran

somber heath
#

I'm not fluent in that. Sorry.

final crane
#

ok

#

@astral eagle

#

do you know why my x.shift

#

does not work

#

oh ok its fine

final crane
#

I solved it

#

I hade to make it an array insted of string

lethal thunder
brittle snow
#

Č

wanton pumice
#

ç

astral eagle
#

ch

brittle snow
astral eagle
#

Чего

lethal thunder
#

eels

wanton pumice
#

çiğo

floral nest
#

Hi

brittle snow
#

ČEVO

wanton pumice
#

ne

floral nest
#

sa

wanton pumice
#

as

lethal thunder
#

na

astral eagle
#

neh

floral nest
#

ne

#

not neh

astral eagle
#

evet

lethal thunder
#

non

somber heath
#

Yeah, nah: No.
Nah, yeah: Yes.

astral eagle
#

yo'q

floral nest
#

yok

wary scroll
#

yolk

final crane
#

I cant speak

#

) :

floral nest
#

@lethal thunder ı dont no speak english

final crane
#

oh

lethal thunder
#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

final crane
#

I

#

will not

#

spam

#

trust

floral nest
#

@wanton pumice türk müsün?

final crane
#

I promise

somber heath
#

@brittle snow Because I don't like to speak over people.

lethal thunder
#

8 messages in 10 seconds results in 10 minute mute

wanton pumice
#

evet türküm

somber heath
#

Also, when I have something to say, I will say it.

lethal thunder
#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

lethal thunder
#

^^^^^^^^^^^go to speak^^^^^^^^^^^^^^^

somber heath
#

Or miss the opportunity and get impotently grumpy about it for a minute or so.

wary scroll
#

is this discord like affilated witth python?

final crane
#

yes

#

I found the solution to the thing I was doing

#

but it was not speed efficient

lethal thunder
#

this is like the 50th biggest discord server or something

#

im pretty sure

#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 100
Member status: status_online 57,378 status_offline 301,018

Members: 358,398

Helpers: 145
Moderation Team: 36
Admins: 14
Owners: 3
Contributors: 44
Leads: 10

Channels: 270

Category: 32
Forum: 1
News: 10
Staff: 67
Stage_Voice: 2
Text: 149
Voice: 9

wary scroll
#

understood

final crane
#

I do not support the setting that has users muted when they join

#

they should probably change that

somber heath
#

Screamers every ten minutes.

#

Mic blowers.

#

Gigglers.

final crane
#

oh

somber heath
#

Yah.

lethal thunder
somber heath
#

I don't like that the voice gate is needed, because it does present a barrier to legitimate newcomer participation, but it's better to have it than to not.

somber heath
whole bear
icy axle
# wary scroll is this discord like affilated witth python?

The PSF (Python Software Foundation) doesn't have a say on what happens here, and we're not sponsored by them or anything. But we are the largest Python community on Discord, we've hosted official core developer sprints, streamed the releases of new python versions with the release manager etc. And I'd say we have good relations with the PSF

final crane
#

I am soon free

#

form the suffering

#

of not being able to speak

#

its true

#

I have heard mewing helps with it, sleep apnea

#

okay guys

#

I have a coding problem for you

wanton pumice
#

which language

final crane
#

what does this code do

#

its javascript

#

the weather here is not so good ) :

#

What do you guys think of my profile pic

#

it is actually from a game called spore

#

in spore you can like create your own animal

somber heath
#

It's a gooooose.

final crane
#

and someone created this animal

somber heath
#

There's a glorious video of Robin Williams creating a Spore creature.

final crane
#

Im going to watch that now

somber heath
#

It was a Big Thing in its time.

#

Spore.

astral eagle
#

yea really big

whole bear
#

hello @whole bear

#

why not

lapis depot
#

ahahah

whole bear
#

you are capping @brittle snow

#

you are not 21

#

you are not more than 9 i bet

brittle snow
whole bear
#

i am not

#

@whole bear you gottem

quartz terrace
#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 100
Member status: status_online 59,039 status_offline 299,366

Members: 358,407

Helpers: 145
Moderation Team: 36
Admins: 14
Owners: 3
Contributors: 44
Leads: 10

Channels: 270

Category: 32
Forum: 1
News: 10
Staff: 67
Stage_Voice: 2
Text: 149
Voice: 9

quartz terrace
#

oh yeah 6 years I forgot

#

!source ""

wise cargoBOT
#
Bad argument

Unable to convert '""' to valid command, tag, or Cog.

#
Command Help

!source [source_item=None]
Can also use: src

Display information and a GitHub link to the source code of a command, tag, or cog.

quartz terrace
#

!source if

wise cargoBOT
#
Bad argument

Unable to convert 'if' to valid command, tag, or Cog.

#
Command Help

!source [source_item=None]
Can also use: src

Display information and a GitHub link to the source code of a command, tag, or cog.

quartz terrace
#

!source "<"

wise cargoBOT
#
Bad argument

Unable to convert '"<"' to valid command, tag, or Cog.

#
Command Help

!source [source_item=None]
Can also use: src

Display information and a GitHub link to the source code of a command, tag, or cog.

quartz terrace
#

!source "!close"

wise cargoBOT
#
Bad argument

Unable to convert '"!close"' to valid command, tag, or Cog.

#
Command Help

!source [source_item=None]
Can also use: src

Display information and a GitHub link to the source code of a command, tag, or cog.

quartz terrace
#

!source """

wise cargoBOT
#
Bad argument

Unable to convert '"""' to valid command, tag, or Cog.

#
Command Help

!source [source_item=None]
Can also use: src

Display information and a GitHub link to the source code of a command, tag, or cog.

brittle snow
whole orchid
#

Any chance I can get unmuted?

quartz terrace
whole orchid
#

Idk

#

Gotcha

quartz terrace
whole orchid
#

Thx

#

Now I just need to send 46 more messages 🙂

quartz terrace
whole orchid
#

Soooo, do you guys do web dev or data science?

#

I am

quartz terrace
#

data science be like 😖 (for me)

whole orchid
#

Ukraine 💪

#

Staying strong

#

Come again?

#

Can you spell it 😄 ?

brittle snow
wanton pumice
#

revdia

whole orchid
#

nah

quartz terrace
#

wow python has arms

whole orchid
#

I'm a data scientist actually

#

And running a start-up on the side

quartz terrace
whole orchid
#

ok 😉

quartz terrace
#

are you here from last year, and didn't know about the voice verification thing 🤣 🤣

whole orchid
#

Yeah hahahah

#

I didn't really participated in the server 🙂

quartz terrace
#

neither do I tbh

whole bear
#

nice person doesnt sound like your characteristics, you must have hacked @icy axle

#

5 months

whole orchid
#

It seems I'd also need to do 3 10-minutes spans of messages or smth 😁

quartz terrace
#

💪

whole orchid
#

That's a cool barrier actually

#

We can

#

see ya man

quartz terrace
#

me opens to search GIFs and accidentally finds kiss recommendations at top

#

🤢

whole orchid
#

hhahahahahah

whole bear
#

cool nickanme lemon_smirk

whole orchid
#

be aware, he might consume you!

whole bear
#

oh nooo

quartz terrace
#

me gets turned on -> ||please don't mention people eating other people, it triggers me||

whole orchid
#

hahahahahaha

#

A cool fetish

icy axle
quartz terrace
whole orchid
#

Do I?

quartz terrace
#

I already have a lot of them destroying my fucking life

whole bear
#

@icy axle thanks for the clarification

whole orchid
whole bear
#

51

#

ikr

#

haha get rekt

#

ofc

quartz terrace
whole orchid
#

Well

#

Is it painful?

#

Or maybe you enjoy it?

quartz terrace
#

it is enjoyable and fantastic (but it will destroy my life if I didn't stop my addictions)

whole orchid
#

That's true

whole bear
#

what are you using @icy axle n

whole orchid
#

Any addiction is shit

quartz terrace
#

and I will give up my entire life to it 😭

whole orchid
#

Well

#

I guess if you are on a python server

quartz terrace
#

I'm trying to get therapy 😭 but nothing works

whole orchid
#

You should be on a right path 🙂

quartz terrace
whole bear
#

@brittle snow its just cool for discord badge

icy axle
#

now i use js

whole bear
#

this thing

whole orchid
#

For me I have 2 jobs and the war and college 🙂
And sex stuff kinda helps me not get burnt out 🙂
But you're right addictions are killing

whole bear
whole orchid
#

hahahahah but I enjoy it

icy axle
#

i'm at 56

#

still not good enough

quartz terrace
#

me too 🤣

brittle snow
quartz terrace
#

but I'll regret at some point of my life

whole orchid
#

No I mean

#

I enjoy working 🙂

brittle snow
quartz terrace
#

what are they talking about dear

icy axle
#

neat solution

whole orchid
#

I love business and do that part time

#

Reinvesting salary from ft to the start-up

brittle snow
whole orchid
#

And doing final year in college

whole bear
# icy axle i'm at 56

i sabotaged you so bad that you wont be able to show your face in public for the next 10 decades

whole orchid
#

in Ukraine

#

ahahahahah

icy axle
#
r=readline
m=r()=="+"
a=+r()
b=+r()
print(m?b+b-a:b*b/a)
whole bear
#

not bad

quartz terrace
whole bear
#

you could have reduced it though

icy axle
#

yeah

#

idk how though

whole orchid
icy axle
#

but i feel like it's possible

whole orchid
#

But today I saw a gelicopter

#

helicopter

#

The ours

#

It's so motivating to see your army

icy axle
#

I tried a,b=+r(),+r() but it didn't work

whole orchid
#

I am

whole bear
icy axle
#

how

quartz terrace
whole orchid
whole bear
whole orchid
#

Has anyone tried Scala language?

quartz terrace
whole orchid
quartz terrace
#

Scala != rynite.favorites

whole orchid
#

Not R or python lol

icy axle
whole orchid
#

Yeahhh

icy axle
#

yes

whole orchid
#

I cam from Software dev backfground

#

We used Java

#

And scala is like middle man between java and python

whole bear
#

this works too a=+r(b=+r())

quartz terrace
#

mh really

whole orchid
#

But it's more functional

icy axle
quartz terrace
#

functional programming 🤮 my weakness

icy axle
#

oh

#

lol

whole orchid
#

I still don't really understand all that ducntional shit

#

But it's funny

whole orchid
icy axle
#

ctional

whole orchid
#

I think u need to understnad the basics

quartz terrace
whole orchid
#

Like passing functions around and stuff

whole bear
#

the more you adore math, the more you like functional

whole orchid
#

I really like math

#

But I can't say I prefer func over oop

#

So I'm either an outlier

quartz terrace
#

I think I adore madness and stupidity

whole orchid
#

Or you're incorrect

#

🙂

icy axle
#

ok i gotta go now

quartz terrace
#

so x86 is perfect

#

@brittle snow bc I'm mad hun

icy axle
#

time to eat

whole orchid
#

This is like chaos vs order

#

Chaos is also great

whole bear
#

functional is gooooood

whole orchid
#

Chaos is basically the work of any senior dev

#

haha

whole bear
#

ok bye

icy axle
#

baii

whole orchid
#

bye guys

brittle snow
#

bye

quartz terrace
#

bai bai

whole bear
#

bye everyone

final crane
#

hi guys

icy axle
#

don't sleep

whole orchid
#

Man I want to get unmuted so much haha

icy axle
#

(or do)

quartz terrace
final crane
#

is everyone going

whole bear
#

how long will you take

whole orchid
#

wasssssuuuup

final crane
#

or what is going on

quartz terrace
icy axle
whole bear
#

aaaa

#

i ll try

final crane
#

oh ok

icy axle
#

.randomcase aaaaaaaa

viscid lagoonBOT
#

aAAaaaAa

whole bear
#

aAAaaaAa

icy axle
#

.reverse aAAaaaAa

viscid lagoonBOT
#

aAaaaAAa

whole bear
#

aAaaaAAa

quartz terrace
#

@whole orchid goodjob pal

#

now leave

icy axle
#

.uwu aAaaaAAa

viscid lagoonBOT
#

aaaaaaaa

quartz terrace
#

join from your alt and get these 50 messages again

#

@whole bear why are you idling for 15:00:00?!

whole bear
#

i am not

#

its just open in the background

quartz terrace
#

ah

#

I once saw you working for 48+ hrs on a jsx project iirc

quartz terrace
#

lol this one is funny

icy axle
wise cargoBOT
#

@icy axle :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | hi
002 | 0
003 | 0 0
004 | 0 1
005 | 1
006 | 1 0
007 | 1 1
008 | 2
009 | 2 0
010 | 2 1
011 | 3
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/iwosawizez.txt?noredirect

knotty marlin
#

hey guys sometimes when I am doing nothing in a tab and press a key in my keyboard, a video sounds starts playing, is it malware ?

quartz terrace
whole orchid
knotty marlin
knotty marlin
#

for example something that would open tabs randomly at random intervals is malware, though its goofy and just annoying

quartz terrace
knotty marlin
#

Yes I think so

quartz terrace
#

🧑‍⚕️ get some medical care

knotty marlin
#

-_-

quartz terrace
#

your welcome ❤️

quartz terrace
#

bruh I forgot to put on my headphones sry

#

onse sec

astral plank
#

@quartz terrace Can you help me with a project?

quartz terrace
#

what kind of project

#

(im a kid btw don't expect anything)

#

@rain sorrel pacman>

rain sorrel
quartz terrace
rain sorrel
#

I can @astral plank

quartz terrace
#

Nix is anyways better than both

astral plank
quartz terrace
#

NO

#

YOUR MAKING ME CRY

#

bro no you must be kidding

#

apt is so trash

quartz terrace
#

👋

#

nope

#

when you're about to say "hi", and-

#

lol

#

I'm s h y

#

🤓

#

ello ello

#

at noon

#

!e
type = input("What do you weigh in? (K)gs, (L)bs or (S)t: ")
weight = float(input("Weight: "))
unit = input("What do you wanna convert it to? (K)gs, (L)bs or (S)t: ")
if unit.upper() == "K":
converted = weight / 0.45
print ("Weight in Kgs: " + str(converted))
if unit.upper() == "L":
converted = weight * 0.45
print("Weight in Lbs: " + str(converted))
if unit.upper() == "S":
converted = weight / 6.42
print("Weight in St: " + str(converted))

wise cargoBOT
#

@quartz terrace :x: Your 3.11 eval job has completed with return code 1.

001 | What do you weigh in? (K)gs, (L)bs or (S)t: Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
quartz terrace
#

ohhhhh

#

!e

type = input("What do you weigh in? (K)gs, (L)bs or (S)t: ")
weight = float(input("Weight: "))
unit = input("What do you wanna convert it to? (K)gs, (L)bs or (S)t: ")
if unit.upper() == "K":
    converted = weight / 0.45
    print ("Weight in Kgs: " + str(converted))
if unit.upper() == "L":
    converted = weight * 0.45
    print("Weight in Lbs: " + str(converted))
if unit.upper() == "S":
    converted = weight / 6.42
    print("Weight in St: " + str(converted))
wise cargoBOT
#

@quartz terrace :x: Your 3.11 eval job has completed with return code 1.

001 | What do you weigh in? (K)gs, (L)bs or (S)t: Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
quartz terrace
#

!e
type = input("What do you weigh in? (K)gs, (L)bs or (S)t: ")
weight = float(input("Weight: "))

if unit.upper() == "K":
converted = weight / 0.45
print ("Weight in Kgs: " + str(converted))
if unit.upper() == "L":
converted = weight * 0.45
print("Weight in Lbs: " + str(converted))
if unit.upper() == "S":
converted = weight / 6.42
print("Weight in St: " + str(converted))

wise cargoBOT
#

@quartz terrace :x: Your 3.11 eval job has completed with return code 1.

001 | What do you weigh in? (K)gs, (L)bs or (S)t: Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
quartz terrace
#

what's wrong, the problem looks so simple, but I can't focus

#

oh

#

its discord

whole bear
#

(k,k) (k,s)(k,l), (l,l),(l,k)(s,k)

quartz terrace
#

is this like a discord bot you're writing

#

what's not working, I see no errors

#

oh

noble cove
#

the last / just needs to become a *

quartz terrace
#

over simplicity == over complexity

#

yeah lol

noble cove
#

surely your conversion method is also dependant on the input

#

for example

#

converting to stone from kgs would be a different eq than from Lbs

#

close but right idea

#

he was on the money with the combos but he deleted it

whole bear
#

(k,k) (k,s)(k,l), (l,l),(l,k)(s,k)

#

There u go

noble cove
#

youd need eqs for (k,s)(k,l), (l,k),(l,s),(s,k) and (s,l)

whole bear
#

If ( type,unit) == (K,L):
Pass

noble cove
#

yeah, loads of ways to do it tho

#

simplest but messy way is to code in each of the scenarios as if statements

#

right now you have 6 branches at root level, you'd need 3 with 2 inside them each for what they can be converted to

#

type = input()
if type = "k":
if type = "l":
do conversion
if type = "s":
do conversion

quartz terrace
#

bye bye

#

ight lol, goodnight 💓

noble cove
#

gimmie sec, ill show you the simplest way of doing it for one of them

quartz terrace
#

hai @mortal crystal

#

holla'

noble cove
#

type = input("K, L, or S")
weight = input("What is your Weight?")
if type.upper() == "K":
unit = input ("L or S")
if unit.upper() == "L":
print(f"Converted weight is: {str(2.205*weight)}")
if unit.upper() == "S":
print(f"Converted weight is: {str(weight/6.35)}")

#

simple but does the trick

quartz terrace
#

im also a linucks gamer I stream myman on twitch

noble cove
#

you're like 90% there

#

lemme add some comments, im purposefully being obtuse so you have something to work out

#

youll learn more that way

quartz terrace
#

*too fucking simple

#

no offense lol

#

OH MY FUCKIN GOD

#

wasn't talkin abt u dw lol

#

I hate this dude

noble cove
#

you essentially just need to copy everything from "if unit.upper() = "K":"

#

and edit it for S and L

#

Im and idiot, one of the comments is wrong

#

should be K->L sorry

proper grotto
#

how do i talk on the channel

#

do i have to verify or something

#

ah interesting

#

I have to send 50 messages lol

#

damn lol

#

that sounds annoying

noble cove
#

you just bashed out 10%

proper grotto
#

that sneeze tho 🙂

proper grotto
#

hey me too lol

#

what are you working with @serene glade

#

damn lol

#

what are you talking about lol

#

linux gamer where are you from?

#

you sound german lol

serene glade
#

I'm working on a pong game right now

proper grotto
#

oh cool

#

or austrian lool

#

like arnold

#

looool

#

your English is very nice

#

do your best arnold impression

#

you basically sound like him

#

to a non german it does

#

you sound like killjoy from valorant

#

are germans mean lol

#

im an und american

#

hola si si patron

#

if you ever need to escape US you have an easy escape

hearty perch
#

Gotta go 👋

serene glade
#

Have a good one

proper grotto
#
WebDriverWait(self.driver, 10).until(
            # EC.text_to_be_present_in_element((By.XPATH, '//div[@class="settings_group"]/div[@id="plan"]'), "results")
            EC.text_to_be_present_in_element((By.CSS_SELECTOR, '#plan'), "Invalid key")
        )
#
def text_to_be_present_in_element(locator: Any,
                                  text_: Any) -> (driver: {find_element}) -> bool
wise cargoBOT
#

Hey @fading owl!

It looks like you tried to attach file type(s) that we do not allow (.html). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.

Feel free to ask in #community-meta if you think this is a mistake.

gentle flint
#

what?

fading owl
#

@quaint oyster

quaint oyster
whole bear
#
import sqlite3

conn = sqlite3.connect("users.db",check_same_thread=False)
x = conn.cursor()

def get_user_by_in_transaction(ID, in_transaction):
    x.execute("SELECT * FROM users WHERE ID=:ID",{'ID': ID})
    return x.fetchone()
serene glade
#

GTG

#

Take care all

wise cargoBOT
fading owl
#

@quaint oyster do you think you are still able to help me with that Assignment Problem ?

quaint oyster
#

Try to understand the solution

fading owl
quaint oyster
#

and then we can walk through it together

fading owl
#

sound good

knotty marlin
#

@whole bear hello new guy

knotty marlin
pastel linden
#

guys

#

hello

#

how do you find certain file

#

the path to certain file using python

#

plz help

quaint oyster
drifting zinc
#

i just joined today the server maybe requires at least 3days ? to get voice verification

somber heath
#

Hm. Have you looked at Socratica's YouTube?

drifting zinc
somber heath
#

I'll usually refer people to Corey Schafer's.

#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

somber heath
somber heath
#

That's a very open ended sort of answer.

#

"Whatever a computer can do."

#

!d math.dist

wise cargoBOT
#

math.dist(p, q)```
Return the Euclidean distance between two points *p* and *q*, each given as a sequence (or iterable) of coordinates. The two points must have the same dimension.

Roughly equivalent to:

```py
sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q)))
```   New in version 3.8.
rotund hollow
#

hello

somber heath
#

Sentiment analysis vs sarcasm. Who will win? You decide!

#

A systematic measurement of stylistic proximity between two samples is ultimately self-defeating as a reliable measure in some cases.

"Hey, did you know that Gandhi wrote Harry Potter fanfiction? Here's the test to prove the fanfiction and known writings are by the same author."

#

A test can be used in synthesis.

#

"What's closer? This generated candidate or that one? Take that one, mutate. Rinse, repeat."

neon orbit
#

Most people believe that Machine Learning requires:

❌ A strong statistical background
❌ University level mathematics
❌ Proficiency in computer science
Agree?

👉 No! Actually, that is a misconception of Machine Learning.

One of the biggest kept secrets in the Machine Learning communities is that it does not require high level of statistics, mat...

▶ Play video
#

.ipynb

lusty ravine
#

hi
i was playing with the ide i use to code python and i saw this auto complete function and i m not sure what is happening

def __eq__(self, o: object) -> bool:
    return super().__eq__(o)

can someone explain the (self, o: object) -> bool: ?

somber heath
#

What aspect?

lusty ravine
#

like what is happening? what is "python doing"
i know that eq is to compare 2 objects, but i ve never seen (self, o: object) -> bool:

somber heath
#

The self? The :??? and -> ??? bits?

lusty ravine
#

is the -> bool telling python that the function must return a Boolean?
what is self, o:object?

somber heath
#

The :object bit is the type hinting for the preceding parameter, o

#

the -> bool is the type hinting for the return

#

self refers to the instance of whatever class the method is from

#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

lusty ravine
#

or is it just to try to reduce run time?

somber heath
#

Type hinting can be thought of as something Python itself ignores.

vague jackal
#

Feuer und Flamme

somber heath
#

It doesn't entirely, but it doesn't enforce anything.

neon orbit
#

Dark on Netflix

somber heath
#

It's more for your IDE/linter

vague jackal
#

Das Boot

somber heath
#

It's a way of saying "This parameter should be given this kind of object, this function or method should return this kind of object, etc."

lusty ravine
somber heath
#

Not Python

lusty ravine
somber heath
#

!e ```py
def func(a: int, b: str) -> float:
pass

print(func.annotations)```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

{'a': <class 'int'>, 'b': <class 'str'>, 'return': <class 'float'>}
somber heath
#

Python sees, but does not care.

lusty ravine
#

that' s very nice
it' s like giving the type of the object but not enforcing it
and it can be used everywhere
cool

#

you are the best
thank' s

vague jackal
icy axle
pale trout
#

Dude, how to learn chemistry in a week:?

quartz terrace
#

hello @stray swan

#

I didn't hear anything sry

quartz terrace
#

allo

#

good ig?

#

ig -> i guess

#

what's your problem

#

removing the file? am I hearing correctly?

#

so you got issues removing the file?

#

can you show any context (I recommend going to the help channels tho, but I'll try)

#

I mean can i see the code where you remove the file

#

hello @drifting zinc btw

drifting zinc
#

I'm new here so i'm not verified for voice

quartz terrace
#

oh I thought you said help-arch, I thought you're talking about arch linux wtf

#

I confused arch with orange

#

🤣

drifting zinc
#

do you know how to get video permission here

#

good girl

quartz terrace
drifting zinc
drifting zinc
quartz terrace
drifting zinc
#

if u okay with it

quartz terrace
#

ok sure

drifting zinc
quartz terrace
#

print automatically does that iirc

#

and what do you expect?

#

can you show me a sample

#

like write it here in discord

#

the output you expect

#

you want your input to be in the same line?

#

and what happens instead?

#

oh

#

you can do print("") before taking input

#

just print("")

#

this prints a new line

#

then you take the input on that new line

#

wait

#

I saw your code my bad

#

try printing "What do you weigh in?", then taking input separately

#
print("hello: ")
s = input("")

for ex

#

yeah print "Kgs, Lbs" in that same line where you print "What do you want to weigh in"

#

print("What do you want to weigh in, Kgs, Lbs or idk: ")

#

then take input after this

#

print doesnt return anything

#

you had to do the opposite lmao

#
print("convert to")
conversion_type = input("")
barren carbon
#

why does it say elif size == 'L': bill += 25 if add_pepperoni == 'Y': bill += 3 has a indentation error on the 'Y': does anyone know how to fix it

quartz terrace
barren carbon
#

I fixed it @ionic ferry helped me

knotty marlin
#

when code runs good first try

quartz terrace
knotty marlin
#

hein

#

wrong ping ?

undone idol
#

interesting

somber heath
#

100s & 1000s on bread to make fairy bread.

#

"Hundreds and thousands"

rugged root
#

On in a sec, folks

#

Talking with co-workers

velvet urchin
molten pewter
molten pewter
grand plover
#

lawful unlawful

#

i thought it was self defence or killing

molten pewter
#

national average cost per parking space $24,748

grand plover
#

how to legally kill a person

#

one way is paying a hitman

#

make a plot

#

but afte this two what

#

usa goverment is the most strict goverment of the world

#

well i give up

molten pewter
#

"U.S. motorist spend about $5,000
annually per vehicle. There are an
estimated five parking spaces per
vehicle, including residential, nonresidential off-street, and on-street
parking, with costs totaling about
$5,000 annually. For every dollar
motorists spend on their vehicle,
somebody spends about a dollar on
parking. This averages about 45¢ per
vehicle-mile, of which about 11¢ paid
directly by users and 34¢ is subsidy."

dusk pulsar
#

i don't have voice perms

#

but blahaj is a stuffed pillow shark

somber heath
#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

dusk pulsar
#

i probably don't have enough talk in here to qualify

molten pewter
#

“There are private schools in Finland, but they offer the same education based on the national education plan, just like public schools. Private schools get funding from the state and cannot charge fees” to generate profit, according to Niinimäki, who added that private schools need government permission to operate.

#

Duchess Worldwide, Inc., doing business as Duchess, is a privately owned and operated regional casual fast food restaurant chain that operates in southwestern Connecticut. Duchess was founded in 1956 by Harold and Jack Berkowitz in Bridgeport and based in Milford, Connecticut. There are 14 locations all in the Fairfield and New Haven counties of...

tulip plover
#

Good morning

rugged root
#

pacman -Rn <package_name> then reinstall it

cosmic lark
#

arch has makepkg -i

#

it has

#

dude

rugged root
#

Let's get on the laptop
@zenith radish You mean your vape charger?

zenith radish
rugged root
#

Right right

#

I code on Windows, btw

zenith radish