#voice-chat-text-0

1 messages · Page 828 of 1

paper tendon
icy axle
#

That’s super duper nuper wuper cool

#

Definitely brag-worthy

gentle flint
#

lol thx

near niche
#

Hi, I have a question...

gentle flint
#

@orchid barn should I try ipython

orchid barn
#

ye!!

gentle flint
#

k

orchid barn
#

definitely insane

#

my productivity in writing python scripts i'd say trippled

#

once i started using it

#

i'll give you a doc that was really helpful for me

#

one min

near niche
gentle flint
#

do I just install ipython or jupyter too

orchid barn
#

only ipython

gentle flint
#

k

orchid barn
#

@near niche

#

what font do you guys find readable for firefox?

scenic goblet
#
string password = myTextBox.Text;
var s = new SecureString();

foreach (char c in password) {
    s.append(c);
}```
barren island
#

How do I extend the sides without using additional variables. That is, in the return of the side function, for example, take the first value of self.sqrt_plus (self.a, self.b).

    def sqrt_plus(self, a, b):
        return round((math.sqrt((b.x - a.x) **
                                2 + (b.y - a.y) ** 2)), 4)

    def side(self):
        return self.sqrt_plus(self.a, self.b), \
               self.sqrt_plus(self.b, self.c), \
               self.sqrt_plus(self.c, self.a)

    def area(self):
        S = (sum(self.side())) / 2
        return (S * (S - self.a1) * (S - self.b1) * (S - self.c1)) ** 0.5
orchid barn
faint ermine
#

@dense ibex

paper tendon
#

dbeaver

orchid barn
jaunty pendant
#

@gentle flint sir.

gentle flint
#

yez

jaunty pendant
#

You still up?

gentle flint
#

ofc

#

package was published to pip

#

am happy

jaunty pendant
#

Ə

gentle flint
jaunty pendant
#

is the very useful video still in there?

gentle flint
#

ofc

jaunty pendant
#

beuh

jaunty pendant
#

Why did i click it

#

I knew it was comming.

faint ermine
paper tendon
#

docker-compose up --build

jaunty pendant
#

I cant stop thinking about designing the user interface, and compiler for the cpu. I think i need milk.

grand cargo
#

anyone else in here not take calculus

jaunty pendant
#

m e

#

i should

#

i started learning, but stopped after the 1st lesson.

dense ibex
#

Thank you for your help @tiny socket !

#

I appreciate it a lot

orchid barn
#

@dense ibex have you installed classic shell

#

to do the task bar wallpaper?

jaunty pendant
#

F for the lawn mower

gentle flint
#

how about the neighbour?

paper tendon
#

networks:
default:

jaunty pendant
#

Vadim blyat....

#

And i think that i shall depart

#

It is

#

1 20 am

#

You should go to bed too @gentle flint

#

Saw.

#

And.... n o

gentle flint
#

k

jaunty pendant
#

igh. I go now, bai

gentle flint
#

bai

paper tendon
#

apt install iputils2-tools

#

dpkg --listfiles iputils-ping

#

site_api: &API "pydis-api.default.svc.cluster.local"

near niche
honest pier
#

👀

severe pulsar
#

damn discord pings are kinda sad now

vivid palm
#

why

severe pulsar
#

look at the color

vivid palm
#

@vivid palm

severe pulsar
#

@severe pulsar

vivid palm
#

is it.. different?

severe pulsar
#

yeah!

vivid palm
#

a little darker?

severe pulsar
#

lighter

#

it was blue before right

vivid palm
#

o_O

#

oh the background of the pinged username?

severe pulsar
#

yes

#

they used to look like this @ bitter mina ᓚᘏᗢ

vivid palm
#

ahah

#

i think maybe my version is not the same as yours lol

severe pulsar
#

yeah

#

some people havent updated yet

#

lol

plush shale
#

ayo boys i need help with binary to deimal conversion

dense ibex
#

What's your problem? Like Can you post some code and your issue.

#

If that makes sense

honest pier
#

what's your problem Jake

dense ibex
#

That came out rude lol I didn't mean for that to come out rude lol

olive hedge
#
import numpy
def a_function(x, y):
    # do stuff
honest pier
#

lol no worries, it's pretty hard to ask that question without sounding like that

vivid palm
#

@severe pulsar oh i see the difference on canary hmmm

plush shale
#

i need to convert binary to decimal and decimal to binary in a loop without using bin()

vivid palm
#

i don't hate it

honest pier
vivid palm
#

what else, besides the styling of the reaction emojis and ping background?

plush shale
dense ibex
#

Graded?

plush shale
#

yeah

dense ibex
#

Sorry, but I can't really provide a lot of help on this I can provide general guidance but not a whole lot of help.

plush shale
#

oh ok

#

for some reason when i run it i get this out put:

#

it wont run decimal_to_binary

#

wait

#

im dumb

#

i was asking for a straight number and inputting a string

dense ibex
#

You're not dumb, you're just learning.

olive hedge
plush shale
#

i think the hardest thing is gonna be the decimalto binary conversion and vice versa

solar night
#

good morning everyone

honest pier
#

👀

olive hedge
#

hi

plush shale
#

someone know decimal to binary conversion? or is willing to help me?

olive hedge
wise cargoBOT
#

@dense ibexTell your dog she is a good girl

dense ibex
#

Yes Mr. @wise cargo

scenic linden
#

bruhh

#

I need to send 50 msgs

#

to talk

#

ahh I see

#

okay

#

I'll be back

plush shale
#

This program can convert binary number to decimal, or decimal numbers to binary.
Enter 1 to convert a binary number to a decimal number.
Enter 2 to convert a decimal number to a binary number.
Enter 0 to quit.
Enter your choice: 2
Enter a binary number: 101010101
341

#

VICTORY

#

SWEET VICTORY

dense ibex
#

Yay!!

plush shale
#

yeah my prof said the builtins arent allowed

olive hedge
#

!e

print(bin(2))
wise cargoBOT
#

@olive hedge :white_check_mark: Your eval job has completed with return code 0.

0b10
plush shale
#

i cant use it anyways

#

thats like, 2 fullpoints

#

bro how do i get voice perms

dense ibex
#

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

vivid palm
dense ibex
#

Actually this is what I have it's basically a raspberry pi JETSON NANO 2GB DEVELOPER KIT

vivid palm
#

@severe pulsar my discord updated now. without my permission lol

#

the voice connected green color is now super neon

olive hedge
#

yuck yuck yuck

vivid palm
#

why didn't it give me the green download update button tho?

olive hedge
#

I have it rn, it is staring into my soul

dense ibex
olive hedge
#

fuck

#

I misclicked

#

it is lonely here

dense ibex
#

Misclick again

#

You got it

graceful grail
#

lol

vivid palm
#

he's doing the power move

grand cargo
#

😦

severe pulsar
#

also reply pings are more neon

#

all the more reason for me to not use them

vivid palm
#

ugh dude bro PING @severe pulsar

severe pulsar
#

NO

#

I WONT

#

dont you have work to do

#

/be productive

#

if i ping, it gets in the way

vivid palm
#

IT'S BEING DONE

severe pulsar
#

thats how i see it

vivid palm
#

i'm in oct 2017

severe pulsar
#

what

wind juniper
#

hello

#

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

whole bear
#

@lethal thunder why do you import python files from a directory in

#

i wanna have my main file and then sub directorys

#

with all the functions and cogs and stuffs

#

how do i do that tho?

#

import dir\pythonfile

lethal thunder
#

im not too sure

#

sorry

whole bear
#

🙂

#

@flat sentinel how do i import python files from a sub directory?

#

they dont like me

flat sentinel
#

Create a subdirectory named lib .
Create an empty file named lib_init_.py .
In lib\BoxTime.py , write a function foo() like this: def foo(): print "foo!"
In your client code in the directory above lib , write: from lib import BoxTime BoxTime.foo()
Run your client code. You will get: foo!

whole bear
#

😦

lethal thunder
#

:)

flat sentinel
#

(╯°□°)╯︵ ┻━┻

whole bear
#

>:(

#

(╯°□°)╯︵ ┻━┻

lethal thunder
#

┬─┬ ノ( ゜-゜ノ)

whole bear
#

im banned

lethal thunder
#

:(

whole bear
#

died

#

used python before

lethal thunder
#

Neuralink not Neurolink

cerulean moth
flat sentinel
#

and

jaunty pendant
#

Yes

flat sentinel
#

jocin vc

jaunty pendant
#

1 sec

whole bear
#

i have make leters

jaunty pendant
#

....

whole bear
#
9M|jv'~UK47on,~jY@}(
_/W9((//-;qIvZ<F{S0H
(A[D|)23p00xXC:$kV>g
nBSgF0w_v\-co1kK%*6K
AMcI,^Mkn.-d}4j9w^F\
9-vKK@;~poo/W7NQ3jw/
:-r}MHI2Zh|t{_ MK~uB
xN9LrEaB$o.=Myjf36Xk
EcQ~u@Gj2@kW"B@1j(zf
,Lq#qyS#nw,NEX%i(ASP
jaunty pendant
#

Hai

lethal thunder
#

im maple syrupian not macaronian

whole bear
#

@lethal thunder wanna see my code?

jaunty pendant
#

Bruh

whole bear
#

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

whole bear
#

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

jaunty pendant
#

Idk

#

Macaroni

#

Tf.

#

My internet died for a second

lethal thunder
#

c̸̾̎â̵̏t̸̅̉_̴̆͝2̸̋̈́1̷̂̎

jaunty pendant
#

Cat 21

whole bear
#

what?

jaunty pendant
#

S a w

lethal thunder
#

@queen mesa such a weird name

jaunty pendant
#

kat

unreal trail
jaunty pendant
#

Bruh @flat sentinel

#

Uh

#

They start from 1 30

#

And

#

First is math, then macedonian, then math

#

Then i have, operating with examples and stuff

#

Fiziks

#

F i z i k k z

#

And then Physical Chemistry, History and then Physical chemistry 2 classes

lethal thunder
#

in macadamian milk do you guys eat frobscottle

jaunty pendant
#

What

lethal thunder
#

frobscottle

#

you know

#

the drink

jaunty pendant
#

Never herad of it

lethal thunder
#

Its the only fizzy drink that the bubbles go down instead of up

jaunty pendant
#

Intresting..

#

What

#

Bruh

whole bear
#

i need that

jaunty pendant
#

wtf..

#

Ok then...

#

Uh.

lethal thunder
#

snozzcumbers

whole bear
#

Frobscottle is a green-colored fizzy drink, where the bubbles go down instead of up. This is the cause of Whizzpoppers (which are farts). It tastes delicious to Sophie and The BFG and to the other giants as well. It also makes the drinker fly and fart.

jaunty pendant
#

Bre

lethal thunder
#

snozzcumbers taste bad

#

they taste of everything bad

jaunty pendant
#

f l y

whole bear
#

@lethal thunder please fix your mic

jaunty pendant
#

Yes

#

jesus

#

That was

#

Very loig

#

Loud*

whole bear
#

deadly bad

jaunty pendant
#

Bru

#

no thanks....

#

...

#

Wtf

#

Why have i joined this vc

#

nope

#

Didnt hear anything

#

Yep

whole bear
#

uwu

jaunty pendant
#

Why

#

Wait

#

Did mu

#

My*

#

Headphones die

#

Welp

#

Vc ded

#

Ima head out den

#

Bai

gentle flint
#

@jaunty pendant hast thou been tempted by this sinful and ungodly voice chat

#

art thou not engaged in thy scholastic lectures

lethal thunder
#

lol

gentle flint
#

fie, I say, bold lad!

lethal thunder
#

Verbose oof are you okay?

gentle flint
#

nay, even of that I am not of a surety

lethal thunder
#

if thy is the contrary of ok beans.

#

thou must be disintigrated from the highest degree

gentle flint
#

speakest thou no Ænglisc

lethal thunder
#

/Englisc

gentle flint
lethal thunder
#

Thy must go eat the eggiest eggs and drink frobscottle to have some whizzpoppers

gentle flint
#

verily am I unable to understand thy words of wisdom
peradventure a fit of confusion hast overtaken thee

#

@lethal thunder thy is posessive
thou is nominative
thee is objective

#

Thou mixest up thy grammar. It reflecteth badly upon thee.

jaunty pendant
#

@gentle flint can u vc?

gentle flint
#

nope

#

but soon

jaunty pendant
#

a oke

fiery juniper
#

@gentle flint Just noticed your pfp is spinning now

#

Looks cool

jaunty pendant
#

nitro flex

gentle flint
#

thx lol

wise glade
#

well they say you can't here someone properly even with Krisp on

#

@gentle flint don't worry, you remind me of my family's old TV 😂
keep talking

gentle flint
wise glade
#

does using foam over microphone reduces noise ?

#

got any foam verbose ??

wise glade
#

@gentle flint when you talk, there's just a little bit white noise effect, like in old televisions

gentle flint
#

I know that

wise glade
#

but can understand you properly

gentle flint
#

I used to take it out with noise suppression

wise glade
#

idk wtf is wrong with my mic

gentle flint
#

but now that's not an option

#

you sound like you're trying to speak through a telephone from 1880

#

I understood about a quarter of what you said

#

maybe less

wise glade
#

I don't have a mic, I use my laptop's inbuilt mic 😔

#

I don't have to talk a lot in a day, so I don't buy one either

gentle flint
#

stupid discord

whole bear
#

what the fuck happendS?

#

all i did was minimise it

gentle flint
#

try reopening it

whole bear
#

ok

gentle flint
#

electron sometimes messes up

whole bear
#

ok fixed it

wise glade
#

@slate pier ```py
import math

myList = []

def numDigits(num, base):
if (num // base) != 0:
n1 = num / base
n2 = num // base
n3 = ((n1-n2) * base)

    # did this, because fraction part of `n3` was annoying me 😠
    if (n3 - int(n3)) < 0.5:
        n3 = math.floor(n3)
    else:
        n3 = math.ceil(n3)

    # now just add it to list
    myList.append(n3)

    #sweet recursion part
    numDigits(n2, base)
else:
    myList.append(num)

numDigits(273, 8)
myList.reverse()
print(myList)

whole bear
#

is that the star eqation thing n3?

wise glade
whole bear
#

nvm

wise glade
#

its a recursion problem nuerolink asked in help-kiwi

#

you can check it out over there

whole bear
#

@gentle flint
is this understandable?

    --FileLineLength    [infile] [outfile]

                        Description:
                            this tool outputs each infiles line length to another file.
                        
                        Parameter List:
                            [infile]            the input file you want to get line lengths from.

                            [outfile]           the file you want the lengths to be put in.
#

might needa zoomout more

gentle flint
#

uh

#

I guess

#

why?

whole bear
#

making help menu in python

gentle flint
#

but it looks like an argument

whole bear
#

yes

gentle flint
#

with that --

whole bear
#

yes that is argument

gentle flint
#

k

#

good

whole bear
#

-- sets it to default everything

#

what about this?

#

time to compile

whole bear
#

some kid in some server that i dont even moderate just said i scammed him and he is banning me from discord

wise glade
#

ignore

whole bear
#

ik

#

i asked my friend to ban him

wise glade
whole bear
#

yes because yes

wind juniper
#

@wise glade

wise glade
undone idol
#

Lol he pinged you

#

@wise glade blobgrimacing

wind juniper
#

can you speak?

undone idol
wind juniper
#

cool

#

I like to listen

#

yeah

#

hello @undone idol

whole bear
wind juniper
#

any of you experienced with pegs?

whole bear
#

what?

wind juniper
#

PEG

#

parsing expression grammars

wise glade
#

I once made an xml parser
that day I knew this parsing stuff ain't for me 😂
I never made any kind of parser after that

wind juniper
#

lol, why did you make one from scratch?

#

learning purposes?

wise glade
wind juniper
#

do you want to give it another try

wise glade
#

I like other stuff

wind juniper
#

like?

#

I meat what other things you like

wise glade
#

sorry I'm kinda busy with something else too atm

wind juniper
#

oh, okay. NP

#

hello

whole bear
#

:|

#

hello @zealous wave

wise glade
whole bear
#

im banned for ever cus meanlock

wind juniper
#

did you run it through an obfuscator?

whole bear
#

no?

#

im taking a break cus my break is broke

wind juniper
#

yay, Hemlock is here

#

hmm, interesting

#

who's jason?

zealous wave
#

JSON

wind juniper
#

lol, I know json

#

who's the guy who wrote the library

dense ibex
#

Sebastiaan he is another owner

rugged root
#

Sebastiaan

#

Yeah that guy

wind juniper
#

did he live code it or something?

#

what do you like about the new async library?

wise glade
frigid panther
#

NewSQL

wind juniper
#

what's that?

frigid panther
#

just came across that name

jaunty pendant
#
8K

Данное видео сделано только с развлекательными целями, и не нацелено на то что бы задеть чьи-то чувства.Весь контент на данном канале является переработанным.

когда включил 8k мем,мем,8k мем,монтаж,8k,когда включил 8k,8k взорвался компьютер,взорвался компьютер,когда включил 8k разрешение,8k разрешение

▶ Play video
zealous wave
#

my ears

#

please warn us

jaunty pendant
#

oof, sorry

wind juniper
#

cache of cache?

rugged root
wind juniper
#

hello, @rugged root

vivid palm
#

sup you'll

#

bongowave :D

fresh python
#

whats sup

#

yo

#

yooow

#

@rugged root

#

gimme some voice

frigid panther
#

are yall fan of the new discord colors?

wind juniper
#

I heard fetish too

frigid panther
tiny socket
wind juniper
#

wdym generics?

wise glade
vivid palm
#

did they make it bold too?

frigid panther
#

looks like it

vivid palm
#

yeah the border is a bit much

honest pier
#

ew

vivid palm
#

need lower opacity on the border..

zealous wave
#

Old Message
@zealous wave New Message

dense ibex
#

Eww

vivid palm
wind juniper
#

anyone here played with pegs?

#

PEGs

#

yeah

cerulean moth
#

cyeethoon

#

lol

#

🙃

tiny socket
cerulean moth
zealous wave
#

PREFIX jsk py ```py
async with _bot.http._HTTPClient__session.post("https://emkc.org/api/v1/piston/execute", json={ 'language': 'python3', 'source': 'print("lol")'}) as x:
return (await x.json())['stdout']

cerulean moth
#

yeah

wise glade
#

which site do you guys use for free to use images?

frigid panther
wind juniper
#

wait, did you rename del to yeet

#

?

cerulean moth
#

yes chilli

#

vco check your dms lemon_pensive

#

lol

#

vco is all that

#

hhhhhhhhhhhh

tiny socket
#

!pypi htranslate

wise cargoBOT
cerulean moth
#

lol

undone idol
#

haha

wind juniper
#

what's h-binary?

#

how's it binary then

#

oh, I see

faint ermine
cerulean moth
#

wih 2k or more ppl

#

just h

#

ikr

#

he got those since, he has a minecraft server

#

with 20k ppl

undone idol
#

h

cerulean moth
#

loll

#

laundmo put those h emojis

#

hahaha

tiny socket
cerulean moth
#

yeah, for the fat ones

wind juniper
#

y'll adding entropy in the universe!

cerulean moth
#

oh god

dense ibex
tiny socket
#

exercise

vivid palm
#

hm don't most apps have spellcheck?

wise glade
#

@rugged root sure 👍

wind juniper
#

@rugged root , can you make southern accent?

honest pier
#

tf is wrong with texas

vivid palm
#

did they fully recover from that power outage

dense ibex
#

I would assume

#

It's been a little bit since then

cerulean moth
#

umm, i realized you are chilli, weren't you a female pithink , or your voice changed or something

#

yeah we do unit tests on @wise cargo

undone idol
#

lol same here

#

I realized that too

merry light
#

pls help me somebody

zealous wave
#
@client.on('message_create')
async def sus(h: client.manager.events.__events__.__getitem__('message_create')):
    if 'ping' in h.payload['content']:
        await client.manager.__channel_state_class__.get(h.channel._state, h.channel.id).messages.create('Pong! {0.mention}'.format(h.message.author))
dense ibex
wind juniper
#

In Soviet Russia, you go to gulag if you don't do unit tests

merry light
honest pier
#

huh?

cerulean moth
#

no i mean, your voice changed

dense ibex
#

Sorry didn't mean to type that lol

merry light
#

can anyone help me with a if command

#

im a newbie in python

dense ibex
#

Just ask the question! 🙂

#

We will be happy to help

undone idol
#

@merry light You should grab a help channel or ask it here 😄

merry light
#

can i ask it here ?

dense ibex
#

No it's fine I can help them in here real quick

undone idol
#

Ye.

merry light
#

print ("Hello Sir/Madam welcome to BTS Army's Server")
print ("How May I Help You Sir/Madam")
How = input()

#

I want to add aher a if command

undone idol
#

Uh so what is the issue?

wind juniper
#

btw, what's with all the "help-*" channels?

undone idol
#

if is not a command (conditional statements) to be precise

tiny socket
dense ibex
#

Yes^

cerulean moth
merry light
#

it will ask a question like print ("Are u Free now ??")

tiny socket
#

elements were better dont @ me

wind juniper
#

I see got it; damn the elements would have been fun

#

but food works too

cerulean moth
#

we are all foodies 🍰

undone idol
undone idol
honest pier
#

ew

merry light
#

then add a command that if yes then it will continue and if no then it will stop at that time

cerulean moth
#

lol

honest pier
#

imo yeah lol

#

for me it was

undone idol
#

If yes, you should input("Are u Free now ??")

#

@merry light this

merry light
#

then

undone idol
#

uhm? yeas?

merry light
#

no the bot will ask that

undone idol
#

well well, what bot?

merry light
#

a chatbot

undone idol
#

Ohk

cerulean moth
wind juniper
#

does anyone else not like the new discord favicon?

cerulean moth
#

it sucks

#

discord is rebranding

wind juniper
#

yeah, square to round

undone idol
#

well no I guess

#

yeah, i don't like it too zz_sad

merry light
#

so how to do that ??

cerulean moth
#

someone went drunk on the discord branding team

wind juniper
#

yeah

hidden flower
#

👋

wind juniper
#

changing just for the sake of changing

merry light
#

hi @hidden flower

hidden flower
#

hey!

undone idol
cerulean moth
#

secret secret 👀

#

running with docker ic

short gate
#

I fell into the rabbit hole...

rugged root
#

I'm very confused

undone idol
#

Xith streaming 👀

wind juniper
#

@short gate , what you doin?

cerulean moth
#

jake you like dracula theme?

#

on twitch hemlock

wind juniper
#

can anyone tell a knock-knock joke?

paper tendon
#

I stream sometimes.

cerulean moth
#

@dense ibex you can just reload that particular extension rather than reloading that full bot

paper tendon
#

but not often anymore

dense ibex
#

Yeah, I honestly just forgot the command

wind juniper
#

cuz, I want to hear one

cerulean moth
#

yeah, that happened with me before

#

yeah you can do that @dense ibex !c r <cog>

#

42 friend requests 👀

hidden flower
#

you can use multiple tabs

#

on the browser version

cerulean moth
#

won't that be too spammy, how about just keeping one message containing there help channels?

#

won't that be easier

#

otherwise you got to scroll through the cha

#

chat

#

@dense ibex

#

or was this discussed somewhere

rugged root
honest pier
#

unittesting discord bots is c r i n g e

vivid palm
#

@hidden flower yehh but it'd be nice to not have the whole server list and sidebar in every window

honest pier
#

we have unittests, but it is actually mega cringe

short gate
#

I have been working on a chat-bot.

cerulean moth
#

jake if you answered that, could u repeat, got disconnceted

dense ibex
short gate
#

My personal bot.

cerulean moth
wind juniper
dense ibex
#

Yes

#

Basically lol

dense ibex
#

For that bot at least

short gate
#

There are times when some processes require human mods.

#

The bot can at least do things mods do, like warning, banning, etc.

wind juniper
#

does it have a bunch of blacklisted words and if anyone uses those they'll be automatically banned?

#

btw, where is this bot deployed and who pays for it?

short gate
cerulean moth
#

pipenv run test

rugged root
whole bear
#

how to replace stuff in a string in python

cerulean moth
#

yeah read both of them

#

i run with pipenv

#

the site and bot

whole bear
#

can someone help me?

short gate
rugged root
#

@whole bear Can you give an example input/output?

wind juniper
#

hmm, okay @short gate

whole bear
#

string = "sjgvadcsgabdhckbasdcahcbjshdcbjasbkjahsbdkjchbasjhcbccccccccccccccccccccccc"
replace c = pppppppppppppppppppppp
print string exept all c is ppppppppppppppppp

honest pier
#

all if you don't give the third argument

#

@rugged root

cerulean moth
#

!charinfo 👌

wise cargoBOT
#

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

cerulean moth
#

@dense ibex

short gate
honest pier
#

!d str.replace

wise cargoBOT
#

str.replace(old, new[, count])```
Return a copy of the string with all occurrences of substring *old* replaced by *new*. If the optional argument *count* is given, only the first *count* occurrences are replaced.
cerulean moth
#

ah nvm

whole bear
cerulean moth
#

my bad

whole bear
#

ok thanks

rugged root
#

Are you wanting it to replace all the c's or just the ones at the end

honest pier
#

note that it does not do it inplace

cerulean moth
#

in config.yml

honest pier
rugged root
#

Then yeah, replace will do what you need

wind juniper
#

bye people; gotta go now

whole bear
#

ok thx for everything ever

rugged root
#

Happy to help

wind juniper
#

oh, btw for the replace question that @whole bear asked, how would you do it if you were asked to implement it from scratch

#

as in what's the pythonic way to do it

whole bear
tropic thistle
#

hi! i need halp in a code with files

wind juniper
#

lol

#

I kinda thought that someone would say that

honest pier
#

i mean, probably just some join thing

rugged root
#

@tropic thistle Ask and ye shall receive.

#

Whatcha got

faint ermine
#

!zen 5

wise cargoBOT
#
The Zen of Python (line 5):

Sparse is better than dense.

wind juniper
#

i.e someone would remark that pythonic way is to use the library

faint ermine
#

!zen

wise cargoBOT
#
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

wind juniper
#

say, the library doesn't exist

tropic thistle
#

how to open read files? i tried something and its not working

wind juniper
#

it's amazing to learn

#

that's not true

cerulean moth
#

Cya guys, got to go!

tiny socket
#

bye

honest pier
#
def replace(string, old, new, count=None):
  if count is None:
    count = len(string) + 1
  c = 0
  L = []
  for ch in string:
    if ch == old:
      L.append(new)
    else:
      L.append(ch)
    c += 1
    if c == count:
      break
  return "".join(L)
```🎉
#

don't use that

wind juniper
#

I had something similar in mind

tiny socket
#

don't use that
my favourite phrase mmLol

rugged root
paper tendon
#
find_on_path
    for dist in factory(fullpath):
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 2121, in distributions_from_metadata
    if len(os.listdir(path)) == 0:
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.9/site-packages/i3ipc-2.2.1.dist-inf
tiny socket
#

!pypi ohnodb

wise cargoBOT
wind juniper
#

how efficient is join?

honest pier
#

cause it's not in python

wind juniper
#

I'm interested too

#

btw, who wanted to explain that?

tropic thistle
#

pink_floyd_file = open(pink_floyd_file, "r")
i tried this and the error is
UnboundLocalError: local variable 'pink_floyd_file' referenced before assignment

wind juniper
#

looks like I won't be hearing about db joins

#

@tiny socket , tell us more

#

oh, yea, but someone said db joins

#

and someone said bytecode

vivid palm
#

is steele another latex user

honest pier
#

tf you mean "another latex user"

vivid palm
#

i've never heard anyone using latex for resumes until i met you 2

honest pier
#

what

rugged root
#

I've never heard of that either

#

That's not common

wind juniper
#

lol, isn't it how everyone writes resumes?

honest pier
#

😔

vivid palm
#

wow

honest pier
#

how could you not though

#

my resume looks amazing

#

i probably still won't get hired though 🎉

pseudo agate
#

I thought latex could be used for resumé

honest pier
#

i did

pseudo agate
#

Better than other google docs or word

honest pier
#

google docs is bad

pseudo agate
rugged root
#

I'm sure it can be

honest pier
#

word is slightly better

pseudo agate
rugged root
#

But it just feels like far more work than it's worth

pseudo agate
pseudo agate
tiny socket
#

"Several people are speaking..."

pseudo agate
#

But honestly if I had the time I’ll just use latex for everything

wind juniper
#

man, resume styles matter? that's news

#

at least to me

#

still

#

I think it shouldn't matter

pseudo agate
#

What’s happening?

wind juniper
#

I suppose it makes sense for a designer

tiny socket
#

BT (british telecomms, biggest internet company here) had a person come into my school and explain how important it was that we make our resumes stand out to the people looking at them so uh lol

vivid palm
honest pier
#

i used XCharter

rugged root
#

Actually.... would Wingdings be easier for OCR to translate?

#

Since everything is a bit more distinct?

honest pier
#

why would they use ocr, they can just pull it from the file

rugged root
#

I'm saying from a printed doc

#

Someone faxes it to you, for example

honest pier
#

rabbit 👀

stuck furnace
#

Does anyone use a plain-text resume? I feel like that would be appropriate for programmers 🤔

amber raptor
#

Generally companies want PDF or Word

vivid palm
#

ahahahah faxed resumes cry

pseudo agate
wind juniper
#

I like the idea of plain text resume

rugged root
pseudo agate
#

Wow

tiny socket
#

all resumes should be written in markdown dont @ me

amber raptor
rugged root
#

I mean it's technically more secure?

amber raptor
rugged root
#

I think?

#

I can't remember

pseudo agate
#

I beg to differ

amber raptor
#

Word or whatever converts to PDF

pseudo agate
#

Don’t offices have encryption and stuff

wind juniper
#

it outputs a pdf

amber raptor
#

If you can’t adapt to what business people want, they don’t want you.

wind juniper
#

you can export it to what ever you want

amber raptor
#

My recommendation is use Word if you have access

tiny socket
#

I'd like to point out that this argument is between people in the US who don't know much about how it works elsewhere, and people elsewhere who don't know how it works in the US (which is usually vastly different from 'elsewhere' in most aspects) so this seems like a pointless debate

honest pier
#

¯_(ツ)_/¯

paper tendon
#

at any point the resume main use is to lend you a interview @faint ermine

#

so you want to optimise it.

faint ermine
#

which it did, 7 out of 15 times. which is not much, but thats a good success rate.

vivid palm
#

^ rabbit we learned today more people use latex for resumes than i ever thought lol

vivid palm
#

i might be on 2 hands now

rugged root
#

Of companies around 100 employees

amber raptor
stuck furnace
#

I think for math/physics/CS academics, Latex is standard 🤔

cobalt fractal
#

I wrote my first CV out of uni in latex, because I thought it was the bee's knees

wind juniper
#

I tried to trim my resume as much as possible and ended up with a half page resume

cobalt fractal
#

then I got bored and have it in a google doc now

honest pier
#

for any publication type thing in stem, latex is the de facto

wind juniper
#

@vivid palm , are you a math person?

whole bear
#

anyone know who this is tell me if u kno

vivid palm
#

no my family is

#

chris uses google docs crai

cobalt fractal
#

yea it's just simpler

amber raptor
cobalt fractal
#

written in gdocs, exported as pdf

whole bear
pseudo agate
#

Even people in high school use latex

honest pier
honest pier
amber raptor
#

As I’ve said before, use LATEX if you want, just make sure it doesn’t come out garbled when it converts to PDF

honest pier
#

ye, printed it out and everything

pseudo agate
amber raptor
cobalt fractal
#

same applies with exporting it as a pdf from word or w/e

wind juniper
#

@amber raptor , go read a latex tutorial

cobalt fractal
#

make sure your page breaks don't mess up

#

If you can't spend 5 minutes reviewing your exported CV before submitting, why should I spend time reading it

wind juniper
#

can someone tell him call it LaTec

cobalt fractal
#

you'd be surprised by how many CVs we get where the formatting is messed up

honest pier
wind juniper
#

@honest pier , why penisve?

honest pier
#

cause that is pensive

vivid palm
#

^ unless you screw up and the last few lines spill over to a 2nd page lol

#

i've seeeeeen it

cobalt fractal
#

I've seen some very well written CVs in just one page

faint ermine
honest pier
#

wait wait, latex for notes? like in class?

faint ermine
#

yep

honest pier
#

that's sooo extra

#

like in math or pyhs?

#

hand written >>> typing >> typing in latex

faint ermine
#

yep, math, chemics, physics and IT

tropic thistle
#

someone know how yo open and read files?

whole bear
#

can someone tell me null-b's name so i can add them

wind juniper
#

I've seen people take live notes in it

#

but then again, they could type faster than i could think

honest pier
#

i just handwrite, then transcribe them into latex

wind juniper
#

double work

honest pier
#

you get to revisit your notes, and you were gonna do it anyway, so it doesn't matter

wind juniper
#

lol, public static void doing double work

honest pier
#

?

wind juniper
#

that was a java joke

#

sorry bad joke

honest pier
#

bruh

stuck furnace
#

"I drew them dur­ing the lec­ture" hemshake

honest pier
#

bruh

rugged root
wind juniper
#

oh, Rabbit's on vc

mortal burrow
#

I'm sad

#

big sad

wind juniper
#

why you sad

mortal burrow
#

very big sad,

stuck furnace
honest pier
#

imagine the amount of time required to get that proficient

wise cargoBOT
#

@tiny socket

It has arrived!

Here's your reminder: [#voice-chat-text-0 message](/guild/267624335836053506/channel/412357430186344448/) lcg.
[Jump back to when you created the reminder](#voice-chat-text-0 message)

wind juniper
#

@faint ermine wdym breaking it

whole bear
#

anyone know null-b?

zealous wave
#

all in favor for changing the bots pagination to this: ```py
left = "⏪"
right = "⏩"
first = "⏮️"
last = "⏭️"

async def _paginate(embeds, msg):
with type("",(),{"enter":lambda :[bot.loop.create_task(msg.add_reaction(e))for e in(first, left, right, last)],"exit":lambda *a:tb.print_exc()or bot.loop.create_task(msg.channel.send("it broked")),},)():[(embed:=embeds[(index:=((index := (locals().get("index", 0)))+(min(index,len(embeds))-index if r.emoji == right else max(index - 1, 0)if r.emoji==left else len(embeds)-1-index if r.emoj ==last else-index)))])and await msg.edit(embed=print(index)or embed)async for r, in(await bot.wait_for("reaction_add",check=lambda _r,u:str(_r)in(left, right, first,last)and _r.message==msg and u!=bot.user,)for _ in iter(lambda:1,0))]

wind juniper
#

Word sucks

rugged root
#

No

#

No no no no no no

#

No

#

Bad chili

zealous wave
#

lol

#

I know you love it.

whole bear
#

!e
left = "⏪"
right = "⏩"
first = "⏮️"
last = "⏭️"

async def _paginate(embeds, msg):
with type("",(),{"enter":lambda :[bot.loop.create_task(msg.add_reaction(e))for e in(first, left, right, last)],"exit":lambda *a:tb.print_exc()or bot.loop.create_task(msg.channel.send("it broked")),},)():[(embed:=embeds[(index:=((index := (locals().get("index", 0)))+(min(index,len(embeds))-index if r.emoji == right else max(index - 1, 0)if r.emoji==left else len(embeds)-1-index if r.emoj ==last else-index)))])and await msg.edit(embed=print(index)or embed)async for r, in(await bot.wait_for("reaction_add",check=lambda _r,u:str(_r)in(left, right, first,last)and _r.message==msg and u!=bot.user,)for _ in iter(lambda:1,0))]

wise cargoBOT
#

@whole bear :warning: Your eval job has completed with return code 0.

[No output]
faint ermine
whole bear
#

hm

stuck furnace
#

Tex was written by a Turing award winner, then expanded on by another Turing award winner to make Latex 😄 (just occurred to me)

faint ermine
#

#bot-commands

wind juniper
#

oh, that's easy

wind juniper
#

just mess with the style files

zealous wave
#

so running that would only work with int e

faint ermine
dire oriole
grand cargo
#

pure sad

wind juniper
#

hmm, how else would you break stuff

faint ermine
# wind juniper hmm, how else would you break stuff

if i mess it up myself thats my fault
but if i change one thing and another breaks, as word likes to do so much, i would consider it LaTeXs fault
thats what i mean by breaking it.^

i guess what im trying to say is that i've tried to do the things that could lead to unforseen formatting changes and was not able to find any

dire oriole
#

😔

pine ledge
#

Hi

vivid palm
#

so my dad stopped using latex and now uses word bc he doesn't write math papers anymore
brother currently writes a lot of math papers and uses latex for resume/cover letter

honest pier
#

😔

wind juniper
#

wand does your dad write now that he needs to use word

#

@vivid palm ☝️

vivid palm
#

resumes/cover letters he uses word now

#

he writes code now i guess? not math papers lol

wind juniper
#

lol, writing code in word is fun

honest pier
#

hmmm

potent plume
#

Hi

#

I still cant talk again😫 😂

rugged root
#

Give it time

vivid palm
grand cargo
pure yarrow
#

wow

grand cargo
vivid palm
faint ermine
#

@rugged root

marble veldt
dense ibex
#

Yes

marble veldt
#

I'm not accustomed to this 😫

vivid palm
grand cargo
amber raptor
#

Has Discord been messing with UI?

scenic goblet
#

yeah

pseudo agate
#

yes

vivid palm
#

yeh if you're on mobile you likely won't see it

amber raptor
#

I haven’t been on computer since Friday

#

So it’s waiting for me, joy

undone idol
#

lol, First time seeing a competitor against discord in years https://www.guilded.gg/

#

its a total copy

scenic goblet
#

guilded has been around for years

faint ermine
#

tbh guilded does some nice things with integrated events and tournements etc

whole bear
#

is there a shuffle method for strings in random modual?

rugged root
whole bear
#

cant use shuffle

#

TypeError: 'str' object does not support item assignment

rugged root
#

Oh right

#

One sec.

#

Hmm

scenic goblet
#

string_utils has a shuffle method

#

i think

pseudo agate
#

yo peeps i gtg

rugged root
#

Is that in the standard lib?

scenic goblet
#
import string_utils

print(string_utils.shuffle('hello'))```
#

i'm not sure tbh

rugged root
#

Otherwise you can do - see you Fuz

pseudo agate
#

bye

scenic goblet
rugged root
#

Okay

grand cargo
#

This Python 3 tutorial course aims to teach everyone the basics of programming computers using Python. The course has no pre-requisites and avoids all but the simplest mathematics.

🔗 Sample Code Zip: https://www.py4e.com/code3.zip
🔗 Lecture Slides and Handouts: https://www.py4e.com/lectures3/
🔗 Free Textbook: https://www.py4e.com/book.php
🔗 Co...

▶ Play video
rugged root
#

Then I do have a method, Batch

#

One sec

whole bear
#

cannot find string_utils in pip

scenic goblet
#

it's python-string-utils for pip, but i think Hemlock has a better solution

rugged root
#

!e

from random import shuffle
my_string = "blah blah"
my_list = list(my_string)
shuffle(my_list)
result = ''.join(my_list)
print(result)
wise cargoBOT
#

@rugged root :white_check_mark: Your eval job has completed with return code 0.

lahb alhb
scenic goblet
#

ah i was going to suggest that, but i wasn't sure if the whitepace would also get shuffled

whole bear
#

i need everything shuffled

honest pier
#

kutiekat i 9

rugged root
#

@whole bear That does shuffle everything

honest pier
#

to shuffle an immutable sequence use random.sample(seq, k=len(seq))

whole bear
#

!e
from random import shuffle
my_string = "blah blah"
my_list = list(my_string)
shuffle(my_list)
result = ''.join(my_list)
print(result)

wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

lhalbhb a
rugged root
#

It just happened to be that the white space landed in the same place

whole bear
#

oh

rugged root
#

Yeah

whole bear
#

guess was just lucky

rugged root
#

Oh sweet, cheers Pub

hollow haven
#

lmao psvm's lucky shuffle from yesterday

grand cargo
#

stole ur fish 😎

whole bear
#

😢

honest pier
honest pier
#

that's literally 1/120

#

😔

grand cargo
#

i gotta cat ana fish

severe pulsar
#

no but like whats the need for color changes like this

#

even if discord is rebranding

#

like what actually happens because this color is changed. nothing right

#

so why not leave it the same

#

right

fervent rivet
#

I think kutiekatj9 is spot on, the latest big update to Discord introducing the easy-mode server templates indicates to me they're trying to broaden their appeal to a more casual audience

scenic goblet
#

but it's not much of a change so i don't know

severe pulsar
#

true

fervent rivet
#

lol, I feel that

severe pulsar
#

like the online status green has gotten "duller" while other colors have become more neon

#

I feel like its just the fact that people don't like change, and fair enough right

#

Like people got used to these colors, and they were suddenly changed, so...

#

¯_(ツ)_/¯

wise glade
#

😩 css is boring

#

seeing pages all beautiful is nice though

undone idol
#

learn html lol

hollow haven
#

@cerulean ridge in discord search, you can do from: <your username> and it'll show you how many messages

severe pulsar
undone idol
#

aha mark up

wise glade
#

I'm thinking about start watching Naruto
cause ...
life outside sucks rn

grand cargo
#

YES

#

WATCH IT

#

start right now

undone idol
#

f lol

#

motivation

wise glade
#

yeah, your pfp reminded me of it, XD

grand cargo
#

like 3 2 1 you are watching right now right

#

just wait until shippuden O_O

wise glade
#

I love op 6 of naruto

#

" I realize the screaming pain .... "

grand cargo
#

i cant stand that one lmfao

wise glade
#

I just got to the part where book shows me how to steal css 😂
didn't knew we can do that

rugged root
#

What do you mean steal CSS?

#

Like snagging it from another site? Just looking at the CSS it loads?

wise glade
#

this extension reveals all the css of the page

rugged root
#

Wait, isn't that viewable from the dev console anyway?

#

Or is some of it obfuscated

wise glade
#

idk, I'm new to all this

#

all I make use of is the network tab in dev console

#

ps, my internet is crazy today, got a mssg from my isp, they're fixing it

#

ironically it doesn't reveal the css of the extension market in chrome or firefox 😂

sullen storm
#

ㅖ아

rugged root
#

We're an English only server

wise glade
#

its a diff lang
I thought it was some catify thing 😂

rugged root
#

Korean, yeah

sullen storm
rugged root
#

!rule 4

wise cargoBOT
#

4. This is an English-speaking server, so please speak English to the best of your ability.

sullen storm
#

No

rugged root
#

Yes. If you're here, it would be in your best interest to follow the rules

grand cargo
#

hi GL how are you

sullen storm
#

😩

grand cargo
#

gn

serene falcon
grand cargo
#

heis

sullen storm
wise glade
#

@sullen storm english is universal, just learn it

#

@sullen storm you from korea?

tiny socket
rugged root
#

Especially since you are not, in fact, Roh Moo-hyun

sullen storm
wise glade
tiny socket
#

this is an english community sure, but demanding people learn english isnt great

wise glade
#

north korea?

jagged thorn
#

rocket man

rugged root
wise glade
#

@sullen storm since english is spoken worldwide
It'll be really helpful if you learn it

rugged root
#

Not.... really helpful, Acc

wise glade
#

GL just sent me a frnd rqst 😂

tiny socket