#voice-chat-text-0
1 messages ยท Page 931 of 1
can someone unmute me
:incoming_envelope: :ok_hand: applied mute to @coral torrent until <t:1637103960:f> (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
rofl
Erm no. Not if you intentionally trip the spam filter.
Oh right, you mean voice-mute.
!unmute 908187340449656872
:incoming_envelope: :ok_hand: pardoned infraction mute for @coral torrent.
Erm, we have a voice gate. See #voice-verification for details.
You need some activity in the server before you can participate in voice-chat. But spamming isn't ok.
Are you experiencing a power cut currently?
๐
"France is roughly the same size as Texas"
Drag and drop countries around the map to compare their relative size. Is Greenland really as big as all of Africa? You may be surprised at what you find! A great tool for educators.
In the UK, we vote for a local MP (member of parliament). The party with the most MPs generally forms a government.
In the US I think the constitution essentially says "any power not explicitly given to the federal government, and not forbidden from the states, belongs to the states"
Is that Pycon?
I don't usually plan my life that far in advance.
Neither does Pittsburgh
The Annexation of Crimea by the Russian Federation refers to the Russian occupation and subsequent annexation of the Crimean Peninsula from Ukraine, which occurred between February and March 2014. This event took place in the aftermath of the 2014 Ukrainian revolution and is part of the wider Russo-Ukrainian conflict.
On 22โ23 February 2014, Rus...
yes
def rsel_sort(xlst):
if xlst == []:
return temp
else:
temp.append(min(xlst))
xlst.remove(min(xlst))
return(rsel_sort(xlst))
def rsel_sort(xlst):
temp = []
if xlst == []:
return temp
else:
temp.append(min(xlst))
xlst.remove(min(xlst))
return(rsel_sort(xlst))
def rsel_sort(xlst):
temp = []
while xlst != []:
temp.append(min(xlst))
xlst.remove(min(xlst))
return(rsel_sort(xlst))
return temp
if message.content.startswith('?stats'):
mining = requests.get('http://127.0.0.1:4067/summary').json()
print(mining['hashrate'] / 1000000)
print(mining['gpus'][0]['temperature'])
print(mining['accepted_count'])
print(mining['rejected_count'])
print(mining['invalid_count'])
print(mining['uptime'])
embed = discord.Embed(title="Mining stats")
embed.add_field(name="Hash rate", value=mining['hashrate'] / 1000000)
embed.add_field(name="Temperature", value=mining['gpus'][0]['temperature'])
embed.add_field(name="Accepted share count", value=mining['accepted_count'])
embed.add_field(name="Rejected share count", value=mining['rejected_count'])
embed.add_field(name="Invalid share count", value=mining['invalid_count'])
embed.add_field(name="Uptime (hours)", value=mining['uptime'] / 3600)
embed.add_field(name="Uptime (days)", value=mining['uptime'] / 86400)
embed.set_footer(text=str(message.author.id))
await message.channel.send(embed=embed)```
if message.content.startswith('?gas'):
gas = requests.get('https://ethgasstation.info/api/ethgasAPI.json?api_key=4a751ff55d69967b4b0de8bff5b56b29b97d8f7a78c2ac0f8f9de483c789').json()
price = requests.get('https://api.coinbase.com/v2/prices/ETH-USD/spot').json()
print(price['data']['amount'])
print(gas['fastest'])
print(gas['fast'])
print(gas['safeLow'])
print(gas['average'])
embed = discord.Embed(title=" Ether Gas Price GWEI")
embed.add_field(name="Ether price", value=price['data']['amount'])
embed.add_field(name="Rapid", value=gas['fastest'] / 10)
embed.add_field(name="fast", value=gas['fast'] / 10)
embed.add_field(name="Standard", value=gas['average'] / 10)
embed.add_field(name="Slow", value=gas['safeLow'] / 10)
embed.set_footer(text=str(message.author.id))
await message.channel.send(embed=embed)```
hello!
yessir!
gotta give it sometime
well
I joined last night, was looking for some programing servers
Right!
I mean its Python servert
im currently building my notes before I get to college
I really want to "stretch" its net capabilities.
so web based applications for business
but to also start my learning for C#
Use it to sort of launch me into coding then learn other languages once im more comfortable with dealing with limitations or different ways of access
from what ive heard its just beat it like a deadhorse until it clicks in your mind and build off that, if youre coming from someone not in a school setting
right, python being the more open source network
but like C# is still like open in terms
open source was a bad analogy
right, like how things are based on basic math algorithms and binary code
logic gates???

ohhh
i see waht youre saying
sorry im not well versed in terms of compsci vocabulary but im very open to listening
whatsup @acoustic marlin
@gentle flint Audio less than great. Mic goes boom.
Gain adjustment perhaps required.
too quiet or too loud?
Loud and distorted.
Be on in a bit
Definitely not a TypeScript to WebAssembly compiler ๐
hello guys
seriously was finding something about web assembly , Thanks @rugged root
haha \
Russt..........ccc
i dont complain for i32
int types
no
oops
Java โค๏ธ
i am cracked
my english is not good same problem xD
thatss usual man chill
python is good although i dont understand very good OOP in python
Opal is our wordhy speaker cause he explains well and to the point
practice, practice, practice men
Excuse me gentlemen. Sorry to interrupt (Iโm not in the vc btw) but can someone identify what breed my cat is so I can do a bit of research?
i start learning DSA with book Grokking Algorithms
@woeful salmon have u seen this
@woeful salmon i mean this diwali was a huge bummer for such memes
now i have
haha
๐ง A vaccine against Alzheimerโs disease could be on the horizon after scientists carried out successful trials in animals.
Researchers were able to reverse memory loss in mice and are keen to move quickly to human trials
Thread ๐งต๐
https://t.co/HDnxvXZJgj
8733
25443
Code: https://codepen.io/kevinpowell/pen/oNgZPVK
#css #csstipoftheday
--
Come hang out with other dev's in my Discord Community
๐ฌ https://discord.gg/nTYCvrK
Keep up to date with everything I'm up to
โ https://www.kevinpowell.co/newsletter
Come hang out with me live every Monday on Twitch!
๐บ https://www.twitch.tv/kevinpowellcss
...
bootstrap make your life easy
Corporate Memphis is a term used (sometimes disparagingly) to describe a flat, geometric art style, widely used in Big Tech illustrations in the late 2010s and early 2020s. Common motifs are flat cartoon characters in action, disproportionate features such as long and bendy limbs, and minimal facial features. The style has been criticized for be...
๐ฅง ๐ฉด
!source
A sex bolt, (also known as a barrel nut, barrel bolt, binding barrel, Chicago screw, post and screw or connector bolt), is a type of fastener (nut) that has a barrel-shaped flange and protruding boss that is internally threaded. The bolts sits within the components being fastened, the flange provides the bearing surface. The sex bolt and accompa...
hola me amigos
How's it going
Very cool, well we're glad to have you. Just starting out with Python or do you have some prior experience?
Absolutely, we've got tons of resources and suggestions. I can toss our page of resources your way if you're interested
well yes please
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
For folks just starting out we normally recommend "Automate the Boring Stuff" and "A Byte of Python". Automate gives you some practical real world examples of where you might use Python for more than just a programming job
Byte is a good refresher of the basics
@coral ocean And of course we're always willing to field any questions or need any concept clarified.
We're as much of a resource for you as the ones listed here
well ill make sure to use it to its fullest potentiel,thank you for the info ๐
He's fixing a hotplate/griddle
so howmany people have pateron tier 3 now? ๐ฎ
cuz i think i saw 1 more person with it
i was 1st!!!!!!!!!!!
then eivl upgraded his tier and copied me :'(
and now lemon has it
and maybe 1 more person but i've never seen them
the blue thingy
thats fine ๐
you don't have to, lol
what
who
max left
helo sir @rugged root
ah my bad
redis
relay system for bk/bot
will go into bot-core
no
just a protocol
we persist our cache
we abuse to the limits 
we have a fish here @olive hedge o/
no
HTTP Status Cats by Tomomi Imura. The API is also available at http.cat (Thanks, Rogรฉrio!)
Tweet me at @girlie_mac if you have ideas or pics recommendations!
(Updated: I am receiving overwhelming amount of comments/suggestions! Thank you so much and sorry for not replying to all of you!)
HTTP Status Codes desc:
en.wikipedia.org/wiki/L...
Fair
dude we have a twitter
yellow bird app
whats the name
no twitter
@ionic ferry
koo?
That's amazing
ye but no one uses it
from what i've seen most people use normal twitter in delhi atleast
also 90% of people talking about programming on twitter are front end web devs
for some weird reason
ah, I don't really follow programming stuff on twitter, lol
well its my main hobby too (except for gaming)
so i end up talking about it regardless... probably why i have like 10% of the friends now in real life then i did before i started programming
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=script%2Cwindowsinstall&pivots=programming-language-csharp @whole bear Is this what you'd be looking for?
audio_config = AudioOutputConfig(filename="path/to/write/file.wav")```
No module named 'azure.cognitiveservices'
i made this function:
def sum_nums_in_matrix(matrice):
lst1 = [[0 for i in range(len(matrice[0]))]]*len(matrice)
for j in range(len(matrice)):
for k in range(len(matrice[j])):
for o in range(len(matrice[j][k])):
lst1[j][o] += matrice[j][k][o] + matrice[j][k][o] + matrice[j][k][o]
return lst
i need it to take for example :
[[[1,2,3], [4,5,6], [7,8,9]] , [[4,4,4], [5,5,5], [6,6,6]]]
and it should iterate in the matrix and return the sum of every list in the matrix
like it should return [[1+2+3] , [4+5+6], [7+8+9], [4+4+4], [5+5+5], [6+6+6]]
anyone could help plssss
Can you use actual Python sum()?
Like- is it a requirement not to?
i mean ye
but
idk how to iterate
look what i have done
i did made the function but idk whats wrong
us-US
Are you allowed to mutate the list?
i tagged you @brave steppe
i have quiestion
What's the question
nvm i solution it
@olive hedge content type is just for the body of the request not the headers
just try setting content type to text/csv
Worth a shot
where should i paste this from azure.cognitiveservices.speech import AudioDataStream, SpeechConfig, SpeechSynthesizer, SpeechSynthesisOutputFormat from azure.cognitiveservices.speech.audio import AudioOutputConfig in config or main python file
@rugged root
File "C:\Users\chary\AppData\Local\Programs\Python\Python37-32\lib\site-packages\azure\cognitiveservices\speech\speech.py", line 1513, in __init__
raise ValueError('speech_config must be a SpeechConfig instance')
ValueError: speech_config must be a SpeechConfig instance```
@rugged root
what that means
ok fine
@tender otter It'll be better to ask questions in here. It let's more people see it and we'll typically be watching this channel if we're in voice chat so that no one is left out of the conversation
Plus it helps you build up the messages you need to get verified when the time comes
๐
for me its opposite right now
i really wanna move
maybe go for a jog or something
but its almost 1 am
HI, can you guys please tell me the most important thing to focus on while learning python?
@olive hedge you like metal as in the physical metal or music?
Practice practice practice
xD
yeah, should i learn DSA and Python together ?or after learning Python should i start DSA?
I would get a book on Python and work through it.
sem its easier to learn data structures and algorithms when you can actually apply / recreate them while learning
atleast for me
I wonder how github copilot is going to change aoc this year.
That's like if someone's laundry got mixed up with yours, and you wash it anyway for them.
I tried they have used really good AI in Copilot. But i disabled it because i think it's not good using it while practicing.
Ah right, I've not tried it yet.
https://www.youtube.com/watch?v=msOexeY5K2Q
๐ฎ there's actually normal human beings out there on the internet
I think it's distributed through different region . cz i got it after 1 and half month but my friend living in china got it right after the next day he applied.
I'm gonna go now. Hope, I will be a regular user in this community. I'm interested ,it took quite some days to understand things here in discord .see you guys .
LGTM

OHHHH
So i got this can anyone write to me
It
Is difficult
Join us as we discuss the latest updates on UI styling, DevTools, and the evolution of responsive design.
Resources:
The new responsive: Web design in a component-driven world โ https://goo.gle/WebDevNewResponsive
Learn responsive design โ https://goo.gle/WebDevLearnDesign
Learn CSS โ https://goo.gle/WebDevLearnCSS
CSS accent-color โ https://...
๐ sad part is safari would take atleast an year to catch up
hot plate wiring diagram for tomorrow
Grant Types
Grant types are a way to specify how a client wants to interact with server. The OpenID Connect and OAuth 2 specs define the following grant types:
Implicit
Authorization code
Hybrid
Client credentials
Resource owner password
Device flow
Refresh tokens
Extension grants
for example
I can't figure out how to use OAUTH for automation with user context
Client Credentials works, but doesn't support user context
Authorization Code has user context, but wants a browser to get the code
I considered using JWT auth to login a user automatically to the get an authorization code, but I think that breaks the spec, and combining authentication methods seems weird
JWt is storage method
What do you do for a living?
i work slave
Oh god, sales people back with the cowbell
fucking why tho lol
Wtf is going on in your office? ๐
Because THEY ARE SALESPEOPLE
Fair enough
Every time they sale something , they make noise
Iโm in an office and somehow itโs full of sales people
lolol
!e
ham = "I love spam"
print(ham.count("a"))
@rugged root :white_check_mark: Your eval job has completed with return code 0.
1
!e
print('d')
@frozen jetty :white_check_mark: Your eval job has completed with return code 0.
d
๐ณ
Before we continue
!e
ham = "hi there"
print(ham.count('h', 'e'))
@scenic wind :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | TypeError: slice indices must be integers or None or have an __index__ method
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
โข PEP 8 document
โข Our PEP 8 song! :notes:
!e
!eval [code]
Can also use: e
*Run Python code and get the results.
This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*
Oh god, the guilt!
Produced by @christopherbaklid
Listen to Shakespeare by Lemonsaurus #np on #SoundCloud
!e
ham = "I love all kinds of food for breakfast"
counts = [ham.count(letter) for letter in "aso"]
print(counts)
@rugged root :white_check_mark: Your eval job has completed with return code 0.
[3, 2, 5]
m m
Redis 4 or 6?
5
!e
ham = "I love all kinds of food for breakfast"
counts = [{letter: ham.count(letter)} for letter in "aso"]
print(counts)
@sweet lodge :white_check_mark: Your eval job has completed with return code 0.
[{'a': 3}, {'s': 2}, {'o': 5}]
!e import itertools
@sweet lodge :warning: Your eval job has completed with return code 0.
[No output]
Perfect. Bot has itertools. Please stand by
Fine, Iโll hire you
sum()
20 bucks and weekends free is best I can offer
ham = "I love all kinds of food for breakfast"
total = sum([ham.count(letter) for letter in "aso"])
print(counts)
No, daily but Iโll throw in Spotify Premium
actually no, that's not too far off from what i make now
can i expense the company for a house
it's a basic need ๐ค
i need a place to live
aw
Only if you are executives, peasants are on their own
!e
from collections import Counter
print(Counter('abcdeabcdabcaba'))
@sweet lodge :white_check_mark: Your eval job has completed with return code 0.
Counter({'a': 5, 'b': 4, 'c': 3, 'd': 2, 'e': 1})
function BracketMatcher(str) {
let open = 0;
for (let i = 0; i < str.length; i++) {
if (str[i] === '(') open++;
if (str[i] === ')') open--;
if (open < 0) return 0;
}
return open ? 0 : 1;
}
// keep this function call here
BracketMatcher(readline());
def BracketMatcher(strParam):
# code goes here
ham = strParam
counts = sum([ham.count(letter) for letter in "()"])
if (counts % 2) == 0:
return 1
else:
return 0
# keep this function call here
print(BracketMatcher(input()))
how to write code in a window in discord?
The classic way to do this is using a stack.
what's that?
is the Counter object type more or less a dictionary?
So like, you build up a stack of opening brackets, to determine how deeply nested you are in brackets. Then when you encounter a closing bracket, you check that it matches the opening bracket on the top of the stack.
def validate_brackets(string):
stack = []
for c in string:
if c == '(':
stack.append('(')
if c == ')':
if not stack or stack[-1] != '(':
return False
stack.pop()
return True
Huh, so for Employee Navigator (which is what we take care of our insurance stuff on) they have this:
I have a call
I didn't get , sorry
I'll ask later if it's no problem
Basically torture for programmers.
It's a subclass of dictionary
yes i just checked
My apologies
Not sure
Let me see if I can find one
@rugged root - Can you think of any examples of subclasses in the stdlib?
or don't have to be stdlib
TRUE := ฮปx.ฮปy.x
FALSE := ฮปx.ฮปy.y
!e
num = [1,2,2,3]
print(num.count(2))
@sweet lodge :white_check_mark: Your eval job has completed with return code 0.
2
Forgot that about bool
Was I not supposed to?
That's literally like something out of the Office yeah ๐
I didn't know this was a thing https://docs.python.org/3/library/bisect.html
TRUE is a function that given two parameters it returns the first and FALSE returns the second parameter, you can actually combine these to make logic gates just as NOT, AND, OR, NOR and XOR (well it's Turing Complete so you can eat your heart out) as I was figuring them out in my religious education lesson... because religious education is boring and I'm forced to take one lesson of it a week
I think it works quite well with the black PFP.
i will not be eating my heart out ty
๐
It's a strange idiom, it felt off writing it but comes out fine in natural conversation
lolll ik ik. more just saying @_@..
Yeah, in this server it is ๐
Mina
It's on Netflix at the moment I think.
At least in the UK.
Wait, there is a new one coming out isn't there?
Apparently the first film was an allegory or something.
Is dead serious worse than alive serious?
_ Baader-Meinhof Phenomenon_
A small group of vampires investigate an ancient tomb in the Syrian Desert, which they believe belongs to Dracula, the first vampire. To keep Blade from interfering, they frame him for the murder of a human familiar. FBI agents subsequently locate Blade's hideout and kill his mentor and friend, Abraham Whistler. Demoralized, Blade surrenders and...
Just to prove that I'm not making this shit up
AKA Frequency illusion
https://en.wikipedia.org/wiki/Frequency_illusion
this always happened whenever the family got a new car
suddently we notice all the cars on the highway that are the same model
.wa s gallon to liter
about 3.79 liters
gong
Find out the reasons why the US gallon is 20% smaller than its imperial cousin
At least you don't do what we do here.
We buy fuel in litres, but measure efficiency in miles per gallon.
lmfao
meana
From the BBC's "The Story of English."
Please keep comments on topicโanything related to the history of the English language, regional dialects, accents, living in Yorkshire, cows, men named Irwin, people who wear neckties with bib overalls (or whatever you 'blokes' call them), etc. Anyone posting about politics, racism, nationalism or the Oly...
funny videos from the united kingdom.
first ever video :)
just a bit of fun, like and subscribe and all that jazz :)
videos from
This Morning
Come Dine With Me
BGM/ Little T
and more
bg media is legendary
While loading the barn find showman's living wagon onto a low loader, this old farmer turned up to watch the process.
The audio is a bit disjointed in places, because I had to delete the names of people mentioned in various places, but it gets better towards the end.
He was as deaf as a post, so sometimes his answers were different to my questi...
Hi Pub ๐
I literally can't understand the dude on the tractor
how much the dog?
She is a rescue, she was free :D
Hello, who was the guy talking about the no free lunch theorem?
what which theorem is that
i am not voice verified yet
sorry dude
so where are u from
okay
im from vietnam
i have a few friends studing finance in Canada
it's a little bit strange that all my friends from high school choose studying like economy, humanities, ... stuff
im the only one go for STEM
uhmm i 21 btw
third year student
how bout u
oh
okay so what you do
oh okay
oh
so whats your solutions for community
a software of smth
paas or smth
hello
r u there
oh ok
smth = something
so like related to cybersecurity or sth
so i guess that not sth to do a lot with python
is that correct
yeah last sem i have a course with a professor who also run a company
she's really young
like
younger than my mom
her company offer NLP to community
natural language processing
that's really cool of her because she's also known as a researcher
you can find her profile on google scholar
im studying data science
yeah its cool
play with statistic is really enjoyable
im go for DS as my main career
hello, I am new to python discord
i just have finished a deep learning course in coursera and that is also really fun to dig in
yeah I have done deeplearning.ai specialization course
but i just study in audit mode
you know
not get that cert
andrew ng
he is the founder of deeplearning.ai
and cofounder of coursera
I got the financial aid
oh nice
I am Buddhist too, actually I am Tibetan
impressive, what does your company do?
great!
i think its more like a technician than a programmer right
i love building pc
its really fun
i was like teardown my old core 2 duo computer when i was 8 or 9
its fun when i had a ruler as a ram when i was at primary school
do you watch a lot tech news
you heard about 12th gen intel desktop?
a total new architecture is a main point
im really impressed by that cuz its the first time after 7 years
gtg, nice talking to guys ๐
bye @orchid cove
you know they stucked at 14nm for so long
7600 is still really capable
so i think a GPU upgrade would be better
whenever my computer went slow
i throw a fresh reinstall
im still happy with my dell
i5 6300hq
still really capable to code
recently switch to google colab as my main workspace
so i dont run python locally on computer resourse anymore
colab is real good
i wish i start using it from my first year
limitations is you cannot use google GPU more than 12 hours continuously
nvidia apere i think
pretty huge machine for server
i suppose to stop crypto mining or major redundancy
yeah exactly
by you know colab is built for python only
i dont think theres a way to mine bitcoin on that
yeah
i compare the speed of multiply arrays on colab and my computer
colab was so fast
48 messages im good fella
no i miscalculated, im actually on my 4th or 5th message now lmao
๐ yeah
it gives people discipline and makes this community more text heavy so yeah its cool
but i want to tell you sth that seem a little strange about me
like people who met me at first time didnt believe
i cant see you in the chat lighting up green when you speak... wahts your usename
actually i used to be a band musician
i see you !
do you know the circle of fifths?
its fun to go on stage
yeah actually im not consider myself as pros but i have to admit that im professional pianist in front of those event managers
you know for accountability
i just played for only 6 7 years
oh my day when they used to chuck the castor sugar on the fire at the start of the "afraid of the dark"
same
uk
had
did you sweat?
no
๐ฎ
actually im enjoined it
lol
cuz my band practiced it like we cannot make any mistake
just on stage and have fun
oh really
i play guitar for like 3 years
i enjoy fingerstyling on guitar
i did play it on stage but not much
nice to talk to you then
see ya late ran
subs = [(name1, time1), (name2, time2)]
!e
foo = ["name1", "name2"]
bar = ["time1", "time2"]
print(list(zip(foo, bar)))
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
[('name1', 'time1'), ('name2', 'time2')]
Nooooooiiiiiiiuiuyuuuiyyuyyoyyuuiiooi
hello
Join us for our GitHub Bootcamp where we'll be going over the basics of Git and getting you setup for success. This session is open to anyone in the Python Discord server, but it will be geared towards the participants for our Code Jam.
anybody want to talk to me?
ahaha yesss
@woeful salmon
thanks for noticing
advent of code is a friendly competition
ah okay
yeah so you get the role when you register yourself to be on the leaderboard
yeah so next month, you can get it
it's the 25 days leading upto christmas
@woeful salmon
well advent IS the 4 sundays before christmas
Beautiful graphic Opal
@woeful salmon what's the django workshop?
I was away for quite some time
ah okay, so it's not started yet
I see
henlo
Een rastaman rijdt gemoedelijk over een bochtige weg langs een rotsachtige kust. Met zijn driewielkarretje trekt hij een witte streep over het midden van de weg. Tot hij onverhoeds moet uitwijken voor een overstekend egeltje. Na die manoeuvre herneemt het rastamannetje zijn route, maar...
Achtergrond commercial:
In 1992 ontstond de film 'Egel'....
!resources check this out
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
im planning to get into robotics and automation through python
gna continue learning
thanks for refering
โ
bottom one is easier to tell apart
49FF00
0008BB
FF0000
0099CC
DDF1C8
hello mr. hemlock
I will call you so crates.
my degree is in philosophy. I got u
I quit computer science due to sexual harassment.
philosophy seemed like an easy win.
the worst of it came from the teachers.
that's OK. I got my raise. finally making as much as my male peers.
good to build your portfolio
object oriented programming is for the birds. imo
Java and C++ are just a pain.
find more use in scripting.
c# is def more fun.
I should try rust. heard a lot about it.
perl can build a chatroom. in a browser. some cool use cases.
didn't they just retire flash. so sad.
Flash was a walking security hazard
I'm extremely old. you don't have to worry about my comfort. when I was 20. different story.
38
Sure there's a way to do one thing, but more often than not, it's so convoluted
Oh, and f-strings are coming to rust
Day 2: The regonging
It's macro magic
I'm sweet enough TURKISH
nah you ever seen the movie Snatch
quote from that movie.
they ask the guy who feeds people to pigs if he wants any sugar in his coffee.
he says
I'm sweet enough TURKISH.
I wanted to get into Scala but the community is apparently a shitstorm
Let's just say that some of the (higher-up) folks there are incredibly bigoted
** Is there a way to download and run python file from url using cmd**
curl then run, I suppose
Feels potentially bad, though
What you mean bad
Hold on, reevaluating my thoughts
What means reevaluating
Bad as in if someone takes hold of wherever you're downloading from, there's no way to distinguish whether or not what you're running is the same, especially if you're doing it automatically
Oh ok
Why does the word avocado start with "a". this is very strange, I think
fr e sh a voca do
Why not just package it
Because in this case you're banking on the end user having Python installed
I had to disable my laptop's integrated GPU earlier because the fans just went haywire
APU
It's an AMD, yeah
At least it's 30ยฐC cooler
I average like 70ยฐC with the integrated one turned on
Ed Sheeran is very mainstream
apple also starts with an a
anaconda
Don't want none
are we compiling a list of English words?
No just words that start with a that have that have the same ah sound as avocado
\โญ
Gotta hop off for a bit
\๐
what year are you? @deft idol
so you're first year? @deft idol
yes
what degree?
i am in liberarts
oh
https://codepen.io/ivorjetski/pen/gOPOvdB
๐ this is how you know a person has waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay too much free time
The King of Hearts - No images, just CSS. It was mainly an experiment with lighting. Watch a short video of the making of here: www.youtube.com/ivor...
eleventy
PonyORM is nice
I love that you recognize it by the mascot
How could I forget that pony, its cute as fuck
although best mascot will always be
or the latest version
.wa s 9 c to f
48.2 degrees Fahrenheit
what is he doing in dark shadows
!server
Karuta (ใใใ, from Portuguese carta ["card"]) are Japanese playing cards. Playing cards were introduced to Japan by Portuguese traders during the mid-16th century. These early decks were used for trick-taking games. The earliest indigenous karuta was invented in the town of Miike in Chikugo Province at around the end of the 16th century. The Miik...
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
@rugged root - guess what?
Chicken butt?
yes
apologies for the name
but me and a friend are desperate
we have a midterm programming right now
for i in res:
copyy(pathDis.get(i))
and we are lazy fucks
You know the client I've been ranting about?
We got the product to fill almost all of the shortages and I open the system to start working on it, and ...
Traceback (most recent call last):
File "c:/Users/chary/Desktop/tts/first.py", line 71, in <module>
mainMan(input)
File "c:/Users/chary/Desktop/tts/first.py", line 60, in mainMan
xx = AudioSegment.from_m4a(maindir + ss + '.m4a')
AttributeError: type object 'AudioSegment' has no attribute 'from_m4a'```
@trail stone I'm not going to accept a voice call. Please find a way to summarize your question
What part of it is tripping you up
Okay, let's break it down into its parts
the first two were simple
You've dealt with user input before, right?
income = eval(input("what is your annual income in thousands?")) something like this?
an example
Noooooooo eval
Never eval
If you know you're going to need to convert the input (which always returns a string) to an integer, use int()
the teacher told us to only use things that we have been taught
i wish to keep it as unga bunga stoopid as possible
So they've never taught you about int() or str() or things like that?
Then that's what you'd need to use in that case
pathDis = {'hi': maindir + 'hi..wav','my':maindir + 'my..wav','name':maindir+'name..wav','is':maindir+'is..wav','leo':maindir+'leo..wav','and':maindir + 'and..wav','this':maindir + 'this..wav','what':maindir + 'what..wav','I':maindir + 'I..wav','wanted':maindir + 'wanted..wav','to':maindir + 'to..wav','tell':maindir + 'tell..wav','you':maindir + 'you..wav','very':maindir+'very..wav','good':maindir+'good..wav','laptop':maindir + 'laptop..wav'}
Okay so you need to do the following:
- Get input from the user, specifically for the name of the stock (which will be a string), the number of stocks (integer), and the price of the stock (float)
- You then need to multiply the number of stocks by the stock price
- Then print the resulting cost
-After, you'd ask the user if they want to continue checking stock prices.
- All of this would be in a while loop. If the user says they don't want to continue, you break out of the loop
xx = AudioSegment.wav(maindir + ss + '.wav')
AttributeError: type object 'AudioSegment' has no attribute 'wav'```
def func(*aaaarrgss):
...
?
Yes you can
No
It's called aaaargs
And if you want to get really fancy, you use **kwaarrgs
Has that ever worked for you?
@rugged root
!rule 8 9
8. Do not help with ongoing exams. When helping with homework, help people learn how to do the assignment without doing it for them.
9. Do not offer or ask for paid work of any kind.
We do not allow what you're asking
We'll help you get there, but we do not and will not do it for you
That's your responsibility
of course
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\ntpath.py", line
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Type your text here:- hi i am
Traceback (most recent call last):
File "c:/Users/chary/Desktop/tts/first.py", line 71, in <module>
mainMan(input)
File "c:/Users/chary/Desktop/tts/first.py", line 57, in mainMan
copyy(pathDis.get(i))
File "c:/Users/chary/Desktop/tts/first.py", line 11, in copyy
shutil.copy(filename,target)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\shutil.py", line 247, in copy
dst = os.path.join(dst, os.path.basename(src))
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\ntpath.py", line 214, in basename
return split(p)[1]
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\ntpath.py", line 183, in split
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
What do programmers do when they're hungry?
||They grab a byte||
A wife asks her programmer husband to go to the store.
She asks him, "Can you go down to the grocery store, and get a gallon of milk, and if they have eggs, get 6."
Later on he returns home and she looks at his purchases and says, "Why in the world did you buy 6 gallons of milk?"
He responded, "They had eggs."
Why?
@trail stone Good. Also nice try with trying to advertise it more
Thank you thank you, I'll be googling all week
Save that one for when Hemlock gets back
He'll love it
printf("respects") to pay respects
Windows raises my blood pressure
A programmer gets sent to the store by his wife. His wife says, โGet a gallon of milk, and if they have eggs, get a dozen.โ
The programmer returns home with 12 gallons of milk and says, โThey had eggs.โ
edit: I know guys, I know, itโs supposed to be 13, I messed up the wording, please forgive me
i found this too
Makes me hotter
lol
More Python style ternaries?
was true for me too until i started using wsl more and got more familiar with powershell for anything i do on the windows size
now my only problem with windows 10 and 11 both is how ugly they both are
not them being unproductive
What do you consider pretty?
and the lack of a proper package manager
o- o tiling window managers
Have you tried Window's package manager yet?
Too many shortcuts
i use vim already....
Very buggy for me
for me i only think its too many shortcuts when i don't have any more keys
cuz
i develop muscle memory very fast
i don't remember keybinds
keybinds just get pressed when i try to do something automatically
lol
What are you trying to build? @gentle flint
why i get this error
Traceback (most recent call last):
File "C:\Users\chary\Desktop\tts\first.py", line 71, in <module>
mainMan(input)
File "C:\Users\chary\Desktop\tts\first.py", line 69, in mainMan
combined.export(gen, format=".wav")
File "C:\Users\chary\AppData\Local\Programs\Python\Python39-32\lib\site-packages\pydub\audio_segment.py", line 963, in export
p = subprocess.Popen(conversion_command, stdin=devnull, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "C:\Users\chary\AppData\Local\Programs\Python\Python39-32\lib\subprocess.py", line 947, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\chary\AppData\Local\Programs\Python\Python39-32\lib\subprocess.py", line 1416, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified```
i think is last error
@molten pewter can you maybe take a look into it pls
soldering a new plug onto a griddle
I think code is needed.
ok one sec
๐ @molten pewter in simple words
i don't think as hard as you
so i have lesser to talk about in general
Hey @whole bear!
It looks like you tried to attach file type(s) that we do not allow (.zip). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.
Feel free to ask in #community-meta if you think this is a mistake.
Ohhhh. I thought you're building like robotics or something like this
I think, it's kinda complicated cz we have to get in depth about neurons, how neuron works and blah blah then we can work on it. It's like we have to explore medical science. But it's a really interesting.
There is a lot of directory names check those names.
@gentle flint
What you call it when computer programmers make fun of each other?
||cyber boolean||
For real. Is it true? Never heard something like this.
Japanese - they can really work hard and polite...
If any query for Chinese things ask me i was there for 2 years. Had some experience.
def clear_mat(list_of_lists): # clears everything
list_prepared = []
for i, li in enumerate(list_of_lists):
if li:
temp = list()
for j, word in enumerate(li):
word_prepared = word.translate(word.maketrans({",":"",".": "", "(":"",")": "", "!":"","?": "",":":"",";": "", "[": "","]":"", "\"":"", "\"":""}))
if "'" in word_prepared:
word_list = word_prepared.split("'")
temp.extend(word_list.copy())
if "'" in word_prepared[:1]:
word_prepared = word_prepared[1:]
if "'" in word_prepared[-1]:
word_prepared = word_prepared[:-1]
elif "โ" in word_prepared: # doesn't divide the words properly here
word_list = word_prepared.split("โ")
temp.extend(word_list.copy())
elif "-" in word_prepared:
word_list = word_prepared.split("-")
temp.extend(word_list.copy())
else:
temp.append(word_prepared)
list_prepared.append(temp)
return list_prepared
print(clear_mat([['Are', 'these,', 'by', 'the', 'black', 'air', 'so', 'scourg\'d?"โ"The', 'first']]))
is there anyone who can help me, im trying to remove all non letters from the words and when i meet ' and - and โ i should split them, this code seems right but it doesn't work only with โ character :/
brb
this is the best code which I have written , you can use your own voice , in text to speech , every single word , with good quality and control , but the only thing you need to do is understand the code and watch the full video .
00:29 - how to install ffmpeg
02:17 - code
link for ffmpeg :-
https://www.gyan.dev/ffmpeg/builds/
link for the ...
Roger Ebert.
Is it like, speak some words and teach my pronunciation then will it speak any words what I haven't teach it?
@whole bear
Amazing I'm gonna try it later
Here it's 1 am in Bangladesh.
@steep geyser ไฝ ไธญๅฝไบบๅ๏ผ
@gray tapir
ๆไธๆฏ๏ผไฝๆๆญฃๅจๅญธ็ฟ
I studyed onduolingo or but i stopped learning because i dont have much time for learning
Chinese level as like Ielts
@steep geyser what is your main language?
Slovak lenguage is my main
I came from Slovakia
But I gave up like learning Chnensis I tryed it too on translate the words but i gave up
Again please
Slovak, has it's own Alphabet, yes?
Czech orthography is a system of rules for correct writing (orthography) in Czech.
The modern Czech orthographic system is diacritic, having evolved from an earlier system which used many digraphs (although some digraphs have been kept - ch, dลพ). The caron is added to standard Latin letters to express sounds which are foreign to Latin. The acute...
The first Slovak orthography was proposed by Anton Bernolรกk (1762โ1813) in his Dissertatio philologico-critica de litteris Slavorum, used in the six-volume Slovak-Czech-Latin-German-Hungarian Dictionary (1825โ1927) and used primarily by Slovak Catholics.
The standard orthography of the Slovak language is immediately based on the standard devel...
We have like just fue letters different like:รบ ฤพ ลก ฤ ลฅ ลพ รฝ รก รญ รฉ รบ รด รค
Guys I'm gonna go now. It's late here. See you guys.
# download data to local file
data_file_name = get_sound_file(url)
# place data into chunks based upon silence
chunk_file_names = create_files(data_file_name)
# Process single file without partitioning into chunks
t0 = time()
process(data_file_name)
print(f'Running entire audio file elapsed time: {time() - t0:.4f}')
# Single threaded version
t0 = time()
process_single(chunk_file_names)
print(f'Running chunked audio files elapsed time: {time() - t0:.4f}')
# Multiple threaded version
t0 = time()
process_threads(chunk_file_names)
print(f'Running chunked audio files using multiple threads elapsed time: {time() - t0:.4f}') ```
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
How many years are you leaning python or using
Hi
Do you think Thony is good oportunity to using python
??
@keen lark tech podcasts: https://changelog.com/, https://darknetdiaries.com/, https://twit.tv/shows/security-now, https://www.datacamp.com/community/podcast
@molten pewter you still here
yes
So if i record every alphabet wil it be able to spell apple wit my normal voice if i edit the wav audio file
Do you think Thony is good oportunity to coding in python
Who me
And what is wrong with that
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
ooo and can you just un screw it and put it in better or somethin like that
Do you know WoW that game
Amazon.com: power strip with fuse
And where are you from
back now
@rugged root Yo
Sup
i need video perms
Need is a strong word
*to borrow
To do what? Is it more of the rom/iso editing?
What's the source? And I can't at the moment, and we've moved to not granting stream permissions unless there's a mod+ present
C:\Users\legga\PycharmProjects\MachineLearning\venv\lib\site-packages\sklearn\model_selection\_validation.py:372: FitFailedWarning:
10 fits failed out of a total of 10.
The score on these train-test partitions for these parameters will be set to nan.
If these failures are not expected, you can try to debug them by setting error_score='raise'.
Below are more details about the failures:
--------------------------------------------------------------------------------
10 fits failed with the following error:
Traceback (most recent call last):
File "C:\Users\legga\PycharmProjects\MachineLearning\venv\lib\site-packages\sklearn\model_selection\_validation.py", line 681, in _fit_and_score
estimator.fit(X_train, y_train, **fit_params)
File "C:\Users\legga\PycharmProjects\MachineLearning\venv\lib\site-packages\sklearn\linear_model\_logistic.py", line 1461, in fit
solver = _check_solver(self.solver, self.penalty, self.dual)
File "C:\Users\legga\PycharmProjects\MachineLearning\venv\lib\site-packages\sklearn\linear_model\_logistic.py", line 434, in _check_solver
raise ValueError(
ValueError: Logistic Regression supports only solvers in ['liblinear', 'newton-cg', 'lbfgs', 'sag', 'saga'], got linear.
warnings.warn(some_fits_failed_message, FitFailedWarning)**
# Load dataset
url = "https://raw.githubusercontent.com/jbrownlee/Datasets/master/iris.csv"
names = ['sepal-length', 'sepal-width', 'petal-length', 'petal-width', 'class']
dataset = read_csv(url, names=names)
# shape
print(dataset.shape)
# head
print(dataset.head(20))
# descriptions
print(dataset.describe())
# class distribution
print(dataset.groupby('class').size())
# box and whisker plots
dataset.plot(kind='box', subplots=True, layout=(2, 2), sharex=False, sharey=False)
pyplot.show()
# histograms
dataset.hist()
pyplot.show()
# scatter plot matrix
scatter_matrix(dataset)
pyplot.show()
# Split-out validation dataset
array = dataset.values
X = array[:, 0:4]
y = array[:, 4]
X_train, X_validation, Y_train, Y_validation = train_test_split(X, y, test_size=0.20, random_state=1)
# Spot Check Algorithms
models = [('LR', LogisticRegression(solver='linear', multi_class='ovr')), ('LDA', LinearDiscriminantAnalysis()),
('KNN', KNeighborsClassifier()), ('CART', DecisionTreeClassifier()), ('NB', GaussianNB()),
('SVM', SVC(gamma='auto'))]
# evaluate each model in turn
results = []
names = []
for name, model in models:
kfold = StratifiedKFold(n_splits=10, random_state=1, shuffle=True)
cv_results = cross_val_score(model, X_train, Y_train, cv=kfold, scoring='accuracy')
results.append(cv_results)
names.append(name)
print('%s: %f (%f)' % (name, cv_results.mean(), cv_results.std()))
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
For bigger stuff, better to use that
sorry
No worries, just reminding
# Load libraries
from pandas import read_csv
from pandas.plotting import scatter_matrix
from matplotlib import pyplot
from sklearn.model_selection import train_test_split
from sklearn.model_selection import cross_val_score
from sklearn.model_selection import StratifiedKFold
from sklearn.metrics import classification_report
from sklearn.metrics import confusion_matrix
from sklearn.metrics import accuracy_score
from sklearn.linear_model import LogisticRegression
from sklearn.tree import DecisionTreeClassifier
from sklearn.neighbors import KNeighborsClassifier
from sklearn.discriminant_analysis import LinearDiscriminantAnalysis
from sklearn.naive_bayes import GaussianNB
from sklearn.svm import SVC
they were sending the imports after the fact.
WEBSITE: http://www.teachertube.com/math
Slope dude loves to ski. He teaches us by talking while he skis the course. We learn from him that uphill slopes are positive Downhill slopes are negative flat slopes are zero and vertical "slopes" are undefined. Thanks to high school math teacher Kim Hughey for concept of Slope Dude.
@terse needle
@spring kraken https://fastapi.tiangolo.com/
FastAPI framework, high performance, easy to learn, fast to code, ready for production
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
@scenic wind 
I do not sorry ๐ค
Making a Snake AI would be a nice project actually. I'll see if I can find some resources...
Do you want to screen share?
Yep
Got to remember the command sorry 
!stream 589497499174043800
โ @scenic wind can now stream until <t:1637274151:f>.
Wow






57,422
220,784