#voice-chat-text-0
1 messages ยท Page 902 of 1
psudo but i can send you the java code
vague
:3
cool
brb
speak
bro
@uneven yarrow wassupp
:(((
restart your discord and remove it from the task manager @tight pewter
vc one works but not vc 0
its so weird
nepal, and vietnam lol
yeah
they are
no lmaoo
yeah we can drive to nepal
you are lucky
you dont have to wear masks
@stoic grail @uneven yarrow join #799641437645701151
lol
Ok
@uneven yarrow i thought isreal is 100% vaccinated
oh yeee
sorry i forgot
wait
afk
have to give a presentation in my class
lmao
hello world
lol
real languges?
i just know the basics of py
python
i am looking for a good resorces to learn of
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Thanks
so
what have you learned of program languages
which one is the best for you?
i really want to work to phone apps
i have'nt try java
what the diffrent between java and javascript
i thought it was the same with some changes
php is also for gui right?
so java is for programs gui
bye!
CAN YOU HEAR ME?
hi
Hello.
buildozer
@snow pecan https://discord.gg/DaevgFNV
wot is dis?
thnx
oki
Which languages do you know?
Python, HTML, CSS and Java
What's your age? (yes iam weird)
15
yes I am
okay cool "Hecker" (its beluga if u know)
I know beluga :).
I too know him
Nice
@snow pecan I know javascript and i'm learnin Python :). I'm 13.
cool bro ! ๐
wOoh Nice
:).
where r u frm
I asked that to him before that's why i told him mine so i'm not like flexing or somthing ๐
From where you are from , india
same as U
Python, {HTML, JS, CSS, SCSS}...
greatt
Why js,html etc in a bracket?
Oh
Bearlied.
THX...
cool!
\uFEFF
and mee too
@wind raptor yea dude
@wind raptor gimme a sec
@wind raptor i can't
@wind raptor yes yes true
@wind raptorbery srry dude i can't talking
@rugged root is it fine to play chess on vc
Yes so long as it's not disruptive to any ongoing conversations.
alright thanks!
@west nymph So I misunderstood what you meant when you asked about playing chess in VC
hmmm
I was under the impression you meant like you were going to play with someone on like lichess.org
Rather than it taking up the channel itself
For stuff like that it'd be better for that to be done via DM or something else
It's out of scope for us
Yep
thank you!
yeah
i did.
what did reapers say
cant hear you lol
I CANT HEAR ANYONE
AHHH
I CANT BEAR THIS
now i can hear
yeah ik
le chess?
!e
import base64
print(base64.b64decode("VGhpcyBpcyBpbnNlY2N0Lg=="))
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
b'This is insecct.'
noice
oh ๐ฎ
le froge
okay
THATS AWESOME
lol
el chapo
ok soz
el frogez
never watched ncis
!eval [code]
Can also use: e
*Run Python code and get the results.
This command supports multiple lines of code, including code wrapped inside a formatted code
block. Code can be re-evaluated by editing the original message within 10 seconds and
clicking the reaction that subsequently appears.
We've done our best to make this sandboxed, but do let us know if you manage to find an
issue with it!*
@sharp ivy :white_check_mark: Your eval job has completed with return code 0.
test
It's about recursion
Specifically how it's generalized into the construction/destruction of structures
It's in-between
bye lol
One such example of how it generalizes recursion is with the fibonacci sequence
ASTs too actually
Abstract Syntax Trees
Besides that, I'm just listening to music
Good evening everyone, unfortunately, the Symphonic stream will be canceled to next week. Instead, we will be having light/relaxing orchestra/classical tonight. Enjoy your Sunday!
Video thumbnail Illustration by 'REDUM':
https://twitter.com/REDUM4/status/1084075146690711552
โ
'REDUM':
Twitter: https://twitter.com/REDUM4
Track list: (A: from ...
Makes for good work music
!e
import base64
print(base64.b64decode("YHQG-Q.toegR5XHmGVtnWpmDXFtKHgb6HQODMxMDg1ODA3NDcyMjE0MDQ3."))
@boreal ore :white_check_mark: Your eval job has completed with return code 0.
b'`t\x06B\xda\x1e\x81\x1eW\x1ea\x95\xb6u\xa9\x985\xc5\xb4\xa1\xe0o\xa1\xd0831085807472214047'
wow
Honestly still doesn't sink in that I'm in college already
!e
import base64
print(str(base64.b64decode("YHQG-Q.toegR5XHmGVtnWpmDXFtKHgb6HQODMxMDg1ODA3NDcyMjE0MDQ3.")))
@boreal ore :white_check_mark: Your eval job has completed with return code 0.
b'`t\x06B\xda\x1e\x81\x1eW\x1ea\x95\xb6u\xa9\x985\xc5\xb4\xa1\xe0o\xa1\xd0831085807472214047'
Pandemic time frame is fucked
.decode() with the encoding used
!e
import base64
print(base64.b64decode("YHQG-Q.toegR5XHmGVtnWpmDXFtKHgb6HQODMxMDg1ODA3NDcyMjE0MDQ3.").decode())
@boreal ore :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 3, in <module>
003 | UnicodeDecodeError: 'utf-8' codec can't decode byte 0xda in position 4: invalid continuation byte
hmm i don't rember the bytes
and encoding
!e
import base64
print(base64.b64decode("YHQG-Q.toegR5XHmGVtnWpmDXFtKHgb6HQODMxMDg1ODA3NDcyMjE0MDQ3.").encode())
@boreal ore :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 3, in <module>
003 | AttributeError: 'bytes' object has no attribute 'encode'
!e
import base64
print(base64.b64encode("YHQG-Q.toegR5XHmGVtnWpmDXFtKHgb6HQODMxMDg1ODA3NDcyMjE0MDQ3.").decode())
@boreal ore :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 3, in <module>
003 | File "/usr/local/lib/python3.9/base64.py", line 58, in b64encode
004 | encoded = binascii.b2a_base64(s, newline=False)
005 | TypeError: a bytes-like object is required, not 'str'
!e
import base64
print(base64.b64encode(b"YHQG-Q.toegR5XHmGVtnWpmDXFtKHgb6HQODMxMDg1ODA3NDcyMjE0MDQ3.").decode())
@boreal ore :white_check_mark: Your eval job has completed with return code 0.
WUhRRy1RLnRvZWdSNVhIbUdWdG5XcG1EWEZ0S0hnYjZIUU9ETXhNRGcxT0RBM05EY3lNakUwTURRMy4=
Server-specific icons I think
@regal raptordo it in chat he'll read
๐
My view today for working
I shall now try to implement said paper
The IT guy I'm on the phone with sounds a lot like Lemon
I suppose I could stream it as well but ehh
Very calming voice
speaking about voice huge fan of the pep8 song
!pep8
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
โข PEP 8 document
โข Our PEP 8 song! :notes:
What is Python Discord?
We're a large Discord community focused around the Python programming language. We believe anyone can learn to code, and are very dedicated to helping novice developers take their first steps into the world of programming. We also attract a lot of expert developers who are seeking friendships, collaborators, and who wish...
Xxrazorface27xX is it weird i had a friend with this exact name in league of legends?
guys i have Question, who can help me?
I wrote a discord bot, but it all gives a line error. Thank you for your help
Please provide a full traceback to your exception in order for us to identify your issue.
A full traceback could look like:
Traceback (most recent call last):
File "tiny", line 3, in
do_something()
File "tiny", line 2, in do_something
a = 6 / 0
ZeroDivisionError: integer division or modulo by zero
The best way to read your traceback is bottom to top.
โข Identify the exception raised (e.g. ZeroDivisionError)
โข Make note of the line number, and navigate there in your program.
โข Try to understand why the error occurred.
To read more about exceptions and errors, please refer to the PyDis Wiki or the official Python tutorial.
Listen to Lemonsaurus | SoundCloud is an audio platform that lets you listen to what you love and share the sounds you create.
Send all the code or where it gives an error ???
@wind raptor
also here
and there'll be more on my youtube in the near future, so feel free to sub.
Just what the error is for now
if "responding" not in db.keys():
Says this wrong line
!traceback
Please provide a full traceback to your exception in order for us to identify your issue.
A full traceback could look like:
Traceback (most recent call last):
File "tiny", line 3, in
do_something()
File "tiny", line 2, in do_something
a = 6 / 0
ZeroDivisionError: integer division or modulo by zero
The best way to read your traceback is bottom to top.
โข Identify the exception raised (e.g. ZeroDivisionError)
โข Make note of the line number, and navigate there in your program.
โข Try to understand why the error occurred.
To read more about exceptions and errors, please refer to the PyDis Wiki or the official Python tutorial.
I need that
My English is not very good, can you tell me how to get this in Visual Studio ???
@hollow haven https://pubmed.ncbi.nlm.nih.gov/22941539/
Adsorption free energies for eight host-guest peptides (TGTG-X-GTGT, with X = N, D, G, K, F, T, W, and V) on two different silica surfaces [quartz (100) and silica glass] were calculated using umbrella sampling and replica exchange molecular dynamics and compared with experimental values determined โฆ
@rugged root
Post the like block of code. Maybe 5 lines above to 5 lines below the one you posted
if "responding" not in db.keys():
db["responding"] = True
def get_quote():
response = requests.get("https://zenquotes.io/api/random")
json_data = json.loads(response.text)
quote = json_data[0]["q"] + " -" + json_data[0]["a"]
return(quote)
If i start web application on my computer , i start the server?
@rugged rootWhat happened, brother, can you help ??
Patience. I'm bouncing between here and work
Ok, I'm waiting, but please help
did you post the full traceback?
copy/paste the full error you get when you run the code please
ok
we probably need to see the code before the if "responding" line
Can confirm
Took me weeks-ish to transition from Neovim to Emacs
So I'm almost a year in Emacs
Come on
your screenshot is too low quality
@hollow haven https://www.sciencedirect.com/science/article/abs/pii/S0040609096093352 possibly?
so NoneType object has no attribute 'keys'
and it's pointing to db being NoneType i believe
Brother, tell me what should I do ???
I did this before but I did not get the answer
ok be patient and give me/us time please. no guarantee i'll solve your issue
thanx a lot
Excuse me, can I ask where you are from ???
uh so i'm reading this
Silly cone dye ox side.
Excuse me, your name is Iranian and I thought you were Iranian
no lol i am not persian nor iranian, i get asked this every day lmao
We don't fuck around when it comes to helping people
have you been able to follow and run the previous steps of this tutorial successfully?
I am Iranian
Yes
Hi people!
from replit import db
db["my-var"] = input("Click that check mark!")
print(db["my-var"])
``` - https://replit.com/talk/ask/How-does-from-replit-import-db-work/80187
from replit import db
``` @tiny socket ?
Is it just a dictionary?
o- o friends from highschool just called me after nothing for 5 years lmao
it was saying dbis a NoneType
@vivid palm Could you do something ??
@oak lavadid you try running this code on repl.it
yeah i think this tutorial is meant to be used on repl.it......
Are trumpet lessons called tootorials?
you can't as far as i can tell
It depends on what you want

@vivid palm so i cant run it in vs code?
you should join the voice chat bc people smarter than me are talking about whether it is possible or not
I dont have a voice roll@vivid palm
Ok
@oak lavaIt looks like you need an instance of a replit DB set up. You can get a replit_db_url. Then you can make a web request to that url with your key/value pair.
This tutorial seems it is meant to be used inside of replit so you can skip these steps. I would be hesitant to run this locally in VsCode as it complicates things
@olive hedge I mean, I have to find a database that contains it replit??
Im looking into it a bit, their docs are horrendous
Yes u can here you
It's not better when written as actual code
emacs i guess
My theme is really just flat black and white
@olive hedge I just learned Python and told him to go to YouTube to watch a video about BotDecord, and this caught my eye.
This is not the terminal version though
I don't like fancy mode bars
so u did screenshot the tui one
Top's the GUI
Transparency doesn't play well in the terminal
why?
Besides, I'm not a huge trasparency fan anyways
same, but ur thing is transparent
anyways, do u use evil mode or just normal emacs kb?
Another tool in your toolbelt ๐
eeh, i haven't had any trouble with evil
if you really want to use replit locally, you can use this code in replit:
from os import environ
print(environ.get("REPLIT_DB_URL"))
This will give you the url to your database (it is secret, so do not share it)
then you can use this code to manipulate your db:
from replit import Database
db = Database(<your_url_from_last_step_here>)
db["test"] = 1
print(db["test"])
works in my mu4e, works in my erc, works in all dired, works in vterm
Those are not the only modes I use though
what's a problematic one for u?
Haskell Mode is one
Recursion
Like a way to generalize recursive data structures
Something veey different
It's difficult to explain, I'm still trying to get a grasp of it myself
i'm pretty sure it's editable
pretty sure
sec
yeah, it changes
why not host the file urself?
you can make a test.json file in any directory, then cd in that directory, and do python -m http.server
then use ngrok to open a tunnel to the server
The raw link does change for each commit, because the commit is identified by a sort of hash
but gists ... same reason
Hello
This was a pain to write
With enough motivation maybe I'll even make it properly tail recursive
@olive hedge thaks a lottttt
@regal raptor you're deafened, you know.
@supple maple sorry for asking, but are you new to this Discord and don't know why you are muted?
sup
Check the output that the Python bot shown below, @pseudo pond.
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
:incoming_envelope: :ok_hand: applied mute to @pseudo pond until <t:1632240046:f> (9 minutes and 59 seconds) (reason: burst rule: sent 8 messages in 10s).
@pseudo pond If you look at the #voice-verification channel, you'll see that there's a rule stating that you cannot get voice verified via spamming. If you attempt this again, it'll take even longer for you to get verified. Typically we add 2 weeks to the amount of times it takes to get verified
I'm going to let this mute sit.
Oh no, never mind, one of our mods already added the 2 week penalty
So
Yeah
i need to reload discord I cant see Katie in the vc
I wish I knew why that started happening
oh it was a bunch of people not just katie
Yo!
template = """if{0}(condition){1}{{\n\tcontent();\n}}"""
for a in ('',' ','\n'):
for b in ('', ' '):
print(template.format(b, a))
print()
anyone here tired to run multiple monitors on with ubuntu?
so I got a 2nd monitor
and
it works fine on windows
but shit happens in ubuntu
!docs enumerate
enumerate(iterable, start=0)```
Return an enumerate object. *iterable* must be a sequence, an [iterator](https://docs.python.org/3.10/glossary.html#term-iterator), or some other object which supports iteration. The [`__next__()`](https://docs.python.org/3.10/library/stdtypes.html#iterator.__next__ "iterator.__next__") method of the iterator returned by [`enumerate()`](https://docs.python.org/3.10/library/functions.html#enumerate "enumerate") returns a tuple containing a count (from *start* which defaults to 0) and the values obtained from iterating over *iterable*.
```py
>>> seasons = ['Spring', 'Summer', 'Fall', 'Winter']
>>> list(enumerate(seasons))
[(0, 'Spring'), (1, 'Summer'), (2, 'Fall'), (3, 'Winter')]
>>> list(enumerate(seasons, start=1))
[(1, 'Spring'), (2, 'Summer'), (3, 'Fall'), (4, 'Winter')]
``` Equivalent to...
it does not detect the 2nd one and also can't change settings for the working one
basically the display tab in settings seems broken
!e
spam = [1, 2, 3]
ham = enumerate(spam)
print(ham)
@rugged root :white_check_mark: Your eval job has completed with return code 0.
<enumerate object at 0x7f7c34e8a3c0>
>>> for i in enumerate(i*i+i for i in range(10)):
print(i)
(0, 0)
(1, 2)
(2, 6)
(3, 12)
(4, 20)
(5, 30)
(6, 42)
(7, 56)
(8, 72)
(9, 90)
?
What about my beast? ๐
Oh right 
ur just beast lmao haha
Well I got it wrong, it seems.
Oh right ๐
LX is one of the best, hands down
Doesn't take much
ye :/
LP: "Are you ready for f***?"
howdy~
from bot.exts.fun.fun import Fun
sys.path
thats cause im not speaking?
I love that
I swear, social studies is so goddamn boring
what grade
10th
oh
idk because im not in 10th grade
but im in 8th and i can confidently say that social studies is NOT boring for me
Each chapter takes 5-7 pages of writing, and the topics aren't even interesting, on top of that I procrastinate to do it, pilling up my work
to be fair 5-7 pages is not that much
for 1 chapter
Well it feels like a lot because i don't actually like doing it
well i can easily write 5-7 pages in a day
an hour or 2 if no procrastination
but thats impossible for me
deng. what are they teaching you in social studies that you need to write 5 - 7 pages
i love css animations
nothing?
its just that for long questions we have to write 2-3 pages answer and for short ones 1-2
so we just basically expand the question
iirc 5-7 pages a chapter for social studies in 10th is ez
# Installation location of Python on windows
install_dir = INSTALLED_PYTHON_DIRECTORY
# <userdir>\AppData\Roaming
env_AppData = os.environ['APPDATA']
'' # current directory
'{install_dir}\\Lib\\idlelib'
'{install_dir}\\python39.zip'
'{install_dir}\\DLLs'
'{install_dir}\\lib'
'{install_dir}'
'{env_AppData}\\Python\\Python39\\site-packages'
'{env_AppData}\\Python\\Python39\\site-packages\\win32'
'{env_AppData}\\Python\\Python39\\site-packages\\win32\\lib'
'{env_AppData}\\Python\\Python39\\site-packages\\Pythonwin'
'{install_dir}\\lib\\site-packages'
Depends on the chapter, rn I m just starting
oh ok
tropical climate in the world and factors affecting climate
also i wont advise you on procrastination because a different thing works for every different person
the thing is
if i start procrastinating its gonna pile up so fast, that's why I was 6 chapters behind
right now I am on the last one
sheesh
ik
in my book?
80
!docs pathlib
New in version 3.4.
Source code: Lib/pathlib.py
This module offers classes representing filesystem paths with semantics appropriate for different operating systems. Path classes are divided between pure paths, which provide purely computational operations without I/O, and concrete paths, which inherit from pure paths but also provide I/O operations.
If youโve never used this module before or just arenโt sure which class is right for your task, Path is most likely what you need. It instantiates a concrete path for the platform the code is running on.
Pure paths are useful in some special cases; for example:
ok i understand you and i apologize for whatever i told you earlier
xd
among the 80 chapters, only 11 of them are hard, others are just memorizing dates and just understanding the questions.
AMONG
in 9th grade social took 3 copies i think
maybe 4
im on my first one
less than halfway through
my second one is about to finish
@rugged root
https://python-poetry.org/
And another fantastic library from the same folks:
https://pendulum.eustace.io/
Python datetimes made easy
anyway this was fun, gotta get back to work.
Cya @cobalt magnet
Introduction Poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.
System requirements Poetry requires Python 2.7 or 3.5+. It is multi-platform and the goal is to make it work equally well on Windows, Linux and OSX.
Note...
Is poetry better than Pipenv?
Poetry tends to build a bit faster.
They tend to do what AMD and Intel do. One surges in front of the other then the other surges, etc.
Currently Poetry is better, in my opinion
Creating virtualenv test-proj-_d5wk9gn-py3.9 in /home/ivche/.cache/pypoetry/virtualenvs
ModuleNotFoundError
No module named 'virtualenv.activation.nushell'
at <frozen importlib._bootstrap>:984 in _find_and_load_unlocked
ivche:test-proj/ $ [18:56:54]
install is for installing the project
Commands Youโve already learned how to use the command-line interface to do some things. This chapter documents all the available commands.
To get help from the command-line, simply call poetry to see the complete list of commands, then --help combined with any of those can give you more information.
Global options --verbose (-v|vv|vvv): Increa...
this but just --dev or -D
i said hangul lol
i don't publish my stuff to pypi but i would assume yes till its included in your setup py
although ppl on windows would have a hard time installing it cuz need msvc compiler or mingw one (or use WSL 2)
both of which aren't something that comes preinstalled
-.-" i heard that
Fair. Can you distribute a precompiled version?
You already have to do that for some packages
NumPy for example
hello everyone I am Samarth you can call me Sam. I am a beginner at coding so please you guys help me with it?
What all are you needing help with?
turbotax? Doesn't take me that much time to click through all the buttons
Physician reviewed charcoal patient information - includes charcoal description, dosage and directions.
As platform-specific wheels, yes
Jukin Media Verified (Original)
- For licensing / permission to use: Contact - licensing(at)jukinmediadotcom
Annual race between brushcutter and scythe - honours go to the first to cut a stand of grass. This is the British Scythe Champion against an experienced agricultural worker with a three-tine brushcutter, working flat-out. Held at the An...
Thanks to ExpressVPN for sponsoring this video. Get 3 months free with a 12-month plan at https://expressvpn.com/smarter
Click here if you're interested in subscribing: http://bit.ly/Subscribe2SED
โ Links to buy the winning weedeater line โ
GET SMARTER SECTION
Whatโs it called? Weed Eater, String Trimmer...
The extension is compiled when the package is built, right? So, you don't have to compile when installing [with pip]?
If a wheel isn't available for your system you'll be building it yourself
A kusarigama (Japanese: ้้, lit. "chain-sickle") is a traditional Japanese weapon that consists of a kama (the Japanese equivalent of a sickle or billhook) on a kusari-fundo โ a type of metal chain (kusari) with a heavy iron weight (fundo) at the end. The kusarigama is said to have been developed during the Muromachi period. The art of handling ...
brb
brb
Hey @slate viper!
Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:
โข If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)
โข If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:
EditorConfig is a file format and collection of text editor plugins for maintaining consistent coding styles between different editors and IDEs.
x, n = f(x), n-1
(x, n) = (f(x), n-1)
x, n = f(x), n-1
i read
(x) , (n = f(x)) , (n-1)
a = b = 3
>>> def foo(): return 1
...
>>> a = 0
>>> a += (b := foo())
>>> a, b
(1, 1)
>>> a += (b := foo() * 2)
>>> a, b
(3, 2)
!stream 482417717362556928
โ @slate viper can now stream until <t:1632250701:f>.
wait 1 sec
No worries
no even without streaming it will happen
download and install from here and during installation when it asks what extra stuff you wanna include make sure too check connector/python
"Zoom to Buy Five9 in All-Stock Deal Valued at $14.7 Billion"
send it to me let me try
^^
I need to run specific function letโs say โxโ that does x and has two arguments (y,z)
How can I run most easily from terminal or CLI ?
Example : foo.py x(y,z)
Or something like that
you could use something like argparse to make a CLI. i'd recommend instead of writing the syntax like a function call, just space separate them, (py foo.py x y z), as this would make it much easier for you to parse
Shall I use it rather than sys.argv ?
it just has more features and makes some things easier, it doesn't have anything you couldn't do with only sys.argv
I see, thank you a lot ๐
start-up interpreter (LLInt), baseline JIT, a low-latency optimizing JIT (DFG), and a high-throughput optimizing JIT (FTL).
Thatโs the app
.uwu
Vietnam is a Southeast Asian country known for its beaches, rivers, Buddhist pagodas and bustling cities. Hanoi, the capital, pays homage to the nationโs iconic Communist-era leader, Ho Chi Minh, via a huge marble mausoleum. Ho Chi Minh City (formerly Saigon) has French colonial landmarks, plus Vietnamese War history museums and the Cแปง Chi tunnels, used by Viet Cong soldiers.
Vietnam is a Soudeast Asian countwy known fow its beaches, wivews, Buddhist pagodas and bustwing cities. Hanoi, de capitaw, pays homage to de nationโs iconic Communist-ewa weadew, Ho Chi Minh, via a huge mawbwe mausoweum. Ho Chi Minh City (fowmewwy Saigon) has Fwench cowoniaw wandmawks, pwus Vietnamese Waw histowy museums and de Cแปง Chi tunnews, used by Viet Cong sowdiews.
tried poetry run lint?
pre-commit run --all-files
Managing environments Poetry makes project environment isolation one of its core features.
What this means is that it will always work isolated from your global Python installation. To achieve this, it will first check if itโs currently running inside a virtual environment. If it is, it will use it directly without creating a new one. But if itโ...
henlo
no mic because no mic exists that is comfortable
@zenith radish which PR?
I mean issue
give
oh my god it's this one
yes approved
done
LX's comment is just
it's a beauty
we should have a hall of fame for github stuff
we can
I can manual duck rn
add to duck pond
hem do I have your approval to make a hall of fame in the org notion thingy
for github related stuff
I asked joe as well because I wouldn't be sure where to put it
he's younger than both of us lmao
it's crazy
shut
you are smort
that's not a question, this is a threat. you are smart.
@zenith radish did you install the precommit hook?
py -m pip install pre-commit then pre-commit install
the second one only when you're in a repo with a file called .pre-commit-config.yaml
@tiny socket henlo
h
h
h
alright cya
hi
ty zoge
are not you zoge?
nope ๐
where ur country?
oww
try use D.. i wanna hear that XD
that's sounds like du ge
XD
zoge
zoo ge
ye
hello @regal raptor
print(bool(True))
@wintry pier
@regal raptor
<@&831776746206265384>
.
?
<@&267628507062992896>
owner with us
here..
okay. @wintry pier let's hear it then. why are you being a dick to one of my community members?
you choice his side
big o natation @lucid jolt
I don't have whatever voice context there might be
that's why I'm asking
why are you saying he's "starting fights" and "crying"
because that sounds a lot like the kind of language I don't want in here.
in voice
I can't DM u @regal raptor
you sure?
why??
I'm not happy with any of these answers
why did you ping admins?
i tagged mods cause u was talking shit about me bro..
chill
you know what?
just drop it i dont care
whats going on here?
hhhhhhhhhhhhhh
!shhhhh
โ silenced current channel for 10 minute(s).
okay
this is juvenile and we don't do this shit here. Behave like adults if you wanna be in this community.
!tempmute @wintry pier 3d participating in juvenile fights with other users in voice chat
:incoming_envelope: :ok_hand: applied mute to @wintry pier until <t:1632524368:f> (2 days and 23 hours).
!tempmute @regal raptor 12H participating in a juvenile fight with another user in voice chat - was probably provoked, though.
:incoming_envelope: :ok_hand: applied mute to @regal raptor until <t:1632308450:f> (11 hours and 59 minutes).
I'm making your mute shorter, because you seem like the less guilty party
but please don't do this shit again.
!unsilence
โ unsilenced current channel.
Doge, do you genuinely think it's a good idea to continue the harassment?
@leaden comet I appreciate you fielding this, I only got home a bit ago
It jitters whenever I talk in VC
@leaden comet i dont know what happen , i just joined the voice chat , but i was just talking normally with @regal raptor
for me it fine to unmute @regal raptor .. cause he doesn't say bad words :((
yeah, I don't have all the context but I didn't like the confrontational nature of the conversation those two users were having
we're not that kind of community
you're nice or you're out.
hola @wooden fiber
Im not gonna disturb you sirr
whaa
opal
how are you in the VC?
eee
lemme restart
i cant see your name
discord creators are sleepin
oki
class in 2 mins ๐ฆ
will join again
yes online
why u sound anrgy?
ohhh
im the only one in the VC ๐ฆ
and when i hover over your msgs
lol ty
..
@loud karma
@quaint moon
๐คจ
here's a challange for you @haughty pier
what this code will print :
x = [[1, 2]*2 + [5, 6]]*3
y=x
z=y[:]
x[2][3] = 7
y[2][3] = 5
z[2][3] = 3
y[1][2] = 9
z[2][4] = 7
print(x[0][2] + x[2][4]+ y[1][3])
with out doing print
lol
๐ shallow coppies are weird indeed
haha
its not easy
ik
its a question from exam year 2020
in the university im learning in
but its fun
i mean
if you read the first line properly
its ez
true
but you need to be focused
its not that easy to be honest
specialy from the start
like if you dont read it carefuly u will fail
]]*3 that part kinda makes it simple if you do read it carefully
I'll be on in a bit, just got to the office but have to do a quick run around to take care of some stuff
Here's my work:```
x = [[1, 2]*2 + [5, 6]]*3
x0 = [1,2,1,2,5,6]
x = [x0, x0, x0]
x[2][3] = 3
x0 = [1,2,1,3,5,6]
x[1][2] = 9
x0 = [1,2,9,3,5,6]
x[2][4] = 7
x0 = [1,2,9,3,7,6]
print(x[0][2] + x[2][4]+ x[1][3])
print(9 + 7 + 3)
Dr. OpenSUSE
๐
Python has a /=? Fancy
try:
y_mom /= air_friction_y
except ZeroDivisionError:
# Do what you need to do if this ends up happening
๐
Beware that dividing by values < 1 will positively multiply your lefthand.
>>> 0/0
Traceback (most recent call last):
File "<input>", line 1, in <module>
ZeroDivisionError: division by zero
i
just use raise instead
A very small wind resistance doesn't catapult an object forward at lightspeed.
So you'll probably want some kind of minimum value possible for the value you're dividing by.
Possibly 1.
lol just change it 'y_mom' lool
Maybe not. Depends on whatever formula is applicable.
y is it y mom i'm dying
l0l
y momentum
Someone has mic crackle.
1 import random
2
3 pygame.init()
4
5 WIDTH, HEIGHT = 1000, 1000
6 WIN = pygame.display.set_mode((WIDTH, HEIGHT))
7
8 HEIGHT = 20
9 clicked = False
10 clock = pygame.time.Clock()
11 x_mom = 0
12 y_mom = 0
13 gravity = 1
14 ground_friction = 0
15
16 ball = pygame.Rect(100, HEIGHT, 32, 32)
17
18
19 def ran_num(x, y):
20 return random.randint(x, y)
21
22
23 def RedrawWindow():
24 WIN.fill((0, 0, 0))
25 pygame.draw.rect(WIN, (255, 0, 0), ball)
26 pygame.display.update()
27
28
29 loop = True
30 while loop:
31 clock.tick(60)
32
33 ball.x += x_mom
34 ball.y += y_mom
35 air_friction_y = y_mom / 1
36
37 y_mom += gravity
38
39 for event in pygame.event.get():
40 if event.type == pygame.QUIT:
41 quit()
42
43 keys = pygame.key.get_pressed()
44
45 if keys[pygame.K_SPACE] and clicked is False:
46 clicked = True
47 ball.y = HEIGHT
48 ball.x = ran_num(0, 968)
49 elif not keys[pygame.K_SPACE]:
50 clicked = False
51
52 if ball.y >= 968:
53 y_mom -= 1
54 y_mom *= -1
55 print(y_mom)
56
57 if y_mom != 0:
58 if y_mom > 0:
59 y_mom /= air_friction_y
60 elif y_mom < 0:
61 y_mom /= air_friction_y
62
63 RedrawWindow()
Good evening
I found myself learning Nihongo again
Brushing up on hiragana because I forgot everything
-> we all have those days
What is the context of the counting
lol
hey
I'll be back
ok
my fans be screaming
Good evening once again
Tangential, but on the topic of containers https://blog.beardhatcode.be/2020/12/Declarative-Nixos-Containers.html
Everything you need to know about declarative containers in NixOS with a simple example to demonstrate logging in, mounting volumes and forwarding ports.
brb
!e py f = 145 print(f"{f = }") Nifty thing I picked up, today.
@somber heath :white_check_mark: Your eval job has completed with return code 0.
f = 145
Containers through systemd?
So... Containers as a Service?
Disservice as a Service
!e
f = '123'
print(f'{f = }')
@primal yacht :white_check_mark: Your eval job has completed with return code 0.
f = '123'
OwO it does repr()
I think
!e print(f"{12!r}")
@somber heath :white_check_mark: Your eval job has completed with return code 0.
12
Yeah. Just prefixes it with the variable name and a =.
Pretty useful when printing multiple variables
!e
class A:
def __repr__(self, /): return 'A()'
a = A()
print(f'{a = }')
@primal yacht :white_check_mark: Your eval job has completed with return code 0.
a = A()
OwO
@rugged root Does this server have channel for container orchestration?
Hmm
Explain?
Essentially - Where do I go to ask about Docker Compose / K8s?
Yeah, #tools-and-devops
๐
btw a bit late but when one of you said Authentication i heard Authentic Asian
The same is true for build tools: Nix is more efficient than Docker because Nix specifies a dependency graph while Docker specifies a linear sequence of build commands
Linearizing build steps is bad for parallelism and bad for caching
110
I adore /nix/store
The classic baseball comedy routine made famous by Bud Abbott and Lou Costello.
hello
๐
what are you doing?
You two are pretty good at that
Procrastinating at work
What're you up to?
Relearning Nihongo
preparing for my online class
And how's that going?
well here in israel most ppl got vaccinated
For rabies you mean?
ray beans
Spaceballs is a 1987 American space opera parody film co-written, produced and directed by Mel Brooks. It is primarily a parody of the original Star Wars trilogy, but also parodies other sci-fi films and popular franchises including Star Trek, Alien, The Wizard of Oz, 2001, and the Planet of the Apes. The film stars Bill Pullman, John Candy and ...
?
anyone?
nothing...
Well no, if you need help and it's like program structure or concepts, we can likely still help
Galaxy Quest is a 1999 American science fiction comedy film directed by Dean Parisot and written by David Howard and Robert Gordon. A parody of and homage to science-fiction films and series, especially Star Trek and its fandom, the film stars Tim Allen, Sigourney Weaver, Alan Rickman, Tony Shalhoub, Sam Rockwell and Daryl Mitchell. It depicts t...
Never hurts to ask
Ok, thank you. But I am learning python. If I have any questions I will ask.
Sounds great!
๐
What're you using to learn Python, if you don't mind me asking?
um
I am learning it from a youtube video
and many more places
I use repl it for the code
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Buy your custom domain or email for 10% off at http://Hover.com/wendover
Listen to Extremities at http://ExtremitiesPodcast.com
Buy a Wendover Productions t-shirt: https://standard.tv/collections/wendover-productions/products/wendover-productions-shirt
Subscribe to Half as Interesting (The other channel from Wendover Productions): https://www...
Interesting history lesson on Toyota
I made a robot drawing by using python turtle
Anyone else having user print issues after installing this update on a Windows Server 2016 Standard? We can send jobs to the spooler just fine from the server itself, but a user submitted job is just simply terminated. Problem started happening after installation. We've removed the update on 1 serve...
Came across this footage of some science guy rotating an owl about the place. Why? Does the owl give a hoot? Hah! Hoot. Did you see what I did there?
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
MrWeebl is a channel of fun and silliness, with songs and cartoons and even cartoon songs. Wow. Some call it random. It's not random....
See you around
Would make sense
Even the question success/fail sounds it seems
Save you on space if you don't end up continuing the lessons
Oh well
Hmm
Yeah I don't have an excuse for that one
@severe escarp If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know
half right is worse than wrong eh
I wanted to say couple of things about Bash and Powershell but I'm not allowed to speak... @rugged root
YEEE
I love Powershell and Bash and that what I was trying to configure these days. @crystal fox
Alternate Beast! I love that
Favourite game.
@rugged root I'm aspiring to get to IT. Linux preferably.
I love it, but you have to be willing to be patient with folks
It's just as much customer support as it is tech
Isn't that whats called existential crisis?
Yeah...
I work as a Healthcare Assistant so, I'm good with costumer service.
But I want to switch in I.T. @rugged root
Oh very cool. Yeah that's not a bad switch to do then
Do you have any knowledge in zshell? Tmux? Vim?
I'm trying to configure my .files.
And I'm failling.
We are not sadists!
Just being fast and efficient.
And that's fair
People do you have any idea how much time with experience and them tools, frameworks and libraries I can do the job of 2 full time SysAdmins!
Oh, lemon. Hi!!!
Yes!
Convenience and being fast! Mouse is when I'm relaxing and I just don't want to do something as fast as @@@...
I just like being spoiled by the conveniences of other editors and IDEs. Like PyCharm's GitHub integration is magical
I've never used it but I'm willing to have a look on that after your recommendation.
aukkkktoshan
I wanted to make a bot. Hence I'm here.
Yeah and I'm trying to set up my IDE and the development environment at the same time.
I have no idea from DevOps.
I'm trying to setup and ticketing system for my project as well.
Hence I came accross the .files of Tmux, Vim.
Like I want to swap Esc with Tab.
@rugged root you have SAP?
Noice. I loike it!
join vc1 for two min @woeful salmon
SReaperz
