#voice-chat-text-1

1 messages ยท Page 53 of 1

long warren
#

im doing

#

if [1] = [-1]

inner wyvern
#

if "f" in word or "k" in word: # Corrected condition

long warren
#

i got that part

#
if ("f" or "k") in letters:
        fkCount += 1
#

i just need to get the count bit

#

i mean the first and last letter bit

#

@spare trellis hello

#

let me try that

#

what's up?

#

i feel like the answer is wrong

#

there's only 3 words that have f or k, one has both

#

that doesn't make 4 words that have f or k

spare trellis
#
if ("f" or "k") in letters:
#  ("f") # 1
# if "f" in letters" # 2
long warren
#

my way of doing it got 3 words, which i felt was right

#
 if "f" in letters or "k" in letters:
        fkCount += 1
delicate wren
#

!or-gotcha

coarse hearthBOT
#
The or-gotcha

When checking if something is equal to one thing or another, you might think that this is possible:

# Incorrect...
if favorite_fruit == 'grapefruit' or 'lemon':
    print("That's a weird favorite fruit to have.")

While this makes sense in English, it may not behave the way you would expect. In Python, you should have complete instructions on both sides of the logical operator.

So, if you want to check if something is equal to one thing or another, there are two common ways:

# Like this...
if favorite_fruit == 'grapefruit' or favorite_fruit == 'lemon':
    print("That's a weird favorite fruit to have.")

# ...or like this.
if favorite_fruit in ('grapefruit', 'lemon'):
    print("That's a weird favorite fruit to have.")
long warren
#

weird

#

now how about the first letter/last letter thing

#

how would i check if a word has the same first and last letter?

delicate wren
#

.

inner wyvern
#

Something like this?

    return len(word) > 0 and word[0] == word[-1]

words = ["radar"]

for word in words:
    print(f"'{word}': {has_same_first_last(word)}")```
long warren
#

homework for my intro to python college class

#

lol

#

yeah, if you could help me understand without giving me the answer i'd appreciate it

#

i think so

#

imma be honest, i haven't looked at your contribution pat

#
sentence = "students flock to the arb for a variety of outdoor activities such as jogging and picnicking"

words = sentence.split()
fkCount = 0
sameLetterCount = 0
for letters in words:
    if (letters[0]) == (letters[-1]):
        sameLetterCount += 1
    if "f" in letters or "k" in letters:
        fkCount += 1

print("There are", sameLetterCount, "words that begin and end with the same letter")
print("There are", fkCount, "words that contain f or k")
#

here's what i got so far

#

just needs a print statement i believe

#

i don't have it right

#

it's outputting 0

#

oh i got it

#

i forgot to incriment the variable

#

!e

coarse hearthBOT
#
Missing required argument

code

long warren
#

!e

sentence = "students flock to the arb for a variety of outdoor activities such as jogging and picnicking"

words = sentence.split()
fkCount = 0
sameLetterCount = 0
for letters in words:
    if (letters[0]) == (letters[-1]):
        sameLetterCount += 1
    if "f" in letters or "k" in letters:
        fkCount += 1

print("There are", sameLetterCount, "words that begin and end with the same letter")
print("There are", fkCount, "words that contain f or k")
coarse hearthBOT
long warren
#

there we go

spare trellis
#
print('f' or 'k')
long warren
#

hmm?

#

oh, do it the other way

#

!e

print('f' or 'k')
coarse hearthBOT
long warren
#

!e before your ``` pk

coarse hearthBOT
# long warren !e before your ``` pk ```

:x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     pk
004 | NameError: name 'pk' is not defined
long warren
#

i'm not concatenating this string correctly

#
sentence = "python is a high level general purpose programming language that can be applied to many different classes of problems"

words = sentence.split()
numPorG = 0
strPorG = 'Those words are'
for letters in words:
    if "p" in letters or "g" in letters:
        numPorG += 1
        strPorG += str(letters)

print("Number of words containing p or g is", numPorG)
print(strPorG)
#

how do i make my output, my printed list of words in strPorG, have a comma between each element of the list?

#

@tawny lily any ideas?

#

yeah

#

its a string currently

tawny lily
#

', '.join(list)

long warren
#

and i'm adding strings to it

#

let me try that

tawny lily
#
', '.join(list)
long warren
#

i don't think that's going to work either

#

it's a homework assignment for my intro to python class

#

the required output is "Those words are python,high,general,purpose,programming,language,applied,problems"

#

i have the list of strings in a variable "strPorG"

#

wouldn't that add a comma before every word?

#

i don't want to add a comma to the end of the list

bitter obsidian
#

hi

#

wsp

tawny lily
#

strPorG = []

sly pond
#

I would probably use a list

long warren
#

ah okay

#

i see i see

sly pond
#

and then join

tawny lily
#

strPorG += str(letters)

strPorG.append(str(letters))

sly pond
#

instead of just making a longer string, you can even then just count the len of the list

#

no need for numPorG or strPorG

tawny lily
#
sentence = "python is a high level general purpose programming language that can be applied to many different classes of problems"

words = sentence.split()
words_with_p_or_g = [word for word in words if 'p' in word.lower() or 'g' in word.lower()]

print("Number of words containing p or g is", len(words_with_p_or_g))
print("Those words are:", ' '.join(words_with_p_or_g))
sly pond
#

missed the , in the join

long warren
#

cool i got it

#
sentence = "python is a high level general purpose programming language that can be applied to many different classes of problems"

words = sentence.split()
numPorG = 0
strPorG = []
for letters in words:
    if "p" in letters or "g" in letters:
        numPorG += 1
        strPorG += [letters,]
print("Number of words containing p or g is", numPorG)
print("The words are", ','.join(strPorG))
#

thank you

#

i got it right, lol

#

so, it's for a homework problem

tawny lily
#

strPorG.append()

long warren
#

i'm not allowed to use commands that we haven't covered in the class

#

it's for an intro to python college class

#

so i can't use commands that we haven't learned yet

#

we haven't learned append

#

so i need to do it this way

#

yeah

#

lol, it's just because they want me to go off of the textbook

long warren
#

hello @fast cape

#

yeah, i need to be in the server for a few more days to get talk permissions

#

i'm doing good, i joined to get some help with a homework assignment

#

oh i know, i'm doing it 99% on my own

#

i'm just asking for help with understanding

#

or to get pointed in the right direction

#

its nice to have people to bounce questions off of

#

everyone in here has been very helpful

#

ah yeah, regular discord drama lol

#

drama doesn't care about age range aha

#

i'm working on the last problem on my assignment

#

Problem 10
The cell below has two corresponding lists. The list rainFallMI has the average rainfall for a month. Each element in the list months corresponds to the value in the list rainfallMI.

Write code that does the following by iterating over the list months:

Displays the elements in the list months and rainfallMI as a two column table as shown below.
Finds the month with the largest rainfall and stores the month name in the variable maxMonth and the rainfall value in maxRain.
Finds the month with the smallest rainfall and stores the month name in the variable minMonth and the rainfall value in minRain.
Total the rainfall for the year and store the result in totRain.
Print the information as shown in expected output.
The month must printed left-justified and the rainfall right-justified. You may use string formatting.

Since you can only iterate over one sequence at a time, you need an alternate approach to index into the other sequence. One way is to iterate over one list and index into to other. You may solve this problem in any fashion you choose. However, you must use only one for loop.

#

heres the code i have so far: ```py
rainfallMI = ['1.65', '1.46', '2.05', '3.03', '3.35', '3.46', '2.83', '3.23','3.5','2.52','2.8','1.85']
months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']

print("Mon Rainfall")
x = 0
for entry in months:
print(str(entry) + " " + str(rainfallMI[x]))
x += 1

#

Expected Output:
Mon Rainfall
Jan 1.65
Feb 1.46
Mar 2.05
Apr 3.03
May 3.35
Jun 3.46
Jul 2.83
Aug 3.23
Sep 3.50
Oct 2.52
Nov 2.80
Dec 1.85
The month with the largest rainfall is Sep with a rainfall of 3.50
The month with the lowest rainfall is Feb with a rainfall of 1.46
The annual rainfall is 31.73

#

i have everything except for the last 3 sentences

#

yeah

#

a few weeks ago

#

lol, don't make me feel bad. this is week 2 of my class

#

2 weeks into python, this is all i've learned for programming

misty sinew
#

wait a sec

long warren
#

yeah, that's pretty cool

#

that's one of my favorite things about discord

#

going anywhere special?

#

from where to where?

#

interesting, my girlfriend has been there. what city?

#

i guess that's doxxing, lol

#

you have no idea what city you're moving to?

#

how do you not know, if you're packing up

#

it probably does

#

question

#

how do i take this data set and pull every number to 2 digits?

#
rainfallMI = ['1.65', '1.46', '2.05', '3.03', '3.35', '3.46', '2.83', '3.23','3.5','2.52','2.8','1.85']
months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']

print("Mon Rainfall")
x = 0
maxRain = 0.0
minRain = 100.0
totRain = 0
for entry in rainfallMI:
    print(str(months[x]) + " " + str(rainfallMI[x]))
    x += 1
    if float(entry) > float(maxRain):
        maxRain = entry
    if float(entry) < float(minRain):
        minRain = entry
    totRain += float(entry)

print("The month with the largest rainfall is " + months[rainfallMI.index(maxRain)] + " with a rainfall of " + maxRain)
print("The month with the lowest rainfall is " + months[rainfallMI.index(minRain)] + " with a rainfall of " + minRain)
print("The annual rainfall is " + str(totRain))
fast cape
#

am back again

misty sinew
#

where are you finding these problems?

long warren
#

yeah

#

no, lol. i already did the rest. i just don't know where to go from here

#

i know i need to use the round function

misty sinew
#

is it your homework?

long warren
#

yeah, this is for my intro to python class

misty sinew
#

ohh nice

long warren
#

x is being used wym

#

to index into the other list

#

oh because i started the for statement with months

#

and then i switched it to rainfallMI

fast cape
#
ARR1 = [1, 2, 3, 4, 5]
ARR2 = ['a', 'b', 'c', 'd', 'e']

for a, b in zip(ARR1, ARR2):
    print(a, b)
long warren
#

i can't use syntax that we haven't learned yet :/

#

LOL, yeah

#

that looks good, though

#

i just want to make the output rounded to 2 digits

#

the output

#

This is the expected output:

#

Expected Output:
Mon Rainfall
Jan 1.65
Feb 1.46
Mar 2.05
Apr 3.03
May 3.35
Jun 3.46
Jul 2.83
Aug 3.23
Sep 3.50
Oct 2.52
Nov 2.80
Dec 1.85
The month with the largest rainfall is Sep with a rainfall of 3.50
The month with the lowest rainfall is Feb with a rainfall of 1.46
The annual rainfall is 31.73

#

this is what should be printed when i run the code

#

Mon Rainfall
Jan 1.65
Feb 1.46
Mar 2.05
Apr 3.03
May 3.35
Jun 3.46
Jul 2.83
Aug 3.23
Sep 3.5
Oct 2.52
Nov 2.8
Dec 1.85
The month with the largest rainfall is Sep with a rainfall of 3.5
The month with the lowest rainfall is Feb with a rainfall of 1.46
The annual rainfall is 31.73

#

and september

#

uhhh

#

yeah

#

say it again?

#

because i can't alter the given string

#

i was going to do that with the round function

#

but when i changed every entry to 2 decimals, when i refer back to the index position of (maxRain) in the statement py print("The month with the largest rainfall is " + months[rainfallMI.index(maxRain)] + " with a rainfall of " + maxRain) , it remembers it as 3.5 and not 3.50

#

okay let me try that

#

didn't work

#
str(round(float(str(entry)), 2)))
#

i tried this, lol

#

i don't know, lol

#

it doesn't work if i take out the inner string

fast cape
#
for entry in rainfallMI:
    print( "%.2f" % float(entry)) 
long warren
#

i can't use any syntax that we haven't covered yet, lol

#

yeah, i know it's confusing but i appreciate your help

#

i don't really know how to answer, i've learned a few things about strings

#

concatenation, referring to them by index, etc

#

yeah, we covered splitting

#

substring?

#

not sure

#

i don't think so

#

i can just leave it unrounded i suppose

#

it doesn't seem like i have the tools to do this

#

i just don't know how to add that trailing zero

#

nothing seems to do it

#

round doesn't work for some reason

#

joins, sighs, leaves

#

it seems good enough, lol

#

no, like i wanted to use round to add a trailing zero

#

it's displaying as 3.5 and not 3.50

#

i can't use it bc we haven't covered it in class yet, lol

tawny lily
#
text = f"{float(entry):.2f}"
long warren
#

no, i can't use that either

#

it's alright, i'll just submit it as it stands, aha

#

thank you for the help

#

it's too late, i submitted it :)))

#

aha, i'm sorry.

fast cape
long warren
#

okayyyy, i'm a week ahead in my class now

#

now do i suffer through my networking class? absolute pain

fast cape
#
@media (max-width: 768px) { 
        .card-container {
            flex-direction: column;
        }
    }
tawny lily
#
        .user-edit-action {
            grid-column: span 3;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }
        @media (max-width: 768px) {
            .user-edit-action {
                grid-column: span 1;
                grid-template-columns: repeat(2, 1fr);
            }
        }```
long warren
#

okay, i'm gonna get ready for bed

#

thanks everyone

#

good night

stuck bluff
#

@rose galleon ๐Ÿ‘‹

rose galleon
#

@stuck bluff

#

hi

thin lintel
stuck bluff
#

@mighty spire ๐Ÿ‘‹

mighty spire
tawny lily
mighty spire
#

I'm new to the server so I can't speak in the voice chats...

coarse hearthBOT
#
Voice verification

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

tawny lily
mighty spire
#

I'm gonna need 50 messages alr alr

#

@thin lintel It sounds like you're purring lol

tawny lily
#

yes

#

Its her cat

thin lintel
#

she went away now

mighty spire
#

oh that's so cute lmao

thin lintel
#

It was her

mighty spire
#

we all just moved over LOL

delicate wren
#

disabled dynamic mutation speed just to check how it'll look

#

I should add colour rotation inertia

#

idk how to mathify that though

#

rotation is easy-ish in 3D

#

through quaternions

#

but I need to do that in 5D

#

so, like, matrices

#

I dropped the blend ratio from 1/10 to 1/100, I wonder what that'll cause

thin lintel
#

Finland holds the title for the highest per capita coffee consumption globally, with an average Finnish individual consuming close to four cups of coffee each day.

jovial cradle
#

but they never finnish them

jovial cradle
stuck bluff
#

Would Tiger brand coffee be rawr coffee?

#

@slow lantern ๐Ÿ‘‹

#

@misty sinew ๐Ÿ‘‹

delicate wren
#

I may try bringing back the low-saturation thing

#

I realised the more proper way to do it

#

@umbral rose cough-ine

umbral rose
#

!stream 221417491136512010 2h

coarse hearthBOT
#

โœ… @sly pond can now stream until <t:1739122977:f>.

delicate wren
#

I disabled anti-grey measures, maybe now it'll be less toxic-coloured

delicate wren
#

10 times less intense

marsh lodge
delicate wren
#

rainbow clouds

marsh lodge
lavish spear
#

How do you create these watercolors?

delicate wren
#

each color is generated through random walks on a surface of a 5D sphere

#

2 extra dimensions are truncated

lavish spear
#

do you have this hosted on your git or somewhere viewable Id be curious to study that math

#

I have been trying to implement quaternions to render rotations for example and this seems related

delicate wren
#
self.r += normal.sample(rng);
self.g += normal.sample(rng);
self.b += normal.sample(rng);
self.x += normal.sample(rng);
self.y += normal.sample(rng);
let q = (self.r * self.r
    + self.g * self.g
    + self.b * self.b
    + self.x * self.x
    + self.y * self.y)
    .sqrt();
self.r /= q;
self.g /= q;
self.b /= q;
self.x /= q;
self.y /= q;

this is basically all

lavish spear
#

thank you

delicate wren
#

to get the rainbow, it's slightly adjusted:

let q = (self.r * self.r) + (self.g * self.g) + (self.b * self.b);
let q = q.sqrt();
let k = 0.01 * q;
self.r += normal.sample(rng) + k * (self.b - self.g);
self.g += normal.sample(rng) + k * (self.r - self.b);
self.b += normal.sample(rng) + k * (self.g - self.r);
#

(cross product with the grey colour vector)

marsh lodge
delicate wren
#

@wary fable I hear about that one for ~20th time

misty sinew
#

Definitely oil from the arctic

delicate wren
#

@glad turtle there is a very reliable computer that's not designed to run Linux

#

it's designed to run illumos

#

without BIOS/UEFI

glad turtle
#

@delicate wren I need to be running Linux on it

#

I'm surprised by the level of trolling in VC sometimes

#

I should've called out FERGUS for being a troll

#

I need to remind myself to call out people for that kind of behavior

delicate wren
#

at scale you cannot build reliable systems without multiple computers -- this is not trolling

lavish spear
#

thank you alisa

delicate wren
#

but, yes, individual computers' reliability does matter

#

that's what, for example, Oxide concern themselves with

glad turtle
delicate wren
#

that's what Google used to do

glad turtle
#

and when I say "broken" I mean the drivers are unsuitable or whatever is happening in the OS isn't conducive to high uptime

delicate wren
#

keyword used to

#

now hyperscalers do realise that individual systems' uptime is criticial too

#

that also includes, for example, network switches and other "auxiliary" components

glad turtle
#

it's a stretch to discuss hyperscalers when the discussion about individual system reliability is not covered yet

#

The topic of the conversation was hijacked, twisted and misinterpreted by FERGUS

delicate wren
#

reminder that conversations normally are between more than 1 person, no one is obliged to talk about exactly what you want to talk about

glad turtle
#

that I would've been okay with

delicate wren
glad turtle
delicate wren
#

they add redundancy even at that level

glad turtle
#

but @lavish spear pulled out his credentials and made it seem like the entire conversation is about his ego and credentials, which it never was

#

but that's how trolls are

delicate wren
#

they already stopped participanting in this conversation, stop attacking them.

glad turtle
#

it's also a self-note so i can know in the future what level of creedence or depth my conversations with them can have
my conclusion is they're talking more in jest not really looking to be serious in the conversation
there's a lot of people like that on Discord so it's not surprising

delicate wren
#

@marsh lodge "no non-technical contributions are credited"

#

@lavish spear via FFI

#

IPC or rewrite are the alternatives

#

DFS is fairly trivial

#

A* and similar achieve a bit better results often

jovial cradle
#

In this beginner Blender tutorial we'll be learning how to make a basic Sword

We'll be modelling the sword in Blender from scratch using beginner techniques to make this model in under 10 minutes.

LINKS:

Sign up to BlenderKit for over 12,000 FREE materials and 10% OFF any paid plan with my link:
https://www.blenderkit.com/r/schulta3d

โ–ถ Play video

In this tutorial you are going to learn how to create a low poly sword in blender in a few simple steps.
I'm new in doing tutorials, so please give me feedback in the comments. If you have any questions you can ask them in the comments.
Thanks for watching!

How to enable LoopTools: https://www.reddit.com/r/TenTech/comments/1eyn858/how_to_enabl...

โ–ถ Play video
#

@lavish spear

marsh lodge
#

A Zelda-style RPG in Python that includes a lot of elements you need for a sophisticated game like graphics and animations, fake depth; upgrade mechanics, a level map and quite a bit more.

Thanks for AI camp for sponsoring this video. You can find the link to their summer camp here: https://www.ai-camp.org/

If you want to support me: https://...

โ–ถ Play video
sly pond
#
jovial cradle
#

went away and did this bullshit @lavish spear

marsh lodge
marsh lodge
#

I don't have microphone drivers on my linux distro yet

#

can you run that by me again?

#

my volume was low

#

I may have had a hand in that

#

I can't tell if it's stuck in a loop of not

#

just tryna get my codecs for my headset ;~;

jovial cradle
marsh lodge
#

finally almost done installing cmake

#

nvm, more steps :(

marsh lodge
#

this is taking forever

#

Still can't get my mic to work on linux :(

#

I'll work on it later

#

back on windows

toxic tinsel
#

@sly pondis this game yours or you just playing it?

sly pond
#

Moonlighter, got it in a charityu bundle

silk hill
#

any way to distribute my exe, without the UNKNOWN PUBLISHER error? @mild flume

mild flume
#

By having a signed cert

#

No real way otherwise. Can't remember how that works, mind you

silk hill
#

thats too expensive ๐Ÿ˜ฆ

mild flume
#

What's the project?

silk hill
#

a simple webscraper app for multiple websites, i have it all ready, just wanna work on the distribution

#

i have the gui in custom tkinter rn

mild flume
#

Checking something

#

What websites?

silk hill
#

amz, flipkart, myntra, nykaa

#

they are indian websites

delicate wren
#

it's Python, so you can just distribute the source code alongside the bundled version;
if someone is concerned about the publisher issue, they can use it without exefying

silk hill
#

i wnna sell it, dont think it will be a good first impression

#

also the target audience is basically ecom company employees

delicate wren
#

if you want to sell it, then paying for certification seems reasonable;
sure, it might be overpriced, but still, you're at least making some money back

silk hill
#

hmm

delicate wren
#

selling programs entirely written in Python is somewhat non-trivial;
may be reasonable just to sell the source code and rights to using it as is

silk hill
#

if code comes with it.

delicate wren
#

with exe being prepackaged only for convenience

silk hill
#

yessir

#

same thought

delicate wren
#

contract of sale must also include the customer refraining from using the code for any other purpose other than running it and doing whatever else they're allowed to do by law

silk hill
#

bro fr i was thinking the same xD

#

gonna create a simple shopify website now

mental horizon
#

@oak pewter you have disconnected again

#

maybe use data

dapper musk
#

hi everyone. i'm new on discord. if i'm here it's because i'm looking for enthusiasts for a python project.

high skiff
#

Yoo can someone help me with flask question?

high skiff
#

Look in dms magey

#

@marsh lodge

hushed wraith
#

so whos making gane guys?

elder wraith
broken kelp
#

yo

#

@proper ridgewhat u talkin about ?

proper ridge
#

Nothing.

broken kelp
#

ok ...

#

u doin internship or job somewhere ?

sand flame
#

hello

broken kelp
#

yea

#

guide me i m

#

hell naw

#

i wanna make money

#

@proper ridge

#

oo

#

ok....i m super newbie

#

yea

#

how do i make python basics strong ..

#

i m in iit patna

#

nah bro ...i didnt study nothing in first sem

#

how much u make ?

#

ok so the roadmap that i m following is : read python book - build mini projects ..

proper ridge
#

For now just build your foundation.

broken kelp
#

i m decent at maths,

proper ridge
#

Don't worry about money.

broken kelp
#

kk gtg bye

viral granite
frosty plaza
#

In mathematics, a manifold is a topological space that locally resembles Euclidean space near each point. More precisely, an

    n
  

{\displaystyle n}

-dimensional manifold, or

    n
  

{\displaystyle n}

-manifold for short, is a topological space with the property that eac...

proper ridge
#

I'll be back later.

#

@frosty plaza Cya sir!

frosty plaza
#

hope 2 c u soon

stuck bluff
#

https://en.m.wikipedia.org/wiki/Myersโ€“Briggs_Type_Indicator

Despite its popularity, the MBTI has been widely regarded as pseudoscience by the scientific community.[1][3][2] The validity (statistical validity and test validity) of the MBTI as a psychometric instrument has been the subject of much criticism. Media reports have called the test "pretty much meaningless",[67] and "one of the worst personality tests in existence".[68] The psychologist Adam Grant is especially vocal against MBTI. He called it "the fad that won't die" in a Psychology Today article.[11] Psychometric specialist Robert Hogan wrote: "Most personality psychologists regard the MBTI as little more than an elaborate Chinese fortune cookie".[69] Nicholas Campion comments that this is "a fascinating example of 'disguised astrology', masquerading as science in order to claim respectability."[70]```

@potent sun

The Myersโ€“Briggs Type Indicator (MBTI) is a self-report questionnaire that makes pseudoscientific claims to categorize individuals into 16 distinct "psychological types" or "personality types".
The MBTI was constructed during World War II by Americans Katharine Cook Briggs and her daughter Isabel Briggs Myers, inspired by Swiss psychiatrist Car...

#

@vapid fog ๐Ÿ‘‹

vapid fog
#

Hi

#

I am a beginner in coding

#

Can anyone help me

#

From where I have to start I can't get it

stuck bluff
#

!resources

coarse hearthBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

vapid fog
#

Thanks for this resource

stuck bluff
#

@modest tiger ๐Ÿ‘‹

#

@worthy flax ๐Ÿ‘‹

worthy flax
#

hi everyone

wide cloak
#

?

#

man when am i going to be able to talk

stuck bluff
coarse hearthBOT
#
Voice verification

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

stuck bluff
#

Oh, I see.

#

Nevermind!

marsh lodge
#

Do you guys think the assets in the first picture could get me a C&D due to similarity to the second picture?

delicate wren
#

@thin lintel to some people (me) that eye thing only starts after, like, 20 hours, at which point it's not the most noticeable side effect

#

it's only -8 degrees C currently

thin lintel
#

-6 here

dawn lodge
marsh lodge
#

Yeah, that is kind of what I've been thinking...

dawn lodge
marsh lodge
dawn lodge
#

@marsh lodge are you a sprite artist?

marsh lodge
#

It is an asset pack that I bought off of itch.io!

dawn lodge
marsh lodge
#

I wish I could do pixel art like this!

#

ahahaha, Good plan!

#

Good thing they can't come delete it off my computer if it gets pulled!

#

Love this pack.

stuck bluff
#

@icy ruin๐Ÿ‘‹

icy ruin
#

hi

#

@stuck bluff hey do u know anyone who is currently free to explain about github thru vc or chats? pls dm

stuck bluff
#

@visual cove๐Ÿ‘‹

visual cove
#

hello

delicate wren
#

speaking of sad songs, time to re-listen to "ะฅั‚ะพะฝัŒ" again

stuck bluff
#

@sour cave๐Ÿ‘‹

#

@native solar๐Ÿ‘‹

visual cove
#

bye guys

delicate wren
#

@stuck bluff red-white-blue? Netherlands?

stuck bluff
#

Greenland.

delicate wren
#

when I hear "red-white-blue", I don't think about US

#

far from first association

sour cave
thin lintel
#

Mage -y

#

amaranth

marsh lodge
#

Crab boss!!!!

delicate wren
#

@dawn lodge could be same reason why TeX is pronounced TeKH

#

i.e. it's Greek Chi

dawn lodge
delicate wren
#

ฯ‡ฮฌฮฟฯ‚

stuck bluff
delicate wren
#

there is no anime "guy"

coarse adder
delicate wren
#

no

coarse adder
#

oh i am from greece sorry i thought you could speak

delicate wren
#

I'm aware of its phonetics

coarse adder
#

neat

delicate wren
#

@stuck bluff horizontally

#

horizontally halved

stuck bluff
coarse adder
#

sorry i have less than 50 messages sent on the server i cannot use my mic

#

i am currently making a terrain painter on our editor over here, we currently have raycast issues on it :/

delicate wren
#

"I live next to Russia too"

#

(it's a joke about a certain subject being not real Russia)

dawn lodge
#

ahhh

coarse adder
thin lintel
main garden
misty sinew
#

Trump is the definition of USA

#

He represents the USA

delicate wren
#

@split imp it very much does

#

president being a bad person doesn't excuse being a bad person

misty sinew
#

Politics matters but not in this server!

main garden
misty sinew
#

This server is about Python, so avoid topic and discussion about Trump, etc

delicate wren
#

not discriminating against people is way more about basic decency rather than politics.

main garden
#

but I dont give a shit what you believe, just dont start trying to convince me to please what you believe

misty sinew
misty sinew
#

Talking about politics brings envoy, distress, etc.

Server is meant for friendly discussion and help with python

main garden
misty sinew
main garden
thin lintel
delicate wren
#

@marsh lodge give them written down stuff that science-ing would contradict

delicate wren
#

but, yes, avoid polarising and overly detached from reality discussions

main garden
#

I just wanted to argue :(

coarse adder
#

wow what happen?

delicate wren
main garden
#

ight, im tired. goodnight honey

misty sinew
delicate wren
split imp
#

eg supporting trump

#

if someone is actually discrimating against people then i understand ending the friendship

delicate wren
#

"supporting trump in everything" is enough to call someone a bad person.

#

"supporting trump in general" less so

split imp
#

right

#

i agree

delicate wren
#

the discussion may be a complete agreement between all parties and still be a total waste of time

#

if it devolves into just abstractions and buzzwords, that's one of such cases

misty sinew
split imp
#

right

#

this is about when you disagree with your friends political belief

#

on moral grounds

delicate wren
#

@dawn lodge trademarks need to be enforced

#

else the company risks losing it

#

there has been a lot of cases when a company patents some mechanic

#

part of why you should never read patents

marsh lodge
#

the problem is they're actively destroying things that aren't malignant, that are mostly benign and aren't a threat to them anyways

delicate wren
#

and if you do, never admit to it

misty sinew
#

Talking about patents, I wonder why we have to pay for a domain and who gets all that money and why?

tawny lily
wary fable
marsh lodge
stuck bluff
#

Okay, there we go.

#

Kivy, yes.

#

@tender monolith๐Ÿ‘‹

#

@gentle oriole Muted, but paying attention.

marsh lodge
#

Refining

stuck bluff
#

Yahoy.

#

"The Book of Erors."

gentle oriole
#

Book of Errors

#

lol

stuck bluff
#

I know, I was just making fun.

marsh lodge
#

:)

stuck bluff
#

Yo.

misty sinew
#

uhh hello

#

lol

#

okay I like pie.

gentle oriole
#

I like pee too

#

pie*

misty sinew
#

@stuck bluff real quiet today

misty sinew
stuck bluff
misty sinew
#

ewwww

#

me veg

olive palm
gentle oriole
misty sinew
#

okay I need to go cuz I go mad, with these topics

#

gg

stuck bluff
#

That's pi, not pie.

coarse adder
#

hello

#

lmao

#

hahhaa

#

lol

gentle oriole
#

Piegame

#

Pie

stuck bluff
#

https://en.wikipedia.org/wiki/I'm_a_Gummy_Bear If you ever want a song that will live forever in your brain...

"I'm a Gummy Bear (The Gummy Bear Song)" is a novelty dance song by Gummibรคr, in reference to the gummy bear, a type of bear-shaped candy originating in Germany. It was written by German composer Christian Schneider and released by Gummibรคr's label Gummybear International. The song was first released in Hungary, where it spent eight months as nu...

coarse adder
#

@umbral rose sounds like these type of devs are indeed might having adhd or aspergers

stuck bluff
#

It is in the description.

coarse adder
#

in fact most devs are in the autistic spectrum

#

i am autistic

#

and i've seen many

stuck bluff
#

Many, sure. That sounds reasonable. Most? Ehhhh...

coarse adder
#

well okay it's about grammar now okay

stuck bluff
#

Not grammar.

coarse adder
#

i am from greece sorry

marsh lodge
stuck bluff
#

Semantics of many vs most.

gentle oriole
coarse adder
#

see

#

it's fact because hang on...

stuck bluff
#

A version of Linux in a PDF file? What does that even mean? They saved the hex digit sequence for the disk image?

coarse adder
#

in neuroscience they did a study way back ago that high functioning autism can indeed make you special/good to specific things like coding

stuck bluff
#

Wait, the PDF file had active content?

coarse adder
#

is there anyone interested on contributing a project of ours it's a game engine editor

marsh lodge
coarse adder
#

in 3d

stuck bluff
#

It's because you're on Discord call with a speaker mode set to phone speaker vs loudspeaker.

coarse adder
stuck bluff
#

If you set your Discord to use the speakerphone, it should stop trying to use the proximity sensor.

marsh lodge
umbral rose
coarse adder
#

it still updates

stuck bluff
#

Is my guess.

stuck bluff
umbral rose
coarse adder
umbral rose
#

Ohh, they don't have an editor yet and you are working on this as a solution to that

#

I get it

coarse adder
#

but they haven't check how modular and

#

yeah

#

and... and the features are a lot

#

who ever is interested just dm and ill get ya to the community of the editor

sly pond
marsh lodge
#

GAME DESIGN

coarse adder
sly pond
wide cloak
#

% gdp going to social programs

#

you're statement doesn't hold imo

umbral rose
#

The statement was about world relief efforts, not military spending afaik

#

There's no way we'd ever spend that much on military here

wide cloak
midnight meadow
#

compare that number based on GDP not on numerical value

wide cloak
#

i guess i'm just not sure how canada is overspending in this arena to argue that it is a source of the racism

midnight meadow
#

Canadian GDP: US$ 2.117 trillion
USA GDP: US$23.4 trillion

#

so

#

ten times the size

#

meaning canada actually contributes more of their GDP growth then the US does

wide cloak
#

germany 4.456 trillion. i guess i don't see the correlation.

midnight meadow
#

It's about perception, Germany is also the head of the largest economic system outside of america

wide cloak
#

but again if US lower % per gdp, then wouldn't it be that we have the opposite effect?

umbral rose
#

Current strain here

elder wraith
#

American entering a chat hearing another country is the best. ๐Ÿฆ… ๐Ÿฆ… ๐Ÿฆ… noises

meager rampart
#

@midnight meadow

midnight meadow
#

too too hot

sly pond
#

does that eagle sound like a hawk?

elder wraith
wide cloak
#

gf has a meeting

#

going to mute

#

pretty common with a lot of people, aspergers or not. @coarse adder

pastel coral
#

toe-ml

coarse adder
#

toml

#

lol

pastel coral
#

it was a joke

digital haven
#

!stream 594924091207843841

coarse hearthBOT
#

โœ… @coarse adder can now stream until <t:1739380570:f>.

coarse adder
coarse hearthBOT
#

src/QPanda3D/QPanda3DWidget.py line 139

def dragEnterEvent(self, event: QDragEnterEvent):```
digital haven
#

!stream 962128994814263316

coarse hearthBOT
#

โœ… @calm tusk can now stream until <t:1739381655:f>.

digital haven
#

!stream 962128994814263316

coarse hearthBOT
#

โœ… @calm tusk can now stream until <t:1739382987:f>.

digital haven
#

This problem looks like we're not getting anywhere with an inline fix approach, this sounds like you'll need to go and implement this as an actual feature update for your repo rather than trying to get a patch done over discord :)

digital haven
#

!stream 263551503082455050

coarse hearthBOT
#

โœ… @brisk lark can now stream until <t:1739383143:f>.

supple gust
stuck bluff
#

!kindling

coarse hearthBOT
#
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.

patent crypt
#

!e

coarse hearthBOT
#
Missing required argument

code

coarse adder
#

๐Ÿ˜ฎ

proper ridge
#
def get_depth(self) -> int:
        if not self.children:
            return 0

        # If the depth for this node has never been calculated,
        # calculate it by getting the maximum depth of the children
        # and set it as the depth of this node
        # This is done to avoid recalculating the depth of the node
        # every time this method is called
        if not hasattr(self, "depth"):
            self.depth = max([child.get_depth() for child in self.children.values()]) + 1

        return self.depth
proper ridge
#
from pprint import pprint

class Node:
    def __init__(self, name, *children):
        self.name = name
        self.children = {child.name: child for child in children}
        self.depth = 1 + max((child.depth for child in children)) if children else 0

    def __repr__(self):
        return f"Name: {self.name}, Children: [{self.children}]"

ops = [
    {"gate": "X", "qubits": [0]},
    {"gate": "CX", "qubits": [0, 1]},
    {"gate": "H", "qubits": [0]},
]

op_stack = {
    "Q0": [Node("Q0")],
    "Q1": [Node("Q1")]
}

for op in ops:
    gate = Node(op["gate"], *[op_stack[f"Q{q}"][-1] for q in op["qubits"]])

    for q in op["qubits"]:
        op_stack[f"Q{q}"].append(gate)

pprint(op_stack)

print(op_stack["Q0"][-1].depth)
print(op_stack["Q1"][-1].depth)
reef granite
#
from __future__ import annotations

from dataclasses import dataclass, field
from itertools import pairwise
from typing import Hashable


@dataclass
class Node:
    name: Hashable = None
    children: set[Node] = field(default_factory=set)


if __name__ == "__main__":
    all_nodes: dict[Hashable, Node] = {}
    for i in range(1, 10):
        all_nodes[i] = Node(name=i)

    path_1 = [1, 2, 3, 4]
    path_2 = [5, 6, 2, 7, 8, 9]
    path_3 = [x, 2, 3, y]
    for path in [path_1, path_2]:
        for a, b in pairwise(path):
            all_nodes[a].children.add(all_nodes[b])
delicate wren
#

(I'll be leaving in ~2 hours)

#

decided to take paid time off for a week, going to another city

#

~6 hours by train

#

450km approximately

#

family, yes

icy niche
#

hi

#

hello

delicate wren
#

this is somewhat unusual

#

24 hours of continuous temperature drop

icy niche
#

i try to get permision for speek

#

soory for my english

#

i need to improve that

misty sinew
#

hi im tryna learn python

#

i lit js started

#

i dont even know how to code

umbral rose
#

Welcome

#

!resources is a great place to start ๐Ÿ˜„

coarse hearthBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

delicate wren
#

lit js
when I read that, my instant thought was about that one web components framework

delicate wren
misty sinew
#

oha

#

i canmot speak

delicate wren
#

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

misty sinew
stuck bluff
#

@azure flame๐Ÿ‘‹

azure flame
#

Hi

#

Just bored on discord, I can drop if I am being a distraction.

#

I am a software engineer in Seattle, ex Amazon, eBay, Starbucks, etc etc.

#

Just keeping conversations going pretty much constantly.

#

๐Ÿ‘

#

It was interesting, I have to e-sign a document promising:

#

I will not abuse the modems!

#

It was clearly at least a decade out of date.

#

That role was mostly Node, Jenkins, etc.

delicate wren
#

2007

crude mica
#

I love JavaScript if only i could understand it

#

I am trying so hard to get verified as well but yeah this is good i am happy the way it is it is 50 messages i am going to have to crank them out

misty sinew
#

Java script is like Java but with script

rain wave
#

lol

jagged ibex
#

weo

#

wow

jagged ibex
#

i want trying write site

icy niche
#

hola

#

hello

dull carbon
#

ls

#

oops

#

anyone here beablt to help me with a project ihave hit a wall and feel stupid

#

be Able

sly pond
granite turtle
#

hi

proper ridge
#

@mild flume Join us. One of us. One of us...

stuck bluff
#

He'll join when he joins if he joins. It's not like he needs encouragement.

proper ridge
#

!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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

proper ridge
#

!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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

proper ridge
#

!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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

proper ridge
reef granite
proper ridge
#
import numpy as np

# Rounded off U
U = np.array([
    [-0.-1.j,  0.+0.j,  0.+0.j,  0.+0.j],
    [ 0.+0.j,  0.+1.j,  0.+0.j,  0.+0.j],
    [ 0.+0.j,  0.+0.j, -0.-1.j,  0.+0.j],
    [ 0.+0.j,  0.+0.j,  0.+0.j,  0.+1.j]
])

# What Ubuntu captures before passing to np.linalg.eig
U = np.array([[ 5.55111512e-17-1.00000000e+00j, -5.55111512e-17+5.55111512e-17j,
         0.00000000e+00+0.00000000e+00j, -2.77555756e-17+1.38777878e-16j],
       [-5.55111512e-17+5.55111512e-17j, -5.55111512e-17+1.00000000e+00j,
         2.77555756e-17-1.38777878e-16j,  0.00000000e+00+0.00000000e+00j],
       [ 0.00000000e+00+0.00000000e+00j,  2.77555756e-17-1.38777878e-16j,
         5.55111512e-17-1.00000000e+00j, -2.77555756e-17+5.55111512e-17j],
       [-2.77555756e-17+1.38777878e-16j,  0.00000000e+00+0.00000000e+00j,
        -2.77555756e-17+5.55111512e-17j, -5.55111512e-17+1.00000000e+00j]])

# What Windows captures before passing to np.linalg.eig
U = np.array([[-1.11022302e-16-1.00000000e+00j,  1.11022302e-16+1.11022302e-16j,
         0.00000000e+00+0.00000000e+00j,  0.00000000e+00+0.00000000e+00j],
       [ 1.11022302e-16+1.11022302e-16j,  1.11022302e-16+1.00000000e+00j,
         0.00000000e+00+0.00000000e+00j,  0.00000000e+00+0.00000000e+00j],
       [ 0.00000000e+00+0.00000000e+00j,  0.00000000e+00+0.00000000e+00j,
        -1.11022302e-16-1.00000000e+00j,  1.11022302e-16+1.11022302e-16j],
       [ 0.00000000e+00+0.00000000e+00j,  0.00000000e+00+0.00000000e+00j,
         1.11022302e-16+1.11022302e-16j,  1.11022302e-16+1.00000000e+00j]])

a, b = np.linalg.eig(U)

print(np.round(a, 8))
reef granite
marsh lodge
#

@umbral rose

jade helm
#

Can anyone explain this:
print("Hello World)
I am getting error running this

high scroll
#

change print("Hello World)

to

print("Hello World")

last wind
umbral rose
marsh lodge
umbral rose
marsh lodge
sly pond
#

TF2 source code?

marsh lodge
#

Come back! I miss you guys :(

delicate wren
#

those gifs are very bad for mobile performance for whatever reason

sly pond
#

He was very sad about it

#

he said he's not supposed to ask

#

he believes it is in bad form to ask

#

It means he does hard drugs late at night

#

those things we lock poor americans up for

mild flume
#

!d argparse

coarse hearthBOT
mild flume
#

Oh huh, yeah there it is

#

!pypi mistletoe

coarse hearthBOT
#

A fast, extensible Markdown parser in pure Python.

Released on <t:1720952255:D>.

mild flume
#

@reef granite Are you wanting to make sure this is compatible with Linux and Mac as well as Windows?

#

Or is this more tailored to Windows

#

(batgrl)

#

I'm just surprised that pywin32 isn't in your dependencies

#

Unrelated, GOD I love No Man's Sky...

#

I've always had a love/eh relationship with it, but it's scratching all the right itches right now

#

An appropriate heart color this time at least

#

Stahp

#

!pypi pywin32

coarse hearthBOT
#

Python for Window Extensions

Released on <t:1728765717:D>.

sly pond
#

Because it got water on it

reef granite
sly pond
#

coffee is coffee

#

gotta get that ceffiene, not much else matters

mild flume
#

@marsh lodge

sly pond
#

Only if you don't miss the critical area

reef granite
raven orbit
sly pond
raven orbit
#

@thin lintel

sly pond
thin lintel
mild flume
#

The best pizza is free pizza

thin lintel
#

Check out the new The Great Season 1 Trailer starring Elle Fanning! Let us know what you think in the comments below.
โ–บ Learn more about this show on Rotten Tomatoes: https://www.rottentomatoes.com/top-tv/?cmp=RTTV_YouTube_Desc

Want to be notified of all the latest TV shows? Subscribe to the channel and click the bell icon to stay up to date.

...

โ–ถ Play video
sly pond
#

$45 / salmon?

#

are they small?

thin lintel
#

dunno

raven orbit
#

this is the boat I learned to sail on

tulip grail
raven orbit
#

@tulip grail ons skรปtje toen we 'm hadden

#

but we sold it

#

because maintenance

sly pond
#

Why does he care about a rapist? Birds of a feather

thin lintel
#

@cedar salmon

#

why muumi?

sly pond
#

โค๏ธ DB management

cedar salmon
cedar salmon
thin lintel
#

nice

ashen willow
cedar salmon
raven orbit
#

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

thin lintel
#

did you watch it dupped?

raven orbit
#

they are a pain

cedar salmon
#

I watched like dubbed version of it.

#

Nepali

#

bruh, why is my ear ringing I think I have had too much coffee

raven orbit
#

the windows

cedar salmon
raven orbit
#

sash windows

#

they leak air

cedar salmon
raven orbit
#

but then they cannot open

cedar salmon
raven orbit
#

no.

cedar salmon
#

then pay me to remove it

woeful canopy
#

where is the pinging coming from

#

im starting to go crazy

sly pond
#

What are we paying $45 a month for?

#

queen is in 0

#

queen just joined us

#

There's a boatload of quickwire with the cat

#

should be a double tall box of it

#

@marsh lodge 2nd floor near the needle

#

coming in that corner that I built

#

oh

#

that's an odd decision

woeful canopy
#

alt-f4

sly pond
#

That'll make you hate the game, rebuilding the factory each upgrade

#

imagine refactoring your whole game every time yo uadd a feature

#

wanna add the bow? Ful lrefactor

#

bombs? better rewrite the tiled reading logic

marsh lodge
sly pond
#

the quickwire?

#

You rebuilt the factory for iron

#

I'm not concerned

#

just stating

#

after years of factory games

#

easiest way to burnout on a save

#

rebuilding the things that work, instead of building the things you need to progress

#

What's that got to do with SQL Injection?

marsh lodge
#

Yeah, it would probably behoove me to leave it as is if I finish the refactor(y)

sly pond
#

๐Ÿคท if you're having fun, that's all that matters

#

I don't bother much refactoring in Satisfactory until jetpack

#

well, hoverpack?

#

whatever the electric one is

#

Factorio I wait for bots

marsh lodge
#

Yah, Hoverpack is the electric one

delicate wren
#

VPN died altogether, can't even attempt to connect to VC with it enabled

woeful canopy
#

@marsh lodge well today you shall learn

#

damn it

#

"wake up from reality. Nothing goes as planned in this acdursed world"

mild flume
#

Facts

woeful canopy
#

~madara uchiha

sly pond
#

So trim

#

trim the beard

#

Get clippers

woeful canopy
#

come on

sly pond
#

why pay money for a quick clip

woeful canopy
#

use your godly python skills to make money @marsh lodge

marsh lodge
#

I like the barber

#

she's nice

sly pond
#

His hard drive spins fast when salt talks

#

Salt excites the drive

woeful canopy
woeful canopy
reef granite
#

Oh printer how I hate thee,
Thy pasty plastic box.
Why doest thou torture me so.
I should smash you on some rocks.

sly pond
#

printers are evil

woeful canopy
marsh lodge
#

I'm glad I don't have a printer

#

I just use the library's printer

#

It's a 2 minute walk away

woeful canopy
#

Thy printer tries its best

marsh lodge
#

Which reminds me, the books I wrote recently went on the shelf at the local library

woeful canopy
#

what its name

marsh lodge
#

I would show them here but they have my real name on them

#

I'll DM you Don

misty sinew
#

Am I deaf?

stoic geode
#

No, it is indeed rather silent in the VC

misty sinew
#

Or everyone is quite?

stoic geode
#

You are not mistaken

misty sinew
#

VC is full yet no discussion

#

Something happened?

stoic geode
#

Consider this a moment of meditation and self-improvement

misty sinew
#

damn make some noise

#

please say something, I'm giving up on you

#

Fusion reactor?

#

Seriously?

sly pond
#

VC Seems silent

marsh lodge
misty sinew
#

Could you elaborate please?

marsh lodge
#

I was messaging someone

#

Hemlock is troubleshooting a printer

misty sinew
#

How about remaining fellas?

marsh lodge
#

everyone else was doing their thing

#

salt was probably doing something terminal related

#

ยฏ_(ใƒ„)_/ยฏ

misty sinew
#

Hmm

#

I wonder, if everyone here doing something how come so many of you are in VC?

sly pond
#

I'm just sitting in silence

#

Why not

misty sinew
#

No problem

#

But doesn't it seem weird to be in VC packed with people yet no voice

sly pond
#

in VC

misty sinew
#

Yes I am

#

But I'm different

#

Why so silent?

sly pond
#

What is going on?

#

Yea, the noise

#

it was much

misty sinew
#

I guess he must be having banna

sly pond
#

and random

#

coming from you

#

Getting fast talking coming in from you

misty sinew
#

wdym?

sly pond
#

But it's like, background fast talkers

#

about taxes

misty sinew
#

Super duper super

#

Your so much of child can't face a low and high in life

#

What makes coding interesting?
Chinese math professor / Code teacher on phub or money?

sly pond
#

time

misty sinew
#

Normal nerd : 3blue1brown
Professional Nerd: changhsumath on orange and black site

#

@inner wyvern Could you show the output it generates?

#

I like how detialed you are

#

that most of concept goes above my head

#

dude could you show the output

inner wyvern
#

I will eventually be releasing open source versions of the basic versions of this Quantum inspired Neural Processing Unit technology when the research is complete

jade helm
#

import threading
import time

lock1 = threading.Lock()
lock2 = threading.Lock()

def task1():
print("Task 1 acquiring lock1...")
lock1.acquire()
time.sleep(1) # Simulating some processing time

print("Task 1 acquiring lock2...")
lock2.acquire()  # This will cause a deadlock
print("Task 1 acquired both locks!")

lock2.release()
lock1.release()

def task2():
print("Task 2 acquiring lock2...")
lock2.acquire()
time.sleep(1) # Simulating some processing time

print("Task 2 acquiring lock1...")
lock1.acquire()  # This will cause a deadlock
print("Task 2 acquired both locks!")

lock1.release()
lock2.release()

thread1 = threading.Thread(target=task1)
thread2 = threading.Thread(target=task2)

thread1.start()
thread2.start()

thread1.join()
thread2.join()

print("Done")

#

We have two threads (task1 and task2) and two locks (lock1 and lock2). Each thread tries to acquire both locks, but in different orders, leading to a deadlock.

task1 starts execution:

It acquires lock1 first.
Waits for 1 second.
Then it tries to acquire lock2, but task2 might already have it.
task2 starts execution:

It acquires lock2 first.
Waits for 1 second.
Then it tries to acquire lock1, but task1 already has it.
Now, neither thread can proceed:

task1 is waiting for lock2, which is held by task2.
task2 is waiting for lock1, which is held by task1.

coarse eagle
#

bro I am having such a hard time getting a job

#

I am about to apply to a chipotle because i cant get a help desk job

#

even though I have comptia certs and a college degree ๐Ÿ˜ข

misty sinew
#

he's 13 dude

#

he lying dude

#

@quaint cape dude stop lying ur 13

coarse eagle
#

lol

misty sinew
#

Valorant ain't toxic

#

but Indian valorant is

#

@drowsy adder How you doing, did you got a job in google?

coarse eagle
#

well people are toxic to indians because their accent can be hard to understand so I can imagine its a bad experience for indians

marsh lodge
#

Mage with a Y @drowsy adder

misty sinew
coarse eagle
#

well I dont discriminate I am toxic to everyone

misty sinew
#

So am I

#

Ask LongLiveTheQueen

coarse eagle
#

but on counterstrike

misty sinew
#

it's around 60 usd

#

@drowsy adder

drowsy adder
misty sinew
#

It's lot for me as well

#

I'm from India

#

but I can afford it

#

Buy the game and trash talk

#

enter narcissist mode and bully poeple like LongLiveTheQueen

#

I like Indian most, cause I hate them as well

#

@drowsy adder come join me in live code?

#

live-conding

#

VC

#

I'm always mute

quaint cape
#

you gotta keep texting until you get a notiification

#

that says voice verifed

misty sinew
#

I already have

#

vc verification

quaint cape
#

ah why dont you start talking?

misty sinew
#

Nah

#

Well

#

I do coding when I'm in VC

#

js

#

webgl

#

search about it

#

He like beef

#

so stop talking to him

#

else you will be in beef

#

with him

#

@drowsy adder How come ur in VC?

#

Because I like to be mute

#

I hear them