#voice-chat-text-0

1 messages · Page 247 of 1

rugged root
#

Sorry, my brain is fried

#

Back in a sec,

last wharf
#

im still new to machine learning

#

any sources yall recommend to learn from?

#

im still in the basics

#

classification regression decision trees

mild quartz
#
#

https://arxiv.org/abs/1908.09257 <- if you want vector to be same dimension

rugged root
#

I'm disappointed

last wharf
#

this is too advanced

rugged root
last wharf
#

im too dumb for this shit

rugged root
#

Same

last wharf
#

nah bros lying

#

😭

rugged root
#

No legit. This is way over my head

vocal basin
rugged root
#

"Data ah... finds a way."

rugged root
#

Might be something pinned

#

Can't remember

vocal basin
#

there was, like, an experiment where students were asked to analyse a set of 2D data
and only a few plotted it and saw that it was a picture of a dinosaur

spiral umbra
#

vocal basin
#

(I don't remember where it was)

last wharf
#

alr

#

I was doing andrew ngs course

last wharf
#

and kaggle

rugged root
vocal basin
spiral umbra
#

whatsapp guys

rugged root
#

And be excited every time

last wharf
rugged root
whole bear
#

I'm back

vocal basin
#

lichess, challenge sent on site itself

whole bear
vocal basin
#

future-proof is scale not yes/no

rugged root
#

@whole bear So are you starting with no knowledge or looking for specific steps to improve yourself in a particular thing?

whole bear
#

That was close

whole bear
#

my english is very bad so sorry if there are any mistakes

rugged root
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.

whole bear
rugged root
#

You can do tons with it

#

It's great

somber heath
#

@north pawn 👋

pale nacelle
#

Welcome

rugged root
#

I'm back, sorry

upper basin
#

Can you try this out?

rugged root
#

XD XD LAWL reader

upper basin
#

Advent Children

whole bear
#

@rugged root I beat plome in chess 2 times

rugged root
#

Cool

somber heath
#

Influential rocket shrimp.

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.

tall ridge
whole bear
#

Help

turbid sandal
#

Pic of a bird fighting a squirrel...

gentle flint
#

The Vigenère cipher (French pronunciation: [viʒnɛːʁ]) is a method of encrypting alphabetic text where each letter of the plaintext is encoded with a different Caesar cipher, whose increment is determined by the corresponding letter of another text, the key.
For example, if the plaintext is attacking tonight and the key is OCULORHINOLARINGOLOGY, ...

turbid sandal
whole bear
#

!res

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.

turbid sandal
gentle flint
somber heath
#

@snow bone 👋

muted hinge
#

LOL, amazing

whole bear
#

Lily

#

Can you stream me I wanna code?

muted hinge
#

stalker much?

#

but yes :)

whole bear
whole bear
snow bone
#

SUP

muted hinge
#

!stream 717749310518722691

wise cargoBOT
#

✅ @whole bear can now stream until <t:1706042782:f>.

whole bear
#

Thx

muted hinge
#

!stream 1053732836693258391

wise cargoBOT
#

✅ @turbid sandal can now stream until <t:1706042827:f>.

whole bear
#

Can anyone tell me how to turn on less secure app access?

snow bone
#

what he trying to do

muted hinge
#

I've done this (sending email with python) two months ago if you're curious

snow bone
#

google api?

muted hinge
#

that's literally just a google account setting URL

whole bear
#

Lily

#

what app name do I type?

muted hinge
#

You would need to ask one of the regular VC mods, I would not be comfortable granting permanent video permissions as a new VC mod

snow bone
#

how do u unmute?

muted hinge
#

Right, I appreciate everything you've done for the server, but it's moderation policy to defer to the regular VC mods re. permanent video permissions.

#

Not necessarily, I know that Hemlock and Mindful Chris are around often in VC so you could try asking them.

wise cargoBOT
#

scripts/email_service.py lines 71 to 72

with smtplib.SMTP_SSL("smtp.gmail.com", 465) as smtp_session:
    smtp_session.login(SENDER_ADDRESS, SENDER_PASSWORD)```
muted hinge
#

SENDER_PASSWORD should be your app password

amber raptor
#

Perm Video permission are like fight club

turbid sandal
#

fr

muted hinge
#
import smtplib
from email.message import EmailMessage

with smtplib.SMTP_SSL("smtp.gmail.com", 465) as smtp_session:
    smtp_session.login("example@example.com", APP_PASSWORD)
    msg = EmailMessage()
    msg.set_content(f"Red, yellow, and blue.")
    msg["Subject"] = "Colours"
    msg["From"] = f"John Doe <example@example.com>"
    msg["To"] = "example@example.com"
    smtp_session.send_message(msg)

this is roughly the format

#

video tutorials are a bit 🥴 ime

snow bone
#

what a good course for python

muted hinge
#

the email stdlibs are also confusing

north pawn
#

pygame

snow bone
#

im working on tkinder now

muted hinge
#

Or head to your local library and see if what programming books they have on the shelves.

#

Nothing in general

#

Nope!

#

You can also just call me Richard if you'd like

turbid sandal
muted hinge
#

Only this one. I'm on the PyPA discord server technically as an admin, but I do nothing :P

#

I've heard it enough times, it doesn't faze me at all

turbid sandal
#

||[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]||

muted hinge
#

?

#

Python's one of the easier languages to learn, although there is more depth to it than a cursory look would suggest

#

Keep at it, you don't get better unless you work on your own projects. I'm on year 5 of programming.

#

You can get pretty good in one year. The beginning of learning anything can be rough, you'll be fine most likely-

#

Ah fair. I'm entirely self-taught and I don't mind that.

#

Perhaps, but ya, it can be difficult. That's not itself a thing to worry about in the beginning.

#

But anyway, I'll be heading out now. Cya around!

visual hinge
#

hi

whole bear
#

Yo @olive hedge Whatcha doin?

somber heath
#

!e py for letter in 'abc': print(letter)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | a
002 | b
003 | c
somber heath
#

!e py letter = 'a' print(letter) letter = 'b' print(letter) letter = 'c' print(letter)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | a
002 | b
003 | c
somber heath
#

@fickle wave 👋

#

!e py for each in ['abc', 'def', 'ghi']: print(each)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | abc
002 | def
003 | ghi
whole bear
somber heath
#

@plain knoll 👋

plain knoll
#

Does anyone here know how to reinstall the firmware on a large printer? Hosonsoft printer manufactured in China, I made a mistake when installing the firmware

somber heath
#

!e py a = 'a' b = 'b' c = 'c' d = a, b, c print(d)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

('a', 'b', 'c')
somber heath
#

!e py d = a, b, c print(d)

wise cargoBOT
#

@somber heath :x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     d = a, b, c
004 |         ^
005 | NameError: name 'a' is not defined
plain knoll
#

oke thanks for the information

whole bear
plain knoll
#

I still haven't solved the problem😅

#

Is it still possible if it is repaired by a factory developer with remote control?

somber heath
#

@hollow finch 👋

#

(I think you're the correct one)

hollow finch
#

i cant talk ):

somber heath
hollow finch
#

i need to wait 3 days

plain knoll
#

please make word becouse i not speak English

#

use typing please

somber heath
#

@pine flax 👋

plain knoll
#

the aplication name is PrintExp

somber heath
#

Are you certain the printer was soft-bricked by a failed firmware update?

plain knoll
#

yes

#

right

somber heath
#

Did you lose power mid-way through?

#

That thing looks beefy. One moment, I'm going to look up what that is.

plain knoll
#

no, it's run normally being success, i just import the firmware from company folder instalation

somber heath
#

I think I'm very much the wrong person to be asking about this.

#

You need to be talking to dedicated technical support personnel.

#

This is like a big 3D printer?

plain knoll
somber heath
#

Oh, my, don't listen to me, then.

plain knoll
#

OK, thank you for addressing the problem, I hope the developer company can make improvements with remote control

somber heath
#

@snow bone 👋

snow bone
#

sup

#

lol idk

somber heath
snow bone
#

im jake

#

nice to meet u

#

im useally the same way

#

i useally go by cowboy

#

r u a python dev?

#

well im not i work in emergency management but i want to incorpate coding skills to my work

#

disater relief mainly what it is

#

yes and data

#

i want to write a computer aided dispatch (cad) system

rapid chasm
snow bone
#

im not aware

#

tkinter?

#

so for a desktop app what language is best

somber heath
#

!e py for y in range(3): print(y)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
somber heath
#

!e py y, x = 1, 2 print(y, x)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

1 2
somber heath
#

!e py y, x = 1, 2 print(f'{y} {x}')

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

1 2
somber heath
#

0, 0
0, 1
0, 2
1, 0
1, 1
1, 2
2, 0
2, 1
2, 2

#

!e py for number in '123': for letter in 'abc': print(number, letter)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 1 a
002 | 1 b
003 | 1 c
004 | 2 a
005 | 2 b
006 | 2 c
007 | 3 a
008 | 3 b
009 | 3 c
whole bear
somber heath
#

!e py for _ in range(0): print('Hello, world.')

wise cargoBOT
#

@somber heath :warning: Your 3.12 eval job has completed with return code 0.

[No output]
whole bear
brisk bridge
#

Hi

somber heath
#

!e py for _ in range(1): print('Hello, world.')

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

Hello, world.
somber heath
#

!e py for _ in range(2): print('Hello, world.')

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | Hello, world.
002 | Hello, world.
somber heath
#

!e py for i in range(1): print(i)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

0
somber heath
#

!e py for i in range(2): print(i)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 0
002 | 1
somber heath
#

!e py for i in range(3): print(i)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
whole bear
plain knoll
#

after opening the application a .dmp file appears

whole bear
#

!e
for x in range(1):
for y in range(2):
for z in range(3):
print(x, y, z)

wise cargoBOT
#

@whole bear :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 0 0 0
002 | 0 0 1
003 | 0 0 2
004 | 0 1 0
005 | 0 1 1
006 | 0 1 2
somber heath
#

!e py coordinates = [] for z in range(3): for y in range(3): for x in range(3): coordinates.append((z, y, x)) print(coordinates)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

[(0, 0, 0), (0, 0, 1), (0, 0, 2), (0, 1, 0), (0, 1, 1), (0, 1, 2), (0, 2, 0), (0, 2, 1), (0, 2, 2), (1, 0, 0), (1, 0, 1), (1, 0, 2), (1, 1, 0), (1, 1, 1), (1, 1, 2), (1, 2, 0), (1, 2, 1), (1, 2, 2), (2, 0, 0), (2, 0, 1), (2, 0, 2), (2, 1, 0), (2, 1, 1), (2, 1, 2), (2, 2, 0), (2, 2, 1), (2, 2, 2)]
somber heath
#

!e py my_list = [] print(my_list) my_list.append('abc') print(my_list) my_list.append(123) print(my_list)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | []
002 | ['abc']
003 | ['abc', 123]
somber heath
#

!e py my_list = ['a', 'b', 'c'] my_list[0] = 'd' print(my_list)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

['d', 'b', 'c']
somber heath
#

!e py my_tuple = 'a', 'b', 'c' my_tuple[0] = 'd'

wise cargoBOT
#

@somber heath :x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 2, in <module>
003 |     my_tuple[0] = 'd'
004 |     ~~~~~~~~^^^
005 | TypeError: 'tuple' object does not support item assignment
somber heath
#

!e py my_tuple = 'a', 'b', 'c' print(my_tuple[0])

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

a
willow light
#

<p style="text-align: center;">Let's see if this Markdown feature works on Discord.</p>

#

Nope

jade kestrel
#

isn't that html

#

not markdown?

stiff garnet
#

how we doing peeps?

somber heath
#

@elder tartan 👋

elder tartan
#

Is this a demo?

stiff garnet
#

HI opal i missed u

somber heath
stiff garnet
#

so the one verification requirement is confusing

#

it says something about the 3 days

somber heath
#

@crystal birch 👋

stiff garnet
#

ok thanks mate

#

Hi @crystal birch

crystal birch
#

hello

elder tartan
#

Ok, I am new to the python channel and I am here for experience and knowledge. I am also a CS student working my associates. So I am here to just gain overall knowledge. And I understand the verifaction clearly Thank you opal.

#

verification**

stiff garnet
#

Yes thank u again opal, Opal u want to play chess with me?

#

😢

#

😆

crystal birch
#

so, i was sondering how it would be able to start learning coding?

somber heath
#

!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.

crystal birch
#

kk

somber heath
#

YouTuber, Corey Schafer, playlists, Python for Beginners.

stiff garnet
#

thx

elder tartan
#

Appreciate it Opal.

stiff garnet
#

do u recommend Bro Code? thats who ive been following

terse garden
stiff garnet
#

hahaha im sooo lost

snow bone
#

im back

lavish rover
#
(1,2,3)
[1,2,3]
somber heath
#

If you want to cross boundaries that shouldn't be crossed, sure.

#

It's worth bringing up as a curious aside.

elder tartan
#

Lol

somber heath
terse garden
#

oo thanks lemme try that

somber heath
#

I'm only checking by eye.

terse garden
#

i also fixed the simple policy issue

#

policies.extend(policy1,policy2)

#

it was a simple fix nothing for buddy to get testy about XD

#

shit now im getting TypeError: keywords must be strings

somber heath
#

I was about to test.

upper basin
#

str((i,))

terse garden
#

TypeError: Car.init() got an unexpected keyword argument '(0,)'

somber heath
#

!e py def func(**kwargs): print(kwargs) func(**{(...,): ...})

wise cargoBOT
#

@somber heath :x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 3, in <module>
003 |     func(**{(...,): ...})
004 | TypeError: keywords must be strings
somber heath
#

Yeah, I thought so.

terse garden
#

yeh its ok im tryna think i mean ik how to run it without this region thing but it was new so i had to scrap what i had before being a real pain

somber heath
#

This is why I asked for the parameter signature.

terse garden
#

cant give it

#

want to, trust me

#

just cant

#

i just know that this works

somber heath
#

Do you have access at all?

terse garden
#

myCar = RL0.Car(pos[-1],vel[-1])

#

yes i have a compiled file that cannot be uncompiled trust me i tried to do that 100 different ways its impossible

upper basin
terse garden
#

^^

upper basin
#

It's a black box for him

somber heath
#
car_n = RLO.Car(0, 0)```
terse garden
#

just do something that simple? will it still work with the rest of the code? because then i need to update temp_results with each of the respective cars policies and regions

#

so like i need car1 with policy 1 on region 1 2 3

#

and car 2 with policy 2 on region 1 2 3

#

getting some water rq btw

#

1s

somber heath
#

It's kind of what you were attempting, isn't it?

#

Initialising things to 0?

#

!e py numbers = '1234' letters = 'abcd' symbols = '@#$_' for num, let, sym in zip(numbers, letters, symbols): print(num, let, sym)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 1 a @
002 | 2 b #
003 | 3 c $
004 | 4 d _
terse garden
#

well they need to be initialized to zero because they are at a starting position

#

then after that this line

#

pos, vel, stopflag = car_n.step(policy)

#

updates pos,vel

#

as it goes

#

and then

#

for time in range(TMAX):
pos, vel, stopflag = myCar.step(policies)
if stopflag:
return time

#

tells it when to stop

upper basin
#

What if you do :

car_n = RL0.Car(
                **[{'pos': 0, 'vel': 0}, {'pos': 0, 'vel': 0}][i]
                )
terse garden
#

TypeError: Car.init() got an unexpected keyword argument 'pos'

somber heath
#

Can you call help on RL0.Car?

terse garden
#

i could send u the file and like i said

#

u could do nothing with it

terse garden
#

its useless

#

i mean maybe u could like i said idk

#

but it would be meaningless as well bc u would have to create a virtual environment to run it

#

and blah blah blah it just wouldnt work

somber heath
#

Open up a REPL.

terse garden
#

what is that

somber heath
#

Import RL0.

terse garden
#

REPL?

somber heath
#

Read evaluate print loop.

terse garden
#

o so try to get the entire file printed

upper basin
#

Can you run :

print(car_n.__dir__())
terse garden
#

so i can c whats inside of it

somber heath
#

No.

terse garden
#

what does that do then

upper basin
somber heath
#

Open up the "Python terminal"

terse garden
#

i have powershell open

#

and im in the virtual environment

somber heath
#

Run Python.

#

Be on the >>> prompt.

terse garden
#

ok im on it

somber heath
#

import RL0

terse garden
#

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'RL0'

somber heath
#

O0 whatever

terse garden
#

i typed RL0

#

it just wont work ive already been down this road

somber heath
#

Copy it from your code.

terse garden
#

i did

#

and if i just run that in my thing

#

with virtual environment

#

i get this

#

import : The term 'import' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • import RL0
  •   + CategoryInfo          : ObjectNotFound: (import:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
#

its ok im not gonna bother yall anymore imma just give up on it for now and just ask tomorrow my advisor if he could just help i havent asked for help in a long time

#

so he likely will help me

#

i appreciate a lot the help thx g

#

but imma just call it for now

upper basin
#

Can you try the code I sent ya

somber heath
#
print(EL0.Car.__text_signature__)
print(EL0.Car.__doc__)```Is it zero or letter O0?
upper basin
#

zero

terse garden
#

print((RL0.car).dir())

upper basin
#

I believe.

terse garden
#

TypeError: unbound method object.dir() needs an argument

upper basin
#
print(RL0.Car.__dir__())
flint hamlet
#

Hi

terse garden
#

Traceback (most recent call last):
File "C:\Users\Ethan\Desktop\researchwork\newregiontest.py", line 37, in <module>
print(RL0.Car.dir())
TypeError: unbound method object.dir() needs an argument

flint hamlet
#

whant help

#

in raspberry pi3 b+

upper basin
#
print(dir(RL0.Car))
terse garden
#

Input the maximum amount of steps T_pi that are allowed: 1000
['class', 'delattr', 'dict', 'dir', 'doc', 'eq', 'format', 'ge', 'getattribute', 'gt', 'hash', 'init', 'init_subclass', 'le', 'lt', 'module', 'ne', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', 'weakref', 'reset', 'step', 'terminated_check']

flint hamlet
#

bro when I boot the os the screen goas blue

#

pls help

#

me \

somber heath
#

Can you set Python to run with -i ?

somber heath
somber heath
upper basin
#

@somber heath is there a way I can run the code Landbus sent?

somber heath
#

If you're invoking Python from powershell, run it like py -i module.pyOr something along those lines.

upper basin
#

I want to see if I can find the attributes of the class so we know how to make a Car instance.

upper basin
#

Pardon?

somber heath
#

Because then ```py

help(EL0.Car)```

upper basin
#

No I mean the code he sent. Is there a way I can run it like he was so I can play around with it a bit?

somber heath
#

Apparently completely impossible.

upper basin
#

How so?

#

You referring to what he was saying?

somber heath
#

Yes.

upper basin
#

Ohh no I mean same as what he had.

#

Thing is he doesn't know what the __init__ for Car even looks like. I want to see if I can extract that.

flint hamlet
#

can i talk

#

pls

somber heath
#

!e ```py
class MyClass:
def init(self, a, b, c):
pass

print(MyClass.text_signature)```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

None
somber heath
#

!e ```py
class MyClass:
def init(self, a, b, c):
print(a, b, c)

MyClass(1, 2, 3)```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

1 2 3
somber heath
#

@golden glen 👋

#

!e py print(dir(object))

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

['__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__']
golden glen
#

The discussion is on OOP, I guess?

#

Smiles...okay

somber heath
#

!e py print(print.__text_signature__)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

($module, /, *args, sep=' ', end='\n', file=None, flush=False)
upper basin
#
import inspect

class MyClass:
    def __init__(self,
                 a,
                 b,
                 c):
        self.a = a
        self.b = b
        self.c = c

print(inspect.getsource(MyClass.__init__))
somber heath
#

!e py import inspect import string print(inspect.getsource(string))

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | """A collection of string constants.
002 | 
003 | Public module variables:
004 | 
005 | whitespace -- a string containing all ASCII whitespace
006 | ascii_lowercase -- a string containing all ASCII lowercase letters
007 | ascii_uppercase -- a string containing all ASCII uppercase letters
008 | ascii_letters -- a string containing all ASCII letters
009 | digits -- a string containing all ASCII decimal digits
010 | hexdigits -- a string containing all ASCII hexadecimal digits
011 | octdigits -- a string containing all ASCII octal digits
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/Q77FBB5EC4MZCUHG4W73IXCUWI

somber heath
#

!e py import numpy as np import inspect print(inspect.getsource(np.abs))

wise cargoBOT
#

@somber heath :x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     import numpy as np
004 | ModuleNotFoundError: No module named 'numpy'
somber heath
#

!e py import numpy

wise cargoBOT
#

@somber heath :x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     import numpy
004 | ModuleNotFoundError: No module named 'numpy'
upper basin
#
Traceback (most recent call last):
  Cell In[7], line 3
    print(inspect.getsource(np.abs))
  File /opt/conda/lib/python3.10/inspect.py:1147 in getsource
    lines, lnum = getsourcelines(object)
  File /opt/conda/lib/python3.10/inspect.py:1129 in getsourcelines
    lines, lnum = findsource(object)
  File /opt/conda/lib/python3.10/inspect.py:940 in findsource
    file = getsourcefile(object)
  File /opt/conda/lib/python3.10/inspect.py:817 in getsourcefile
    filename = getfile(object)
  File /opt/conda/lib/python3.10/inspect.py:797 in getfile
    raise TypeError('module, class, method, function, traceback, frame, or '
TypeError: module, class, method, function, traceback, frame, or code object was expected, got ufunc
somber heath
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!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.12 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!

somber heath
#

!pypi grumpy

wise cargoBOT
upper basin
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @turbid sandal until <t:1706080426:f> (10 minutes) (reason: attachments spam - sent 9 attachments).

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

upper basin
#

HEHEHE

flint hamlet
#

can i join you

#

pls

somber heath
#

@stark coral 👋

stark coral
#

Hello, I am on my class of programming I forgot I am in voice chat, sorry I will leave.

somber heath
#

You're entirely welcome to stay

stark coral
#

We can do something at 14:00 Europe time + 1

somber heath
#

As you would have it.

stark coral
#

I am from Slovakia so we have different time, but I hope we will make some new project or you will help me with assigments

#

Just question What type of message I have to sent to have voice verification

somber heath
#

Just enjoy yourself. Chat normally. Don't stress about it. 🙂

final laurel
#

@somber heath can u hear me

turbid sandal
vocal basin
#

I don't think that's very easy to mess up when getting non-m.2 drives in terms of connectivity

#

everything non-sata is very expensive

#

@somber heath most require, yes

#

m.2s get powered through m.2 itself

final laurel
#

@stark coral how are you

vocal basin
#

@somber heath @turbid sandal replacing ethernet cables with something universal would be quite a pain

somber heath
#

Wifi.

vocal basin
#

wi-fi is slow still

#

(not gigabit)

somber heath
#

Full duplex, multichannel wifi.

vocal basin
#

far away from noise from other networks, maybe

#

but then there are also problems with security

#

there were people who seriously thought it'd be a replacement

#

ex-CEO of iMatix among them

#

pronunciation of the word was okay

stark coral
vocal basin
#

given that it's only one word though

vocal basin
#

I've only heard "server" get transliterated

#

"guild" and any of its adaptations aren't used in CIS (Commonwealth of Independent States) space at all I think

final laurel
#

@somber heath nice talking with u @turbid sandal also

vocal basin
#

"python" gets adapter as either /p'aiton/ (transcription) or /pit'on/ (translation)

vocal basin
#

there are usb/sata adapters

#

that's just backups

#

not RAID

#

(symmetry in RAID is important)

#

if you're using a modern filesystem, you're quite unlikely to get data corrupted because of hardware failure

#

it's more likely to fail in full, as far as I understand

#
  • static IP
  • domain name
  • port forwarding
  • nextcloud (if you want web UI and users)
#

without a static IP, you're not going to easily access it worldwide

final laurel
#

@stark river how are you

stark river
#

busy

final laurel
#

damn nice also thanks for answering lol

vocal basin
#

for discovering servers, there is UDP multicast

#

and mDNS

#

In computer networking, the multicast DNS (mDNS) protocol resolves hostnames to IP addresses within small networks that do not include a local name server. It is a zero-configuration service, using essentially the same programming interfaces, packet formats and operating semantics as unicast Domain Name System (DNS). It was designed to work as e...

somber heath
#

@noble rose 👋

noble rose
#

Hi

final laurel
#

@noble rose what are you working on

noble rose
#

its not that serious

#

just trying some functions

final laurel
#

nice

somber heath
final laurel
#

i know that song

somber heath
#

@glass lantern 👋

final laurel
#

hello NULL

#

making an omlette @somber heath i will be back later

somber heath
#

No man is an omelette.

final laurel
#

lol

stuck sky
#

pepe_laughh what a co-incidencw

stuck sky
somber heath
#

@ember hazel 👋

noble rose
#

im not

#

russian

#

im from Kazakhstan

vocal basin
#

the more important question would be whether the random values need to be cryptographically secure or not

#

!d secrets

wise cargoBOT
#

New in version 3.6.

Source code: Lib/secrets.py

The secrets module is used for generating cryptographically strong random numbers suitable for managing data such as passwords, account authentication, security tokens, and related secrets.

In particular, secrets should be used in preference to the default pseudo-random number generator in the random module, which is designed for modelling and simulation, not security or cryptography.

noble rose
#

do anyone know how to work with openserver?

somber heath
#

@red depot 👋

formal roost
#

Gm

somber heath
#

@wary comet 👋

wary comet
#

Hello everyone

somber heath
peak depot
brisk bridge
#

hi

steel torrent
#

hello

final laurel
#

@steel torrent how are you havent talked to u in a while:

final laurel
#

y not use case statements

left leaf
#

callbackhell

steel torrent
final laurel
#

i am great

steel torrent
somber heath
#

@cedar leaf 👋

#

@terse tendon 👋

terse tendon
#

yo

#

hru guys

#

im trying to send 50 messages lol

whole bear
#

Hey

whole bear
somber heath
#

!e py i = 0 while i != 5: print(i) i += 1 print('Bye.')

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | Bye.
somber heath
#

a = a + 1
a += 1

#

Roughly equivalent.

whole bear
hushed oriole
#

no br it will repeat forever

#

you need to type i +=1

whole bear
#

Join Vc and help me

somber heath
#

!e py while True: print('A') break else: print('B') print('C')

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | A
002 | C
somber heath
#

!e py while False: print('A') break else: print('B') print('C')

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | B
002 | C
somber heath
#

!e py for i in range(5): print(i) else: print('Else') print('Bye')

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | Else
007 | Bye
somber heath
#

!e py for i in range(5): print(i) break else: print('Else') print('Bye')

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | 0
002 | Bye
somber heath
#

@edgy river 👋

rugged root
#

@somber heath I miss u

stark coral
#

Is there something like assigments,

rugged root
#

Are you just wanting problems to work through or what do you have in mind?

stark coral
#

good

#

It's alrightä

#

I am new to this server

rugged root
#

Glad to have you here

stark coral
#

Yeah my English is very close to A1

#

But trying my best to get it to the next level XD

stark coral
#

For example you have a text file with colors and you have to make a function that look like this def square(name of file (each line some color), 5, the count of squares on row, after it reaches the number it will make a new column)

rugged root
#

Oh so tabulating it

#
blah | blah | blah | blah
spam | spam | spam | spam
...
#

And so on and so forth?

#

!paste

wise cargoBOT
#
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 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.

stark coral
#

You have to using tkinter

#

it's like graphics the square is defined as 30x30 and I think there should be a 2 for cycles

#

I am not definitely sure about it

rugged root
#

Gotcha gotcha

stark coral
#

something like this

#

but it doesn't need to by NxN it's can be different 5x7

#

yeah

#

until there won't be any colors in text file

rugged root
#

!d itertools.cycle

wise cargoBOT
#

itertools.cycle(iterable)```
Make an iterator returning elements from the iterable and saving a copy of each. When the iterable is exhausted, return elements from the saved copy. Repeats indefinitely. Roughly equivalent to:

```py
def cycle(iterable):
    # cycle('ABCD') --> A B C D A B C D A B C D ...
    saved = []
    for element in iterable:
        yield element
        saved.append(element)
    while saved:
        for element in saved:
              yield element
```...
rugged root
#

Something like (pseudocode incoming):

stark coral
#

I will be back in minute, becuase I am going to wash my dish

#

I will write when I come back

rugged root
#
# load colors from file into a list
colors = loaded colors as list

for col in range(5):
  for row in range(5):
    make square
#

Something like that more or less

stark coral
#

Thank you, something like this should work

rugged root
#
from itertools import cycle

cycled_colors = cycle(colors)
stark coral
#

Do I have to install it through terminal or not?

rugged root
#

You'd use that to iterate over or use next() on it to get the colors

#

No no, itertools is built in to Python

stark coral
#

okay I will try both of them

rugged root
#

The standard library is full of stuff like that

stark coral
#

I am using sometimes Debian Linux, do you think is it better?

#

or windows is the best option

rugged root
#

I prefer Windows, but honestly, use what is best for you

stark coral
#

I don't know because someone refers that Linux less "eats" your RAM, and windows have some background processes svchost if you know

rugged root
#

That's true. If you have a computer that doesn't have the best specs, Linux is going to be a better option

#

I'm just used to Windows. I work as an in-house IT guy, so Windows is my bread and butter

#

But honestly, any of the big three (Windows, Mac, and the various Linux distros) will work just fine

#

People are just very... opinionated regarding certain choices

#

Same way that people are particular and fussy about what code editor they use

#

Pay those people no mind

quasi sand
#

hi

stark coral
#

That true

#

code editor what is yours?

rugged root
#

My primary is Sublime Text

#

From there I'm not picky, but usually Visual Studio Code

gentle flint
stark coral
#

Yeah I like that too.

rugged root
#

Typically I just use whatever has better support for the given language or project I'm doing

stark coral
#

So using PyCharm or IntelliJIdea isn't necessary I tried to make some minecraft mods, but I don't know

#

if I will be able to make it inside vscode

rugged root
#

I like PyCharm for sure

#

It's just heavy

#

Big ol' program

quasi sand
stark coral
quasi sand
rugged root
#

Yeah true that

quasi sand
stark coral
stark coral
#

musical instruments

#

ukulele

#

singing

peak depot
stark coral
#

guiatr

#

piano

#

and something

#

Bass guitar was it I think

rugged root
#

I kind of miss playing clarinet

echo garden
gentle flint
rugged root
upper basin
wind warren
rugged root
upper basin
#

I'm coding it for ya. I'll be done in a few mins.

rugged root
#

❤️

whole bear
#

@gentle flint Wanna get beaten again?

upper basin
#

Hemlock may I dm the code to you?

rugged root
#

Absolutely

upper basin
#

Oooh one sec

#

Weirdly float is apparently easier.

#

But I can't really control the number of digits in the float.

#

I can make it more unique by increasing the number parameter I passed, but can't (for now) control how many digits the float would have.

#

This is like the random.random method.

#

Sure sure!

wind warren
whole bear
#

@rugged root Can you give beginner python exercises?

rugged root
#

I can probably make a few prompts, yeah.

snow bone
#

sup guys

rugged root
#

How goes it

gentle flint
snow bone
#

gud u?

rugged root
#

Eh, I'm doing alright

gentle flint
whole bear
rugged root
#

Prompts as in like... Make a program that does x y and z

whole bear
#

Oh like this?

rugged root
#

!resources A Byte of Python

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.

rugged root
#

@stark coral

upper basin
#

We have an OSS, but also we are developing a SaaS version accessible through API.

snow bone
#

what the imt course

upper basin
snow bone
#

ok

willow garnet
#

what's ur elo?

wind warren
willow garnet
#

wanna play a match with me?

#

if anyone want

wind warren
#

i joined coder

whole bear
#

!server

wise cargoBOT
#
Server Information

Created: <t:1483877013:R>
Roles: 113
Member status: status_online 54,570 status_offline 333,325

Members: 387,895

Helpers: 159
Moderation Team: 39
Admins: 14
Directors: 3
Contributors: 46
Leads: 13

Channels: 268

Category: 30
Forum: 3
News: 11
Staff: 115
Stage_Voice: 1
Text: 100
Voice: 8

whole bear
#

@candid chasm 👋

#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

whole bear
#

@dawn lake 👋

dawn lake
#

Holo

rugged root
#

How goes it

dawn lake
#

Great

#

I dont have permission to speak?@mr.hemlock

rugged root
dawn lake
#

👍@mr.hemlock

wind warren
#

gg

willow garnet
wind warren
#

oh, my bad

#

didnt want to make you work for what was rightfully yours 🙂

willow garnet
wind warren
#

yeah, i fudged when you took those two pawns with your bishop

willow garnet
#

haha yes

wind warren
#

and that blundered pawn at the begining, but i came back scrappy 🙂

willow garnet
#

I can't think very far

wind warren
#

same

willow garnet
#

I am just like capture and capture

wind warren
#

you ever play go? its fun

#

same

willow garnet
#

no

wind warren
#

check it out if you like,,, it's called the 'surrounding game' in chinese, the object is to get the most stones on the board, or "territory"

#

☮️

willow garnet
#

ok

#

If white jumps black then black becomes white, right??

wind warren
#

no

willow garnet
#

ok

#

yeah

#

I can

#

ok ok

stark coral
#

turtle

prisma cobalt
#

No:(

#

I'm a professional software engineer

#

Data engineer

#

Python, sql , go

#

Yes we do

#

I've used it once

#

Ok .Where are you from?

stark coral
prisma cobalt
#

Somewhere near Russia?

#

Near Poland?

stark coral
#

import turtle
import time

turtle.setup(width=600, height=600)
turtle.bgcolor("white")

#had
hlava = turtle.Turtle()
hlava.speed(0)
hlava.shape("circle")
hlava.color("green")
hlava.penup()
hlava.goto(0, 0)
hlava.smer = "Up"

segments = []

#def
def hore():
if hlava.smer != "Down":
hlava.smer = "Up"

def dole():
if hlava.smer != "Up":
hlava.smer = "Down"

def vpravo():
if hlava.smer != "Left":
hlava.smer = "Right"

def vlavo():
if hlava.smer != "Right":
hlava.smer = "Left"

def move():
if hlava.smer == "Up":
y = hlava.ycor()
hlava.sety(y + 20)

elif hlava.smer == "Down":
    y = hlava.ycor()
    hlava.sety(y - 20)

elif hlava.smer == "Right":
    x = hlava.xcor()
    hlava.setx(x + 20)

elif hlava.smer == "Left":
    x = hlava.xcor()
    hlava.setx(x - 20)

def check_collision():
for segment in segments:
if hlava.distance(segment) < 20:
return True
return False

#pohyb
turtle.listen()
turtle.onkey(hore, "Up")
turtle.onkey(dole, "Down")
turtle.onkey(vpravo, "Right")
turtle.onkey(vlavo, "Left")

while True:
turtle.update()
move()
if hlava.xcor() > 290 or hlava.xcor() < -290 or hlava.ycor() > 290 or hlava.ycor() < -290:
turtle.bye()
if check_collision():
turtle.bye()

segment = turtle.Turtle()
segment.speed(0)
segment.shape("circle")
segment.color("#00FF00") 
segment.penup()
segment.goto(hlava.xcor(), hlava.ycor())
segments.append(segment)

for index in range(len(segments) - 1, 0, -1):
    x = segments[index - 1].xcor()
    y = segments[index - 1].ycor()
    segments[index].goto(x, y)

if len(segments) > 0:
    x = hlava.xcor()
    y = hlava.ycor()
    segments[0].goto(x, y)

time.sleep(0.1)
rugged root
#

@wind raptor Yeah, it's mainly webstack from what I'm seeing

#

React and all that

#

Interestingly, they're shifting their database focus from Mongo to SQL

#

@minor sage Still would be against rule 5

#

It was just strange to me about the database shift

#

For sure

#

I love structure

#

I think they said it's using MySQL

#

Finding Nemo?

#

Oh right the Flipper thing you're messing with

#

Cybersecure deez nuts

#

@minor sage Yeah it's rare for ANYONE that age

#

It does if you take it to dinner

#

Sure but it's weird to specifically call out women on that...

#

Women my age typically don't know what they want
For context

#

Mindful is dope

#

He's good people

#

Jesus. Okay, look at the MySQL query you'd use to make the tables and stuff. Then look at Oracle

#

Jesus

upper basin
rugged root
#

I feel bad for anyone stuck with Oracle

upper basin
#

Yall are dope awesome chads.

vernal bridge
#

look at met

wind raptor
vernal bridge
#

*me

wind raptor
#

wtf discord

#

I was replying to Hemlock

upper basin
#

Hehehe

#

all good

rugged root
#

I forgot you are stuck with Oracle

#

My condolences

wind raptor
#

Done with that now 😄

rugged root
#

Huh, looking at the Postgres vs MySQL, the latter feels more familiar to me

#

Weird. I don't think I've worked with it before

wind raptor
#

Yeah, Postgres has some unique quirks to it

rugged root
#

Just feels weird to change the terminology

whole bear
#

Hey Mindful

rugged root
#

Mainly SERIAL vs AUTO_INCREMENT

wind raptor
rugged root
#

Wait... MySQL uses backtick strings?

upper basin
#

"It's like you make a spatula, and have to make an entirely new food to flip with it."

  • 2024, Hemlock
rugged root
#

For context, that was me commenting on quantum computing

left leaf
#

KING IS HERE

tall ridge
left leaf
#

😎

whole bear
#

400 ELOOOO!!!!!

rugged root
#

There's your job security

#

More just me being grumpy at having to accept crap solutions

tall ridge
rugged root
#

Oh don't worry, I'm jaded enough already

stuck sky
#

Hey hemlock

upper basin
#

@whole bear write a python class that simulates a building with functional electrical devices, and add in voice commands for interacting with devices.

#

You'll learn OOP, and get to use some new packages.

vocal basin
#

another oracle be bad joke

rugged root
#

I genuinely didn't realize MySQL was also Oracle

upper basin
#
MIT OpenCourseWare

6.0001 Introduction to Computer Science and Programming in Python is intended for students with little or no programming experience. It aims to provide students with an understanding of the role computation can play in solving problems and to help students, regardless of their major, feel justifiably confident of their ability to write small p...

MIT OpenCourseWare

6.0002 is the continuation of 6.0001 Introduction to Computer Science and Programming in Python and is intended for students with little or no programming experience. It aims to provide students with an understanding of the role computation can play in sol...

#

Watch these two courses, do their exercises, read the slides.

rugged root
#

!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.

rugged root
#

We also have tons on our site as well

#

A Byte of Python is good

#

Automate the Boring Stuff is good

whole bear
#

its iran

#

:DDD

#

my last name is tabibian

#

means doctor 😄

#

holland?

#

benelux

upper basin
#

IBM Quantum Lab

#

See you tomorrow @rugged root !

#

Wish yall a blessed day.

whole bear
#

bye bro

#

gn

upper basin
#

cheers mate

whole bear
#

❤️

#

bro

#

just be thankfull

#

that you have good internet

#

we have shet time with our net in this f country

#

you cant find out what they want

#

50 massage omgggggg

#

bro talking to girl like hellll :DDD

#

im gettin board :/

#

amir

#

hossein

#

i need 30 more massage

#

:DDD

#

i can spam?

#

NOOOO

#

Don't

#

i can hear you bro 😄

wooden delta
#

Hi

whole bear
#

hi bro

#

wattup

wooden delta
#

Why can’t I talk I just joined

whole bear
#

bc

#

you need verify

#

and that need

#

3 days of join

#

50 massages

#

and one other thing that i dont remember

wooden delta
#

Bruh

whole bear
#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

whole bear
wooden delta
#

Bet

#

Hi

#

Me

#

Cool

#

So

#

I

#

Like

#

Python

#

And

#

Me

whole bear
#

dont spam

wooden delta
#

Beginner

whole bear
#

dont cut your massages

#

speake normally

wooden delta
#

Ok

minor sage
#

what do you want to know about python guy

wooden delta
#

Um

#

I think it would be better to learn for my future

whole bear
#

then dont do with python

#

i think html is better :/

wind raptor
#

!tvmute 1165402902727237723 14d Spamming to get voice permissions results in a longer verification time.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @wooden delta until <t:1707338190:f> (14 days).

whole bear
#

:DDDDDDDD

#

:DD:DD:D:D:D:D:D:D:D:D:DD:

#

go beggin C#

#

not python

#

python sucks

golden sonnet
#

👋

whole bear
#

hi

#

hmm

#

another iranian

stark river
#

chatoreh

golden sonnet
#

sup?

whole bear
#

tnx bro

#

merci bro

golden sonnet
#

anyone uses ajax?

stark river
#

sometimes

golden sonnet
#

what do you use for it?

#

fetch?

stark river
#

yes

golden sonnet
#

how hard is it to set up?

stark river
#

it's built in javascript

golden sonnet
#

oh
then i must have misread

stark river
#

by built in i mean it's a way to do things in javascript.. it is not a library

wind raptor
#

fetch is so much nicer though. Don't use AJAX unless you have to

clear portal
golden sonnet
wind raptor
#

It's not complex. You are just requesting data from somewhere and doing something with the received data

clear portal
#

its not that hard to learn 😂

golden sonnet
stark river
north pawn
#

hi

whole bear
#

@wise loom Yo

clear portal
#

@whole bear calm down kid

random copper
#

Anyone know about flask enviorements?

wise loom
random copper
#

<div style="width: 33%; margin: auto; background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);">
<h1>Visitor Board</h1>
<form method="post" action="">
<label for="message">Leave a Message:</label>
<textarea id="message" name="message" rows="4" cols="50" required></textarea>
<br>
<button type="submit">Submit</button>
</form>
<div id="visitor-log" style="margin-top: 20px; padding: 10px; border: 1px solid #ccc;">
<h2>Messages:</h2>
{{ '\n'.join(messages) }}<br>
</div>
</div>

#

tttttttttttttttttttttttttttttttttttt

#

<h1>YouTube Alarm</h1>
<form method="post" action="/">
<label for="youtube_link">YouTube Link:</label>
<input type="text" id="youtube_link" name="youtube_link" required>
<br>
<label for="alarm_time">Alarm Time (HH:MM):</label>
<input type="text" id="alarm_time" name="alarm_time" required>
<br>
<button type="submit">Set Alarm</button>
</form>
from flask import Flask, render_template, request
import webbrowser
import schedule
import threading
import time

app = Flask(name)

def open_and_play_youtube(youtube_link):
webbrowser.open(youtube_link, new=2)

def schedule_alarm(youtube_link, alarm_time):
schedule.every().day.at(alarm_time).do(open_and_play_youtube, youtube_link)

while True:
    schedule.run_pending()
    time.sleep(1)

@app.route('/', methods=['GET', 'POST'])
def index():
if request.method == 'POST':
youtube_link = request.form['youtube_link']
alarm_time = request.form['alarm_time']

    # Start a new thread to handle the scheduling and opening of YouTube link
    threading.Thread(target=schedule_alarm, args=(youtube_link, alarm_time)).start()

return render_template('index.html')

if name == 'main':
app.run(debug=True)

snow bone
#

sup

whole bear
#

sup

somber heath
#

!d math.dist

wise cargoBOT
#

math.dist(p, q)```
Return the Euclidean distance between two points *p* and *q*, each given as a sequence (or iterable) of coordinates. The two points must have the same dimension.

Roughly equivalent to:

```py
sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q)))
```   New in version 3.8.
snow bone
#

algarimons r hard grasp for me

somber heath
#

Algorithms. Mm. I just look them up to implement them when I need to.

snow bone
#

bur i suck at math so

#

im takin cs50

#

it alot to cosume

#

a lot of therory inolved

#

hi

bleak sleet
#

It's 6 am here lol

snow bone
#

its 6 pm here

random copper
final laurel
#

hello @random copper

somber heath
#

@dusky radish 👋

random copper
#

anyone got some nice scraping tools? Need emails and US Phone numbers

somber heath
#

@hexed shuttle 👋

hexed shuttle
#

hi

bleak sleet
#

he mean sanitizers

neat bramble
#

familial Mediterranean fever

random copper
#

Marketing purposes

somber heath
#

@delicate plaza 👋

whole bear
somber heath
snow bone
#

im still muted

#

ok

#

btw im speech Impaire

somber heath
#

@tacit trail 👋

snow bone
#

Packets

turbid sandal
snow bone
#

sends packet over radiowaves'

#

lookup winlinnk

somber heath
#

@crystal birch 👋

turbid sandal
crystal birch
#

hello

snow bone
#

i am a ham radio operator

crystal birch
#

i gtg

snow bone
#

@turbid sandal what u trying to do with it ''

#

is it a tnc

somber heath
#

@violet relic 👋

turbid sandal
#

🌟 Charity Event for Cancer Research 🌟

For every ❤️ reaction, I'll donate $1 to the Cancer Charity. Let's make a difference together! 🦀

Time remaining: <t:1706240100:R> 🕐

Current donation: 💸 $5! 🎉

Goal: 🎉 $10

Progress: 50% there! 🌈 🍀

Thank you for your support! Let's reach our goal! 🙌

obsidian dragon
somber heath
#

@wind warren 👋

somber heath
#

@dull pumice 👋

somber heath
#

@gleaming yarrow 👋

somber heath
#

@raven palm 👋

raven palm
#

Hey

somber heath
#

@whole bear 👋

whole bear
#

hiii

wooden sequoia
#

Indeed

whole bear
#

how can you be 'in' something

#

define in

wooden sequoia
#

Inside

whole bear
#

how

#

ok is the dark an object?

wooden sequoia
#

For instance, I am inside your- yeah no that's not appropriate

whole bear
#

no its light rays

#

have you ever been in a light ray

wooden sequoia
#

To be in the dark is to not know something

whole bear
#

is everything dark but we are just normalized to seeing light

#

in this very very dark void

wooden sequoia
#

Yeah, but technically infrared isn't light, because it's not in the visible spectrum

whole bear
#

'infrared light'

wooden sequoia
#

It's electromagnetic radiation

whole bear
#

so is all light

#

WHAT ARE YOU GETTING AT

wooden sequoia
#

I thought light was a subset of ER

#

Ah nvm I suck at physics

whole bear
#

Radio waves, gamma-rays, visible light, and all the other parts of the electromagnetic spectrum are electromagnetic radiation.

#

light is light

wooden sequoia
#

Alright

whole bear
#

or 'radiation'

wooden sequoia
#

I get it

#

Thank you

whole bear
#

so at what point are we saying there is of no more light

#

defining dark

wooden sequoia
#

TO BE IN THE DARK IS TO NOT KNOW SOMETHING

whole bear
#

but you know you dont know anything

#

are we subcounsious of our knowledge in this situation

wooden sequoia
#

It's just a quote from a book

whole bear
#

LMAO

wooden sequoia
#

Please stop crucifying my bio

whole bear
#

a lot of things are there and then just not there

wooden sequoia
#

That's interesting, do you have a link to the study

vocal basin
#

@somber heath more like it behaved as if they were, not necessarily detecting individual particles, iirc

whole bear
#

ever lose your keys? same thing

#

theyre there and then they just arent

vocal basin
#

In quantum field theory, the Casimir effect (or Casimir force) is a physical force acting on the macroscopic boundaries of a confined space which arises from the quantum fluctuations of a field. It is named after the Dutch physicist Hendrik Casimir, who predicted the effect for electromagnetic systems in 1948.

In the same year, Casimir together...

#

thanks discord for three same images

#

> can be expressed in terms of virtual particles

#

that

whole bear
#

ive spent thousands if not tens of thousands of hours in discord vc's and i just realized you are a real person with a life, job, family and everything

vocal basin
#

virtual particles are kind of just what happens if you try to apply particles reasoning at all

#

as far as I understand, particles aren't really a thing

#

like

#

it's an emergent property

#

(any particle)

#

and virtual particle is just what happens when field fluctuates kind of like a real particle

vocal basin
wooden sequoia
#

I love how a quote from a children's book has sparked a discussion of quantum theory

vocal basin
#

(quasiparticles of sound)

#

funny how among all these technical stuffs there's just
"Trumpet"

#

that unnecessary : annoys me