#voice-chat-text-0
1 messages · Page 1028 of 1
Work possibly delayed
wait, where are we?
OH WiFi?
yeah I call it magic
I used to call it magic
now I call it wI'llbustupmyroutercausemyfiisnotworkingproperly
and this is when I wish I had voice verification
i am using websocket library to connect with a server i am not understanding how to communicate with the client and server ! any body help me plz?
The gods have spoken, in thy channel and have blessed us with thy knowledge
Wait @wind raptor @errant comet can I also be part of the convo
just not via voice cause I don't have the Voice verification
me to?//////////
You're already part of the convo already
Mind sending the code
I think what peter said @wind raptor is
with great power comes great big booty pictures
I'll get my voice verif probably around Saturday/Sunday
Bummer y'all can't hear me
FINALLY, My presence is felt
I live in Israel we have very cute bomb-proof rooms 🙂
Israel also has cute game-enders that do so with sharpy objects
I'm risking a mute/ban at the moment
and I ain't even being noticed 🤣
You are.
geko dance
+= replacement
WOW
too much for my peanut brain
!e py v = 5 v += 2 print(v) v += 1 print(v)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | 7
002 | 8
nah, I get it
@surreal wyvern I do suggest not to send the client_token
''replace and add'' >> += ?
at least remove it from when you're pasting the code
@surreal wyvern do you get any particular error?
my head paining
this token is not that important i can reset thanks for the suggetion
I'm from Israel
guys this my profile
land of sand
what am i missing to meet the criteria
nothing
you do meet it
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
this is not helping i keep reading and and tryto complaai on it
v = 5
v += 3
#similar to
v = v + 3```
are the same
!e py text = "apple" text = text + "s" print(text)
@peak ice type !verify in #voice-verification
@somber heath :white_check_mark: Your eval job has completed with return code 0.
apples
i my sent data is in byte and recived data is in kind of json
my sent data is in byte and recived data is in kind of json do u notice?
thanks it worked
thank you brother
yo
im tryn fix a prob with my code
wiriting to a db
ah ok np
pardon
no not that
i mean yes i am using sql commands
but the isuse is the table not being created in the db
yet it prints table created
but when i check the logs in my db nothing was read or write to it
ok
{a,b} == {b,a} O(n) or O(nlogn)?
hello voice chat 0, I'm newbie in this discord channel... so i can't talk
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@dim raven welcome
i need to write 48 messages and wait 2 days😆
Yes, make sure you don't spam🙂
haha, i won't:) I try to help other in this server
A website dedicated to the fascinating world of mathematics and programming
What is an integral? How do you think about it?
Help fund future projects: https://www.patreon.com/3blue1brown
An equally valuable form of support is to simply share some of the videos.
Special thanks to these supporters: http://3b1b.co/lessons/integration#thanks
Check out the Art of Problem Solving: https://aops.com/3blue1brown
--------------...
Also check of the linear algebra video series from the same channel.
There are a few videos on probability I guess.
hi
ye they are gr8
i was playing with his animation library for a while
that he made for his videos
its quite fun
@quaint oyster
lol
def start_forwardbot(shortname):
if shortname.startswith("__"):
pass
elif shortname.endswith("_"):
import importlib
import sys
from pathlib import Path
path = Path(f"{const_dirs_class.CURR_DIR}\plugins\{shortname}.py")
name = f"{const_dirs_class.CURR_DIR}.plugins.{shortname}"
spec = importlib.util.spec_from_file_location(name, path)
mod = importlib.util.module_from_spec(spec)
spec.loader.exec_module(mod)
print("Starting Your Bot.")
print("IMPORTED " + shortname)
else:
import importlib
import sys
from pathlib import Path
path = Path(f"{const_dirs_class.CURR_DIR}\plugins\{shortname}.py")
name = f"{const_dirs_class.CURR_DIR}.plugins.{shortname}"
spec = importlib.util.spec_from_file_location(name, path)
mod = importlib.util.module_from_spec(spec)
mod.forwardbot_cmd = forwardbot_cmd
mod.forwardbot = bot
mod.Config = Config
spec.loader.exec_module(mod)
sys.modules["ForwardBot.plugins" + shortname] = mod
print("IMPORTED " + shortname)
path = f"{const_dirs_class.CURR_DIR}/plugins/*.py"
files = glob.glob(path)
for name in files:
with open(name) as f:
path1 = Path(f.name)
shortname = path1.stem
start_forwardbot(shortname.replace(".py", ""))
@wind raptor https://www.youtube.com/watch?v=deg8bOoziaE
Learn how to produce video content programmatically with HTML, CSS, and JavaScript thanks to Remotion - a React library that can create real MP4 videos https://github.com/remotion-dev/remotion
#javascript #tech #tutorial
🔗 Resources
Subscribe to @William Candillon and @Jonny Burger for more awesome content.
Source Code https://github.co...
@nova turtle I'm sorry that you feel that way. We do what we can to make sure we support our friends, family, and loved ones. Having a server icon on Discord is a small gesture, but we think its worth it to show that they're loved and accepted here. We try to make the server a welcoming place for everyone
At least the server doesn’t donate to anti human rights politicians so it’s got that going for it.
Dream big
Dream big American
mmmmmmmmhhh better donate to politicians who destroy forests
Why is this a thing?
!e
cpdef int myfunction(int x, int y=2):
a = x - y
return a + x * y
cdef double _helper(double a):
return a + 1
cdef class A:
cdef public int a, b
def __init__(self, b=0):
self.a = 3
self.b = b
cpdef foo(self, double x):
print(x + _helper(1.0))
@willow light :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | cpdef int myfunction(int x, int y=2):
003 | ^^^
004 | SyntaxError: invalid syntax
I figured it wouldn't be able to handle Cython, but I had to check
Eh, details
And files don't persist
eh, details
Important ones
"Hmm, I feel like I'm not getting any- oh wait there we go, figured it out"
Definitely negative number for coords
NSTU 011350Z 16007KT 10SM FEW023 SCT040 SCT100 27/24 A2983 RMK SLP100 T02670240
What about noodles?
i am addicted to noodles yes
and i only drink iced coffee now @rugged root but even that rarely
@rugged root btw i still find it weird how normal it is for people in us , australia and eu to take Psychedelics
... in India even if your doctor tells you to people just don't
It's strange to me as well
i believe in the psychiatric relevance of psilocybin
For every Tesla there is an Edison.
I'll be curious to see how the science progresses, but I think it's way too early to tell if there's a safe way to do this stuff
define safe....
you won't die if that's what you mean
prescription psilocybin will be microdosed, not nearly enough to alter brain chemistry (versus buying a pack of shrooms from the plug and eating them shits)
Fair
I'm just too spooked
Finally have a working cocktail with my doc
The idea of throwing a firecracker in there terrifies me
I'm thinking "Why would you throw a firecracker into your doctor's office?"
Spite
Over hereapy. Over therapy.
@willow light What was the test given to you?
which one? there have been dozens over the years
@willow light you listed a bunch of diagnosed results. How many test did you take?
too many
^
Anyone have an email I can borrow?
for what do you need it for?
Tried to register, but it didn't like me
This whole thing is stupid
My company buys an addon for one of our programs
Addon comes with an Android app
Android app is not on the Google Play store - Vendor instructions say to sideload
Enabled sideloading in MDM
MDM allows the app to be installed
MDM removes the app daily
Well I can tell you how to get one.
The MDM - https://imgflip.com/i/6i8gvw
I know it's stupid but it makes me feel better
Mine worked for discord and pretty much for every website.
hello
👋
@rugged root 👋
How goes it?
Can I borrow some good luck?
yeah i m very lucky soo i can lend you some XD
@sweet lodge Ever heard of mail2tor? it used squirrel mail.
I have good luck to spare?
I have, but if it won't take my work email, I doubt it'll take some random service
You can try...
Yes, the open source gods gave you 6 lucks for auto_guild
But the problem would be that the already created ticket is tied to my work email, so if I use another I would have to start over in the process
Oh then changing the email wont help you, do they have customer support?
Chatty Cathode.
I can't even upload the app to a private app store, because Google requires app names to be globally unique, and that name is already taken
So I know they know how to use the store
They're just not sharing with the rest of the world, the assholes
Yeah, just have to wait for them to respond
.wa s polish notation
Reverse Polish notation (RPN) is a method for representing expressions in which the operator symbol is placed after the arguments being operated on. Polish notation, in which the operator comes before the operands, was invented in the 1920s by the Polish mathematician Jan Lucasiewicz. In the late 1950s, Australian philosopher and computer scientist Charles L. Hamblin suggested placing the operator after the operands and hence created reverse polish notation
After the arguments, okay
Good luck. You might have to get through this one without any shenanigan.
sacrilege
No mic right now for reasons
Publishing an app to Google Play is free. FREE!
If I re-disable the setting after installation, the app will be blocked from starting
You know, because it's blocked
sorry but we tune to A440 here
I swear if anyone mentions A432...
There are so many red flags here. What does the app do?
C or Do is the first note of the C major scale, the third note of the A minor scale (the relative minor of C major), and the fourth note (G, A, B, C) of the Guidonian hand, commonly pitched around 261.63 Hz. The actual frequency has depended on historical pitch standards, and for transposing instruments a distinction is made between written and ...
An equal temperament is a musical temperament or tuning system, which approximates just intervals by dividing an octave (or other interval) into equal steps. This means the ratio of the frequencies of any adjacent pair of notes is the same, which gives an equal perceived step size as pitch is perceived roughly as the logarithm of frequency.In cl...
A432
It's a warehousing addon-module for an ERP
On the desktop client, they extended the existing UI
But for the Android client, they decided to make their own app.
The United States secretary of education is the head of the U.S. Department of Education. The secretary serves as the principal advisor to the president of the United States, and the federal government, on policies, programs, and activities related to all education in the United States. As a member of the Cabinet of the United States, the secret...
@slim nexus
I got to go, bye. have a good day.
👋
Considering a move to San Francisco? Discover the average rent in San Francisco, check out our rental statistics & rent trends, and compare San Francisco rents by neighborhood.
Just hover over CA, yeah
"loquacious quotient"
it's not
you have a registration fee for your google developer account
$25
Since when?
I swear that wasn't there [arbitrary number] of years ago when I was doing it
Register for a Google Play Developer account
To publish Android apps on Google Play, you'll need to create a Google Play Developer account.
Step 1: Sign up for a Google Play Developer account
There is a US$25 one-time registration fee
✔️ New Pokémon
✔️ New Professors
✔️ New trailer
The wait is over, Trainers — the latest Pokémon Scarlet and Pokémon Violet trailer is finally here!
❤️💜
@cerulean ridge What's up?
I need quick help with regex, can we quickly go to live-coding? if you're busy that's fine
regex?
What're you trying to match and what's your pattern
match:
[ 27 106 130 80 160 53 181 162 38 127 170 37 145 107 3 186 205 167
31 39 32 138 185 190 23 100 17 44 173 57 83 20 9 93 75 30
90 54 26 78 148 13 199 201 156 69 21 28 73 55 103 60 47 111
25 197 204 196 82 71 15 51 6 11 140 109 149 178 113 155 116 68
67 101 135 77 121 79 2 175 179 95 158 8 89 163 84 133 142 43
174 36 146 134 16 86 35 172 33 45 0 42 7]
pattern:
x = re.findall('\[.*\]', txt, re.M)
I'm trying to find these lines, in a very long text files
Ah sure
hello @cosmic lark
hi
wahtsup
def main():
recurse()
def recurse():
main()
main()
this
u showing me python?
xD
🤣
@wet parcel
here
my throat is fucked up
xD
no i am not greek
so can't you talk?
i got a bit of throat infection
u can talk
i will type
🙂
so whatsup
ohhh that
those are greek alphabets
just click on my profile
u will see the same thing in enlighs
*english
🙂
so where are u from?
north or south
i knew it
all of my italian friends told me that south of italy cant speak englsih at all
xD
its fun to hear italian english
i have been dealing with italians for past 2 yearsa
its jsut fun
oh we have a common friend 4DOS
yeah
fuck i just talked and i started coughing
xD
yeah i suck at geography
no
no
lol
the city name is big
no
lol
i will give my state name
thats when u hit on google
xD
no
lol
i am in the city where airport of the state is
🙂
eh?
what?
omg
Dabolim
the way u said it killed me
xD
cancer
🤣
when u said it at first, i was like TF U JUST SAID!!!!!!!!!!!!
i am here to talk, i barely use python
dont ask me for python
ask me on c# or DBMS, i can help you
@whole bear look here
hii
omg, thats not how you say "fucked up"
you said it like "FUKED IUP"
spanish? wow
omg italian x spanish
xD
hii
spain - s = pain
spain - p = sain
spain - a = spin
spain - i = span
there is nothing for subtracting N from it
:'0
yall travel? wtf
last time i saw sunglight was months ago
xD
🤣
i ended up having vitamin d deficiency
u python programmer :'
kerkt is busy typing @wet parcel
u can talk to me, i can hear xD
how old are you both?
17
bruh
hahahah
xd maybe
omg
wht did u do
23
didn't do anything else xD
oh u are my age
mmm 👀
no need, self taught
taught what?
like?
i left school and i did some things instead
learn, sysadmin stuff, linux, servers, etc
and i got a job as a sysadmin
oh wow
man hit right at that gspot of what the company is looking for
🙂
🤭
what u did on linux
wdym
what did you exactly learn
ah, LPI certs
I have looked for jobs as a sysadmin and, most of the jobs want LPI near where I am.
😮 u are not in vc
🤭
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@wise adder
:0@waxen aspen bro hacked an API
@whole bear @wet parcel guys can you please help me out with a error i am getting in my script
i can @split pilot
im newbie xd
thanks
send 🙂
Bruh
ever read whole sentence?
Running on mobile data bruh
It's like rear view mirror saying OBJECTS ARE CLOSER THAN IT APPEARS, my mobile data is like NETWORK IS SLOWER THAN IT APPEARS
check my cute code
Filled with colour 😍
yeah 😊
👍
u are coding port scanner or smh?
no, tcp server
:0 only 1 socket per connection
this is my client
cool right?
xd
^
Bruhhh 😂
for i in range(9999999999):
i_str = str(i)
number = i_str if len(i_str) == 10 else ("0"*len(i_str) + i_str)
print(number)
00000001801855
00000001801856
00000001801857
00000001801858
00000001801859
00000001801860
00000001801861
00000001801862
00000001801863
00000001801864
00000001801865
00000001801866
00000001801867
00000001801868
00000001801869
00000001801870
00000001801871
00000001801872
00000001801873
00000001801874
😮
0001200903
0001200904
0001200905
0001200906
0001200907
0001200908
0001200909
0001200910
0001200911
0001200912
0001200913
0001200914
0001200915
0001200916
0001200917
0001200918
0001200919
0001200920
0001200921
import requests
CHARS = 10
def req(number):
url = f"http://daneshmand-tehran.sch.ir/Files/Photos/StudentsPhotos/{number}.jpg"
response = requests.get(url)
if response.status_code == 200:
with open(f'hit/{number}.jpg', 'wb') as f:
f.write(response.content)
for i in range(9999999999):
i_str = str(i)
if len(i_str) == 10:
#dont add anything
number = i_str
else:
nb_zeros = (CHARS - len(i_str))
zeros = "0"*nb_zeros
number = zeros+i_str
req(number)
cool
gilfoyle@pop-os:~/autobot-clipper$ /bin/python3 /home/gilfoyle/autobot-clipper/bot.py
Traceback (most recent call last):
File "/home/gilfoyle/autobot-clipper/bot.py", line 19, in <module>
import videotrim_util
File "/home/gilfoyle/autobot-clipper/videotrim_util.py", line 1, in <module>
from moviepy.video.io.ffmpeg_tools import ffmpeg_extract_subclip
ModuleNotFoundError: No module named 'moviepy'
this is my error
please help
quick tip:
import requests
def req(number):
url = f"http://daneshmand-tehrand.sch.ir/Files/Photos/StudentsPhotos/{number}.jpg"
try:
response = requests.get(url)
response.raise_for_status()
except requests.HTTPError as http_err:
print(f"An Error has occurred: {http_err}")
finally:
with open(f"hit/{number}.jpg", "wb") as f:
f.write(response.content)
P.H.A.T.I.C. Pretty Hot and Tempting Idiomatic Communication.
thanks man
👍
hii
hi
i need voice verification
ah, tht thing xd
im okay, kinda sick
get better, friend
Brazil, and u?
spain
🥰
how is it to live there?
I'd say, it's okay if you're ignorant with politics
am i
👍
@whole bear just found out why my wifi is down, i forgot to pay the fuc***g bill 😐
pay then lolll
💀
sad go cry :0
🥲
xd
😅
@broken harbor tht website is sht
yup, cuz it uses alot of internet packages
:0
In this Pygame for beginners video, we'll be making a game in about 90 minutes. I'm going to cover a lot of stuff about Pygame in this video, including sound effects, images, moving objects, collision, most of the fundamental things you need to make a basic game. We'll be making a simple 2 player game to showcase how everything works in Pygame i...
RED_SPACESHIP_IMAGE = pygame.image.load(os.path.join('Assets', 'space_ship_Y.png'))
copy the relative path to the image and try
yes that wont work cuz u are not running it in the same directory the image is in
copy the relative path to the image and try
are u running the script from the same directory in which u have the image?
Change the Assets in os.path.join to also include the "absolute path"
@gentle flint this has to be my favourite album cover
People that eat people 🤮 🤮 🤮
those look amazing
damn, might have to grow me some now tbh lol. looks like a whole other level of quality
Make sure you get high quality seeds. It takes a few years to get the fruit to ripen
And change soil every 5 years or so
bet
😩 dude
ikr
@mortal crystal muted 😦
the 30min texting I think , being active
!voiceverify
thank you
i'm just passing by,
wish u the best
g night 🙏
hello
it's great
I didn't get my voice verification
so I'm muted
OK, when u joined this server? If you don't mind me asking??
Ohh, so usually help here with python ??
ok, I'm not able to see how is speaking, can u say ur discord name out loud
using chat box due to lack of rights 😂😂
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
currently I'm not fulfilling the criteria
oh it's great
are u a developer ??
working in a corporate or just freelancing??
ok sorry
@whole bear Forgive me, but I didn't understand any of what you said.
Heya quandale dingle here
I'm afraid I don't follow your meaning.
But hello, all the same.
class Solution:
def lengthOfLongestSubstring(self, s: str) -> int:
m = {}
i = 0
maxsofar = 0
maxhere = 0
while i < len(s):
curr = s[i]
if curr in m:
if i - m[curr] <= maxhere + 1:
maxhere = i - m[curr]
else:
maxhere += 1
m[curr] = i
else:
m[curr] = i
maxhere += 1
if maxhere > maxsofar:
maxsofar = maxhere
i += 1
return maxsofar
hello!
hey @quaint oyster
is it just me or are yall talking in the vc? @cedar briar @quaint oyster
@whole bearu cannot talk now
u need to read voice verification channel of this server
to get the role to talk
I was AFK, and 4DOS had left the VC, musta been his ghost.
!e
const fetch = require("fetch");
const resp = fetch("https://httpbin.org/get").json()
console.log(resp)
@willow light :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | const fetch = require("fetch");
003 | ^^^^^
004 | SyntaxError: invalid syntax
Wrong language
you'd think an electron app like discord would let us use node though
Except that you're calling the bot, which is a Python app
eh, details
Important ones
eh, details
See previous
i did ctrl R and then my laptop restarted lmao
Well that's disconcerting
Also Hemlock I had a quick question may seem stupid but im getting confused on how someone can remove 0's from a list and I found on stack over flow and this was the code.
X = [i for i in X if i != 0]
Could you just comprehend on this code if you dont mind?
Or anyone else cna help too
Nope
lmao
Okay, thanks lol.
Yea thats me right now. I am like why so much for loop or somewhing in this
Is it validatiing the code until there is no 0?
idk if trust you
im jk
lol.
;-; i took one look my mind exploded
lol ill chekc it out thanks ❤️
Opal I still dont kinda get it... Can you explain it from the code I gave?
I am getting a little confused
what does the first i do tho
and i would be a blank?
Cause it will remove the 0's?
Hmmmm
X = [i for i in X if i != 0]
# is same as
X = [...] # initial list
tmp = []
for i in X:
if i != 0:
tmp.append(i)
X = tmp
!e py result = [] for c in "abc": result.append(c) print(result)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
['a', 'b', 'c']
!e py result = [c for c in "abc"] print(result)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
['a', 'b', 'c']
!e py result = [] for c in "abc": for n in "123": result.append(c+n) print(result)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
['a1', 'a2', 'a3', 'b1', 'b2', 'b3', 'c1', 'c2', 'c3']
!e py result = [c+n for c in "abc" for n in "123"] print(result)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
['a1', 'a2', 'a3', 'b1', 'b2', 'b3', 'c1', 'c2', 'c3']
!e
for c in "abc":
print(c)```
@shut hill :white_check_mark: Your eval job has completed with return code 0.
001 | a
002 | b
003 | c
@shut hill :white_check_mark: Your eval job has completed with return code 0.
001 | []
002 | []
003 | []
Innermost goes on the left. Outermost to second-to innermost left to right from there.
huh
o
um
I want to get the same background as of you did but this time with my code to see the back end of it.
@shut hill :x: Your eval job has completed with return code 1.
001 | File "<string>", line 2
002 | X = for i in X != 0:
003 | ^^^
004 | SyntaxError: invalid syntax
!e
X = [0,5,0,0,3,1,15,0,12]
for i in X:
X.append(i)
print(X)```
@shut hill :warning: Your eval job timed out or ran out of memory.
[No output]
how do uu ignore?
I am kind of lost rn
result = []
X = [0,5,0,0,3,1,15,0,12]
iriterate meaning?
result = []
X = [0,5,0,0,3,1,15,0,12]
for i in X:
Like this rn
!e
result = []
X = [0,5,0,0,3,1,15,0,12]
for i in X:
if i != 0:
result.append(i)
X = result
print(X)```
@shut hill :white_check_mark: Your eval job has completed with return code 0.
[5, 3, 1, 15, 12]
AYYYYYY
Thanks Mistyyy
Sorry lol
OpalMist
I am sorry.
Any kangaroos today?
;-;
Do yuo have pictures of any
I wanna seee some
lol
Do you have giraffees too
Elephants?
PENGUINS!!
wait what
I was joking...
What
lol
o-o
Penguins arent dying in australia?
What...
Fisher?
Is it the Emperor Penguins?
The little penguin (Eudyptula minor) is a species of penguin from New Zealand. They are commonly known as little blue penguins or blue penguins owing to their slate-blue plumage. They are also known by their Māori name kororā.
The Australian little penguin (Eudyptula novaehollandiae) from Australia and the Otago region of New Zealand is consider...
there are penguins in australia?
i thought it was full of spiders and kangaroo
👍
Ah right right
$ pip install -i https://test.pypi.org/simple/ pydaddy
Looking in indexes: https://test.pypi.org/simple/
Collecting pydaddy
Downloading https://test-files.pythonhosted.org/packages/09/33/afe477007a792ea8c55be0e4110289e6e20148179002444c5fc487c98c6a/pydaddy-0.1.5-py3-none-any.whl (20.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.4/20.4 MB 791.4 kB/s eta 0:00:00
Collecting seaborn
Downloading https://test-files.pythonhosted.org/packages/70/bd/5e6bf595fe6ee0f257ae49336dd180768c1ed3d7c7155b2fdf894c1c808a/seaborn-0.10.0-py3-none-any.whl (215 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 215.9/215.9 KB 718.7 kB/s eta 0:00:00
Collecting pydaddy
Downloading https://test-files.pythonhosted.org/packages/5c/67/ba23661ae94c83bf58ce4cf1dc5003373581bb1a81333974cb297c16ff0d/pydaddy-0.1.4-py3-none-any.whl (20.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.4/20.4 MB 744.1 kB/s eta 0:00:00
Downloading https://test-files.pythonhosted.org/packages/c3/95/fc63978be24373700f163636f7efcfade30edd70ffb07829e8dc95353589/pydaddy-0.1.0-py3-none-any.whl (20.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.3/20.3 MB 1.3 MB/s eta 0:00:00
ERROR: Cannot install pydaddy==0.1.0, pydaddy==0.1.4 and pydaddy==0.1.5 because these package versions have conflicting dependencies.
The conflict is caused by:
pydaddy 0.1.5 depends on matplotlib
pydaddy 0.1.4 depends on matplotlib
pydaddy 0.1.0 depends on sympy
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
but the above works find with $ pip install --extra-index-url https://test.pypi.org/simple/ pydaddy
$ pip install -i https://test.pypi.org/simple/ pydaddy==0.1.5
Looking in indexes: https://test.pypi.org/simple/
Collecting pydaddy==0.1.5
Downloading https://test-files.pythonhosted.org/packages/09/33/afe477007a792ea8c55be0e4110289e6e20148179002444c5fc487c98c6a/pydaddy-0.1.5-py3-none-any.whl (20.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.4/20.4 MB 3.9 MB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement tqdm (from pydaddy) (from versions: none)
ERROR: No matching distribution found for tqdm
Creates a Discord server based on a template you layout, making it an easy and quick way to flesh out a server to fit your needs. - GitHub - MrHemlock/auto_guild: Creates a Discord server based on ...
Speaking of MrHemlock/auto_guild#14
I'm good. And I'll have to post pone that one since I'm having to overhaul a few things
@tiny socket
how can I insert keys and values to dict
my_dict = {}
my_dict["new_key"] = new_value
@rugged tundra i have Ear Protection 😮 it saves me from all loud noises
tunes em down
This is so cool
i've had this on since i found it (it slightly makes bass slower on songs too so maybe turn off with music) but generally it helps with keeping volumes reasonable
That'd only work for speakers or headsets attached via 3.5 mm jack, right?
I don't think I could use that on my USB headset
"A mac only school" that must be torture
Is there something like this for linux?
🤷♂️ i don't listen to anything on linux so no idea
never looked into it
@rugged tundra docker docs are actually pretty decent for learning https://docs.docker.com/get-started/
Probably not, that’s enhancing user experience and Linux devs don’t know how to do that.
i agree with half of that. there probably is a way to do it but you probably need to install some obscure utility to get it
Truth is, with all Linux sound systems, it would be PITA to do.

Pulse is broken again for me this week for some reason
Check out NZXT BLD today at: https://nzxt.co/LttBLDNov21
Linus & Luke use their Linux desktops to complete a list of mundane tasks like printing and compressing files. Easier said than done?
Buy Gigabyte AORUS FO48U Monitor: https://geni.us/uS9oNw
Purchases made through some store links may provide some compensation to Linus Media Group.
D...
Hello guys, could anyone have a look at this regexp?:
([[A-Z]{3}]+[\/|I][[A-Z]{3}]+)
Trying to match:
GOA|SLD or any upper char with 3char|3char
Want to knock out my mileage first.
([A-Z]{3}\|[A-Z]{3})
[\/|I] Could you explain me what does this match?
match / or |or I
You have a bunch of extra [(s) that're being interpreted as literals because they're inside and outside of the the control groups
Thanks
? where
Everywhere
[[A-Z]{3}]+
You have the entire thing enclosed in [], which doesn't work
If you want a capturing group, you need to use ()
Oh yeah, I just figured, thanks
Just a single more question:
([A-Z]{3}[\/|I|\\|\s|\-|][A-Z]{3})+(\r|\t|\n|\s)+(BUY|SELL)+(\r|\t|\n|\s)+((?:\d+\.)*\d+) how could I also add a no space char there in the or group "[\/|I|\\|\s|\-|]"?
Like I wanted to match a test String as :
GOASLD SELL 1832.94
Other than:
GOA|SLD SELL 1832.94 GOA/SLD SELL 1832.94 GOA\SLD SELL 1832.94 GOAISLD SELL 1832.94
.
👍
"If they're insulting whitespace characters..."
"All whitespace characters are shit and they should feel bad for existing."
[\/|I|\\|\s|\-|\]
Whitespace guilt
!e
import re
test = """
GOASLD SELL 1832.94
GOA|SLD SELL 1832.94
GOA/SLD SELL 1832.94
GOA\SLD SELL 1832.94
GOAISLD SELL 1832.94
"""
pattern = re.compile("([A-Z]{3}[\/|I|\\|\s|\-|]?[A-Z]{3})+(\r|\t|\n|\s)+(BUY|SELL)+(\r|\t|\n|\s)+((?:\d+\.)*\d+)")
for match in pattern.findall(test):
print(match)
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
001 | ('GOASLD', ' ', 'SELL', ' ', '1832.94')
002 | ('GOA|SLD', ' ', 'SELL', ' ', '1832.94')
003 | ('GOA/SLD', ' ', 'SELL', ' ', '1832.94')
004 | ('GOAISLD', ' ', 'SELL', ' ', '1832.94')
Could anyone test my script if you can dm me.
@woeful salmon I'm not confident of many things, but I'm positive f-strings were added in 3.6
@whole bear Why not post it here
Why can't you ask here?
i just saw
dataclasses were the thing added in 3.7
and breakpoint()
which i need now
like i use breakpoint() literally everytime i use python
I should start using it
Long live datacalsses!
!rule 5 @waxen aspen
5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
But have you used PyCharm?
👀 yes. and i don't like it
i generally don't like most bulky ide's
so basically all of jetbrains
i say that but i do use android studio quite often
In Stan she eights.
Or she hates
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
how many message have you sent till now?
i dont know
Should be able to see it by doing !user in #bot-commands
Or by using the Discord search bar
from:your_user_name_here
25
You seem to not have listened to me when I mentioned the "Don't spam to get verified"
Deleted messages don't count, and if you spam to hit the limit, we add 2 weeks to the amount of time it takes to verify
From the time that the infraction is given
👍
I will be away from a while.
If you're typing white text on a black background, is it still whitespace?
\|
[\/|I|\\|\s|\-|]
[\/|I|\\|\ |\-|\]
Regex made fun and easy.
(?:\/|I|\\|\s|\-|)
"I fucked up my regex."
You can just say that you're writing regex. It's regex. The fucking it up is always implied.
[\/I\\\s\-]
Reg, my ex
.xkcd 1171
Honorable mentions: 208, 1313
.xkcd 1313
How the f do you remember them
I don't
Google does
It even combines them together in a block at the top for me
Is this opera ?
MS Edge
!stream 884547177999917107
✅ @ripe raptor can now stream until <t:1654185709:f>.
[\/I\\\s\-\|]
!pypi pype
hello
new_loop:
mov rdx, rcx
jmp fib_loop
nth_fib:
mov rdx, 0
mov rbx, 1
fib_loop:
mov rcx, rbx
add rbx, rdx
dec edi
test edi, edi
jnz new_loop
mov rax, rdx
ret
@buoyant cobalt
Okay
@buoyant cobalt - Like @terse needle said, you're welcome to type here until you qualify to speak
See #voice-verification for the requirements
beatmetoit
Okay, Thanks
just git gud
I'm a dog, I'm already the best
rabbits > dogs > cats

import json
user_data_file = open('user_data.json')
user_data = json.load(user_data_file)
password = ''
security_pin = ''
def load_password():
for after_username_loading in user_data[username]:
password = after_username_loading['password'].lower()
print(password)
def load_security_pin():
password_correct = False
while password_correct != True:
input_password = str(input('Password: ')).lower()
if input_password == password:
password_correct = True
for after_password_loading in user_data[username][0]['security_pin']:
security_pin = after_password_loading.lower()
elif input_password != password:
print('Entered Password is Incorrect, Please Try Again')
else:
print('Unknown Error, Please Try Again')
username = input('Username: ')
load_password()
load_security_pin()
input_security_pin = input('Security PIN: ')```
can someone help me with this?
input_password and password are taken as not equal even when both are same
JSON file looks like this
"Pratyaksh Kwatra": [
{
"password": "test@prat",
"security_pin": "111"
}
]
}```
Was anyone able to find the issue?
You're shadowing variable names
@rugged root - Can you help explain globals?
I have a hard time trying to explain it
I know the basics of global variable(s)
What specifically am I looking at for reference?
At the top of your code you have password = ''
Inside of load_password, you have password = after_username_loading['password'].lower()
This does not change the value of password, so when it's checked, it's still checking the input against the empty string
but it prints the password present in the json , and that command is given just after this one
So the problem is scope
scope?
Scope is the concept of things being isolated within functions, methods, and classes.
So for example:
!e
ham = 5
print(ham)
def add_two_and_print(ham):
ham += 2
print(ham)
return ham
ham = add_two_and_print(ham)
print(ham)
@rugged root :white_check_mark: Your eval job has completed with return code 0.
001 | 5
002 | 7
003 | 5
password='' creates a variable called password
def load_password():
for after_username_loading in user_data[username]:
password = after_username_loading['password'].lower()
print(password)
This creates a new password that's only allowed to be used inside load_password()
Once load_password finishes, it throws away this "new password", and the "old password" remains unchanged
oh , I get it. i have to return it
Okay
Thank You!
So , it stores the new value(The one created inside the function) as another variable until we return it and assign it, right?
Thanks , it works now (also got to learn something new)
!global
When adding functions or classes to a program, it can be tempting to reference inaccessible variables by declaring them as global. Doing this can result in code that is harder to read, debug and test. Instead of using globals, pass variables or objects as parameters and receive return values.
Instead of writing
def update_score():
global score, roll
score = score + roll
update_score()
do this instead
def update_score(score, roll):
return score + roll
score = update_score(score, roll)
For in-depth explanations on why global variables are bad news in a variety of situations, see this Stack Overflow answer.
I am not able to connect to voice chat for some reason, its stuck on RTC Connecting
It's showing you as connected.
I refreshed the client couple times
Try connecting to a different voice chat, then this one.
Nope no luck
Different server.
Same issue on all servers
Well, bugger.
I'd suggest changing the voice server on PyDis' end, but if it's not working for you for any other servers...
I will try connecting via phone
not a nice story
😦
lets leave horror stories behind
🙂
browser version is worse bruh
https://open.spotify.com/track/4d7EzLODiMp4Cuf6tRxn7s
https://open.spotify.com/track/1o1x4gUntwc9sqeMDWR9eE
Some classics
Hi
Yo man
If a function requires 3 parameters , is there any way to mark one as an optional one (If it's only required in some-situations)?
or do we just leave it?
Okay
@sturdy panther 👋
I want to create a python script that checks the data in a json file and uploads it to a cloud server as soon as it finds a change in the data . It should also check the cloud data and download the file as soon as it finds some difference . I just need a broad view on how I should proceed
Hi! Long weekend holiday!
Oh right right, the Jubilee right?
Yea. Something to do with the Queen.
70 years on the throne.
Constipation is no joke
can i live code?
!stream @brittle adder
!stream 169457879336747008
✅ @brittle adder can now stream until <t:1654264586:f>.
✅ @brittle adder can now stream until <t:1654264586:f>.
I wanted to give you a chance
Batch normalization (also known as batch norm) is a method used to make artificial neural networks faster and more stable through normalization of the layers' inputs by re-centering and re-scaling. It was proposed by Sergey Ioffe and Christian Szegedy in 2015.While the effect of batch normalization is evident, the reasons behind its effectivenes...
what do you mean by structuring code? like files/folder structure?
@brittle adder
show me 1 file
!stream @brittle adder
✅ @brittle adder can now stream until <t:1654265473:f>.
https://paperswithcode.com/task/audio-classification @brittle adder
helo @stuck furnace
StarTech.com StarTech.com 4-Port Dual Monitor HDMI KVM Switch with Audio & USB 3.0 hub - 4K 30Hz - 4 PC Mac Computer KVM Switch Box for HDMI Display (SV431DHD4KU)
Whhhhhyyyyyyyyy
@sweet lodgehttps://github.com/github/copilot.vim
@rugged root
What's the difference between "Microsoft Teams" and "Teams Machine-Wide Installer" in Control Panel?
Which one should I keep?
I have no idea
I would assume the former
i prefer this course https://www.youtube.com/watch?v=MrLPzBxG95I&list=PLl8OlHZGYOQ7bkVbuRthEsaLr7bONzbXS
Cornell class CS4780. (Online version: https://tinyurl.com/eCornellML )
Official class webpage:
http://www.cs.cornell.edu/courses/cs4780/2018fa/
Written lecture notes: http://www.cs.cornell.edu/courses/cs4780/2018fa/lectures/index.html
Past 4780 exams are here: https://www.dropbox.com/s/zfr5w5bxxvizmnq/Kilian past Exams.zip?dl=0
Past 4780 ...
Hmmm
Me too
I know the "machine wide installer" requires admin to install
I think the other one is a newer form that doesn't [require admin]
It might install to the user's profile or something
I think I checked the box for Teams when selecting which Office apps to automate installation for too
Do we really need this many deployment options?
any reccomendation for git for windows?
I tried to cmd, and then just type git
but it says
operable program or batch file.```
No package found matching input criteria.
I was watching the games of the AlphaZero- Stockfish match, among all the games, I found this one of the best games ever played! AlphaZero places it's king on e3! Then sacrifices a piece and then goes on to win the game. P.S: No analysis because it's played between 2 engines. Just enjoy the beauty of...
Just thought this was an interesting play
Try updating the remote first
winget source update
git bash
possibly your path is not set for git
none of it work
even after winget source update
@rugged tundra The number of distinct chess positions after White’s first move is 20 (16 pawn moves and 4 knight moves). There are 400 distinct chess positions after two moves (first move for White, followed by first move for Black). There are 5,362 distinct chess positions or 8,902 total positions after three moves (White’s second move). There are 71,852 distinct chess positions or 197,742 total positions after four moves (two moves for White and two moves for Black). There are 809,896 distinct positions or 4, 897,256 total positions after 5 moves. There are 9,132,484 distinct positions or 120,921,506 total positions after 6 moves (three moves for White and three moves for Black). The total number of chess positions after 7 moves is 3,284,294,545. The total number of chess positions is about 2x10 to the 46 power. If you understand this and like math tell us the answer.
this is completely stolen
Hmm. That's weird
Well, the fancy thing didn't work
You can get the normal download from their website
https://git-scm.com/download/win
Git actually lists winget now on their downloads page
Nice
@scenic wind
should I get the normal git, or some people saying some other variant of git is better?
What is this variant?
Do you mean gh?
https://cli.github.com/
gh is pretty cool, but you still have to have git installed for it to work [AFAIK]
doesn't matter.
ok thanks
In this tutorial, I'll show how to install Git on Windows 10. Git is the most popular Version Controll System (VCS).
Git installation is pretty simple and every beginner can do it.
Check out my courses here!
https://www.udemy.com/user/maksym-rudnyi/
Support this channel:
Patreon - https://www.patreon.com/rudnyi
Mono Bank - https://send.monoban...
This video will show you how to setup Git Bash in your windows terminal in under a minute. The values used in the video are all here for you in the description. So once you know where they go you are free to use this as a reference.
Name: Git Bash
Command Line: "C:\Program Files\Git\bin\bash.exe" --login -i
Icon: "C:\Program Files\Git\bin\bash....
both @cerulean ridge