#voice-chat-text-0
1 messages · Page 39 of 1
@whole bear :white_check_mark: Your 3.11 eval job has completed with return code 0.
3.100000000000000088817841970
@rugged root are you sure print is calling __str__ and not __format__?
(I'm not 100% sure)
!e ```python
from decimal import Decimal
ham = Decimal("1.0")
pork = Decimal("2.1")
print(pork + ham)```
@dusk raven :white_check_mark: Your 3.11 eval job has completed with return code 0.
3.1
!e ```py
from decimal import Decimal
ham = Decimal(1.0)
pork = Decimal(2.1)
print(ham)
print(pork)
print(pork + ham)
@whole bear :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 1
002 | 2.100000000000000088817841970012523233890533447265625
003 | 3.100000000000000088817841970
byee
yes, __str__:
converted to strings like str() does
thank you @lavish rover & @rugged root
Huh. I genuinely didn't realize there was a format() function
Only thought about the method
whereas f-strings do format
.
It's a macro
Wait this isn't the Rust server....
@stray niche bye

@rugged root your prayers have been answered https://www.youtube.com/watch?v=W0_Tt0En7v4
"What The Hail" Merch:
https://my-store-10147374.creator-spring.com
Guess I'm joining the tech review channels.
Beijing Corn is expanding.
#Comedy #Skit #Asian
Patreon:
https://www.patreon.com/stevenhe
Instagram:
https://www.Instagram.com/thestevenhe
@rugged root also https://www.youtube.com/watch?v=d8Z_5Agtsqg
Love your echo but concerned about the unchristian media content it could be encouraging in your life? Introducing Christian Alexa: The Believer's Alternative to the Amazon Echo!
It's dataclasses
Source code: Lib/dataclasses.py
This module provides a decorator and functions for automatically adding generated special methods such as __init__() and __repr__() to user-defined classes. It was originally described in PEP 557.
The member variables to use in these generated methods are defined using PEP 526 type annotations. For example, this code...
The module name is plural
Doggo
Yes?
Bro tha dog is so cute
return is a keyword
It's built in
woof
Thanks, I'm really proud of this selfie
What gave it away?
!e print(__import__('keyword').iskeyword('return'))
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
True
What exactly are you looking for, exactly?
I bought likealot of books today
Of Jeffrey Dahmer
Bro what. The hell are trying to do
How to get permission
To talk
Check out the #voice-verification channel. That'll tell you what you need to know about the voice gate system
Why can't you just do that?
!eval
from dataclasses import dataclass
@dataclass
class Player:
name: str
@dataclass
class Menu:
player: Player
menu=Menu(Player("Steve"))
print(menu.player.name)
@sweet lodge :white_check_mark: Your 3.11 eval job has completed with return code 0.
Steve
the target is Menu().name()===Menu().player.name or Menu().name===Menu().player.name?
digging into object structure may get worse
Hello, I could need some help with a façade pattern prog I am making. is there anyone experienced that can have a look at my code? need help asap 😦
im trying to make a menu class so i can make menus anywhere , inventory, main screen, shops
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
Have you shown us your code?
if those are different menus, then Menu is probably an abstract class not a dataclass
just the way most UI frameworks do this
Inventory and Pause menu are differents
Menu is the common functionality of both
do i have to import abstract
__name = str is wrong
annotations are done via __name: str
Source code: Lib/abc.py
This module provides the infrastructure for defining abstract base classes (ABCs) in Python, as outlined in PEP 3119; see the PEP for why this was added to Python. (See also PEP 3141 and the numbers module regarding a type hierarchy for numbers based on ABCs.)
The collections module has some concrete classes that derive from ABCs; these can, of course, be further derived. In addition, the collections.abc submodule has some ABCs that can be used to test whether a class or instance provides a particular interface, for example, if it is hashable or if it is a mapping.
This module provides the metaclass ABCMeta for defining ABCs and a helper class ABC to alternatively define ABCs through inheritance:
that is not the problem i belive:(
it is a problem
maybe not the, but a
so all anotations goes with : ?
yes
you never set .income to the instance of Car_loan
class C(ABC):
@abstractmethod
def my_abstract_method(self, arg1):
...
@classmethod
@abstractmethod
def my_abstract_classmethod(cls, arg2):
...
how ? 😮
income comes from the Customer that is customer1 = Customer .....
loan can't have income, customer can
you're asking a loan: what's your income?
customer1 = Customer("Johan", "Loch", 28, 55000, True, True, 112)
loan knows nothing about the customer
you didn't give the customer to it
you already did this in Customer, didn't you?
__init__
yes
pass customer to a loan the same way as you pass income to a customer
so if i was making a menu class i would make it abstract then make like a inventory class to then take in then menu class
is anyone need help?
yes
with?
does the bank have more than one customer?
for now no
Facade pattern
does bank.car_loan() have one customer?
maybe you should call bank.car_loan(customer1)
or
and what are you trying to make?
TypeError: 'Car_loan' object is not callable , and if it comes new customers i wil have to change the code
Back in a sec
@chilly holly
so, let's try this:
the thing you built is not a bank, it's a description of load conditions between a bank and a single customer
it is supposed to be a bank simulation so multiple customers can be used, and a design pattern
banks usually have multiple clients
ok im stupid idk how to fix that, you are trying to make subsystem?
Bank().loan() can't always return the same thing
thats true
current thing is closer to an account than to a bank
any admin that can open up voice for me? 🙂 i am in noob cooldown
rename Bank to Account
Account takes Customer as argument
and passes it both to Car_loan and Home_loan
hmm
whereas bank will do the following:
bank.homeloan(customer1) and bank.loan(customer1)
get Account to work first
class Account: # facade
def __init__(self, customer):
self.car_loan = Car_loan(customer)
self.home_loan = Home_loan(customer)
def homeloan(self):
self.home_loan.loan()
def loan(self):
self.car_loan.loan()
class Bank: # some other pattern
def homeloan(self, customer):
return Account(customer).homeloan()
def loan(self, customer):
return Account(customer).load()
I feel like this might not be an appropriate topic for this server 
i just gave it a shot an i cant get it right
Bye
I didn't see this message until now - I'm sorry
No worries
@terse needle
literally banned
Embrace Rust BTW!!
And not just because I can't figure out how to use Zig...
@lavish rover
float Vector3DotProduct(Vector3 v1, Vector3 v2) {
return v1.x * v2.x + v1.y * v2.y + v1.z * v2.z;
}
🤨
That hurts my brain
oc2 went full mad with RISC-V VM
crc and sha
The Gooble Gobble scene which although most memorable and fun, unfortunately ends ugly.
Animation by Fluid. End of Ze World
This was released on albinoblacksheep.com on October 30, 2003. It depicts how the world will end based on the current state of politics.
http://www.albinoblacksheep.com/flash/end
Ahhh Motherland.
But I'm le tired.
Fire ze missiles.
Canada is like what's going on, eh?
Mars is laughing at ...
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
@lunar haven You alive?
Oh just double checking
Making sure you were alive since you hadn't moved the mouse
Sorry
I'm out of it
Ah cool cool, no worries
block chains in powershellpoint
... is an expression, pass is a statement
!e print(...)
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
Ellipsis
!e print(pass)
@vocal basin :x: Your 3.11 eval job has completed with return code 1.
001 | File "<string>", line 1
002 | print(pass)
003 | ^^^^
004 | SyntaxError: invalid syntax
!stream 380636940078284800
✅ @teal jetty can now stream until <t:1670527841:f>.
expressions evaluate to a value (object)
@quasi condor where u at
Erm, nothing productive
I'm actually trying to answer a question someone asked in #python-discussion about cpython internals, but I'm about to give up.
Afk for a couple of hours
Bless you
no
Aww
Project Hail Mary V V nice!
Wait, did you ever sleep?
81 pages of 396
Nope.
I've been reading for the past hour and 10 min I think
I love all the science stuff
My brain likey the stimulation
It's been so long
I think I will too. Thank youuuuu
@rugged root how long has lp got left
3hr 12 min
Ah wow ok
The hell? It didn't transfer me to AFK
Weird
Saass
Snaps as a Service, Sister
I tried
I heard =P <3 What did you wanna say?
What was this in reply to?
Oh just you guys talking about SaaS
Just always makes me think of someone being sassy
CRDeez nutz
A friend of mine is a devops engineer. He says this about the conversation;
"I LIKE HAMMER BEST!"
"NO SCREWDRIVER BEST TOOL EVER"
Yeeeeeeeeeeep
😛
What "cloud is best"?
Just so many moving parts
Ahh, "devops is scary", gotcha. When taken seriously, yup!
VM's don't scale, do they?
You can type to me too, I won't use the mic as this conversation is largely above my knowledge level.
He's got bad hands
Oh sorry, didn't know
Yeah so he tries to limit the typing when he can
Very interesting 🙂 thank you for explaining!
ME didn't exist, its a myth.
It's the horror story we tell children to make them behave
XP SP2
Huh, forgot McAfee was around back then
personal computers 😛
I was so sad when mine died -.-
I realize why I disliked the "bare metal" description. It's inaccurate with VT-D/IO Passthrough (read: also perfectly possible with a "v2 hypervisor".
Just google Linux GPU Passthrough.
I'm getting a headache from all the talking over each other, and I don't wanna impose!
So I'll be in the other channel for anyone who'd like to talk without so much interruption/talking over one another =)
Might be there in a sec
I wired my house, mom's house and every building on my farm with cat6, rented a good trencher, lined the trench with sand and ran 4 runs to each building for backups.
the new font is so weird that I read cat6 as cató at first
burnout is horrible and you never see it coming
@north yew ^
oh yeah, same
had a internship at airbus tho
didnt do anything tho
i just watched
I live in france rn
where do you wanna work tho?
no clue
my goal is like to make
software
or anything like that
dont really care if its big tech or not
as long as im being paid a living wage im good lol
CS
wbu
software engineering
it’s my second year
oh damn same
started 3 months ago
thoughts on taxes
@unreal torrent what is a cheap car there?
i mean here in brazil a cheap regular car is like 40k
@north yew but you’re the first owner?
i have no car 😦
wait i misunderstand lol
wtffff
credit here is so fucked up i cannot even believe you @unreal torrent
that’s not possible broo
why not
require a lot of maintenance and tlc
but are hella fun 😉
also engine is pain to work on as its a flat 4
yeah i think so hahaha i don’t know much about cars
i just think subaru looks fine
buy a ford
cheap spares easy to work on and reliable
or a honda they're good too 🙂
@balmy shuttle have you sent over request in the chat
you need to spend some time in text chans
just like reddit
or ask an admin
ok 😊 thank youu
sometimes admins will unmute if ur nice 🙂
<@&267628507062992896> hey, may i can talk in the voice room?
i think you need to send something like 50 messages over the space of 2 hrs ?
ooh
it'll be in one of the chans somewhere
nw you'll get voice pretty quick if your active / engaged
thanks for helping! i’ll do it
yo you lot its been fun i gtg but will try and show my face again sometime
non toi tg
I don’t have favorite one
oh
ok
but it is a bad idea for real
@strong arch thoughts on tesla car
yep
i feel like they’re not interesting at all
@thin breach do you have a car?
nothing is really sustainable in reality
america is not doing this tho
i don’t believe that global warming is a phase
but it can be more than américa because of the amount of people
but usa #1
not the “are you drunk?” brooo lmaao
racism still there
@rugged root exactly!
help me
oh
oh god
hold onnnnnn
his voice sounds like andrew tate
no man
@gentle flint exactly
"A hungry mob is an angry mob." -- Bob Marley After a period of gradual global warming, the Earth is poised to enter a "Cold Sun Dark Winter." A 206-year cycle of solar and planetary warming and cooling has been established through historic research and climate science. Some climate researchers and scientists are now warning
what is thiskkkkkk
ATTENTION: this site contains a lot of conspiracy theories and other unscientific information. its not a source to be trusted.
yeah like wtfff
Can someone please help with this - https://stackoverflow.com/questions/74736620/how-do-i-extract-edges-that-contain-a-certain-label-in-a-dot-file?noredirect=1#comment131904156_74736620
There is still some uncertainty about the full volume of glaciers and ice caps on Earth, but if all of them were to melt, global sea level would rise approximately 70 meters (approximately 230 feet), flooding every coastal city on the planet.
Earth has warmed in the past due to changes in the Sun, volcanic eruptions, and naturally occurring increases in greenhouse gases. Our ability to understand and explain past changes is one reason we are confident that recent changes are due to humans.
how did we get here……..
Nature - Although there are many geochemical records of past climate variability, an extensive reconstruction of global average surface temperature (GAST) has so far been lacking. Carolyn Snyder...
oh my god
climate change, global climate change, global warming, natural hazards, Earth, environment, remote sensing, atmosphere, land processes, oceans, volcanoes, land cover, Earth science data, NASA, environmental processes, Blue Marble, global maps
aren’t you guys tired of this discussion?
big brain time
fr
if @thin breach is on one side, I'm on the other
so funny how everyone is agreeing with each other but HIM
it’s been like
3h of discussion
I admire people's patience in explaining. Here in Brazil we kind of gave up, We are divided
Respect for @faint ermine and @strong arch
sim por isso q eu tô sem paciência já
Bye
it was
É mano sei lá não tem como jogar xadrez com pombo
but stressing
I appreciate the effort :)
You guys tried play chess with a pigeon
o cara todo errado
chamaram ele de racista até eu tava si divertindo aqui
Exclude these people from society is even worse... so congrats evryone
And @thin breach thanks for trying to understand, keep trying and study what we call the scientific method. good luck overall
todo mundo desistiu e saiu da call e ele ficou por último lá pqp
eu me divirto kkkkkkkk
challenge to thought?
Monark aprendeu a falar inglês
bro.
can someone guide me on how to make a cli like this in python or shell?
now u got me
lmao
k
let’s stop discussing on these stuff for today
As an aside, please use English when interacting on the server (would fall under Rule 4)
Ok, srry!
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@somber heath hold on lol
hey
sup
everything gr8
nice
wbu
here taling some spanish
nah just chilling
i just know english xD
ohh cool
what do u do
i dont understand even a single word
so yeah i like it
even if u're abusing
😂
so basically
i can help
oh
yes
yes
I need to download pip for python
I have a project due today
hehe
BUT I NEED pip
and it seems imposible for me to download
like idk
Ive followed most tutorials
so hopefully you guys can help me
u on windows 10?
correct
did you run the installer from python.org, checking the box add to path?
when you run the python installer
at the end
there's a checkbox, add python and pip to path
did you click it
do not use the windows store python
it sucks
also what happens if you open a command prompt and you type py -m pip --version
ye sure
pip 22.3.1 from C:\Users\raiya\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)
this happens
good
you have pip installed
so whenever a tutorial says pip install requests you need to do py -m pip install requests instead
and instead of pip list you need to do py -m pip list
and so forth
just replace pip in every command with py -m pip and it will work fine
you don't need to do anything else with the installer or anything
@little mesa does that answer your question?
yes thank you thank you
np
im working on a project rn Ill probably ask more questions along the way
is that ok?
I'm offline later
you'll have to find someone else
there's also a help system
you should check it out
tf is tweepy
yes
twitter bot
exactly
!pypi tweepy
no async?
many libraries don't have async
how do I import to python
even api wrappers
well, there are words "async"
I only switched mine over to async
sad situation
the instructions say "import tweepy"
well did you
that is entirely irrelevant for what you are trying to do
I see
maybe focus on getting your assignment finished first
appears like this particular one has it planned but not fully implemented
it's a major undertaking
every single function needs to be at least partially rewritten
once I had to re-write ~400 methods to async in one commit
and aiohttp for instance doesn't support httpbasicauth
so you need to write your own auth function
unlike in requests
Hello
how are you doing you can talk on the voice chat
I'm fine but can't talk
ok
hello @warped raft
good how are you?
what are you working on
just fixing erros
i am fine
you?
nope
ok
are you doing any projects?
no i was searching for some java projects
why java?
it in in academics for the next four classes
so i am thinking to learn java side by side by with java
sure
sexygirl you suck ^
forgot to change account?
u sure about that?
press ctrl+r
no
make me monkey man
monkey man Moe
im the monkey Moe
Moe monkey no
no no monkey man monkey Moe go
no make monkey man monkey man Moe
- Monke man Moe
Howdy @somber heath
you like my poem
i have been reading too much lord of the rings
Hey dol! merry dol! ring a dong dillo!
Ring a dong! hop along! fal lal the willow!
Tom Bom, jolly Tom, Tom Bombadillo!
gtg
bye
@forest zodiac :white_check_mark: Your 3.11 eval job has completed with return code 0.
this is weird
... = True?
!e
print(bool(...), type(...))
@forest zodiac :white_check_mark: Your 3.11 eval job has completed with return code 0.
True <class 'ellipsis'>
!e print(. . .== None)
@tall plume :x: Your 3.11 eval job has completed with return code 1.
001 | File "<string>", line 1
002 | print(… == None)
003 | ^
004 | SyntaxError: invalid character '…' (U+2026)
its not none
it would make more sense
if it were it wouldn't be True
true doesn’t make any sense tho
hi starman
hi
@stiff osprey 👋
👋
hi coffee
WASSUP
hey @somber heath
hi monkey
hi a human being with feelings
so you are a mystery?
no, im MonkeManMoe
Mr E
you like my smile?
I am not calling you.
i am monke man
how about no
no?
no.
make me monkey man
monkey man Moe
im the monkey Moe
Moe monkey no
no no monkey man monkey Moe go
no make monkey man monkey man Moe
- Monke man Moe
i like ur name verbof
cool chrsitmas tree
When it works
fakee
go to python-help
i just got connected to my starlink
show the ping xD
ping 0
doubt
likely
show screenshot
doing a wifi speedtest rn
starlink go brr
vpn moment
get ur wifi speed up
how is starlink that fast?
idk
its not
elon must is doing some great things
if ur internet is not this fast then what are you doing?
this is the power of:
make me monkey man
monkey man Moe
im the monkey Moe
Moe monkey no
no no monkey man monkey Moe go
no make monkey man monkey man Moe
- Monke man Moe
let me do another speedtest
it is
its faster than that
u sure about that?
my real speeds
and then it went back up
and then it went back down
and when it was only halfway up it was neither up nor down
DownloadMoreRAM.com - CloudRAM 2.0
download ram for free
BTW, for next time you wanna troll: 😄
Speed Test maxes out at 10Gbps
It also doesn't round 1000's of Megabits to Gbps it only shows Mbps
im the monkey man i make my own decisions
I do all the work i make the turkey for thanksgiving
i dont get no credit all i get is hate
im the monkey man ill throw poo at ur face
you grow steadily more annoying
were exchaning rhymes
not to mention worse at spelling
its like saying" Your always using the word 'your" wrong"
"nit ti mentinon ur bad at spelling"😂
race me
god no
that would be a race to the bottom
im waiting
where can this bug even come from
like
steam should be able to understand that download is not that fast (given that it usually takes average over time)
right click inspect double click spam numbers
WHERE DID THIS BUG COME FROM????
@vocal basin how old are you?
try and do inspect on a steam library page from 3-4 years ago
@stray niche hello sam
Silence?
im muted
why are you asking?
Hello Mcube
until tommorow
Mcube?
M M M
Hey @timber mist!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
byeee
pls dont make this a thing
famous russian pyramid scheme
It’s a file on unix systems that discards anything written to it lol
https://paste.pythondiscord.com/ehovawecix cool game i made
im dumb windows user
thanks!
if I were to edit numbers back then (2018) it would leave MBPS in place (I didn't even know before seeing this that steam shows GBPS instead of thousands of MBPS)
ok it doesnt matter
getting inspect element to work with steamwebhelper would genuinely be more impressive
I made a game exactly like this 2 years ago but urs is way cooler
I believe you
print("liams Code")😂
i think mine might be a litter longer though, probably cause its finished
its a stupid text adventure game
about gerbils
Mine Is not finish
@molten pewter you left
I was about to join
i'm waiting for a work meeting to end
it's currently in the ending banter stage
besides, srilanka is facing crisis
byyee
@quasi condor aha! I came prepared with a cuppa today
I have no tea :(
heyooo
How's website
stagnant. Working on a freelance writing report
@stray niche what are you up to?
Thinking of what to do
Bake a cake
I just saw a cake reel lol
I don't really know how to bake, first and last time was in 8th grade
I'm thinking of watching this show: Wednesday
Ive heard good things about it!
Major U.S. railroads and unions representing 115,000 workers reached a tentative deal in September and averted a potential strike that could have stalled almost 30% of U.S. cargo shipments by weight, stoked inflation and cost the U.S. economy as much as $2 billion per day.
I'm going to the bank. BRB
huh
@lavish rover any lately?
💀
am boomer
HOw
time to re-read python tutorial
looks like its in preparation
those tabs are just 1,2,...,16 chapters of the tutorial
my desktop and bookmarks are a mess but I keep my tabs empty
10xproGamer
.
[2022-12-09 19:22:44] 0 x10an14@home-desktop:~
-> $ screenfetch
/nix/store/9lv0ybcckwy92zxwscaykx6jn4cvqlj3-screenfetch-3.9.1/bin/.screenfetch-wrapped: line 1364: /nix/store/a7gvj343m05j2s32xcnwr35v31ynlypr-coreutils-9.1/bin/ls: Argument list too long
::::. '::::: ::::' x10an14@home-desktop
'::::: ':::::. ::::' OS: NixOS 23.05.20221204.a2d2f70 (Stoat)
::::: '::::.::::: Kernel: x86_64 Linux 6.0.11
.......:::::..... :::::::: Uptime: 8h 48m
::::::::::::::::::. :::::: ::::. Packages: 0
::::::::::::::::::::: :::::. .::::' Shell: bash 5.1.16
..... ::::' :::::' Resolution: 6560x2560
::::: '::' :::::' WM: sway
........::::: ' :::::::::::. Disk: 3,2T / 5,5T (58%)
::::::::::::: ::::::::::::: CPU: AMD Ryzen 7 5800X 8-Core @ 16x 3.8GHz
::::::::::: .. ::::: GPU: AMD Radeon RX 6900 XT (navi21, LLVM 14.0.6, DRM 3.48, 6.0.11)
.::::: .::: ::::: RAM: 13499MiB / 32025MiB
.::::: ::::: ''''' .....
::::: ':::::. ......:::::::::::::'
::: ::::::. ':::::::::::::::::'
.:::::::: '::::::::::
.::::''::::. '::::.
.::::' ::::. '::::.
.:::: :::: '::::.
[2022-12-09 19:23:17] 0 x10an14@home-desktop:~
-> $```
317
(there were more before but chrome forced to close some)
it got updated and made memory usage bigger
particularly, memory usage of inactive tabs
I may switch to firefox when v2 manifest dies on chromiums
Snoop Dog!
Sorry to say ur not getting in pal @molten pewter
yayyy
here in canada the snow is brrrr
outside my school we would jump in snow piles nearly two stories tall
Bio Break
bio brick
Tuzen tuk
Tusen takk
@molten pewter https://apple.stackexchange.com/questions/350671/does-safari-and-google-chrome-for-macos-use-the-same-rendering-engine/350674#350674
@vocal basin whats ur name stand for?
@rugged tundra kind of like how the python bot tracks you
Chrome used webkit back in version 28, I believe it's current version is 108...
When does the beta come out?
up to you

Are you a gift
Maybe
or are you a present
([]+[])[+!+[]+[+[]]]+([]+{})[!+[]+!+[]+!+[]]+([]+{})[!+[]+!+[]+!+[]]+([][[]]+[])[!+[]+!+[]]+([]+{})[!+[]+!+[]+!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([]+[])[+!+[]]+(!![]+[])[+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+!+[]]+([]+[])[+!+[]]+([]+[])[+[]]+([]+{})[!+[]+!+[]+!+[]+!+[]]+([][[]]+[])
js + bf?
OH
Right
New picture
yessir
Yeah, puppy for Christmas
What shenanigans are you up to now huh
@robust lichen do it in brainfuck
Brainfuck is a minimal esoteric programming language. It provides a 30K 8-bit array that can be modified with 8 different characters.
#programming #compsci #100SecondsOfCode
🔗 Resources
Brainfuck History https://www.muppetlabs.com/~breadbox/bf/
Brainfuck Basics https://gist.github.com/roachhd/dce54bec8ba55fb17d3a
Brainfuck Interpreter https:...
send itt
I admit nothing!
I am all seeing

Ruff woof wof roolf wooo woo woof
[.,]
wait coffee what was the question?
in brainfuck

@oblique bough wrong discord server
Yip yay yappity yip
go to vc 1 with me rq
Going to play Path of exile... bye👋
@sweet lodge woo - bye? -oof
see
hm?
cat in bf?
Isokay, chuck
well, python+(bash+re+awk+sed)
default anchor behaviour is full reload
hmmm. so what should i do?
use*
there's this thing: https://reactrouter.com/en/main
or other library implementations of handling routes/navigation like that
I'd expect it to be possible
okay let me try.
!d operator.countOf
operator.countOf(a, b)```
Return the number of occurrences of *b* in *a*.
.format
!d str.format
str.format(*args, **kwargs)```
Perform a string formatting operation. The string on which this method is called can contain literal text or replacement fields delimited by braces `{}`. Each replacement field contains either the numeric index of a positional argument, or the name of a keyword argument. Returns a copy of the string where each replacement field is replaced with the string value of the corresponding argument.
```py
>>> "The sum of 1 + 2 is {0}".format(1+2)
'The sum of 1 + 2 is 3'
``` See [Format String Syntax](https://docs.python.org/3/library/string.html#formatstrings) for a description of the various formatting options that can be specified in format strings.
!f-string
Creating a Python string with your variables using the + operator can be difficult to write and read. F-strings (format-strings) make it easy to insert values into a string. If you put an f in front of the first quote, you can then put Python expressions between curly braces in the string.
>>> snake = "pythons"
>>> number = 21
>>> f"There are {number * 2} {snake} on the plane."
"There are 42 pythons on the plane."
Note that even when you include an expression that isn't a string, like number * 2, Python will convert it to a string for you.
hey
# Enumerate the subs list
def display_subtitle_links(sub):
choice = []
for sub in subs:
choice.append("{}".format(sub.replace("/subtitles/", "")))
selected = fzf.prompt(choice)
print(selected)
display_subtitle_links(subs)
# def main(selected):
# scraper = cloudscraper.create_scraper()
# with open("links.txt", "a") as f:
# print(scraper.get("https://subscene.com" + selected).text, time.sleep(5), file=f)
# print("https://subscene.com" + selected)
# if __name__ == '__main__':
# main(subs)
['selected']
sounds like somebody is learning a lot tonight lol
Help on package pyfzf:
NAME
pyfzf
PACKAGE CONTENTS
pyfzf
DATA
FZF_URL = 'https://github.com/junegunn/fzf'
license = 'MIT'
VERSION
0.3.1
AUTHOR
Nagarjuna Kumarappan (nagarjuna.412@gmail.com)
FILE
/home/carrot/Downloads/pip-cli/venv/lib/python3.10/site-packages/pyfzf/init.py
>>> help(fzf.prompt)```
so uhh, either of you willing to help a very late college student?
Help on method prompt in module pyfzf.pyfzf:
prompt(choices=None, fzf_options='', delimiter='\n') method of pyfzf.pyfzf.FzfPrompt instance
i can
Yay
call me
ight
i can't do this helping without screenshare
import requests
import wget
import zipfile
import os
import sys
url = 'https://chromedriver.storage.googleapis.com/LATEST_RELEASE'
response = requests.get(url)
version_number = response.text
def define_download(version_number):
if sys.platform.startswith("linux"):
download_url = "https://chromedriver.storage.googleapis.com/" + version_number + "/chromedriver_linux64.zip"
elif sys.platform.startswith("darwin"):
download_url = "https://chromedriver.storage.googleapis.com/" + version_number + "/chromedriver_mac64.zip"
elif sys.platform.startswith("win32"):
download_url = "https://chromedriver.storage.googleapis.com/" + version_number + "/chromedriver_win32.zip"
latest_driver_zip = wget.download(download_url,'chromedriver.zip')
with zipfile.ZipFile(latest_driver_zip, 'r') as zip_ref:
zip_ref.extractall()
os.remove(latest_driver_zip)
define_download(version_number)
import requests
import wget
import zipfile
import os
import sys
url = 'https://chromedriver.storage.googleapis.com/LATEST_RELEASE'
response = requests.get(url)
version_number = response.text
def define_download(version_number):
download_url = "https://chromedriver.storage.googleapis.com/{}/chromedriver_{}64.zip".format(version_number, sys.platform)
latest_driver_zip = wget.download(download_url,'chromedriver.zip')
zipfile.ZipFile(latest_driver_zip).extractall()
os.remove(latest_driver_zip)
define_download(version_number)
Guys is it ok for u if i ask u something ? Im in coding and have a big strugle
document.write('cookie: ' + document.cookie)
Hey @shut hill!
You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.
?
yeah sure i can help
thanks lmk
looking at the code
its error message
ill let u know
not sure whats up trying to download pygame
join vc 1
not working when the program is being runned?
lmk whats wrong with window.
https://paste.pythondiscord.com/igepabeyiw
and this one
...
whats happening here?
I hope an AI get t control masses eventually
that would be for the best
people popping out children like animals even when not having the resources for takking care of them ,, students not receiving payment checks due to getting their careers done,.
50 USD month
@spare terrace could u freind me?
@potent ice 👋
Hey Guys! Any suggestions for python courses? 
!resources perhaps 🙂
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Hi
@cedar crest 👋
free -h```
@somber heath 👋
Yes
Yea the people are often the ones affected
And often they have less say
@summer blaze 👋
@whole bear 👋
Hey
what are you doing
@somber heath What are you doing
@somber heath Okay Where are you from if i can ask
@stray niche it says i dont have permission to talk
three more days before you may be allowed to
!voice
Garbage whats that WHY
there were incidents that could have had been prevented by this system
so the system was introduced
(if you ask about the verification not the garbage emoji)
Is this code good:
import pygame
Initialize Pygame
pygame.init()
Set the screen size
SCREEN_WIDTH = 800
SCREEN_HEIGHT = 600
screen = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT))
Set the background color to black
bg_color = pygame.Color('black')
Create a white rectangle to represent the box
box_rect = pygame.Rect(0, 0, 100, 100)
Set the position of the box to the upper middle of the screen
box_rect.midtop = (SCREEN_WIDTH/2, 0)
Main game loop
while True:
# Handle events
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
quit()
# Update the screen
screen.fill(bg_color)
pygame.draw.rect(screen, pygame.Color('white'), box_rect)
pygame.display.update()
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
# Initialize Pygame
pygame.init()
# Set the screen size
SCREEN_WIDTH = 800
SCREEN_HEIGHT = 600
screen = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT))
# Set the background color to black
bg_color = pygame.Color('black')
# Create a white rectangle to represent the box
box_rect = pygame.Rect(0, 0, 100, 100)
# Set the position of the box to the upper middle of the screen
box_rect.midtop = (SCREEN_WIDTH/2, 0)
# Main game loop
while True:
# Handle events
for event in pygame.event.get():
if event.type == pygame.QUIT:
pygame.quit()
quit()
# Update the screen
screen.fill(bg_color)
pygame.draw.rect(screen, pygame.Color('white'), box_rect)
pygame.display.update() ```
turns out there is no JS server
or at least not in discord discovery
maybe nodejs
the most viable looks like "JavaScripters" but it's A js server not The js server
javascript is a failed state of programming languages
@inner junco 👋
hi
i'm actually got some issued with the while one
like adding an another condition into the already existing program
to which part of a program?
the goal is to write a program that printed number from between a to b that are divisible by 3
i've already done
here's the code, you can see for yourself
a = int(input('enter a: '))
b = int(input('enter b: '))
while a > b:
try:
a = list(map(int,input('Enter a: ').split())
b = list(map(int,input('Enter b: ').split())
except ValueError:
pass
s = 0
for x in range(a, b+1):
if (x%3 == 0):
s += 1
print(x, end=' ')
if s == 0:
print('There are no numbers that can be divisible by 3.')
else:
print('\n Numbers that are divisible by 3:')
the condition is
if i entering the a elements
a number that bigger than b
then it'll force me to re-entering it again and again
until a<b
why try-except part?
yes
is the thing you want something like this?
enter a: 2
enter b: 1
There are no numbers that can be divisible by 3. Enter different numbers.
enter a: 1
enter b: 4
Numbers that are divisible by 3:
3
<program exits>
almost, i wanted something like
enter a: 9
enter b: 2
Please enter a different numbers.
enter a: 10
enter b: 5
Please enter a different numbers.
i wanted it to keep saying it
until a is > b
i'm actually asked people last day about the try and skip one
and they said that i just need to put the map one
into collection
do you know how to define functions?
the def one?
yes
