#voice-chat-text-0

1 messages · Page 700 of 1

high ingot
#

Ö

#

Ü

cloud stratus
#

ç ğ

high ingot
#

Ä

median sphinx
#

Question, how common is python2 still in production code?

buoyant topaz
#

namaste

amber raptor
#

I’d say uncommon but not unheard of

leaden comet
#

æ

#

a e

faint ermine
severe pulsar
#

we were

#

awaiting your return

#

like loyal minions

#

:)

amber raptor
#

I wasn’t

#

In fact, I’m now sadder

odd raven
#

;-;

#

why rabbit

#

i loved you

#

like you were

#

one of my own

severe pulsar
high ingot
#

LOL

odd raven
#

kek

median sphinx
#

注意敌人 the ultimate challenge

#

I forgot about Github universe

severe pulsar
#

bruh

#

ive been using

frigid panther
#

I just realised, github has dark theme!!! OMG

severe pulsar
#

chrome extension

median sphinx
#

"Dark theme" finally

severe pulsar
#

for dark theme

#

so

#

;-;

frigid panther
faint ermine
#

tis how it looks

rugged root
#

Took them way too long to do that

severe pulsar
#

how do i activate it?

#

oh settings awesome

#

looks pretty good

leaden comet
high ingot
#

Noice

median sphinx
#
GitHub Universe · Virtual 2020 · Dec 8 - 10, 2020

You’ve set up your infrastructure as code in GitHub Actions to securely test and deploy to production. One year later, you discover the account keys you used for automation have been compromised! In a panic, you scramble around multiple repositories looking for where you used the account keys and throw together a script to rotate them. You start...

leaden comet
severe pulsar
#

BIGBASH

#

MY MAN

#

whats up

craggy zephyr
#

Hey @severe pulsar

severe pulsar
#

hey

craggy zephyr
#

Github discussion

severe pulsar
#

ci cd more like but yeah

#

these guys already wrote all their code

median sphinx
#

dude, Ive only been programming for 3 years

severe pulsar
#

they're just worrying about deploying

median sphinx
#

I'm so stupid

severe pulsar
#

;)

severe pulsar
#

just today i learnt about git checkout so you're good

craggy zephyr
severe pulsar
#

i usually dont contribute to open source lmao

#

KL3PTO

craggy zephyr
severe pulsar
#

aah ok

median sphinx
#

https://githubuniverse.com/How-we-make-VS-Code-in-the-open/ I'm a big VS fan so this looks interesting

GitHub Universe · Virtual 2020 · Dec 8 - 10, 2020

VS Code was launched over five years ago and has become the top-most contributed-to project on GitHub. While developing in the open, our team has learned how to balance community engagement with delivering value and shipping code. In this talk, we’ll share engineering best practices our team has adopted on GitHub to collaborate with our users, g...

leaden comet
craggy zephyr
#

@severe pulsar did you know something about Serializers?

severe pulsar
#

is that a class in some framework

#

i know about them in general

#

but with the capital S, i dont know if you are talking about a specific class in a library

craggy zephyr
severe pulsar
#

INDRATEJ

#

IS BACK

#

indratej reddy afk no more

#

lets GO

median sphinx
#

oh, I can't hear anyone, anymore...

normal hinge
#

sorry i had some audio issues

#

i didn't heard u guys

median sphinx
#

I also had audio issues... weird

normal hinge
#

looks like the problem is with server

#

?

median sphinx
#

so I missed what they put in the game? They did what?

severe pulsar
#

l33tlinux IS ALSO HERE

#

bruh we have hemlock

#

linux

#

opalmist

#

laundmo

#

lemon

#

we got all the big players in vc

graceful grail
#

lol

severe pulsar
#

now vc is gonna be awesome

craggy zephyr
#

yeah😅

severe pulsar
#

its like one of those epic crossover movies

normal hinge
#

lets chat here

severe pulsar
#

like avengers or whatever

normal hinge
#

it is showing me that u bought the game

#

lol

severe pulsar
#

where we have iron man

#

hulk

#

and stuff

#

thats the same with this

#

we got all the legendary heroes of the python server

#

put in one place

#

lets GO

stuck furnace
#

There are few games I can play without getting a headache lemon_pensive

tranquil barn
#

In India, people with epilepsy are not permitted to drive. The document puts the onus on both applicant to reveal if the person gets loss of consciousness due to any cause and medical practitioner to provide a certificate that the applicant, to the best of his judgment, is suffers from epilepsy, vertigo or any mental ailment likely to affect his efficiency.

#

In the U.S., people with epilepsy can drive if their seizures are controlled with medication or other treatment and they meet the licensing requirements in their state. How long they have to be free of seizures varies in different states, but it is most likely to be between three months and a year.

stuck furnace
#

Oh yeah. I've spent time in part of the US where there is literally no public transport at all 😄

severe pulsar
#

F

stuck furnace
#

You can get by pretty well in the UK without a car.

faint ermine
#

@leaden comet could i pick your mind for a sec about sentry onpremise? got it running but have a few questions about using it.

stuck furnace
#

As much as we like to moan about the state of our public transport 😄

#

I think elderly in London get free public transport.

#

Don't use buses in London during rush hour 😄

#

Just don't

#

There's this cool map that shows you all the tracks of all train lines in London...

noble copper
#

All i know is public transport in FL sucks.

stuck furnace
#

Open homeless shelters...

#

?

noble copper
#

The busses take way too long to come and usually take longer than necessary between stops

#

Also not that many lines

#

inside of the busses are like refrigerators

amber raptor
#

@stuck furnace that cost money you bloody commie 🦅

rugged root
#

"It's their fault for being poor in the first place."

#

The argument so often lobbed at people who need help, may have mental health issues and continue in a spiral downwards, etc.

amber raptor
#

Let’s fund private charity with really expensive CEO to deal with homeless problem

stuck furnace
#

Ah, there's no hammer and sickle emoji...

amber raptor
somber heath
#

Wealth is seen as a measure of how much a person is worth to society, so if you're poor, it's less important to see you prosper. You're viewed as dead weight or something from which as much money is to be squeezed from as possible, because you're not as wealthy as you should be and so aren't pulling your weight.

noble copper
#

Ouch

stuck furnace
#

Hey so who's done today's AoC?

#

Sorry actually, brb

noble copper
#

What about those who inherit wealth

somber heath
#

But then you have super weathy people doing shit all with that wealth to contribute, as what they might have in the past when tax laws were more fairly applied.

amber raptor
#

They should be elected President

somber heath
#

and by super wealthy people, I mean like Bezos and his ilk

amber raptor
#

Because other person has terrible 📧

somber heath
#

Whereas prior, the wealthier might well have been worth more to society for that reason...which now is gone, but the myth of weath=importance persists.

#

Not that I consider wealth to be the measure of a person.

#

Though it is relevant in a purely financial sense.

noble copper
#

I wish there were more wealthy people like Elon Musk.

#

Maybe we'd have people on Mars by now lol

#

Why is that?

stuck furnace
#

I think he has an intense need to impress people.

#

Apparently his title at SpaceX is chief engineer?

noble copper
#

Yeah the whole cave incident was awkward. I don't know much about him personally but i respect the companies he's built

frigid panther
#

hey @rugged root , did the code jam qualifier solution video get removed?

#

yea

#

its not there

stuck furnace
#

I saw a video once were he cave a factory tour of SpaceX and he seemed pretty knowledgeable 😄

frigid panther
#

yea

noble copper
#

Anyone that rich wont be totally likable

rugged root
frigid panther
#

OMG, I AM SO BLIND

#

so sorry

rugged root
#

No biggie, dude

frigid panther
#

I was searching for it before code jam 6

rugged root
#

We all miss stuff

noble copper
#

"AWS"ome

stuck furnace
#

Have you tried pyenv?

#

Erm, can you give an example of what you mean?

rugged root
#

"abcd"

#

[34]

stuck furnace
#

Oh yeah, Opal is right.

#

You can use %

#

!eval ```python
print("abcd"[24 % 4])

wise cargoBOT
#

@stuck furnace :white_check_mark: Your eval job has completed with return code 0.

a
stuck furnace
#

Oh I love those little interactive animated backgrounds you see on some websites.

#

They really liven the page up.

sick cloud
tiny seal
#

hack the box

rugged root
#

Harold's Tiny Bat

stuck furnace
#

Hemlock's Terrible Backronym

#

How did you manage to do that? 😄

#

Wear gloves?

#

Just a joke bro

#

For future reference: no rugby in the office

sick cloud
#

am i the only one not paying attention to the chat ?

stuck furnace
#

Right now I'm practicing my handwriting

#

Because I have to take some handwritten notes for a class, but I haven't written anything by hand for like a year 😄

#

Erm, UK

#

Nah it's cool.

#

I'm going to pop my head into the help channel... brb

frigid panther
#

I am trying to wrap my head around descriptors

rugged root
#

What's got you stuck about them

frigid panther
#

I am trying to validate class instance attributes, was wondering if descriptors are the right choice

#

like for checking the types, etc

#

the code jam qualifier had something similar, looking at the video rn

hearty nimbus
#

@rugged root yo u think u can maybe help me with that problem again lol? if your not in the middle of doing something already.

#

alright thanks man appreciate it

#

il send the question again

frigid panther
#

hate yourself, wut?

hearty nimbus
frigid panther
#

ahh

hearty nimbus
#

this is what i have so far

#

ignore the print bruh part

#

i just put that there to see if the program would work

frigid panther
#

to keep track of the frequency of the letter p, have a variable say count which keeps incrementing whenever you come across a p

hearty nimbus
#

ahh ok

#

should i assign it outside of the loop or in the loop?

frigid panther
#
count = 0
for x in word:
  if x == "p":
    count += 1```
similar
hearty nimbus
#

ah i see

frigid panther
#

count should be outside

#

you dont want to reset it

#

btw hemlock, I stopped AOC, I started a new project yesterday which I am currently working on

#

its like a python cookiecutter

#

sets up pipenv, project files, docker files, flake8 and pre-commit hooks and also pushes it to github with just 1 command

hearty nimbus
#

is there a way i can make it count the ps in the word thats entered

#

because if i just put if word==p its just gonna account for the whole word right?

#

so how can i like get it to go through the word and get the individual letters

#

i can like index it or something right?

rugged root
#
food = "bacon"

for letter in food:
    if letter ==
hearty nimbus
#

i think i got it

#

pog

frigid panther
#

oh the ..# challenge?

native nebula
#

hemmy it shattered everywhere

hearty nimbus
#

lets go it worked lol

rugged root
native nebula
#

yes

#

that is the current project

#

we folded the board in half and carried it out

#

bc it is metal on the back

rugged root
#

Yep, that would have been my advice as well

native nebula
#

there’s sooo much glass

rugged root
#

Yeeeeeeeeep

sick cloud
#

@faint ermine helo

#

@digital jackal helo

cyan quartz
#

Do ya'll have a favorite project layout for python (non library) projects?

sick cloud
#

@digital jackal ummm, no i guess

#

nope

digital jackal
rugged root
#

@silver spindle I tend not to accept friend requests until I get to know the person better, apologies

hearty nimbus
#

@rugged root thanks man got it to work

sick cloud
hearty nimbus
#

yea

sick cloud
#

noice

hearty nimbus
#

repls alright

#

i like pycharm a lot too though

sick cloud
#

i prefer vsc and sublime...

hearty nimbus
#

i've never used those before

#

ive only used pycharm and repl

#

repls cool though cause you can see other peoples stuff that they have made right on the front page which is nice

sick cloud
#

where python isn't installed

#

like tablet etc

hearty nimbus
#

yea thats another nice feature to repl

#

might get it on my phone tbh

sick cloud
hearty nimbus
#

ohhh rip

#

so i cant download it in the app store

#

cringe

sick cloud
#

nope

#

u have an apple phone ?

hearty nimbus
#

yea

sick cloud
#

are you on a mac now ?

silver spindle
hearty nimbus
#

no im on a windows pc

#

btw do you have to assign a variable first before you use a while loop?

sick cloud
sick cloud
#

but most of the time, you have to

hearty nimbus
#

well not like in a boolean

#

i mean like while x!= blah blah balh

sick cloud
hearty nimbus
#

this is my third program

sick cloud
#

which grade u in ?

hearty nimbus
#

this thing is due on friday rip

#

im in 10th

sick cloud
#

hmmm, i just passed grade 9

tidal dawn
#

Hey guys

hearty nimbus
#

oh dang

tidal dawn
#

I ve got an error on my program

sick cloud
# hearty nimbus

u would need to use a while loop, and some variables, and 1 if statment

tidal dawn
hearty nimbus
sick cloud
hearty nimbus
#

i didnt mean to respond to that one lol

sick cloud
hearty nimbus
#

oh dang

#

im 15 i turn 16 next year

sick cloud
#

XD

hearty nimbus
#

you know more about programming than me

#

and im older than you

rugged root
#

Age doesn't matter

sick cloud
#

umm, self taught

rugged root
#

People pick up new skills at any age

hearty nimbus
#

wait when did you start?

sick cloud
hearty nimbus
#

dang

#

i started like in august

#

so thats why i decided to take a class on it

sick cloud
#

new fella

hearty nimbus
#

cause my classes started in september

#

and then it was easy for like the first week because i knew most of the stuff

#

then like 2nd week were doing loops and i was lost lmaoo

sick cloud
#

@fierce summit helo

fierce summit
#

hello

hearty nimbus
#

yea i still dont understand them 100%

#

but im learning ig

#

tbh ive learned more on this server about python than how much my teacher has tought us

#

and ive been in this server for not even a day

sick cloud
hearty nimbus
#

yea

sick cloud
#

what do u think of this server ?

hearty nimbus
#

its nice

#

i joined seeking help on my hw

#

and got it pretty much instantly so thats pretty nice

sick cloud
#

noice, i came around this server accidently

stuck furnace
#

You're probably not giving your teacher enough credit 😄

hearty nimbus
#

thanks to hemlock and some other people

#

my teachers alright

stuck furnace
#

"I didn't learn anything at school" is a common refrain, but is rarely true

hearty nimbus
#

i just dont really understand him that much 90% of the time

#

i mean school doesn't really teach you much besides the basic ideas or topics

rugged root
#

!resources @whole bear

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.

hearty nimbus
#

for me personally at least

whole bear
#

thanks

rugged root
#

Automate the Boring Stuff and A Byte of Python are two solid ones

hearty nimbus
#

i learn the most out of other people and from youtube

#

if i dont understand something in class i ask the teacher and if they don't want to help me or i still dont understand i just look it up or ask someone else

rugged root
#

Yep, that's a good way to do it

hearty nimbus
#

yo so it says the cost of various transactions

#

how do i get it to run and ask for the transaction multiple times

sick cloud
#

put it in a while loop

hearty nimbus
#

this what i have so far

sick cloud
#

put the transaction in a while loop

hearty nimbus
#

yea but in a while loop dont i have to assign a variable before hand?

sick cloud
#

like:

x = 0
while x != -1:
   x = int(input("Sentence: "))
odd dragon
#

Whats the function used for printing the smallest number in a sequence

#

Or do i have to do it with 50000 if and else commands

hearty nimbus
#

ahhhh i see

odd dragon
#

What would 1//2 give

#

0?

#

Right

sick cloud
#

yep

#

!e print(1//2)

odd dragon
#

Just what i wanted to hear

wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

0
hearty nimbus
#

so now i gotta add all the transactions up

#

besides -1

sick cloud
#

yesss, ignore the last transaction :P

odd dragon
#

!e print(4//1)

wise cargoBOT
#

@odd dragon :white_check_mark: Your eval job has completed with return code 0.

4
odd dragon
#

Good

hearty nimbus
#

wait hold up i got it i think

sick cloud
hearty nimbus
#

lol

#

i feel like such a goat rn lol

#

ive been confused like all year

#

now im actually understanding this ngl

sick cloud
#

ummm, how are you gonna keep track of how many transaction took place ?

#

to find the average

hearty nimbus
#

im assuming by average he means just to add them all up and put the total

#

but maybe he does actually mean the average

sick cloud
native nebula
hearty nimbus
#

like divide the numbers by the total

native nebula
#

while yes you can pick up new skills when older, it is more difficult than when young

sick cloud
#

alr, i'm gonna have dinner see u later

hearty nimbus
native nebula
#

we cleaned up the glass

hearty nimbus
#

@faint ermine bro u got a clean ass mic

#

i have a oculus rift

#

nah i dont have it

#

i play onward though

#

its like a military vr game its pretty cool

gentle flint
#

Those who would wish to watch the stream you would wish to stream to satisfy possible watchers, would be satisfied, were you to stream said stream that you would be streaming for said watchers.

#

comprende?

#
foo = 1
bar = 2
min([foo, bar])
#

should return 1

odd dragon
#

Thanks a lot

gentle flint
#

np

wicked urchin
#

What's up everyone

gentle flint
#

mah ceilin'

wicked urchin
#

Goodpoint

odd dragon
#

Thanks soooooooooo much @gentle flint

gentle flint
#

np

odd dragon
#

U saved me about half an hour

sick cloud
wicked urchin
#

Oculus is pretty dope

#

Has anyone heard of the Woojer?

sick cloud
#

not me

gentle flint
#

me neither

wicked urchin
#

Pretty much a haptic vest

amber raptor
#

I've seen them, you can get crazy with VR but after a while

wicked urchin
#

Yeah I had to cop one.

#

Music, games and movies will literally never be the same.

amber raptor
#

I have Valve Index

wicked urchin
#

Trippy

#

Just looked it up

#

That's the first I hear of that one.

#

Anyone know if you could check how many messages you have left to send? lol

stuck furnace
#

I quite like random.choices

rugged root
#

!e

for i in range(0, 10, 2):
  print(i)
wise cargoBOT
#

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

001 | 0
002 | 2
003 | 4
004 | 6
005 | 8
rugged root
#

@amber raptor

gentle flint
wicked urchin
#

True

stuck furnace
#

Anyone watching the SpaceX launch?

graceful lantern
#

i am watching it

#

why the clock paused

stuck furnace
#

Pretty exciting.

#

Erm... I don't know

#

Hopefully they don't scrub. You have to have a lot of patience to be a space fan lemon_pensive

graceful lantern
#

i am a space fan but i just forgot t watch this

stuck furnace
#

Same

#

I laughed Hemlock 😄

#

I'm a fan of the universe in general, not just space.

strange plank
#

clock paused??? what happened?

stuck furnace
#

Could be...

strange plank
#

wasnt there a shuttle mission that had to abort since birds had made permanent nest in the big orange fuel tank and had pokes holes in it

stuck furnace
#

Did you hear about that rocket that crashed because they put the gyroscope in upside down?

#

Erm, don't ask me 😄

#

But it thought that up was down, so it went down instead of up.

#

Rockets are supposed to go up.

#

Yeah it was unmanned

strange plank
stuck furnace
#

"Upside-down sensors can lead to upside-down rockets." 😄

#

There was this other rocket that blew up because of the rotation of the Earth.

graceful lantern
#

what

stuck furnace
#

Which gradually changed the measured angle as it sat on the launch pad.

graceful lantern
#

oh...

stuck furnace
#

So it thought it was off-course and self-destructed.

#

Ah, yeah I remember learning about that

#

in software engineering class 😄

#

The Mars Climate Orbiter.

graceful lantern
#

😆

gentle flint
#

I learned about it in Electrical Engineering

#

together with the Challenger disaster

stuck furnace
#

😄

#

I think it's measured in pixels?

#

@dark finch

#

I'm not sure, by I think the position is stored as a float?

graceful lantern
#

damit we are going to wait a hour for it to launcha

stuck furnace
#

Oh cool, didn't know that

gentle flint
#

reading about this stuff while we all wait for this rocket thing

#

Chlorine trifluoride is an interhalogen compound with the formula ClF3. This colorless, poisonous, corrosive, and extremely reactive gas condenses to a pale-greenish yellow liquid, the form in which it is most often sold (pressurized at room temperature). The compound is primarily of interest as a component in rocket fuels, in plasmaless cleanin...

stuck furnace
#

Every day you find something new 😄

#

Yeah, just found out python has a nice little stats module.

graceful lantern
#

4:40 pm cst i think is after one hour tell me if i am wrong

umbral glade
#

hi

#

hello

#

halo

graceful lantern
#

hi

dark finch
#

"EOF while scanning triple-quoted string literal" what does that mean

rugged root
#

Can you show the code that it's messing up on?

#

Oh der

#

You're missing the closing triple quotes

umbral glade
#

his frensh

dark finch
#

ok

graceful lantern
#

frensh?

umbral glade
#

french

graceful lantern
#

oh ok

somber heath
#
'Hello,\nworld.'
'''Hello,
world.'''```
stuck furnace
#

!eval ```python
print('Hello,\nworld.')
print('''Hello,
world.''')

wise cargoBOT
#

@stuck furnace :white_check_mark: Your eval job has completed with return code 0.

001 | Hello,
002 | world.
003 | Hello,
004 | world.
stuck furnace
#

No prob 😄

graceful lantern
#

triple quotes are useful for not getting weak errors for too long lines

stuck furnace
#

Slight gotcha with the triple quotes:

#

!eval ```python
print('''Hello,
world.''')

#

Yep, there's also the textwrap module, in case you don't know about it.

#

I'll demonstrate...

#

!eval ```python
import textwrap
if True:
s = """
hello
world
"""
print(textwrap.dedent(s))

wise cargoBOT
#

@stuck furnace :white_check_mark: Your eval job has completed with return code 0.

001 | hello
002 | world
stuck furnace
#

Yeah, it's actually kindof tricky.

#

I think it's used for docstrings.

#

Yep 😄

amber raptor
#

!e python a = 1 b = 2 if (a == 1 and b == 2): print('Hello')

wise cargoBOT
#

@amber raptor :white_check_mark: Your eval job has completed with return code 0.

Hello
stuck furnace
#

@graceful lantern ```python ```

#

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

stuck furnace
#

Ohhh, I do this:

amber raptor
#

I don't do friend requests from random people, if you want to talk to me, you will need to do so publically

tidal dawn
#

Hi

stuck furnace
#
condition = (
        a == 1 
    and b == 2
)
tidal dawn
#

I ve got little troubles can i share it w u

stuck furnace
#

I'm a bit pedantic about lining things up at tab-stops.

somber heath
#

!! Chitty citty !! Chitty chitty !! we love you! 🎵

amber raptor
#
if discordmessage[0] == '!register' and (
body['guildchannelid'] == 507725600073449482 
or body.get("privatemessage") is True):```
stuck furnace
#

Hold on while I make my window wider...

amber raptor
#

yea, Discord garbled it up

somber heath
#

@tidal dawn Apologies for not responding to you, earlier, I was in active discussion with another user at the time. What's up?

tidal dawn
#

Fine

#

no worry

#

im w a colleague can we voice chat together

#

just sent u a request

somber heath
#

Come to the voice help channel I'm in.

tidal dawn
#

so i can share my screen

#

that not the case here sadly

somber heath
#

Very well.

tidal dawn
#

thanks

white drum
#
  current = e.get()
    e.delete(0, END)
    e.insert(0, str(current) + str(number))
#

that indent shouldnt be there

#

its all on the same indent

#

what im not sure about here is what .delete actually does

somber heath
#

!e

    def mymethod(self):
        return self
mc = Myclass()
print(mc.mymethod() is mc)```
wise cargoBOT
#

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

True
stuck furnace
#

Guys, you watching the rocket launch?

gentle flint
#

one engine exploded

#

rip

stuck furnace
#

RIP SN8 🪦 💐

whole bear
#

my voice is supressed :/

#

suppressed

gentle flint
#

read the channel description

whole bear
#

50 messages

#

where

gentle flint
#

you need to have sent 50 messages in here

whole bear
#

ok nvm

gentle flint
#

since 21 august

#

they'll remove the role again if you try that

#

I wouldn't advise it

whole bear
#

hmm

#

a long conversation perhaps

#

so

#

what are you guys up to

#

?

#

hmm

#

interesting

whole bear
#

indeed

whole bear
#

ive got a question for u guys

#

i have a d sided die

#

and roll it 6 times

#

what is the probability each roll is bigger than the previous roll

#

where d >= 6

gentle flint
#

calculate the probability for each

#

multiply the probabilities

whole bear
#

consider a simple case where d = 6

gentle flint
#

that's confusing; two 6s

#

set d ≠ n
where n is number of rolls

stuck furnace
#

Hint: how many ways are there to do this?

#

How many ways are there to pick 6 unique items from d?

whole bear
#

LXNN u have an answer?

stuck furnace
#

I've given a pretty big hint.

gentle flint
#

y = ln(x!)

#

on the negative side, it oscillates at every step of 1 since you multiply by another -1

#

but it's an exponential formula

whole bear
#

around 0.0005

gentle flint
#

Chlorine trifluoride is an interhalogen compound with the formula ClF3. This colorless, poisonous, corrosive, and extremely reactive gas condenses to a pale-greenish yellow liquid, the form in which it is most often sold (pressurized at room temperature). The compound is primarily of interest as a component in rocket fuels, in plasmaless cleanin...

gentle flint
#

heinous

past elk
#

heenuas

gentle flint
#

haynuss

whole bear
#

hey guys

gentle flint
#

no

#

hey nus

past elk
#

`
gentle flint
#

````` ```

#

՝՝՝

#

՝ versus `

#

!charinfo ՝

wise cargoBOT
#

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

gentle flint
#

bruh

past elk
#

`

past elk
gentle flint
whole bear
#

Nice little challenge

#

good night guys

gentle flint
#

gn

#

It's quite representative for the rule 5 people in here

#
import turtle
turtle.circle(100,180)
graceful grail
#

!e print(360-45)

wise cargoBOT
#

@graceful grail :white_check_mark: Your eval job has completed with return code 0.

315
somber heath
#
from numpy import linspace
from math import sin, cos, pi
duration = 5 #seconds
times = linspace(-pi*2, pi*2, 24*duration, endpoint=False)

def func(t):
    x = sin(t)
    y = cos(t) #multiply one of these by an amount to ellipsify things. Experimentation encouraged.
    return x,y

for i, t in enumerate(times):
    print(f'The point drawn at time {t} at frame {i} is {func(t)})```
#

@past elk

past elk
#

Give me a moment I’m restarting my computer

#
static double[] linspace(double start, double stop, int len)
        {
            double dx = Math.Abs(start - stop);
            double[] points = new double[len];
            double m = dx / len;
            for (int i = 0; i < points.Length; i++)
            {
                points[i] = ((m * i) + start);
            }
            return points;

        }```
amber raptor
#
var a = 0;
a+= 1; #same
a++; #same```
past elk
#
#include <string>
#incude <iostream>

void print(&std::string String){
  std::cout << String;
}

int main(){
  print(std::string("hello world"))
}```
#

@heavy dirge

heavy dirge
severe pulsar
#

PROGRAMMING NERD IS DOING C++

#

too much TOO MUCH

#

and coding

past elk
#

lol 😄

whole bear
#

heyya

#

good morning

#

Hows all going on

#

ok great

hallow warren
#

@past elk "Obstacle Course" — Valerie Plame for Congress

#

she "lost" her legislative branch bids

whole rover
#

@halcyon sluice what are you doing

#

if you are trying to meet the thresholds you are failing, deleted messages do not count

halcyon sluice
#

ok you got me ill stop

past elk
#

what happend 😄

wicked urchin
#

Woah

#

That looks sick

hallow warren
#

Elisabeth Margaretha Harbers-Bik (born 1966) is a Dutch microbiologist and scientific integrity consultant. Bik is known for her work detecting photo manipulation in scientific publications, and identifying over 400 research papers published in China from a "paper mill" company. Bik is the founder of Microbiome Digest, a blog with daily updates ...

hallow warren
fiery hearth
#
<tr class="row-298 even"><td class="column-1">297</td><td class="column-2"><a href="http://www.lawcommission.gov.np/en/wp-content/uploads/2019/07/The-Social-Security-Act-2075-2018.pdf">The Social Security Act, 2075 (2018) </a></td></tr>
past elk
#

<a href="http://www.lawcommission.gov.np/en/wp-content/uploads/2019/07/The-Social-Security-Act-2075-2018.pdf">The Social Security Act, 2075 (2018) </a>

past elk
#
row = '<tr class="row-298 even"><td class="column-1">297</td><td class="column-2"><a href="http://www.lawcommission.gov.np/en/wp-content/uploads/2019/07/The-Social-Security-Act-2075-2018.pdf">The Social Security Act, 2075 (2018) </a></td></tr>'

a_tag = row[row.find('<a'):row.find('</a>')]
args = a_tag.split(' ')
for arg in args:
  if(arg.split('=')[0] == 'href'):
    link = arg.split('=')[1].strip('"')```
hallow warren
#

Find a time that works best for you! *CET does not include Summer Time offset Watch a shorter version of the product demo here! Upcoming Events Below are all upcoming virtual events hosted by Remo.co and customers of Remo.co. Find an event that interests you, come network, discuss, recruit and explore new partnerships. All times … Guided Tours R...

hollow birch
#

What's Up Guys?

hallow warren
polar anvil
#

so question is

#

when i created something like a phone number locator and it doest find the state but it should find the carrier

#

and no idea why does not do it

#

I wish I could talk

#

that what it prints

#

it should find some carrier

#

so lets say T-mobile

#

type random number

#

ye

#

ye

#

lets say that

#

it just says that is in ilinois

#

but does not say the carrier

#

so should i change something in the code

#

which part you think

#

it should

#

So recently i have also created a password generator do you know how to save those passwords in note pad when it generates

#

I want to talk!!!!!!!!!!!!

#

so this is the code

#

and it prints password

past elk
#

from phonenumbers import carrier

ro_number = phonenumbers.parse("+40721234567", "RO")
carrier.name_for_number(ro_number, "en")

polar anvil
#

and now how to import what it printed in a txt file

past elk
#
with open('filename','w') as f:
  f.write('CONTENT')```
polar anvil
#

so I have to create the txt file first

past elk
#

no

polar anvil
#

and then in the "filename" i just put the name of the file there

#

ight

polar anvil
#

I used to program in java

polar anvil
#

and now question is in python how do i ask the user to input int or boolean ....

#

ight

polar anvil
#

so programming Nerd I changed it and it still doesn't want to find the carrier

#

from the phone number

#

@past elk

#

sorry for the ping

wicked urchin
#

Yeah I'm barely learning the basics of Java rn

whole bear
fiery hearth
#

really congratulations @whole bear

whole bear
#

Thanks

wicked urchin
#

Wow dude

#

Good stuff

#

@whole bear

whole bear
#

anyone know how to make an discord bot that iplookups?

#

i sure dont lmao

daring orbit
#

Hello all

whole bear
#

hollsa

#

how are you

#

?

latent sandal
#

hello

cloud root
#
00000000
11111111
11011011
11111111
10111101
11000011
11111111
#

I made myself using 0s' and 1s'

whole bear
#
111
cloud root
#
111
#
print ("Hellow")
#
@ECHO OFF

title wassap
echo Hi
pause
exit
sick cloud
whole bear
#

Hey Jag

cloud root
whole bear
cloud root
#

Asia

#

Philipines

sick cloud
#

@cloud root i don't prefer to talk cuz my micro-phone is too trash

#

@cloud root which OS ?

#

windows ?

cloud root
#

8

sick cloud
#

yesss, 8.1 for me

#

@cloud root windows 8.1

#

how much ram do u have ?

whole bear
#

He has 2gb

odd dragon
#

How would i go about sorting a list of 3 veriables with if commands

sick cloud
#

my ears

odd dragon
#

Sry for the interuption

#

I can use if, elif, else

#

And and, not...

sick cloud
#

use .sort() instead

#

of 9 if statments

odd dragon
#

Im not allowed to

#

I would use list1.sort

sick cloud
#

@cloud root wut ?

cloud root
#

Do you guys prefer windwos batch files instead of python?

sick cloud
#

both :P

#

tbh, i prefer python

#

@cloud root code in powershell

odd dragon
#

So what would i do to sort with if commands?

somber heath
#

Value comparisons.

odd dragon
#

So if a<b<c

#

And thennsave 3 veriables?

sick cloud
#

@whole bear bye

odd dragon
#

And just continue my logic operation

sick cloud
#

@somber heath helo

somber heath
#

@odd dragon It's usually done between two values.

#

Jag.

odd dragon
#

The task is askuing me to input 3 valuse of a sequence

#

Not in order

#

And try find one missing

#

If the sequence is arithmetic

#

Do i cheat with the .list command 😂

sick cloud
#

!e

a, b, c, d = "1", "2", "3", "4"
n = [a, b, c, d]

for i in range(len(n)-1, 0, -1):
    for j in range(i):
        if n[j] < n[j + 1]:
            temp = n[j]
            n[j] = n[j + 1]
            n[j + 1] = temp

print(n)
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

[4, 3, 2, 1]
odd dragon
#

No for loops too

#

._.

sick cloud
#

-_-

odd dragon
#

Im limited to if els elif

fiery hearth
#
  File "c:/Users/dell/PythonProjects/pythonProject2/macrosituations.py", line 21, in <module>
    with open(basename(i), 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: ''
odd dragon
#

Give the code

odd dragon
#

Give code pls

#

a= int(input())
b= int(input())
c= int(input())
list1 = [a,b,c]
list2 =list1.sort()
print(list2)

#

Why not workinbg?

fiery hearth
#
data = ['https://www.nrb.org.np/lgd/%e0%a4%ad%e0%a5%81%e0%a4%95%e0%a5%8d%e0%a4%a4%e0%a4%be%e0%a4%a8%e0%a5%80-%e0%a4%a4%e0%a4%a5%e0%a4%be-%e0%a4%ab%e0%a4%b0%e0%a5%8d%e0%a4%b8%e0%a5%8d%e0%a4%af%e0%a5%8c%e0%a4%9f-%e0%a4%90%e0%a4%a8/', 'https://www.nrb.org.np/lgd/bank-and-financial-institution-act-2073-2017/', 'https://www.nrb.org.np/lgd/nepal-rastra-bank-act-2002-consolidated-version-in-english/', 'https://www.nrb.org.np/lgd/%e0%a4%ac%e0%a5%88%e0%a4%82%e0%a4%95%e0%a4%bf%e0%a4%82%e0%a4%97-%e0%a4%95%e0%a4%b8%e0%a5%81%e0%a4%b0-%e0%a4%a4%e0%a4%a5%e0%a4%be-%e0%a4%b8%e0%a4%9c%e0%a4%be%e0%a4%af-%e0%a4%90%e0%a4%a8-%e0%a5%a8/', 'https://www.nrb.org.np/lgd/%e0%a4%a8%e0%a5%87%e0%a4%aa%e0%a4%be%e0%a4%b2-%e0%a4%b0%e0%a4%be%e0%a4%b7%e0%a5%8d%e0%a4%9f%e0%a5%8d%e0%a4%b0-%e0%a4%ac%e0%a5%88%e0%a4%82%e0%a4%95-%e0%a4%90%e0%a4%a8-%e0%a5%a8%e0%a5%a6%e0%a5%ab-2/', 'https://www.nrb.org.np/lgd/%e0%a4%ac%e0%a5%88%e0%a4%82%e0%a4%95-%e0%a4%a4%e0%a4%a5%e0%a4%be-%e0%a4%b5%e0%a4%bf%e0%a4%a4%e0%a5%8d%e0%a4%a4%e0%a5%80%e0%a4%af-%e0%a4%b8%e0%a4%82%e0%a4%b8%e0%a5%8d%e0%a4%a5%e0%a4%be-%e0%a4%b8/', 'https://www.nrb.org.np/lgd/%e0%a4%a8%e0%a5%87%e0%a4%aa%e0%a4%be%e0%a4%b2-%e0%a4%b0%e0%a4%be%e0%a4%b7%e0%a5%8d%e0%a4%9f%e0%a5%8d%e0%a4%b0-%e0%a4%ac%e0%a5%88%e0%a4%82%e0%a4%95-%e0%a4%90%e0%a4%a8-%e0%a5%a8%e0%a5%a6%e0%a5%ab/', 'https://www.nrb.org.np/lgd/%e0%a4%b8%e0%a4%ae%e0%a5%8d%e0%a4%aa%e0%a4%a4%e0%a5%80-%e0%a4%b8%e0%a5%81%e0%a4%a6%e0%a5%8d%e0%a4%a6%e0%a4%bf%e0%a4%95%e0%a4%b0%e0%a4%a3-%e0%a4%a8%e0%a4%bf%e0%a4%b5%e0%a4%be%e0%a4%b0%e0%a4%a3/', 'https://www.nrb.org.np/lgd/nepal-rasta-bank-act-2002/', 'https://www.nrb.org.np/lgd/%e0%a4%a8%e0%a5%87%e0%a4%aa%e0%a4%be%e0%a4%b2-%e0%a4%b0%e0%a4%be%e0%a4%b7%e0%a5%8d%e0%a4%9f%e0%a5%8d%e0%a4%b0-%e0%a4%ac%e0%a5%88%e0%a4%82%e0%a4%95-%e0%a4%90%e0%a4%a8%e0%a5%a8%e0%a5%a6%e0%a5%ab/']
sick cloud
#

!e

a= 1
b= 1
c= 1
list1 = [a, b, c]
print(list1)
list1.sort()
print(list1)
odd dragon
#

Yea...

wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

001 | [1, 1, 1]
002 | None
odd dragon
#

Second command is issue

#

It seems

sick cloud
#

!e

a= 1
b= 1
c= 1
list1 = [a, b, c]
print(list1)
list1.sort()
print(list1)
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

001 | [1, 1, 1]
002 | [1, 1, 1]
sick cloud
#

fixed it

odd dragon
#

Nice

#

Thanks lemme see what uv done

fiery hearth
#
data = ['www.bvh.com', 'www.asd.com']
for i in data:
    with open(basename(i), 'wb') as f:
        f.write(requests.get(i).content)
sick cloud
odd dragon
#

How would i go about finding the missing num

#

Lets say we input 1, 9, 5

#

Sorts to 1,5,9

#

Space is 4

#

now what 😂 ?

rustic socket
#

like 3 is a space too?

#

2 too

sick cloud
#

????????

odd dragon
#

Wdum

#

1-5=4

#

9-5=4

#

But i can have it be 1,5,x,13

#

And then what

#

In the example its easy

rustic socket
#

so what you are saying is the gaps may not be the smae?

#

same*

odd dragon
#

The gaps are the same

#

But theres a missing num in the sequence

rustic socket
#

oh it's like that

#

wait let me think

odd dragon
#

Its allways 4

rustic socket
#

it's (5+13)/2

odd dragon
#

The numbers

#

Does it work with any num

rustic socket
#

ig

odd dragon
#

Not rlly

#

1+5 0 6/2=3

rustic socket
#

no

#

there should be a number missing

#

only then it works

odd dragon
#

Oh oke

#

Makes sence

#

How do i figure that out tho

rustic socket
#

considering the space is always 4

odd dragon
#

It isnt allways 4

#

Theres allways 4 numbers

rustic socket
#

oh okay

odd dragon
#

3 give

#

1misisng

rustic socket
#

oh okay chill

#

wait

#

i'm thinking

#

give me an example where it isn't 4

#

@odd dragon

odd dragon
#

1,4,10

rustic socket
#

ig it should work as long as a number is missing

odd dragon
#

The nums are inputed

#

What in a case numbers are in orderđ

rustic socket
odd dragon
#

3

#

Ur formula works

rustic socket
#

it should work again as i suspected

#

yeah

odd dragon
#

What if its in this case

#

1,4,7

rustic socket
#

first

#

you go thro the nums

#

wait

odd dragon
#

Wait a sec

rustic socket
#

in that case you just add then interval

#

wanna join help1 or 2?

#

@odd dragon

odd dragon
#

Sounds good

somber heath
#
for i, url in enumerate(data):
    with open(str(i).zfill(4) + '.htm', 'wb') as f:
        f.write(requests.get(url).content)```
rustic socket
#

one sec @odd dragon

fiery hearth
#

!e```python
for i in range (20):
a = str(i).zfill(1)
print a

#

!e```
for i in range (20):
a = str(i).zfill(1)
print a

wise cargoBOT
#
Did you mean ...

exit()
enumerate
except

fiery hearth
#

!commands

sick cloud
#

!e

for i in range (10):
    a = str(i).zfill(1)
    print(a)
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
sick cloud
#

@fiery hearth this uses 3.x and not 2.x

fiery hearth
#

!e

for i in range (15):
    a = str(i).zfill(1)
    print(a)
wise cargoBOT
#

@fiery hearth :white_check_mark: Your eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
011 | 10
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/yiqofedugi.txt

fiery hearth
#

!e

for i in range (10):
    a = str(i).zfill(2)
    print(a)
wise cargoBOT
#

@fiery hearth :white_check_mark: Your eval job has completed with return code 0.

001 | 00
002 | 01
003 | 02
004 | 03
005 | 04
006 | 05
007 | 06
008 | 07
009 | 08
010 | 09
somber heath
#

len(str(len(data)))

acoustic ingot
#

Hi

serene fog
#

helo

#

!e

print("hello world")
wise cargoBOT
#

@serene fog :white_check_mark: Your eval job has completed with return code 0.

hello world
sick cloud
#

@somber heath helo

#

@whole bear my microphone is too bad

whole bear
#

oh

obtuse gale
#

voice verification

sick cloud
#

@whole bear umm, studying maths

#

rn

#

high school maths question paper

#

on probability

#

and areas

#

of sector

obtuse gale
#

sets

sick cloud
#

its simple

#

complement of set A intersecting set B

obtuse gale
#

no trigonometry ?

sick cloud
#

just finishied grade 9

obtuse gale
#

ohh

#

what are you studying in C.S?

sick cloud
#

just a sec

obtuse gale
#

yep

sick cloud
obtuse gale
#

GL with the assignments

odd dragon
#

Anyone know a motherboard compatible with the 3xxx ryzens without needing bios updates

sick cloud
odd dragon
#

Just the chipset*

sick cloud
#

this is all what the teacher taught us this year

obtuse gale
#

ohh...

sick cloud
#

but ofc, ik more

#

!e

import random
n = []

for i in range(9):
   n.append(random.randint(i, i+10))

for i in range(len(n)-1, 0, -1):
    for j in range(i):
        if n[j] > n[j + 1]:
            temp = n[j]
            n[j] = n[j + 1]
            n[j + 1] = temp

print(n)
wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

[1, 4, 5, 6, 6, 8, 12, 13, 16]
obtuse gale
#

.topic

viscid lagoonBOT
#
**What is your favourite place that you have visited?**

Suggest more topics here!

obtuse gale
#

my house

sick cloud
#

.topic

viscid lagoonBOT
#
**If you could take only three things from your house, what would they be?**

Suggest more topics here!

sick cloud
#

my laptop

#

a pen

#

some cash

obtuse gale
#

my laptop

#

laptop charger

#

laptop battery bank

sick cloud
#

!topic

#

.topic

viscid lagoonBOT
#
**What is the best gift you've been given?**

Suggest more topics here!

sick cloud
#

a remote controlled helicopter

obtuse gale
#

never received a gift

sick cloud
#

.topic

viscid lagoonBOT
#
**What would you do if you know you could succeed at anything you chose to do?**

Suggest more topics here!

obtuse gale
#

become rich and do everthing

#

and then i can build a house in woods

#

and also ask someone out

sick cloud
#

alr, i'm gonna have lunch, see u later

obtuse gale
#

.topic

viscid lagoonBOT
#
**What is your earliest memory of Easter?**

Suggest more topics here!

obtuse gale
#

sleep all day i guess

#

.topic

viscid lagoonBOT
#
**What is better: Milk, Dark or White chocolate?**

Suggest more topics here!

obtuse gale
#

huh?

sick cloud
#

Milk and Dark chocolate

#

for me

obtuse gale
#

bye

sick cloud
#

bye

sick cloud
#

@whole bear helo

#

i'm not eating anything

#

@whole bear i sound weird so i don't talk

#

btw, i like ur tag number

#

tag*

#

cuz 2027 i pretty close

#

lol

#

rn i'm making a bot so it would pick a random meme from redit

#

right now

#

are u from europe ?

#

idk why, but u sound like my Georgian friend

hearty nimbus
#

sup

sick cloud
#

@whole bear that's what i said

#

georgian

hearty nimbus
#

i got class in 2 minutes 😦

sick cloud
#

georgia the country

#

ik

#

ummm, some confusing piece of code

#

!e print(3 < 5 < 7 < (()==()))

hearty nimbus
#

they change the schedule at my school like every week bruh

wise cargoBOT
#

@sick cloud :white_check_mark: Your eval job has completed with return code 0.

False
hearty nimbus
#

so i keep going to the wrong classes

sick cloud
#

brb

#

in 7 mins

hearty nimbus
#

ight

#

huh?

#

oh

#

its just short for alright

#

instead of alright its just ight

#

im in class rn

#

algebruh

silver spindle
#

F

somber heath
#

Curious, then, that you should be on Discord.

#

You must have an extraordinary capacity to concentrate, given your focus is split between the two things, one being algebra.

sick cloud
hearty nimbus
#

nah were just going over a test rn that we took yesterday

#

and i already know most of the stuff so im not really paying attention

sick cloud
hearty nimbus
#

i got a 85

sick cloud
wise glade
#

hey jag

sick cloud
#

@wise glade hello

wise glade
#

today I'm learning about git

sick cloud
#

nothing much

wise glade
#

hmm, thanks

sick cloud
#

i'm almost done with my goals for today

wise glade
#

so I just ran git clone https://github.com/libgit2/libgit2, where did it got cloned?

sick cloud
#

in the directory the thing was open

wise glade
#

yeah, can't see it

#

is it hidden?

#

is it inside .git?

sick cloud
#

nooo

wise glade
#

let me check

sick cloud
#

do

#

git clone https://github.com/libgit2/libgit2.git

#

@wise glade

wise glade
#

ok

sick cloud
#

tell me whether it works or not

wise glade
#

oh, its nowhere, it wasn't properly downloaded

#

I was doing whereis libgit2 to find it

somber heath
#

py -m pip --version

sick cloud
#

@normal hinge which version are you using ?

normal hinge
#

3.9

wise glade
#

why his pip version 3.9? mine's pip 20.2.4

somber heath
#

I suspect there was a misunderstanding.

sick cloud
wise glade
#

hm, should be

rugged root
#

py -m pip install discord.py

#

py -3.8 -m pip install mah_package

whole bear
#

me too same error getting.

icy mountain
#

@normal hinge You have to install visual studio... and then c++ tools to solve the problem

#

That did the job for me 👍

#

I have deafened server so I can't hear you.... You can type for any q 😀

icy mountain
#

Yes this is the thing ☝️

#

c++ build tools... click

#

dont remove options

whole bear
#

i am also facing same error.

icy mountain
#

Install visual studio

#

and then c++ build tools

rugged root
#

py -0

icy mountain