#voice-chat-text-1
1 messages ยท Page 53 of 1
if "f" in word or "k" in word: # Corrected condition
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
if ("f" or "k") in letters:
# ("f") # 1
# if "f" in letters" # 2
my way of doing it got 3 words, which i felt was right
if "f" in letters or "k" in letters:
fkCount += 1
I think we even have a command for explaining that
!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.")
weird
now how about the first letter/last letter thing
how would i check if a word has the same first and last letter?
.
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)}")```
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
code
!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")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | There are 2 words that begin and end with the same letter
002 | There are 4 words that contain f or k
there we go
print('f' or 'k')
:white_check_mark: Your 3.12 eval job has completed with return code 0.
f
!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
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
', '.join(list)
', '.join(list)
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
strPorG = []
I would probably use a list
and then join
strPorG += str(letters)
strPorG.append(str(letters))
instead of just making a longer string, you can even then just count the len of the list
no need for numPorG or strPorG
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))
missed the , in the join
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
strPorG.append()
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
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
wait a sec
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))
am back again
where are you finding these problems?
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
is it your homework?
yeah, this is for my intro to python class
ohh nice
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
ARR1 = [1, 2, 3, 4, 5]
ARR2 = ['a', 'b', 'c', 'd', 'e']
for a, b in zip(ARR1, ARR2):
print(a, b)
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
for entry in rainfallMI:
print( "%.2f" % float(entry))
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
text = f"{float(entry):.2f}"
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.
dont worry
okayyyy, i'm a week ahead in my class now
now do i suffer through my networking class? absolute pain
@media (max-width: 768px) {
.card-container {
flex-direction: column;
}
}
.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);
}
}```
@rose galleon ๐
@mighty spire ๐
hey
I'm new to the server so I can't speak in the voice chats...
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
she went away now
oh that's so cute lmao
we all just moved over LOL
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
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.
but they never finnish them
that looks fun. what are you using to program it ?
very slowly progressing
I may try bringing back the low-saturation thing
I realised the more proper way to do it
@umbral rose cough-ine
โ @sly pond can now stream until <t:1739122977:f>.
the light purple is spreading
I disabled anti-grey measures, maybe now it'll be less toxic-coloured
rainbow clouds
How do you create these watercolors?
each color is generated through random walks on a surface of a 5D sphere
2 extra dimensions are truncated
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
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
thank you
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)
Definitely oil from the arctic
@glad turtle there is a very reliable computer that's not designed to run Linux
it's designed to run illumos
without BIOS/UEFI
@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
at scale you cannot build reliable systems without multiple computers -- this is not trolling
thank you alisa
but, yes, individual computers' reliability does matter
that's what, for example, Oxide concern themselves with
having multiple computers just because all of them are extremely broken and reboot randomly every 10 minutes on average is a much bigger issue
that's what Google used to do
and when I say "broken" I mean the drivers are unsuitable or whatever is happening in the OS isn't conducive to high uptime
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
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
reminder that conversations normally are between more than 1 person, no one is obliged to talk about exactly what you want to talk about
they should mention that explicitly:
"I am not interested in talking about individual system reliability, I would like to talk about distributed system reliability and clusters and hyperscalers"
that I would've been okay with
if you're interested in reliability at individual computer level, then check out what they're doing
checking out what it's doing specifically is troubleshooting and debugging and therefore expensive
they add redundancy even at that level
?
in my experience troubleshooting on a random reboot is a deep dive
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
they already stopped participanting in this conversation, stop attacking them.
i'm not attacking them but i have to be clear on how the conversation went
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
@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
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
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...
@lavish spear
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://...
Expand description for timestamp shortcuts! This is a long video but it goes through all the techniques that I've learned about low poly modeling in my 5 years of using Blender. I use Blender 2.83 with default keys:
TIMESTAMPS:
00:00 Intro
00:55 Basics (navigation, viewport)
02:12 UV Coloring Technique
04:46 Shiny Edges - Cavity in Viewport
06:...
went away and did this bullshit @lavish spear
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 ;~;
Looks great!
finally almost done installing cmake
nvm, more steps :(
this is taking forever
Still can't get my mic to work on linux :(
I'll work on it later
back on windows
@sly pondis this game yours or you just playing it?
Moonlighter, got it in a charityu bundle
any way to distribute my exe, without the UNKNOWN PUBLISHER error? @mild flume
By having a signed cert
No real way otherwise. Can't remember how that works, mind you
thats too expensive ๐ฆ
What's the project?
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
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
i wnna sell it, dont think it will be a good first impression
also the target audience is basically ecom company employees
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
hmm
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
hmm
basically it will be more trustable
if code comes with it.
with exe being prepackaged only for convenience
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
hi everyone. i'm new on discord. if i'm here it's because i'm looking for enthusiasts for a python project.
Yoo can someone help me with flask question?
so whos making gane guys?
Nothing.
hello
@proper ridge
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 ..
For now just build your foundation.
i m decent at maths,
Don't worry about money.
kk gtg bye

pce bro great talking 2 u
hope 2 c u soon
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 ๐
Hi
I am a beginner in coding
Can anyone help me
From where I have to start I can't get it
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Thanks for this resource
hi everyone
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Do you guys think the assets in the first picture could get me a C&D due to similarity to the second picture?
@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
-6 here
with the way Nintendo has been acting.....it's very possible. even more so if you publish your project and it becomes popular.
Yeah, that is kind of what I've been thinking...
Nintendo has really been going hard. I'm disgusted with them and they will never get another $ from me.
I'm absolutely apalled at their behavior. It is unacceptable.
I whole heartedly agree. You know what they say......karma and all. ๐
@marsh lodge are you a sprite artist?
oh ok. cool
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.
@icy ruin๐
hi
@stuck bluff hey do u know anyone who is currently free to explain about github thru vc or chats? pls dm
You might like try asking in #tools-and-devops. ๐
@visual cove๐
alr thanks!
hello
speaking of sad songs, time to re-listen to "ะฅัะพะฝั" again
bye guys
@stuck bluff red-white-blue? Netherlands?
Greenland.
๐
@main garden https://xaos-project.github.io
ฯฮฌฮฟฯ
there is no anime "guy"
you speak greek?
no
oh i am from greece sorry i thought you could speak
I'm aware of its phonetics
neat
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 :/
"I live next to Russia too"
(it's a joke about a certain subject being not real Russia)
ahhh
at least if a world war happens you get to beta test their nuclear weapons! ๐
@split imp it very much does
president being a bad person doesn't excuse being a bad person
Politics matters but not in this server!
he give us a bad look'
This server is about Python, so avoid topic and discussion about Trump, etc
not discriminating against people is way more about basic decency rather than politics.
but I dont give a shit what you believe, just dont start trying to convince me to please what you believe
Maybe, but trump is president with a majority in Congress.
So that's that!
yes, thats what happends when your rich and have friends in high places
Talking about politics brings envoy, distress, etc.
Server is meant for friendly discussion and help with python
your supposed to argue back >:( WHY WONT YOU GET POINTLESSLY MAD AT THIS CONVERSATION!
I find it meaningless to talk about politics.
COME ON MAN, this is a perfectly good moment to start a pointless argument
@marsh lodge give them written down stuff that science-ing would contradict
I genuinely don't believe a person understanding what the word `politics' means would ever say that
but, yes, avoid polarising and overly detached from reality discussions
I just wanted to argue :(
wow what happen?
also it's very very often used to further one's political believes, quite funnily
I knew it!
ight, im tired. goodnight honey
I think ๐ฌ, those who push politics as hot topic in VC are pretty much obsessed with politics and want to argue with someone ๐
if you feel "basic humans are good" is a polarising take, I'm sorry for your feelings being wrong
i was talking about people having political beliefs which imply supporting discrimination
eg supporting trump
if someone is actually discrimating against people then i understand ending the friendship
"supporting trump in everything" is enough to call someone a bad person.
"supporting trump in general" less so
as for "detached from reality", there doesn't even need to be an argument
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
Depends,
It's a private matter, do what you like!
But do not push the same agenda over another person
right
this is about when you disagree with your friends political belief
on moral grounds
@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
the problem is they're actively destroying things that aren't malignant, that are mostly benign and aren't a threat to them anyways
and if you do, never admit to it
Talking about patents, I wonder why we have to pay for a domain and who gets all that money and why?
Okay, there we go.
Kivy, yes.
@tender monolith๐
@gentle oriole Muted, but paying attention.
Refining
I know, I was just making fun.
:)
Yo.
@stuck bluff real quiet today
ayoo chilll
In Australia and New Zealand, a meat pie is a hand-sized pie containing diced or minced meat and gravy, sometimes with onion, mushrooms or cheese and is often consumed as a takeaway food snack.
This variant of the standard meat pie is considered iconic. It was described by New South Wales Premier Bob Carr in 2003 as Australia's "national dish". ...
Amazing
same
That's pi, not pie.
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...
@umbral rose sounds like these type of devs are indeed might having adhd or aspergers
It is in the description.
Many, sure. That sounds reasonable. Most? Ehhhh...
well okay it's about grammar now okay
Not grammar.
i am from greece sorry
My niece was obsessed with the German version. Didn't like the American English version and would cry until we put on the German one.
Semantics of many vs most.
Im acoustic too
A version of Linux in a PDF file? What does that even mean? They saved the hex digit sequence for the disk image?
in neuroscience they did a study way back ago that high functioning autism can indeed make you special/good to specific things like coding
Wait, the PDF file had active content?
is there anyone interested on contributing a project of ours it's a game engine editor
Trying to spruce up the world map.
For creating games?
It's because you're on Discord call with a speaker mode set to phone speaker vs loudspeaker.
If you set your Discord to use the speakerphone, it should stop trying to use the proximity sensor.
What do you folks think? Any better than before?
I thought Panda has been out for a long time? https://www.panda3d.org
@serene quail
nope
.
it still updates
Is my guess.
I'm an elf. I live in harmony with all of nature. STAB STAB STAB.
did you fork the original?
not yet they say an editor limmits their projects
Ohh, they don't have an editor yet and you are working on this as a solution to that
I get it
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
GAME DESIGN
The statement was about world relief efforts, not military spending afaik
There's no way we'd ever spend that much on military here
this is correct
compare that number based on GDP not on numerical value
i guess i'm just not sure how canada is overspending in this arena to argue that it is a source of the racism
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
germany 4.456 trillion. i guess i don't see the correlation.
It's about perception, Germany is also the head of the largest economic system outside of america
but again if US lower % per gdp, then wouldn't it be that we have the opposite effect?
Current strain here
American entering a chat hearing another country is the best. ๐ฆ ๐ฆ ๐ฆ noises
does that eagle sound like a hawk?
and he hopped away
I got home from my dog walk
gf has a meeting
going to mute
pretty common with a lot of people, aspergers or not. @coarse adder
toe-ml
it was a joke
!stream 594924091207843841
โ @coarse adder can now stream until <t:1739380570:f>.
src/QPanda3D/QPanda3DWidget.py line 139
def dragEnterEvent(self, event: QDragEnterEvent):```
!stream 962128994814263316
โ @calm tusk can now stream until <t:1739381655:f>.
!stream 962128994814263316
โ @calm tusk can now stream until <t:1739382987:f>.
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 :)
@coarse adder
okay
!stream 263551503082455050
โ @brisk lark can now stream until <t:1739383143:f>.
!kindling
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.
!e
code
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
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)
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])
(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
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
lit js
when I read that, my instant thought was about that one web components framework
whts that
.
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

@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.
I'm currently rewatching this
https://youtu.be/TgmA48fILq8
Google Tech Talks
August 15, 2007
ABSTRACT
Bryan Cantrill will discuss the Dtrace and how it can be used to significantly improve debugging both for development and live systems.
Google engEDU
Speaker: Bryan Cantrill
2007
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
Java script is like Java but with script
lol
ls
oops
anyone here beablt to help me with a project ihave hit a wall and feel stupid
be Able
Do tell.
@granite turtle #voice-verification
hi
He'll join when he joins if he joins. It's not like he needs encouragement.
!paste
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.
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.
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.
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))
This issue accumulates TwoQubitWeylDecomposition: failed to diagonalize M2 errors found by users . To reproduce: from qiskit.quantum_info.synthesis import two_qubit_cnot_decompose import numpy as n...
Can anyone explain this:
print("Hello World)
I am getting error running this
change print("Hello World)
to
print("Hello World")
You didn't add another " at the end of the word.
For example, your code says print("Hello World) and you added only one " at the start and not another one at the end.
The correct way to do this is by adding another one. Like this: print("Hello World"), Now there is " at the start and end.
You're welcome! Feel free to ask more questions.
NOOO
TF2 source code?
Come back! I miss you guys :(
those gifs are very bad for mobile performance for whatever reason
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
!d argparse
Added in version 3.2.
Source code: Lib/argparse.py...
@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
Because it got water on it
@marsh lodge
Only if you don't miss the critical area
@thin lintel
The best pizza is free pizza
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.
...
dunno
this is the boat I learned to sail on
[https://youtu.be/7F61J2dyEjY] Laatste nieuws Meer nieuws Dit is de Alternatieve Elfstedentocht Weissensee SCHAATSEN PLEZIER UITDAGING NATUUR
โค๏ธ DB management
the question should be why not?
jokes aside, it is my favorite childhood cartoon, and I love it from the bottom of my heart.
nice
btw, why don't I have permission to speak? lmaoo
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
did you watch it dupped?
I am too dumb to be sending information in this server
I watched like dubbed version of it.
Nepali
bruh, why is my ear ringing I think I have had too much coffee
the windows
only windows I like to use
put some patches on it, it won't leak then: Actual Conversation in my job
but then they cannot open
โจ ITS A FEATURE โจ
no.
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
alt-f4
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
You're not wrong, but I got cast screws so I thought it might be neat to refactor with Miner Mk. 2
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?
Yeah, it would probably behoove me to leave it as is if I finish the refactor(y)
๐คท 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
Yah, Hoverpack is the electric one
VPN died altogether, can't even attempt to connect to VC with it enabled
@marsh lodge well today you shall learn
damn it
"wake up from reality. Nothing goes as planned in this acdursed world"
Facts
๐ฅ
~madara uchiha
come on
why pay money for a quick clip
use your godly python skills to make money @marsh lodge
If only
huh what
there must be a way
Oh printer how I hate thee,
Thy pasty plastic box.
Why doest thou torture me so.
I should smash you on some rocks.
printers are evil
thou must forgive thy printer.
I'm glad I don't have a printer
I just use the library's printer
It's a 2 minute walk away
Thy printer tries its best
Which reminds me, the books I wrote recently went on the shelf at the local library
you wrote a book?
what its name
Am I deaf?
No, it is indeed rather silent in the VC
Or everyone is quite?
You are not mistaken
damn make some noise
please say something, I'm giving up on you
Fusion reactor?
Seriously?
We were all just focusing on stuff
Could you elaborate please?
How about remaining fellas?
everyone else was doing their thing
salt was probably doing something terminal related
ยฏ_(ใ)_/ยฏ
Aren't you often muted?
in VC
I guess he must be having banna
wdym?
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?
time
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
Thanks
My apologies but the research isn't formalized yet I'm just excited to be able to chat about it with a couple of my buddies and demonstrate initial findings.
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
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.
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 ๐ข
lol
Valorant ain't toxic
but Indian valorant is
@drowsy adder How you doing, did you got a job in google?
well people are toxic to indians because their accent can be hard to understand so I can imagine its a bad experience for indians
Mage with a Y @drowsy adder
Nah, Indian in general are toxic among themselves especially when new user joins the game
well I dont discriminate I am toxic to everyone
but on counterstrike
๐ฆ
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
ah why dont you start talking?

