#voice-chat-text-0

1 messages Ā· Page 898 of 1

thick beacon
#

yes yes! i got his all free courses on his giveaway day. lol

woeful salmon
#

what kinda courses?

thick beacon
woeful salmon
#

oh

thick beacon
#

i wanna come on voice..

fathom spindle
#

imagine

gentle flint
#

A captive portal is a web page accessed with a web browser that is displayed to newly connected users of a Wi-Fi or wired network before they are granted broader access to network resources. Captive portals are commonly used to present a landing or log-in page which may require authentication, payment, acceptance of an end-user license agreement...

gentle flint
#

"low whistle"

daring orbit
#

Hello all

viral terrace
#

Hi there!

real widget
#

how do you add up all integers in a list and then print that amount

gentle flint
#

!e

x = [1, 2, 3]
print(sum(x))
wise cargoBOT
#

@gentle flint :white_check_mark: Your eval job has completed with return code 0.

6
gentle flint
#

@real widget

#

that's how

real widget
#

ok thanks B)

gentle flint
#

gotta go, cya

real widget
#

cya

austere night
#

😾

#

kick me

#

kick me from here

past pawn
#

g'day 1 verbose oof

primal yacht
#
for(;;);
while(1);
#

@zinc panther see bot below

wise cargoBOT
#

Voice verification

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

primal yacht
brave steppe
#

ummm

primal yacht
#

laptop screen .... yeah

#

That's why I rely on my HDTV

forest zodiac
wise cargoBOT
#

Voice verification

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

dry stone
#

hi

#

Yeah I can't talk

#

How can I verify my voice?

#

oh

#

ok

forest zodiac
dry stone
#

I am from Bangladesh

primal yacht
dry stone
#

I am joining the game

#

well, I am learning python

#

I am a beginner

#

can anyone teach me python

primal yacht
dry stone
#

ahhhhhhh!!
the game is talking a long time to load. I am leaving the game

primal yacht
wind raptor
primal yacht
dry stone
#

I know somethings of python. LIKE: print, input, while loop, if/else and I can make something with turtle

primal yacht
#

def / class

dry stone
#

I also know calender

#

there are 8 moderators. there are so many

#

I was a mod in another server

#

but they deleted all the roles

#

Which country are you from?

#

One of my uncles live in canada

#

Actually, I am a kid

#

I am 13 years old

cinder vector
#

Oh same

dry stone
#

you are too @cinder vector

cinder vector
#

Ya I am also 13

dry stone
#

What a coincidence

#

which country are you from @cinder vector

cinder vector
#

India

dry stone
#

I'm from bangladesh

cinder vector
#

oh

dry stone
cinder vector
#

ohk

primal yacht
dry stone
#

ok bye guys

#

I gotta go now

primal yacht
vocal coyote
#

x = n || ""

primal yacht
#

!code

wind raptor
#

x = n or ""

primal yacht
#
result = AA or BB
# samme as
if bool(AA):
    result = AA
else:
    result = BB
#
try:
    cache
except NameError:
    cache = {}
civic wyvern
#

ValueError: invalid rectstyle object

primal yacht
#

```

civic wyvern
#

File "C:/Users/edvar/PycharmProjects/Pygame playground/venv/main.py", line 35, in draw_window
win.fill(0, 0, 0)
ValueError: invalid rectstyle object

#
    win.fill(0, 0, 0)
ValueError: invalid rectstyle object```
woeful salmon
#
win.fill((0, 0, 0))
#

^

#
BLACK = (0, 0, 0)
win.fill(BLACK)
primal yacht
#
win.fill( (0, 0, 0) )
woeful salmon
#
win.fill("black")
primal yacht
#
c.width|=Y=L=314,O=99,x.translate(960,540)
T=frame%L*2,K=(T<L)*T++,K||x.rotate(T/O)
D=(X,W)=>x.fillRect(X,Y,W|2,9)
for(;Y>-L;)W=-(J=O-C(Y--/O)*O+4)*2,Y*Y>8e4|Y>L-K|(Y<0&Y>K-L)?D(J,W):D(J),D(J+W)
#
u(t) is called 60 times per second.
t: elapsed time in seconds.
c: A 1920x1080 canvas.
x: A 2D context for that canvas.
S: Math.sin
C: Math.cos
T: Math.tan
R: Generates rgba-strings, ex.: R(255, 255, 255, 0.5)
#

@uneven yarrow ?

primal yacht
woeful salmon
primal yacht
#

oh ... i don't

#

i've glanced at it

woeful salmon
#

its really fun to play with

whole bear
#

hey @uneven yarrow its been a long time

#

i am fine

#

how about u

#

ya i am also from the same party

#

ya

#

u got that

uneven yarrow
#

splitgate

whole bear
#

hi

cobalt magnet
#

yes yes

#

my nitro ran out yesterday

#

so i cant use animated emojis anymore

#

not a big deal

#

but still was pretty good

gloomy vigil
#

i got pinged here dk who did that ping me again if it was important

woeful salmon
#

^

#
$foo = "hello world"
Write-Output $foo
$foo = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($foo))
Write-Output $foo
$foo = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($foo))
Write-Output $foo
wind raptor
#

@whole bear

whole bear
#

šŸ‘

#

ACT

#

SAT

wise cargoBOT
#

Hey @civic wyvern!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

wind raptor
#

import pygame.freetype

whole bear
#

@wind raptoris that correct?

brave steppe
#

What do you think?

civic wyvern
#

B

whole bear
#

B

civic wyvern
#

yeah

civic wyvern
#

bor du i en kloakk

gentle flint
#

nej

#

och du?

civic wyvern
#

men jeg klarer ikke Ƅ komme pƄ noe

#
import pygame
from pygame.locals import *
import time
 
BLACK = (0, 0, 0)
RED = (255, 0, 0)
GREEN = (0, 255, 0)
BLUE = (0, 0, 255)
GRAY = (200, 200, 200)

pygame.init()
screen = pygame.display.set_mode((640, 240))

sysfont = pygame.font.get_default_font()
print('system font :', sysfont)

t0 = time.time()
font = pygame.font.SysFont(None, 48)
print('time needed for Font creation :', time.time()-t0)

img = font.render(sysfont, True, RED)
rect = img.get_rect()
pygame.draw.rect(img, BLUE, rect, 1)

font1 = pygame.font.SysFont('chalkduster.ttf', 72)
img1 = font1.render('chalkduster.ttf', True, BLUE)

font2 = pygame.font.SysFont('didot.ttc', 72)
img2 = font2.render('didot.ttc', True, GREEN)

fonts = pygame.font.get_fonts()
print(len(fonts))
for i in range(7):
    print(fonts[i])

running = True
background = GRAY
while running:
    for event in pygame.event.get():
        if event.type == QUIT:
            running = False

    screen.fill(background)
    screen.blit(img, (20, 20))
    screen.blit(img1, (20, 50))
    screen.blit(img2, (20, 120))
    pygame.display.update()

pygame.quit()```
gentle flint
#
"""Draw text to the screen."""
import pygame
from pygame.locals import *
 
BLACK = (0, 0, 0)
RED = (255, 0, 0)
GREEN = (0, 255, 0)
BLUE = (0, 0, 255)
GRAY = (200, 200, 200)

pygame.init()
screen = pygame.display.set_mode((640, 240))

font = pygame.font.SysFont(None, 48)

img = font.render("1 2 3 4 5", True, RED)
rect = img.get_rect()
pygame.draw.rect(img, BLUE, rect, 1)


running = True
background = GRAY
while running:
    for event in pygame.event.get():
        if event.type == QUIT:
            running = False

    screen.fill(background)
    screen.blit(img, (20, 20))
    pygame.display.update()

pygame.quit()
civic wyvern
#
from pygame.locals import *


pygame.init()
screen = pygame.display.set_mode((640, 240))

font = pygame.font.SysFont(None, 48)
img = font.render("1 2 3 4 5", True, (255, 0, 0))


running = True
while running:
    for event in pygame.event.get():
        if event.type == QUIT:
            running = False

    screen.blit(img, (20, 20))
    pygame.display.update()

pygame.quit()
gentle flint
civic wyvern
#

variable = 0

#

variable2 = "0"

gentle flint
#

str(variable)

civic wyvern
#

left_wins = 0
left_wins_str = str(left_wins)

wary pecan
#

someone can help me?

#

im starting python this week

gentle flint
#

Menai Suspension Bridge

wary pecan
#

and im trying to do an 3D graph, that imports numbers of a txt file

#

how can i do this?

civic wyvern
#

dunno

gentle flint
#

Britannia Bridge

zenith radish
#

!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.

zenith radish
#

@echo sierra

echo sierra
#

!voice

flat sentinel
#

archbang

flat sentinel
#

what the euro tunnel is 200 euro

stoic grail
#

hello @haughty pier

cinder vector
#

hi @stoic grail

stoic grail
#

hello

whole bear
#

hi

stoic grail
#

im bored

#

weeeeeeeeeeeeeeeeeeeeeeeeee

leaden hearth
stoic grail
#

hello

leaden hearth
#

hello

stoic grail
#

:>

leaden hearth
#

:3

stoic grail
#

How you doin?

leaden hearth
#

great

azure flare
#

Indonesia

whole bear
#

k

#

nope,

#

text editor

#

actually i dont code games ,not tried it

#

@woeful salmon chemistry paper

#

any experience

#

had given school paper just 2 min ago

#

op man bros likes to pinch i guess

#

since he some times irritates a lot of guys

#

commonly Opalmist

stoic grail
#

Why you roasting me :<

#

fades away

woeful salmon
#

he was just joking i think

stoic grail
#

hello end user :p

tiny pumice
#

Hi people

A quick question: Is there a software license for open-source code that makes sure the one who intends to share your code (edited or not) mentions you as the original creator or something, or is it entirely up to the person to mention you (with or without you informing to do so)?
I want to use the GNU GPL3 and was curious about this detail. Not that it's a matter of life and death, just saying...

cinder vector
#

hello

primal yacht
#

temp muted to verify my audio settings

agile burrow
stoic grail
#

Hello:p

#

we can hear you katie

#

is anyone still alive?

#

lol

#

weeeeeeeeeeeeeeeeeeeeeeeeeee

#

reaperz is coding

versed sapphire
#

I am voice verified

primal yacht
#

oh ... if glitched, restart Discord

#

and my bad

versed sapphire
#

and not glitched

#

I jus...

#

didn't feel like to talk yk

primal yacht
#

understandable

versed sapphire
#

good

primal yacht
#

and this silence is figuratively killing me

versed sapphire
#

sad

#

u need help?

whole bear
stoic grail
versed sapphire
#

:). is like writing regex for me

tropic whale
#

Hello

whole bear
#

hello

tropic whale
#

what country are you from

whole bear
#

I don t speak Inglish

tropic whale
#

Heh heh... I can't speak English either.

#

Korean people here..?

whole bear
#

What language do you know

#

?

#

google translate

urban oar
#

i dont have perns to speak lol

tropic whale
#

I'm Korean and now I speak English, the world's official language

#

:).

versed sapphire
tropic whale
#

I don't know English either, so I'm just using Google Translate to speak.

urban oar
versed sapphire
urban oar
#

how'd you guess?

versed sapphire
#

instagram

urban oar
#

mans really stalked me lol

versed sapphire
#

xD

#

I didn't mean to

#

sry lol

urban oar
#

all good

versed sapphire
#

make it private idk

#

lol

urban oar
#

how long did the linktree take to load?

versed sapphire
#

not so long ig

versed sapphire
urban oar
#

ok mad

#

16...?

#

it says doesnt it?

tropic whale
#

Why can't I speak?

versed sapphire
versed sapphire
#

young

urban oar
versed sapphire
#

who's that in ur pfp

versed sapphire
wise cargoBOT
#

Voice verification

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

urban oar
#

gf and i

versed sapphire
#

right

#

xD

urban oar
#

alright lad you can stop now

versed sapphire
#

lmao sry

#

xD

#

just delete the thing lol

tropic whale
#

!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.

versed sapphire
#

Just click at this thing #voice-verification

#

no

#

not here

tropic whale
#

ah ok

#

I wrote a command in the DM, what should I do now?

urban oar
tropic whale
#

Oh I had to go through 3

#

this..

stiff girder
zenith radish
#
import sys
print "This is the name of the script: ", sys.argv[0]
print "Number of arguments: ", len(sys.argv)
print "The arguments are: " , str(sys.argv)
#

python3 yourprogram.py yourvariable=10

#
import sys
yourvar = sys.argv[1]```
#

yourvar = "yourvariable=10"

dry stone
#

hello

gentle flint
#

1 minute 31 seconds

#

@zenith radish

muted kraken
#

or you can pay someone to do it

#

I think mowing grass would show other neighbors that you take care of your house @haughty pier

#

I'd rather be myself rather than being like someone or not being like someone else @gentle flint

haughty pier
#

someone give me a link to C/C++ discord server

stoic grail
#

mornin for me*

#

hehe

haughty pier
#

sorry, I probably should have dropped before I went to bed

stoic grail
#

why didnt it send you to the afk vc?

#

idk

gloomy vigil
past pawn
#

haii people you sound great whoever's talking

#

ok now you don't

#

rrrrrrolling yourrr tongue now?

agile burrow
#

uhmm

quaint wharf
#

hi guys

#

he'h rar

#
  • starts trilling the life outta my name lul
#

oh' la la, mesieu fracais

#

actually that sounds kinda more like it

#

agree

#

Perhaps comparing his normal voice to Robin's, to try and get the vocal position

#

je veux parler francais, mais je ne practique jamais

#

how does kawaii sound in french? 🤣

#

no, like kawai french kinda talking

#

oxymoron

#

autological

#

pastafarianism

zenith radish
gentle flint
primal yacht
#

and I'm in a VC (virtual world) so cannot easily be in both

zenith radish
#

That's python1 thinkW

primal yacht
#

oh?

#

Python2 also uses it as a keyword

#
>>> # py2
>>> print (True)
True
>>> print (True, False)
(True, False)
``````py
>>> # py3
>>> print (True)
True
>>> print (True, False)
True False
haughty pier
#

if you're in Python 2 and you want your code to be forward compatible with Python 3, your first import should be from __future__ import print_function

#

But Python 2 is basically defunct now so you shouldn't be in it unless you're in an organization that still forces you to write new code in it, for whatever reason...

gentle flint
#

Batman (Kurdish: Êlihā€Ž) is a Kurdish-majority city in the Southeastern Anatolia Region of Turkey and the capital of Batman Province. It lies on a plateau, 540 meters (1,772 feet) above sea level, near the confluence of the Batman River and the Tigris. The Batı Raman oil field, which is the largest oil field in Turkey, is located just outside the...

#

I gotta go

#

ttyl

queen folio
stark burrow
#

bruh

sweet lodge
#
print('Hello world')
woeful salmon
#
import __hello__
wet atlas
#
print Hello World
woeful salmon
#

or if you want it twice then import __phello__.spam i think

wet atlas
sweet lodge
#

No

wet atlas
woeful salmon
#

that's python 2 syntax

#

also hello world is not a string

stark burrow
#

print{[Hello world]}

queen folio
#

alias loopback_start='pactl load-module module-loopback latency_msec=1'
alias loopback_stop='pactl unload-module module-loopback'
^ if you wanna test your headset on linux šŸ˜‰

woeful salmon
#

!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.

stark burrow
#

bro @wet atlas are you meming

wet atlas
#

but still shows errors

stark burrow
#

ik u just fooling around

woeful salmon
#

if you're serious then its just print("hello world")

wet atlas
#

print{[Hello World}]

woeful salmon
# wise cargo

^ bunch of resources (vids, courses, books) for learning

queen folio
#
f\
=\
t(
''
,(
),
{
'\
f\
':
k(
'\
H\
e\
l\
l\
o\
,\
 \
w\
o\
r\
l\
d\
!'
)}
)(
)\
.f
stark burrow
#

pleaseeee

#

ahh ..... what should i do now....

#

you guys saw the hawkeye trailer ?

vivid palm
#

se7en

stark burrow
#

@muted belfry next episode its gonna be better i guess... mostly gonna see tony alive for a while hopefully

subtle orchid
woeful salmon
#

i actually am reading more manhwa then manga these days

subtle orchid
#

let's see how It look

woeful salmon
#

dunno why but i am

subtle orchid
#

actually the only manga thing Iv'e read is manhwa

woeful salmon
#

manhwa is korean comics
manhua is chinese

#

lol

#

i've read many but the most famous one is easily Solo Leveling

#

that's way too popular

stark burrow
#

i feel like a caveman ......listening to all these

gloomy vigil
woeful salmon
#

there are way too cringy adult ones

gloomy vigil
#

šŸ¤“

stark burrow
#

@subtle orchid u from PAK?

subtle orchid
#

and u

stark burrow
#

noice

#

IN

#

@gloomy vigil is it like u dont like to over eat sweet food?

gloomy vigil
stark burrow
#

you guys participate for some international comp?

subtle orchid
gloomy vigil
stark burrow
gloomy vigil
#

nah

stark burrow
#

you guys ever tried biriyani?

#

like authentic one

subtle orchid
#

Biryani is my favourite dish bro

stark burrow
#

AUTHENTIC

gloomy vigil
stark burrow
#

Dal chawal => Rice lentil

stark burrow
#

Me

#

man my VC is suppressed

gloomy vigil
wise cargoBOT
#

Voice verification

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

stark burrow
#

!voice

stark burrow
gloomy vigil
#

ye

stark burrow
#

sanskrit lmao reminds me of 3 idiots

#

@gloomy vigil

gloomy vigil
stark burrow
#

you know chathur?

gloomy vigil
#

yea

#

3idiots that speech?

stark burrow
#

the stage scene

stark burrow
#

you guys play siege?

gloomy vigil
#

no :(

stark burrow
#

tom clancys rainbow six siege

#

its a nice game

#

like 6bugs

subtle orchid
#

I played Valorant

#

and will sonn

gloomy vigil
stark burrow
#

@muted belfry no thats wrong

gloomy vigil
gloomy vigil
woeful salmon
#

@gloomy vigil we need #rust-hater here

gloomy vigil
woeful salmon
#

i'm just looking at the basics rn though

#

just to see how the syntax is

gloomy vigil
#

ok ok

subtle orchid
stark burrow
subtle orchid
#

I had a great time talking with you all take care...Lol I am actually watching valorant tournament right now

gloomy vigil
#

bye

woeful salmon
#

goodnight

gloomy vigil
#

:/

stark burrow
#

ok yall peace out............

gloomy vigil
#

bye

whole bear
#

hello

#

!ot

wise cargoBOT
woeful salmon
#

i'mma goto sleep too now

#

gnight

whole bear
#

ik why I cant talk

#

yeh IK

#

my brother kept annyoing me

#

yeah I am just going to type randomly so I can get better

#

so i can talk*

#

sorry

#

ik

#

is there any you can help me codde

#

I have not learnt the basics bc no one will teach me bc I am in lockdown

#

is there a way to see how many msg's I have sent

primal yacht
#

100 individual runs per individual statistic on my phone```bash
node -e ""

0.422 real
```bash
python3 -c ""
```0.087s user
0.104 real
primal yacht
#

food time

safe dew
#

@whole bear hey 3

#

wassap

dry stone
#

Hello @primal yacht

stoic grail
#

hello:D

#

:<

#

@primal yacht @solar heron

#

:((

primal yacht
#

restart Discord. I'm not in VC

stoic grail
#

Oh sorry me dumb]

primal yacht
#

yes, glitched out

stoic grail
#

so im a glitched out dumb?

#

yes

primal yacht
#

just Discord's relatively new weirdness

haughty frost
#

you guys know any webgl

#

thx

cinder vector
#

hi @pallid trail

pallid trail
#

Hlo bro

pallid trail
stoic grail
#

@somber heath i cant hear u

cinder vector
stoic grail
#

who just spoke?

#

lol

cinder vector
#

I

stoic grail
#

Lol speak again

#

Nice.

#

hello

cinder vector
#

hi

#

you speak

stoic grail
#

Mic not wokin

#

workin

cinder vector
#

oh

burnt plaza
#

@woeful salmon Are u invisible? WTFšŸ˜‚

woeful salmon
#
for transcript in common_exp.keys():
    t = common_exp[transcript]
    if isinstance(t[1], list):
        print(t)
slate pier
burnt plaza
#

I'm using sqlite3, so, why automatically create a table called "sqlite_sequence", and, how to remove that?

#

@woeful salmon do u know?

woeful salmon
dry stone
#

Hi guys

#

Im back

#

What ar you doing

#

Hey

neon sleet
#

If you want to sort a dictionary, use the sorted function?

neon sleet
#

sorted(iterable, function)

whole bear
#

hi guys

primal yacht
#

Discord as of late has issues with updating who is really in a VC.
Whem that is inconsistent, FULLY exit Discord & reopen it.

#

I'm turning my laptop on right now btw so I'm not in the call

whole bear
#

Just be back

forest zodiac
#

@primal yacht have you worked with docker and flask?

primal yacht
#

Ask in the proper channel instead of randomly pinging someone -.-'

wind raptor
#

!voice @urban reef

wise cargoBOT
#

Voice verification

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

primal yacht
#

I woke up recently and might be unstable

whole bear
#

hey guys

#

I have a quick question about invoking functions in python

#

class Solution:
    def reverse(self, x: int) -> int:
        while x > 0:
            rev = 0
            while x > 0:
                a = x % 10
                rev = rev * 10 + a
                x = x // 10
            return rev
        while x < 0:
            x = x * -1
            x.reverse() 

#

on the last line, did i do this correctly?

#

basically im trying to take an int and reverse it

#

and return the reversed integer

wind raptor
#

123 -> 321 ?

whole bear
#

yes

#

the problem is negatives

wind raptor
#

why not just convert to string?

whole bear
#

not allowed

forest zodiac
whole bear
#

leetcode problem

whole bear
#

thats my issue

forest zodiac
whole bear
#

im not sure how t

#

like

forest zodiac
#

i will

whole bear
#

i dont understand how i invoke that

forest zodiac
#

okay let me explain

whole bear
#

okay

primal yacht
#

are you two in VC?

whole bear
#

no but

#

i can join

#

if you want

primal yacht
#

as you're in the text chat for it

whole bear
#

ohhhh

#

yeah mb

#

we can discuss there

#

i just came here cause everyone is usually active in this

forest zodiac
#

replace your final while with this

whole bear
#

thanks

#

wait but that just gives me the same thing as my input

#

can i pass that integer back into the first loop?

primal yacht
whole bear
#

oh wait

#

one sec

#

sorry i suck at using this

#

give me a min

primal yacht
#

headset / headphones icon

whole bear
#

let me restart

#

discord

#
class Solution:
    def reverse(self, x: int) -> int:
        while x > 0:
            rev = 0
            while x > 0:
                a = x % 10
                rev = rev * 10 + a
                x = x // 10
            return rev
        if x < 0:
            return x * -1 * -1
primal yacht
#
x, a = divmod(x, 10)
woeful salmon
#
class Solution:
    def reverse(self, x: int) -> int:
        if not x:
            return x
        is_negative = x < 0
        x = abs(x)
        rev = 0
        while x > 0:
            a = x % 10
            rev = rev * 10 + a
            x = x // 10
        return -rev if is_negative else rev

how about something like that

primal yacht
#
# ..
while x > 0:
    x, a = divmod(x, 10) # x // 10 and x % 10
    rev = rev * 1- + a
agile burrow
#

hello

stoic grail
#

pls dont hack me pro coders

agile burrow
#

need to type 50 text

#

help me

#

plz

stoic grail
#

ok ima halp

#

weeeeeeeeeeeeeeeeeeeeeee

#

weeeeeeeeeeeeeeeeeeeeeeee

agile burrow
#

type something cool

stoic grail
#

"something cool"

agile burrow
#

yes

stoic grail
#

Pls guys dont hack me

#

me a kid

#

yall are hackers

#

pro coders

#

me just a kid

whole bear
#

based

stoic grail
primal yacht
whole bear
#

if i was a kid

#

thats what id do

stoic grail
#

LOL

#

LMAO

whole bear
#

and vue

dire folio
#

whats going on here?

stoic grail
primal yacht
#

Forgive me but it seemed like lots of spam out of nowhere

whole bear
olive hedge
#

Yes, please do not send random spam in chat. Especially if it is to get voice verified hyperlemon

agile burrow
stoic grail
#

me just hanging out

primal yacht
dire folio
#

you should stay on topic while you are here

stoic grail
#

me a kid

dire folio
#

this is not your playground for random stuff

stoic grail
#

me do not do anything bad

olive hedge
#

Our verification is here for a reason, please do not try to bypass it. Just go explore the server and have some sensible conversations.

primal yacht
stoic grail
#

mm sorry

#

sire

dire folio
woeful salmon
dire folio
stoic grail
dire folio
#

our server is not a playgound, go to another server if that is of interest

stoic grail
#

ok sorry i was kidding

whole bear
#

wait so

stoic grail
#

yeah i really know coding

#

lol

whole bear
#

How do i invoke a function in that context

#

i just wanna know how to do that

forest zodiac
#

!e

def reverse(x: int) -> int:
    copy = x
    last = 0
    if copy > 0:

        while x:
            last = last * 10 + copy % 10
            x //= 10
        return last
    else:
        copy *= -1
        while copy:
            last = last * 10 + copy % 10
            copy //= 10
        return last * -1


print(reverse(100))
print(reverse(-87867))
wise cargoBOT
#

@forest zodiac :white_check_mark: Your eval job has completed with return code 0.

001 | 0
002 | -76878
whole bear
#

i dont really feel like rewriting everything to make it optimal

whole bear
#

because this is supposed to be the brute force

#

and the next one will be optimized

forest zodiac
stoic grail
#

me not trolling

agile burrow
#

guys I bypassed the voiceverify lol

forest zodiac
#

yeah that one i will correct

stoic grail
forest zodiac
#

!e```py

stoic grail
#

!e'''py

forest zodiac
#

!e

def reverse(x: int) -> int:
    copy = x
    last = 0
    if copy > 0:

        while x:
            last = last * 10 + x % 10
            x //= 10
        return last
    else:
        copy *= -1
        while copy:
            last = last * 10 + copy % 10
            copy //= 10
        return last * -1


print(reverse(100))
print(reverse(-87867))
wise cargoBOT
#

@forest zodiac :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | -76878
wind raptor
forest zodiac
#

i think its working ig

agile burrow
stoic grail
#

hehe

#

@primal yacht why did you report me :<

agile burrow
#

guys my voice got verified but I can not unmute

#

plz help me

stoic grail
#

and restart disco

flat nova
#

sup

agile burrow
#

k

stoic grail
#

supp

#

eivl was tryna ban me:<

#

jk

agile burrow
#

im back from the dead

stoic grail
#

hehe im a child

flat nova
stoic grail
agile burrow
#

who me?

stoic grail
#

no me

#

me a kid

#

dat why

#

Lol okay so i was here for help

#

can anyone help me

olive hedge
#

Feel free to ask your question

stoic grail
#

@wind raptor hehe

primal yacht
#

not asked any question yet from us, I guess?

stoic grail
#

who is lemon

stoic grail
olive hedge
primal yacht
#

yes as in no questions asked of us?

agile burrow
#

plz can someone read my name? it sounds cringe

primal yacht
#

!ot

wise cargoBOT
stoic grail
#

So i was trying to open VCS but my brain goes fucked up when i see that home screen pls help

#

hehe im dumb

primal yacht
stoic grail
#

wdym

#

me dumb kid so explain pls

primal yacht
#

As in "Remove ALL THE THINGS!!!! that make VSC what it is"

stoic grail
#

ok i dont understand,jk

primal yacht
#

in other words: "make it less useful for what it is made for"

stoic grail
#

i cant even start a code

#

hehe

#

i love high contrast

olive hedge
#

i.e test.py

stoic grail
#

i created one,lol

stoic grail
#

okk im just gonna use

#

pycharm

#

i use pycharm

#

but i need to run mah js code

#

so me sed now

#

OMG IK HOW TO SELECT A LANG

#

LOL

woeful salmon
#

@stoic grail look at stream

stoic grail
#

im downloading the python extesion

wind raptor
#

That's just for linting I believe

stoic grail
#

what does linting means

#

ok ty mod

#

wot now :).

#

okay

#

i did

#

what now?:<

#

oh so these are the codes line?

agile burrow
#

How do you guys take screenshot? irrelevant question

#

ya

#

how to do the snip thinig

stoic grail
#

type snipping tool in the windows search bar

agile burrow
#

ya

#

after that

stoic grail
#

yeah listen to other ppl

agile burrow
#

after snipping it where does it go?

stoic grail
#

to the pictures

#

LMAO

wind raptor
#

json.dumps(), json.loads()

woeful salmon
#
mydict = ...
text = json.dumps(mydict)
mydict = json.loads(text.replace("\n", " "))
whole bear
#
matched_items = matched_items.append(pd.json_normalize(json.loads(json.dumps(item).replace('\n', ' '))))
dry stone
#

Hey

woeful salmon
#

hello

agile horizon
#

I do not have permission to speak because I haven't typed enough lines

woeful salmon
#

alot of ppl try getting verified by spamming and get banned so just don't do that xD

whole bear
#

@whole bear @wind raptor at what purpose c#is used for?

#

mainly*

wind raptor
#

@celest junco

import threading

def work_thread():
    print("hello")

t1 = threading.Thread(target=work_thread, daemon=True)

t1.start()
gentle flint
#

Amsterdam

amber raptor
gentle flint
amber raptor
vivid palm
#

ooo

primal yacht
primal yacht
gentle flint
#

@zenith radish

#

I was discussing with my dad

#

and if you go via UK you'll have to quarantine for 10 days cuz eu>no eu

#

so you're better off taking the ferry from cherbourg (which is in france) directly to cork

whole bear
zenith radish
primal yacht
#

C++ can also be used for mobile games ... but is not often done so due to how difficult it is.
Minecraft does that for it's single Bedrock Edition code base.

zenith radish
#

If I say I've been in france for the past 10 days and I'm transiting I shouldn't have to

#

@gentle flint

gentle flint
#

that would be lying
but ig that works

zenith radish
#

ƒwƓ lying to governments is my hobby

gentle flint
#

they might ask for proof tho

zenith radish
#

Potentially, but even still it'd be 5 days assuming we don't get covid

gentle flint
#

like google maps history or old receipts

zenith radish
#

I'll find an old receipt in some french trashcan šŸ¤”

molten pewter
#

The Deutsche Mark (German: [ˈdÉ”ŹtŹƒÉ™ ˈmaʁk] (listen), "German mark"), abbreviated "DM" or "D-Mark" ([ˈdeːˌmaʁk] (listen)), was the official currency of West Germany from 1948 until 1990 and later the unified Germany from 1990 until the adoption of the euro in 2002. In English, it is commonly called the "Deutschmark" (); this expression is unknown...

gentle flint
#

you can stay in llanfair pg or smth

#

for a week

zenith radish
#

Well if I transit and say I'm not staying in england for more than 2 days I don't have to quarantine either

gentle flint
#

probably cheaper to go direct to ireland too btw

#

1 ferry vs 2

zenith radish
#

So I'll say "Hey I'm coming from france and I'm going straight to wales"

#

So no quarantine

gentle flint
#

alr then

#

you don't need a special visa either?

primal yacht
#

Hello @slender hedge and @left rain

left rain
#

sadly i cant voice chatšŸ˜”

primal yacht
#

I assume you know why?

left rain
#

wym im not verified yet bc i recently joinedšŸ˜”

primal yacht
#

!voice (see bot message)

wise cargoBOT
#

Voice verification

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

zenith radish
amber raptor
amber raptor
whole bear
whole bear
primal yacht
#

Unity is a game engine

woeful salmon
#

its a game engine that uses C#

primal yacht
#

.... that uses C# ^w^;

woeful salmon
#

it works for both 2d and 3d games (truely excels a at 2d and 2.5d games but can do 3d decently too)

primal yacht
#

Also, while it can run on mobile, it kinda bloats the game compared to one made specifically for the mobile OS.

#

PARTIAL HAND REVEAL IN A FEW MOMENTS!

#

I am uniq

pearl ocean
#
import csv, subprocess, threading, asyncio, os
from random import randint
from typing import Generator
import tkinter as tk
from tkinter import filedialog

root = tk.Tk()
root.withdraw()

file_in = filedialog.askopenfilename(filetypes=[("CSV Files", "*.csv")])
folder_in = filedialog.askdirectory() + "/"

async def reader() -> Generator:
    with open(file_in, "r", newline='\n', encoding='UTF-8') as facture:
        reading = list(csv.reader(facture, delimiter=','))
        for elem in reading[1:]:
            if len(elem)>0:
                yield dict(zip(reading[0], elem))

def replace(txt:str, data:dict) -> str:
    data["\u202f"] = " "
    data["rgbc"] = ",".join("0." + str(randint(0, 999)) for _ in range(3))
    for k, v in data.items():
        txt = txt.replace(k, v)
    return txt

async def writer(name:str, txt:str, n:int) -> None:
    with open(name+ f"_{n}" +".tex", 'w+', encoding='UTF-8') as tmpFile:
        tmpFile.write(txt)
    subprocess.run(["pdflatex", name+ f"_{n}" +".tex", "-output-directory=" + name, "-quiet"])

async def main(n :int, execute: str) -> None:
    txt = None
    async for data in reader():
        with open(folder_in + execute, 'r+', encoding='UTF-8') as file:
            txt = replace(file.read(), data)
        await writer(data["NOM"], txt,n)
        
for n, execute in enumerate(os.listdir("../models")):
    threading.Thread(target=asyncio.run, args=(main(n, execute),)).start()
primal yacht
ebon cradle
stuck furnace
#

Hello šŸ˜„

vivid palm
#

yayy moderator team

primal yacht
#

.

frigid panther
#

o/

vivid palm
#

hii

frigid panther
#

hello, how are you doing @vivid palm

vivid palm
#

alright alright

#

and u?

frigid panther
#

good too, thanks

molten pewter
ebon cradle
frigid panther
#

imagine living on icecreams

fiery juniper
frigid panther
#

?

ionic ferry
#
class Solution(object):
    def findMedianSortedArrays(self, nums1, nums2):
        """
        :type nums1: List[int]
        :type nums2: List[int]
        :rtype: float
        """
        nums1.extend(nums2)
        length = len(nums1)
        if length:
            return sum(nums1)/length
        else:
            return 0
stuck furnace
#

Hello, what is the goal of the problem?

ionic ferry
#

Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.

The overall run time complexity should be O(log (m+n)).

stuck furnace
#

It looks like you're calculating the mean here, rather than the median, although I'm not sure why you get the answer 2.0 because 10 / 4 == 2.5 šŸ¤”

#

Yep, so the mean is the sum of the values divided by the number of values.

#

The median is like the "middle value".

#

If you sort the numbers, and pick the one in the middle, it's the median.

#

Technically, the median is any number such that at least half the numbers are at least as large as it, and at least half the numbers are at least as small as it.

#

So for the numbers 1 2 3 4, the median is actually any number x such that 2 < x < 3.

#

But conventionally you go halfway between the two middle numbers (2.5).

#

Mean and median are both measures of the "central tendency" of a set of numbers.

#

The median does not necessarily equal the median.

#

For example: 1 2 100000

#

The mean here is ~100000, but the median is 2.

ionic ferry
#

@stuck furnace Thank you šŸ™‚

#

Good Explanation

primal yacht
stuck furnace
# ionic ferry

So this problem is kind of interesting, because you are given the set of numbers split into two lists (each in sorted order). To find the median, you could merge the two lists, then take the middle value, however merging the lists is an O(m + n) operation. It looks like they want to you perform some kind of binary search

molten pewter
#

ˌarithˈmetically adv

#

N. ə-rÄ­th′mÄ­-tÄ­k

#

adj. arĀ·ithĀ·metĀ·ic (ăr′ĭth-mĕt′ĭk) also ar′ithĀ·met′iĀ·cal (ăr′ĭth-mĕt′ĭ-kəl)

ionic ferry
stuck furnace
#

But also, you'd want to do merge(nums1, nums2), to keep them in sorted order. (But this would also be O(m + n))

ionic ferry
stuck furnace
#

No worries. I think this is a fairly tricky problem actually.

#

Gtg for a bit šŸ‘‹

ionic ferry
#

Thank you šŸ™‚

primal yacht
#
Help on built-in function sorted in module builtins:

sorted(iterable, /, *, key=None, reverse=False)
    Return a new list containing all items from the iterable in ascending order.

    A custom key function can be supplied to customize the sort order, and the
    reverse flag can be set to request the result in descending order.
#

The key keyword argument is needed when the values being sorted is NOT able to be compared.

It takes a callable and is provided a single value (the value to turn into a value that can be compared with the rest of the values).

It is also a good idea to use it when you need to, say, sort several by a certain aspect, like a specific key of a dict or a more complex / computed value.

pearl ocean
primal yacht
#
a & b # bitwise AND
a | b # bitwise OR
a ^ b # bitwise XOR (eXclusive OR)
~a # bitwise NOT

a << bits # bitwise left shift
b >> bits # bitwise right shift
pearl ocean
primal yacht
#
0b10 # binary, 2, `bin(INT)`
0x10 # hexadecimal, 16, `hex(INT)`
0o10 # octal, 8, `oct(INT)`
#
>>> bin(2)
'0b10'
>>> hex(16)
'0x10'
>>> oct(8)
'0o10'
#

0o0755

#
if __debug__:
    assert something is str
    assert something != "something", "The variable should not hold 'something' as a value"
#
def debugLog(text: str, /) -> None:
    if __debug__:
        print(text)
    pass
debugLog("foo")

Without pass, it becomes invalid after it gets stripped out by Python when the debug mode is off:

def debugLog(text: str, /) -> None:
debugLog("foo")
#
-O
woeful salmon
#
breakpoint()
#

same as

import pdb;pdb.set_trace()
primal yacht
#
breakpoint(*args, **kws)
# calls
sys.breakpointhook()
# which calls
pdb.set_trace()
primal yacht
#
i = 1
while i:
    i <<= 1
full nest
#

what ?

primal yacht
#
<full-link>
woeful salmon
whole bear
#

Hello

woeful salmon
#

hi šŸ™‚

primal yacht
#

Appointment time

woeful salmon
#

šŸ‘‹ have a nice day

gentle flint
woeful salmon
#

jk...

zenith radish
#
(defn factorial [n]
  (reduce * (range 1 (inc n))))

is the same to you as

class FactorialExample{  
 public static void main(String args[]){  
  int i,fact=1;  
  int number=5;//It is the number to calculate factorial    
  for(i=1;i<=number;i++){    
      fact=fact*i;    
  }    
  System.out.println("Factorial of "+number+" is: "+fact);    
 }  
}```
woeful salmon
#

no i was joking..

zenith radish
#

o okay

gentle flint
#

hi LP

zenith radish
#

Helloof

woeful salmon
#

wsup with the python 1.6 discord api wrapper btw

#

i forgot to ask that

zenith radish
#

People bullied me for not reimplmenting the modern networking stack on it and bullied me for using curl in a subprocess so I quit

#

😦

woeful salmon
#

oh

#

you have a chance of doing it on python3 now tho

orchid barn
#

<@&831776746206265384> can I get a video perm?

gentle flint
#

@orchid barn scroll to the bottom

#

for the latest version

orchid barn
gentle flint
#
#include <stdio.h>
int main()
{
    int some_number;

    printf("enter number: ");
    scanf( "%d", &some_number);
    printf("you entered %d\n", some_number);
    if ((some_number < 10) || (some_number > 10)) {
        printf("your number is smaller than or greater than 10");
    }
    else if (some_number == 10) {
        printf("your number is 10");
    }
    printf("\n");
    return 0;
}
flat sentinel
#

si

woeful salmon
gentle flint
gentle flint
#

@orchid barn video is off

lofty radish
#

hello

forest zodiac
#

mid 2000's?

whole bear
#

hlo everyone ,good morning .

#

i used to watch

#

does anyone practice martial-arts

somber heath
#

As an after school thing when I was younger.

whole bear
void isle
#

hi

#

can someone be friends with me

vivid palm
whole bear
# vivid palm ippon!

Got ippon by my friend In a sports camp thinking it would be fun but it was breathtaking.

cobalt magnet
slate pier
#

@woeful salmon

cloud root
#

Hi

slate pier
#

@woeful salmon ur mic is fuqd up

#
def key_function(item):
    key = item[0]
    esc = common_exp[key][0]
    hCO = common_exp[key][1]
    return abs(math.log2(esc[1])-math.log2(hCO[1]))

genes = sorted(common_exp.items(), reverse = True, key = key_function)[:10]

print([gene[1][0][0] for gene in genes])```
woeful salmon
#
[gene[1][0][0] for gene in sorted(common_exp.items(), reverse = True, key = key_function)[:10]]
slate pier
#
counts = []
for item in common_exp.items(): 
    if item [1][0][0] in genes: 
        counts.append(item)
print(counts)```
thick beacon
#

hey!

#

suggested me some youtube for python tutorial

somber heath
#

!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.

stoic grail
#

hello:p

#

!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.

stoic grail
#

ok

#

!e

wise cargoBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code
block. Code can be re-evaluated by editing the original message within 10 seconds and
clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an
issue with it!*

stoic grail
#

@somber heath after we write !e how do we write da code

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.

somber heath
#

Leave a space in between the e and the first `

stoic grail
#

!e print("hello")

somber heath
#

That will work, too.

stoic grail
#

yeah

#

boooooooooooooooooooooo

#

l

#

!code print("booo")

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
#

!e ```py
print("Hello, world.")```

#

Like that.

stoic grail
#

ok tyy

#

why did your delete your prifile message?

#

@somber heath

somber heath
#

I didn't.

#

It's still there.

stoic grail
#

oh i guess its just me dumb

#

hehe

#

||Putting a full stop after every sentence makes you a proffesional- said by some dumb guy||

#

gtg bai

granite terrace
#

hey

hard sparrow
#

hey

thick beacon
#

@slate pier what was that bro?

#

tell me any free vpn guyz?

#

!*

fading portal
#

my mic dead

#

@woeful salmon what is the question

slate pier
fading portal
#

i see

#

can yall share screen

slate pier
#

i don't have permission.

fading portal
#

me neither

slate pier
#

a mod has to come in and give me permission

fading portal
#

is anyone familiar with hadoop

slate pier
#

nope

fading portal
#

i am having a hard time installing and configuring it on windows

#

-_-

#

i needed someone to share screen and show me

#

Guys how can we get permission to share screen

#

?

#

@woeful salmon

#

are you indian

woeful salmon
#

yeah

#

@fading portal sorry my discord was minimized

#

so didn't see your message

thick beacon
#

@woeful salmon where you from?

tribal tendon
#

hi

forest zodiac
sly quiver
#

how are you @somber heath

hallow scarab
#

hi guys

sly quiver
#

hi @hallow scarab

hallow scarab
#

im new here

sly quiver
#

jes, same

hallow scarab
#

whatchu taking about ?

sly quiver
#

you need 50 Messages to speak in the voice chat

hallow scarab
#

oh

sly quiver
hallow scarab
#

im learning english

sly quiver
#

jes same

#

but i“m good

#

to speaking englisch

hallow scarab
#

wow i can improve my listening here

sly quiver
#

i dont know

#

@somber heath i must going off, good day

hallow scarab
#

byebye

sly quiver
#

bb

hallow scarab
#

good day guys i have to go

viscid wyvern
#

@somber heath Are you Aussie

#

ahh nice

#

cool

#

So hows the tech scene down under

#

I suppose that Silicon Valley has Australia under it's umbrella when it comes to tech

#

do you use python

#

@somber heath

#

big time