#voice-chat-text-1

1 messages Β· Page 115 of 1

raw wren
mild flume
#

You know, I've been thinking about this again

fluid heron
#

Hemlock, I am not breaking any rules by linking to a github repository am I?

mild flume
#

I mean

#

What's the repo for?

fluid heron
mild flume
#

It shouldn't take me telling someone that I'm an admin for people to not act unpleasant

#

Not specifically calling anyone out, it's just something that I think about a lot

elder wraith
#

@true valley I’m not a narcissist, you were talking about me right?

true valley
#

nope

#

not you rabbit

raven flint
#

dude, someone took my picture and posted it on reddit with a fake message 😦

mild flume
misty sinew
solid gyro
elder wraith
#

That's socialism talk there Fury

warm tendon
#

perfect

elder wraith
#

Tanks can't swim, we will be ok

#

I live in major city, escalation won't matter, I won't be here to give my opinion

misty sinew
#

but his argument something else lol

elder wraith
#

if your an American and your under one of these dots, escalation won't matter for you, you won't be around to give your opinion

misty sinew
#

^^^^^^^

elder wraith
mild flume
#

Maaaan, okay they are targeting Springfield

#

Well poo

solid gyro
#

this article is the only reason I'm willing to give a number for the Ukraine thing

#

previous to reading this article I would have said "I don't have a clue" and refused to give a number

elder wraith
misty sinew
#

Yes they are

#

economists are built different

elder wraith
#

they want to put math to their 8ball

misty sinew
#

thats why i like @crystal aurora

#

dope mindset

#

whos even speaking in vc

#

its not showing that green thing

raw wren
#

might have to restart your client

misty sinew
#

kk

#

oh now i see

#

charlie

raw wren
#

ye, every time that happens just restart your client and it will fix it

misty sinew
#

@solid gyro u sound like marcus hutchins

#

🀨

#

ARE YOU HIM?

elder wraith
#

I think China "allying" with Russia over Ukraine is just them using it as excuse to poke the US

#

NO @raw wren not JS, NOT EVEN ONCE!

raw wren
#

it's typescript leave me alone

elder wraith
#

WHERE DID YOUR PARENTS GO WRONG?

raw wren
#

lol typescript is good wym

#

and I am using cf workers

#

so my other option is rust

#

or transpiling python to js which is awful.

tall kindle
#

anyone wanna help me with java?

upbeat charm
#

what are you talking about?

true valley
#

!paste

coarse hearthBOT
#

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.

tall kindle
solid gyro
#

two points:

  1. A healthy* thing to worry about something is something which poses a logical, fact-based, risk to you, your friends, or your family. Air pollution, cancer, car travel, covid are healthy worries: they are substantially likely to affect you and people you like.

2a) A base opinion of "escalation is not likely" seems sensible if you look at all points of high international tension since WW2, few of them have escalated. **
2b), If you're just watching the news and catching information about Ukraine incidentally, then the majority opinion is that escalation in the case of Ukraine specifically is not likely, very few serious pundits seem to be arguing that US troops on the ground is likely.

  1. 2a/b are not the only possible opinions, but any other opinions are atypical, so if you're differing from the base case then you should have come to that difference from a fair degree of consideration

  2. If you accept this base case of escalation is not likely, then being scared - having a strong emotional response to a thing you logically understand to be unlikely to affect you or people you care about, - doesn't seem healthy. Worrying about Ukrainian friends seems perfectly healthy and understandable.

*I'm not entirely convinced healthy is the concept I'm grasping for. I can't provide a clear definition for healthy. Maybe this means my entire point about should/healthiness/whatnot is just bullshit and overly prescriptive
**I'm willing to be wrong about this, I'd need to sit down with a spreadsheet and trawl through the history of the 20th century

upbeat charm
#

I like ice cream

solid gyro
#

@zenith wedge what does the \β˜• mean?

zenith wedge
#

Acknowledgment. The points made are reasonable.

#

The Divine Comedy (Italian: Divina Commedia Italian pronunciation: [diˈviːna komˈmɛːdja]) is an Italian narrative poem by Dante Alighieri, begun c. 1308 and completed in 1320, a year before his death in 1321. It is widely considered the pre-eminent work in Italian literature and one of the greatest works of world literature. The poem's imaginati...

misty sinew
#

Bye πŸ™‚ @crystal aurora cz_kisses

raven flint
#

I would tell Putin, "I've been trying to call you about your cars extended warranty"

misty sinew
#

@raven flint u made me choke on my food lmao

raven flint
#

🀣

misty sinew
#

lowkey blast this song with putin

true valley
solid gyro
#

In economics and consumer theory, a Giffen good is a product that people consume more of as the price rises and vice versaβ€”violating the basic law of demand in microeconomics. For any other sort of good, as the price of the good rises, the substitution effect makes consumers purchase less of it, and more of substitute goods; for most goods, the ...

fluid heron
raven flint
#

you don't

twilit leaf
#

He did... He read a book couple of hours ago...

raven flint
#

technoblade?

stuck bluff
#

I'm familiar with the species in general terms.

#

I've never kept any.

#

The birds I speak of are all wild birds.

meager laurel
#

@stuck bluff hi do u know js ?

#
objs = [{"blog":"test 1", "tags": ["blog 1", "blog1"]},
            {"blog":"test 2", "tags": ["blog 2", "blog2"]},
            {"blog":"test 3", "tags": ["blog 3", "blog3"]},
            {"blog":"test 4", "tags": ["blog 4", "blog4"]}]```
how to get the value of ``"tags": ["blog 4", "blog4"]`` in js
true elbow
#
console.log(objs[0]['tag'])
stuck bluff
#
objs[3]["tags"]```?
true elbow
#

str = `hi ${dude}`

meager laurel
#
let objs = [{"blog":"test 1", "tags": ["blog 1", "blog1"]},
            {"blog":"test 2", "tags": ["blog 2", "blog2"]},
            {"blog":"test 3", "tags": ["blog 3", "blog3"]},
            {"blog":"test 4", "tags": ["blog 4", "blog4"]}]

console.table(objs)

num = 1;
objs.forEach(i => {
    document.getElementById(num).innerHTML = `<h1 class="foreach ${num}" id="${num}">${i["blog"]}</h1>`;
    num = num+1;
});

num2 = 1
function search() {
    let tosearch = document.getElementById(num).value;

    objs.forEach(i => {
        if (objs[i]["tags"] == tosearch) {
            console.log(objs[i]["tags"]);
            console.log(objs[i]["blog"]);
            document.getElementById(num2).innerHTML = `<h1 class="foreach ${num}" id="${num}">${i["blog"]}</h1>`;            
        }
    });
}``` getting this error ```script.js:19 Uncaught TypeError: Cannot read properties of undefined (reading 'tags')
    at script.js:19:20
    at Array.forEach (<anonymous>)
    at search (script.js:18:10)
    at HTMLButtonElement.onclick (index.html:23:85)
(anonymous) @ script.js:19
search @ script.js:18
onclick @ index.html:23```
stuck bluff
true elbow
#

if (objs[i]["tags"] == tosearch) -> if (i["tags"] == tosearch)

stuck bluff
#

I can't seem to be able to track down the actual source.

#

Yes.

#

I've found a nice way to make an old-looking, moldy paper-like texture in GIMP, and I've been fiddling with how to recreate a similar effect just with Numpy.

#

Yes.

honest harbor
#

hello man

#

what's the subject?

stuck bluff
#

Sisyphean programming tasks.

#

Undertaken in vain.

#

Or perhaps not.

honest harbor
#

I don't know

#

can you explain me

#

no details

misty sinew
#

you can quit maybe

true elbow
stuck bluff
#

Conversating. Mmm.

#

U.

honest harbor
#

Guys I have to get out

#

bye

true elbow
craggy mauve
#

Hello guys what are you doing

#

oh

#

do a project?

#

btw who is talking i cant see green thing when users speak

#

yea i can see green thingy on Opal

#

oh your 14?

#

when did u start learning python?

#

you started coding when you were 10?

#

oh i learnt some c when i was 10

#

sorry?

#

it was good i dont remember anything now only printf and scanf

#

lol

#

oh btw i am 14 too nice to meet you

#

8th grade

#

o so you are in 9th

#

your username is Furyo right?

true elbow
#

this is me πŸ™‚

craggy mauve
#

oh

#

wait

#

you are not in vc :\

stuck bluff
#

ctrl-r

#

Or restart the app.

craggy mauve
craggy mauve
stuck bluff
#

Yeah, that's old data.

craggy mauve
#

yea i restarted it

#

yea you are ther

#

yes 4 members

craggy mauve
#

didnt understand that but i think its cool jam_cavedude

#

is 10am for me

stuck bluff
#

Four in the afternoon on my end.

#

Victoria.

#

1, 6, 8, 9, 0

#

But it's not invertable.

#

Oh.

#

Well.

true elbow
#

||+x|

stuck bluff
#

I'm thinking rotational invertion.

#

Not just straight flipping.

misty sinew
#

|| + ||

stuck bluff
#

In which case 3 would be valid, too.

#

So for flipping, that'd be 1, 3, 8 and 0.

misty sinew
#

|0| = 0

#

|n| = 1

#

0

#

0 if the element 0

#

|n + m| <= |n| + |m|

stuck bluff
#

Can't, as a country, have a reputation for impeccable engineering without the mathematics.

misty sinew
#

see you!

craggy mauve
#

you have to send 50 messages to talk here

raven flint
#

yup

#

!user

coarse hearthBOT
#

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

craggy mauve
#

Hello

indigo acorn
#

hi

craggy mauve
#

my class is over finally

indigo acorn
#

yay

craggy mauve
#

how many classes?

#

i have 7 classes in a day 40 mins per class

#

you have holidays on saturday?

#

bio class was boring :\

true elbow
misty sinew
#

# for ~ fuer
# in ~ im | in
# range ~ intervall
# print ~ drucke

fuer i im intervall(9)[::-1]:
     drucke i

# while ~ solange
# True ~ Wahr
# try ~ versuche
# except ~ ausser
# ZeroDivisionError ~ NullDivisionsFehler
# return ~ zurueck

solange Wahr:
   versuche:
       1/0
   ausser NullDivisionsFehler:
       zurueck
lime badger
#

@stuck bluff Hi!!!!!!

#

HOw are you!!!!!

misty sinew
#

βˆƒ exists

#

βˆ€ for all

#

∈

lime badger
#

Good night yall!!

misty sinew
#

βˆ€x∈X: x even

#
all(is_even(x) for x in X)
raven flint
#

hello

#

sadge

#

😦

#

i still need 20 more messages

#

before i can talk in vc's

elder wraith
#

We going to GUI party like it’s 2010!

#

πŸ₯³

pseudo arch
#

@true valley And the music

#

a nice touch

#

elegant

#

🀣

#

@crystal aurora I Like that range syntax

#

thats the way a range should be

craggy mauve
#

@crystal aurora you can using rust in pycharm? :|

#

yau are*

#

you are*

true valley
#

he is

craggy mauve
#

hmm i will join you guys in a bit

true valley
#

std::string::String::new

#

:: behaves like a namespace accessor. You can navigate through modules or specify locations like std::io::stdin() or call methods for objects like in String::new(). It can even be mixed, since an object may be in a module itself, so for example, the full path to the String new method would be std::string::String::new.

craggy mauve
#

why does addr matter?

#

so complex

misty sinew
#

JMAC

#

WHATS GOOODDDDDDDDDDDD

#

@pseudo arch

leaden flare
#

im following

pseudo arch
misty sinew
#

nothing much been coding all day

#

gang shit

misty sinew
#

dude i overly cooked the wings looks like jeeper creepers skin -_--

honest harbor
#

hi guys, it's ok?

#

tell me about programming on Network

pseudo arch
#

@warm tendon 🀣

#

πŸ˜†

#

@crystal aurora what about a leprechaun?

#

🀣

#

thats a good exercise im not going to lie

#

Marco is like that teacher you dont want to mess with

granite nymph
#
RP Game has 2 characters

Characters can be different:
  - Height
  - Weight
  - Colour
  - Gender
  - Talk
pseudo arch
#

Colour is a good one

warm tendon
#

i don't really like colour tbh

#

color seems more interesting to use as an attribute

uneven rock
#

pigment?

coarse hearthBOT
#

:incoming_envelope: :ok_hand: applied mute to @granite nymph until <t:1645146724:f> (9 minutes and 59 seconds) (reason: mentions rule: sent 7 mentions in 10s).

peak frigate
#

!unmute 465123434322722817

coarse hearthBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @granite nymph.

granite nymph
#

Thanks @peak frigate
No more pings

I promise πŸ˜‚

peak frigate
#

np lol

uneven rock
pseudo arch
#

as like the nemesis to the wizard

#

@warm tendon 🀣

uneven rock
#

i came in late on this, whats a real world "reference" to use something like this?

pseudo arch
#

@crystal aurora give him 15 man

#

@fluid heron you did their homework for them...how are they ever going to learn?

#

πŸ‘Œ

#

nice job

#

🀣

fluid heron
#

also never above doing ppls homework for them. Anyone needs their homework done just post it here

granite nymph
#
class RPG:

    def __init__(self, colour, talk):
        self.character_colour = colour
        self.character_speech = talk

    print("RPG Started...")


class Human(RPG):


class Wizard(RPG):
#

Yeah

#

Yeah

honest harbor
#

hi

pseudo arch
#

i agree

granite nymph
pseudo arch
#

πŸ˜†

#

i think you mean @fluid heron

#

talk later guys, im going to bed

#

bye man

fluid heron
true elbow
raven flint
raven flint
true elbow
#

gg ez no re

#

πŸ˜‰

manic ridge
#

https://github-readme-stats.vercel.app/api?username=<USERNAME>&show_icons=true&theme=radical&count_private=true

true elbow
manic ridge
#

git commit --amend --date="Wed Feb 16 14:00 2011 +0100" --no-edit

#

echo "Is some one down there?" > /dev/null

#

U laboratore 14

#

g++ *.c -g -Wall -pedantic

true elbow
#

gcc -o fuckyou *.c -Wall -Wextra -g -I../src

stuck bluff
stuck bluff
#
import numpy as np

def magnitude(p, q, axis):
    m = q - p
    m = m ** 2
    m = np.sum(m, axis)
    m = np.sqrt(m)
    return m```
manic ridge
#

Do What The Fuck You Want To Public License (zkratka WTFPL, česky VeΕ™ejnΓ‘ licence DΔ›lej si co kurva chceΕ‘) je zΕ™Γ­dka uΕΎΓ­vanΓ‘ svobodnΓ‘ softwarovΓ‘ licence kompatibilnΓ­ s public domain. OriginΓ‘lnΓ­ verzi 1.0, kterΓ‘ byla vydΓ‘na v bΕ™eznu 2000, napsal Banlu Kemiyatorn. Verzi 2.0 pak napsal francouzskΓ½ programΓ‘tor Samuel β€žSamβ€œ Hocevar, kterΓ½ byl od 17. ...

stuck bluff
#

Though you can also look at scipy.spatial.distance_matrix.

manic ridge
#
do What The Fuck you want to Public License

Version 1.0, March 2000
Copyright (C) 2000 Banlu Kemiyatorn (d).
136 Nives 7 Jangwattana 14 Laksi Bangkok
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Ok, the purpose of this license is simple
and you just

DO WHAT THE FUCK YOU WANT TO.
true elbow
raven flint
#

hello

dreamy tusk
#

in typing test

#

they told at

#

i wrote @

stuck bluff
#
nodes = np.array[((0,1), (2,3), (4,5), ...)]
colours = np.array([(r0,g0,b0,a0), (r1,g1,b1,a1), (r2,g2,b2,a2), ...]) #Pairwise, so same len as nodes
frame = np.zeros((height, width, 3), dtype=float64)

#Per node/colour pair, add the colour to the entire frame, dividing the addition per position by the magnitude matrix of the node point against each point in the frame.```
#

Accounting for alpha if you like.

#

Which is fiddly.

#

Also not strictly necessary.

dreamy tusk
#

!e

coarse hearthBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

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

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

dreamy tusk
#

!e

nodes = np.array[((0,1), (2,3), (4,5), ...)]
colours = np.array([(r0,g0,b0,a0), (r1,g1,b1,a1), (r2,g2,b2,a2), ...]) #Pairwise, so same len as nodes
frame = np.zeros((height, width, 3), dtype=float64)
coarse hearthBOT
#

@dreamy tusk :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'np' is not defined
stuck bluff
#

It's not meant to be run.

#

It's a sketch.

dreamy tusk
#

!e

import numpy as np
nodes = np.array[((0,1), (2,3), (4,5), ...)]
colours = np.array([(r0,g0,b0,a0), (r1,g1,b1,a1), (r2,g2,b2,a2), ...]) #Pairwise, so same len as nodes
frame = np.zeros((height, width, 3), dtype=float64)
coarse hearthBOT
#

@dreamy tusk :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | TypeError: 'builtin_function_or_method' object is not subscriptable
dreamy tusk
#

ok

#

is c++ GOOD

#

i think im gonna learn it

#

because i wanna become a robotics

#

so we need python and c++ right?

#

bye

craggy mauve
#

Hello

stuck bluff
#

!e ```py
import numpy as np

def magnitude(p, q, axis):
m = q - p
m = m ** 2
m = np.sum(m, axis)
m = np.sqrt(m)
return m

frame = np.mgrid[:5, :10].T
node = 0,0
result = magnitude(frame, node, 2)
print(result) #An array whose values at each position are that position's distance from the node position.```

coarse hearthBOT
#

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

001 | [[0.         1.         2.         3.         4.        ]
002 |  [1.         1.41421356 2.23606798 3.16227766 4.12310563]
003 |  [2.         2.23606798 2.82842712 3.60555128 4.47213595]
004 |  [3.         3.16227766 3.60555128 4.24264069 5.        ]
005 |  [4.         4.12310563 4.47213595 5.         5.65685425]
006 |  [5.         5.09901951 5.38516481 5.83095189 6.40312424]
007 |  [6.         6.08276253 6.32455532 6.70820393 7.21110255]
008 |  [7.         7.07106781 7.28010989 7.61577311 8.06225775]
009 |  [8.         8.06225775 8.24621125 8.54400375 8.94427191]
010 |  [9.         9.05538514 9.21954446 9.48683298 9.8488578 ]]
stuck bluff
#

!e ```py
import numpy as np

def magnitude(p, q, axis):
m = q - p
m = m ** 2
m = np.sum(m, axis)
m = np.sqrt(m)
return m

frame = np.mgrid[:5, :10].T
node = 3,3
result = magnitude(frame, node, 2)
print(result) ```

coarse hearthBOT
#

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

001 | [[4.24264069 3.60555128 3.16227766 3.         3.16227766]
002 |  [3.60555128 2.82842712 2.23606798 2.         2.23606798]
003 |  [3.16227766 2.23606798 1.41421356 1.         1.41421356]
004 |  [3.         2.         1.         0.         1.        ]
005 |  [3.16227766 2.23606798 1.41421356 1.         1.41421356]
006 |  [3.60555128 2.82842712 2.23606798 2.         2.23606798]
007 |  [4.24264069 3.60555128 3.16227766 3.         3.16227766]
008 |  [5.         4.47213595 4.12310563 4.         4.12310563]
009 |  [5.83095189 5.38516481 5.09901951 5.         5.09901951]
010 |  [6.70820393 6.32455532 6.08276253 6.         6.08276253]]
craggy mauve
#

what are you guys trying to do?

stuck bluff
#

Replicate my fireworks in js.

craggy mauve
#

oh?

stuck bluff
#
import numpy as np
from matplotlib import pyplot as plt

def magnitude(p, q, axis):
    m = q - p
    m = m ** 2
    m = np.sum(m, axis)
    m = np.sqrt(m)
    return m

y, x = 50,100
arr = np.full((y,x,3), (255,0,0))
node = 3,3 #The emission point
index_matrix = np.mgrid[:y, :x].T
mag_matrix = magnitude(index_matrix, node, 2) + 1
arr = arr / np.array([mag_matrix]*3).T
plt.imshow(arr.astype(np.uint8))
plt.show()```
manic ridge
#

[]

stuck bluff
#

So you do this for each emission node.

#

and take each such arr and add it to your frame

#

clipping the excess once all arrs are added.

#

You want to know something sad? This is probably the cleanest I've ever written this.

craggy mauve
#

hey how are you

#

ignored :\

stuck bluff
#

I was contemplating a response.

craggy mauve
#

i am fine thanks

stuck bluff
#

I'm feeling like the man in the mirror, where, opposite, stands nobody.

manic ridge
#

-m "asgsag"

craggy mauve
#

yes you talk fast

#

Chara98

#

huh?

fervent notch
#

annoying keeb sound coming from your side, null

true elbow
craggy mauve
true elbow
#

((point[4][0]*disspersion)/dist)*intensity+colorMatrix[x][y][0]

craggy mauve
#

hey i have a dumb question can anyone help me?

stuck bluff
#

That would depend on the question.

craggy mauve
#
             def checker(my_query_dict):
                for i in my_query_dict.keys():
                    if i in inspect.getfullargspec(handler).args:
                        pass
                    else:
                        my_query_dict.pop(i)
                        return False
                return True
            while checker(kwargs) is False:
                pass``` any better way to do this?
stuck bluff
#

What is my_query_dict? What does it represent?

#

Describe what checker is doing in broad terms.

craggy mauve
#

yea so query_dict has the args which are needed by the function and if a user passes a query which is not required by the function it will remove it and then pass the dict to the function so it will not break the code

stuck bluff
#

Can you give an example of my_query_dict and inspect.getfullargspec(handler).args?

craggy mauve
true elbow
#

!e print((1920*1080*3)^2)

coarse hearthBOT
#

@true elbow :white_check_mark: Your eval job has completed with return code 0.

6220802
true elbow
#

!e print(((1920*1080)^2)*3)

coarse hearthBOT
#

@true elbow :white_check_mark: Your eval job has completed with return code 0.

6220806
true elbow
#

!e print(((1920*1080)^2)*3*8)

coarse hearthBOT
#

@true elbow :white_check_mark: Your eval job has completed with return code 0.

49766448
true elbow
#

!e print(49766448/1024/1024)

coarse hearthBOT
#

@true elbow :white_check_mark: Your eval job has completed with return code 0.

47.46098327636719
craggy mauve
#

i will be undeafen in a min

misty sinew
#

Hi

stuck bluff
#

Right. Now I can concentrate.

craggy mauve
#

huh?

#

can you repeat?

#

i dont understand

#

yes i did

#

hmm no

#

what if i do

def checker(my_query_dict):
    for i in my_query_dict.keys():
        if i in inspect.getfullargspec(handler).args:
            pass
        else:
            my_query_dict.pop(i)
            return checker(my_query_dict)
stuck bluff
#

!e py the_dict = {"apple": 0, "grape": 1, "orange":6} legal_keys = {"apple", "pear"} for key in set(the_dict).difference(legal_keys): del the_dict[key] print(the_dict)

coarse hearthBOT
#

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

{'apple': 0}
stuck bluff
#

@craggy mauve

craggy mauve
#

oh

#

nice

stuck bluff
#

This alters the dict object.

#

So if you pass a dictionary into a function that does this, the dictionary will be modified.

craggy mauve
#

thanks sir :)

#

i never saw difference() func

stuck bluff
#

!e ```py

def func(d, legal_keys):
legal_keys = set(legal_keys)
return dict((key,value) for key, value in d.items() if key in legal_keys)

the_dict = {"apple": 0, "grape": 1, "orange":6}
legal_keys = {"apple", "pear"}

new_dict = func(the_dict, legal_keys)
print(new_dict)```

coarse hearthBOT
#

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

{'apple': 0}
craggy mauve
stuck bluff
#

I understand.

craggy mauve
#

am i correct?

stuck bluff
#

I like the later one, because it's cleaner. Though it doesn't leverage sets.

#

Sets are zoomy.

craggy mauve
#

oh ok

stuck bluff
#

The later one does a linear search for each key in the_dict, which is meh...

#

Though it could be converted to a set.

#

There. Now it's lookup, per key.

#

Even if you give it a list for legal_keys.

#

Which should really be a set.

#

Okay. So.

#

In-place vs returning.

#

!e py my_list = [3,1,2] s = my_list.sort() print(my_list) print(s)

coarse hearthBOT
#

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

001 | [1, 2, 3]
002 | None
stuck bluff
#

This, list.sort, is an "in-place" operation.

#

I've given my_list to list.sort, and instead of getting the sorted list out of it with s, I get None.

#

But, as you can see, it's sorted the list when I print my_list.

#

Hm.

#

Here's another in-place.

#

!e ```py
import random

my_list = [1,2,3,4]
r = random.shuffle(my_list)
print(my_list)
print(r)```.

#

Oh come on.

coarse hearthBOT
#

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

001 | [1, 2, 4, 3]
002 | None
stuck bluff
#

There we go.

craggy mauve
#

oh understood

stuck bluff
#

Mm.

#

As opposed to returning functions and methods...

#

!e py my_list = [3,1,2] s = sorted(my_list) print(my_list) print(s)

coarse hearthBOT
#

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

001 | [3, 1, 2]
002 | [1, 2, 3]
stuck bluff
#

It doesn't sort the original list object.

craggy mauve
#

ahh i see

stuck bluff
#

It does, however, create a sorted version of it, and returns it.

craggy mauve
#

oh then my function was in place function

stuck bluff
#

You took a dictionary object and used dict.pop on it.

#

That alters the dictionary object where it lives in memory.

#

!e ```py

def func(d):
d["Apples"] += 1

my_dict = {"Apples": 0}

func(my_dict)

print(my_dict)```

coarse hearthBOT
#

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

{'Apples': 1}
stuck bluff
#

You might have heard about scope and functions.

#

This is an exception to that.

#

Sort of.

#

Not really.

#

What you're doing when you give things to functions are references to objects.

#

and if that thing references a mutable, then you can change it without having to return something and assign something.

craggy mauve
#

ok but i have a doubt which is faster the first one or second cz if you working in a company they will tell you to write faster and neater code ig :\

stuck bluff
#

From form let optimisation flow.

#

If it looks good, it's probably faster.

#

!zen

coarse hearthBOT
#
The Zen of Python, by Tim Peters

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

craggy mauve
stuck bluff
#
def func(d, legal_keys):
    return dict((key,value) for key, value in d.items() if key in legal_keys)```I'm partial to this.
craggy mauve
#

ok

stuck bluff
#

!e ```py
def func(d, legal_keys):
return {key: d[key] for key in d.keys() & legal_keys}

the_dict = {"apple": 0, "grape": 1, "orange":6}
legal_keys = {"apple", "pear"}

print(func(the_dict, legal_keys))```

coarse hearthBOT
#

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

{'apple': 0}
craggy mauve
#

hmmm ok thanks once again :D

broken bison
#

hello

#

how are you

#

hello

honest harbor
#

hi

#

I'm fine and the guys here

true valley
#

Herfindahl–Hirschman?

halcyon nova
pseudo arch
#

@crystal aurora is my thesis supervisor

#

🀣

#

'you got What you...Wanted.'

misty sinew
#

LOL

#

JMACCCC

#

how far u get with ur project?

pseudo arch
misty sinew
#

😦

pseudo arch
#

its done/wrote

#

its just the smallest mistake ever

#

i can fix it, i know i can

misty sinew
#

then do it

#

stop talking about irt

#

it

pseudo arch
#

i just cant get the energy

#

im trying to balance my life

misty sinew
#

find it

mild flume
#

That's important

pseudo arch
#

dude its easy for you

mild flume
#

Yeah rather you didn't describe it as that, Ty

pseudo arch
#

you havent been coding for like a week

misty sinew
#

i have

#

logged 50 hours since sat

pseudo arch
misty sinew
#

because i be on here on my free time πŸ˜›

mild flume
#

50 hours doing what

misty sinew
#

learning code

#

im new to this

#

codecademy gang

mild flume
#

Bit different

misty sinew
#

coding coding buddy

mild flume
#

Fair, but dismissing how hard jmac has been working on it seems silly

misty sinew
#

this aint about me

#

this about jmac motivate the homie

pseudo arch
#

no motivation can get somewhere somewhere

#

this is like mental jujitzu, or like sudoku

mild flume
#

Positive reinforcement works better. What's the phrase, "You'll catch more flies with honey than you will with vinegar"?

pseudo arch
#

if we play sudoku, and youve done too much, 6 days straight

#

you think your motivation is going to make me figure it out/become a better player?

#

Breaks are important @misty sinew

#

we're not robotsπŸ˜†

#

but encouragement is important if no wall is hit, and im doubting myself

#

but this isnt that case. Im not doubting myself. I know ill figure it out

#

just need a break

#

we're not all @crystal aurora

#

🀣

#

it annoys me because ive done this before, last year🀣

#

you are motivational

#

you are doing this everyday

#

🀣

halcyon nova
#

sudoku is awesome

#

I realize that's not what you're talking about

#

but I really like sudoku

lime badger
#

@slender canyon Hey!!! HOW are you!!!

misty sinew
#

ERR day baby

#

evertime they cancel work due to weather concersn i just pop some bruno mars and code away

pseudo arch
#

bruno mars🀣

misty sinew
#

lmao

pseudo arch
#

can we stop?

#

i want to go for a walk

#

🀣

mild flume
#

!poll "Is the level of complexity too high?" "Very complex" "Moderately complex" "About right" "Not very complex" "Not complex" "Why am I reacting to this poll?"

coarse hearthBOT
#
Is the level of complexity too high?

πŸ‡¦ - Very complex
πŸ‡§ - Moderately complex
πŸ‡¨ - About right
πŸ‡© - Not very complex
πŸ‡ͺ - Not complex
πŸ‡« - Why am I reacting to this poll?

pseudo arch
#

ive only been here for half an hour

#

but i need a break

#

@crystal aurora keep these people on track

#

its for education purposes

#

its not inappropriate

#

i approve of this room

#

i like the python community though

#

@fluid heron should be a helper

mild flume
pseudo arch
#

well atleast he has good thoughts

#

brb guys

#

@crystal aurora 🀣

#

πŸ˜†

misty sinew
#

COMPLEX CODING GANG @elder wraith

pseudo arch
#

@warm tendon is a good coder rabbit

warm tendon
#

i'm not a professional

pseudo arch
warm tendon
#

not really

misty sinew
#

facts

mild flume
#

!poll "How long have you been paid to do programming?" "5+ Years" "2 - 3 Years" "1 Year" "Less than 1 Year" "Never been paid for programming work"

coarse hearthBOT
#
How long have you been paid to do programming?

πŸ‡¦ - 5+ Years
πŸ‡§ - 2 - 3 Years
πŸ‡¨ - 1 Year
πŸ‡© - Less than 1 Year
πŸ‡ͺ - Never been paid for programming work

mild flume
#

For 4 years I guess stick it with A

pseudo arch
#

@crystal aurora πŸ˜†

mild flume
twilit leaf
#

Haha, @crystal aurora , can you send the link..

#

Flat Earth...

#

Sure

pseudo arch
#

@mild flume 🀣

#

πŸ˜†

#

@halcyon notch is python one?

misty sinew
#

i got u

uncut pasture
#

What is the project ?

pseudo arch
#

i dont want you to change your project

#

@halcyon notch i agree

#

The Coffee Man is here

#

just trying to take a break

#

how about you?

#

πŸ‘Œ

#

whats that?

#

so its not like hackerone?

#

🀣

#

i respect your work ethic coffee

#

youre right.

#

trust your intuition

#

no

#

hackerone

#

you were right man

#

its that nap dude

#

naps are good though

#

just got to get in the groove

zenith wedge
pseudo arch
#

🀣 thats way out of my league

#

how is his wage?

#

since you ask everyone

mild flume
#

That was Charlie asking everyone

pseudo arch
#

πŸ‘Œ

pseudo arch
#

but yea, charlie does over ask 🀣

#

@halcyon notch this conversation is reminding me of the 'garbage collector'

#

ive been watching too many maroloccio rust streams

#

@halcyon notch charlie was talking about that

#

i dont know if you were here...

#

@ember stream 🀣

ember stream
#

?

pseudo arch
#

Thank you @zenith wedge

#

thats so weird, someone at my college is from Macedonia 🀣

#

i thought that was some old place/country that didnt exist anymore when he said it, i thought that was the equivalent of persians

unique raptor
lusty grotto
#

hi

solid gyro
#

What was Charlie asking whom?

#

Who? Whom? I think whom

zenith wedge
#

The Goliath birdeater (Theraphosa blondi) belongs to the tarantula family Theraphosidae. Found in northern South America, it is the largest spider in the world by mass – 175 g (6.2 oz) – and body length – up to 13 cm (5.1 in) – but it is second to the giant huntsman spider by leg span. It is also called the Goliath bird-eating spider; the practi...

mild flume
#

Huh. "A Cluster of Spiders"

#

Oh dude

#

"A gang of weasels"

#

Relevant

halcyon notch
fluid heron
solid gyro
#

seterra = 10/10

true valley
ember stream
#

Aoife

hearty heath
#

Rwanda is near Uganda πŸ€”

#

Clue @halcyon notch this

raw wren
nimble axle
#

help

#

this is what i am getting

#

I dont know why

#

when i am try to run this

#

Improve your Python skills by following along with 12 different Python project tutorials.

πŸŽ₯ Course developed by Kylie Ying. Check out her YouTube channel: https://www.youtube.com/ycubed

⭐️ Course Contents ⭐️
⌨️ (1:40) 1. Madlibs
⌨️ (6:54) 2. Guess the Number (computer)
⌨️ (13:17) 3. Guess the Number (user)
⌨️ (21:14) 4. Rock Paper Scissors
...

β–Ά Play video
#

import random

def play():
user = input("What's your choice? 'r' for rock, 'p' for paper, 's' for scissors\n")
computer = random.choice(['r', 'p', 's'])

if user == computer:
    return 'It\'s a tie'

# r > s, s > p, p > r
if is_win(user, computer):
    return 'You won!'

return 'You lost!'

def is_win(player, opponent):
# return true if player wins
# r > s, s > p, p > r
if (player == 'r' and opponent == 's') or (player == 's' and opponent == 'p')
or (player == 'p' and opponent == 'r'):
return True

zenith wedge
#

import random

def play():
user = input("What's your choice? 'r' for rock, 'p' for paper, 's' for scissors\n")
computer = random.choice(['r', 'p', 's'])

if user == computer:
    return "It's a tie"

# r > s, s > p, p > r
if is_win(user, computer):
    return 'You won!'

return 'You lost!'

def is_win(player, opponent):
# return true if player wins
# r > s, s > p, p > r
if (player == 'r' and opponent == 's') or (player == 's' and opponent == 'p')
or (player == 'p' and opponent == 'r'):
return True
print(play())

nimble axle
true elbow
#

@stuck bluff hey, sorry to bother, but I wrote a python program that can render a single picture of the fireworks/ lighting programs you make, while using the same math, but can render at 1920x1080 with 10 points(more points doesn't affect it much) in ~13 seconds. Here's the code: https://paste.pythondiscord.com/uwujadiroz if you want me to elaborate on how it works I will, but roughly it makes one matrix at the beginning that each pixel uses to find the correct light value for itself, without running any 2d distance functions when rendering the frame

#

this image is the secret sauce πŸ˜‰ if you will

#

here's an example frame

craggy mauve
#

how much ram do you have opal??

stuck bluff
craggy mauve
#

8gigs?

nimble axle
#

Hello πŸ™‚

#

☺️

honest harbor
#

hello guys

#

what do you doing?

mint dew
#

Hello

#

What's up?

#

Yes i am from Russian

#

I'm taking a course

#

I have now 13:20

#

Yes

#

Yes

#

Cool

#

Just very cold

zenith wedge
#

!voice

coarse hearthBOT
#

Voice verification

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

mint dew
#

!voice

#

I know about verification

cloud hawk
#

has to be 3 days aswell i think

#

Also I was typing in the wrong chat πŸ˜‚

#

Yup. Im actually stuck on a project for colllege actually

#

I was wondering if anyone could help me with it

mint dew
#

Wanna see a little three?

#

Π·

cloud hawk
#

The project is to basically create a password cracker using a word list my instructor provided me. he wanted me to test it on his ftp server. but instead for now to test it on a variable

#

Yes

#

Currently im on line 30

#

He said it only takes like 50. Which makes me feel like im doing it wrong

#

Yep

#

I have a while loop. It runs until it reaches the end of the list

#

I could

#

Okay I added it

#

Do you mind taking a look at my code?

#

It wont let me go live

#

I could call?

halcyon notch
soft quarry
#

looks like a soviet country from a game ahahha

#

sweden

halcyon notch
soft quarry
#

im here

#

how duels work?

#

oh ok

#

hahaha

#

this is hard

#

i want to talk i hate this voice verification

halcyon notch
soft quarry
#

ololo hahaha

karmic escarp
soft quarry
#

nice one hahaha

halcyon notch
soft quarry
#

didnt understand this but yea

karmic escarp
#

partitionLists([8,2,5,10], [4,5,6,3,7,5,3]),
([2, 3, 3, 4], [5, 5, 5, 6, 7, 8, 10])

#
def partitionLists(listA, listB, largerFirst = False):
    a = len(listA)
    x = []
    new = listA + listB
    if largerFirst == False:
        x = 
        neww = x[:a] + x[a:]
    else:
        x = 
        x = x.reverse()
        neww = x[:a] 
        neww2 = x[a:]
        final = (neww, neww2)
        
    return tuple(final)
hearty heath
#

Erm, sorry just creating an account

karmic escarp
soft quarry
#

my first thought was russia then i saw a truck with some english words

hearty heath
#

How do I join sorry πŸ‘€

halcyon notch
hearty heath
halcyon notch
hearty heath
#

Play without me while I figure this out sorry

#

πŸŽ‰

#

Β―_(ツ)_/Β―

soft quarry
#

what game mode we are playing?

random minnow
#
soft quarry
#

lets go

halcyon notch
hearty heath
#

;-;

soft quarry
#

ghana

hearty heath
#

What if it's a false flag?

#

Just to catch out people playing geoguesser.

#

Road markings might be a clue πŸ€”

soft quarry
#

egypt i think

#

looked like

#

easyyyy

#

this one is easy

charred creek
soft quarry
#

i thought it was brazil there was portuguese

hearty heath
#

πŸ‘

#

Wait a sec

halcyon notch
hearty heath
#

Erm, am I in the wrong room?

#

Ah

soft quarry
#

just came south american countries ...

halcyon notch
#

try the link

hearty heath
#

πŸ‘

#

Oh, didn't realise the mode had changed lemon_sweat

#

Heading over to staff πŸ‘‹

#

Nice playing with you guys πŸ˜„

soft quarry
#

still didnt understand how this gamemode works ahhaa

charred creek
#

gg

#

I have to leave this here

hearty heath
#

Griff moment lemon_pleased

soft quarry
#

this is hard to guess the ones from london

#

stadiums lemon_swag

#

more 7 messages and i am voice verified

#

yes

halcyon notch
soft quarry
#

Madeira

#

island

#

Acores Lisboa Porto

#

its an island

#

like on the middle of the Atlantic

#

the favorite dishes idk to be honest there are so many that i love but the for soup is caldo verde, main is Francesinha and the dessert Pastel de Nata

#

yes

#

no more lifes

halcyon notch
mint merlin
#

indiaπŸ˜…πŸ˜…

#

how to become a staff member?

keen sierra
#

why do you want to be a staff member?

#

@mint merlin

#

why do you want to be a staff member?

mint merlin
#

Below code help 1

true elbow
#

!> resource, !>resource should both be tokenized as !> and resource

misty sinew
#

LOL

agile hazel
#

!voiceverify

misty sinew
#

I have no idea about coding or programing

#

@solid gyro

#

What are yall talking about?

#

@mild flume

uncut pasture
#

https://www.youtube.com/watch?v=nre0QT9LN6w skipto 'Self Driving Cars' @ 57:00

Rodney Brooks is a roboticist, former head of CSAIL at MIT, and co-founder of iRobot, Rethink Robotics, and Robust.AI. Please support this podcast by checking out our sponsors:

β–Ά Play video
uncut pasture
#

More practically, if you can show 2-3 projects, that is very useful. @vivid acorn
ways to get there: 1) self-taught & tutorials
2) coding bootcamps

LP means 'networking' not 'luck'. Join meetups or do hackathons

fluid heron
#

Disclaimer: I am not a professional career coach. Since you asked, this is my advice.

Look for events that are related to the field of interest. Find as many in person events as you can. Reach out to people that are at the companies you want to work on linkedin. Ask to meet in person. Tell them you are interested in entering the field and you want to buy them a cup of coffee. Enter into all the interactions with the goal of making "professional friends". This method will be slow and will take significant time but the goal is to plant seeds. Try to stay in casual contact with as many as you can. If you are in a tight place financially or have a significant gap in your resume, take any job you can get. If you have good coworkers and managers, establish friendly relationships with them and explore their professional networks for more people you can meet. Nothing is better than a good manager who respects you and will give you a personal recommendation after you worked for them. Every job you take should be about creating new professional relationships and building yourself as a brand. Stay in touch with people you worked with previously. As their careers progress, they will be in a position to offer jobs.

karmic escarp
#

Given a set of n items, we can choose k of them in π‘›πΆπ‘˜ ways. That is, if we have n=3 items (for instance, an apple, an orange, and a pear) and we want to select k=2 of them, there are 3𝐢2=3 ways to do this (an apple and an orange, an orange and a pear, or an apple and a pear).

We can compute π‘›πΆπ‘˜ recursively:

#

def choose(n,k):
if k == 0:
return 1
elif n < k:
return 0
else:
choose((n),(k))

fossil citrus
#

!code

coarse hearthBOT
#

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.

karmic escarp
#

print("Question #4 Test Case #1:", tester(choose(3, 2), 3))
print("Question #4 Test Case #2:", tester(choose(5, 3), 10))
print("Question #4 Test Case #3:", tester(choose(20, 10), 184756))

mint merlin
#

Okay

karmic escarp
#
print("Question #4 Test Case #1:", tester(choose(3, 2), 3))
print("Question #4 Test Case #2:", tester(choose(5, 3), 10))
print("Question #4 Test Case #3:", tester(choose(20, 10), 184756))
fossil citrus
#

```py
put your
code here
```

mint merlin
#

Limit of recursion

fossil citrus
#
def choose(n,k):
    if k == 0:
        return 1
    if n < k:
        return 0 
    choose((n),(k))
mint merlin
#

It can call

#

But we have to change n or k when we can it next time

fossil citrus
#

AB, AC, BC

#
TOTAL_ITEMS_COUNT = 3

results = []
# for 2 item length
for a in range(ITEM_COUNT - 1): # ITEM_COUNT - (LENGTH - 1)
    for b in range(a, ITEM_COUNT):
        results.append((a,b))
fossil citrus
#
def choose(total: int, span: int) -> int:
    if span == 0:
        return 1
    if total < span:
        return 0
    #
pseudo arch
#

@crystal aurora what happened with rust?

#

πŸ‘Œ ❀️

karmic escarp
#
n = 5, k = 3
|
v
1 2*k = 6 - 2 = 4
2 2*k = 6 - 3 = 3
3 2*k = 6 - 4 = 2
4 2*k = 6 - 5 = 1
5 2*k = 6 - 6 = 0
                ___+
                10
#
n = 3, k = 2
|
v
1 2*k = 4 - 2 = 2
2 2*k = 4 - 3 = 1
3 2*k = 4 - 4 = 0
                ___+
                3
plain igloo
#

I'm new to voice channel, what do you do in it?

#

Like I'm in voice chat 0 right now, so what are they making?

karmic escarp
#

idk im in voice chat 1 and we r using the text channel to show stuff we r talking about

fossil citrus
#

!e ```py
n, k = 5, 3

p = k # for loop variable
result = 1
while p > 0:
result *= (n - p)
p -= 1
print(result // k)

coarse hearthBOT
#

@fossil citrus :white_check_mark: Your eval job has completed with return code 0.

8
fossil citrus
#

!e ```py
import itertools
def a(n, k):
v = 1
for i in range(k - 1):
v *= (n - i)
return v // (k - 1)

print(a(3, 2))
print(a(5, 3))
print(a(20, 10), sum(1 for i in itertools.combinations(range(20), 10)))

coarse hearthBOT
#

@fossil citrus :white_check_mark: Your eval job has completed with return code 0.

001 | 3
002 | 10
003 | 6772147200 184756
unique raptor
#

i can say that this is not correct

silk badge
#

open to join ?

#

anyone can join ?

lime badger
#

@crystal aurora you do be looking hot πŸ˜‚

#

What language is that, marco?

#

Oh, sounds nice.

#

lol

#

could someone help me and teach me some code on leetcode

torpid bolt
#

ΠŸΡ€ΠΈΠ²Π΅Ρ‚

frozen mica
#

ΠŸΡ€ΠΈΠ²Π΅Ρ‚

lunar dirge
#

Π”Π°Ρ€ΠΎΠ²Π°

#

Π― Ρ‚ΡƒΡ‚

frozen mica
#

ЗдравствуйтС

lunar dirge
#

Здравствуй Π΄Ρ€ΡƒΠ³

#

Π₯Π°Ρ…Π°Ρ…

frozen mica
#

Π’Π°Ρƒ

lunar dirge
#

?

#

Π§Ρ‚ΠΎ

frozen mica
#

ΠšΡ€ΡƒΡ‚ΠΎ Π²ΠΈΠ΄Π΅Ρ‚ΡŒ Π½Π°ΡˆΠΈΡ… Π² этом мСстС

#

А Ρ‚ΠΎ Ρ€Π΅Π΄ΠΊΠΎ Π²ΡΡ‚Ρ€Π΅Ρ‚ΠΈΡˆΡŒ

lunar dirge
#

Ага

#

Π₯Π°Ρ…Π°

frozen mica
#

Как тСбя Π·ΠΎΠ²ΡƒΡ‚?

lunar dirge
#

НСзнаю

lunar dirge
#

Π£Ρ… ΠΊΠ°ΠΊ ΠΌΠ½ΠΎΠ³ΠΎ ΠΈΡ… Π² гс ΠΊΠ°Π½Π°Π»Π΅

#

Нам Π±Ρ‹ Ρ‚Π°ΠΊΠΎΠΉ Π°ΠΊΡ‚ΠΈΠ² :_)

#

И всСровно Ρƒ Π½ΠΈΡ… ΠΏΠΎΡ‡Ρ‚ΠΈ всС Π±Π΅Π· ΠΌΠΈΠΊΡ€ΠΎ

#

Π›Π°ΡƒΡ€Π΅Ρ…ΠΎ?

wintry sinew
#

@raw wren join me

wintry sinew
peak frigate
raw wren
cloud hawk
#

Hi Popcorn

modest ridge
#

@crystal aurora I have better knowledge in python than rust!

kindred oyster
#

Hey :D

#

bro what

lost falcon
#

what

#

@kindred oyster

kindred oyster
#

brb

lost falcon
#

okay

kindred oyster
#

nvm gtg

lost falcon
#

lmfao

fervent notch
#

hello !

#

πŸ‘‹

misty sinew
#

conquered

#

I could've gone to a wedding but nah

#

Dressing up is a task

#

and I don't even know the family that well

fervent notch
#

@gusty blaze @fervent notch @misty sinew @dull dew @tiny gust

#

eyo guys, i am gonna start this soon

misty sinew
#

πŸ‘

fervent notch
#

fuck skriblle now gives a ad before creating a private room

#

yoyo

#

@misty sinew yo!

#

my fren!

#

hahaha

#

We just playing skribble

#

if you want you can join in!

#

oh you didn't

misty sinew
#

i'm in

fervent notch
#

that's great

misty sinew
#

Ok I just revealed my real name in the skribbl

fervent notch
#

oh that's why you on smoke haha!

#

oh cool

#

mhm

#

@misty sinew you left?

#

yea got it

#

you wanna join too?

misty sinew
#

Back in

fervent notch
#

aight haha!

misty sinew
#

changing my avatar

fervent notch
#

ok go ahead

#

mhm remote!

#

cool cool

gusty blaze
#

Yup I am in

fervent notch
#

lol every company does

#

what about others?

gusty blaze
#

Idk

fervent notch
#

hmm, is that a curved monitor

#

@frigid mountain wanna play skribble?

gusty blaze
#

πŸ‘€ what ya'll talking about?

fervent notch
#

his job lol

gusty blaze
#

O

fervent notch
#

uhm its a game, just join you'll get to know

#

lol hunter

gusty blaze
#

IDFK what to draw dude

#

🀣 I didn't even see the fucking options

fervent notch
#

should we do this game later?

gusty blaze
#

birtch?

fervent notch
#

going hella boring

gusty blaze
#

Okay

#

Sure haha

fervent notch
#

aight cya!

#

rick roll

misty sinew
#

πŸ˜„

fervent notch
#

aight!

gusty blaze
#

Cya!

misty sinew
#

πŸ₯°

fervent notch
#

lets end this!

misty sinew
#

oh

#

Bye then

fervent notch
#

have fun!

gusty blaze
#

Ping me if u play again!

fervent notch
#

will play csgo

#

bye!

gusty blaze
#

Cya!

severe harness
#

Help in the corn section

severe harness
#

@mild flume

#

Why are the images not showing up on the wensite

fervent notch
#

hellol hello

#

aight linus, so my mic is suppressed

#

because i joined the server 3 days ago

#

cuz I left the server

#

lol I am a long time user

#

@misty sinew you installed it?

#

les do it

#

uh?

#

lol you mean vibe?

#

sorry i don't get ou?

#

yeh

#

uh he left

#

i do

#

I am that guy

#

no, there was no one

#

he was just chatting

#

ok lets go

#

yeh

#

open the game and do multiplayer and select the second category

#

yeh

#

the server

#

sorry first one

#

vension

#

fundog

#

its under the 10 ppl

#

server

#

did you do multiplayer > join server?

#

share the screen

#

pls

#

yeh the kazemat

#

I am in that server

#

first one

#

ok cool

#

yes

#

haha

#

no offense

#

yes

#

@misty sinew the longer you take the flag the more your points you get

kindred oyster
#

which game are you playing

#

@misty sinew

#

ah ok

fervent notch
#

@misty sinew so you have to kill members for having frags, when you have flag you should not die if you get killed by a opponent then the other team gets a point

stuck bluff
#

@lost falcon We're down here.

lost falcon
#

yeye

#

lemme get

#

earphones

#

someone say something

#

i have no idea if my earphones are working

#

well kinda

kindred oyster
#

wow

lost falcon
#

my left one works the right one doesn't

kindred oyster
#

yes

lost falcon
#

and they just discconnected

#

wait

kindred oyster
#

wanna play chess anyone

lost falcon
#

fffs

#

i hate wirless earphones so much omg

#

AYEEE IT WORKS

#

i'd speak but my mom's at home lmfao

kindred oyster
#

and celebrations

lost falcon
#

THEY JUST WENT OFF

#

i think they're working??

#

ayee they work

#

for now

#

just gotta be sure not to press any buttons

#

NVIUFNVHIUGNFV

#

no vc for me

stuck bluff
#

Oh well.

lost falcon
#

earphones are acting up

stuck bluff
#

I completely understand.

lost falcon
#

just gonna chill in OT 1

cold trellis
#

i was making fractal visuals today with javascript and html canvas xD

fervent notch
#

@misty sinew i played this for like 3 hours and now my hand hurts

cold trellis
#

!e

def unhex(hex_color: int) -> tuple[int, ...]:
  r = (hex_color >> (8 * 3)) & 0xFF
  g = (hex_color >> (8 * 2)) & 0xFF
  b = (hex_color >> (8 * 1)) & 0xFF
  a = (hex_color >> (8 * 0)) & 0xFF
  return (r, g, b, a)

print(unhex(0xFF00FFFF))

@stuck bluff πŸ€” did i show you this? way to turn hex to rgb / rgba without converting to string

coarse hearthBOT
#

@cold trellis :white_check_mark: Your eval job has completed with return code 0.

(255, 0, 255, 255)
fervent notch
#

a game

craggy mauve
#

which one :D

#

guys can i get a idea to implement in a mario type game?

cold trellis
craggy mauve
cold trellis
#

cuz i remember fcc maid a tutorial for making an entire java game engine using opengl to then make a mario game with it

craggy mauve
#

i am making it in python i got a dead line

cold trellis
#

ah xD

#

@craggy mauvehttps://www.youtube.com/watch?v=YWN8GcmJ-jA

A tutorial on how to create a 2D Mario-style platformer that covers all the fundamentals of this type of game: Level scrolling, collisions, player animations, dust particles and quite a bit more.

Timestamps:
0:00:00 - Intro & overview
0:02:00 - Setting up the level
0:25:29 - Creating the player
0:34:55 - Creating the player 'camera'
0:42:12 ...

β–Ά Play video
kindred oyster
#

clear code is so nice

#

the explanation is just so clear

fervent notch
kindred oyster
#

I used to watch this guy a lot when I was into pygame

craggy mauve
craggy mauve
cold trellis
#

then do it yourself afterwords

#

you don't have to copy him line by line

craggy mauve
#

well if i copy it and implement something it would not be copy i am watching whole video it teaches so well

#

i am gonna add a gun type of thingy and and main menu

fervent notch
#

@misty sinew thats it you are going hard duh!! hahah

misty sinew
#

haha those people are good

craggy mauve
#

unlocking characters after gaining a certain amount of coins

stuck bluff
#

!e py print(int("0xFF00FFFF", base=0))

coarse hearthBOT
#

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

4278255615
craggy mauve
#

what game are u guys playing :\

misty sinew
#

the famous shooter of Assault Cube

craggy mauve
#

Hi @solar sentinel

#

how are you

cold trellis
#

i'm playing making 2d visuals in html canvas xD its fun stuff

#

o- o well if what you call a pro is someone who earns money from it then you are one too aryan

#

lol

fervent notch
#

they are old

#

you left?

#

@misty sinew

misty sinew
#

Yeah I am done for today^^

craggy mauve
#

ok guys gtg bye :D

fervent notch
#

ok cool

stuck bluff
#

!e py a = 5 b = 6 c = a, b print(c)

coarse hearthBOT
#

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

(5, 6)
cold trellis
#

!e

foo = "1 2 3"
print(tuple(map(int, foo.split())))
coarse hearthBOT
#

@cold trellis :white_check_mark: Your eval job has completed with return code 0.

(1, 2, 3)
stuck bluff
#

!e py text = "1 2 3" result = text.split(" ") print(result)

coarse hearthBOT
#

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

['1', '2', '3']
stuck bluff
#

!e py data = ["1", "2", "3"] result = [int(v) for v in data] #if you especially wanted it as a tuple result = tuple(result) print(result)

coarse hearthBOT
#

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

(1, 2, 3)
stuck bluff
#

!e py data = ["1", "2", "3"] result = tuple(int(v) for v in data) print(result)β€Š

coarse hearthBOT
#

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

(1, 2, 3)
cold trellis
#

!e

data = ["1", "2", "3"]

def foo(obj):
    return obj

print(foo(int(v) for v in data))
coarse hearthBOT
#

@cold trellis :white_check_mark: Your eval job has completed with return code 0.

<generator object <genexpr> at 0x7fed7e2f3c30>
cold trellis
#
data = ["1", "2", "3"] # O(n) memory
result = [int(v) for v in data] # O(n) memory
#if you especially wanted it as a tuple
result = tuple(result) # O(n) memory
print(result)

# total O(n*3) memory
data = ["1", "2", "3"]  # O(n) memory
result = tuple(int(v) for v in data) # O(n) memory
print(result)β€Š
# total O(n*2) memory
stuck bluff
#

!e py a = "1", "2", "3" b = (*(int(v) for v in a),) print(b)

coarse hearthBOT
#

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

(1, 2, 3)
cold trellis
#
foo = 3000
bar = 3000

print(foo is bar)

baz = 3000
buz = 4000
buz -= 1000

print(baz is buz)