#voice-chat-text-0
1 messages ยท Page 874 of 1
!resources look at the interactive resources page here, it has some places where you can do challenges. i also recently discovered https://py.checkio.org which seems neat
py.CheckiO - Python practice online. Improve your coding skills by solving coding challenges and exercises online with your friends in a fun way. Exchanges experience with other users online through fun coding activities.
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
thanks @faint ermine
lmaoooo
pin when ๐
I just joined but that seems like a proper rant
Yeah it sounds like it is over now.
hi
Just have 1 good conversation and that should get you there
Donโt just spam, because you will just get your voice privileges revoked
@ionic ferry did you see salad
@gloomy vigil no, i cant see his messages
I am new to coding, any advice where to start and what to do ? There is so much content everywhere and im overwhelmed.
No need to be overwhelmed! I would start with a Python book, that is what I did and it really kicked off my liking for programming!
noah
no i meant his name and your name are related
@gloomy vigil lol
@whole bear https://stackoverflow.com/questions/2505041/best-library-to-parse-html-with-python-3-and-example
also, is it plagerism if i use parts of code from online sites ?
ok, thank you.
for Qt, which is more powerful than tkinter, there are 2 options for python binding, the main difference being license
PyQT(6) is the unofficial 3rd party library thats been around for longer, seems to be made by a single person. its GPL3 which means your project absolutely has to be GPL3
PySide(6) is the official python bindings made by the QT company. licensed LGPL which means your project can be any license. (still read up on license requirements tho)
open("path")
Hello @dense ibex
You should see this to get help #โ๏ฝhow-to-get-help
actually ik it was solved on the vc
Whats the script for @dense ibex?
Theres me thinking it wouldve been for the actual GTA game xD
o/
@terse needle we can't hear you
@dense ibex cleanest bedroom i have seen latley XD stuck at home
yup thats me
@dense ibex whats the project?
@dense ibex do you own that server?
@dense ibex xD
@dense ibex try fiverr
@dense ibex but yo you can use fiverr and freelance
@dense ibex the tru serious question why light windows theme aint you a programmer?
@strong arch try forge
@strong arch yeah
@strong arch AWESOME!
@strong arch xD
@sinful wharf the tru serious question why light windows theme aint you a programmer?
@strong arch eh might be a lie
@neat acorn be specific
@neat acorn there are some certain things that can be used in cybersecurity in python
@neat acorn there are some certain things that can be used in cybersecurity in python
@neat acorn do you understand the concepts of programming in general?
Bro sup
sup
oh sry it was a different jake
XD
@dense ibex sry gtg couldn't stay for the chat ๐ญ
Can someone ping the voice verification channel
!pypi click
message.content.lower().split() # works
message.content.split().lower() # doesnt work
In software engineering, a fluent interface is an object-oriented API whose design relies extensively on method chaining. Its goal is to increase code legibility by creating a domain-specific language (DSL). The term was coined in 2005 by Eric Evans and Martin Fowler.
log_async=True
hello
so could somebody help me with something?
??
so please
i
would really need somebody
hello
?

how?
@dense ibex L A A---G
Ill just be safe and turn it off
@dense ibex stop calling me out for using json as a database

๐จ
@dense ibex
var maxDist: Int = 2048
@Synchronized set
@uncut meteor what game is that?
Hey @dire folio ๐
Could you create a moving-average (materialised) view in SQL?
And would that be efficient? ๐

Can you do an exponentially-weighted average?
Like exponentially-weighted average of time between joins.
Does pythondiscord expose a snekbox playground I can share code with?
That is also pretty smart
This is for black knight
so probs need to stop discussing implementation before it gets too specific haha
Oh right ๐
So, joins are essentially a Poisson process, with a varying rate.
Nah, TODO comments in production aren't too bad ๐
!e ```python
#TODO Implement MVP
def main():
pass
Everything is a work in progress.
that's why Github issues or Jira exist
I also believe in storing issues as text files checked into the repo ๐
did Laundmo fall down a well? Tell Lassie
Because different versions of your code have different issues surely ยฏ_(ใ)_/ยฏ
I'm with Laundmo on this one.
What about TODOs that make reference to current issues?
Wouldn't it be useful to have a note in the code highlighting the issue to anyone reading it?
Well there is the IEEE code of ethics.
Although I'm not a member.
There's no such thing as production code without bugs ๐
yo guys im kinda new here. I have a question ๐ how do u get started on working with legacy repository? IT IS TOO BIG . Id really appreciate if anyone could provide some tips Cheers!
^ If someone knows the answer to this, let me know too.
Oh Tesla needs good some testers on autopilot
brb
all i can recommend is figuring out where you can draw the line of "i dont need to worry about this currently"
Thats what I was thinking as well. I should approach by '' Unit Learning'' way
It will depend on how well structured the code is. You could perhaps try stepping through the code with a debugger?
Yeah, there are thousands of TODO comments in the Linux kernel apparantly.
N
But it's kind of hard to search with Github as there are also variables named 'todo' ๐ค
Here's an example: https://github.com/python/cpython/blame/main/Tools/peg_generator/pegen/grammar.py#L348
16 months old
!ban 767227377377607721 racism
:incoming_envelope: :ok_hand: applied ban to @lime fiber permanently.
Ahh noo
๐
iPhone screens shatter if you look at them the wrong way.
I say this as the owner of one cracked iPhone 
Did you get the Wumpus plushie? ๐
The controller is Clyde, I think?
I feel like Scout and I would get along ๐
def one(ctx):
return 'Congrats'
def two(ctx):
return one(ctx)
I'm from Poland, and my English is not at a high level, so sometimes I don't understand you but I try my best ๐
Hello and welcome! ๐
Someone working on their metal vocals ๐
Why are the gorillas made of lava? ๐ค
this game was do in python ?
No haha, we're mostly hanging out here
Gtg ๐
Brb
Deleting the environments
Finally, you can delete existing virtual environments by using env remove:poetry env remove /full/path/to/python
poetry env remove python3.7
poetry env remove 3.7
poetry env remove test-O3eWbxRl-py3.7
If you remove the currently activated virtual environment, it will be automatically deactivated.
https://artsandculture.google.com/search/3d
@faint ermine ^
Google Arts & Culture features content from over 2000 leading museums and archives who have partnered with the Google Cultural Institute to bring the world's treasures online.
it's like pubg game doing bad render back then
man, feels like superman
flying around
oh wow
i created a program in python it works but not until the end
i also created a path that compiles the .py to .exe
does it matter
?
Oooh, that's a nice glacier.
@whole bear honestly, idk. Maybe try to duplicate the file and try to change the file to exe
soo you can back up
if everything that maybe happened in case
@olive hedge nice doggo say hi to him/her
good doggo
meow meow
Laundmo, can you visit the grand canyon?
bangladesh is maybe a good place for street food @faint ermine
street food in india is the most bizzare thing in the world
and also pakistan
but i'm not yet to visit those country
How so? ๐
@olive hedge your pet is so cute
like you kinda seems confuse at the first time
that everyone literally dont want to see it, kinda.
but some are good
my fav soo far is naan bread
there is a lot of option
of sauce to eat with naan bread
you can make it at home
anyone knows how to fix that
Hmm, you're unable to connect?
@whole bear reset router lol
it's funny never ending discussion with flat earth
I quite like dal tadka ๐
In LA?
There are many artificial lakes in florida.
Because you have to get the earth from somewhere to build it up before building houses.
damn, it's kinda lag
So every housing development has a little lake.
lol
its a meme
Oh cool
Hey @wicked kettle!
It looks like you tried to attach file type(s) that we do not allow (.jfif). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.
Feel free to ask in #community-meta if you think this is a mistake.
https://en.wikipedia.org/wiki/Chicxulub_crater @faint ermine
The Chicxulub crater (; Mayan: [tสสผikสuluษ]) is an impact crater buried underneath the Yucatรกn Peninsula in Mexico. Its center is located offshore near the communities of Chicxulub Puerto and Chicxulub Pueblo, after which the crater is named. It was formed when a large asteroid, about 10 kilometers (6.2 miles) in diameter, struck the Earth. The ...
try to put in google drive
i did more the ever
i connect but cant hear nor talk w anyone
Are you able to connect to voice channels in other servers?
Voice has a debug menu, accessible by clicking on 'voice connected' and then 'debug'. That may provide some clues.
nope nothing works 
i searched it up everyone told me to change my dns which i did , but didnt help
how do i debug ?
Apparently unselecting settings > Voice & video > Advanced > Enable quality of service high packet priority may have an effect?
(Assuming it's selected currently.)
Ah right. Try restarting, after switching it off of course.
it works now but sometimes it works for a bit and go back to not working
i'll let you know if it doesnt work

thanks sir
๐
yeah its off
i turned it back on , no difference
i even got some weird software to lock my dns so it doesnt change from the google one
I heard a noise...
do you hear me now ?
Nope
uninstall discord
i did
i used canary
development
powercord
better discord
all the same 
even the browser one
have you contact the discord support team yet?
i'm searching for there server
I'm thinking it's something to do with your network. Have you tried using discord on a different internet connection. E.g. on mobile internet, or at a cafe or friend's house?
Does it work on different machines in the same house?
i used my phone hotspot it worked fine
i had this issue on my brothers pc too
Maybe you need to contact your ISP?
ISP ?
Internet service provider
I'm not sure that there is an official support server. There is support website however: https://support.discord.com
alright
I'd try all the suggestions at that last link, if you haven't already.
Client-side WebRTC code samples.
I'm not sure. I've not used that software before.
oh alright i couldnt find discord tho
it just shows folders
nvm i nailed it

C:\Users\AppData\Local\Discord\Update.exe this one right ?
I'm not sure. Gtg now. I'd try all the things at that link, then contact Discord support with the information they need if none of it fixes the problem.
alright
maybe try to give them discord port link server. So they can optimize it.
how do i do that ?
honestly idk XD

nvm, it's also not helping too. It's just too many server for discord too chat
where do you open this?
Sikh
@somber heath you dont have to apologize for something you cant control
i have switched my bot from using json as a ddatabase to mongodb
hello @flat sentinel
jjjjssssonnnn
Helo
๐คฎ
why you vomit? is that a new tick???? bc json database make you mad?
???/
...you're using it as a database?
yes
๐คฎ
now TICK
Tic.
dont spam
Tictac
Tictac
doing this will just result in more messages
googa booba i made video in disocrd with emojisssssaaaa
Top 4 python projects-
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
oh lmao not verified

shit, I cut myself by mistake, brb
oh, I didn't know dogecoin was opensource https://github.com/dogecoin/dogecoin
gotta go for a short while ๐
He has more than 2 million followers on Twitter, 600,000 YouTube subscribers and his videos on the Daily Wire channel rack up millions of views.
Ben Shapiro is a controversial figure but one of the US' leading conservative political commentators. His book, The Right Side of History: How Reason and Moral Purpose Made the West Great, is a New Yor...
The Australien Government has made an ad about its hotel quarantine and vaccines policies, and itโs surprisingly honest and informative.
๐ Ways you can support us to keep making videos:
๐น Become a Patron: https://www.patreon.com/TheJuiceMedia
๐น Tip us on PayPal: https://www.paypal.me/thejuicemedia
๐ PG VERSION: https://youtu.be/3iNrtPGnkk0
...
I kinda wish the voice verification thing didn't exist.
lol
RIP talking about programming
Oh I have no specific question
I'm just bored and wanted to hang
Should search be an I/O because user initiates search?
It also allows managers to understand code easier
In some circumstances
Look up flow chart rules (probably a better way to word that) to see if you can have a node before "begin" the represents whatever starts the algorithm.
Haha sounds bad
The only thing I find annoying about flowcharts is the fact that you could understand it without the shapes.
It can be I think
But it also has oop parts
Is that bad?
Has anyone very tried to ask for help on an exam here before?
But with online exams now
I was just wondering lol
I heard about collages using root level anti exam cheat software lol
I wish I knew mysql
@whole bear try the coding den server as well
send invite in dms?
kk
He's saying talk to them in VC and send it to them
He's gone
lol that was kinda weird
Yes
you did many times
No but he never showed us the code just asked how to fix it
That would be awesome!
Is this flowchart belongs to javascript?
It's very entertaining to type instead of speaking, thanks python discord staff
Yeah, Microsoft is kinda fucking annoying sometimes
Is some mod gonna come in here and get mad if I post a funny picture?
Who is?
Are you high?
This is called dream mr thomas
Lol "Mr. Thomas"
but in this life u can make dream into reality, and that's when you become a succsiful person
8/10 for this! your such a karen
yeh, it is but it messes the sparkling creativity part
Wdym sparkling creativity?
Only funny people will understand this reference mr thomas aka karen the b
Ah so you're saying that it doesn't have a wide enough audience
Because only devs would understand
yeh, and we need to attract discord staff to engage them and make them allow us to speak.
good tactic
let's start the plan mr thomas
Ah well you know we can speak if you send 50 messages and stay on for 30 mins
it's not that hard
I'm almost there
you have to stay in this boring discord for 3 days, u mad!!
30 minutes not 3 days
You are not currently eligible to use voice inside Python Discord for the following reasons:
โข You have been on the server for less than 3 days.
โข You have sent less than 50 messages.
โข You have been active for fewer than 3 ten-minute blocks
it's a issue
Oh well I've been here a while, I never said I liked it, I actually think it's bad
I just don't want to pester the mods about it and get kicked or something even though it's a real criticism
How are we gonna make them change it
with the "sparkling creativity"
u betrayed me
coward
I knew it, u really were a mr karen
it's time to rebel
bring the sword commander
we have a long day
i just have a imaginery mind
and i like history also
and i'm working on learning cyber security that's why i want to learn python
see everything now make sense
i started learning it 2 days agio
Cuz it's exciting, unusual, unexcpected, teamwork
I really want to speak
mr thomas don't bully the new kid
bad thomas
i need 1 day
i hate this
yeh, i go there usualy
when u speak u can't erase
but here is just so much erasing going on
no, i say stuff and backspace them.
i like to change
Why elon musk lives in a 40k house?
cuz he like it simple and want to change
same as me
im too smart
sry, that was my mind thinking out loud
cmon thomas open a conversation
your the one who can speak here
ask rima about the wheater
No
okay talk about covicd
19
or maybe us turning into zombie in 2022
u don't know future mate
okay i want to type
but python staff terrfies me
๐
they contact me in direct meassge
i'm getting famous
yeh
You are not currently eligible to use voice inside Python Discord for the following reasons:
โข You have been on the server for less than 3 days.
โข You have sent less than 50 messages.
โข You have been active for fewer than 3 ten-minute blocks
not his
Type: Warning
Expires: N/A
Reason: Hey, please donโt spam to get your message count up for voice channels, as that could lead to a voice ban.
see
okay, guys i might stop cuz of band, i'll see ya later
Bye
i will not spam
sure
any<more
it wasnt that bad
yuh
gut, dir
here in germany we say wie geht's its hust shorter than wie geht es dir
oh okay
this "doch" is wrong but everything else
?
Oh okay im gonna try to do it better next time
you dont know python?
i know python
den?
we arent talking about it lol
ik
What are you all doing right now?
this
im sweating for voiceverify
lol4
๐
me?
yes i do
wanna play?
I dont have time right now im busy
To verify that your not a bot and active
i need 20
Are you sure about that?
u mean bloatware?
Or are you new?
Yahoy.
Hm. Interesting. If you're muted on one device, it doesn't show that on a second you're also logged in to.
Just shows you as "Connected on another client"
Laundmo Laundmo Laundmo!
I'm listening.
But hi.
As to being muted, I'm where I don't want to make much noise.
and holding my phone when I'm concentrating on other things makes me liable to rub the mic hole with my hand
I could.
There are two kinds of loops in Python.
like ?
While loops and for loops.
oh and why do we use loop ?
There's also comprehensions, but they're advanced for loops
i am new with python so just help me with basic
Loops are for when you want to run a piece of code maybe more than once over and over, or look over a given object and deal with its contents per element. I'll demonstrate.
yeh please which vc i can join ?
for each_letter in "a string object":
print(each_letter)```
This will, per item in the string, call the print function
unable to understand bro
reply+AF5ULDKBX3OCMBNHHDR2SAQ4@reply.github.com
each_letter for the first time through the loop will have the letter "a" assigned to it.
oh
3476735+(username)@noreply.github.com
Hello What !
Once it reaches the end of the loop, it goes back up to the top. each_letter then has " " assigned to it
then s, t, r, i, n, g etc etc
until there are no more, then it exits that level of indentation, that loop
which app you prefer to me to start with ?
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Have a look through that.
currently i am using python.org
Keep my email addresses private -
Weโll remove your public profile email and use 54628770+reydarb@users.noreply.github.com when performing web-based Git operations (e.g. edits and merges) and sending email on your behalf. If you want command line Git operations to use your private email you must set your email in Git.
Commits pushed to GitHub using this email will still be associated with your account.
You have to have an email, but you can enable "Keep my email private" in GitHub user settings
Corey Schafer's YouTube page has a number of Python tutorial playlists.
As does Sentdex.
a very very thanks to you
oh
Reading the official documentation is also a good way to browse through what's in the language. I found the pdf versions they provide to be handy in that regard.
Specifically, library.pdf in the collection of pdfs
Yes.
how
A common use of for loops is not merely iterating over an object, as above, but doing things n times.
oh how do you learn python
!e py for _ in range(4): print('Hello!')
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | Hello!
002 | Hello!
003 | Hello!
004 | Hello!
In this instance, we're creating a range object, which is then iterated over.
:incoming_envelope: :ok_hand: applied mute to @jagged thicket until <t:1627905704:f> (9 minutes and 59 seconds) (reason: role_mentions rule: sent 4 role mentions in 10s).
Much like the string used.
@jagged thicketI would prefer conversation take place in public channels. As to your question, you've asked that and I've answered.
Though given the situation you've managed to get yourself into...
I would suggest you go over that resources page linked.
Yahoy.
Help regarding what?
Post it.
@junior shadow
@gloomy vigil๐
if code_line and i == code_line:
if not x.startwith("**"):
return False
tickedCode = x.replace("**", "").split("+")[0]
if int(ticketCode) % 7 ==4:
validationNumber = eval(x.replace("**", ""))
if validationNumber > 100:
return True
else:
return False```
Is this what I got a ping from?
If both the top conditions are "True", proceed... So if code_line has truthiness.... Either it is the bool, True, or is something whose __bool__ method returns True. 1, for example, is truthy. 0 is falsy. -1 is truthy. "A" is truthy. "" is falsy.
Yes.
I suspect so.
Yeah, thank you!
It was zapped quick, but it was colourful.
lolll
and if i, whatever that is, is equal to code_line. Easy enough.
Why are we replacing the same value twice?
Why are we eval-ing the replacement?
Oh. Ew.
ew?
@junior shadow Whoever wrote this code you're trying to figure out needs a telling off.
It's really bad practice to eval anything that comes from outside input. That's how arbitrary instruction exploits are born.
yea i know but why did you say ew
i am thhere
i am just lagging bad
I intended my above as explanation.
@junior shadow Is this for a calculator?
@junior shadow
# x = "**1745+022**"
if code_line and i == code_line:
# Stop if x does not start with "**"
if not x.startwith("**"):
return False
# Replace all "**" with nothing (remove them), x is now "1745+022"
# Split x on each "+", x is now ["1745","022"]
# Take the first item from the list, x is now "1745"
tickedCode = x.replace("**", "").split("+")[0]
# Convert ticketCode to number, ticketCode is now 1745
# Check if the remainder of ticketCode / 7 is 4
if int(ticketCode) % 7 ==4:
# Replace all "**" with nothing (remove them), this will not do anything, because all "**" have already been removed from x
validationNumber = eval(x.replace("**", ""))
if validationNumber > 100:
return True
else:
return False
I'm not sure they have pings on.
x could be equal to something like this
f"**{a_num}+{another_num}"
and in that validationNumber = eval(x.replace("**", ""))
so what it will do that x.replace("**", "") will return "{a_num}+{another_num}" evaluating this will give use the sum back
so hows everyone's day?
Meh, I don't think there's any hope for this example anyways
Variable defined as tickedCode, but used as ticketCode, validationNumber is only defined if a condition is met, but always used, I think, I can't tell because the inconsistent indentation. x is updated and rename to tickedCode, but then they use the old x again to create validationNumber, replacing the same thing in x multiple times
I feel bad for those trying to help him
pep8
Someone's doing the Cha Cha Cha with their microphone down their pants.
!warn 852753761633566751 Please don't mass ping when asking for help. Just ask your question, and wait for someone to come who can help. There's no need to ping users/roles.
:incoming_envelope: :ok_hand: applied warning to @jagged thicket.
You kids have fun. Be back later, I expect.
aw bye!
๐
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@junior shadow what is your speed WPM
he has pings off
ohh
am in breaking in between
try msg.resp
Ghost ping, fun
str(byte_string )
oh sorry wrong copy-paste
wait let me send the real link
def input(self, args):
# method.
# Initialize the reverting path with the directory given in the run
self.reverting = args.get('directory')
self.file_path = self.reverting
begin_list = os.listdir(self.file_path)
try:
# if the user cancels the inupthander via ``cancel()`` event there changes
# the value ` in_the history == 1 ` and calls the usual event to take place.
if in_the_history != 1:
# to resist the Traceback called due to Nameeror for `file_in_the_history`
# variable and hence returning the exception for that event .
try:
return file_system_inputhandler(
'..',
os.listdir(os.path.dirname(file_in_the_history)),
self.file_path,
self.reverting,
)
except NameError:
return file_system_inputhandler(
None, begin_list, self.file_path, self.reverting
)
# And in order to make the condition wrong `next_input()` initialises the value
# of in_the_history to the current seleted file
else:
return file_system_inputhandler(
None, begin_list, self.file_path, self.reverting
)
# since the condition is based on `in_the_history` variable which is to be
# initialised by next_input() method so hence exception ha to be made to make it do so
except NameError:
return file_system_inputhandler(
None, begin_list, self.file_path, self.reverting
)
class file_Command(sublime_plugin.WindowCommand):
file_path = ''
reverting = ''
def run(self, name, directory):
global revived_file, folder_name_to_open, file_in_the_history
if os.path.isfile(revived_file):
file_in_the_history = revived_file
self.window.run_command('open_file', {'file': revived_file})
elif name == '-->open in editor':
project_data = self.window.project_data() or {}
folders = project_data.get('folders', [])
folders.append({"path": folder_name_to_open})
project_data['folders'] = folders
self.window.set_project_data(project_data)
!rule 5
5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
@olive hedge @dense ibex Sup nerds
How was the trip?
Awesome, I have never been to hawaii before so yeah it was really fun
well I went as a baby but I don't remember it ofc
>>>from kivy.uix.label import Label
>>>help(Label)```
did you get to swim with the fishes?
Only 5 hours?
Sea Mothra.
nah KJ become a devops guy
A red fox pinpoints field mice buried deep beneath the snow, using his sensitive hearing and the magnetic field of the North Pole to plot his trajectory.
For more North America, visit http://dsc.discovery.com/tv-shows/north-america/#mkcpgn=ytdsc1
Subscribe to Discovery:
http://bit.ly/SubscribeDiscovery
Join us on Facebook:
https://www.faceb...
In coffee?
@olive hedge https://www.youtube.com/watch?v=1NDqZy4deDI
Note: The audio used in this video is NOT mine. I simply found it and added the funny subtitles.
This is Weekly Dose Of Aviation #110
Links to sources:
Pilot Almost Flies Into Tornado - https://twitter.com/jlnphoto/status/1404210394453975044
Bird Strike - https://www.vgtv.no/video/220458/landingsdrama-i-alta
Low Pass - https://m.youtube.com/watch?v=2_kzZu91AYI
A310 Low Pass - https://www.instagram.com/p/Bo9Yvg9lG8R/
C-130 Low Pass - h...
10 tips to get the girl or guy you like to like you back.
Subscribe: https://goo.gl/Hnoaw3
Have you ever had a crush where you would do anything to get them to like you back? Well, youโve come to the right place, because this video will give you all the ti...
A: "You murdered my parents, you arsehole!"
B: One weird trick
A: "Marry me!"
Sorry I didnt mean to unmute
We didn't hear anything
yes
With what?
god will bless u with more knowledge
you can post your question in chat
Whoever rhymed it chimed it
my images are not loading in django
good morning
images loading
are you trying to load them in production with DEBUG = False?
He who detected it, projected it.
no
He who reported it, exported it.
is that related to the media url? Or static?
He who rued it, brewed it.
static will not serve properly with debug = True, you will need to follow instructions for serving static in dev, according to their docs
Sir @rugged root please give me temporary access to screen share so that it will help me to show what problem i'm facing so that people with django knowledge can help me
and i can learn and save in my memory
ok sir

yes
no disturbance to the chill people here
!stream 699843694890713139
โ @normal hinge can now stream until <t:1627915490:f>.
thank u sir
@olive hedge captain can u please come down so that i can share my screen
๐
no, sorry. I am at work. I can only do some sparse replies
ok
i see errors in loading images in console
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')```
even i have added this thing
in my settings.py
You should probably open a help channel #โ๏ฝhow-to-get-help
i did in webdevelopment
no one is helping that's why i asked here
@olive hedge it's fine if u don't want to help me as ur busy right now
thanks for trying
"it rubs the lotion on his skin, or it get's the hose again" ๐
So good
You're listening to the official audio for Iron Butterfly's "In-A-Gadda-Da-Vida" from the album of the same name (1968). his epic 17 minute long version of In-A-Gadda-Da-Vida is considered one of the greatest hard rock songs of all time.
Subscribe to the Rhino Channel!ย https://Rhino.lnk.to/YouTubeSubID
Check Out Our Favorite Playlists:
Classic...
17 min song ๐
@ KJ
are you proud of me
I GOT THE GITHUB WORKFLOW TO WORK
I KNOW STUFF NOW
thank you sensei
Niiiiiiiiiiiiiiccccccccccccccccccccccccccccccccce
good work young padawan
@severe pulsar how to make this? ๐ฅบ
one of my favourite mascots
That looks like most devs mood
deno is awesome

People keep talking about Deno but I don't know what it is
node rewrite
js runtime
Ohhhh right right right
now I've heard there's something even newer than deno ๐ค
really?
lemme find it
yoooo, ima look into this shit
ok, not a js runtime
but even more
https://nestjs.com/
NestJS is a framework for building efficient, scalable Node.js web applications. It uses modern JavaScript, is built with TypeScript and combines elements of OOP (Object Oriented Progamming), FP (Functional Programming), and FRP (Functional Reactive Programming).
also in deno, imports come from urls
for de-centralization(they dont want to use registries like npm)
react became less complicated
after hooks came in play
oh yeah
True
react hooks are really nice
did u work on your game on the weekend, hemlock?
Nah, too much going on
But at least we decided on the framework I'm going to look into last week
Pixi
deno successful install looks like an error
โ ~ curl -fsSL https://deno.land/x/install/install.sh | sh
######################################################################## 100.0%
Archive: /home/james/.deno/bin/deno.zip
inflating: /home/james/.deno/bin/deno
Deno was installed successfully to /home/james/.deno/bin/deno
Manually add the directory to your $HOME/.bash_profile (or similar)
export DENO_INSTALL="/home/james/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
Run '/home/james/.deno/bin/deno --help' to get started
you need node to run nestjs
nestjs is a backend http framework
Gotcha okay
nestjs is to backend like angular is to frontend
does anyone know how to choose a certain amount of lines from a txt. so say you define a variable with the txt in, the ask the user for how many lines from that txt they want to print out
Oh cool
https://www.pixijs.com/
this ?
I'd say you load the file as a list of lines then just slice up to the number you want
Yep, that's the one, Acc
oh my god
Jake "don't like" functional programming ๐
import random
lines = open('countries.txt').read().splitlines()
myline = random.choice(lines)
print(myline)
i have that
open('countries.txt').readlines() gives you a list of lines
so you can use that instead
and you wanted to get user input yes?
Does that leave the file object open?
yeah i think so
what's this on that site ?
yes so i want to ask the user for how many countries they want to print out then print that amount out in a random order
Then I'd suggest:
with open('countries.txt') as file:
lines = file.readlines()
You can use random.choices() in that case.
Used to be?
I thought it was specifically a like section of lines
random.choices(3) ?
Rather than a smattering

e.g
Adding onto this...
I think file.readlines() leaves in the \n at the end of every line string in the list, so:
with open('countries.txt') as file:
lines = [line.strip() for line in file.readlines()]
unless you want to keep the \ns
https://react-bootstrap.github.io/components/forms/
oh my god, how much can you write on just Forms ๐ฉ
the page just doesn't end ๐ฉ
i'm pretty new to python so i'm not the best haha
@bot.command()
async def purge_messages(ctx: Context) -> None:
"""Deletes messages that contain words in the banned words list."""
if ctx.author.id not in allowed_user:
return
total_messages = 0
deleted_messages = 0
await ctx.send("Purging messages...")
for channel in channels:
channel_obj = await bot.fetch_channel(channel)
await ctx.send(f"Deleting messages in <#{channel}>")
async for message in channel_obj.history(limit=None):
total_messages += 1
for word in words:
if word.lower() in message.content.lower().split():
await message.delete()
print(f"deleted {message.content}")
deleted_messages += 1
await ctx.send(
f"{deleted_messages}/{total_messages} messages were deleted due to breaching our banned word list.")
this is the definition of it's shit but it works
as long as it works ๐คทโโ๏ธ
It's just a script that will be run once so it doesn't really matter
random_group = random.sample(lines, user_number_here)
I derped
So sample is the one you'd want
I don't know why I keep forgetting sample exists
Happy to help! Let us know if you get stuck or need something clarified
appreciated!
wait typescript is good
its fun to code in
(in my opinion at least)
yeah very thick lol
why does it takes so much time to install modules using npm
but they install significantly faster using yarn ๐คทโโ๏ธ
Skyrim's so nice ๐
I've played it so many times now ๐
my friend's building a new package manager for node packages over at https://github.com/voltpkg/volt
144Hz is soooooooooo much better than 60, I honestly dont think i can ever go back
one more coming out ๐
if there comes out a pkm
that let's me delete my unused node modules at the end easily
I'll support it forever
Are you a JS developer with a full hard drive? Learn a powerful command ๐ฅ to analyze and delete all your "node modules" folders quickly.
#js #webdev #shorts
Official docs https://npkill.js.org/
fireship has you covered @wise glade
yeah, tha's not easy ๐ฅฒ
wait it is
like, I have to know, which one's are not in use
oh
I could accidentally delete a used one
It wasn't exactly my finest hour, but it does go to prove that anyone can be scammed if the circumstances are exactly right. There were a few unfortunate incidents just prior to this phishing email and I explain how I was convinced to delete my own YouTube channel.
Thank you so much for your continued support through all of this.
If you can po...
hi : )
21 minutes, Iโll have to queue it up
the last 10 mintues is him trying to get information out of the scammer
like who is he why is he doing this
thank you @rugged root I've manages to finish it :))
Awesome!
import random
from prettytable import PrettyTable
question = int(input("How many countries would you like to print?: "))
lines = open('countries.txt').read().splitlines()
random_group = random.sample(lines, question)
x = PrettyTable()
x.field_names = ["Country/Countries generated"]
x.add_row([random_group])
print(x)
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
It's hit and miss

<div class="background_image" style="background-image: {% static 'url(images/travello.jpg)' %}"
where to apply static here
it throwing me error
my images are loading but for this one i don't understand where to put
my vscode giving me error
@cython.cclass
class _Flags:
"""The base for all bitfield wrappers.
Supports many"""
value = cython.declare(cython.int, visibility='readonly')
def __init__(self, value: cython.int) -> None:
self.value = value
def __eq__(self, other) -> bool:
return isinstance(other, self.__class__) and self.value == other.value
def __ne__(self, other) -> bool:
return isinstance(other, self.__class__) and self.value != other.value
def __int__(self):
return self.value
def __float__(self):
return float(self.value)
def __hash__(self) -> int:
return hash(self.value)
def __and__(self, other):
if not isinstance(other, self.__class__):
return NotImplemented
return self.__class__(self.value & other.value)
def __iand__(self, other):
if not isinstance(other, self.__class__):
return NotImplemented
self.value &= other.value
return self
def __xor__(self, other):
if not isinstance(other, self.__class__):
return NotImplemented
return self.__class__(self.value ^ other.value)
def __ixor__(self, other):
if not isinstance(other, self.__class__):
return NotImplemented
self.value ^= other.value
return Self
def __or__(self, other):
if not isinstance(other, self.__class__):
return NotImplemented
return self.__class__(self.value | other.value)
def __ior__(self, other):
if not isinstance(other, self.__class__):
return NotImplemented
self.value |= other.value
return self
def __invert__(self):
return self.__class__(~self.value)
Dear God help

!ban @olive hedge
why don't u try
Damn :/
?
please give screen share
permission
@rugged root
!stream 699843694890713139
โ @normal hinge can now stream until <t:1627921726:f>.
thanks
The Hardware Compatibility Catalogue for your hardware and operating systems - Ubuntu and other Linuxes, Hackintosh, Windows. Check if your hardware is compatible or share your experience.
Oh dope
||2 August 2021 17:28||
wait
thats not
||<t:1627921685>||
this the real one
<t:1627921685:d>
well i am going to sleep my offline school started from today, bye!
Hello
@zenith radish preps been around for a while but yeah its really cool
theres also pep which is taken post exposure
while prep is pre exposure
pep has to start within 72 hours of the encounter though
i got scared after being with someone and took pep for a month a long time ago
yeah

โค๏ธ
it gave me a panic attack ( didnt know about pep ) went to get tested and the guy gave me pep
i was so relieved
did you say butthole surfers? @rugged root
or did i mishear you

i was certain i misheard that
@molten pewter how did the guy figure out he could just get it from animals
thats pretty interesting
i think vegans care about the animals suffering rather then if its techancily an animal
@rugged root
i know some vegans who dont care about eating certain shellfish because they say those animals dont feel pain or something
i cant remember i think it was oysters
lmao what
that completely breaks down the argument
"I'm going to murder a brain-dead person because they cannot feel pain!"
why would that break down ?
alot of people take there loved ones off of life support
Frederick Banting
its less about eating more about causing harm.
NEVERMIND
not an accurate analogy









