#voice-chat-text-1
1 messages · Page 16 of 1
Appreciated
limit is at 15
16~20 appear in Journey mode
there's M1~M30, but that's a separate mode
level 100 was the most time-consuming part
everything else took ~10 days
Oh sweet zombie jesus
I'm looking at an HP printer repair manual. Guess how many pages
250?
monkeytype
@past beacon monkey what????
oh sorry
I didn't check for other messages\
I scored 64 on 157 characters
is that bad??
that's desccent
I doubt code-like ones make sense
Gonna do a couple more
your getting older brrody
Also when I make a typing error I HAVE to go back and fix it
I can't not
It's a compulsion
My consistency is absolute shit, too
the only real use case where it matters is when you have screenshot of code and need to convert it to text
Another pb, 111
On the last two my consistence was 75%
When I make a mistake and go back and to fix it it just throws me off
for example, this is three key presses, not 20~30
500000x5
!e
print(500000*5)
@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.
2500000
ty alisa ^
yay typeracer
race link
i joined
@past beacon join frfr
i joined
GN
Whaaaaaaaat?
what setting were u talking about hemlock
Settings -> Updates and Security -> Delivery Optimization
Get Linux
Could just turn it off for safety
fair
Might want to do a disk cleanup to clear out any old update files
even then, there are no other pc's on my network
Those can take up some serious space sometimes
11th
12th
13th
i5-12th
rtx 3060
16gbs ddr4-3200 Mhz
650 watts
any shitt case
800-950
This is my pc
Very powerful 💪
Just wear glasses with eyes drawn on them
Een kleine studio in die De Pijp te koop stond voor 2 ton, is na drie dagen al verkocht onder voorbehoud. De makelaar mag nog niet zeggen wat de verkoopprijs is, maar noemt de vraagprijs, ruim 8600 euro per vierkante meter, een 'reëel bedrag'.
Volgens de makelaar was er veel interesse voor het appartement, dat uit één kamer bestaat. In de adver...
@stuck bluff yep true
did you create user in chrome?
yes
i use in mac os
Don’t know about Ubuntu
hello
@misty sinew hello
@misty sinew what're the timestamps I should be looking for for fazi trying to cover his tracks?
Asking for a friend
qui est fr ?
for what exactly, he didn't do anything that violated the server rules afaik
Fair enough then
Hay dos anyone know how to do p2p??
In Python??
Yes
Its for a game !!
Multiplayer!
thanks, @misty sinew 😉
please don't read my deleted messages.
bro i was just saying the truth, you don;t have to thank me for that
Not Irani bro
Like Americans speak Americani
lol
I am from Mars
dont judge
Redde
@bright wraith 👋
@stuck bluff good evening
@quasi hingeI just wanted to help
@hollow bayI just wanted to help
]@quasi hingeI just wanted to help
PBR is great
hello
I start every morning with a shot of Malört and then breakfast with PBR 40oz
Spruce beer is a beverage flavored with the buds, needles, or essence of spruce trees. Spruce beer can refer to either alcoholic or non-alcoholic beverages.
A number of flavors are associated with spruce-flavored beverages, ranging from floral, citrus, and fruity, to cola-like flavors to resinous and piney. This diversity in flavor likely comes ...
my eyes
Yoooo what up!!
all good until you get bit
they eat dog food too
behold classic yoon pfp
So good
Also, everyone trying to fake the non protected AP, can let the previous connected client connect to fake AP
this tune has a very confusing time signature
https://youtube.com/watch?v=GG34pxW_N4c
Snarky Puppy feat. Väsen - Shapons Vindaloo
From Snarky Puppy's live CD/DVD - "Family Dinner - Vol. Two"
Stream/Download/CD/Vinyl: https://orcd.co/familydinnervol2
©GroundUP Music 2016
Written by André Ferrari
Arranged by André Ferrari, Michael League & Snarky Puppy
Recorded and filmed at Esplanade Studios in New Orleans, LA, February 12-14, 2...
You can use traceroute to check that
There's typically a lot of hops between you and your destination
Generalyl http connections are pretty unsafe in public wifi
https would usually fix things by itself, but it depends on the applications
Also depends on if that https site is legit as well
Just having https doesn't mean it's safe
Also, keep your browser up to date
And your computer in general
@molten nebula you gotta chat here a bunch before you can voice verify
Its kinda dummm but its how this server works
@misty sinew this is your username!
I see
how much do I have to chat here
i think 50 msg
type "!verify"
Yas
Now I picture you as honey lip britt lady
What do you wanna talk about?
OKay
We should study it a bit later
BPS?
Does the admins need to give me role to chat in vc?
No..scroll up the right side and find the voice verify channel
That's so annoying
hate typing lol
the people dont even have streaming rights lol
this server is very hard on the rules
Kinda weird that they don't give users streaming rights tho
when its of substance....not just mod drama...or reckless banter
We do this in our server too @molten nebula thats why i came up with the idea of "the wild"
what's wrong with streaming? people can just stop watching the stream if they don't want to watch
what do you then need to do to be able to stream?
there's no way you're that naive
come to the server @molten nebula
what is that supposed to mean?
come to the spacer
like an official discord server will need spam control
and with streaming, there's a whole concern about exposing anything against terms and rules
yeah but to take away streaming rights is probably a bit too much
it's the only way to handle it lmao
Nope, it's AWESOME
you ever see those webinars where they have live tweets being shown?
the ones where they come immediately without being moderated turn into an immediate shit show
brooo this is the official python discord bro..
people can just choose not to watch the stream, don't see why you need to beg the admins to get streaming right
but re-enter the wild in our server
when given an opportunity to be able to troll and stream porn to unsuspecting viewers, trolls will stream porn to unsuspecting viewers
the official python discord server doesn't wanna have to deal with allowing this to happen
rightfully so
so i think that thinking otherwise is naive
We've discussed that as an option in the past, but the consensus was that we didn't like the idea or regular users moderating other users.
consensus with who?
I don't remember this vote
lmao
No matter how hilarious it would be
the plebian votes don't matter
I'm not asking for solo power, Charlie can be second man in decision. That's all
LP or plome can substitute as well
gimme stream and mod perms i won't do porn probably
cable porn
from my IT days
go into software development
185 gang
you Dutch? @shell socket
183
feet 🤤
be right back, you guys made me hungry
👋
brb
yes
12 per day?
wow
id drop out
it's eurated
@hazy garden omg i love that anime
yess
While countries such as France, England, and Germany all have their own internationally celebrated bread, Japan simply does not have one that can match in reputation. Thus after discovering the wonders of breadmaking at a young age, Kazuma Azuma embarks on a quest to create Japan's own unique national bread. And being blessed with unusually warm...
eww
no voice acting just subtitles
dubbed anime is just weird
sedentary life style
s korea has the highest sucide rate afaik
Snarky Puppy feat. Väsen - Shapons Vindaloo
From Snarky Puppy's live CD/DVD - "Family Dinner - Vol. Two"
Stream/Download/CD/Vinyl: https://orcd.co/familydinnervol2
©GroundUP Music 2016
Written by André Ferrari
Arranged by André Ferrari, Michael League & Snarky Puppy
Recorded and filmed at Esplanade Studios in New Orleans, LA, February 12-14, 2...
does my mic keep having small noises coming through
pretend you didn't hear it 😄
I just love the random Michael Cera thing
No. 1 App for ZIP and RAR file management on iPhone/iPad! Most secure and fast Zip utility for business and professional users.
iZip is a ZIP file management tool on iPhone and iPad. iZip has the following features:
- Unzip files from ZIP format, including password protected and AES encrypted ZI…
Get the world’s #1 zip file opener utility on iOS! Create Zip and Zipx files, extract files, encrypt, open Zip, Zipx, 7z, RAR or LHA files, send large files by email, share to Dropbox, Google Drive, OneDrive, iCloud, Twitter or Facebook.
The reviews are unanimous!
“Trying to open zip files a zip…
@dull cave If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate
@golden tendon What's the question in relation to?
who was asking for the django stuff again?
!stream 586321204047249423
✅ @lethal wadi can now stream until <t:1693250804:f>.
@mild flume basically what I'm trying to do is make a multiplayer system for multiplayer Tetris that I'm currently constructing cuz I figured that might be a simpler project to work on
But I don't want it to rely on a centralized server I wanted to allow users to connect to each other directly basically client to client
And as far as I've looked at for the socket module and stuff it uses a centralized server at one point or another
licence version pyversions tests docs openssf websockets is a library for building WebSocket servers and clients in Python with a focus on correctness, simplicity, robustness, and performance. It s...
@golden tendon I'd look into websockets instead of regular sockets
if you want it peer-to-peer, both endpoints would be servers
likely
or one can be a server, but not treated as such after the connection
> connect to each other directly
via IP?
for that you'd need either port forwarding or same network
Ideally I would like to build a browser interface so people can just look at what the available games or open games are and just connect to that through the browser
Well that's disappointing
But like I get what you're saying it's just disappointing that it has to be that way cuz I don't want to have to go out and rent a server just to host it
where would the clients get list of games otherwise?
I mean I would imagine it would just construct the list by just pinging the available games
Like like each game would have like a tag associated with it upon startup
to ping something, you need its address
And that tag gets changed from open to close depending on if it's full or not
Right
I guess I can't be that hard to host a game list server that contains all the IPS and s*** and then just pass that when it's called on
Thanks
connecting to clients's IPs would still be impossible in most cases
(because requires forwarding)
lmaoo
@restive jolt
company_status = CompanyBalance.objects.update_or_create(user_company_ticker=ticker,
user_annual_quick_ratio=annual_quick,
user_quarter_quick_ratio=quarter_quick,
user_annual_current_ratio=annual_current,
user_tick)
company_status = CompanyBalance.objects.update_or_create(user_company_ticker=ticker,
defaults={
"user_annual_quick_ratio":annual_quick,
"user_quarter_quick_ratio":quarter_quick,
"user_annual_current_ratio":annual_current,
})
```
obj, created = Person.objects.update_or_create(
first_name="John",
last_name="Lennon",
defaults={"first_name": "Bob"},
)```
return f'{self.ticker}'
@restive jolt # makemigrations - create changes and store in a file
migrate - apply the pending changes created by makemigrations
@lethal wadi @restive jolt did you guys come daily on vc?
im a monday friday guy
n = 15
n += 15
n/5
Do you guys think you could help me after please?
don't want to interrupt current call
2**5
Hello
@rugged veldt what are you talking about
hey
eh just political debates lol
i start it too but generally don't contiuate like that
a few words here and there a little discussion no problem but a heated one?? no
can't do it
so hows your day going
well at least your honst
hello opal!
Danger wanna take a look its python?
sure
!paste
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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
still on about all the politics
flobert
hello!
.rfc
Your input was invalid: rfc_id is a required argument that is missing.
Usage:```
.rfc <rfc_id>
1
1969-04-01
.rfc 2
1
1969-04-01
.rfc 3
1
1969-04-01
.rfc 69
1
1970-09-01
.rfc -1
RFC -1 does not exist.
yes it does
@mild flume Everyone could jump back up.
gm
Yo
gm
gm
RFC -1 does not exist.
aa
:incoming_envelope: :ok_hand: applied timeout to @woeful laurel until <t:1693525135:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
Hey guys, Use this way to share live code
-
download & install vscode
https://code.visualstudio.com/download -
install live share extension
https://marketplace.visualstudio.com/items?itemName=MS-vsliveshare.vsliveshare
Or simply, Use this link
Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications.
!stream 337997669899304961
✅ @blazing garnet can now stream until <t:1693596706:f>.
any of you guys know folium library or similar ones
@mild flume can i get temp voice or do i need to fufill all the things
i need help
I try not to make exceptions, unfortunately
is this only affecting terminals?
do you know any good data map/visualization libraries that people could help with
cause it seems like folium is pretty bare bones in terms opf help
i dont know how to do a map layer like what i need to do i can show you my goal for end result but i dont know how to get it with folium
can i link something
also jupyter, as opened by VSC doesn't re-run .*rc file, allegedly
so, the thing might work if vsc is restarted
but that's not a good solution, likely
I'm honestly not sure, lego. #data-science-and-ml might know, but I'm really not sure
I've never messed with these kinds of libs for that
send picture
is code right now started from shell?
after having enough trouble with jupyter, I no longer ever run it outside Docker
basically i want to make a visualzation of my data
that zoomed out its just one bubble wiuth the count
but when you zoom in the bubble seperates
and than when you zoomed in enough the indiviudal points appear and they are clickable and show the data from that
point
i use google colab
for data science
you can run your own JupyterHub instance in Docker
with certain settings, it will be able to interact with GPU
i skipped sql cause i was working with massive stuff that needed data cleaning and it was much easier on python
and jupyter lab i forgot my password
and my laptop had less resources than google colab free resources
this reference off craigslist
i jsut didnt want to link craigslist cauyse its selling site
in Linux the problem is you wouldn't know what to install
it's installed via several weird separate packages
and you need to choose
pain as usual (because jupyter) but simpler than host install
forwarding to be accessed externally was difficult for me, but that had nothing to do with Docker
(Docker made it easier)
((I just had no idea how apache httpd proxying works properly))
ah, and also one of the recent jupyterhub versions got broken and default_url = '/lab' doesn't work, so that had to be overwritten in proxy
some herbs depends where you live can survive
theyll just drop the leavexz
dont grow mint
it spreads
its very invasive
jasmine is nice to grow
basil is easy so is rosemary
anyone up for chat?
sure
anyone alive
hi
hello
Hello
@cyan rivet #career-advice will have plenty of good advice on how to help with that as well
Thanks
Oh so you're doing x + i, but it's not being stored
It does the calculation but then doesn't do anything with it
Flip it
Things get packed to the left
So it'd be x = x + i
Also, shorthand for that is x += i
Which makes it clean
Happy to help
Jeeeus
this is as big as i a have seen this
15
Multiple Primary Periods?
or Primate?
There One hell of a delay since the update when my voice actativation feature turns on.. like damn near a minute
@mild flume
Oh thats right gotta install Android studio
hello!
moring everyone
hello
yeah great cool day
78|
ok
i don't understand what you are saying
could you be a little bit louder please
osyra
ur voice very clear
ok
back
why can't i talk in the voices?
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
it's cool, what brings you to python
I wanna learn it to improve my degree, i"m studyng economics and if you know data analytics you have more opportunities
also, it's a interesting way to improve my english
Kevlin Henney
It is all to easy to dismiss problematic codebases on some nebulous idea of bad practice or bad programmers. Poor code, however, is rarely arbitrary and random in its structure or formulation.
Systems of code, well or poorly structured, emerge from systems of practice, whether effective or ineffective. To improve code quality, it m...
what is this
both of them are the same?
Are all carbonated lemonades the same?
!e
class Hello:
def __init_subclass__(self, hello: str):
print(hello)
class Example(Hello, hello="Hello"): ...
@charred creek :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hello
!stream @last cove
✅ @last cove can now stream until <t:1694619144:f>.
!e ```py
def class_decorator_with_parameters(a):
def d(cls):
class C(cls):
def init(self):
print(a)
super().init()
return C
return d
@class_decorator_with_parameters("Apples.")
class MyClass:
def init(self):
print("Native.")
mc = MyClass()```
@stuck bluff :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Apples.
002 | Native.
!e
def class_decorator_with_parameters(a):
def d(cls):
class C(cls):
def __init__(self):
print(a)
super().__init__()
return C
return d
@class_decorator_with_parameters("Apples.")
class MyClass:
def __init__(self):
print("Native.")
mc = MyClass()
print(mc.__class__.__name__)
@charred creek :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Apples.
002 | Native.
003 | <class '__main__.class_decorator_with_parameters.<locals>.d.<locals>.C'>
!e py float('@*!')
@stuck bluff :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | float('@*!')
004 | ValueError: could not convert string to float: '@*!'
Where a % b == 0, a is fully divisible by b.
!e print(10.11 % 10)
@mild flume :white_check_mark: Your 3.11 eval job has completed with return code 0.
0.10999999999999943
!e
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
Currently only 3.11 version is supported.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
!d math.isclose
math.isclose(a, b, *, rel_tol=1e-09, abs_tol=0.0)```
Return `True` if the values *a* and *b* are close to each other and `False` otherwise.
Whether or not two values are considered close is determined according to given absolute and relative tolerances.
*rel\_tol* is the relative tolerance – it is the maximum allowed difference between *a* and *b*, relative to the larger absolute value of *a* or *b*. For example, to set a tolerance of 5%, pass `rel_tol=0.05`. The default tolerance is `1e-09`, which assures that the two values are the same within about 9 decimal digits. *rel\_tol* must be greater than zero.
*abs\_tol* is the minimum absolute tolerance – useful for comparisons near zero. *abs\_tol* must be at least zero.
If no errors occur, the result will be: `abs(a-b) <= max(rel_tol * max(abs(a), abs(b)), abs_tol)`.
i think you can use index method for looking for character or text in a string
!e py for i in range(1, 11): print([v % i for v in range(10)])
@stuck bluff :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
002 | [0, 1, 0, 1, 0, 1, 0, 1, 0, 1]
003 | [0, 1, 2, 0, 1, 2, 0, 1, 2, 0]
004 | [0, 1, 2, 3, 0, 1, 2, 3, 0, 1]
005 | [0, 1, 2, 3, 4, 0, 1, 2, 3, 4]
006 | [0, 1, 2, 3, 4, 5, 0, 1, 2, 3]
007 | [0, 1, 2, 3, 4, 5, 6, 0, 1, 2]
008 | [0, 1, 2, 3, 4, 5, 6, 7, 0, 1]
009 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 0]
010 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
!timeit
code
!timeit [python_version] [setup_code] <code, ...>
Can also use: ti
Profile Python Code to find execution time.
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.
If multiple formatted codeblocks are provided, the first one will be the setup code, which will not be timed. The remaining codeblocks will be joined together and timed.
Currently only 3.11 version is supported.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
!timeit
def is_mul_10_bitwise(n :int) -> bool:
return i & 0xF == 0
for i in range(1000):
is_mul_10_bitwise(i)
@mild flume :white_check_mark: Your 3.11 timeit job has completed with return code 0.
2000 loops, best of 5: 157 usec per loop
wrong op lol
1 sec
Oh right right
Yeah that's.... weird
That doesn't feel right
Unless under the hood that particular one is optimized to use bitwise?
I would think mod 10 and mod 2 would be common enough to put in a special condition
Wait would it be F?
It'd be 0x0 I thought
!timeit
for i in range(10000):
i & 0x1
@mild flume :white_check_mark: Your 3.11 timeit job has completed with return code 0.
500 loops, best of 5: 600 usec per loop
!timeit
for i in range(10000):
i % 2
@mild flume :white_check_mark: Your 3.11 timeit job has completed with return code 0.
500 loops, best of 5: 731 usec per loop
!d divmod
divmod(a, b)```
Take two (non-complex) numbers as arguments and return a pair of numbers consisting of their quotient and remainder when using integer division. With mixed operand types, the rules for binary arithmetic operators apply. For integers, the result is the same as `(a // b, a % b)`. For floating point numbers the result is `(q, a % b)`, where *q* is usually `math.floor(a / b)` but may be 1 less than that. In any case `q * b + a % b` is very close to *a*, if `a % b` is non-zero it has the same sign as *b*, and `0 <= abs(a % b) < abs(b)`.
I think that'd be equivalent?
this is 1 for 1 only
Oh derp
Yeah you're right
does it end in 1
Yeah
so odd even
I done goofed
that, odd even and is div by 5]
0x2 right?
that doesn't work either
Bitwise confuses me
@charred creek :white_check_mark: Your 3.11 eval job has completed with return code 0.
0b10
Right
I getcha
Oh apparently i & 1 would work to see if it's divisible by 2 as well?
Right
different phrasing, same question and answer
Oh right ye
"just use regex"
yes now
binary string divisibility by 3 is relatively easy
5 -- not as much, but likely possible
!indent
Indentation is leading whitespace (spaces and tabs) at the beginning of a line of code. In the case of Python, they are used to determine the grouping of statements.
Spaces should be preferred over tabs. To be clear, this is in reference to the character itself, not the keys on a keyboard. Your editor/IDE should be configured to insert spaces when the TAB key is pressed. The amount of spaces should be a multiple of 4, except optionally in the case of continuation lines.
Example
def foo():
bar = 'baz' # indented one level
if bar == 'baz':
print('ham') # indented two levels
return bar # indented one level
The first line is not indented. The next two lines are indented to be inside of the function definition. They will only run when the function is called. The fourth line is indented to be inside the if statement, and will only run if the if statement evaluates to True. The fifth and last line is like the 2nd and 3rd and will always run when the function is called. It effectively closes the if statement above as no more lines can be inside the if statement below that line.
Indentation is used after:
1. Compound statements (eg. if, while, for, try, with, def, class, and their counterparts)
2. Continuation lines
More Info
1. Indentation style guide
2. Tabs or Spaces?
3. Official docs on indentation
!e
import dis
def func():
pass
def func():
if True:
pass
else:
pass
dis.dis(func)
@charred creek :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 7 0 RESUME 0
002 |
003 | 8 2 NOP
004 |
005 | 9 4 LOAD_CONST 0 (None)
006 | 6 RETURN_VALUE
NOOP
@mild flume :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 2, in <module>
003 | float(ham)
004 | ValueError: could not convert string to float: 'pork'
!e
beef = "spam"
try:
float(beef)
except ValueError:
print("Invalid float")
@mild flume :white_check_mark: Your 3.11 eval job has completed with return code 0.
Invalid float
It's more that people aren't getting cross trained in the event something goes wrong
It's reactive not proactive responses
Doing HW?
guys
didn't Egypt supply Russia with bombs or smn
they have bombs
watch your mouth, buddy
uh
hey
!e
y=3
print(x*y)```
@latent sorrel :white_check_mark: Your 3.11 eval job has completed with return code 0.
6
@sly coral :warning: Your 3.11 eval job has completed with return code 0.
[No output]
!e highest = [1,2,3,4] print highest.max
!e max(1,2,3,4)
print max
!e max(1,2,3,4)
print (max)
!e max(1,3,3,46,run)
!e max(1,3,3,46,)
!e max(1,3,3,46) print (max)
!e max(1,3,3,46) print max
!e py arr = 1, 3, 3, 46 result = max(arr) print(result)@sly coral
@stuck bluff :white_check_mark: Your 3.11 eval job has completed with return code 0.
46
thanks
!e
print("Hello Snake")
@sleek thunder :white_check_mark: Your 3.11 eval job has completed with return code 0.
Hello Snake
!e
while true:
print("That snake which made my life slow is Python")
@sleek thunder :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | while true:
004 | ^^^^
005 | NameError: name 'true' is not defined. Did you mean: 'True'?
!e
while True:
print("That snake which made my life slow is Python")
@sleek thunder :x: Your 3.11 eval job has completed with return code 143 (SIGTERM).
001 | That snake which made my life slow is Python
002 | That snake which made my life slow is Python
003 | That snake which made my life slow is Python
004 | That snake which made my life slow is Python
005 | That snake which made my life slow is Python
006 | That snake which made my life slow is Python
007 | That snake which made my life slow is Python
008 | That snake which made my life slow is Python
009 | That snake which made my life slow is Python
010 | That snake which made my life slow is Python
011 | That snake which made my life slow is Python
... (truncated - too many lines)
Full output: too long to upload
!e
a=" "
loopcount=0
while True:
loopcount++
print(a*loopcount+ "That snake which made my life slow is Python")
@sleek thunder :x: Your 3.11 eval job has completed with return code 1.
001 | File "/home/main.py", line 4
002 | loopcount++
003 | ^
004 | SyntaxError: invalid syntax
!e
a=" "
loopcount=0
while True:
loopcount=loopcount+loopcount
print(a*loopcount+ "That snake which made my life slow is Python")
@sleek thunder :x: Your 3.11 eval job has completed with return code 143 (SIGTERM).
001 | That snake which made my life slow is Python
002 | That snake which made my life slow is Python
003 | That snake which made my life slow is Python
004 | That snake which made my life slow is Python
005 | That snake which made my life slow is Python
006 | That snake which made my life slow is Python
007 | That snake which made my life slow is Python
008 | That snake which made my life slow is Python
009 | That snake which made my life slow is Python
010 | That snake which made my life slow is Python
011 | That snake which made my life slow is Python
... (truncated - too many lines)
Full output: too long to upload
!e
code
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
Currently only 3.11 version is supported.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
hello?>
Ew
lol
drugs?
infested mint
infested with drugs?
no, aphids
what lang
how to SPEAK IN THE VOICE CHAT
Pretty much
@tawny ferry Check out the #voice-verification channel. That'll tell you what you need to know about the voice gate
ok thanks
I enjoy Rabbit's rants 😄
they say that i have to have over 50 massger so can i spam🤔
Please don't
ok
@misty sinew #❓|how-to-get-help
@pallid basalt 👋
all in one
gottem
:(
Cheep cheep
care to share?
Chaim chaier.
my house is named 'sparrow's song' (translated)
in hindi?
The Australian wood duck, maned duck or maned goose (Chenonetta jubata) is a dabbling duck found throughout much of Australia. It is the only living species in the genus Chenonetta. Traditionally placed in the subfamily Anatinae (dabbling ducks), it might belong to the subfamily Tadorninae (shelducks); the ringed teal may be its closest living r...
@fresh pecan 👋
hey i can't unmute
cool
@toxic perch 👋
anybody wanna play some chess ? voice-chat 1?
I'd say start doing projects, and keep levelling those projects up, there's only so much you can do with just tutorial learning and books
thanks bb
how do i create a canvas with python
👋
man this verification thing takes forever
i wonder when it will be over
I am building a backtracking algo to solve sudoku boards but I dont know how to get possible boards that are not solved
👋
btw if anybody is starting to learn python and wants free coaching just dm me
hi
I worked at Google a long time ago, it's interesting to hear what's happening now
Hi
what is happening now?
@glad turtle ....there was discussion of the enshittification going on... cancelling projects, getting rid of people, the usual late state capitalism that we have seen in less succefful companies is now making its way through alphabet
I see yeah I mean I've heard Alphabet's values and culture is eroding more and more
Nice summary of Company Culture
Notice how thin that slice is, it's not even lunch, it's not a meal.
Culture is a very elusive concept.
Can someone who knows django join voice chat 1?
!projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
!projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
just don't want to reveal my voice
I’d listen to your voice
only fizzy drinks. they had no sandwiches, no waffles..
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Thonny
import tkinter as tk
import time
def slow_print(*args, sep=' ', end='\n', file=None, flush=False):
def print_then_wait(c):
text_widget.insert("end", c) # Insert the character in the Text widget
text_widget.see("end") # Automatically scroll to the end
text_widget.update() # Update the Text widget
time.sleep(0.05)
_sep = ''
for arg in args:
print_then_wait(_sep)
_sep = sep
for char in str(arg):
print_then_wait(char)
print_then_wait(end)
Create the main window
root = tk.Tk()
root.title("Slow Print Output")
Create a Text widget to display the output with custom colors
text_widget = tk.Text(root, wrap="none", bg="#000000", fg="#00FF00") # Black background and light green text
text_widget.pack()
Example usage:
slow_print("Welcome", "Username!", sep=' ', end='\n', flush=True)
Start the Tkinter main loop
root.mainloop()
The app has a list of stopwatch objects that hold the time stamps that describe the time intervals. But that is only available in the console. There's debug print statements when the user clicks the start and stop buttons. It prints the time.
YOUR TASK:
Create a gui interface were the user can access those time stamps in those stopwatch objects. Add a button for each stopwatch, or perhaps just a menu option to create another window. But basically the user should be able to click to reveal more detail about the stopwatch objects. And then close it when he's done examining it.
it's been a year daddy
I really really miss you
Mommy said you went to the store to get the milk
anyways
I'm failing all my classes
and Mommy hits me very frequently
and she changed my name too tickle Timpson
anyways Daddy I forgive u for abusing me
pls come back
was the day not envitable
macros?
proc macros?
second is more cursed
is this from some spec?
if yes, then there's not much choice other than to hard-code it
you can also store it in a different format and then parse inside Rust
but converting, for example, strings to enum variants would still be a troublesome part
can't this be translated using regex?
!e
import re
pattern = re.compile('{\s*(".*?")\s*,\s*&a::(.*?)\s*,\s*&a::(.*?)\s*,\s*(.*?)\s*}')
print(pattern.sub(lambda m: f'Instruction({m[1]}, CPU::{m[2]}, CPU::{m[3]}, {m[4]})', '{ "ORA", &a::ORA, &a::IZY, 5 }'))
@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.
Instruction("ORA", CPU::ORA, CPU::IZY, 5)
shift+end
!e
import re
pattern = re.compile('{\s*(".*?")\s*,\s*&a::(.*?)\s*,\s*&a::(.*?)\s*,\s*(.*?)\s*}')
print(pattern.sub(lambda m: f'Instruction({m[1]}, CPU::{m[2]}, CPU::{m[3]}, {m[4]}) ', '{ "???", &a::XXX, &a::IMP, 2 },{ "???", &a::XXX, &a::IMP, 8 },{ "BIT", &a::BIT, &a::ZP0, 3 },{ "AND", &a::AND, &a::ZP0, 3 },{ "ROL", &a::ROL, &a::ZP0, 5 },{ "???", &a::XXX, &a::IMP, 5 },{ "PLP", &a::PLP, &a::IMP, 4 },{ "AND", &a::AND, &a::IMM, 2 },{ "ROL", &a::ROL, &a::IMP, 2 },{ "???", &a::XXX, &a::IMP, 2 },{ "BIT", &a::BIT, &a::ABS, 4 },{ "AND", &a::AND, &a::ABS, 4 },{ "ROL", &a::ROL, &a::ABS, 6 },{ "???", &a::XXX, &a::IMP, 6 },'))
!e
import re
pattern = re.compile('{\s*(".?")\s,\s*&a::(.?)\s,\s*&a::(.?)\s,\s*(.?)\s}')
print(pattern.sub(lambda m: f'Instruction({m[1]}, CPU::{m[2]}, CPU::{m[3]}, {m[4]}) ', '{ "???", &a::XXX, &a::IMP, 2 },{ "???", &a::XXX, &a::IMP, 8 },{ "BIT", &a::BIT, &a::ZP0, 3 },{ "AND", &a::AND, &a::ZP0, 3 },{ "ROL", &a::ROL, &a::ZP0, 5 },{ "???", &a::XXX, &a::IMP, 5 },{ "PLP", &a::PLP, &a::IMP, 4 },{ "AND", &a::AND, &a::IMM, 2 },{ "ROL", &a::ROL, &a::IMP, 2 },{ "???", &a::XXX, &a::IMP, 2 },{ "BIT", &a::BIT, &a::ABS, 4 },{ "AND", &a::AND, &a::ABS, 4 },{ "ROL", &a::ROL, &a::ABS, 6 },{ "???", &a::XXX, &a::IMP, 6 },'))
@raw wren :white_check_mark: Your 3.11 eval job has completed with return code 0.
Instruction("???", CPU::XXX, CPU::IMP, 2) ,Instruction("???", CPU::XXX, CPU::IMP, 8) ,Instruction("BIT", CPU::BIT, CPU::ZP0, 3) ,Instruction("AND", CPU::AND, CPU::ZP0, 3) ,Instruction("ROL", CPU::ROL, CPU::ZP0, 5) ,Instruction("???", CPU::XXX, CPU::IMP, 5) ,Instruction("PLP", CPU::PLP, CPU::IMP, 4) ,Instruction("AND", CPU::AND, CPU::IMM, 2) ,Instruction("ROL", CPU::ROL, CPU::IMP, 2) ,Instruction("???", CPU::XXX, CPU::IMP, 2) ,Instruction("BIT", CPU::BIT, CPU::ABS, 4) ,Instruction("AND", CPU::AND, CPU::ABS, 4) ,Instruction("ROL", CPU::ROL, CPU::ABS, 6) ,Instruction("???", CPU::XXX, CPU::IMP, 6) ,
!e
import re
pattern = re.compile('{\s*(".*?")\s*,\s*&a::(.*?)\s*,\s*&a::(.*?)\s*,\s*(.*?)\s*}')
print(pattern.sub(lambda m: f' Instruction({m[1]}, CPU::{m[2]}, CPU::{m[3]}, {m[4]})', '{ "???", &a::XXX, &a::IMP, 2 },{ "???", &a::XXX, &a::IMP, 8 },{ "BIT", &a::BIT, &a::ZP0, 3 },{ "AND", &a::AND, &a::ZP0, 3 },{ "ROL", &a::ROL, &a::ZP0, 5 },{ "???", &a::XXX, &a::IMP, 5 },{ "PLP", &a::PLP, &a::IMP, 4 },{ "AND", &a::AND, &a::IMM, 2 },{ "ROL", &a::ROL, &a::IMP, 2 },{ "???", &a::XXX, &a::IMP, 2 },{ "BIT", &a::BIT, &a::ABS, 4 },{ "AND", &a::AND, &a::ABS, 4 },{ "ROL", &a::ROL, &a::ABS, 6 },{ "???", &a::XXX, &a::IMP, 6 },'))
@raw wren :white_check_mark: Your 3.11 eval job has completed with return code 0.
Instruction("???", CPU::XXX, CPU::IMP, 2), Instruction("???", CPU::XXX, CPU::IMP, 8), Instruction("BIT", CPU::BIT, CPU::ZP0, 3), Instruction("AND", CPU::AND, CPU::ZP0, 3), Instruction("ROL", CPU::ROL, CPU::ZP0, 5), Instruction("???", CPU::XXX, CPU::IMP, 5), Instruction("PLP", CPU::PLP, CPU::IMP, 4), Instruction("AND", CPU::AND, CPU::IMM, 2), Instruction("ROL", CPU::ROL, CPU::IMP, 2), Instruction("???", CPU::XXX, CPU::IMP, 2), Instruction("BIT", CPU::BIT, CPU::ABS, 4), Instruction("AND", CPU::AND, CPU::ABS, 4), Instruction("ROL", CPU::ROL, CPU::ABS, 6), Instruction("???", CPU::XXX, CPU::IMP, 6),
@olive basalt 👋
i++-ish thing in Rust
awful but possible
fn main() {
trait PlusPlus {
fn plusplus(&mut self) -> Self;
}
impl PlusPlus for i32 {
fn plusplus(&mut self) -> Self {
let prev = *self;
*self = prev + 1;
prev
}
}
let mut i = 5;
let j = i.plusplus();
println!("{i} {j}");
}
(this outputs 6 5)
good wby
💀 kinda boring day das all
One day ill get voice verified
yeh by sayin nothin
2
i feel like my computers gonna blast on my face
u get there
Tbh It's difficult to just hop into a community sometimes 
💀 high temp issues
"heat issues? what heat issues?"
ow my
do you all have jobs?
docstrings work slightly weirdly with IDEs and stub files
no ;-;
Opal do have
just doing intership at uni
I don't know if I do
LOL
same
Depends what you want to work on
If you follow the uni way, after OOP next is your senior project classes
to fully understand match is harder than if, but basic functions of it might even be simpler than if
applies slightly more to analogues of it in static-ish languages
ye true
like, semantically the first thing is simpler in certain context/for some people
match condition:
case True:
...
case False:
...
if condition:
...
else:
...
I'm tryin to build a script which can store my app usage on pc
I try to read psutil doc
but i couldn't find anything related to it
no Time
jus like digital
welbing
yeee
this sure is an irregularly structured page
https://psutil.readthedocs.io/en/latest/
ye i did read it
what does the app need to be?
@humble osprey
time spent using cpu? time spent being used by the human?
human
noice
need to find a way to find whether an app is focused
haven't you used digital wellbeing ?
might require accessing the windows manager
wha why?
i mean
you only need pid
to check whether the window is focused
to avoid getting 100 hours a day of total usage time
hi
ye but then end time?
for windows
for linux -- idk
depends
@misty sinew 👋
I'll try
this is what would be needed for Linux version, I guess
https://en.wikipedia.org/wiki/D-Bus
D-Bus (short for "Desktop Bus")
is a message-oriented middleware mechanism that allows communication between multiple processes running concurrently on the same machine. D-Bus was developed as part of the freedesktop.org project, initiated by GNOME developer Havoc Pennington to standardize services provided by Linux desktop environments such as ...
lemme check
i am windows user
👋
psutil.process_iter(attrs=None, ad_value=None)
mb i can
run a loop on list of
programs
running
and check whether my proccesss is still running
pip install pywin32
import win32gui
print(win32gui.GetWindowText(win32gui.GetForegroundWindow()))
this gives the title only
which is not enough likely
💀
ye we are getting there little by little ig
i think this ones useful
from win32api import CloseHandle, OpenProcess
from win32con import PROCESS_QUERY_INFORMATION, PROCESS_VM_READ
from win32gui import GetForegroundWindow
from win32process import GetModuleFileNameEx, GetWindowThreadProcessId
hwnd = GetForegroundWindow()
_, dwprocid = GetWindowThreadProcessId(hwnd)
hproc = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, False, dwprocid)
try:
print(GetModuleFileNameEx(hproc, 0))
finally:
CloseHandle(hproc)
don't put it "into production", it's missing error handling
what this script do
prints the path of the current active window's executable
huh PATH , what will i do with path ?
i mean
how can i use it for usage
recording stuff
try:
path = GetModuleFileNameEx(hproc, 0) # changed from `print` to `path = `
finally:
CloseHandle(hproc)
print(Path(path).stem) # prints the name of the process
there might be an issue of different apps sharing the same path
that's where title might help, I guess
chrome
Discord
pycharm64
you'd either need to extract some metadata or configure this to translate to human-readable format
alr I'll try using it
getting old sucks and is rewarding at the same time
you get up earlier with no reason
no need for alarm clocks
there's your future everyone
#themoreyouknow
.
WHO CAN WORK WITH OPENCV ?
GUYS I NEED HELP
so i will race in soming that the winer will get 40k$ so i want to win the age is from 13 to 18 and im 13 so i wat to make a cool web so i win sooooo how do i make a web by using javescript html and python and I NEED HELP I HAVE ONLY 3 MOUTH
My javascript journey started with console.log("Hello World");
!e
from random import choice
print("back-end:", choice(["Flask", "Django", "FastAPI"]))
print("front-end:", choice(["Svelte", "React", "Vue", "Angular", "just JS"]))
@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | back-end: FastAPI
002 | front-end: Vue
"the guide to choose what tools to start with"
hello
!stream 737321460435124285
✅ @last cove can now stream until <t:1696443593:f>.
!stream 264657660190654464
✅ @glad turtle can now stream until <t:1696444655:f>.
there was some excel-like terminal-based software in ~80s, I think
I don't remember the name remembered
VisiCalc ("visible calculator") is the first spreadsheet computer program for personal computers, originally released for Apple II by VisiCorp on October 17, 1979. It is considered the killer application for the Apple II, turning the microcomputer from a hobby for computer enthusiasts into a serious business tool, and then prompting IBM to intro...
1979
now I'm not sure what talk I learned about it from
either History of Programming part 0 by Mark Rendle
or something by Dylan Beattie
yes so I tried multiple:
- 123elf https://github.com/taviso/123elf
- sc-im
- visidata
- gnu oleo
the best so far is visidata
Join Mark on a quick-fire, whistle-stop, shallow-to-the-point-of-vacuous tour through the history of programming and programming languages, from the surprise twist at the beginning, through the Golden Age of LISP, C and Smalltalk, right up to the present day. What was the Greatest Programming Language ever? Which is better: dynamic or static typ...
(there are many errors in the talk, but that's normal for Mark Rendle)
axios.interceptors.request.use(request => {
console.log('Starting Request', JSON.stringify(request, null, 2))
return request
})
axios.interceptors.response.use(response => {
console.log('Response:', JSON.stringify(response, null, 2))
return response
})
!voiceverify
sorry I can't speak
stupid me
Does anybody want to be friends dm me pls anyone
best way to make friends 💯
!voiceverify

mikro
hello
Hello everyone
Whats up ?
what is you project
nothing much how about you
are you only looking for people in the vc or anyone?

what font is this?
!voiveverify
You are not allowed to use that command.
!voiverify
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
please,Can you active my voice
@misty sinew i do not know how to play ches lmao
monocraft sir, it is splendid
thank you
oh, I found an OpenCL program from 3~4 years ago
very bad but works
https://gist.github.com/afeistel/5f1f9c9c6169aa1f896ff14203798035
@stuck bluff
(prime number sieve)
💀
what's that
wdym?
In mathematics, the sieve of Eratosthenes is an ancient algorithm for finding all prime numbers up to any given limit.
It does so by iteratively marking as composite (i.e., not prime) the multiples of each prime, starting with the first prime number, 2. The multiples of a given prime are generated as a sequence of numbers starting from that prim...
what are all this cryptic gists I found years later
https://gist.github.com/afeistel/648745ce42237e2ba52ce189d8fbc7d1
the sounds of the snakes like hizzing

