#voice-chat-text-0
1 messages ยท Page 663 of 1

ofc
;0
i want to unsee this
that's a fking strong jeans
nope
Mickey never came back from 'nam.
Support me and get acces to music and extra : https://www.patreon.com/Ethereal_Snake
Merch : https://teespring.com/fr/stores/ethereal-snake
Twitter : https://twitter.com/EtherealSnake_
Instagram : https://www.instagram.com/etherealsnake/
Agat...
pls stop this crappy pic
About translating client's needs!
.
.
.
.
If you like my posts, you will love my new book: https://lnkd.in/g4uCcg4
Click "Follow" for more #inspiration... 481 comments on LinkedIn
@whole bear , please, stop spamming
im not
but you are....
await @Saiki Kusuo#8922.ban(reason='trying to get 50 messages by spamming')
.....
LOL
I wonder why I had a bug and try looking for it for 10 days because of a fkingspace
if [ "12" -eq "12"]
chill tf out
if [ "12" -eq "12"]
@misty salmon tells that "bash: [12: command not found"
relatable
string1 = "12"
string2 = "12"
if [ $string1 -eq $string2 ]
wow
#!/bin/bash
#Declare string S1
S1="Bash"
#Declare string S2
S2="Bash"
if [ $S1 = $S2 ]; then
echo "Both Strings are equal"
else
echo "Strings are NOT equal"
fi
Hey @hidden cove!
It looks like you tried to attach file type(s) that we do not allow (.html). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.
Feel free to ask in #community-meta if you think this is a mistake.
Can we not turn #voice-chat-text-0 into your personal meme dump? @whole bear
ok ๐
hahhaha
Hi
Hey
just play 20 questions with eachother which should end up being 40 messages ๐คฃ
lol
i was never here
๐คฃ
๐
!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.pydis.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.
!pasta
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.pydis.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.
!paste
what's with the !paste
there is a dude spamming
i am not spamming
yes it was, then you deleted it
I think he's trying to paste his code
I thought that this was bot commands my bad
yh
ahh
To prevent trolls from making our voice channels unusable
It's either some sort of barrier to prevent people from entering too easily or disabling voice channels entirely
Malbolge
Who here codes in go?
not me
where is it?
@gentle flint
rome?
florence...
very big
by bruneschelli
brunelleschi*
hey
how are you guys doing?
me too
๐
fine n u?
I am good
nice
you can ask right here
@hidden cove
The thing is
I need to make an algorithm that gives me the 2 biggest values in a list
I managed to get the biggest one
using this
for i in range(n):
x = int(input("Introdu un numar: "))
numere.append(x)
if mare == "" or x > mare:
mare = x
not sure how to get the second biggest
i wanted to remove that value from the list with remove(mare)
but it removes duplicates
i don't want to use the sort function
i want to use algorithm
I found something online but I'm not sure about one thing
how to do I paste code here?
with python
well im not so sure cus I'm new to programming thing
!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.
vals = [1,6,3,6,3,6,8,8]
sorted_list = []
i = 0
print(vals)
min_val = vals[0]
while len(vals) > 0:
if vals[i] < min_val:
min_val = vals[i]
i += 1
if i == len(vals):
sorted_list.append(min_val)
vals.remove(min_val)
if vals:
min_val = vals[0]
i = 0
print(sorted_list)
this is how i managed to sort them
from the internet
but i don't know what if vals: stands for
Also how can I tell how many messages i've sent?
find the first and second biggest number\
Python List max() Method - Python list method max returns the elements from the list with maximum value.
Sorry, but I have to go to sleep.
okay okay
take acre
you can try bubble sort if you learned it
Explanation for the article: http://quiz.geeksforgeeks.org/bubble-sort/
This video is contributed by Arjun Tyagi.
it's actually pretty simple
it's just a reference ๐
ehm i guess using it is not very efficient
since it goes through n-1 interations
i found out that python sort() used Timsort which is really fast already, don't know if other algorithms can be faster ๐
Hello!
The 2 biggest numbers
In a list
Without using min max
sort
Only using algorithm
I tried some things
But only managed to get the max
doesn't pop removes the last number?
of a list
removes also removes duplicates
so if my list is [3, 3, 2 ,1]
and i get max = 3
and then remove(3)
is gonna remove both 3s
that's my problem
so pop(3)
you can use <= or >=
after you sort get index 0 and 1
n=int(input("Numbers: "))
max1 = ""
max2 = ""
numbers = []
for i in range(n):
x = int(input("Number: "))
numbers.append(x)
if max1 == "" or x > max1:
max1 = x
print("Biggest number: ", max1)
numere.remove(max1)
for i in numbers:
if max2 == "" or x > max2:
max2 = x
print("Biggest second number", max2)
so you don't have to worry about getting number
if my numere= [3,1,2,8,8]
it's gonna removes both 8s
Do you want me to translate it in english?
It's in romanian so it's a bit confusing i think
so how can i find
the index of the number?
list.index(val)
number.index(max1)
?
do i make a variable?
that stores the value of the index of max1?
u are trying to index an integer
is max1
thats not possible
n=int(input("Numbers: "))
max1 = ""
max2 = ""
numbers = []
for i in range(n):
x = int(input("Number: "))
numbers.append(x)
if max1 == "" or x > max1:
max1 = x
print("Biggest number: ", max1)
numere.remove(max1)
for i in numbers:
if max2 == "" or x > max2:
max2 = x
print("Biggest second number", max2)
@steep flare
is that your code?
yes
lemme try
l=[1,2,3,4,5]
x=l.index(4)
print(x)
Yeah i got that
and so on
i just though that in the ("here") you type the index
not the number
but how can i know where my number is located
so how can I type that?
Can u explain what you need to make?
l.index(8)
So u need to have an input for numbers
add these numbers to a list
and get the biggest numbers of that list
and u need to get the index of those numbers
right?
n=int(input("Numbers: "))
max1 = ""
max2 = ""
numbers = []
for i in range(n):
x = int(input("Number: "))
numbers.append(x)
if max1 == "" or x > max1:
max1 = x
print("Biggest number: ", max1)
numere.remove(max1)
for i in numbers:
if max2 == "" or x > max2:
max2 = x
print("Biggest second number", max2)
for spartn
just get the first half
i tried with this
if you sorted number from highest to lowest in a list you only need to get the first 2 index in the list
yeah
but not sure how to sort them using alogrithm ๐
vals = [1,6,3,6,3,6,8,8]
sorted_list = []
i = 0
print(vals)
min_val = vals[0]
while len(vals) > 0:
if vals[i] < min_val:
min_val = vals[i]
i += 1
if i == len(vals):
sorted_list.append(min_val)
vals.remove(min_val)
if vals:
min_val = vals[0]
i = 0
print(sorted_list)
I have this for sorting
but I'm not sure how he did it
I found this online
i don't understand this part
if vals:
min_val = vals[0]
bruh
u can do sorted(numbers)
here
max1 = ""
max2 = ""
numbers = []
for i in range(n):
x = int(input("Number: "))
numbers.append(x)
if max1 == "" or x > max1:
max1 = x
print("Biggest number: ", max1)
print(sorted(numbers))
numbers.remove(max1)
for i in numbers:
if max2 == "" or x > max2:
max2 = x
print("Biggest second number", max2)```
try this
y=numbers.index(max1)
numbers.pop(y)
print(numbers)
i don't want to use the sort function
Why not
bubble sort :)
n = int(input("amount of number:" ))
if n:
number_list = []
for i in range(n):
number_input = input(f"Input number position {i}:")
try:
number_list.append(int(number_input))
except Exception:
pass
for j in range(len(number_list)):
for j in range(len(number_list) - 1):
if number_list[j] < number_list[j+1]:
number_list[j], number_list[j+1] = number_list[j+1], number_list[j]
print(number_list)
n=int(input("Numbers: "))
max1 = ""
max2 = ""
numbers = []
for i in range(n):
x = int(input("Number: "))
numbers.append(x)
if max1 == "" or x > max1:
max1 = x
print("Biggest number: ", max1)
y=numbers.index(max1)
numbers.pop(y)
print(numbers)
nice
Okay.
Thank you a lot
glad to help..
How can I stop a program?
i want to write something like this
if n == 0:
stop
not sure how to stop it :))
if n == 0:
exit()```
sys.exit() is preferred.
Got another request. I got stuck in this one
I don't know how to start and all
I'll make an example to explain my program
we have this list
v = [1, 2, 3, 4, 0, 0, 0, 0, 0, 1, 0, 0, 1, 2]
I want my program to find the longest sequence of 0 and print the index of the first 0. If there are more equal sequences it will print the first one
For example in this list it will print 4.
can someone help me with my python code #beginner
can someone help me with my python code #beginner
@minor drum ?
so? why you dont paste your code
Hi i am in code help 1 @fast obsidian
@minor drum paste your code in here
Can someone also help me pls
we have this list
v = [1, 2, 3, 4, 0, 0, 0, 0, 0, 1, 0, 0, 1, 2]
I want my program to find the longest sequence of 0 and print the index of the first 0. If there are more equal sequences it will print the first one
For example in this list it will print 4.
print(max(v)) @steep flare
can any1 give an answer for my question
@plain vine ?
well that seems pretty straight forward... how far have you gone with it or are you hoping someone will do the whole thing for you?
alright let's see what you have so far
like i am normally not good at python that much
Pompiyyo > Pompeo
im not helping your study things, sorry
@rugged root hi
num_students = int(input("Enter Number of Students in the class:"))
name=[]
surname=[]
mark_cs=[]
for count in range (num_student):
name.append(input("Enter First Name: "))
surname.append(input("Enter Surname: "))
mark_cs.append(int(input("Enter Computer Science Mark: ")))
max=mark_cs[0]
max_index_pos=0
min=mark_cs[0]
min_index_pos=0
tot=mark_cs[0]
for index in range(1,num_students):
tot+=mark_cs[index]
if mark_cs[index]>max:
max=mark_cs[index]
max_index_pos=index
elif mark_cs[index]<min:
min=mark_cs[index]
min_index_pos=index
print("The total mark is",tot)
print("The averge mark is",(tot/len(mark_cs)))
print(name[max_index_pos],"received the higest mark of",max)
print(name[min_index_pos],"received the lowest mark of",min)
bro
@misty salmon
num_students = int(input("Enter Number of Students in the class:"))
name=[]
surname=[]
mark_cs=[]
for count in range (num_student):
name.append(input("Enter First Name: "))
surname.append(input("Enter Surname: "))
mark_cs.append(int(input("Enter Computer Science Mark: ")))
max=mark_cs[0]
max_index_pos=0
min=mark_cs[0]
min_index_pos=0
tot=mark_cs[0]
for index in range(1,num_students):
tot+=mark_cs[index]
if mark_cs[index]>max:
max=mark_cs[index]
max_index_pos=index
elif mark_cs[index]<min:
min=mark_cs[index]
min_index_pos=index
print("The total mark is",tot)
print("The averge mark is",(tot/len(mark_cs)))
print(name[max_index_pos],"received the higest mark of",max)
print(name[min_index_pos],"received the lowest mark of",min)
@misty salmon here
youll help each other
first of all they want a 3 dimensional list (for whatever reason) but you have just 3 separate lists
no that's my bad i misread
it says 3 lists lol
is this your homework things? @plain vine
lack of coffee... working on getting caffeine into the veins
is this your homework things? @plain vine
@fast obsidian ye
End of passion play, crumbling away
(it's your source of self-destruction)
Veins that pump with fear, sucking darkest clear
(Leading on your deaths' construction)
@misty salmon
quite verbose
mmm
oops sorry missclicked
G'evening
geevnin
gening
its monin innit?
Gnng
What !!
@hollow haven It's the same
!server
Server information
Created: 3 years, 9 months and 26 days ago
Voice region: us-east
Features: DISCOVERABLE, PARTNERED, VIP_REGIONS, NEWS, ANIMATED_ICON, INVITE_SPLASH, COMMUNITY, MEMBER_VERIFICATION_GATE_ENABLED, PREVIEW_ENABLED, RELAY_ENABLED, WELCOME_SCREEN_ENABLED, VANITY_URL, BANNER
Channel counts
Category channels: 31
News channels: 8
Text channels: 170
Voice channels: 28
Staff channels: 67
Member counts
Members: 104,294
Staff members: 84
Roles: 73
Member statuses
31,524
72,770
thats a weird compliment
well i told him yesterday that my understanding of arch commands in terminal was lacking and suggested he go with linux mint instead of majaro as a newbie to linux
well we don't use type d&m
Type 1 is wrong. It's almost right, but the positioning is off.
he's married
its Love
it's good
too many diff faces
yes we hvae those kind of plugs here it is really hard to find like a converter when you buy a product from another country
lol
50
you must fullfil required requirments
idk I don't use this server
50 messages starting from like.... beginning of last month?
go to #python-discussion
I can't remember off hand
yea you need 3 days
3 days?
Yep
need to be here 3 days
they will be gone after today haha
Anyways welcome to the family
i'm here for along time but they changed the rule
they will be gone after today haha
@potent urchin you can access to anything but voice chat till then
i'm here for along time but they changed the rule
@potent urchin bruh u just said u are here for six hours
i'm chatting for 6h
does that counts as "a long time"
but i'm in the server for along time
@gentle flint
to find center point and do a square
start point | end point
(center[0]-diff, center[1]-diff),(center[0]+diff,center[1]+diff)
but i'm in the server for along time
@potent urchin 6 hrs
xd
I'm in the server for a long time and i'm chatting for 6h now
bug detected
@rugged root
@potent urchin #voice-verification
Do it outside?
so this actually how my db should look like
yes thank you
breaking everything down, so the tables are not too filled and every table has clear relations to other tables
Thanks @rugged root
Video from Yon Liud
he could have just used ctrl+A
In a vacuum cleaner, dust particles are drawn into the plastic tube and it is these particles that cause the build up of static elecrticity.
In the case of a compressed-air source, only clean air should be moving against the nozzle.
What about a balloon? ๐
yeah air pressure, A1V1=A2V2 --physics
@whole bear Take a look at the #voice-verification channel
That should tell you what you need to know
Jake Wright has a good video on this...
Docker is all the rage right now. In 12 minutes I'll give you comprehensive introduction to docker, covering:
- What is Docker
- Virtual Machines vs. Docker
- Introduction to Dockerfiles, images and containers
- The Docker Hub
- Writing a Dockerfile
- Building an image
...
This has taken a turn... ๐
How old is she?
โCatโ means any gender and any age. It is the main term. Donโt worry about the word for a group of cats. Few people know the word.
โTomโ or โTomcatโ means an adult male that can still breed โQueenโ or โMollyโ means an adult female that can still breed (โMama catโ is slang for the same thing) โNeuterโ is the proper word for a male cat that has been neutered. Most people will just call it a cat. โSpayโ is the proper word for a female cat that has been spayed. Most people will just call it a cat. โKittenโ is a young cat (under 1 year), male or female.
@gentle flint How old is she?
Mine is Harry
8
Wow, my cat is 18 year old, which is very old for cats
@fiery juniper NNN got cancelled cause of covid-19
I think I know where you were going... ๐
I made stories for VSCode that way you can make fun coding stories and share them with your fellow developers.
extension: https://marketplace.visualstudio.com/items?itemName=benawad.stories
code: https://github.com/benawad/vscode-stories
#benawad #vscode
Checkout my si...
@fiery juniper NNN got cancelled cause of covid-19
@subtle orchid Weakness disgusts me
@subtle orchid Weakness disgusts me
@fiery juniper I lost it on very 1st day๐
no regrets
That's just arson surely ๐
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Numpy
If you do a comparison with a numpy array, you get an array of bools
rather than a single bool.
class GetPatterns:
def __init__(self, image: np.array, refrences):
self.image = image
self.refrences = refrences
def run(self):
sampled = 0
for reff in self.refrences:
for row in reff:
for rw in self.image:
if list(row) == list(rw):
sampled += 1
else:
continue
return sampled * 100 / len(self.image)
!eval ```python
import numpy as np
xs = np.array([1, 1, 1])
ys = np.array([1, 2, 1])
print(xs == ys)
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
[ True False True]
Traceback (most recent call last):
File "C:/Users/samil/PycharmProjects/pail/pail/cv.py", line 47, in <module>
print(f"{GetPatterns(HighpassFilter('index.jpg').run(), [HighpassFilter('index.jpg').run()]).run()}%")
File "C:/Users/samil/PycharmProjects/pail/pail/cv.py", line 39, in run
if row == rw:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
class GetPatterns:
def __init__(self, image: np.array, refrences):
self.image = list(image)
self.refrences = refrences
def run(self):
sampled = 0
for reff in self.refrences:
reff = list(reff)
for row in reff:
for rw in self.image:
if row == rw:
sampled += 1
else:
continue
return sampled * 100 / len(self.image)
output:
Traceback (most recent call last):
File "C:/Users/samil/PycharmProjects/pail/pail/cv.py", line 49, in <module>
print(f"{GetPatterns(HighpassFilter('index.jpg').run(), [HighpassFilter('index.jpg').run()]).run()}%")
File "C:/Users/samil/PycharmProjects/pail/pail/cv.py", line 41, in run
if row == rw:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Is there a way that I could send a file here?
I want you to rate a little game I made and it contains pictures
if list(row) == list(rw):
Hey @misty salmon!
It looks like you tried to attach file type(s) that we do not allow (.pdf). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.
Feel free to ask in #community-meta if you think this is a mistake.
class GetPatterns:
def __init__(self, image: np.array, refrences):
self.image = image
self.refrences = refrences
def run(self):
sampled = 0
for reff in self.refrences:
for row in reff:
for rw in self.image:
if [list(x) for x in list(row)] == [list(x) for x in list(rw)]:
sampled += 1
else:
continue
return sampled * 100 / len(self.image)
I want to send a folder with a Python program and pictures
Ok, just wanted you to check it out, no needed help.
ok thx
How make this simple in one line? ```python
greater = x if x > y else y
lesser = x if y == greater else y
What?
how you do it?
!e
def compare(x, y):
greater, lesser = (x, y) if x > y else (y, x)
print(greater, lesser)
compare(1, 2)
compare(2, 1)
compare(2, 2)
@faint ermine :white_check_mark: Your eval job has completed with return code 0.
001 | 2 1
002 | 2 1
003 | 2 2
thank that's what i wanted
yea
def lcm(x, y,): #least common multiple
greater, lesser = (x, y) if x > y else (y, x)
m = greater
while m % lesser != 0:
m += greater
return m
why im i suppressed?
look at vocie verification
ohhhh
#voice-verification
._.
lit
you anyone wanna hear what happend today im my city
therer was a outbrack of monkeys
from the zoo
and the zoo had to be cleared
and the monkeys got lit up
like there dead now
they escaped
im not talking smack
and we had a flying metro in rotterdam
i swear
sure
it go chachs by a whale fin
XDDD
i swaer this shit happend
i know XDD
this wat i told wasd in like 4 days total
our 2020 is kinda lit ngl
i mean 2 monkeys..... https://www.youtube.com/watch?v=22JgHBb-0dg
A large crowd of monkeys has been filmed brawling over a pot of yoghurt in a street in Thailand. A fall in tourist numbers amid the Covid-19 outbreak has resulted in far fewer people offering them food. The video was filmed in Lopburi, a city north-east of Bangkok that is fame...
the metro was removed today
yeah but we live in a place where no monkeys native
i dont wanna do politic ngl
it gives my a headack
politics are actually somewhat against this servers rules @lusty marsh
i got a 7 for socail studies so that was al the polictics i need to have in my live
were talking about boring steams
atleast he is
i got muted of some bs thingy
Examples of unacceptable behavior by participants include:
Discussing topics that are overly polarizing, sensitive, or incite arguments. This includes the discussion of polarizing political views [...]
@lusty marsh
its nutral tho
thats how i read it as a non natve speaker.
becuase he didnt say vote trump or vote biden
its still about polarizing political views though
i'm neutral when it comes to this
._.
I sent the video as a meme just because the stream is so boring
but not discussing "polarizing political views" isnt about whether YOU are neutral, ist about whether the topic itself deals with polarizing views (at least the way i see it)
no it isnt
and if any topic deals with polarizing political views, its that one
come to vc
he is not polarizing tho
its kinda not imo
okey but that is not hes problem
if someone wants to discuse it thats hes problem not that one of samis
okey thats not samis problem xD
noโค๏ธ
cya
me niether
damn that stupit ass 50 massge rule
how mutch have i typed by now
@ancient egret If you're wondering why you can't talk, check out the #voice-verification channel. That should tell you what you need to know
thanks for the heads up
No problem!
@tranquil ruin If you're wondering why you can't talk, check out the #voice-verification channel. That should tell you what you need to know
``
Does Jane cook well?
Do you exercise every morning
Do they speak English?
Do your parents spend their weekends at home?
does she like to travel?
What do you have for breakfast
where does your mom work
When do your classes begin
what do the moneys eat
What time does the plane arrive
``
@rugged root Pleas help me. This Present Simple
!rule 5
5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious or inappropriate. Do not help with ongoing exams. Do not provide or request solutions for graded assignments, although general guidance is okay.
@candid venture As a reminder to you as well
kk
You (not to need) ....... your umbrella.
So you have 2 choices here: you either need your umbrella or not!
so i'm reminding you of some rules in "simple present"
1.)
-> whenever something is negative we use a "do" -> "do" + "not" = don't
-I don't
-you don't
-we don't
-they don't
-.....
-he/she/it "doesn't"
@sick night @strange flame If you're wondering why you can't talk, check out the #voice-verification. That should tell you what you need to know
True?
You do not need your umbrella
or
You dont need your umbrella
Hiren's boot cd
So you popped off you heat sink without realizing you are out of your favorite thermal compound. Before you go running around screaming and hoping to god that your local late night electronics store is still open sit down and be stationary and quiet while you panic. You have a...
More likely that it's tar more than anything
Apparently the previous owner was a heavy smoker?
Server information
Created: 3 years, 9 months and 26 days ago
Voice region: us-east
Features: DISCOVERABLE, PARTNERED, VIP_REGIONS, NEWS, ANIMATED_ICON, INVITE_SPLASH, COMMUNITY, MEMBER_VERIFICATION_GATE_ENABLED, PREVIEW_ENABLED, RELAY_ENABLED, WELCOME_SCREEN_ENABLED, VANITY_URL, BANNER
Channel counts
Category channels: 31
News channels: 8
Text channels: 171
Voice channels: 28
Staff channels: 68
Member counts
Members: 104,384
Staff members: 84
Roles: 73
Member statuses
32,663
71,721
that's SQL Database
i want to join voice chat but i have to send 50 massages
edabit
so go have a conversation in some other channels Youssef and come back later
@gaunt sedge you need another 47 messages
yea
Talk to folks in one of the off-topic channels, ask a question or answer a question in one of the help channels, etc.
You'll be surprised by how quickly you can get to the 50 message count
@gilded rivet whats the can search for to find that form of website optimizaiton
brb 5min
!whois @verbal hemlock
AQKMCF is my among us code, join
doesn't play among us
hi guys
AQKMCF is my among us code, join
@sand sinew no
anyone apex legends?
nope
Issues. So noted.
People around the world in quarantine: Hiding in their houses.
People in the US in quarantine: "Yo, everyone, what's up? I'm here at this massive quarantine party with all my friends!"
Or another one I've been seeing. "The election is over, so we don't have to wear masks, anymore, because COVID is a hoax."
Jan. 22
โWe have it totally under control. Itโs one person coming in from China, and we have it under control. Itโs going to be just fine.โ
March 28
โWE WILL WIN THIS WAR. When we achieve this victory, we will emerge stronger and more united than ever before!โ
hey guys this sounds like it's going to be a longer talk, can i ask something real quick
@jovial meadow
@hidden cove
wtf
my prediction:
portfolio optimization results from [rolls eyes] C# #voice-chat-text-0 message
My 1999 work product: https://www.w3.org/TR/device-upload/
these days: https://github.com/ai/audio-recorder-polyfill
yes lol
Wikimedia is moving to Gitlab. I wonder if I should fork my favorite Github projects there.
You can talk if you want. I'm just not doing it exactly where I am because other people are sleeping.
Yahoy.
Quantum supremacy is a myth.
Well, I did just learn about it then, so you didn't give me much time to form an opinion on it.
Before "No, you should not."
They aren't even going to have 1 qbit of QRAM for at least ten years.
Do you remember the MSBASIC ?xx ERROR codes? TM was Type Mismatch, was div/0 DZ or /0? I honestly can't remember.
alpha = ['a', 'b', 'c']
alpha[0] == 'a'
alpha[1] == 'b'
alpha[2] == 'c'
alpha[3] == *nope*```
?AS ERROR
means array subscript out of range
My first BASIC was on the Apple II/e
TRS-80 Model I Level I 4K RAM
1979
I was also proficient in the Sinclair ZX-80 series, for some reason
@whole bear So if it's an IndexError you're getting, that's sort of like what your code is trying to do, somewhere.
IndexErrors are the reason Rust exists.
It's like asking "What's the fifth character of a four letter long string?"
Though, just to confuse things, you can ask "What's the -1st letter of a four-letter long string?"
If you are very angry about the injustice of this error, you can author a PEP to extend lists as sparse arrays.
Why can't you post it, @whole bear?
It's your code.
voice_channel.play(player, after=lambda e: print('Player error: %s' % e) if e else None)
what does await do?
It's an asyncio thing.
so if you do message.send
it will not send
becuase you have to do await message.send
Asyncronous programming. Paralellism. Callbacks. Non-blocking function calls.
big brain
I haven't really got into it.
Threading, which is kind of what asyncio does in the background, I think...
yes
Like they'd need an account in here to do that.
Nope.
...
lol
@whole bear Okay, boomer.
what do you need @whole bear !
In any case, it looks like your error was deliberately raised.
yeah you are a boomer!!
You may have to inspect the code section to see what condition was met.
im not trolling i dont know how to raise a error
I'm not saying you intentionally triggered it.
I'm saying the code used a raise keyword
@somber heath Lol!
When you write code which causes an exception, usually, it's because you fucked up. For example, writing ''[0] will cause an IndexError because the string has no elements.
I could also just write raise IndexError
@severe elm https://www.db-fiddle.com/ looks good too
An online SQL database playground for testing, debugging and sharing SQL snippets.
Hmm?
@somber heath nothig i just dont understand
"You're not going to make me angry." Famous last words.
@whole bear Earlier, you said "wtf".
yes bcoz i didnt understand
"Didn't". Are you suggesting you now do underestand?
What preceeds the raise CommandInvokeError(exc)?
What causes that to be run?
While you're at it, inspect CommandInvokeError, the class.
See if it comes with documentation.
I can.
Thank you. Pass.
I use Python for my own enjoyment, to create art and amuse myself. I've little to no financial acumen, nor the desire to involve myself in that world.
So the question of improvement is a little moot.
I agree; but I would say, to limit legal liability exposure to lawsuits from multi-millionaire hedge fund managers after they lost everything because of their inability to competently operate template code.
I thought you meant improvement so as to encourage my involvement, not improvement just in general.
As to what would reduce legal liability, I am not a laywer.
Hey, Cracked. ๐
hi
Automation, while useful, can diminish the biodiversity, if you will, of skills/knowledge.
and, improperly checked, can run rampant
@somber heath i created a a python script that sends the whole bee script movie
Like, yay, automation. Yes, it makes our lives easy, but we have to watch out for an Idiocracy scenario.
@candid venture have you figured out how to encode it in LOGLAN and direct it to Alpha Centari?
Or Wall-E.
With specific reference to the chairs.
Mm. So when the automation breaks down...what are you left with?
@candid venture have you figured out how to encode it in LOGLAN and direct it to Alpha Centari?
what
I see
Assuming the postal votes all get counted...
@wind kettle Sneaky username. I like it.
Yo, why i cant use voice chat?
@shrewd nest This server employs a voice gating system to help reduce voice chat spam and abuse. Refer to the #voice-verification channel for more details. ๐
You'll find it under the Voice channel category.
@somber heath Thx)
Milford Cubicle!
Michigan, with 16 electoral votes, will probably be more Democrat-leaning when the mail-in ballots are counted. https://www.nytimes.com/interactive/2020/11/03/us/elections/results-president.html
thx for the links Jamsyn, i'm gonna look all of them up
i'll probably also end up buying a book about sql/database-structure etc.
No reason why you can't type it out on computer, first.
isnt there some software that could translate your typed text into handwritten text?
You can make a font with your handwriting, but it's going to be all very uniform.
and cursive is a bitch
take 8 random glyphs for each character @somber heath
his teachers probably think that plagiarism works like this
Uma das cenas mais ridiculas de sempre das series de TV!
- ah e tal estamos a ser hackados
- nรฃo te preocupes que se teclarmos os dois no mesmo keyboard conseguimos ganhar.
FFS!!!! QUE GRANDAS PRรS....NOT!!!!!!!!!
and can therefore be counteracted by working only on paper
@severe elm Faintish but clear.
Why buy anything when you can look up information online?
Looks like a 2nd Edition D&D book.
o/
๐
Because I'm all about hedge funds.
It also wasn't a moral objection. Provided the product is fit for purpose and has the appropriate and informative cautions against improper implimentation, I wouldn't have objections on those grounds.
I would like to submit Robin Williams as a candidate for the title of Best Human Being.
"WHO IS ROBIN WILLIAMS?"?!
@somber heath I was suprised that there wasn't a Python template for the C#
"max return" algorithm from https://innoquantivity.com/blogs/inno-blog/portfolio-optimization-quantconnect-research-algorithm in https://www.quantopian.com/docs/index so I thought maybe we could cooperate to write one and sell it as an e-book to day traders
Er, yes.
You would be correct in your assessment.
Yes.
Huge...eh. Maybe.
Him.
Not me.
Mine is zero, his is...uncertain.
Hm?
Maybe.
I had the impression it may have been an attempt at humour.
Or social engagement.
Conversation.
Hamming up his interest.
Like, "Let's you and me write code to take over the world"
Sure, I might like to have code that can alter the world as I please, but that's not something I'd seriously go about doing.
Nevermind that it'd be an apocalyptically dangerous thing to exist.
People have been older than me my whole life. It's not really a new concept.
Y is there a voice verified thing. I cannot speaky speaky
The steel-toed boot of cynicism has travelled to meet you up the middle?
Boot. ๐ข
โพ โพ
Well, because I have not sent 50 messages I cannot do anything this is sad.
I'm providing visual aids.
I am not admonishing you.
Life has kicked you in the balls.
and has thus made you cynical
That's what I meant.
You've grown up
and as you've grown up
Life has kicked you
and so you've grown more aware and more cynical
Being cynical is a common trait these days.
I'm asking you if that's what you meant.
Yes, but you started talking about your perspective, too.
I am 16 and I have to say age is irrelevant for some people
Mm. As I said. People being older than me is not a novel experience.
I found that alot of older people look down on younger people.
lol
Because you said something yes
While other people can often prove themselves unworthy of respect, showing respect to others is more about a respect for your own status as a gentleman than it is your own regard for the other person.
Idk Boomer is just a slang when people are not really technologically advanced. I know it was originally meant for someone age but it's not really the meaning these days.
I hate this voice verification thing.
That being said, there is a time for ungentlemanly actions.
Just more interference stuff.
You can be sly while being polite
It's odd I have less trouble programming and more trouble designing things.
I wouldn't mind branching out into hardware, but I haven't.
i have trouble in all fields
Discourteous, unpolished, unrefined, uncouth, rude, uncivil, unsophisticated, unbecomming.
If you have trouble in all fields, farming may not be for you.
I have trouble in programming and designing applications but it's mostly just comparative to each other.
Nutrition is fuel for learning.
I have to register for my Winter quarter today.
Nevermind that it'd be an apocalyptically dangerous thing to exist.
@somber heath is the world better if it exists in C# but not Python?
o/
Because if you use both at the same time everyone will be sad
I wouldn't see a need to use both at the same time
It's kind of like mopping and sweeping with a broom. Both are useful, but on many surfaces you only need one, and if you use both (not selecting one) then you're just setting yourself up for failure.
Almost everyone in the history of housekeeping who has tried to mop and sweep at the same time usually decides to only do one first.
Just because C# got the optimal portfolio balancing algorithm first doesn't mean that Python doesn't deserve it too.
C# is strongly typed which is just another way of saying the C# masters in Redmond want you to type more variable declarations so they can subject you with felony monopolism.
The more time they make you take declaring the types of data structures is time you don't have to improve your algorithms.
Not so much an essay so much as choosing an analogy.
What difference C# vs Python for a reality-warping algorithm? How fast do you want to get to Hell?
Declaring your variable type does not take that long. Not also that it prevents you having a type issue in the future.
And improving your algorithms would come after you get the code in a working state. You would be more at the refactor/maintain code stage. I don't see how that would affect how effective your algorithms are.
@echo glacier please do not post chainmail
What difference C# vs Python for a reality-warping algorithm? How fast do you want to get to Hell?
@somber heath fast enough to be able to keep going
"When someone says, 'Iโm going through hell,' the best response is to tell them, 'Donโt stop!'" -- The Oregonian et al. per https://quoteinvestigator.com/2014/09/14/keep-going/
A difference in execution of tens of milliseconds vs hundreds of miliseconds is little difference at all.
Except to the milliseconds, who would prefer to not be executed at all.
Even if you believe that no goods or services are more efficiently allocated by the private sector, market arbitrage efficiency increases supposedly also reduce the cost of public sector procurement, too.
On the other hand, facilitating day-traders compulsive gambling impulses can't be good. But if they are going to gamble until they lose, why not charge them for an e-book up front if you can prove it will improve their chances against their similarly situated peers without an optimal portfolio allocation algorithm?
The "max return" algorithm is pretty simple, too, you can pseudocode it in two or three lines, IIRC.
Maximize Portfolio Return (disregard volatility)
Without any boundaries on weights or constraints on target portfolio volatility, this is a very simple function that will allocate 100% to the asset with the highest expected return.
So the pseudocode is:
- for all potential assets,
if the asset with the greatest expected return has a greater expected return than current holdings, then:
sell all holdings;
use the proceeds to buy as much of the asset in question as possible;
wait a fixed quantity of time;
GO TO 1.
I'm still not sure if selling an e-book with the Python for that to Quantopian users is ethical, but I think it is. We could add some news site scraping for news signals to SMS the portfolio owner with the URL and asking them to adjust expected return estimates in response.
So if they are holding ruthenium mining stocks, they would get a text message whenever ruthenium or ruthenium mines are in the news and they could reply with how they think the news will effect ruthenium prices, for example.
i have over 50 messages, but not from 25th of august
@pliant atlas @frigid panther
do any of u have any django experience?
No, tbh i have very less web development experience
@frigid panther
is that u saying you have
oh ok
i added u or we can talk on here
i need to add a simple search filte
filter
but all the tutorials on youtube require you to follow a whole tutorial
django-filters
yeah
i tried following, im pretty sure it requires you to follow an entire series
i literally only need to search through one model
ill literally pay you if youd like, I just need to show you my code
ive been stuck on it for too long
If you want to a really simple one, then you can simply use a form to get the input data and filter through the model
yeah im trying
i tried following a tutorial but it requires me to follow a series
could you show me that? @frigid panther
i have to write a form.py?
is there anyway you could walk me through it
im new to django
four
1 search bar for 4 fields?
gotcha
oh sorry, i got a lil distracted
np
Free website building course with Django & Python:
https://codingwithmitch.com/courses/building-a-website-django-python/
In this video I show you how to build a searchbar for your websites using Q lookup. The search bar is in the top navigation bar for the website. The searc...
ahaha
I just went through that one, looks pretty good
no
is the value='{{ query }}' working, in the video he did say it does not work for him
he used javascript to do that
i need look up his project code a bit more
ur results would will only show when you filter them properly
what was that?
i tried
but i get a package error
yes
no
is there a way to only show the requested query
otherwise its fine
the form is there no?
thats where he put on the vid
oh
<head> and <header> are different
some
i am experienced in coding and sql etc
i havent got the clients displayed
how would i do that
no
this is my only html file
thank you
if i were to show my clients model
would that utilise the search?
yes
I'm afriad I can't right now
I would recommend you to go through the django tutorial or the codingwithmitch series
@rugged root how's the project going?
It's going well
Noice
I'm in the testing phase, should be wrapping it up for review soon
ohh, if you want help in testing if it works I can help
you can remove my role and i'll verify once again
to see if it works
I'm doing it in our test server
And I'm using a temporary redis cache, because otherwise I'd have to clear things by hand
Evening Hem
Just having coffee after a while
hi I'm unable to speak
you need to verify
Check out the #voice-verification channel
That should tell you what you need to know
alright
@rugged root I'm a new learner. Can I get into programming
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Automate the Boring Stuff, and A Byte of Python