#voice-chat-text-0

1 messages Β· Page 1005 of 1

pallid socket
#

line 9

#

self.name_1, self.name_2 = None

lavish rover
#

a, b = None, None

#
a = None
b = None
pallid socket
#

idk, the way I wrote it looked more readable to me πŸ™‚

#

ok, but I'll do it the way you told me. thanks

lavish rover
#

perhaps, but

self.name_1, self.name_2 = None

doesn't work

#

and

self.name_1, self.name_2 = None, None

looks weird to me

pallid socket
#

what happened fletcher?

#

you okay?

#

omg

#

IT'S ALIVE!!

#

thank you for your time, Mustafa

#

I was so frustrated about this

#

yeah, in C++ it was easier to understand

lavish rover
#

mypy

lavish rover
#

Yakitate Japan

wind raptor
#

I was a big fan of SAO

pallid socket
#

185819391

wind raptor
#

G2g for a bit. Cheers

#

πŸ‘‹

pallid socket
#

bye, have a nice day/night

pallid socket
torn pelican
#

how is everyone doing?

woeful salmon
#

!voice @simple blade

wise cargoBOT
#

Voice verification

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

woeful salmon
#

India

#

@lavish rover πŸ‘‹

#

welcome btw πŸ™‚

lavish rover
#

hello! thanks

woeful salmon
#

just use vim duh πŸ€·β€β™‚οΈ

lavish rover
#

!d random.choice

wise cargoBOT
#

random.choice(seq)```
Return a random element from the non-empty sequence *seq*. If *seq* is empty, raises [`IndexError`](https://docs.python.org/3/library/exceptions.html#IndexError "IndexError").
lavish rover
#

!d random.sample

woeful salmon
#

@zenith radish πŸ‘‹

zenith radish
#

Namaste nerds πŸ‘‹

lavish rover
#

!e

x = [1,2,3,4,5,6,6,7,8]
while True:
  random.shuffle(x)
  for e in x:
    ask(e)
cosmic dove
#
copy = ques
@bot.command()
async def que(ctx):
  global copy
  if copy == []:
    copy = ques 
  e = random.choice(copy)
  copy.remove(e)
  embed = discord.Embed(
    title = 'Question',
    description = (e),
    color = discord.Color(0x20932b)
  )
  
  await ctx.reply(embed=embed)β€Š
#

I import a file named questions which I created

#

In question it has ques which contains all the choices

lavish rover
#

you can maybe create a generator

cosmic dove
#
ques = ['Is 1 plus 2 = 3','Is yellow close to black? lol','testing...','Testing 2 haha','Would you rather die by ice or fire?','Imagine being so bold']
cosmic dove
zenith radish
cosmic dove
#

Whats that's?

zenith radish
lavish rover
#
def get_question():
  while True:
    random.shuffle(ques)
    for e in ques:
      yield e
cosmic dove
#
 def get_question():
   while True:
     random.shuffle(ques)
     for e in ques:
       yield e
#
copy = ques
@bot.command()
async def que(ctx
 def get_question():
   while True:
     random.shuffle(ques)
     for e in ques:
       yield e

  global copy
  if copy == []:
    copy = ques 
  e = random.choice(copy)
  copy.remove(e)
  embed = discord.Embed(
    title = 'Question',
    description = (e),
    color = discord.Color(0x20932b)
  )
  
  await ctx.reply(embed=embed)β€Š
#

@lavish rover

lavish rover
#

Sorry I'm a bit busy, can't help you with all the details. If you're not familiar with this you can take one of the other approaches I suggested

cosmic dove
#

Ok, i go to bed though so maybe some other time

somber heath
#

Must a FAQ. A fat sum.

#

Error propagation...seems like something you'd want to limit.

trail mural
#

o.O

woeful salmon
teal flower
#

Does anyone know what tafe is

craggy terrace
#

yo

#

can anyone help me with a while loop that i cant seem to close if i stream it

woeful salmon
zinc viper
#

why is this orange? pls help

violet patrol
#

Are they hostile Opal?

somber heath
#

Kangaroos, not really. They'll generally hop off at the first sign of trouble. Generally people averse.

rugged root
#

Same

somber heath
#

The males might get adversarial if they're...full of vim and vigour.

#

They will fuck you up if they kick you.

#

But the averse to people rule still generally applies.

rugged root
#

Internal bleeding

#

Boom, exploded kidney

terse needle
#

Full of emacs and vigour

zenith radish
#

^ me

somber heath
#

Cockatoos...they're generally not going to just up and attack. They're more liable to fly off in the face of people. Where they aren't, they're more the sort to try to sneakily sidle up and give something an experimental nip.

#

You can see them, and other parrots, doing similar things with cats on Youtube.

#

"Ooh, a tail. Twitching. Imma just going to swagger over here and - ohai, cat. I'm just hanging out. Hm...looking away? What if...I just...open up and...ha! Gotcha!"

leaden comet
#

Jim's

rugged root
#

The Great Molasses Flood, also known as the Boston Molasses Disaster, was a disaster that occurred on January 15, 1919, in the North End neighborhood of Boston, Massachusetts.
A large storage tank filled with 2.3 million US gal (8,700 m3) of molasses, weighing approximately 13,000 short tons (12,000 t), burst, and the resultant wave of molasses ...

#

@zenith radish Mustafa, not Mufasa

zenith radish
rugged root
#

Everything the light touches....

gentle flint
#

"Sweet Porridge" (German: Der süße Brei), often known in English under the title of "The Magic Porridge Pot", is a folkloric German fairy tale recorded by the Brothers Grimm, as tale number 103 in Grimm's Fairy Tales, in the 19th century. It is Aarne–Thompson–Uther type 565, the magic mill. Other tales of this type include Why the Sea Is Salt a...

somber heath
#

Strega Nona is a children's book written and illustrated by Tomie dePaola. If considered as a folktale, the story is Aarne-Thompson type 565, the Magic Mill. It concerns Strega Nona ("Grandma Witch" in Italian, though it is actually spelled as nonna) and her helper, Big Anthony. Big Anthony causes the title character's magic pasta pot to create ...

gentle flint
quasi condor
pallid hazel
#

if we could have real dino nuggets.. chances are there would be more human nuggets.. or so my jurrisac park knowledge says

somber heath
#

Squick.

gentle flint
#

Dickey will also star in a public service announcement with the U.S. Forest Service, which will hopefully involve Smokey Bear looking straight at the camera and saying β€œgender is a social construct.”

#

because of a gas explosion

flat heart
#

Yeah there's a lot of tribes

gentle flint
#

gtg

flat heart
molten pewter
gleaming folio
#

Stream ?

flat heart
#

Do you guys believe that Native indians are the rightful owners of america? What does owner mean anyway?

pallid hazel
#

illuminati

molten pewter
plain rose
#

yello

#

i misplaced my mouse

#

now im panicking

#

I write 2 lines, usually contains multiples classes and functions, just with lots of lambdas.

#

efficiency is everything

pallid hazel
#

theres only 1 country
**merica

#

j/k

plain rose
#

πŸ€•

rugged root
#

What..... what's the second asterisk?

quasi condor
#

@azure eagle chat here, not in DMs

azure eagle
#

o kay

#

ive got a problem

#

my word doc moves after i delete something

plain rose
#

this is technically an nft because the time i took a picture of it, Will be the only time it will ever look like this

plain rose
azure eagle
#

can I prevent this from happening?

#

or like copy and paste on something else, delete there?

#

is it even possible?

azure eagle
#

thank you a lot man!

#

have a nice conversation guys

pale sigil
gentle flint
#

There are currently no mainstream general-purpose processors built to operate on 256-bit integers or addresses, though a number of processors do operate on 256-bit data.

zenith radish
lavish rover
rugged root
#

!charinfo

wise cargoBOT
#
Missing required argument

characters

#
Command Help

!charinfo <characters>
Shows you information on up to 50 unicode characters.

gentle flint
rugged root
#

Sorry, I keep forgetting to deafen to indicate when I'm here and not

flint lagoon
#

can i add you hem..

rugged root
#

What's up?

#

I tend to only add people after I get to know them better

flint lagoon
#

oh sure

#

not a problem

rugged root
#

More than happy to chat and what not. Ideally here so that I don't have to keep swapping between DMs and here

flint lagoon
#

oh sure.. just I find you interesting.. and can't talk because I just jioned this server today

#

its okay.. we gonna talk

#

somewhere

rugged root
#

I mean like

#

Right here

flint lagoon
#

oh sure

rugged root
#

So what brought you to the server?

flint lagoon
#

i just wanna talk with developers

#

share things

#

i search and found this server on dev.to

rugged root
#

That's fair. Well to lay it on the table, I'm not a developer by trade. I code as a hobby

flint lagoon
#

and I havent done single line of python πŸ˜„

rugged root
#

I can toss some resources some way if you're interested to get started

random mauve
#

hi

molten pewter
random mauve
#

can u tell me how to make a turtle duplicte in python

flint lagoon
#

I am not interested RN

#

TBH

rugged root
#

That's fair

flint lagoon
#

your accent sound from south east part.. are you from India?

rugged root
#

Nah, middle of the US

flint lagoon
#

oh sorry

#

not you ... I thought you were speaking its mustafa I guess MB

rugged root
#

All good

#

@lavish rover you have a fan

gentle flint
flint lagoon
rugged root
#

Fair

#

Well we're always happy to have more folks

quasi condor
#

@amber raptor I got a new IP

#

first line support told me to fuck off

#

second line support did it straight away

amber raptor
rugged root
#

I'm over here eating victory jerky

quasi condor
#

conversation was:

Can I have a new IP
No
why?
because
Can I speak to your manager?
yes
Can I have a new IP
yes

amber raptor
#

I’m bicep coding

amber raptor
sweet lodge
#

@rugged root - Guess what?
I got my first new hire that didn't throw a tantrum about us requiring MFA

#

Now if I can only get the rest of the comapany on it

#

I'm about to just enable Security Defaults and go "I don't know what happend, must be something Microsoft did"

#

I see a difference in color here

rugged root
sweet lodge
#

What's the name?

icy axle
sweet lodge
#

Windows Defender would like to have a word with you

rugged root
lavish moss
#

hello everybody

flint lagoon
#

lemon can we try someday ... mock interview or something

leaden comet
#

sure @flint lagoon, maybe we could do that :)

lavish moss
#

hola lemon

flint lagoon
#

oh thank you

#

rn can't talk but yes.. .I wanna know how you evaluate

lavish moss
#

&bee

potent carbonBOT
#
Command not found

Command "bee" is not found

flint lagoon
#

hello thug

lavish moss
#

how are you doing

flint lagoon
#

all good wbu?

lavish moss
#

same old

flint lagoon
plain rose
#

finally found out how to change my pfp

lavish moss
#

It's 12 o'clock at night,

#

i

#

am

#

soso

plain rose
flint lagoon
#

you need to s;eep

#

sleep*

lavish moss
#

no

#

I just slept 5 hours

#

so i'm not sleepy

#

thank you

#

Care about me

flint lagoon
#

it was intersting hemlock

lavish moss
#

hhh

flint lagoon
#

i need to sleep now... goodnight..
gonna talk you guys tomorrow
Thank you for wonderful talk
hemlocl lemon

#

bie

quasi condor
#

@onyx onyx type here, not in DMs

onyx onyx
#

how can i get voice verification

quasi condor
#

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

onyx onyx
#

thx

peak copper
zenith radish
#
pub fn load<T: TryFrom<u32>>(buf: &Vec<u8>, offset: u32) -> T {
    let offset = offset as usize;

    let mut result = 0x0;
    for byte_offset in 0..std::mem::size_of::<T>() {
        result = result | (buf[offset + byte_offset] as u32) << (byte_offset * 8);
    }
    to_t(result)
}
#
int foo(s, f, b)
  char* s;
  float f;
  struct Baz * b;
{
  return 5;
}
terse needle
#

@zenith radish

zenith radish
#

D:

pallid hazel
#

so lame, I got the copilot invite.. but it's not for vscodium, and doesnt work on WSL ... so foobar

rugged root
#

Wait

#

Then.... how would you use it?

leaden comet
#

what do you mean @pallid hazel, you don't need vscodium for WSL

#

just use plain old vscode

icy axle
#

It requires no external packages. Just run it using python main.py (Python 3.10+)

zenith radish
rugged root
#

Oh mah gawd it's @hollow haven

hollow haven
rugged root
#

How you been?

hollow haven
#

Good! Working from home today because my knee is crunchy~

lavish rover
#

crunchy?! that sounds worrying

rugged root
#

And delicious

lavish rover
#

πŸ‘€

hollow haven
#

Yeaaaaah, my knee likes to pick random days to go "ha fuck youuuuuu" and it hurts to stand on or bend and is crunchy if you bend it!

rugged root
#

Do you have a brace?

hollow haven
#

Mhmmmm, it helps a lot

sweet lodge
#

2600 UTC?

rugged root
#

@hollow haven Are your parents home, little girl?

sweet lodge
hollow haven
#

"I own this house"
... ".... Oh"

rugged root
#

@opal mulch What's up?

opal mulch
#

nm

#

sleepy

#

been coding for a whole day

pallid hazel
rugged tundra
#

nvidia ceo likes his leather jackets

pallid hazel
#

this is what my vscode on windows says,
Value is not accepted. Valid values: "PowerShell", "Windows PowerShell", "Command Prompt", "JavaScript Debug Terminal".

#

and looks like it doesnt like this,
"terminal.integrated.defaultProfile.windows": "Ubuntu-20.04 (WSL)"

leaden comet
#

you basically install a plugin inside VSCode and it just magically works with WSL

#

it's very easy to do

pallid hazel
#

😦 .. easiest way i guess reinstall vscode and look for that pop up

leaden comet
#

should solve your autopilot problem, I think

#

I mean, I hope.

#

I haven't tried autopilot with VSCode on WSL, but I have used VSCode on WSL and it works very well

rugged root
cerulean ridge
#

with infinite money, can I make my parents proud?

sour imp
#

youd make me proud(leave my bribe for saying that in the trash can down the street :P)

cerulean ridge
#

people are fucking misslies these days?
wow kinky

rugged root
#

You have to make sure you get all the Chaos Emeralds for Super Sonic

#

Hooray for 38k a year...

#

WHeeeeeeee

zenith radish
#

Do the code code

#

We'll teach you

#

Refer you

#

Foster your growth

rugged root
#

Oh, @final pollen. Check out the #voice-verification channel. That'll tell you what you need to know about our voice gate

#

That said, you're more than welcome to hang out and chat in here. If we're in VC, we're typically watching this paired text channel so no one gets left out

zenith radish
hollow haven
#

For my own sanity I can't believe in the existence of americaboos

terse needle
#

self.dump_registers();, I swear this wont cause your code to seg fault

#

trust me

zenith radish
rugged root
#

Eagleboo

#

HOW DID I NOT KNOW

zenith radish
molten pewter
rugged root
sweet lodge
#

@rugged root stop bashing my Texas

rugged root
#

Considering the current anti-trans bullshit...

#

I think I'm okay with bashing them

sweet lodge
#

I haven't been outside in a while

#

What're we doing now?

rugged root
#

Pretty sure it's Texas....

#

I'll have to look up articles when I have the chance

sweet lodge
#

Literally unreadable

#

Trying to force kids to be not-trans is child abuse?

#

Wouldn't that be pro trans?

terse needle
#

@olive hedge eyebrows on ella when

olive hedge
#

Lol, she is pretty as is. Even without killer brows

rugged root
terse needle
#

that dog just looks really stoned

rugged root
#

Oh wait I have a better one

whole bear
#

So I made a PyAutoGUI script which click on buttons, see adds and earn rewards but the problem is I cant keep my laptop open all day
Is there any way I can run the script 24/7 without keeping my screen open 24/7
Please dont just recommend me something. I need tutorial

zenith radish
#

xddd

rugged root
#

On what platform? Most things that have rewards or prizes or what not don't want you automating it

#

@whole bear What site are you trying to get rewards from?

whole bear
#

@whole beari am 17 and have 2 kids

rugged root
#

Telegram has "watch ads get rewards" things?

whole bear
whole bear
#

its a 1-1 service

terse needle
#

still sounds really against the terms of service

rugged root
#

Which bot?

#

Wondering if they specifically have something about it

sturdy panther
#

It took me a week to figure out what my job was!

pallid hazel
#

amazon is named after a place on earth where everything can kill you

sturdy panther
#

And constantly on fire..

rugged root
#

California is as well

whole bear
pallid hazel
#

California is just forest renewal.. they just built tinder boxes to help

rugged root
#

One bad link could lead to a ransomware attack

whole bear
whole bear
#

@rugged rootas i said i dont want my computer clicking links
i want cloud service vm to do it for me

#

i have working script

unborn storm
#

but that is a strange thing to do

whole bear
#

i just want to deploy the script somewhere

whole bear
unborn storm
#

there are some ?

whole bear
unborn storm
#

the thing is that ideally you should interact with the API

#

but since your thing is quite a hack...

#

anyway, don't know if any cloud computing will let you install telegram on their machines

sweet lodge
#

BRB, have to go be a helpful IT person

gentle flint
sweet lodge
#

On my own volition, no less

sweet lodge
unborn storm
# whole bear 😭

well, i have a simple solution : if you want your script to run h24 while using no screen, you may reduce the luminosity of your screen !

whole bear
#

but i feel bad

#

running laptop

#

24/7

unborn storm
whole bear
#

cant sleep while my kid burning

unborn storm
#

well, buy a raspberry

#

would be perfect for what you need, even more since in takes up much less power

whole bear
pallid hazel
#

was risky, but I got co-pilot working in my VM .. removed all traces of codium and replaced with vscode.. so far so good.

unborn storm
night veldt
#

hi everyone

#

someone has already used pyautogui and can help me very fast ?

#

pls dm

sweet lodge
night veldt
#

ok

#

it can be here

#

no problem

sweet lodge
gentle flint
sturdy panther
#

I see... a phone... with actual buttons!

hoary dirge
#

vc peeps, if anyone encountered not having the icons appear in pycharm before and has found a solution, please let me know, idk whats wrong

molten pewter
#

John Milton Cage Jr. (September 5, 1912 – August 12, 1992) was an American composer and music theorist. A pioneer of indeterminacy in music, electroacoustic music, and non-standard use of musical instruments, Cage was one of the leading figures of the post-war avant-garde. Critics have lauded him as one of the most influential composers of the 2...

rugged root
#

@storm sorrel Check out the #voice-verification channel. That'll tell you what you need to know about the voice gate

storm sorrel
#

are you making stuff to 3d print?@gentle flint

#

@gentle flintfor what you did i would have just done the modify subtract operation on an extruded shape

#

@gentle flintyour blender skills are making me cringe no offense

#

alt click the inside of that to select all of ring

quasi condor
#

always makes you come across as a prick

lucid epoch
#

Why Δ± should send more than 50 messages for just voice permission

quasi condor
#

no one said you should or shouldn't

#

if you want to participate in voice chat - then you don't have much choice

lucid epoch
#

is this rule can't be just skipped

quasi condor
#

nope

#

it's very not-difficult to get to the required 50 messages though

storm sorrel
#

other servers dont have this rule

#

they still operate smoothly

quasi condor
#

yes but the key thing is

#

that other servers

#

aren't this server

storm sorrel
#

they enable something known as account verification level and require verified phone number on discord account

#

im saying, this server is operating on lesser brain cells when it comes to user authentication

#

just a statement

quasi condor
#

an incorrect one

storm sorrel
#

not that incorrect

lucid epoch
storm sorrel
#

i mean, he has an opinion, a wrong one, but an opinion nonetheless

storm sorrel
#

all im saying is if it can be done by other less taxing methods, then it should be done.

rugged root
#

The reason for the system is because of hit and run trolls. They would join the server, join voice chat, scream, and then leave. This was happening 4 to 6 times a day. We have only had that issue a few times since we added the system a year and a half ago

gentle flint
#

bottom part fits over the laptop screen

#

top part holds the phone

rugged root
#

If you plan on being in the server (and participating) for any given amount of time, then the message count and time in server are small drops in the bucket

gentle flint
#

next I'll be printing it much wider to hold the phone over its full length

lucid epoch
rugged root
#

I've met plenty of engineers who are trolls. I try not to make exceptions

#

Sorry for the inconvenience

lucid epoch
#

haha okay

rugged root
#

I know it's annoying, but it's for a good reason

lucid epoch
#

ok Δ± respect that

rugged root
#

Thank you

#

@storm sorrel I do hope you see the reason why we do it this way. If you have a better process, I'm more than happy to hear suggestions. We found that this has been the easiest to maintain and most successful method thus far

#

And it should be noted, even if you're not voice verified, we still watch the paired text channels

#

So that no one gets left out of the conversation

terse needle
#

cheers

sturdy panther
#

Become a caster for card games!

#

I think I had learnt assembly going through MASM32 tutorials.

quasi condor
supple dagger
#

humans dream to fly and i just dream to speak

gentle flint
#

you can speak

#

we just won't hear

storm sorrel
#

@rugged rooti just mean i hate typing and 95% of servers i have joined i have under 5 messages posted

gleaming folio
#

Y’all talking about some stuff?πŸ’€

#

Someone watch them πŸ₯²

molten pewter
#
#

Seung Lab, Princeton University 2019

gentle flint
terse needle
zenith radish
whole bear
#

Binance API

sweet lodge
#

implements

noble copper
#

@fading grove unless you use one of these: https://micropython.org/

fading grove
compact vault
#
- n: a positive integer,
- init: the initial number of the sequence,
- prod_year: the first year that cats start to produce (in Part A, this would have been 4), and
- num_cats: the number of cats that each cat produces every year after (and including) prod_year. The function custom_cat_count() should return the nth number in the custom cat sequence where there are init cats in the first year and cats start producing num_cats every year starting with prod_year.```
#
    if n == 1:
        return 1
    elif n == 2:
        return 1
    elif n == 3:
        return 1
    else:
        return cat_count(n - 1) + cat_count(n - 3)```
#
number of cats at year n (the nth number in the sequence). In general, 𝐢𝑛 = πΆπ‘›βˆ’1 + πΆπ‘›βˆ’3 for 𝑛 > 3; by definition 𝐢1 = 1, 𝐢2 = 1, and 𝐢3 = 1. Write a recursive function named cat_count() that takes in a positive integer n and returns the nth number.```
somber heath
#

!e py def func(): func() func()

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 |   File "<string>", line 2, in func
004 |   File "<string>", line 2, in func
005 |   File "<string>", line 2, in func
006 |   [Previous line repeated 996 more times]
007 | RecursionError: maximum recursion depth exceeded
compact vault
#

!e

    if n == 1:
        return 1
    elif n == 2:
        return 1
    elif n == 3:
        return 1
    else:
        return cat_count(n - 1) + cat_count(n - 3)
for n in range(1,26):
        print(cat_count(n), end=" ")```
wise cargoBOT
#

@compact vault :white_check_mark: Your eval job has completed with return code 0.

1 1 1 2 3 4 6 9 13 19 28 41 60 88 129 189 277 406 595 872 1278 1873 2745 4023 5896 
somber heath
#

!e py things = 5, 7, 8 def func(v): print(v[0]) func(v[1:]) func(things)Exceptional!

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | 5
002 | 7
003 | 8
004 | Traceback (most recent call last):
005 |   File "<string>", line 5, in <module>
006 |   File "<string>", line 4, in func
007 |   File "<string>", line 4, in func
008 |   File "<string>", line 4, in func
009 |   File "<string>", line 3, in func
010 | IndexError: tuple index out of range
lavish rover
#

!e

from functools import cache

@cache
def cat_count(n):
    if n == 1:
        return 1
    elif n == 2:
        return 1
    elif n == 3:
        return 1
    else:
        return cat_count(n - 1) + cat_count(n - 3)

print(cat_count(100))
wise cargoBOT
#

@lavish rover :white_check_mark: Your eval job has completed with return code 0.

16637075746565861
somber heath
#

The cats just start creating their own gravity well and form a singularity.

#

Because that's a lot of cats.

normal goblet
#

cat island

lavish rover
#

meow

flint lagoon
#

good morning

mortal crystal
#

Π‘ΠΊΠ°Ρ‡Π°Ρ‚ΡŒ ΠΈ ΡΠ»ΡƒΡˆΠ°Ρ‚ΡŒ На Π—Π°Ρ€Π΅ 2020: https://sonymusicrussia.lnk.to/NaZare2020

ΠŸΠžΠ”Π”Π•Π Π–Π˜Π’Π• ΠΠžΠ’Π«Π™ ΠŸΠ ΠžΠ•ΠšΠ’ - https://planeta.ru/campaigns/nazare
FOR INTERNATIONAL SUPPORTERS - PayPal: https://www.paypal.me/irapara
Single premiere https://sonymusicrussia.lnk.to/NaZare2020

Soviet synth-pop band Alliance formed in 1981 in Moscow, USSR. The song's name...

β–Ά Play video
wind raptor
#

!e

print('124'.zfill(10))
wise cargoBOT
#

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

0000000124
wind raptor
#

!e

def zfill(s, n):
    return '0' * (n - len(s)) + s

print(zfill('124', 10))
wise cargoBOT
#

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

0000000124
normal goblet
#

there are oneliners in there though

wind raptor
#

Nice

normal goblet
#

i'm trying to keep doing a little or little studying of it everyday between life

sinful gazelle
#

does anyone here use a tiling window manager

wind raptor
normal goblet
# wind raptor Nice
import math
def convert_time(n):
    hrs = math.floor(n / 3600)
    mins = math.floor((n - hrs * 3600) / 60)
    secs = (n - (hrs * 3600 + mins * 60))
    return ":".join([str(i).zfill(2) for i in [hrs, mins, secs] ])
wind raptor
#
<div id="r"></div>
<div id="o"></div>
<div id="m"></div>
<div id="i"></div>
<style>
  body {
    background: #6592CF;
  }
  #r {
    width: 75%;
    height: 50%;
    position: fixed;
    top: 75;
    left: 50;
    background: #243D83;
  }
  #o {
    width: 250;
    height: 250;
    position: fixed;
    top: 25;
    left: 75;
    border-radius: 50%;
    background: #6592CF;
  }
  #m {
    width: 150;
    height: 150;
    position: fixed;
    top: 75;
    left: 125;
    border-radius: 50%;
    background: #243D83;
  }
  #i {
    width: 50;
    height: 50;
    position: fixed;
    top: 125;
    left: 175;
    border-radius: 50%;
    background: #EEB850;
  }
</style>
somber heath
#

!e py v = 10 a = v // 3 b = v % 3 c = divmod(v, 3) print(a) print(b) print(c)

wise cargoBOT
#

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

001 | 3
002 | 1
003 | (3, 1)
somber heath
#

!e py a = 12345 while a: a, b = divmod(a, 10) print(b)

wise cargoBOT
#

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

001 | 5
002 | 4
003 | 3
004 | 2
005 | 1
normal goblet
#

nice

somber heath
#

!e py a = 12345 while a: a, b = divmod(a, 10) print(f"{a = }, {b = }")

wise cargoBOT
#

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

001 | a = 1234, b = 5
002 | a = 123, b = 4
003 | a = 12, b = 3
004 | a = 1, b = 2
005 | a = 0, b = 1
somber heath
#

!e py v = 56 print(str(v).zfill(5))

wise cargoBOT
#

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

00056
lavish rover
#

!e

print(f'{56:05d}')
wise cargoBOT
#

@lavish rover :white_check_mark: Your eval job has completed with return code 0.

00056
somber heath
#

!d format

wise cargoBOT
#

format(value[, format_spec])```
Convert a *value* to a β€œformatted” representation, as controlled by *format\_spec*. The interpretation of *format\_spec* will depend on the type of the *value* argument; however, there is a standard formatting syntax that is used by most built-in types: [Format Specification Mini-Language](https://docs.python.org/3/library/string.html#formatspec).

The default *format\_spec* is an empty string which usually gives the same effect as calling [`str(value)`](https://docs.python.org/3/library/stdtypes.html#str "str").

A call to `format(value, format_spec)` is translated to `type(value).__format__(value, format_spec)` which bypasses the instance dictionary when searching for the value’s `__format__()` method. A [`TypeError`](https://docs.python.org/3/library/exceptions.html#TypeError "TypeError") exception is raised if the method search reaches [`object`](https://docs.python.org/3/library/functions.html#object "object") and the *format\_spec* is non-empty, or if either the *format\_spec* or the return value are not strings.
wind raptor
#
<div class="a b"></div>
<div class="c b s"></div>
<div class="d b s"></div>
<div class="e b s"></div>
<div class="f b s"></div>
<div class="g b s"></div>
<div class="h s"></div>
<div class="i s"></div>
<div class="j s"></div>
<style>
  body {
    background: #6592CF
  }
  div {
    background: #6592CF;
    position: fixed;
    top: 30
  }
  .b {
    background: #060F55;
    top: 50
  }
  .s {
    border-radius: 10px;
    height: 130;
    width: 20;
  }
  .a {
    height: 140;
    width: 140;
    top: 110;
    left: 130;
    border-radius: 50%
  }
  .c {
    left: 130
  }
  .d {
    left: 170
  }
  .e {
    left: 210
  }
  .f {
    left: 250
  }
  .g {
    left: 190;
    top: 200
  }
  .h {
    left: 150;
  }
  .i {
    left: 190;
  }
  .j {
    left: 230;
  }
</style>
waxen hawk
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
#

Or

#

!paste

wise cargoBOT
#

Pasting large amounts of code

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

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

somber heath
#
print("Hello world!")```
#

```
Instruction A
Instruction B
Instruction C```

#

```py
print("Code goes here")```

normal goblet
#
def convert_time(n):
    
    return (f'{(divmod(n,3600))[0]:02d}:{(divmod((divmod(n,3600))[1],60))[0]:02d}:{(divmod((divmod(n,3600))[1],60))[1]:02d}')
somber heath
#
(60 points): Password Validator
Write a script that opens a file containing a list of passwords and checks to see if the passwords are strong.
 1. Save a list of five passwords in a text file.
 2. Write a Python script that opens the text file and reads the passwords.
 3. For each password, use regular expressions to check the password strength (I recommend creating a module to do this). For a password to be considered strong, it must satisfy the following requirements:
  + minimum length 8 characters
  + must contain one or more alphabetical characters [a-z]
  + must contain one or more Uppercase characters [A-Z]
  + must contain one or more numeric characters [0-9]
  + must contain one or more special characters [_$!]```
#
import os

cwd = os.getcwd()

def passwordcheck(passwordlist):
 
    passwd = open("passwordlist.txt", "r+")

    SpecialSym =['$', '', '!']
    val = True
 

    if len(passwd) <= 8:
        print('length should be at least 8')
        val = False

    if len(passwd) > 8:
        print('length should be not be greater than 8')
        val = False

    if not any(char.isdigit() for char in passwd):
        print('Password should have at least one numeral')
        val = False

    if not any(char.isupper() for char in passwd):
        print('Password should have at least one uppercase letter')
        val = False

    if not any(char.islower() for char in passwd):
        print('Password should have at least one lowercase letter')
        val = False

    if not any(char in SpecialSym for char in passwd):
        print('Password should have at least one of the symbols $_!')
        val = False
    if val:
        return val```
waxen hawk
#

!paste def password_check():
print("Hello from function")

if (password_check(passwrd)):
    print("Password is valid")
else:
    print("Invalid Password !!")

password_check()

somber heath
#

regex

#
with open("filename.txt", "r") as file:
    text = file.read()```
#
with open("filename.txt", "r") as file:
    lines = file.readlines()
print(lines)```

```["password1\n", "password2\n", "password3"]```
lavish rover
#

!d str.splitlines

wise cargoBOT
#

str.splitlines(keepends=False)```
Return a list of the lines in the string, breaking at line boundaries. Line breaks are not included in the resulting list unless *keepends* is given and true.

This method splits on the following line boundaries. In particular, the boundaries are a superset of [universal newlines](https://docs.python.org/3/glossary.html#term-universal-newlines)...
somber heath
#

!e py text = " apples " print(repr(text)) text = text.strip() print(repr(text))

wise cargoBOT
#

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

001 | '   apples   '
002 | 'apples'
normal goblet
#

got it shorter: ```
def convert_time(n):

return (f'{(divmod(n,3600))[0]:02d}:{(divmod((n%3600),60))[0]:02d}:{(divmod((n%3600),60))[1]:02d}')
somber heath
#

!e py text = "apple\n" print(repr(text)) text = text.strip() print(repr(text))

wise cargoBOT
#

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

001 | 'apple\n'
002 | 'apple'
somber heath
#

!e py text = "apples\noranges\npears" print(text) lines = text.split("\n") print(lines)

wise cargoBOT
#

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

001 | apples
002 | oranges
003 | pears
004 | ['apples', 'oranges', 'pears']
somber heath
#

!e py text = "apples\noranges\npears" print(text) lines = text.splitlines() print(lines)

wise cargoBOT
#

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

001 | apples
002 | oranges
003 | pears
004 | ['apples', 'oranges', 'pears']
somber heath
#
with open("file.txt", "r") as file:
    lines = file.read().splitlines()```
#
with open("file.txt", "r") as file:
    lines = file.read().split("\n")```
#

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

waxen hawk
#
import os

cwd = os.getcwd()

def passwordcheck(passwordlist):
def passwrd    
 
 with open("passwordlist.txt", "r") as file:
    text = file.read()
    SpecialSym =['$', '', '!']
    val = True
    
 with open("filename.txt","r") as file:
    lines = files.read.splitlines()
    print(lines)
      
    if len(passwd) <= 8:
        print('length should be at least 8')
        val = False
        
     
    if not any(char.isdigit() for char in passwd):
        print('Password should have at least one numeral')
        val = False
          
    if not any(char.isupper() for char in passwd):
        print('Password should have at least one uppercase letter')
        val = False
          
    if not any(char.islower() for char in passwd):
        print('Password should have at least one lowercase letter')
        val = False
          
    if not any(char in SpecialSym for char in passwd):
        print('Password should have at least one of the symbols $_!')
        val = False
    if val:
        return Val
#
def password_check():
     
    if (password_check(passwd)):
        print("Password is valid")
    else:
        print("Invalid Password !!")
        
password_check()
somber heath
#

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

#
def func(...):
    with open(...) as file:
        ...```
#

Note the :

whole bear
#

How long does it take to learn python? Im 14 and im thinking of trying it out but I also wanna try c++ and C#

somber heath
#

: Indicates the creation of an indented section.

somber heath
#

Less if you're decent with computers.

#

You keep learning more and more as you go, however.,

#

You sort of have milestones.

whole bear
#

Oh ok

somber heath
#

You can code for years and still pick up new things.

#

You get decent with it after about a year or two.

whole bear
#

Awesome, tysm man

dark sable
#

Anyone here have experience in ml

somber heath
#

Not I.

#

Not to any useful degree, anyway.

dark sable
#

Np asked in the ai channel also

flint lagoon
#

hello

#

hello stew

woeful salmon
#

Pan masala: A mixture of chopped areca nut, lime and other ingredients (sometimes including tobacco), for chewing either by itself or wrapped in a betel leaf.

trail mural
#

red spit gang

zenith radish
somber heath
#

Breaking out of a loop? That's an infinite loopin'.

zenith radish
somber heath
#

lel

zenith radish
lavish rover
woeful salmon
#

@zenith radishπŸ‘€ i was talking about the cellular automata btw

#

just wanted to make it clear

somber heath
#

"Well, it's compiling something. I'm not sure what, but it is something."
Hellmouth: *Opens*

woeful salmon
#

"It is, after all, compiling something. I don't know what it is, but it is something."
Hellmouth: *Opens*

somber heath
#

Kumquaternion.

lavish rover
somber heath
#

I'm going to do something you all may later hate me for.

#

But it's a chance I'm willing to take.

lavish rover
#

yakitate japan

lethal thunder
rugged tundra
#

@half silo

To clear cmos:

Pull the battery. Push and hold the power button for 20 seconds. Wait 10 minutes. Return the battery.

Or..

Short the clr_cmos pins for at least 15 seconds.

Pc won't boot with a missing/dead cmos battery, or if the pins remain shorted.

rugged root
#

Forgot it wouldn't boot without one

#

Which kind of blows

#

!stream 852634073934856202

wise cargoBOT
#

βœ… @half silo can now stream until <t:1649164616:f>.

cerulean ridge
#

@rugged root I thought shorting is when you borrow some money to buy something while the price is high?

rugged root
#

!stream 852634073934856202

wise cargoBOT
#

βœ… @half silo can now stream until <t:1649165072:f>.

zenith radish
#

No shorting is borrowing an asset, selling it and then buying it at a lower cost - keeping the return

cerulean ridge
#

oh I got it, silly me.
borrow some sciccor, sell it, and then buy it again when the price is low, and then return the siccors

half silo
languid cargo
#

hello guys

#

I would like to learn prograaming ( computer science in general ) ( how a computer works etc )

#

should I start with the free CS50 course ?

#

( from harvard )

zenith radish
flat sentinel
#

perfect tirangol

languid cargo
#

I can't speak

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

rugged root
#

Sure sure, but you can respond in here

languid cargo
#

I don't have acces to the micro

#

I am a beginner

rugged root
#

If we're in VC, we're typically watching the paired text channel

#

!resources We've got a list of good resources on our website. Typically we suggest either Automate the Boring Stuff or A Byte of Python for folks starting out

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.

languid cargo
#

thank you

#

Have a nice day @rugged root

flat sentinel
rugged root
#

@vivid palm

vivid palm
#

sup

rugged root
primal yacht
rugged root
gentle flint
#

San Serriffe is a fictional island nation invented for April Fools' Day 1977, by Britain's Guardian newspaper. It was featured in a seven-page hoax supplement, published in the style of contemporary reviews of foreign countries, commemorating the tenth anniversary of the island's independence, complete with themed advertisements from major compa...

rugged root
#

@sudden kettle Yeah check out your mic in your voice settings. It's... rough

#

@zenith radish Thanks rabbit

zenith radish
#

πŸ˜‰

sudden kettle
#

How do I fix that

#

I'm settings

rugged root
#

@sudden kettle Like seriously, it's incredibly bad

sudden kettle
#

I'm not saying anything

gentle flint
#

well your mic did

sudden kettle
primal yacht
sudden kettle
rugged root
#

I know, but test it in your Voice and Video settings first before doing unmuting here

quasi condor
rugged root
#

TIL

primal yacht
rugged root
#

Well loved

primal yacht
#
  • and - shaped buttons on right
plain rose
#

yello

primal yacht
#

mello yello

sudden kettle
#

1 person come here? Just 1

plain rose
primal yacht
#

you're in VC1 but using VC0's text channel? *refreshes*

rugged root
#

Oh hush

#

They're testing their mic

quasi condor
primal yacht
#

okay ... is foreign-name + roman-numerals just goi-- *shuts up*

quasi condor
terse needle
zenith radish
#

Merged it

terse needle
#

very good

sweet lodge
primal yacht
#

... I already left the call due to the low battery TTS indicator on my headset .... then it plays in my head, yet made me jump (even though it was not the real thing, and was already powered off)

#

sorry to curse but .... fuck ...... now i cannot rest as it is somehow making me "wake up" in a sort of alert state

wind raptor
#

πŸ‘‹

sweet lodge
#

@rugged root - What's the issue?

rugged root
#

@dim dock You had very significant noise coming through your mic. Either keep it muted or use push to talk

sweet lodge
#

Or just wait on your people?

#

Fair enough

gentle flint
uncut acorn
#

damn

sweet lodge
#

God bless Turbo Tax

#

Just push buttons and you're done

uncut acorn
#

i mean arent taxes good

rugged root
#

They are, and they're necessary

uncut acorn
#

if youre doing a job you dont need to file taxes

rugged root
#

In the US you still need to file regardless

sweet lodge
#

Speaking of taxes

uncut acorn
#

damn

#

also does anyone have any game ideas i could make (im not very advanced so like some simple concept)

sweet lodge
#

80s - 90s

gentle flint
molten pewter
gentle flint
gentle flint
quasi condor
#

@whole bear message here, not in DMs

pale sigil
manic reef
#

lol

quasi condor
sweet lodge
#

@zenith radish - Emacs is bad

#

Use nano

zenith radish
#

I agree

sweet lodge
#

How're you going to start an argument if you agree with everyone?

manic reef
#

Cool

terse needle
#

@whole rover tea with or without milk, @quasi condor is spewing this nonsense about having it with milk is the only way

sweet lodge
#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 94
Member status: status_online 61,031 status_offline 270,346

Members: 331,378

Helpers: 141
Moderation Team: 37
Admins: 15
Owners: 3
Contributors: 42
Leads: 9

Channels: 252

Category: 33
News: 8
Staff: 61
Stage_Voice: 2
Text: 138
Voice: 10

sweet lodge
#

330k

#

I'm 6 and a half

quasi condor
plain rose
#

how does @wise cargo determine which members are online and which aren't? wouldn't you have to determine each member one by one?

#

or does it update it as it detects a presence change?

#

wait who is unkillable @rugged root ?

rugged root
#

eivl

plain rose
#

ez

gentle flint
normal goblet
zenith radish
terse needle
#

@uncut meteor @molten pewter wants to have an argument as for why water is not wet

zenith radish
terse needle
#

My concrete

lavish rover
whole rover
terse needle
#

alcoholic

#

in there is also my concrete

gentle flint
zealous wave
#

Hey verbose

#

I'm in the Netherlands again

gentle flint
#

what?

#

oh

#

nice!

#

come visit

zealous wave
#

What town are you in?

gentle flint
#

Amsterdam

zealous wave
#

I'll be in Amsterdam on Friday

#

Ohh shit

gentle flint
#

oh

#

bruh

#

on Friday I shall not be in Amsterdam

#

cuz I'm in Zeist that day

#

near Utrecht

zealous wave
#

Rip

#

I'm in Maastricht until then

#

Ok I need to go for now but it was nice to chat

gentle flint
stuck furnace
lavish rover
#

There's no concrete reason for those images

stuck furnace
#

Also, tea without milk is grumpchib

lavish rover
#

Tea without milk is just spicy water

terse needle
stuck furnace
terse needle
#

milk just makes it taste like piss water

terse needle
#

you need to embrace the bitter flavour

lavish rover
#

ferry nuff

terse needle
#

this feels like your making fun of my accent

lavish rover
#

I'm just making puns

gentle flint
#

tearable?

#

Really?

lavish rover
#

Yes

gentle flint
#

that is just stupid

lavish rover
#

Sums up my sense of humor

rugged root
#
for value in dictionary.values():
rugged tundra
#

for value in dictionary.values():
print(value)

plain rose
#

!e my_dict = {"key1": "value1", "key2": "value2"} for value in my_dict.values(): print(value)

wise cargoBOT
#

@plain rose :white_check_mark: Your eval job has completed with return code 0.

001 | value1
002 | value2
plain rose
#

welp, my pasta boiling now

#

gotta go

rugged root
#

for k, v in dictionary.items():

rugged tundra
#

for (Map.Entry<String, String> set :
foodTable.entrySet()) {

        // Printing all elements of a Map
        System.out.println(set.getKey() + " = "
                           + set.getValue());
stuck furnace
rugged tundra
#

sound settings?

rugged root
#

Don't know, we're for sure saying the speaky words

rugged tundra
#

or audio output

rugged root
#

Yeah that happens from time to time

#

No idea why

rugged tundra
sturdy panther
#

Yea, I should change my nick back.

sweet lodge
#

Enterprise Discord when?

#

@rugged root - What're you up to?

amber raptor
#

Slack/Teams has iron grip on this market

sweet lodge
#

Every one tries to contend

#

But I concede they're not very sucessfull

amber raptor
#

So Google minor player and rest are not worth talking about.

#

And by looking at that list, you realize that it’s very difficult to breaking into, esp when you are not profitable supposedly

gentle flint
#

denmark vs netherlands

sweet lodge
#

I thought they put together an office suite, but it doesn't look like it

plain rose
#

Salut

terse needle
plain rose
rugged root
#

@lavish rover Looking over an article on monads, would a better term be like "computation builder"?

terse needle
#

the uk pulling an april fools

plain rose
lavish rover
sweet lodge
#

Only thing I hate about Copilot is that it keeps suggesting list content me

lavish rover
#

Yeah that's a hit and miss at times

plain rose
#

I have a new philosophy

plain rose
terse needle
#

Offical Music Video for "Bleed", by Meshuggah from album obZen
SUBSCRIBE TO MESHUGGAH: http://bit.ly/subs-mesh-yt
SUBSCRIBE TO NUCLEAR BLAST: http://goo.gl/pn6pIK

Written and Directed by: McFarland & Pecci
Produced by: McFarland & Pecci
Edited by: Ian McFarland
Production Company: McFarland & Pecci
www.mcfarlandandpecci.com

PURCHASE THE ALBUM...

β–Ά Play video
wise cargoBOT
#

Hey @whole bear!

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

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

plain rose
#

Hemlock maddddd

#

I think Charlie would be up for it

#

πŸ€·β€β™‚οΈ

whole bear
terse needle
lavish rover
shut mulch
terse needle
lavish rover
#

nice, but mine is hand-written in html

#

no silly site generators

terse needle
#

I forgot to remove the next.js icon 😦

#

cutting edge

summer ocean
#

guys quick question if i get muted in a server will i be shown the time to be unmuted or just shown u can't send messages in this server

terse needle
#

"foo bar" => {'f' 'o' 'o' ' ' 'b' 'a' 'r'}

lavish rover
terse needle
#
#define MODULO(a, n) fmod((a), (n)) + (((a) < 0) * (n))
lavish rover
shut mulch
#

lol

tepid edge
#

maultaschen

gentle flint
lavish rover
gentle flint
terse needle
flat heart
#

I slept at 9PM and woke up at 3:50AM, it's now 4:45AM

gentle flint
#

internet usage 2 months ago

midnight finch
whole bear
#

good morning

#

!voiceverify

#

!voice verify

wise cargoBOT
#

Voice verification

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

formal bolt
#

rip

#

can't speak

#

need 50 messages

#

Makes sense

#

Oh I was going to ask if you have any basic ideas that I could do in python, anything beginner since im trying to learn

somber heath
#

!kindling

wise cargoBOT
#

Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

formal bolt
#

Oh alright, thanks :)

formal bolt
#

Ahh I see

#

Yeah, I think I could try a few of these

#

Yeah, imma try fizz buzz first

#

Which one?

#

Mandelbrot set, I will try that after a while, it seems like it could be a cool challenge

#

I'd like to work my way up to getting into more of the machine learning side of things

#

Lol yup

#

mhm, for sure

#

Other than the mandelbrot set, are you working on anything else atm?

#

thats fair

formal bolt
#

Got fizzbuzz down

for i in range(1, 101):
    if (i % 3 == 0):
        if (i % 5 == 0):
            print('FizzBuzz')
        else:
            print('Fizz')
    elif (i % 5 == 0):
        print('Buzz')
    else:
        print(i)```
#

I think imma try Currency Exchange converter

flint lagoon
#

its my third day

formal bolt
#
# This program converts USD to CAD with realtime data
import requests
import json

amountusd = float(input('How much USD?: '))
request = requests.get('https://openexchangerates.org/api/latest.json?app_id=3c110069a18f4bdfbb56773165b57fed')
data = request.text
parse_json = json.loads(data)
currentcad = parse_json['rates']['CAD']
amountcad = amountusd * currentcad
print(f'{amountusd} is equal to {amountcad}')

Used an API for once, most of this is new, but it works :)

somber heath
formal bolt
#

oh alr

#
for i in range(1, 101):
    if i % 3 == 0:
        if i % 5 == 0:
            print('FizzBuzz')
        else:
            print('Fizz')
    elif i % 5 == 0:
        print('Buzz')
    else:
        print(i)```
#

That would probably be it right?

#

@somber heath

somber heath
#

πŸ‘

formal bolt
#

😎

gentle flint
formal bolt
#

Ahh

#

I see, that makes sense

gentle flint
#

requests is very nice

formal bolt
#

Yeah, as mentioned earlier, I just started with requests/api

gentle flint
#

yeah

#

it's a good place to start

somber heath
#

!e py text = "happy" result = text.upper() print(result)

wise cargoBOT
#

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

HAPPY
somber heath
#

!e print(dir(str))

wise cargoBOT
#

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

['__add__', '__class__', '__contains__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getnewargs__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mod__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__rmod__', '__rmul__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'capitalize', 'casefold', 'center', 'count', 'encode', 'endswith', 'expandtabs', 'find', 'format', 'format_map', 'index', 'isalnum', 'isalpha', 'isascii', 'isdecimal', 'isdigit', 'isidentifier', 'islower', 'isnumeric', 'isprintable', 'isspace', 'istitle', 'isupper', 'join', 'ljust', 'lower', 'lstrip', 'maketrans', 'partition', 'removeprefix', 'removesuffix', 'replace', 'rfind', 'rindex', 'rjust', 'rpartition', 'rsplit', 'rstrip', 'split', 'splitlines', 'startswith', 'strip', 'swapcase', 'title', 'translate', 'upper', 'zfill']
somber heath
#

!e ```py
class MyClass:
def init(self):
print(f"Hello. I am {self}.")

a = MyClass()
b = MyClass()
print(a)
print(b)```

wise cargoBOT
#

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

001 | Hello. I am <__main__.MyClass object at 0x7fdff7f25c00>.
002 | Hello. I am <__main__.MyClass object at 0x7fdff7f25ba0>.
003 | <__main__.MyClass object at 0x7fdff7f25c00>
004 | <__main__.MyClass object at 0x7fdff7f25ba0>
somber heath
#

!e py a = [] b = [] c = a print(a == b) print(a is b) print(a is c)

wise cargoBOT
#

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

001 | True
002 | False
003 | True
willow lynx
#

_eq

lavish rover
lost valve
#

i don't have the all the requ

#

but i need some help so it was gonna be better to voice chat

#

😦

#

yes please

#

thank u

#

i want to share screen

#

it will be better

#

@lavish rover can we make a quick call on private?

#

ok

lavish rover
rocky furnace
#

Hi, Can anyone help me? I'm trying to go through a list recursively

woeful salmon
#

!e

import string

mapping = {a: b for a, b in zip(string.ascii_lowercase, string.ascii_lowercase[1:] + string.ascii_lowercase[0])}
foo = "hello world"
print(foo.translate(str.maketrans(mapping)))

@lavish rover

wise cargoBOT
#

@woeful salmon :white_check_mark: Your eval job has completed with return code 0.

ifmmp xpsme
woeful salmon
#

@lavish rover

terse needle
lavish rover
#
https://www.cs.toronto.edu/~mustafa/misc/loop.gif
https://www.cs.toronto.edu/~mustafa/renders/med4.gif
somber heath
#

It's going now I'm not in voice.

#

If it's anything over a mb, go mp4 or something.

#

🌩️

lavish rover
woeful salmon
lavish rover
frosty star
#

Hi guys

#

Nani suru no

lavish rover
frosty star
#

Ooo fractals

lavish rover
tidal shard
woeful salmon
woeful salmon
whole bear
#

!voiceverify

#

sry

#

hm

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.

whole bear
#

js?

#

yes

#

i must 50 msg :D

lavish rover
lavish rover
rugged root
#

What are .h files again?

#

Header?

pallid hazel
#

lol.. when he keeps saying something is simple.. Im still like wth is going on...

rugged root
#

Wait, are you here and I'm just not seeing you?

gentle flint
willow light
#

what, so .h files contain things like Access-Control-Allowed-Methods

#

although 99.999% of the header i deal with is Content-Type: application/json

gentle flint
#

Compile header files, not HTTP request headers

#

A C or C++ header file is the same concept as a Python module

#

so called because it is a file imported in the header

willow light
#

once again i'm asking programmers to have consistent terminology

#

on behalf of earth scientists everywhere

rugged root
#
foo |> bar
```Pipes like that add the left to the end of right, correct?  I have to get used to piping again
#

Or not add

#

Tack it onto the end

midnight finch
#

hey can someone quickly help

#
image = torch.sqrt(image*2)*1.5
        image = torch.clip(image, 0, 255)
        image = image / 255.0

what does this mean

#

what is 255

somber heath
#

Channel value wise

midnight finch
#

okay i see. basically i forgot what height image my AI model takes

rugged root
#

F#, but similar concepts apply to most languages that implement functional paradigm stuff

somber heath
#

No. It looks to me to probably only concern itself with channel values, not spatials.

#

Oh. Paste.

midnight finch
#

python

#

its either 512 height or 256 height but forgot which

sweet lodge
rugged root
#

Oh it was just a general foo bar thing

rugged root
#

I can't remember whether postfix piping or prefix piping is the more common one

midnight finch
#

r u sure the 256 isnt width

#

i want to know what height image ideally

rugged root
#

I mean I guess it depends on whether it's a portrait or landscape image

somber heath
rugged root
#

Fair point

#

Is that not something you can check on image load?

#

Once it's an object?

somber heath
#
model.default_cfg['input_size'] = (1,512,256)```
rugged root
#

Or that

somber heath
#

So...numpy is generally yx, so height 512, width 256? Which would track.

sweet lodge
#

O'Reilly says.... 0 search results for "piping"

#

Welp
Sorry Hemlock
I got nothing

rugged root
#

Yeah I'm probably looking for the wrong terms

sweet lodge
#

Do you want the books?

somber heath
#

Are those feet supposed to be of a duck? Because duck typing?

sweet lodge
somber heath
#

Ah.

rugged root
#

Oh huh. I'm surprised there isn't the one with the huge eyed primate I think

#

The joke title was something like "Get away from me you horrifying little fuck" or something

sweet lodge
somber heath
#

Blaming the User. Definitely my favourite, by cover.

#

Followed by Vague Understanding of Computer Science.

#

Because pigeons have inherent comedic value.

sweet lodge
#

I don't know if I can do that one
It says it's at "expert" level

#

I only have a beginner level of vauge knowledge

somber heath
sweet lodge
somber heath
#

Naked people have little or no influence on society.

#

Mark Twain.

midnight finch
#

does that just show the image i load?

rugged root
#

I think it's a property of the image object or a method

#

I can't remember off the top of my head