#voice-chat-text-0
1 messages · Page 247 of 1
im still new to machine learning
any sources yall recommend to learn from?
im still in the basics
classification regression decision trees
Recent self-supervised methods for image representation learning are based on maximizing the agreement between embedding vectors from different views of the same image. A trivial solution is obtained when the encoder outputs constant vectors. This collapse problem is often avoided through implicit biases in the learning architecture, that often ...
The recent breakthroughs in natural language processing for model pretraining on large quantities of data have opened the way for similar foundation models in computer vision. These models could greatly simplify the use of images in any system by producing all-purpose visual features, i.e., features that work across image distributions and tasks...
We explore the use of Vector Quantized Variational AutoEncoder (VQ-VAE) models for large scale image generation. To this end, we scale and enhance the autoregressive priors used in VQ-VAE to generate synthetic samples of much higher coherence and fidelity than possible before. We use simple feed-forward encoder and decoder networks, making our m...
https://arxiv.org/abs/1908.09257 <- if you want vector to be same dimension
Normalizing Flows are generative models which produce tractable distributions where both sampling and density evaluation can be efficient and exact. The goal of this survey article is to give a coherent and comprehensive review of the literature around the construction and use of Normalizing Flows for distribution learning. We aim to provide con...
There were no dinosaurs in this DINOv2 paper
I'm disappointed
this is too advanced
im too dumb for this shit
Same
No legit. This is way over my head
"maybe there were in data, you just need to plot everything"
"Data ah... finds a way."
?
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
hı
(I don't remember where it was)
I would be that teacher
and kaggle
Yo
"and you'd yourself forget that it was a dinosaur"
whatsapp guys
And be excited every time
what is bro yapping about
"Oh shit it is a dinosaur. That's awesome! Where'd you find th- oh right me."
I'm back
Join the challenge or watch the game here.
future-proof is scale not yes/no
@whole bear So are you starting with no knowledge or looking for specific steps to improve yourself in a particular thing?
That was close
so i program in LUA, i started programming for games. but I'm starting out without any knowledge of Python, i started studying now
my english is very bad so sorry if there are any mistakes
!resources Ah gotcha gotcha. So we've got a ton of resources linked on our site. I typically like to recommend "A Byte of Python" https://python.swaroopch.com/
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
thank you. i start college for systems analysis and development next month. it doesnt focus on just one language, but python is a language that im quite interested
@north pawn 👋
Welcome
I'm back, sorry
Situation 1. I have a screen with a resolution of 25601440 2. My laptop is 19201080 resolution 3. If DCS runs at 25601440, the frame rate will be very low 4. I want to keep the display resolution of 25601440 5. I want DCS to keep 19201080 resolution in 25601440 resolution, but this will mak...
Can you try this out?
XD XD LAWL reader
Advent Children
@rugged root I beat plome in chess 2 times
Cool
Influential rocket shrimp.
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.
Sooo. I may need a little help... but it's kind of complicated.
The outline is here: https://github.com/blaisep/pytest-bdd-ng/blob/dagger/docs/refactor.rst#reverse-engineer-the-workflow
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, ...
!res
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 https://support.microsoft.com/en-us/windows/recover-lost-files-on-windows-10-61f5b28a-f5b8-3cc2-0f8e-a63cb4e1d4c4
Restore files that have been deleted and are not in the recycle bin.
@snow bone 👋
LOL, amazing
I just remember for whatever reason
anyways?
SUP
!stream 717749310518722691
✅ @whole bear can now stream until <t:1706042782:f>.
Thx
!stream 1053732836693258391
✅ @turbid sandal can now stream until <t:1706042827:f>.
Can anyone tell me how to turn on less secure app access?
what he trying to do
google api?
that's literally just a google account setting URL
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
how do u unmute?
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.
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)```
SENDER_PASSWORD should be your app password
Perm Video permission are like fight club
fr
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
what a good course for python
the email stdlibs are also confusing
pygame
im working on tkinder now
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
Hi Richard!
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
||[][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][]||
?
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!
hi
Yo @olive hedge Whatcha doin?
!e py for letter in 'abc': print(letter)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | a
002 | b
003 | c
!e py letter = 'a' print(letter) letter = 'b' print(letter) letter = 'c' print(letter)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | a
002 | b
003 | c
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | abc
002 | def
003 | ghi
@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
!e py a = 'a' b = 'b' c = 'c' d = a, b, c print(d)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
('a', 'b', 'c')
!e py d = a, b, c print(d)
@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
oke thanks for the information
I still haven't solved the problem😅
Is it still possible if it is repaired by a factory developer with remote control?
i cant talk ):
i need to wait 3 days
@pine flax 👋
Are you certain the printer was soft-bricked by a failed firmware update?
Did you lose power mid-way through?
That thing looks beefy. One moment, I'm going to look up what that is.
no, it's run normally being success, i just import the firmware from company folder instalation
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?
Yes, this is like a 3D printer, for fabric and banner printers
Oh, my, don't listen to me, then.
OK, thank you for addressing the problem, I hope the developer company can make improvements with remote control
@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
!e py for y in range(3): print(y)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
!e py y, x = 1, 2 print(y, x)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
1 2
!e py y, x = 1, 2 print(f'{y} {x}')
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
1 2
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)
@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
!e py for _ in range(0): print('Hello, world.')
@somber heath :warning: Your 3.12 eval job has completed with return code 0.
[No output]
Hi
!e py for _ in range(1): print('Hello, world.')
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello, world.
!e py for _ in range(2): print('Hello, world.')
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Hello, world.
002 | Hello, world.
!e py for i in range(1): print(i)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
0
!e py for i in range(2): print(i)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0
002 | 1
!e py for i in range(3): print(i)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
after opening the application a .dmp file appears
!e
for x in range(1):
for y in range(2):
for z in range(3):
print(x, y, z)
@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
!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)
@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)]
!e py my_list = [] print(my_list) my_list.append('abc') print(my_list) my_list.append(123) print(my_list)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | []
002 | ['abc']
003 | ['abc', 123]
!e py my_list = ['a', 'b', 'c'] my_list[0] = 'd' print(my_list)
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
['d', 'b', 'c']
!e py my_tuple = 'a', 'b', 'c' my_tuple[0] = 'd'
@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
!e py my_tuple = 'a', 'b', 'c' print(my_tuple[0])
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
a
this one
<p style="text-align: center;">Let's see if this Markdown feature works on Discord.</p>
Nope
how we doing peeps?
@elder tartan 👋
Is this a demo?
HI opal i missed u
so the one verification requirement is confusing
it says something about the 3 days
@crystal birch 👋
hello
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**
so, i was sondering how it would be able to start learning coding?
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
kk
YouTuber, Corey Schafer, playlists, Python for Beginners.
thx
Appreciate it Opal.
do u recommend Bro Code? thats who ive been following
hahaha im sooo lost
im back
(1,2,3)
[1,2,3]
If you want to cross boundaries that shouldn't be crossed, sure.
It's worth bringing up as a curious aside.
Lol
car_n = RLO.Car(**{(i,): {'pos': 0, 'vel': 0}})```Slightly less cursed.
oo thanks lemme try that
I'm only checking by eye.
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
I was about to test.
str((i,))
TypeError: Car.init() got an unexpected keyword argument '(0,)'
!e py def func(**kwargs): print(kwargs) func(**{(...,): ...})
@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
Yeah, I thought so.
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
This is why I asked for the parameter signature.
Do you have access at all?
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
I think he can run it, but can't read or write to it.
^^
It's a black box for him
car_n = RLO.Car(0, 0)```
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
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)
@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 _
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
What if you do :
car_n = RL0.Car(
**[{'pos': 0, 'vel': 0}, {'pos': 0, 'vel': 0}][i]
)
TypeError: Car.init() got an unexpected keyword argument 'pos'
Can you call help on RL0.Car?
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
Open up a REPL.
what is that
Import RL0.
REPL?
o so try to get the entire file printed
Can you run :
print(car_n.__dir__())
so i can c whats inside of it
No.
what does that do then
It'll show the attributes of the class.
Open up the "Python terminal"
ok im on it
import RL0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'RL0'
O0 whatever
Copy it from your code.
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
Can you try the code I sent ya
print(EL0.Car.__text_signature__)
print(EL0.Car.__doc__)```Is it zero or letter O0?
zero
print((RL0.car).dir())
I believe.
TypeError: unbound method object.dir() needs an argument
print(RL0.Car.__dir__())
Hi
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
print(dir(RL0.Car))
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']
Can you set Python to run with -i ?
You might get someone to help out in #microcontrollers or a server dedicated to RPi.
Can you run the code with i set?
@somber heath is there a way I can run the code Landbus sent?
If you're invoking Python from powershell, run it like py -i module.pyOr something along those lines.
I want to see if I can find the attributes of the class so we know how to make a Car instance.
Pardon?
Because then ```py
help(EL0.Car)```
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?
Apparently completely impossible.
Yes.
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.
!e ```py
class MyClass:
def init(self, a, b, c):
pass
print(MyClass.text_signature)```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
None
!e ```py
class MyClass:
def init(self, a, b, c):
print(a, b, c)
MyClass(1, 2, 3)```
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
1 2 3
@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__']
!e py print(print.__text_signature__)
@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)
import inspect
class MyClass:
def __init__(self,
a,
b,
c):
self.a = a
self.b = b
self.c = c
print(inspect.getsource(MyClass.__init__))
!e py import inspect import string print(inspect.getsource(string))
@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
!e py import numpy as np import inspect print(inspect.getsource(np.abs))
@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'
!e py import numpy
@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'
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
!e
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
Currently only 3.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!
!pypi grumpy
: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.
HEHEHE
@stark coral 👋
Hello, I am on my class of programming I forgot I am in voice chat, sorry I will leave.
You're entirely welcome to stay
We can do something at 14:00 Europe time + 1
As you would have it.
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 can u hear me
sata power cable adventures
#voice-chat-text-0 message
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
@stark coral how are you
@somber heath @turbid sandal replacing ethernet cables with something universal would be quite a pain
Wifi.
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
Thanks love to hear that
given that it's only one word though
well, at least, seriously enough to include in the book
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
@somber heath nice talking with u @turbid sandal also
"python" gets adapter as either /p'aiton/ (transcription) or /pit'on/ (translation)
"I might be somewhat spoiled"
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
sadly not sold anymore
https://www.hardkernel.com/shop/odroid-mc1-my-cluster-one-with-32-cpu-cores-and-8gb-dram/
- 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
@turbid sandal
https://hub.docker.com/_/nextcloud
Nextcloud manual docker image
@stark river how are you
busy
damn nice also thanks for answering lol
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...
@noble rose 👋
Hi
@noble rose what are you working on
nice
Provided to YouTube by Arista
Complicated · Avril Lavigne
Let Go
℗ 2002 Arista Records, LLC.
Released on: 2002-06-04
Guitar: Corky James
Composer, Lyricist: Lauren Christy
Vocal, Arranger, Producer, Recording Engineer: The Matrix
Composer, Lyricist: David Alspach
Mixing Engineer: Tom Lord-Alge
Assistant Engineer: Femio Hernandez
Composer...
i know that song
@glass lantern 👋
No man is an omelette.
lol
what a co-incidencw
okay i was listening this like 1 min back
@ember hazel 👋
ahh memories.
the more important question would be whether the random values need to be cryptographically secure or not
!d secrets
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.
do anyone know how to work with openserver?
Gm
@wary comet 👋
Hello everyone
hi
hello
@steel torrent how are you havent talked to u in a while:
y not use case statements
callbackhell
i am good and you??
i am great
nice
Hey
Me too haha
!e py i = 0 while i != 5: print(i) i += 1 print('Bye.')
@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.
Join Vc and help me
!e py while True: print('A') break else: print('B') print('C')
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | A
002 | C
!e py while False: print('A') break else: print('B') print('C')
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | B
002 | C
!e py for i in range(5): print(i) else: print('Else') print('Bye')
@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
!e py for i in range(5): print(i) break else: print('Else') print('Bye')
@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0
002 | Bye
@edgy river 👋
Is there something like assigments,
Are you just wanting problems to work through or what do you have in mind?
Glad to have you here
Yeah my English is very close to A1
But trying my best to get it to the next level XD
I have the text file, learn how to use them and I have some assigments to make
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)
Oh so tabulating it
blah | blah | blah | blah
spam | spam | spam | spam
...
And so on and so forth?
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
It's a bit misunderstanding
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
Gotcha gotcha
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
!d itertools.cycle
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
```...
Something like (pseudocode incoming):
I will be back in minute, becuase I am going to wash my dish
I will write when I come back
# 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
Thank you, something like this should work
from itertools import cycle
cycled_colors = cycle(colors)
Do I have to install it through terminal or not?
You'd use that to iterate over or use next() on it to get the colors
No no, itertools is built in to Python
okay I will try both of them
The standard library is full of stuff like that
I am using sometimes Debian Linux, do you think is it better?
or windows is the best option
I prefer Windows, but honestly, use what is best for you
I don't know because someone refers that Linux less "eats" your RAM, and windows have some background processes svchost if you know
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
hi
the green shirt dude in the background is a vibe
https://youtube.com/watch?v=VFEZOjtrwls
In a quiet room at a loud party.
#billystrings #bluegrass #guitar
Yeah I like that too.
Typically I just use whatever has better support for the given language or project I'm doing
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
i really want to learn Guitar one day
I can get you my yousician account if you want
i wanted pycharm but my potato laptop couldn't handle it
Yeah true that
what is yousician account>
You could try linux dual boot
look for yousician it's app that teaches you how to play on different
musical instruments
ukulele
singing
I kind of miss playing clarinet
Join this channel to get Guitar Lessons and other Exclusive perks from Justin Johnson:
https://www.youtube.com/justinjohnsonlive/join
♠️ Justin Johnson Signature 3-String Shovel Guitars Available Here: https://justinjohnsonstore.com/collections/guitars
⚫️ This track is included on "The Bootleg Series Vol. 1: https://justinjohnsonstore.com
⚫️ G...
I played it in high school and just liked it
Neat
I'm coding it for ya. I'll be done in a few mins.
❤️
@gentle flint Wanna get beaten again?
Hemlock may I dm the code to you?
Absolutely
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!
Bo Burnham proves that country music is just textbook panderin'.
Watch Bo Burnham: Make Happy, only on Netflix:
https://www.netflix.com/title/80106124
SUBSCRIBE: https://bit.ly/2Kncxw6
About Netflix Is A Joke:
The official hub of Netflix stand-up, comedy series, films, and all things funny — curated by the world’s most advanced algorithm and ...
@rugged root Can you give beginner python exercises?
I can probably make a few prompts, yeah.
sup guys
How goes it
Skip The Use - Nameless World (Clip officiel)
Music video by Skip The Use performing Nameless World. (C) 2013 Polydor (France)
#SkipTheUse #NamelessWorld #Vevo
gud u?
Eh, I'm doing alright
Animation dans le cadre du clip "Nameless World" de Skip the Use. DreamWall a contribué à la modélisation, au texturing et à…
Wdym by that?
Prompts as in like... Make a program that does x y and z
Oh like this?
!resources A Byte of Python
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
We have an OSS, but also we are developing a SaaS version accessible through API.
what the imt course
I'll dm it to you in a bit.
ok
what's ur elo?
Online-Go.com is the best place to play the game of Go online. Our community supported site is friendly, easy to use, and free, so come join us and play some Go!
on chees.com?
wanna play a match with me?
Join the challenge or watch the game here.
if anyone want
i joined coder
!server
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Holo
How goes it
👍@mr.hemlock
gg
could have finished it
but you well played
yeah, i fudged when you took those two pawns with your bishop
haha yes
and that blundered pawn at the begining, but i came back scrappy 🙂
I can't think very far
same
I am just like capture and capture
no
Online-Go.com is the best place to play the game of Go online. Our community supported site is friendly, easy to use, and free, so come join us and play some Go!
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"
☮️
no
turtle
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?
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)
@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
Simple model of online store
Jesus
Yessir
I feel bad for anyone stuck with Oracle
Yall are dope awesome chads.
look at met
That was me last semester
*me
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
Yeah, Postgres has some unique quirks to it
Just feels weird to change the terminology
Hey Mindful
Mainly SERIAL vs AUTO_INCREMENT
Yeah, they did that with a bunch of things
Wait... MySQL uses backtick strings?
"It's like you make a spatula, and have to make an entirely new food to flip with it."
- 2024, Hemlock
For context, that was me commenting on quantum computing
KING IS HERE
It's called "job security", kid
😎
400 ELOOOO!!!!!
I hear COBOL calling your name
There's your job security
More just me being grumpy at having to accept crap solutions
I wish I could tell you that it gets better.
Oh don't worry, I'm jaded enough already
Hey hemlock
@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.
> MySQL
you meant MariaDB?
another oracle be bad joke
I genuinely didn't realize MySQL was also Oracle
https://ocw.mit.edu/courses/6-0001-introduction-to-computer-science-and-programming-in-python-fall-2016/
https://ocw.mit.edu/courses/6-0002-introduction-to-computational-thinking-and-data-science-fall-2016/
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...
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.
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
We also have tons on our site as well
A Byte of Python is good
Automate the Boring Stuff is good
cheers mate
❤️
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 😄
Hi
Why can’t I talk I just joined
bc
you need verify
and that need
3 days of join
50 massages
and one other thing that i dont remember
Bruh
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
dont spam
Beginner
Ok
what do you want to know about python guy
!tvmute 1165402902727237723 14d Spamming to get voice permissions results in a longer verification time.
:incoming_envelope: :ok_hand: applied voice mute to @wooden delta until <t:1707338190:f> (14 days).
👋
chatoreh
sup?
anyone uses ajax?
sometimes
yes
how hard is it to set up?
it's built in javascript
oh
then i must have misread
Asynchronous JavaScript and XML (Ajax, or AJAX) is a web development technique in which a web app fetches content from the server by making asynchronous HTTP requests, and uses the new content to update the relevant parts of the page without requiring a full page load. This can make the page more responsive, because only the parts that need to b...
by built in i mean it's a way to do things in javascript.. it is not a library
fetch is so much nicer though. Don't use AJAX unless you have to
build your own wrapper around XMLHTTPRequest. its has way more features. e.g. on_progress
i'm considering fetch
i just have to learn it first
and in a very short time :p
its just a function.
It's not complex. You are just requesting data from somewhere and doing something with the received data
its not that hard to learn 😂
wouldn't know
haven't started yet :p
hi
@wise loom Yo
@whole bear calm down kid
Anyone know about flask enviorements?
Sup
<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)
sup
sup
!d math.dist
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.
algarimons r hard grasp for me
Algorithms. Mm. I just look them up to implement them when I need to.
bur i suck at math so
im takin cs50
it alot to cosume
a lot of therory inolved
hi
It's 6 am here lol
its 6 pm here
hello @random copper
@dusky radish 👋
Hello mate 😄
anyone got some nice scraping tools? Need emails and US Phone numbers
@hexed shuttle 👋
hi
he mean sanitizers
familial Mediterranean fever
Why?
Marketing purposes
When are you coming back?
Now.
@tacit trail 👋
Packets
@crystal birch 👋
@crystal birch #voice-verification
hello
i am a ham radio operator
i gtg
@violet relic 👋
🌟 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! 🙌
@wind warren 👋
Dont Forget
Give a reaction to save a life!
@raven palm 👋
Hey
@whole bear 👋
hiii
Indeed
Inside
For instance, I am inside your- yeah no that's not appropriate
It's a pun
To be in the dark is to not know something
is everything dark but we are just normalized to seeing light
in this very very dark void
Yeah, but technically infrared isn't light, because it's not in the visible spectrum
'infrared light'
It's electromagnetic radiation
Radio waves, gamma-rays, visible light, and all the other parts of the electromagnetic spectrum are electromagnetic radiation.
light is light
Alright
or 'radiation'
TO BE IN THE DARK IS TO NOT KNOW SOMETHING
but you know you dont know anything
are we subcounsious of our knowledge in this situation
It's just a quote from a book
Please stop crucifying my bio
That's interesting, do you have a link to the study
@somber heath more like it behaved as if they were, not necessarily detecting individual particles, iirc
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
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
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
just like how phonons aren't fundamental
I love how a quote from a children's book has sparked a discussion of quantum theory
54,570
333,325