#voice-chat-text-0

1 messages · Page 216 of 1

swift valley
#

dms

earnest crag
swift valley
#

Aight, back to work

verbal wind
#

@rugged root A bit of history lesson because I'm curious: Why did Python chose to go with spam, ham, eggs instead of the normally seen foo, bar, baz? Is it Monty Python again?

rugged root
#

!stream 939245274126250015

wise cargoBOT
#

✅ @earnest crag can now stream until <t:1699985742:f>.

golden sonnet
#

hi

#

how's it going?

earnest crag
rugged root
#

!stream 939245274126250015 30M

wise cargoBOT
#

✅ @earnest crag can now stream until <t:1699987632:f>.

golden sonnet
#

is it normal for docker compose up to download more stuff after i've already built?

#

am i forgetting something?

rugged root
#

There may be other containers that aren't built locally

#

Like if you're using a postgres image, that wouldn't be generated locally

golden sonnet
#

oo

#

i should use docker more often

#

am forgetting stuff

rugged root
#

You've reached the extent of my Docker knowledge

golden sonnet
#

yeah i just copu paste config and run build and up

rugged root
#

I just have other people make the compose file and pray

#

None of my personal projects are large enough to justify futzing with containers

golden sonnet
#

yeah am already regretting doing it
personal website
and already got 1.22 gb docker image

rugged root
#

What all do you need or have?

#

Like what additional images do you have tied with it

golden sonnet
#

django
and postgres

rugged root
#

How much data do you have in postgres?

golden sonnet
#

i'm making a new one

#

it was sqlite before

rugged root
#

Gotcha gotcha

#

I have no idea if that's a normal size or not

golden sonnet
#

i'm just doing it to try nginx on docker

swift valley
#

Gotta sleep

earnest crag
#

@rugged root IT WORKS TY!

wind raptor
#

!stream 939245274126250015

wise cargoBOT
#

✅ @earnest crag can now stream until <t:1699988436:f>.

wind raptor
earnest crag
#

projects:

wind raptor
#

!stream 939245274126250015

wise cargoBOT
#

✅ @earnest crag can now stream until <t:1699989575:f>.

gentle flint
earnest crag
gentle flint
#

found this gem

earnest crag
#

@faint ermine

faint ermine
#

C:\Users\r00t\PycharmProjects\pythonProject\venv\Scripts\python.exe "C:\Users\r00t\PycharmProjects\pythonProject\raw POST request\test.py"
HTTP/1.1 400 Bad Request
Server: cloudflare
Date: Tue, 14 Nov 2023 20:03:43 GMT
Content-Type: text/html
Content-Length: 155
Connection: close
CF-RAY: -

<html>
<head><title>400 Bad Request</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<hr><center>cloudflare</center>
</body>
</html>

rugged root
#

!stream 294544723518029824

wise cargoBOT
#

✅ @faint ermine can now stream until <t:1699992567:f>.

earnest crag
rugged root
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

toxic arch
#

you go to prision

gentle flint
rugged root
#

@narrow salmon Hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

rugged root
#

How're you?

earnest crag
narrow salmon
#

Hows you

earnest crag
#
  1. RNG 5 NUMS
#
  1. CORRECT ALG
rugged root
#

Was sick week before last with covid. Still exhausted, but alright beyond that

earnest crag
#
  1. STUDENT ALG
#
  • CORRET RESULT
#
  • STUDENT RES == CR
rugged root
rugged root
#

It's usually Joi that's sick

#

Which she still is

#

So over a year of her being sick now

narrow salmon
#

Mono can be a total b****

rugged root
#

Yeah just the fact that it's STILL an issue....

#

@verbal yacht What's the program you need help on?

earnest crag
#

.png

verbal yacht
#

a dashboard for a discord bot

#

i have problem with th screte key

#

could i share my monitor to help me?

#

im mute and cant do nothing

earnest crag
#

delete the key from code

verbal yacht
#

i deleted it

rugged root
#

More an issue with accidentally exposing your token or secret key

verbal yacht
#

i want to connect a website with the bot

earnest crag
#

temp123

verbal yacht
#

and i dont remember how to program generate a link for the dashboard

#

could someone unmute me?

narrow salmon
#

@rugged root today I got told python is for dumb people

#

should I be offended?

rugged root
#

Is there a safe answer?

#

We're all dumb in our own stupid ways

narrow salmon
#

(tell me to tell them off)

rugged root
#

END THEM

narrow salmon
rugged root
#

Honestly yeah

#

People will believe what they want to believe

toxic arch
narrow salmon
verbal yacht
#

could someone help me with my problem? doesnt need to show my secret key

verbal yacht
#

there are not tutorial

earnest crag
#

start from scratch

verbal yacht
#
from flask_login import LoginManager, UserMixin, login_user, login_required, logout_user, current_user
import json

app = Flask(__name__)
app.secret_key = ''  # Change this to a secure secret key

login_manager = LoginManager()
login_manager.init_app(app)
#

this is the code

#

and where i go to developer portal?

rugged root
#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 134
Member status: status_online 54,763 status_offline 330,388

Members: 385,151

Helpers: 154
Moderation Team: 36
Admins: 14
Directors: 3
Contributors: 47
Leads: 13

Channels: 293

Category: 30
Forum: 3
News: 10
Staff: 121
Stage_Voice: 1
Text: 121
Voice: 7

stuck furnace
#

He's living in your head

prisma swallow
#

hey

#

guys i have a question connected to discord

#

how could i right to speak??

stuck furnace
rugged root
#

Alex how're you

stuck furnace
rugged root
#

Old and tired

stuck furnace
#

Fair enough 😄

narrow salmon
#

#hemlockisbalding

rugged root
#

Nope, no balding on this guy

#

Although I do have the desire to complain about those kids today

narrow salmon
toxic arch
# wise cargo

they dont know im a helper on the python discord server

rugged root
#

I'll be honest, I would love to learn how to play the banjo

#

They're incredible

#

And they're tough to do well

narrow salmon
#

are you familiar with the powerpuff girls?

rugged root
#

Of course

narrow salmon
rugged root
#

howd u get that picture of me

toxic arch
stuck furnace
#

Internet cutting in and out 👋

narrow salmon
rugged root
minor sage
#

got my new laptop

#

think pad t440p I7 4702mq, 16gb ddr3 1600, 1tb ssd(boot drive/programs) 2tb ssd(apps/documents/personal) and a 512gb msata ssd that has kali installed on it

gentle flint
#

Yeshiva University is a private Orthodox Jewish university with four campuses in New York City. The university's undergraduate schools—Yeshiva College, Stern College for Women, Katz School of Science and Health, and Sy Syms School of Business—offer a dual curriculum inspired by Modern–Centrist–Orthodox Judaism's hashkafa (philosophy) of Torah Um...

rugged root
#

@solid perch

#

Might try this site

#

!stream 317279909112446976 30M

wise cargoBOT
#

✅ @somber heath can now stream until <t:1700000196:f>.

whole bear
#
narrow salmon
wise cargoBOT
#

failmail :ok_hand: applied timeout to @gentle flint until <t:1700001424:f> (10 minutes) (reason: attachments spam - sent 7 attachments).

The <@&831776746206265384> have been alerted for review.

rugged root
#

!unmute 473859714162360320

wise cargoBOT
#

failmail :ok_hand: pardoned infraction timeout for @gentle flint.

rugged root
#

Well did

gentle flint
gilded rivet
elfin fractal
#

The VVD one is hitting a little bit too close to home.

gilded rivet
elfin fractal
# gilded rivet

it says: This country doesn't stink nearly enough. (It's a pro farm party)

gentle flint
#

^

gilded rivet
gentle flint
# gilded rivet

this one should be "there are two genders: nfts and crying yourself to sleep while jerking off"

elfin fractal
#

that one isn't great

gentle flint
#

it's from an alt-right party who is very anti-lgbt and believes in conspiracy theories

#

and wanted to make their own society of people who thought the same way they did

elfin fractal
#

also believes we should support russia instead of ukraine

gentle flint
#

^

elfin fractal
#

openly calls putin his idol

gentle flint
#

@elfin fractal i have more

#

hang on

whole bear
#

be back in a bit

elfin fractal
#

any one for volt?

gentle flint
#

no, sadly not

#

that's all I've got

#

you could think of one

somber heath
#

Meauxbi Dykk.

#

@native pike 👋

gilded rivet
somber heath
#

@untold moat 👋

#

@chrome finch 👋

gilded rivet
somber heath
#

@gilded ibex 👋

whole bear
minor sage
minor sage
#

year 2 of waiting for

minor sage
#

@carmine sentinel i dmd you respond when you get a chance

minor sage
somber heath
#

@brittle ledge 👋

cosmic bison
#

windows is a bit silly and goofy

minor sage
#

windows is goofy thanks man it worked @cosmic bison

#

new laptop life be like lol

solid perch
#

I kinda have

#

@untold cargo ive mainly done html but ive made my own text based games

#

Im gonna try to make a pong game myself without a tutorial

#

Idk how its gonna go but imma try

#

@minor sage i made my first text game where the text changed colors for certain events and interactions with Python. Took a week learning and making it at the same time

#

@minor sage I had a book called Python Bible. Had machine learning. Development. Engineering. Pretty much everything.

#

I'm here

#

@untold cargo im here

#

Just have to be muted since my bf mom came back from a surgery

#

Im a female tamale

#

Ye

whole bear
#

@solid perch

solid perch
#

What

#

Ye

minor sage
#

tamale

solid perch
#

Bro read what i said

#

It says the reason

#

Its fine lmao

solid perch
#

Mimo allows html, css, SQL and Python

#

Python is limited on Mimo since it doesnt have much to import

#

i tried

#

They dont work

#

The official sites dont allow for IOS installment

minor sage
#

the offical sites dont allow for ANDRIOD installment

solid perch
#

Big SAD

minor sage
#

yes big sad

solid perch
#

Naruto, Violet Evergarden, InuYasha, SAO, GGO, Alicization, Bleach, Death Note, Rising of the Shield Hero, etc etc

solid perch
#

Tons of anime mainly dubbed

solid perch
solid perch
#

She knows i favor android

#

Ig

#

Ig = i guess

#

For games and such

#

But i chose to code

#

Because its portable and easy to use

#

Mainly simulators, minecraft, roblox, farming sim

#

Its got around 256gb? I think? I forgot

#

Its got lots of storage

#

My ipad is littered with games…..

#

I love games and it makes me wanna make games even more

#

I hope to go into cybersecurity and have game dev as a hobby

#

And i know some C#

#

And html, css, javascript and python

#

I also am learning 5 languages :p

#

German, swedish, french, spanish, japanese

#

私話日本語と英語が話せます

#

“I can speak japanese and english”

heady rock
#

Every asian parents dream child

solid perch
#

I wanna make more friends, learn about other cultures and learn about the different people

#

Im asian….

#

XD

#

But im asian american

#

You copy the code

#

And paste it into the email

#

Or

#

Save the file and attach it to the email

heady rock
#

in all seriousness I admire the amount of your work and dedication, learning 5 languages just... wow!

solid perch
#

Lmao thanks

#

10 if you count programming languages

#

XD

#

Ik some about translating binary and hex

#

Binary is fun :p

heady rock
#

Yea, the programming languages are already impressive enough but as someone who is still stuck on the second level of german in Duolingo I commend you for the 5 human languages

heady rock
solid perch
#

Lmao

#

XD

#

People really say “You’re too asian to be asian” XD

heady rock
solid perch
#

XD

#

I feel like this guy in vc hates women or something with the way he talks about me being a girl

heady rock
#

which guy? I haven't been in voice chat much

solid perch
#

@whole bear

#

Do you hate women or something? Or are they a rare pokemon to you?

#

Just for some reason the way you talked about me or about me being woman…

#

Didnt sound right or nice

#

And you cant just put yourself on a woman when you meet one yk cant just suddenly flirt mk? Never know when one is taken

vocal basin
#

went back to playing around with these generated images

brittle ledge
solid perch
#

@whole bear im routing for you to be able to handle it and such. You’re ok. Just my advice to you is to treat them with respect like you would a teacher yk?

vocal basin
#

trying to translate Python code I have into Java

solid perch
#

I can tell youre a nice guy just dont let women being present get to your head

vocal basin
#

turned out, I had wrong functions for distances in wrapping geometries

solid perch
#

I had a friend who was obsessed with making inappropriate jokes to any female even teachers XD dont think i need to say what happened to them

vocal basin
#

(toroid and projective plane were swapped)

solid perch
#

@whole bear its ok. Thank you for your apology. I respect you for that. And i hope all goes well for you

vocal basin
#

for some I reason I always call it "projectional' instead "projective"
even though in my language it's closer to "projective" anyway

solid perch
#

I hope i wasnt top harsh to you

#

Hm?

vocal basin
#

chess?

solid perch
#

Lol

#

@untold cargo i play but i wanna code rn

#

I might later tho

heady rock
#

I'm crap at chess sorry, trying to learn at moment

solid perch
#

I used to be very good at it

#

Lmao

#

Just nothing inappropriate XD

vocal basin
solid perch
#

Huh different site it seems

vocal basin
#

so now I have it amplified by 33% compared to earlier

whole bear
#
Chess.com

Login to your Chess.com account, and start enjoying all the chess games, videos, and puzzles that are waiting for you! If you have any issues while logging into your account, do not worry. You can recover your password, or drop us a message and we will gladly help.

solid perch
#

Imma keep programming :3 ill still be here tho if i take a min to reply, its cuz im using my ipad to code and my phone to text when i can

vocal basin
solid perch
#

Alisa, Chess.com is more commonly used for mobile and pc

vocal basin
#

I might be able to access it from a phone, actually

#

it's a common practice for mobile apps to have extra mirros built in

solid perch
#

You should be able to use it on your phone

#

Ah. Are you perhaps a minor? You dont have to answer that but im curious about “for reasons” you can dm if you’d wish to answer privately but i can understand if you choose not to answer

vocal basin
solid perch
#

You dont need an acc to play

vocal basin
#

it's not an account issue

solid perch
#

I wonder what China’s version of AT&T is…

vocal basin
heady rock
solid perch
#

OPAD

#

OPAL

#

OPI- no

somber heath
#

@river rover 👋

solid perch
#

XD heyo

#

Awe

#

Need a hug?

#

Either of you

#

Bro…

#

Im scared….

heady rock
solid perch
#

Ngl i was in STEM club in highschool and i was the only girl out of 11 guys..

#

I was also more concerned when it seemed like the teachers seemed too nice

#

I plan to create educational but fun games

#

But i also have a game i wanna recreate that got shut down

#

Ive loved to play games and upon discovering that anyone can do it, thats what drives me to try to code

#

The teacher would give me $20 at the field trip to get food since my parents neglected to let me have enough cash to get food. But also was… a bit touchy when it came to my shoulder

#

Hes super nice but…

vocal basin
#

generating it for desktop background size takes too much memory

solid perch
#

Ikr

#

shivers

vocal basin
#

though, well, it's double the required size since I'm also doing stuff for animation

solid perch
#

I even was building a robot in his classroom

heady rock
solid perch
#

But one of his students took it apart for their project after he told the class to not mess with it

#

And i thought i made it obvious to the teacher btw because i would gently pull my shoulder away

vocal basin
#

most of the heavy maths is in how the colour scheme works

solid perch
#

I worked so hard on robots.. for 2 years

#

Just for a student to take it apart for their project

#

I even cut myself and i cut metal to fit what i needed TwT

heady rock
solid perch
#

Anyways imma continue coding

vocal basin
#

I should somehow find a way to make this more stable

heady rock
#

it looks like mushrooms on a very lagre avocado

vocal basin
#

I also separated generation and rendering

#

so I can re-render with different colours

heady rock
#

oh god I see it

vocal basin
#

though I have a problem that I don't know how to rotate vectors randomly

heady rock
vocal basin
#

in 2 and 3 dimensions it's relatively easy to do

#

but I need 10

heady rock
#

it giving Vincent van Gogh

solid perch
#

Heyo

#

I expected another human. That's for sure

#

Or maybe a monkey? A fish? A mushroom?

#

I'm not picky

#

XD

vocal basin
#

it seems to usually separate into linear-ish and lightning-like structures

heady rock
vocal basin
somber heath
#

@slow furnace 👋

vocal basin
#

I just realised I don't remember where I normalise the colours

#

apparently it happens after the time-based rotation

#

looks like the origin was somewhere in the left part of the image

solid perch
#

Imma do my laundry in a bit

heady rock
#

it was me

#

sorry opal you're surrounded by a bunch of mutes, you stuck talking to yourself like a crazy person

terse garden
#

sup bro

#

no msges again

#

coudlnt tell u

#

dunno y they have that, probably for bots?

#

yeh but u can sit 3 days in a discord and do that latr

heady rock
#

oh yea that's happened to me on other severs

terse garden
#

ig, but im also impatient and i dont do that

heady rock
#

joins AHHHHHHHHHHHHHHH leaves

#

like a jumpscare

#

other servers require phone numbers

#

and I dont like giving out that much information

terse garden
#

phone number generators

#

skype

#

lots of ways 2 bypass that

heady rock
#

plus after 3 days I already met the requirements to voice chat, it's not that big of a problem

vocal basin
#

I changed something; idk if it's noticeable

heady rock
#

Hey, opal do you have a bird because I don't know why but I heard a bird squeak when you were talking?

vocal basin
#

the idea is that it now changes colour at constant speed no matter how far it is from the origin

#

because, in colour space, it always is the same distance from the origin

solid perch
#

Heyo

#

I've been here

#

And for now. It's not a good idea to unmute

vocal basin
solid perch
#

Hm?

#

I'm coding on ipad rn

#

I forgot I have a Replit code

vocal basin
whole bear
#

The quietest place on earth

heady rock
#

you know what this reminds me of?

#

played it when it was still in its prime but then it turned kind cringe

vocal basin
#

same source different colours

#

pink-ish

heady rock
#

I love how the colors accentuate different shapes within the image

vocal basin
#

I did expm1 on the values

#

... and the inverse, log1p

#

what other functions would be fun to apply

solid perch
#

How do you overwrite or clear the output of the console?... I had brain fart

vocal basin
#

look up ANSI control sequences

somber heath
#

@crystal prairie 👋

vocal basin
#

ANSI escape sequences are a standard for in-band signaling to control cursor location, color, font styling, and other options on video text terminals and terminal emulators. Certain sequences of bytes, most starting with an ASCII escape character and a bracket character, are embedded into text. The terminal interprets these sequences as command...

vocal basin
#

which is one of the ways to demonstrate how linear sin is

#

tbf, I'm restricting all values to [-1,+1] range

#

sin(2x)

#

I'm not good at explaining it

#

I use DFS mostly, I think

#

I have merged strategies in other configs

#

DFS locally, BFS globally

#

making parts smaller until it reduces to noise

#

(this is all post-processing)

#

there is a structure that you can't see
which is actually fractal-ish

tulip gyro
vocal basin
#

(this path)

whole bear
#

@solid perchAre you able to play chess?

vocal basin
#

I didn't really think of nodes when making it

solid perch
#

I'm coding with Ontio rn

#

He's helping me with my small project

#

Not my bf lmao

vocal basin
#

I put a queue instead of a stack

vocal basin
#

it triggers back-tracking at 31px away

#

so I guess BFS-ish

#

true DFS does this

vocal basin
solid perch
#

I'm learning how to apply colors to python

vocal basin
#

okay, I'm not going insane, it's not always those three corners

somber heath
vocal basin
#

I don't like what result queues give

solid perch
#

Coding with a buddy rn :3

#

It's 9 29pm

solid perch
#

Daylight savings time ended

heady rock
#

sorry didn't mean to reference that

solid perch
#

Lmao

#

It's fine

#

I used to live in Cali and az

vocal basin
#

I'll try to find an animated one with this pattern

#

whaaa
I forgot I have this

tulip gyro
solid perch
#

Art

#

I have tons

tulip gyro
vocal basin
#

sometimes also fun to generate with odd aspect ratios

tulip gyro
solid perch
#

It's a frog XD

#

A from mushroom

#

*frog

#

Frogshroom

#

Not off a cliff

#

Yee you too

#

I sent request

#

Friend is teaching me tricks and stuff for python

#

@tulip gyro ^

#

Hm?

#

Thanks lmao

vocal basin
#

still experimenting

#

this and the previous dark one differ in how "invisible" (two non-rgb channels) are distributed

short owl
#

van gogh

#

kinda...

whole bear
#

@coarse turret

#

yo

#

wassup

#

oh u wanna vc

coarse turret
#

obviously.

whole bear
#

dude i cant talk

#

my accent is fine

#

i needa verify

#

!voiceverify

coarse turret
#

@candid fox can't stream

#

@wind raptor

coarse turret
#

@old otter ?

#

um...if I knew who to contact I would only contact that one person

#

ok I guess this isn't the server to stream code in

#

Live-Coding doesn't seem to work

minor sage
#

no it is everyone is just sleeping

coarse turret
#

they're green?

#

this is honestly how I remember this server

minor sage
#

my majority of everyone here have fams / jobs

coarse turret
#

me too

#

I teach AP Stats in the morning

minor sage
#

dawg is still up at almost 230am est

somber heath
#

You're asking them to monitor your stream. Streaming permissions are generally temporary, with avenues for advancement.

coarse turret
#

who are those moderators?

#

I checked the attributes for the active moderators but didn't see anyone marked as voice-regular

somber heath
#

Mr. Hemlock, Mindful Dev (Chris), LX, Luna, a few others. Hemlock and Mindful are your best bets.

somber heath
#

There is no labelling marking them as regular.

#

There have been pornographic abuses in the past re: streaming. Given the all ages public nature of the server, the restrictions have become a regrettable fact of life.

elfin fractal
#

we don't sleep, we recharge

vocal basin
#

there isn't really a "top" there, it's wrapping around the edges

#

it's partially random

#

and wrapping in an unusual way

#

normally toroids are used, but this one is projective plane

unborn isle
#

Hey, guys I have a probblem with my python

#

it is trying to eat me can I get some help ? what should I do with it?

#

I found the solution I need a snake_case thank u guys

#

have a nice day

obsidian dragon
vocal basin
#

I turned off something, so now it's overly bright

#

someone recently asked me to replicate something similar to this (this one is what I did after looking at what they've sent)

#
X, Y = np.meshgrid(np.linspace(-10, 10, 1000), np.linspace(-10, 10, 1000))
plt.imshow(np.sin(np.arctan2(Y, X) * 5 + np.sin(np.hypot(X, Y)) * np.hypot(X, Y)), cmap='binary')
#

I'm not sure what the original used

#

and the original was in Java

#

I finally have a visualisation for what happens with colours (though simplified)

vocal basin
# vocal basin

and this is what happens if colours are not **.5d before rendering:

#

too much red, too much blue, too little purple

vocal basin
#

now I'm actually not sure what is happening

#

okay, so imshow seems to do **.5 inside

somber heath
#

@plucky rose 👋

vocal basin
#

yes

#

there pyplot.imshow takes (X,Y,3) array with inputs between 0.0 and 1.0

#

so it should look differently if I use ints between 0 and 255

#

huh
the result is the same

#

even more confusing now

somber heath
#

@cloud oak 👋

vocal basin
#

I think the one on the right is more correct since there's less of bright red/green/blue appearing

vocal basin
#

I should probably make it an actual path instead of just random points

vocal basin
#

and same path from another perspective

#

(X and Y here are two hidden dimensions)

#

I still don't know how to efficiently generate paths on the surface of a sphere

#

in the image generation code, I just normalise after each move

wet scroll
#

hey opal :3

#

hey ahmet

somber heath
#

@digital flame 👋

digital flame
#

hey!

vocal basin
#

the ideal option would be to just generate gaussian random walk in higher dimension, then somehow reduce it

#

I doubt that I can use polar

wet scroll
#

imma go take a shower i stink

vocal basin
#

I need to do it with 5D sphere

#

maybe I should be generating rotation matrices instead of points

somber heath
#

@pure zodiac 👋

pure zodiac
#

Hi

#

I need to regain my python wisdom back

digital flame
#

bro Can I ask for something?

fickle plaza
#

@somber heath Hello!

vocal basin
digital flame
#

I am new ın python

#

can someone teach me

somber heath
#

YouTube, Corey Schafer, Playlist for Python Beginners.

#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

somber heath
digital flame
fickle plaza
#

Code = Code()
Gui = Gui(Code)
Gui.render()

def loop():
while True:
Code.start()
Gui.update()
threading.Thread(target=loop).start()

@somber heath is there any way i can delay my Gui.update() inside of the thread without delaying my Code.start()?

vocal basin
#

is there anything after start()?

fickle plaza
#

right but when i use time.sleep (1) it will loop over and end up delaying my Code.start()

vocal basin
#

if no, threading doesn't actually complish much

fickle plaza
vocal basin
#

shouldn't Code.start and Gui.update be in separate threads?

fickle plaza
vocal basin
#
Code = Code()
Gui = Gui(Code)
Gui.render()

def loop():
    while True:
        Code.start()
threading.Thread(target=loop).start()
while True:
    Gui.update()
fickle plaza
#

while True:
Gui.update()
time.sleep (0.25)

this should slow down the gui's updates while leaving the Code.start() to be threaded and unaffected?

vocal basin
#

(but threads do interfere with each other when both are active, because they share resources)

fickle plaza
#

my goal is to be able to leave code.start at full speed as its calculating intense things while reducing my updates amount of updates so that it can leave more resources for code.start to loop

vocal basin
#

why isn't code.start in a separate process?

fickle plaza
#

no reason i guess, i'm new to coding

wet scroll
#

I AM BACC!!!

vocal basin
#

Python still has some issues with CPU-intensive tasks

fickle plaza
#

i just need my gui.update to loop somehow

#

i thought the only way was with threading

vocal basin
#

you can interleave calling two methods manually

#

general idea:

update_gui_at = time.time()
while True:
    code.start()
    if time.time() > update_gui_at:
        gui.update()
        update_gui_at += 1/60
fickle plaza
#
Code = Code()
Gui = Gui(Code)
Gui.render()

def loop():
    while True:
        Code.start()
threading.Thread(target=loop).start()
while True:
    Gui.update()
    time.sleep (1)

but generally speaking by using time.sleep this way it is leaving more resources for the Code.start right?

vocal basin
#

where threading will help is if code.start waits on any IO actions

vocal basin
fickle plaza
#

i'm using custom tkinter for my gui

vocal basin
#

did you measure the performance impact of GUI update? (if it's not much, it might be easier to just call both code.start and gui.update from the same place)

fickle plaza
#

i do not need threading at all for my gui updates

#

i only need it in my code.start

#

but i can't figure out how to loop my gui.update without threading

#

while keeping my code.start with threading

fickle plaza
#

its improved performance by so much, but i still don't understand why update.gui needs threading

vocal basin
#

it doesn't take up an extra thread in that code

#

gui.update is kept in the main thread

#

which is quite a common pattern:
main thread contains an event loop,
extra worker threads do heavier tasks

fickle plaza
vocal basin
#

yes, unless you want to do parallel processing (more than one CPU core worth of performance)

#

for just one worker thread it should be fine

fickle plaza
#

anything to improve the performance of code.start

vocal basin
#

is it sequential? can it be parallelised?

#

i.e. does running two code.start at the same time make any sense?

#

(with sequential meaning it's likely not possible)

fickle plaza
#

erm

#

i can explain what happens inside of code.start in a sec

#

ill be right back

#

the code is sequential, as it is executed line by line in a single thread. but, it seems that there are some parts of the code that could potentially be parallelized using threads.

vocal basin
#

what is the most resource-intensive part of it?
some sort of calculation?

fickle plaza
#

well it's using yolov8, an object detection model, it then takes those boxes that are drawn, does a bunch of maths to calculate a specific coordinate inside, and then moves the mouse to that coordinate

vocal basin
#

where is it taking input from?

#

camera? video?

fickle plaza
#

mss

#

screenshots of my screen

#

live inference

#

could we move to somewhere more private or could i communicate via vc instead?

vocal basin
#
input
  |
  \_______ (frames)
   | | | |
   V V V V
 worker pool
   | | | |
   V V V V
  collector
   |
  /
  |
events
#

I don't do DMs/private calls

fickle plaza
#

i mean can i talk in this vc

vocal basin
#

ah, that yes (I would be able to hear)

#

it might be better structured as many separate threads/tasks

#

using asyncio

#

I don't remember if asyncio provides an easy way to do multiprocessing,
but it has quite a trivial interface for threading

#

!d asyncio.to_thread

wise cargoBOT
#

coroutine asyncio.to_thread(func, /, *args, **kwargs)```
Asynchronously run function *func* in a separate thread.

Any \*args and \*\*kwargs supplied for this function are directly passed to *func*. Also, the current [`contextvars.Context`](https://docs.python.org/3/library/contextvars.html#contextvars.Context) is propagated, allowing context variables from the event loop thread to be accessed in the separate thread.

Return a coroutine that can be awaited to get the eventual result of *func*.

This coroutine function is primarily intended to be used for executing IO-bound functions/methods that would otherwise block the event loop if they were run in the main thread. For example:
vocal basin
#

which just calls the function in a separate thread

#

I don't think so

#

it's restricted for when the moderators are in the VC so they can ensure the contents are appropriate

#

was setting up mediawiki recently

#

... and discovering that much of common wiki templates are held together by random Lua scripts

#

backend, I'd expect (not actually sure)

#

infoboxes use Lua at some level

#

This Lua module is used on approximately 4,130,000 pages, or roughly 7% of all pages.

rugged root
#

That's... weird

vocal basin
#

and, of course, those templates don't work on self-deployed wiki

#

it's ran during rendering

#

server-side

#

changing the template, likely, re-renders all the pages

rugged root
#

That just...

#

That just feels dumb to have it hosted like that

#

Like why expose it if it's server-side

vocal basin
#

because wiki
almost all config is pages themselves

rugged root
vocal basin
#

want to change CSS -> edit MediaWiki:Common.css page

rugged root
#

That just feels wrong

scarlet halo
#

i think i broke my vscode with monkeypatch

#

the extension host wont start

vocal basin
#

what jquery does

#

generally common in JS

#

messing with prototypes

#

prototypes aren't supposed to be mutable

#

but they are

#

Python's classes and JS prototypes have things common which might increase confusion

#

classes are objects, prototypes are objects

#

on attribute miss, both do attribute access on the base

#

even in prototype-oriented, there are different options

#

e.g. storing shared prototype vs copying the prototype

#

and for the latter, either storing it exclusively or extending it

flint hill
#

@rugged root poke poke

vocal basin
#
const createStack = () => {
    const stack = [];
    return {
        push: (element) => stack.push(element),
        pop: () => stack.pop,
        top: () => stack[-1],
    };
};

const nonDuplicateTop = () => {
    const stack = createStack();
    const push = stack.push;
    stack.push = (element) => {
        if (stack.top() !== element) {
            push(element);
        }
    }
    return stack;
};
#

ig this counts as prototype-oriented

#

what's the intended interface?

#

pure concat is troublesome

#

tuples are better in python

#

(for semi-arbitrary, at least concat with a separator)

#

like key:key

#

in JS they're same

#

classes don't really exist in JS runtime

#

they do in TS compilation

rugged root
#

@deep orbit Yo

deep orbit
#

hi

vocal basin
#

!e

from abc import ABC, abstractmethod

class Inner[R, V](ABC):
    @abstractmethod
    def get(self, right: R) -> V: ...

class TwoKeyDict[L, R, V](ABC):
    @abstractmethod
    def get(self, left: L, right: R) -> V: ...

    @abstractmethod
    def inner(self, left: L) -> Inner[R, V]: ...
wise cargoBOT
#

@vocal basin :warning: Your 3.12 eval job has completed with return code 0.

[No output]
deep orbit
#

do you know how to fix this

vocal basin
#

(just verifying that it parses)

vocal basin
deep orbit
#

oh i need 50 messages to talk

deep orbit
vocal basin
#

official docs?

deep orbit
#

3.12

deep orbit
rugged root
#

May not support 3.12 yet, double checking

deep orbit
#

alright

#

ohh

#

alr

vocal basin
#

py

#

(with args)

rugged root
#

py -3.10 -m pip install [the rest of it all here blah blah]

deep orbit
#

i cant screenshare here unfortunately lol

deep orbit
#

wait where do i get the rest

rugged root
#

It's the same installs

deep orbit
#

oh alr

vocal basin
#

what even is an optimiser

rugged root
#

You just change the first bit to what I put

vocal basin
deep orbit
#

or for pytorch

rugged root
deep orbit
#

i only see 3.12 tho

#

ty

vocal basin
deep orbit
#

Python 3.10.13 - Aug. 24, 2023

#

this one

rugged root
#

Yeah that's the security release

#

Trying to find the one with the installer

vocal basin
deep orbit
rugged root
deep orbit
#

oh

#

alr

#

so what now

#

i dont see where i can install it

#

yeah

vocal basin
deep orbit
#

pep a

#

oh got it

vocal basin
#

you even probably shouldn't add it to PATH because it's old

deep orbit
#

alr

#

its downloaded lol

#

finally

#

so how do i delete the 3.12

vocal basin
#

you don't need to

deep orbit
#

alr cuz when i check it it only says 3.12 just so yk

vocal basin
#

py -3.10 instead of python in cmd

#

and py -3.10 -m pip instead of pip

deep orbit
#

so for pytorch i have to run this

#

what do i replace

vocal basin
#
py -3.10 -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
rugged root
#

Replace pip3 with - that

#

What AF said

deep orbit
#

YESSS

#

omg

#

thanks yall

rugged root
#

@midnight gazelle Yo

vocal basin
#

no, that's waiting until the person I collaborate with decides to continue

midnight gazelle
#

lifes short craft is too big to learn

vocal basin
#

yes

midnight gazelle
#

u dont read

deep orbit
#

this guy is basically telling me after i installed it, to import it but it says the term import isnt recongnised

rugged root
#

py -3.10

deep orbit
#

ahhhh

#

ty

vocal basin
#

repĺ

midnight gazelle
#

wow

deep orbit
#

not defined

#

huh

midnight gazelle
vocal basin
vocal basin
midnight gazelle
#

ionno why ppl always focus on negatives

deep orbit
vocal basin
#

what GPU do you have?

deep orbit
#

geforce

#

4070

vocal basin
deep orbit
#

yeah i installed 12.1

midnight gazelle
#

u guys read books on like a specefic programming lingo

deep orbit
#

@rugged root do you know why?

vocal basin
#

does it work in a venv?

deep orbit
#

whats that

gentle flint
#

virtual environment

vocal basin
#

it might actually be because of something in PATH messing with it

deep orbit
#

damn

#

this is complicated lol

#

so what should i do now

#

maybe i schould try cuda again

rugged root
#

One sec, double checking something

gentle flint
#

make a venv, activate it, install it in there, run it in there

#

see if that works

deep orbit
#

alr

rugged root
#

Just like with the install, you'll want to do py -3.10 to tell it to make the venv with 3.10

deep orbit
#

so what do i type to install it

deep orbit
#

just venv?

vocal basin
#

by Ryan Dahl

deep orbit
#

c:>Python35\python -m venv c:\path\to\myenv

#

or this

vocal basin
vocal basin
vocal basin
rugged root
#

You're in the folder location right?

#

Like where you want your project to be?

#

@deep orbit Okay so

#

Going to do some commands and I'll have you do them one at a time

pastel hill
#

sup peeps

rugged root
#

!stream 130433305219694592

wise cargoBOT
#

✅ @tranquil wind can now stream until <t:1700063006:f>.

pastel hill
#

what does globals() do

pastel hill
#

ion understand this comprehension

 label = [name for name, obj in globals().items() if obj is dictionary][0]
#

also whats the purpose of that [0] inthe end @rugged root

#

oh

rugged root
#
cd ~
mkdir projects\ai_thing
cd projects\ai_thing
py -3.10 venv .\.venv
.venv\Scripts\activate.bat
#

So to explain

#

That'll take you to your user folder, then make a folder called Projects that then has a folder called ai_thing in it

#

You'll then go into those folders, then make the venv inside of ai_thing

deep orbit
#

mhm

deep orbit
#

maybe i can screenshare?

rugged root
#

Do it one line at a time

pastel hill
#

oh i got it'

deep orbit
#

i did it line per line

#

where do i go

rugged root
#

My bad

#

Give me one sec

pastel hill
#

!voiceverify

rugged root
#

ls

wild island
#

Hey

#

Anybody familer with python with blender

deep orbit
#

yeah

#

i did

#

same thing

pastel hill
#

from futurama

rugged root
#

py -3.10 -m venv .\.venv

#

.venv\Scripts\Activate.ps1

pastel hill
#

lol ion have mic

deep orbit
pastel hill
#

for how long is it up

#

this vc???

deep orbit
rugged root
#

One sec

#

Sorry

deep orbit
#

Np

#

take your time

#

im studying in the meantime

pastel hill
rugged root
#

Trying to reset a user password for something

fading fractal
#

How are you guys

pastel hill
rugged root
#

No, just have to go to the right program site to do it

pastel hill
fading fractal
pastel hill
#

lol

pastel hill
rugged root
#

@deep orbit Can you do ls again?

deep orbit
#

Yup

#

i did

rugged root
#

There a folder in there now?

deep orbit
fading fractal
rugged root
#

./.venv/Scripts/Activate.ps1

#

That should do it

#

It should say (.venv) before the prompt now

fading fractal
#

what are you guys doing?

deep orbit
rugged root
#

Yep, that's fine

deep orbit
rugged root
#

That'll tell you what you need to know about the voice gate

deep orbit
#

it just gave me a new line

#

np

#

i wish i could screenshare tho

rugged root
#

!stream 1106252301544476694

wise cargoBOT
#

✅ @deep orbit can now stream until <t:1700064127:f>.

gentle flint
rugged root
#

Oh right, forgot about that

deep orbit
#

hi

fading fractal
#

what is a ps1 file?

rugged root
#

Thank you ooooooof

gentle flint
#

np

rugged root
#

exit()

#

py -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

fading fractal
#

Congratiulation you guys did it i would say

#

Ahh ok thank you

#

and venv is a 2 python environment ?

#

Second

rugged root
#

More or less. Just makes a copy that won't mess with any other versions on your system

fading fractal
#

ah i see i havnt run into that problem jet

#

i think pycharm is already doing this stuff already isnt it

#

Always thought what it was i could guess it but wasnt sure until now

rugged root
fading fractal
#

is there a diffrence between installing libarys with pip and pip3

#

ok

#

i see

#

nah u did a good job

#

i understand it

#

I have my fun learning working with sqlite3

#

Yea im making a class where i keep all my database functions and the class so i can use it in multiple projects of mine

#

Do u play Portal?

rugged root
#

Portal's awesome

fading fractal
#

Yea did u played the FanPortal games Portal Reloaded and Portal Stories: Mel

rugged root
#

I didn't even know those were a thing

vocal basin
#

around 60% too

fading fractal
#

15 years an avreage of 10$
15 Years have 5340 days
2000 Games bught Thats an avage of 0,3745318352059925 Games bought a day
Money spend total (10$per game) 20.000
Money spend a day 3,745318352059925$

#

cant spell avreage

#

idk how xd

#

Well Mr. Hemlock u spend if a game cost 10$ spend 3,745318352059925$ per day for your collection

vocal basin
#

TIL "average" originally/etymologically meant loss/damage

fading fractal
#

wait i think i did something wrong wait

vocal basin
rugged root
#

Yeah I've been guilty of that

vocal basin
#

it wasn't as expensive at the time

rugged root
#

High pricetag does not mean better game

vocal basin
#

now it's 7 times the price that I bought it for

fading fractal
#

now the math is mabye correct

vocal basin
#

tetris effect costs a lot in USD too

#

cheap-ish here

#

I don't play PVP there normally

#

only 2 games so far

wise loom
rugged root
#

@wise loom We were hearing your background talk

#

Wasn't sure if it was something you didn't want others to here and it was also a bit disruptive

flint hill
#

while true :
choice
if choice in (,'1','2','3')
if choice==1
do wat to exacute a diffent function based on input

rugged root
#
while True:
  user_input = input()
  if user_input == "1":
    function()
minor sapphire
#

<function>()

woeful salmon
rugged root
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

minor sapphire
#

!rule 4

wise cargoBOT
#

4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.

minor sapphire
#

how would you describe the shape of this flower?

rugged root
#

Columns?

#

Cylidrical

#

Cool

#

Like shinto religious bells

solid perch
#

Heyo

#

I just woke up a few min ago

#

@rugged root ^

rugged root
#

Jealous

solid perch
#

Bro

#

I just woke up

#

I'm tired man

#

I can't have much coffee

#

Heart issues

#

I have some health problems due to my parents

#

Even drinking energy drinks I'd have to spread out how much I drink throughout the day or the course of a few days

#

Half is hereditary. The other half might be caused by my step dads carelessness

#

I have tmj, and an uneven sternum that likes to move a bit,l

#

I can drink sodas. Max 2 cans a day

#

And my body is not proportional with each other. I have weirdly Long arms and legs but a short torso

#

And when I went to the doctor with my mom a few times. She never noticed I was severely underweight by 20-30lbs

#

And my step-dad would keep hugging me too hard (even tho I don't really like hugs) to the point where I couldn't breathe and it hurt my ribs and sternum

#

:p but it's health

#

If it was me talking about my ptsd. Then this wouldn't be a place for it

#

Huh?

whole bear
#

When can you unmute?

solid perch
#

Whenever I can

#

Why?

#

Is it Cuz u still want ur anime impressions?

vocal basin
#

it is related to incompleteness theorems

rugged root
#

Gotcha

solid perch
#

@whole bear your pfp reminds me of the reincarnation of the demon king. (I forgot the true name of the anime show)

wind raptor
#

@flint hill yes?

strong arch
solid perch
#

@rugged root practical joke meets April 1st

flint hill
#

can you drop to code help

whole bear
minor sapphire
#
import inflect
p = inflect.engine()

verified = {}
def recurse_until_4(n:int):
    if n in verified: 
        return verified[n]
    if n == 4: return 1
    return 1 + recurse_until_4(len(p.number_to_words(n)))
starting_value = 3642788
i = starting_value
try:
    while True:
        try:
            recursion_times = recurse_until_4(i)
        except RecursionError():
            print(f"!! CONJECTURE DISPROVEN {i} forms a recursive loop and does not reach 4 !!")
            raise KeyboardInterrupt
        if recursion_times > 7:
            print("Further conjecture disproven, it took more than 7 steps. Continuing to disprove main conjecture.")
        verified[i] = recursion_times
        print(f"{i=} {recursion_times=}")
        i += 1
except KeyboardInterrupt:
    results = "\n".join([f"{a}: {b}" for a,b in verified.items()])
    with open("4theorumresults.txt","w") as f:
        f.write(results)
solid perch
#

@rugged root I don't wanna stop

#

XD