#voice-chat-text-0
1 messages ยท Page 88 of 1
I dont have 50 msgs sent
then send them
however I never write all of the shit in one so I guess not too hard to reach that nr
spamming will get me banned
nah don't spam
but nice try 
Hello AF, Opal
just go to random channels and answer someone
๐ง
"AF" has lost all meaning
i dont understand
wdym with AF
do you mean AS FRICK?
yh
u cant type the F word?
No
sadge
(A) = AS (F) = FUDGE
ohhhhhhhhhhhh
where
Hello AF => Hello As Fu?
makes sense
who is AF
cuz of the " , "
Yu == AF
yes
ah ok
AF == as (naughty word)
full name is somewhere in the channels
this was the stupidest argument i have ever had
Meh
true
yo wassup cruiser
hello
@somber heath you bri'ish?
i just confused you with speedro
bro how did you not get that
what are you talking about
nah bro if I was you would notice
5 or more times
Join the challenge or watch the game here.
LOL
we already have LP's uwu thing
I'm talking to the guys that are saying random shid
wtf
i wasnt with you
Python implementation of advanced uwuification. Contribute to gitautas/slowo development by creating an account on GitHub.
on discord
this one is in python
bro what ticks
He is the only one other than Kuro that actually speaks
Lad you gonna get in some shi- if you go around sending uwu dic pics
I'm 14 and I don't find them funny
oh
well opal just left
it wasnt bad
and now everything is quite
ty
fight
game too hard can't win
seems like skill issue
its just tht i dont like lichess
fight fight fight fight
yeh cool either ways...i dont sit all day long on a chair playing chess
ff
opal learking chat
:}
i remember opal was talking about how weird it is not to be in vc and be in voice-chat or sumthing
same lol
no like i am in academics
@unreal flare what r u talking about
lemme flex real quick
?eh
bossman come talk and i'll join
who you?
talk wherer?
the chat
vc?
i presume
if sir AF opens mics
no talk in the streets and i'll join how about that
yehh.. fr?
you sure?
imma mountain boy
maybe
imma eat you up
minesweeper is getting confusing
how do I even play that
:}
eat .... up
lmao tht keyboard sound
i don't think is peggi rated
"up" not "out"
@hoary olive bro sounds 13
u think I know?
me?
me neither
i said hi?
nvmm
nah bro
who tf hears uwu randomly
idk lmao ...deez insta reels
.uwu
who tf heaws u-uwu wandomwy
be messing me up
nah bro dont tell me
when tf did i say uwu
your part of the gang
i misheard perhaps..my apologies
when u unmuted
i am doing a 30 day no phone challenge thing
bro i never unmuted though
sup @pearl vigil
it is all quiet cuz opalmist left
one tip
don't spam
or ull get banned
hows that related lol
cuz he can't speak
I need to have 50 message sent on this server
also you have been on this server since 2021 and yet have never chatted
in order to speak
probs just crashes own pc
without extra accounts/computers, it's DoS not DDoS
It's just solution search up
same but I was using a different account
imagine tracking down someone's messages
๐ .
๐
wdm in tracking down\
counting messages or searching up the source of message
searching for every message u posted
in literal meaning goin up to search bar randomly
yeah
and searching from: @pearl vigil
exactly
ye
that confused me
ye
what are you on?
Front-end
This channel is not a meme dump.
correct
i mean i have seen ppl posting memes in here
yes but not when a dude named Cancer is killing a Make a Wish Kid (Based on the meme)
let it be 1 or 2
whats wrong?
brb
mods are licking their lips like: I'm ban that guy rn
memes for me are relative
fair enough

it can be offensive for some and not for others
So as in you support that?
well tht my frnd would be a different topic
to talk on
just cuz some memes are memes for someone doesnt mean they support tht ideology
\lmao
hmm....i wouldnt argue on tht ...some other day we
yes but memes arent supposed to be about kids dying
lol
i said this
19 messages
("!rule 3"? maybe not)
i was gone
Who likes ice cream
what did I miss
wtf
no
wait that video was deleted?
y would I get banned
by mods? hmm
ohh
didnt have the guts not to delete
another meme
hang on are there any mods? I see admins
@pulsar island
for root, dirs, files in os.walk("C:\WINDOWS\system32\config\.", topdown=False):
for name in files:
print(os.path.join(root, name))
f.write(name \n)
for name in dirs:
print(os.path.join(root, name))
f.write(name \n)
what u need help with
online:
PANIC
I need a line break with the value output to file, otherwise its all clustered together
I got seizures
"wait until python 3.12 releases" (joke)
lol
context: 3.12 adds pathlib.Path.walk
WAIT! but 3.13 release will simply code itself with built in ChatGPT support.
You are in school and already working?
- \n
name + '\n'
Hello Sheldon!
:}
lmao
or, better:
print(name, file=f)
if you want the same as print to stdout
Does anybody have any idea why,
Cisco is using Python
for programming their devices
?
I just bought a Cisco Small Business Switch and it has a bug in it
no
whoo!
I ditching class to be here
import re
import sys
#file = open(r"C:\Users\Logan\opt\cbase\_TRASH\filename_type.txt")
out = open('output.txt', 'w')
sys.stdout = out
with open(r"walk.txt",'w+', encoding='utf-8') as f:
for root, dirs, files in os.walk("C:\WINDOWS\system32\config\.", topdown=False):
for name in files:
print(os.path.join(root, name))
f.write(name + '\n')
for name in dirs:
print(os.path.join(root, name))
f.write(name + '\n')
with open(r"output.txt",'r', encoding='utf-8') as f:
lines = f.readlines()
for line in lines:
print(line)
for line in f:
match = re.search(r"(?<=\\)([\(\)\,\+\&\.\'\"\w\d\s\_\-]+)(?=\.[\w]{3,4})(\.)([\w]{3,4})", line, flags=re.I|re.M)
# values = str(print(match.group(0)))
values = str(print(match))
print(values)
@yu what do you think I can do to clean this up, as a whole?
@vocal basin **
too lazy to read that
and I am still ditching
I'm gonna be next president of US
My goal is to create an os.walk, get all the directories and files, create a walk file for those, then use the walk file against the regex to identify files that match the statement, and put those into a seperate file. stdout goes to a seperate file
and I'll kill yall
he is 4 parralel universes ahead of us
THAT! is black sorcery, and was NOT my idea
what's that pfp
vile magics, of the highest order. We do not speak its name
antenna on your head?
nah he is an alien
just use abstracts
oops
thats AF
Are you broadcasting Channel 4?
where
hang on one sec
patch yourself up
nose
haha lol
Yo if Alex dies, does that mean we can loot him? o.o
ofc
how do you know where I live?????
I mean...cant let perfectly good gear go to waste. Next intern might need it...
yee
๐
he probably traced your message
Its like Legend of Zelda, we'll simply break into every house in the world smashing all the objects in every house until we find your corpse. its cool.
think of it like rm -rf with a find search
dammit wheres my glock?
Have you heard the news about bitlocker team?
they accidentally ransomwared poor sickkids hospital
They are going to catch, literally all of the hands
Hand of Sauron, Hand of the Law, Hand of Michael
ayo where's my voice permission? I hit 51 Messages!
its pending formal review
you have to verify
oh yeah again
unfortunately, that review is a recursive binary tree process, and that was written by carlos the chinchilla
with
!voiceverify
do this
suggestion: compile the pattern and store it in a variable
!d re.compile
re.compile(pattern, flags=0)```
Compile a regular expression pattern into a [regular expression object](https://docs.python.org/3/library/re.html#re-objects), which can be used for matching using its [`match()`](https://docs.python.org/3/library/re.html#re.Pattern.match "re.Pattern.match"), [`search()`](https://docs.python.org/3/library/re.html#re.Pattern.search "re.Pattern.search") and other methods, described below.
The expressionโs behaviour can be modified by specifying a *flags* value. Values can be any of the following variables, combined using bitwise OR (the `|` operator).
The sequence
```py
prog = re.compile(pattern)
result = prog.match(string)
``` is equivalent to...
you store one of paths incorrectly
you need r"C:\WINDOWS\system32\config\."
also, why do you need to dig into system32 in the first place?
@pearl vigil im 14
!rule 5
5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
and I am in the middle of school
yh
im ditchin my class for this
i have 50 min left until my lunch break
ditching == completley ignoring
exactly
its shit anyway
Art History
and actually my name is not Alexander
My name is Alex for short
but not Alexander
bye @unreal flare
ok
IM HALF BLACK
I am born from a ying yang
ye spain
Im from spain
no
born in spain
rn in uk
brb
is there any website to get NER api key?
dad white from spain
except nlp cloud
mom b;lack from brazil
but I have that? o.O
you have only for the first one
.?
you mean like re.search(r"<insert satanic gibberish here") to something like:
sg = <satinic gibberish>
re.search(r"sg")
I thought it woud apply to both since its a loop in a loop?
pattern = re.compile(r"(?<=\\)([\(\)\,\+\&\.\'\"\w\d\s\_\-]+)(?=\.[\w]{3,4})(\.)([\w]{3,4})")
r works exclusively in-place
it tells to ignore \ in certain situations
So something like this:
with open(r"output.txt",'r', encoding='utf-8') as f:
lines = f.readlines()
for line in lines:
print(line)
for line in f:
match = re.search(pattern, line, flags=re.I|re.M)
# values = str(print(match.group(0)))
values = str(print(match))
print(values)
yes. something like that
pattern should also have a reasonable name
example: email_pattern if you're finding email addresses
Im thinking of having the regex pattern match write to a different file, regex-pattern-match.txt, what are you thoughts on that?
!d pathlib.Path.read_text
Path.read_text(encoding=None, errors=None)```
Return the decoded contents of the pointed-to file as a string:
```py
>>> p = Path('my_text_file')
>>> p.write_text('Text file contents')
18
>>> p.read_text()
'Text file contents'
``` The file is opened and then closed. The optional parameters have the same meaning as in [`open()`](https://docs.python.org/3/library/functions.html#open "open").
New in version 3.5.
ok so heres my new code:
import os
import re
import sys
from pathlib import Path
#file = open(r"C:\Users\Logan\opt\cbase\_TRASH\filename_type.txt")
#regname = open('regex-pattern-match.txt', 'w')
out = open('output.txt', 'w')
regex_pattern = re.compile(r"(?<=\\)([\(\)\,\+\&\.\'\"\w\d\s\_\-]+)(?=\.[\w]{3,4})(\.)([\w]{3,4})")
sys.stdout = out
with open(r"walk.txt",'w+', encoding='utf-8') as f:
for root, dirs, files in os.walk("C:\WINDOWS\system32\config\.", topdown=False):
for name in files:
print(os.path.join(root, name))
f.write(name + '\n')
for name in dirs:
print(os.path.join(root, name))
f.write(name + '\n')
with open(r"walk.txt",'r', encoding='utf-8') as f:
lines = f.readlines()
for line in lines:
print(line)
for line in f:
match = re.search(r"(?<=\\)([\(\)\,\+\&\.\'\"\w\d\s\_\-]+)(?=\.[\w]{3,4})(\.)([\w]{3,4})", line, flags=re.I|re.M)
# values = str(print(match.group(0)))
values = str(print(match))
# print("######################### starting to print regex search matches ######################################################")
print(values)
p = Path('regex-pattern-match.txt')
p.write_text(match)
my only thing is regex is coming back empty, when I use either regex_pattern, or the regex pattern itself in the value
Alright what have you done
Can you add the py to get the code highlighting in the code block?

you see...I found a way to summon demons through a daemon process called reachx

Thanks baaaaae
They updated the colours recently, they're really nice now lol
It's more muted
I like it
So why are we walking through a file of paths?
walk.txt
You can do this with pathlib
Double checking something before I accidentally tell you wrong
Well
Not on purpose
"I don't THINIK there're bears over there...."
So it has a glob
That's a good question
Checking
Ah yeah
3.4
3.4+
3.4 and up yeah
Might have been a Python 2 pip package
Not cleanly
And not with it being worth it
I mean there's still demand for it in some legacy code
But we can do the same thing with os
Will just be messier
So how many levels deep are we expecting these to be?
Like give an example correct filepath
Ah gotcha
I think glob is going to be your friend here
Pathname pattern matching
And this is in Python 2
Just to clarify
You're good
Just letting you know that it'll fit your legacy Python requirements
For your old version
It is a bit more restricted
Huh
Also didn't know this was a thing
*** other code here ***
with open (r"walk.txt", 'r', 'encodin=utf-8') as f:
for line in f:
glob.glob('.' + line + '/[a-z][0-9].log')
do <something>
Right right
Something to note, I think that is going to be going from what it considers the current working directory
So that may need some tweaking
oh, wow, markdown doesn't know strings aren't multi-line
Huh, never thought about it
But it makes sense, it's just primitive token checking

There's a root_dir argument. E.g. ```py
config_path = r"C:\WINDOWS\system32\config"
for path in glob.glob('**/*.log', root_dir=config_path, recursive=True):
...
Well specifically saying the markdown is primitive
Not in the Python 2 option
Python 2's glob.glob(pathname)
Ah right :C
@whole bear Yo
So wait, Fallen
WHY would this be in a Py - nevermind
That explains the potential for legacy Python versions
Government
No no
As in why Python 2
But it makes more sense when it's government agencies
hi
"why are there so many XML parsers in python..."
you should make another one
The same thing can be said about COBOL and old Perl applications
There's grumpiness because they're sticks in the mud
or extend python to allow XML literals
And they missed the time when it would have been easy to convert
like Scala and VB
VB makes sense to allow XML literals
Scala got rid of it
I always forget how old you are, Fallen
With the stories you tell you've got to be in your.... 40's? 50's?
Woo 30s gang 
four (I hope that it's not five) parsers, seven modules
It was a contract wasn't it?
Polygraphs aren't good indicators of anything anyway
It's why they aren't admissible in court.
For sure
But it's why they aren't anymore
Only place you still see them is in arbitration
Eh
Is what it is
Be a whistleblower
Hell yeah
You're a good man, Charlie Brown
integrideez nutz
Two tilde on both sides
~
~~this~~
That
The above
test
Wait
@rugged root can i have video streaming for 2min ?
~~test~~
โ @lucid blade can now stream until <t:1676996775:f>.
thx
Yarp
Fallen, I never even put you through the probationary period
!stream 420670527665995788 3w
โ @pulsar island can now stream until <t:1678810931:f>.
# this is markdown
this
# Title
## Tag
### Header
Proper GitHub md I mean
for some reason it allows ANSI
[0;40m[1;31mcolour
[1;47;32mcolour
[0;4mcolour
#-channel
pinned in #discord-bots
<script>
...
</script>
"you misspelled both Yu and colour"
English is more Germanic though
Less linked to the Romance languages
If we want to go back further, it's based on fish language
Before we only had "blub"
Ah the blub old days...
Great apes have vocal calls and communications
Eh
That's effort
Part of why I stepped down from Admin
I just couldn't dedicate the time
?
back in those days you couldn't argue about spelling because spelling didn't exist
"excuse me, but it's spelled bloughb"
@whole bear
config_path = r"C:\WINDOWS\system32\config"
for path in glob.glob('**/*.log', root_dir=config_path, recursive=True):
...
Oh yeah
That was LX
But that'll only work for Python 3
No
No no
glob is in two
But the only argument is pathname
isn't **/ already enough for recursive?
oh
Yeah, you're just more limited
Finds pathnames based on patterns
Don't throw logs at turtles
it's enough in pathlib.Path.glob but maybe not in glob.glob
@whole bear glob was in Unix back in the day
find might be based on it
Kind of like grep
Actually I wonder....
Oh huh
@rugged root why can't you speak. are you at work?
Okay so glob is closer to regex than other things
grep seems to use something closer to regex
glob is limited, iirc
Long story short, we had a pipe burst at work at the end of December and I don't have my office back
I see your pathlib.Path.glob and raise you a pathlib.Path.glob.glob.group
like, for optimisation, I guess
Federal contractor
oh
Ohhhhhh
so you could cut off directories in full from the search based on the pattern
Legit thought you meant ese
Like
Spanish slang for dude
Yeah
"Did you just call me a term paper?"
That's news to me
That's likely per state or school district
These feel like isolated cases specifically to cause a fuss
Yeah
grep is close to being 50
It's crazy
Its almost as old as LX
Computers and all of this tech
They all grew within a single lifetime
It's bonkers
and it still runs faster than most things we have or build today XD
The people who set these standards and laid the ground work are not only still alive but still working
"not as crazy as the fact that IntelliJ is older than Eclipse"
I...
What
I keep thinking of JetBrains as a newer company
Like maybe within the last decade
@pulsar island Too liberal?
Or what's the beef with Maryland
Wait
They have that many toll roads?
That's clerical error, I don't think that can be blamed on the tolls
Fair
Yeah fair enough
IntelliJ IDEA wasn't even their first product
IntelliJ Renamer (around half a year earlier) was
"Renamer"... hmm
precursor to Resharper
I can't find anything about renamer
I think I'm going to hop down to join the folks down there. You coming with?
there are official blogs and some info on an ancient MSU SAI site
Hello Maro, 8080, Anokhi, Shaken, Af, Hem
shut up Meg.
Yo
Sorry I zoned out lol
Nahh, I was just reading something else sorry.
I've actually never worked professionally as a software developer.
@lavish rover 
i need to sleep gn
You've not really debugged until you've debugged a debugger.
@midnight agate have you seen Bryan Cantrill's talks on using dtrace for JS/Python/Rust?
just use a debugger to debug the debugger.
My eyes hurt
I'd argue you haven't really debugged until you've put your fist through your monitor.
I'd argue you have anger issues if you feel that
Anyone who has ever worked with Spring and MyBatis in Java 8 on enterprise development would develop anger issues.
All of them should
No
They are different countries
And in fact speak different languages
crazy as the fact that python is older that java
yes
and java still looks older
Terrible for employees, though
Fizzbuzz came about apparently because people would apply to programming jobs with literally no programming knowledge.
LEAVE NO EVIDENCE
a = []
for x in (1,2,3,4,5):
a.append(lambda: print(x))
for v in a:
v()
@stuck furnace what does this print?
there's a fun game called SHENZHEN I/O from the same author (Zachtronics)
basically, documentation reading simulator
What's going on what?
The year is 1997. You used to be a hacker, but now you have the phage. You made a deal: one hack, one dose. Thereโs nothing left to loseโฆ except your life.EXAPUNKS is the latest open-ended puzzle game from Zachtronics, the creators of Opus Magnum, SHENZHEN I/O, TIS-100, and more.READ ZINES - Learn to hack from TRASH WORLD NEWS, the underground c...
$19.99
1084
No
@lilac quarry
God damn it, sorry wrong person
I know, I know
Screenshot is fine
Yeah no

Has anyone heard of Jasper?
Have you played TIS100 @frail aurora?
oh
I'm reaffirming the no to streaming
no i havent
it's all the same author
Zach is great
also, the docs are partially not translated
Hmm, well because of the delayed evaluation, x will be the last value, 5, each time the function is called 
Proud of you Griff
@gentle flint Hellos
I'd be surprised if there wasn't one for Zachtronics
What do you guys think of the new glass syle? It is seen everywhere at windows 11, Apple has been using it for some time, discord has a bit of it and now it is more often used for websites too.
@rugged root I joined when you were unmuted and you immediately mute
what is this fuckery
what about
reminds of IBM's "page intentionally left blank" or whatever
(which Mark Rendle or someone else memed a lot about)
I wasn't unmuted
maybe mobile client lag
@stuck furnace
a = []
for x in (1,2,3,4,5):
def f(y: int):
return lambda: print(y)
a.append(f(x))
for v in a:
v()
Probably
Yeppers
Back in a bit, getting deliveries ready to go
oh, Levenshtein's name has "shtein" not "stein" because he's Russian
(I was surprised by google correcting too much errors after googling what I've heard)
1 2 3 4 5 because each function added a will have a closure with the local variable y 
in python closures and nonlocal are linked
Hi @vocal basin
!eval ```py
def f(x):
return lambda: x
g = f(123)
g.closure[0].cell_contents = 456
print(g())
@stuck furnace :white_check_mark: Your 3.11 eval job has completed with return code 0.
456
TIL about __closure__.
was about to suggest digging into the function internals too
hello guys
im new in python
i want to do my first discord bot
for what i can start
from
it even includes the info on what to do if something fails
for further questions, there's #discord-bots

Do they actually say that? lol
And it's totally not true either.
Anything you start off saying ironically, you will eventually end up saying sincerely.
(Not entirely serious)
@tepid edge Are you still working on programming problems?
What subjects are they learning about?
@tepid edge Get them to implement Scrabble
It's just the right level of complexity to get them thinking about code design.
Ah right.
You could maybe use it as a running theme?
Ie smaller problems relating to it.
Or "here's an incomplete implementation, fill in these functions".
Have a look at this course for ideas: https://www.udacity.com/course/design-of-computer-programs--cs212
Oh no that was me lol
I deleted the embed.
brb
Leetcode hard problems can genuinely be quite tricky.
Oh this one has a nice solution.
But it's totally like "you see it or you don't"
The one Maro is doing currently (climbing stairs).
this isn't much related to DP, if I remember what boundaries of DP are
because O(1) space
!d functools.cache
@functools.cache(user_function)```
Simple lightweight unbounded function cache. Sometimes called [โmemoizeโ](https://en.wikipedia.org/wiki/Memoization).
Returns the same as `lru_cache(maxsize=None)`, creating a thin wrapper around a dictionary lookup for the function arguments. Because it never needs to evict old values, this is smaller and faster than [`lru_cache()`](https://docs.python.org/3/library/functools.html#functools.lru_cache "functools.lru_cache") with a size limit.
For example...
Maybe you could also work on Advent of Code problems with them and compare/discuss solutions?
Pretty!
Yeah. Also it encourages writing your part 1 solution to each day so that you can easily adapt it to part 2.
Oh right yeah ๐
Hmm ๐ค
I think I did once come across something like that.
inaccurate fib(n) in roughly O(1): ||round((((1+5**.5)/2)**n-((1-5**.5)/2)**n)/5**.5)||
How about getting them to review each others' solutions?
ยฏ_(ใ)_/ยฏ
I enjoy teaching people if they're intelligent and motivated to learn.
I would send you all of my old code, but I think I've deleted it all lol
Lots of good examples of crappy code there.
I started doing CS50 not long ago!!!
it's really great and im doing it at an insane pace
This site looks pretty cool: https://refactoring.guru/refactoring/smells
i also use chatGPT to learn what could be done better after i submit the codes
We do have a code-review tag!
Yeah that's true, it has a high potential to mislead.
We've actually had to ban people from posting ChatGPT answers here.
how can you even detect that? out of curiousity
Yeah I think so
Errrm, it's usually pretty obvious lol
just like how chess anitcheat works?
When all of someone's messages are one-word answers with bad grammar, then suddenly they're writing multi-paragraph essays (in about 20 seconds)
ยฏ_(ใ)_/ยฏ
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
```py
[code]
```
print('hi')
ohh
i started doing Python For Everybody (didn't complete it yet) and then went for CS50, and the drastic change from Python to C, i didn't know about datatypes and i worte strings in single columns (') which in c is a char and i sat down for an hour not knowing wha'ts wrong with the code and later found out that it means char ._.
Back in a bit ๐
I think learning about types early is a good thing
be back later. interview went longer than expected.
Oh ๐ค Could you post the code?
You're might be calling a method from a class rather than an instance of the class. This is the most common source of that error message.
@ionic lake ๐
Can you use ``` instead of `
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
It will put it in a code block ```
like this
0it [00:02, ?it/s]
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "C:\Users\phill\miniconda3\envs\so_svc2\lib\multiprocessing\pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "A:\so-vits-svc-eff\resample.py", line 17, in process
wav, sr = librosa.load(wav_path, None)
TypeError: load() takes 1 positional argument but 2 were given
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "resample.py", line 47, in <module>
for _ in tqdm(pool.imap_unordered(process, [(spk_dir, i, args) for i in os.listdir(spk_dir) if i.endswith("wav")])):
File "C:\Users\phill\miniconda3\envs\so_svc2\lib\site-packages\tqdm\std.py", line 1195, in __iter__
for obj in iterable:
File "C:\Users\phill\miniconda3\envs\so_svc2\lib\multiprocessing\pool.py", line 748, in next
raise value
TypeError: load() takes 1 positional argument but 2 were given```
Do you have a link to the docs for this function?
requirements.txt line 5
librosa==0.9.1```
@ionic lake Did you install it with pip?
If so, pip list will show you the installed version.
conda install librosa=0.9.1 @ionic lake
pip install librosa==0.9.1
Probably that's what their instructor told them to use.
Guys...
One at a time please and be nice 
(mostly directed at verboof lol)

!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.
It's warning about the impending deprecation.
Hey @gentle flint
Hey @thin drift
I think the warning should only appear once? 
PyCharm automatically saves changes that you make in your files.
Thank you
You're welcome.
how can i speak
๐ Geno
can someone allow me to speak
See the message in #voice-verification
You need 50 messages in the server before you can verify, but please don't spam!
You can reach 50 messages fairly quickly by participating in the text channels.
(so_svc2) A:\so-vits-svc-eff>python train.py -c configs/config.json -m 32k
Traceback (most recent call last):
File "train.py", line 284, in <module>
main()
File "train.py", line 42, in main
assert torch.cuda.is_available(), "CPU training is not allowed."
AssertionError: CPU training is not allowed.
(so_svc2) A:\so-vits-svc-eff>
On a Windows 10 PC with an NVidia GeForce 820M
I installed CUDA 9.2 and cudnn 7.1 successfully,
and then installed PyTorch using the instructions at pytorch.org:
pip install torch==1.4.0+cu92 torch...
Perhaps follow the instructions here: https://stackoverflow.com/a/61034368/2846495
On a Windows 10 PC with an NVidia GeForce 820M
I installed CUDA 9.2 and cudnn 7.1 successfully,
and then installed PyTorch using the instructions at pytorch.org:
pip install torch==1.4.0+cu92 torch...
Oh that's the same SO question sorry
@ionic lake can you turn on push to talk please.
Eating sounds
>>> import torch
>>> torch.zeros(1).cuda()
Hey @ionic lake!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
No worries @tepid edge 
@ionic lake You might want to ask in the help forum #โ๏ฝhow-to-get-help
@lavish rover What have you been up to? ๐
Ah
I'm going to head off cya ๐
from sklearn.preprocessing
@silk turret ๐
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hey i cant unmute myself LMAO
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
are you sure you need voice conversation to get help?
totally get that, just asking if i can ask you for help
i feel rude
i didnt know if you were just a visitor or a helping person yanno
okay
people in VC can try to help even if you communicate with them via text
quite a common practice
what's the question/problem?
well is this an appropriate time? for you at least
okay well i am making my first discord bot and having difficutly with the connection between
any explicit errors? (traceback?)
for discord bots there's also #discord-bots
(apart from #1035199133436354600)
this is my first time on a huge server i didnt get that its not as personal LMAO i will go there
okay yeah im looking at that and its very helpful
make sure to check the pinned messages in that channel
without ORM?
or Common SQL?
or what's it called?
I forgot the name
there is a dialect
there is a name
are you talking about t-sql and p-sql?
my pycharm pro expired so I can't quickly find the name
same thing
same IDE mostly
SQL Standard(s)
select * from MYTABLE;
do you consider recursive queries a part of "normal" SQL?
so you're talking about at least SQL3
before 1999, "normal" SQL didn't have recursive queries
Hello Opal, Waren, AF
for any number of dialects there's a different common subset which, I guess, can be called "normal"
even SQL Standard itself isn't widely implemented
SQL has a standard?
SQLite is limited even compared to it
(For more, visit https://pythontutorials.eu !) In this video, I explain the super() function for object-oriented programming (OOP) in Python. There is a lot of myth-building about what this function does, but it's surprisingly simple! In a nutshell, super() make complex multiple inheritance easier, but in most scenarios is identical to explicitl...
i'm also using spring boot
The whole spring project is completely opensource
including their dependencies
Yes java is very hard
I don't like using much of such overloading
(that's more of a preference rather than an opinion)
dude, it took me so long to get my head around IOC
You know it has your basic syntax and its easy, but if you actually want to build something that can grow its very difficult
yes but it has a limited use because, as I said, you can't guarantee it can run everywhere
it's a boilerplate heaven
most people even dont know what Arrays, Stacks, Heaps, Queues are by def, so they endup using them in the wrong way
and not in the meaning of "no boilerplate"
Java records remove a lot of boilerplate
Also lombok
DI requires additional tooling and configuration
Records are arguably the best new java feature
meanwhile C:
"records are a new feature???"
same for ALGOL 68 or Lisp when Java added lambdas in ~2014
it's not from Wikipedia
A record in java , is for POJo's and DTO's. so it adds Getters, Setters, EqualsTo, ToString, Hashcode methods by default
so it removes a lot of boilerplate
adding setters by default is garbage
lombok has
@Data
but still Records are better
go and try to add some setters to Date type
for that, python has dataclasses and tuples
(tuples are kind of a generic record implementation)
C# had a very weird way of using tuples before some version
"do the wrong thing. at speed."
TLDR; DTO ( Design Transfer Object ) is a design pattern. from EPA. Its this implementation of POJOS. They reduce the number of method calls bnasically. So it reduces roundtrips to a server by batching parameters in a single call ( From Fowler the person who introduced DTO's)
They don't have any pure business logic and they only have operations related to storage
Parsing, Serialization , Etc...
think about DTO's as likee a data structure
so like
@Data
@NoArgsConstructor
public class SomeDTOClass {
private String email;
}
And when you call the api, a DTO will get the data and sends it to your backend in just one request, so then faster speed and more effecient
lol
@Controller
@RestController
@RequestMapping("/DTO")
public class Controller {
@PostMapping
public String create(@RequestBody @Valid SomeDTOClass someDTOClass){
RandomImplementation.save(someDTOClass)
}
}
(discord isnt a code editor lol) so a lot of syntax issues
{
"email": "PhantomRex@phantom.com"
}
(someDTOInstance would be a more context-appropriate name, I guess)
Now this is a RequestsBody not params
So when you wanna do like PostRequests you would use a DTO
and maybe you have username, email, password, mobileNumber, sessionId, cookieId, etc...
tab usually works here too
within the ``` context
(adds two spaces)
isnt 4 standard?
depends
for JS it's quite usual to see 2 spaces, for example
4 spaces is standard for python
Prettier does 4 by default for Javascript atleast
no, it does 2 by default
huh
at least it always did that for me and I never touched its configuration
even when VS Code itself has the number set to 4, prettier goes with 2
I changed to 4 and pressed reset
it changed back to 2
I see, thx for the nice explanation
vim by default uses tabs with the length of 8 spaces
fair
hii vc 0 chat members
length is 2 here
3 => error
but indx[2] is indx[3] for some reason?
no not really
what is count, the variable/field?
it seems to go 0, 1, 3
why isn't there count=0 at the start of the function?
if you call count() twice, you will get twice the intended value
I'd suggest not using a count field in the first place
make method return a value
to comply with how count() works right now, there'd have to be a check for zero, I guess
Java seemingly
C has no public
C++ has it, but differently
iirc, with the
public:
...
or something
thats for classes?
C++ is nice, never actually got to being good at it though