#voice-chat-text-1
1 messages ยท Page 28 of 1
report this?
I'm busy
@tame leaf https://www.youtube.com/watch?v=qmTU1KpVR9c
Put this in your Discord music bots, I really don't care.
Suggest a video idea in the comments below!
Social Media:
Discord: https://discord.gg/uXWuAHF
Instagram: https://www.instagram.com/insertstephenhere/
TikTok: https://www.tiktok.com/@insrtstephenhere
Twitter: https://twitter.com/InsrtStephenHre
i like the tag masterpiece
are you listing to nerrex
or whats his name
idk how to spell it
ty ty
@fair heron
its giving girly pop zero suit samus
thats a vibe
giving nier autonoma
ooooooooh
im not sure if you can import anaimations or
true
wait so did you code all of this ๐ฎ
holy shrimp
@shrewd citrus๐
alisters voice is amazing
1 of my favorite character
yes the oc
๐
yes in a robot apocalypses
@fair heron You realise I said the other one, right?
the dark one ?
Yeah, the current is good.
Yes. It is a bit silly, but the neck was bothering me with the other one and the turtleneck is kind of dope.
@tropic jungle๐
Does this do inpainting?
๐ @earnest hare
thank you
"Vintage advertisement for stable diffusion."
@lofty verge Yo
hi
Im trying to get voice verified
but i need to send more messeges without spoamming
yeha
haha no very interesting
I just want to learn about python programming
youtube
haha
Coursera
tim
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@mild flume I've started trying to use yew
(seems to work so far)
@delicate wren can you explain a basic python concept to me?
P = TypeVar('P', bound=str)
@dataclass
class PikaPrefixDefinition(Generic[P]):
prefix: P
description: str = field(default="")
secure: bool = field(default=False)
metadata: Dict[str, Any] = field(default_factory=dict)
def __repr__(self) -> str:
return f"<PikaPrefixDefinition prefix={self.prefix} description={self.description} secure={self.secure} metadata={self.metadata}>"
what is the point of declaring a typevar and inheriting from generic?
why inherit: otherwise PikaPrefixDefinition[P] would throw an error
!e
class Example: ...
Example[int]
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 3, in <module>
003 | Example[int]
004 | ~~~~~~~^^^^^
005 | TypeError: type 'Example' is not subscriptable
so inheriting from Generic[A, B, C] tells that it's generic over A, B, C
typevar has to be declared outside (prior to python 3.12) because otherwise it'd be NameError
3.12
class PikaPrefixDefinition[P]: ...
(for web; not desktop apps)
thank you @delicate wren
@mild flume do the hedonistic bot
@vernal current ๐
@stuck bluff What happens when you throw glass dust into the air?
sandstrom?
Eye damage?
Lung damage?
Yes, because you get an Opal mist.
Why do people dislike stoners?
"the only type of voice acting I can do" @mild flume @tame leaf
don't ask about the filename
I think it can be go a bit higher in terms of pitch but it's hard
I mean, I kind of HAVE to ask about the file name
normally that sound I can only make with way more noise
the sound was described this way at some point
I forgot about the existence of this
why does it sound so scary
maybe phone mic being worse adds to this
It's like something from Five Nights at Freddy's
ren'py uses extended python dialect
do we have a command for extension docs?
yes
PyObject * everywhere
!d extending
double y
... and higher pitch kind of only works with more noise
just import
iirc
it generates a compiled thing which you can just import
CPython
.so or .dll depending on OS
Here are the top 5 results:
what
.so
yes
shared object
there's .a and .lib for static
cffi and some other one that I don't remember the name of
cffi, SWIG
and now I don't remember if SWIG is that other one or is that thing a third one
pybind is C++
ctypes doesn't generate Python modules
it's just a way to interact with C
>1998
I'm quite certain I have no idea which specific one I'm thinking of anymore
๐ฅบ
poor bebe
well at least other recordings' names are more descriptive
it's not broken, it's just a very-hard-to-do vocal stuff
"Water; glucose; plant extracts (1.6%): prickly pear, turmeric, goji, ginkgo, artichoke, ginger, rosehip; vitamin C; vitamin E; vitamin B6; vitamin B1; vitamin B2; vitamin B12; niacin; pantothenic acid; folic acid; biotin; potassium citrate; magnesium citrate; sodium chloride; zinc; natural flavouring; carbon dioxide; acidifier: citric acid; colouring plant concentrates: carrot concentrate, pomegranate concentrate."
sup
sup hem
good mate i was having some issues with kde and that whole stupid printer thing but a reinstall fixed it
and now im having wifi issues
mint
i wanted to try fedora but seems like everyone is hating on it
I haven't tried that one
I honestly haven't heard a lot about it
oh i loved it by far the best distro imo but they banned it in my country so i dont bother trying to use it anymore
honestly i would just use opensuse anyday but lack of packages
blow up ?
Can I get an English translation?
ah thats persian time
1 amp is alot for anything lol
april basically
I'm guessing 1401 isn't like... 1401 CE, right?
> Voltage, also known as (electrical) potential difference, electric pressure, or electric tension
(wikipedia)
electrons dont move
It's all just gnomes high-fiving each other
its more of a magnetic field thing
I'm surprised there is no, like, simpler synonym to voltage in English
Just like passing the high-five all the way down the line
ig "electric tension" (last one from the list) would be 1-to-1 analogue to Russian term
Persian Calendar time
its similar to arabic calender time
Gooootcha
transistors are like a very simple inaccurate multiplication, in my understanding
its like 2021
doing the same things as relays
kinda
without the fun of breaking
baby bunny in yard - wasnt expecting that @thin lintel
I bet it was cute
bro what
take pics of entire place , have it notarized by the notary who walks through with you - make it a legal court document @mild flume
bunnys love dandelions , happy to oblidge @thin lintel
do you also make beer ? @buoyant dagger
Man from the land of ice and snow
86 Gig for game , how big is your main boot drive ? SSD yes ? @buoyant dagger
make sure your wearing your spurs and have your whip , keep them doggies in line @mild flume
yes good , you need lots of room to expand and external data drive to archive extras @buoyant dagger
@rotund bough Sorry, I completely missed what was said. I was looking for something and my brain shut down. Something about front end?
is 5 years a good guess for SSD drive lifespan ?
what kind monitor ?
@buoyant dagger
ohhhhhhhh 240 Hz cooool
smooooth
is VPN good idea for online games ( yezzz )
I personally say no but things have changed a lot
It's a crap shoot whether you'll get a better connection or not
vpn is good for IP blocks or bla bla
dont know if there is regional stuff
mmmm - if you can get fiber all along the way - distance is no issue
you can get major speed difference when switching to different locations - its worth it
too much data - most vpn dont care - data traffic has no value
no secure OS , W10 or Linux
vpns are worth trying
but no such deal of %100 secure so archive your data externally
accounting bizz is a target for data theft @mild flume
i know old news
Sweden has red light districts ( legal ) , most countries dont
Most bizznezzes want consumers to be piggys and consume
Amsterdam is red light and canabuzz cafes
most Adult movie companys are owned by women
depends on how actively you use it
write cycles ?
if SSD dies before you run out of declared write resource, it's often a problem with the SSD
why am i supressed
solid stuff (cpus, ram, ssds) have 10 years or lifetime warranty as far as I've seen
(lifetime warranty being until the company goes out of business)
bill nye - mech eng , tv dude
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Beakmans World !! member ? @mild flume
uninstall bios
guys what was the real issue with Therac 25 watched on YouTube did
not understand much
oohhhhh get a UPS for your system , power can be glitchy and wreck stuff @buoyant dagger
solar panels on the roof + new batts would be good @delicate wren
here is the question
windows 11 might require it
TPU vs GPU
I dont understand it but is this answer correct? my brother helped me
import numpy as np
v=np.genfromtxt('data.txt')
vlen = int(np.size(v))
u=np.zeros(vlen,dtype=complex)
for k in range(vlen):
try:
u[k] = int(v[k])
except:
u[k] = -100
print('Den nya vektorn รคr [' + str(u) + ']')
int gives you an integer
whereas you need a complex number
Hardware Data Lock
!d complex
class complex(number=0, /)``````py
class complex(string, /)``````py
class complex(real=0, imag=0)```
Convert a single string or number to a complex number, or create a complex number from real and imaginary parts.
Examples...
wondering if a modern Ubuntu install can recognize all my hardware for BIG machine , rather than W10 fook around
does W10 have a optional encrypted drive on install ?
Linux has 10 million options
if you forget your password - your done
does having a encrypted OS drive degrade performance ( maye a bit ) ?
ZFS is the way https://wiki.archlinux.org/title/ZFS#Native_encryption
What's up?
so the question asks of a complex number? what do I change then?
only stuff to worry about is , banking - everything else is on the net for free anyways
you know how to use int to convert to an integer, right? python has a similar thing, complex to convert to complex numbers
yes, but could you explain what my professor wants because honestly I don't understand the assignment
you can create a hidden data archive - wireless that sits ( in a hidden area ) , so learn SFTP stuff
when i leave the loop, the answers of entity_array is the same @mild flume
have a secure micro server at home - then log in
help me
u[k] = int(v[k]) -- this converts a string item to an integer
u[k] = complex(v[k]) -- this would convert a string item to a complex number
you're reusing entity instead of creating a new one
!e
line = []
lines = []
for i in range(3):
line.append(i)
lines.append(line)
print(lines)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
[[0, 1, 2], [0, 1, 2], [0, 1, 2]]
just like here, all elements of the final array are the same
thanks
!e
lines = []
for i in range(3):
line = []
line.append(i)
lines.append(line)
print(lines)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
[[0], [1], [2]]
whereas here a new element is created each time
and if you want to accumulate data instead of starting over entirely each time, you can copy it
!e
line = []
lines = []
for i in range(3):
line = line.copy()
line.append(i)
lines.append(line)
print(lines)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
[[0], [0, 1], [0, 1, 2]]
a cute and dated movie , "Sneakers" , with robert redford @buoyant dagger @mild flume
if they steal your system they want the graphics card for mining , wipe data drive - repurpose it for x , y , z -
yes but I don't know what to do
since I told you that i dont understand the assignment
the overall idea of the assignment is to make an array of complex numbers from a list of strings, while replacing incorrect values with a placeholder
by the time they decrypt your drive , you will have a vacation bungalow on Mars @buoyant dagger
what you think about Quantum computers with cybersecurity
im real usecases this type of thing is done when we need the program to work even if there are errors in the data
yes but where in the assignment is the list?
thus a concept of error handling is mentioned with try-except
input list?
you said there is a list of strings, which one do you mean
how can they have superpositions o and 1 at the same time but when viewed it has 1 position but is freaking faster than the normal computer
thing returned by np.genfromtxt("data.txt"), according to the assignment
a Quantum computer
second line of the code sample at the bottom of the assignment
what about hospitals who get there patient and research data encrypted via bitlocker remotely , and pay to get a key for it @mild flume
!d numpy.genfromtxt
numpy.genfromtxt(fname, dtype=<class 'float'>, comments='#', delimiter=None, skip_header=0, skip_footer=0, converters=None, missing_values=None, filling_values=None, ...)```
Load data from a text file, with missing values handled as specified.
Each line past the first *skip\_header* lines is split at the *delimiter* character, and characters following the *comments* character are discarded.
is this a list of numbers?
of strings
v is input
v is loaded from a file
v contains strings
u is output
u contains complex numbers
look at the example of v and u values
how can they have superpositions o and 1 at the same time but when viewed it has 1 position but is freaking faster than the normal computer a Quantum computer @mild flume
everything, that can be turned into a complex number, gets turned into a complex number
everything else gets replaced by 0-100j
oooooh ok
keys are often generated from passwords
but when I run my code I get this:
16 bytes isn't that large
AES 128 is considered good enough
@proper ridge would know more about this than I
which input do you provide?
what do you mean
I will check
these are missing the imaginary part because you use int() instead of complex()
3
5
2
7
how are they missing? and what do you mean, isnt j the complex number i
in python and programming in general the imaginary part is often denoted as j
help me again pls. If offsets is the same, its not work
Qubits are basically the simplest quantum states you can prepare. Quantum states can exist in a superposition of basis states (a linear combination of basis vectors). This is represented as a probability distribution.
Physically speaking, qubits are defined using subatomic particles which possess a wave-particle duality, meaning they can be in a distribution of states (wave form) or only in a specific state (particle form). You've only been shown the particle form in classical mechanics. Quantum mechanics is the natural generalization of that.
As for why it's faster, we are representing multiple states at the same time using the superposition, therefore when you apply a change in form of a matrix it is applied as a whole instead of row by row like classical computers, so it gives you an exponential speedup in the context of tensor contraction (vector matrix multiplication basically).
all numbers in the output you provided are whole numbers, so it's also missing the part after the decimal point
except for placeholders
It's not objectively superior. It can become useful when the problem definition reaches a significantly lower computational complexity when defined for the quantum mechanical approach as opposed to the classical one. It's about how you formulate a problem.
what should I change for it to become correct?
Just think of it as a tensor contraction backend.
this
thanks @proper ridge
so I change int to complex?
try changing
ok I will try
Pleasure, kindly let me know if you have additional questions. It's ok to feel weirded out by it, it's an entirely different way of thinking.
Needs some getting used to.
just for u[k] right?
@proper ridge how computers detect the current state of the qubits
yes, only that line
@misty sinew ๐
[[ 3.+0.j nan+0.j 5.+0.j 2.+0.j nan+0.j 7.+0.j]]
heyyy
Quantum computers store the qubits in their wave form. However, you can only measure out the result which causes the qubits to collapse to either 0 or 1 (classical form). To retrieve the state (quantum output), they do this multiple times until they can recover the distribution with enough accuracy.
why does it say nan
!e
print(complex("aaa"))
: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 | print(complex("aaa"))
004 | ^^^^^^^^^^^^^^
005 | ValueError: complex() arg is a malformed string
hmm
but then have the question if it falls in to 1 state then it is like the normal computers doing 0 1
should I write a letter between the numbers?
@proper ridge
in data.txt
@delicate wren
I don't understand where would nan come from, actually
noooooooooo
!e
print(complex("nan"))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
(nan+0j)
do you have this?
You have a distribution, let's say it's 50 percent probability of getting 0, 50 percent probability of getting 1. When you measure you may get 0 or 1, and if you do it enough, you'll see half the times you're getting 0, and half the times you're getting 1.
if its nan+0j or whatever, then you need add a check for nan
my assignment should be handed in in 4 hours and it determines whether I pass the course or not
ok eneough
!d numpy.isnan
numpy.isnan(x, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature]) = <ufunc 'isnan'>```
Test element-wise for NaN and return result as a boolean array.
@proper ridge thanks for clearing most of my doubts
i dont understand this
It detects nans, and tells you if you have a nan value or not.
but my professor wants me to write the code, and I don't think that it is correct to code out the error. The error shouldn't be there from the first place
can anyone help me?
I can only edit this part:
!e
import numpy as np
a = 1+2j
b = np.nan
print(np.isnan(a))
print(np.isnan(b))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | False
002 | True
vlen = int(np.size(v))
u=np.zeros(vlen,dtype=complex)
for k in range(vlen):
try:
u[k] = int(v[k])
except:
u[k] = -100
I can only edit this
Please send me the assignment pdf.
not the print part
is this good?
or do you still want pdf?
Good enough.
great
Watch the stream, I'll walk you through it.
even slight cold damages skin a lot for some people
what stream?
ok I will watch
not an ad, just a free game --> Freshly Frosted
there are three dotes
mosquitoes are relatively quiet where I live
I cant see your screen
Wait for it.
def str_to_complex(values: list[str]) -> list[complex]:
new_values = []
for value in values:
try:
new_values.append(complex(value))
except ValueError:
new_values.append(complex(0, -100))
return new_values
v = ['a', '0.1', '3+0.9j', '7', 'True']
new_v = [(0-100j), (0.1+0j), (3+0.9j), (7+0j), (0-100j)]
print(str_to_complex(v)==new_v)
I want you to explain this to me.
@slate dirge
reminder to test with "nan" as an input later on
I'll test it now.
!e
import os
r = os.system("dir")
print(r)
the goal of learning is in large part to get understanding
:white_check_mark: Your 3.12 eval job has completed with return code 0.
32512
just help me to know what to change for me to get the right answer because I feel bad that you eplain too much and I don't understand
!e
def str_to_complex(values: list[str]) -> list[complex]:
new_values = []
for value in values:
if value == 'nan':
new_values.append(complex(0, -100))
continue
try:
new_values.append(complex(value))
except ValueError:
new_values.append(complex(0, -100))
return new_values
v = ['nan', '0.1', '3+0.9j', '7', 'True']
new_v = [(0-100j), (0.1+0j), (3+0.9j), (7+0j), (0-100j)]
print(str_to_complex(v)==new_v)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
True
and one of the way to demonstrate understanding is through explaining
-nan
You have the answer right here. Let's dissect it.
Ohh nice.
!e
print(complex("-nan"))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
(nan+0j)
is the answer the whole coding you have written?
!e
def str_to_complex(values: list[str]) -> list[complex]:
new_values = []
for value in values:
if 'nan' in value:
new_values.append(complex(0, -100))
continue
try:
new_values.append(complex(value))
except ValueError:
new_values.append(complex(0, -100))
return new_values
v = ['-nan', '0.1', '3+0.9j', '7', 'True']
new_v = [(0-100j), (0.1+0j), (3+0.9j), (7+0j), (0-100j)]
print(str_to_complex(v)==new_v)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
True
numpy is already imported, so np.isnan is available
Yeah I saw that, but I though maybe she's not allowed to import anything.
Ohh I'm blind. It's already imported.
I apologize.
!e
print(complex('NaN'))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
(nan+0j)
since we're not in js, checking for caseless nan should be enough
then you only need to deal with inf
which is non-trivial via text
e.g. should a big number be inf or placeholder?
!e
def str_to_complex(values: list[str]) -> list[complex]:
new_values = []
for value in values:
if 'nan' in value:
new_values.append(complex(0, -100))
continue
elif 'inf' in value:
new_values.append(complex(0, -100))
continue
try:
new_values.append(complex(value))
except ValueError:
new_values.append(complex(0, -100))
return new_values
v = ['-nan', 'nan', 'inf', 'lalala', '-inf', '0.1', '3+0.9j', '7', 'True', 'False', 'None']
new_v = [(0-100j), (0-100j), (0-100j), (0-100j), (0-100j), (0.1+0j), (3+0.9j), (7+0j), (0-100j), (0-100j), (0-100j)]
print(str_to_complex(v)==new_v)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
True
Please try to explain it to me to ensure you understood it.
Im back, sorry I had to do something
You see it took me like a minute to write, but I want you to explain how I did it.
Go line by line.
wait
I don't even understand my assignment so how am I supposed to explain what you wrote?
I told you that I don't know python
!e
print(complex("1e999"))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
(inf+0j)
So your assignment says given a list of strings containing a bunch of stuff, including numbers and bullshit strings, to convert them to complex numbers, and when invalid to hardcode them as (0-100j). That's it.
I'm thankful for the help but did I miss something? because I cant see you in the live nor hear you so how am I supposed to know?
I did not know this. Nice AF.
I am not speaking.
idk if there's a way to nan this way
in JS there is
I mean it's an inf? I could do complex and then check?
is inf even acceptable?
ooooh
and the list only contains numbers
i checked it
Try to explain it to me. Try.
I think that this is the list: 3
5
2
7
I don't care that it's your homework or exam, you have your grade now. But I do care if you understand the code.
ok but have you given me the correct code?
Ok, I'm done.
?
is this the code?
!e
print("Hello Meriiam")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello Meriiam
Use whatever you are comfortable with.
it says "true"
but I hashtagged what I have written before
I just took the code above that you wrote
but how is that helpful??
@proper ridge
What did you write?
How is what helpful?
Did you look at what it's checking that results in True?
I just want the answer for my assignment I have been searching for an answer in 6 hours now and I only have two questions left
I am very tired
I am not here to learn python
No
import numpy as np
v=np.genfromtxt('data.txt')
vlen = int(np.size(v))
u=np.zeros(vlen,dtype=complex)
for k in range(vlen):
try:
u[k] = complex(v[k])
except:
u[k] = -100
print('Den nya vektorn รคr [' + str(u) + ']')
Then please read the code. It's barely 17 lines.
I read through it but I told you I don't know any python
This is wrong. You're supposed to set it to -100j.
How? Isn't this your final exam?
just tell me what I should change in my code above
nooo we had 4 quizzes as examinations
and I succeded in three of them this is the last one and I am on the two last questions
The teacher was kind enough to open the assignment again to me today until midnight and it is 4 hours left
I kindly ask you to tell me what to change in the code above
!e
import numpy as np
v=['a', '0.1', '3+0.9j', '7', 'True']
# This implementation does not check for nan and inf
vlen = int(np.size(v))
u = np.zeros(vlen, dtype=complex)
for k in range(vlen):
try:
u[k] = complex(v[k])
except ValueError:
u[k] = complex(0, -100)
print(f"The new vector is {u}")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
The new vector is [0. -100.j 0.1 +0.j 3. +0.9j 7. +0.j 0. -100.j ]
Did you read the rules of the server when you joined?
no, I was desperate to get help I just joined
Rule 8
Do not help with ongoing exams. When helping with homework, help people learn how to do the assignment without doing it for them
The only way I am allowed to help you is to ensure you understand the code.
Otherwise I am breaking the rule.
You have 3+ hours. It's barely 10 lines. Please try to learn at least what I did.
I understand, but it doesn't hurt you nor anyone if you help me.
I can read it of course but my intention is not learning
so why waisting both of our times?
You are rather rude and entitled for someone who asked others for help. I don't have to help you, but if I am the least you can do is to try and see what I did.
Then don't message on this server.
then where can I get help?
no one helps, everyone follows the "rules" as if they were laws
You don't want help, you want others to do your homework for you. You are also by far the rudest person I've seen going about this.
how am I rude?
I don't have to help you, and when I try to bend the rules for you, the LEAST you can do is try to understand the code. That's helping you.
When you blatantly order me to do your exam and then when I ask you to try and explain the code you basically tell me to shut up I see that as rude and entitled.
I have already written the code with the help of my brother, and I ask you what did I do wrong
but you send a whole coding that is far above of my understanding
and you want me to explain it?
I want to cooperate. But the code you sent I haven't been taught about it
python is great because it will tell you your errors all along the way - and if confused copy / paste the error message at , duck duckgo and get 5 answers
how bout that ?
fix the print statement
So you want to learn then?
the second varriable is off
I am not being rude at all but the way you try to teach me is wrong. How could I explain a long coding if I am beginner level
10 lines is alot?
I am reffering to the first one. Let me find it wait
numpy is easy you got this!
I wrote it as your assignment instructed.
this
thats me with android studio
Read this.
thank you, I will look at what you wrote after I reply to ace
I will now wait.
I mean you don't need the type hints for the assignment
or truth tables
we all have time to get there
yup
no such thing as a stupid question
learn till you get it
everyone can get it
mhm
take your time learn the concept and boom you will have it forever
as philosophy says to master yourself and your journey is the end goal
I read it and the only part I think I understood was this: py ['a', '0.1', '3+0.9j', '7', 'True'] I think this is called a vector?
A vector is a list of values, so yes.
yes
ok great
what are you trying to get your code to do
but the rest I don't get it
If I understood it correct they want me to write the numbers in the list as complex number and if it is not possible then they write 0-100j
Yes.
please explain your code
what are you trying to make post
what is the future outcome of your code
give it a go
people are great but use free sources
then comeback if you are stuck
I don't want to use ai
okay google
how do you support ai? aren't you programmers, you know that if ai develops more programmers will lose their jobs right?
ill say this my mentor once said abuse every shortcut you can get
do it
because ai is nlp you will learn that with pandas
Yes, you should join the AI and take our jobs.
its vectors but with words
I never use chat gpt because I think it is stupid to depend on a robot when God gave us brains to think
everything you are doing will apply to something bigger
keep going with your learning
so use them
can you guys help me or not?
reffering me to an ai is crazy
instead of asking others to do everything
helping is not the same as answering your question
okay well im going to take my leave
ok
it's very sane advice
They've been trying to for the past 20 minutes. Ask a question or go solve it yourself using your God given brain. :D
good luck
ai was made by humans
ai taking jobs?
I never asked you to do everything. I asked you to help me correct what I have done
what's acronym initialism doing?
I've come this far:
im helping by refering you to free resources
import numpy as np
v=np.genfromtxt('data.txt')
vlen = int(np.size(v))
u=np.zeros(vlen,dtype=complex)
for k in range(vlen):
try:
u[k] = complex(v[k])
except:
u[k] = -100
print('Den nya vektorn รคr [' + str(u) + ']')
I just want help with the mistake that I can't find and yet you say I want you to do all the work
it's actually Appetizing Iodine
๐
^^^^
okay i need to learn android studio time for my own questions on questions
time to leave the chat
๐
@slate dirge read clean code
it might help you with the philosophy
of writing code
or more organized code
yup thats why i recommended ai
to explain if you are stuck
just prompt explain me like im 5 on what the code is doing
boom helped
I asked you for help, not chat gpt. I could go use it but I wouldn't be here then
do it bitch
ill gpt it 1 sec
@elder wraith have you considered using ai
What is the difference between having @proper ridge take your job or AI? You're supporting one or the other by having either solve your problems. ๐คทโโ๏ธ
piledrive me daddy
If you can't solve it then leave it be
owo
Hello
import numpy as np: This line tells the computer that we want to use a tool called "numpy" and we will call it "np" for short. Numpy helps us work with numbers easily.
v = np.genfromtxt('data.txt'): This line reads a file called 'data.txt' and puts all the numbers it finds in the file into a list called v.
vlen = int(np.size(v)): This line counts how many numbers are in the list v and saves that number in a variable called vlen.
u = np.zeros(vlen, dtype=complex): This line makes a new list called u with the same number of spots as vlen. All the spots start with the number 0, but we say that the numbers can be complex (which means they can have an imaginary part).
for k in range(vlen):: This line starts a loop that will go through each spot in the list u. The variable k will go from 0 to vlen - 1.
try: u[k] = complex(v[k]): This line tries to turn the number in spot k of the list v into a complex number and put it in the same spot k of the list u.
except: u[k] = -100: If the number in spot k of the list v can't be turned into a complex number, this line will put the number -100 in the same spot k of the list u.
print('Den nya vektorn รคr [' + str(u) + ']'): This line prints out a message saying "The new vector is" followed by the list u.
Ai is a database with solutions but a human uses it's brain.
boom id say ai is very reasonable
Well most do...
so true lol
Y'all are so immature it is sick
wheel
You might have better luck asking in #data-science-and-ml for help with numpy-related stuff
numpy ah yes
data at its finest
๐ต :
Try-except block for file reading: Added a try-except block to handle potential errors when reading 'data.txt'.
Check for empty data: Added a check to ensure that the data is not empty before proceeding.
Error message: If there's an issue reading the file or it's empty, it prints an error message and sets v to an empty array to prevent further errors.
This should help catch and handle errors related to reading the file and processing its content.
๐
So no one here can help without an ai?
Yeah we stopped allowing nohello, rtfm, etc. ๐
then what is the point of this server?
with the help of chat gpt?
nope
im telling you to just explain it like im 5
boom to help you explain it in your own words
and I tell you I don't understand it
instead of boom fix problem
If I knew would I be here?
thats where you have to try to understand it
i gave you chatgpt to just explain it
and it did
I can fix my problems I'm still here ๐คท
Meriam what even is your question, because right now all I see are what look like answers being ignored so you can complain about us complaining that you are unreasonably angry at us for "not helping"
you're overestimating the scope of the task
Consider the fact that most companies are unable to successfully develop and deploy the simplest of CRUD applications on time and under budget. This is a solved problem - with smart people who can collaborate and provide reasonable requirements, a competent team will knock this out of the park every single time, admittedly with some amount of frustration. The clients I work with now are all like this - even if they are totally non-technical, we have a mutual respect for the other party's intelligence, and then we do this crazy thing where we solve problems together. I may not know anything about the nuance of building analytics systems for drug rehabilitation research, but through the power of talking to each other like adults, we somehow solve problems.
i thought i was steve jobs then i did a project without googling it time it takes to finish 1 hour took me 3 days
if i googled the answer i would have saved 3 days
Wait what's CRUD
I just need someone just one person not everyone, to explain where I did wrong in my code:
Create/Read/Update/Delete
But that was done? And it was even explained to you.
import numpy as np
v=['a', '1.0', '3+0.9j']
vlen = int(np.size(v))
u=np.zeros(vlen,dtype=complex)
for k in range(vlen):
try:
u[k] = complex(v[k])
except:
u[k] = complex(0,-100)
print('Den nya vektorn รคr [' + str(u) + ']')
cant you just sort the numbers with an array aswell
Swedish?
oh ffs
sorry i cant help it ๐คท
med uppgiften
Nej jag รคr dum i huvudet ๐ญ
sorry @hearty heath please dont ban me
What
skitsamma, alla hรคr รคr bror
pratar engelska i hรคr por favor
@slate dirge Please move over to #1035199133436354600, as this channel is for discussions relating to voice chat. Make sure to state your question clearly with full context.
"por favor"
it was a joke
"por favor"
it was a joke
"por favor"
it was a joke
"it was a joke"
"it was a joke"
a joke, it was
correct
if all else fails indian man youtube tutorial for last resort
por favor
Quickest way to find American Soccer/Football Fan: "What's relegation?"
no
I love making gimmicky text editors
Ketchup
BBQ Sauce, it's a meat
ain't no way weird conversations like these are allowed but helping me with a little coding is cheating
Everyone always talks about how cringe discord is and I understand it sm now
Python Voice chat is unhinged place. Most Mods/Admin won't even come in here.
my bad
Guys I have so many weird gifs in my favourites
Same ๐ญ
please help @ornate cobalt
"Wat"
dont android studio isnt fun
"a" * -1
!e
print("a"*-1)
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
!e
print("ab"*-1)
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
!python
!e python print(type(print("ab"*-1)))
>>> "abc"*-1
''
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 |
002 | <class 'NoneType'>
lol
!e
print(None)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
None
classic python shenanigans
!e python print(type("ab"*-1))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
<class 'str'>
Print type print
Mods are asleep, post Javascript
console.log("Bet.");
Florida man wakes up with headache, finds out wife shot him in his sleep.
Why tf are 4 people muted.
Wait do they have roles
i need some ๐จ
Same 
i'll post my hunting knife tomorrow
what state is this?
Maine
i wanna open a gun store in the US
lots of paperwork, low margins
Don't know, parents' house, the carpet is older than me by multiple decades
Definitely a Persian carpet then.
I'm way overweight, but I am working on it. At the very least I am no longer obese.
20 more lbs to lose for me
Now working on getting below 200 lb.
Who even needs a gym? I have a bicycle, a set of dumbbells, a pull-up bar, hiking boots, sneakers, and my own body weight.
And a nearby river that is finally clean enough to swim in.
You're always running though, I imagine you'll burn it off in a week or two.
one week of running burns off 0.4 kg.. so at that rate... losing 10kg would take 25 more weeks
Sitting here watching every storm cell friggin explode around me
I mean you also use energy by breathing, sleeping, and doing other stuff. You just need to reduce the intake.
But 10kg in eid, I salute you sir HEHEHE.
Lotta rice and bread huh.
all that is factored in.. it takes one week to lose 0.4 kg
I see.
no .. + 2kg in eid.. plus it's mango and ice cream season
If you like ice cream I can give you a good recipe that doesn't make you as fat when you eat alot of it. I used to eat it quite alot when I was bodybuilding before POTS.
And it's super easy to make.
Mango is mostly water, so for ice cream you can try my recipe and if you enjoy it you can use that. Most ice creams sold these days are made of just fat than milk. I honestly stopped buying from outside and make them at home now.
i prefer frozen yogurt ... i just eat ice cream once a year for the novelty
Ohh gotcha.
Frozen yogurt shouldn't make you fat though, right?
no.. it is not processed food
approx 7-8kg target before eid
will become 10kg in these coming few weeks
Gotcha
cherry season is.. before mango season iirc
cherries come from the sistan balochistan area
Back home (you may know where) we used to get it throughout summer.
Yeah.
We got it throughout summer though.
Miss it so much. Haven't had it in years.
well android studio is supprisingly easier than i thought
hi guys
Hi hi.
@stuck bluff well i found out android studio is easier than i remember
so true thats exciting
๐
@mortal stone is it a contract
when something good happens to me i get skeptical
its like a double take
like is this really happening
yeah when i saw rich people run over turkeys
nothing bothers them
didnt that one kardashian hit a guy and did no time
college is for networking
all the geniuses like terriance tao
they just picked up a book and read
lol
i wish that happened in my life you my friend are blessed
funny. i just had some now
time for the lychees
I almost never order computer stuff with delivery
for me it's easier and cheaper to order and then to go to pick them up from the store
the rare expression is when it's things I can only get off aliexpress (since they're not widely available locally)
eh
haven't enountered that
they sometimes get delivered separately anyway
last time I had RAM and CPU in the single order; only RAM has arrived so far
as wherever the CPU is, I have no idea
do not buy SSD on aliexpress, just don't
it's something you really should buy normally, not used, not resold thousand times
used/sketchy origin HDDs are okay-ish;
but SSDs -- definitely not
iirc one of samsung phones was the main phone that got popular for its explosive properties
Samsung SSDs are good
@thin lintel catorama
it left Novosibirsk 5 days ago (so likely either on train or on a truck somewhere right now)
(CPU)
Kazakhstan's independence day is unusual, since they de facto declared independence from themselves given they were the last country in the USSR
16 of December, 1991
four days after R(S)F(SR)'s independence
and in Russia independence day isn't 12 of December but 12 of June instead
(and it got renamed because "independence" it kind of not entirely applicable for this situation)
that's on 9th of May
the parade
it's for the end of east front part of WWII
Russia Day is on 12th of June
which comes from 1990 when it gained extended autonomy within USSR
12 of June is a holiday; 12 of December isn't
there are also some holidays in early November which have something to do with independence
or national unity, or whatever
from back when Poland had some realistic chances at ruling over Moscow
does shift+drag select?
why can't i stream here ?
there is so much art of Frieren with guns
Streaming permissions are available upon request of moderator-level-and-above users at their discretion. The best time to ask is when you see them in the voice chat.
Voice-regulars are the best to ask.
@wraith portal "ask Hemlock" is the usual way to get the role for a longer period
"Steaming jesus Frie, take the bloody shot! We need to recover those missiles!!"
Mods you mean Hemlock ?

aight.
A well-written villain makes you sympathise with them.
:x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 1
002 | [,]
003 | ^
004 | SyntaxError: invalid syntax
no
there is nothing before ,
it has different meaning in JS
what it is useful for is for discarding parts of an array pattern in an assignment
[, second] = pair
_
for pattern
yeah
_ is weak keyword
!e
_, _ = 1, 2
print(_)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
2
[_, relevant] = [1, 2]
there are rare situations where _ is treated specially
not in eslint-compliant TS
it does not accept _variable as unused
!e
match 123:
case _:
print(_)
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 3, in <module>
003 | print(_)
004 | ^
005 | NameError: name '_' is not defined
Source code: Lib/keyword.py
This module allows a Python program to determine if a string is a keyword or soft keyword.
or soft keyword
there is a setting in TS config for that
eslint config.. ignoreUnderscore or something
yes, but JS/TS have a specific thing to discard the value
which is to remove it entirely
!e
from keyword import softkwlist
print(softkwlist)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
['_', 'case', 'match', 'type']
arr = [1, 2]
relevant = arr[1]
Ah yes, the neutral face soft keyword '_'
!e py print(print)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
<built-in function print>
oh okay ๐
the berett m82 โค๏ธ
I think the brain part of my vision is degrading faster than the eye part
Right?
Hello Hemlock
You'd make a terrible greyhound.
@mild flume
how do I do a subprocess for a function on a discord bot @zenith wedge
What's that Osyra?
!stream 451730408636416000
โ @hazy garden can now stream until <t:1718980573:f>.
Hemlock, will you be willing to help me with another coding challenge? Not now, but a little bit later.
It's regarding object oriented programming.
boring
I'm genuinely stressing out because I'm procrastinating on too many assessments right now.
I might as well start on the maths because it's easy.
ahh I hate chem
oui
and english sucks as well
but our teacher is bad
That's my history task
we need to write a research paper on the black death
and then an in-class validation essay
since when was frieren playing in the background
oh that's me
ep 4
it was playing for some reason
Provided to YouTube by Sony Music Labels Inc.
Anytime Anywhere ยท milet
Anytime Anywhere
โ 2023 Sony Music Labels Inc.
Released on: 2023-09-29
Arranger, Producer: Evan Call
Composer: Daisuke Nakamura
Composer: Yoichiro Nomura
Auto-generated by YouTube.
wait no way yoasobi's song was the frieren op s1
... osu?!
o
ahh but i've got work that's due

I know that grades don't (really) matter in my age, but I can't stop caring
@dusky fjord ๐
@tame leaf hello
1
30
0
c++, linker-errors, mingw32