#voice-chat-text-0

1 messages ยท Page 239 of 1

fading mason
#

bruhhhhhhhhhhh

#

nope

#

just friends

#

normal

#

what's ur guys favorite

#

airline

#

here in india Air India is just trash

#

i'll go with Indigo

#

domestically

#

Spirit

#

no

#

bruh

#

Delta is good

#

I have flown with United, Delta, and Southwest

#

they're pretty good

#

ngl

#

i just don't know but United has the best catering

#

i use to live in the U.S

#

earlier

#

Seattle area

#

who's flown with Virgin Atlantic

#

do u guys use any Cloud IDE

#

if yes please do reccomend me one

#

bro Delhi metro connects the airport

#

like most terminals

#

bro has a reason......

#

which laptop u guys use?

#

ye

#

๐Ÿ˜Ž

#

i remember i had a few friends earlier in this server

#

i just lost em lmao

#

which Cloud IDE do u guys recommend

north dagger
#

It's bout time for me to go. I may be back another time because I've got plenty of Python questions.

tender horizon
#

@whole bear Ayo

#

Fuckin

#

Kid

#

Smartass

#

Come here

eager thorn
#

it's to early for this.

final laurel
#

lol

#

morning everyone

#

@stark river hello

final laurel
#

@steel torrent are you afk

steel torrent
#

wath is afk

final laurel
#

away from keyboard

steel torrent
#

no

final laurel
#

oh alright

#

what are you working on curently

steel torrent
#

iam a student

#

in python and js

final laurel
#

nice i love JS

#

i def want to get into Typescript and Go after learning more of python syntax

#

what text editor do you use

steel torrent
#

I made a Sudoku game in python

#

vs code

final laurel
#

nice

#

im using NVIM

#

but still currently learning as i go

steel torrent
#

Good luck broo

final laurel
#

yeah you too

#

so quiet

steel torrent
#

Where are you from

final laurel
#

i am from canada

#

you

steel torrent
#

ohh i love canada

#

morocco

final laurel
#

oh cool

steel torrent
#

Have you heard of it before?

final laurel
#

yeah i remember Cypher from valorant is from Morocco

steel torrent
#

I do not know him

final laurel
#

Valorant is a really popular video game

#

look it up, you will see what I am talking about

steel torrent
#

Do you own GitHub?

final laurel
#

i dont own github lol

#

are you asking do i have a github account

steel torrent
#

yes

final laurel
#

yes but its not public atm

steel torrent
#

nice

#

i love github

final laurel
#

nice same

steel torrent
#

What is your level in python

obsidian dragon
#

it's a snake, maybe

final laurel
#

i just started recently in Python so a begginer @steel torrent

obsidian dragon
#

also me, going to try counterfiet sd v3

steel torrent
#

goood luck broo

final laurel
#

yeah im loving it reading alot of the documentation

steel torrent
#

wow goood

steel torrent
obsidian dragon
#

how ot ai

#

it not make sense

steel torrent
#

what??????

final laurel
#

one more day i can talk

#

oh nice

whole bear
#

@olive hedge Can I talk to you?

final laurel
#

coding

#

im vibin

whole bear
#

@bronze prism

#

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

@winged talon

winged talon
#

Yeah

#

I'm here

whole bear
winged talon
#

I see, now working on 50 messages

whole bear
#

Do not spam

winged talon
#

I'm not going to)

cinder dawn
#

evening

#

learning java

#

not as bad as everyone says

#

but still a pain

#

i kind of like verbose weirdly

#

thanks for the heads up. not excited haha

#

i feel like all databases in any language is messed up and screwed

fading mason
leaden plinth
#

I can't get this voice chat rule. I have to send 50 messages on the server?

left leaf
#

@wind raptor i played the logic game

#

cocool one

leaden plinth
#

How do you know what you want to do with python? If you begin learning it and go to the end of the course what will change?

wind raptor
left leaf
#

it's really good

#

im stuck in some level now

wind raptor
#

Here is "hello world" in the language Piet: https://en.wikipedia.org/wiki/Esoteric_programming_language#Piet

An esoteric programming language (sometimes shortened to esolang) is a programming language designed to test the boundaries of computer programming language design, as a proof of concept, as software art, as a hacking interface to another language (particularly functional programming or procedural programming languages), or as a joke. The use of...

whole bear
left leaf
#

@wind raptor this is a good one too saw a streamer playing it
https://store.steampowered.com/app/605230/Grey_Hack/

Grey Hack is a massively multiplayer hacking simulator game.You're a hacker with full freedom to act as you wish on a vast network of procedurally generated computers.File Explorer, Terminal and Text Editor are some of the programs that will be available from the start of the game. As you improve your skills you will find new utilities that you ...

Price

$19.99

Recommendations

1183

โ–ถ Play video
eager thorn
#

@left leaf

#

Brb , PC UPDATING @left leaf

whole bear
#

Hey mindful

left leaf
#

A quantum computer in the next decade could crack the encryption our society relies on using Shor's Algorithm. Head to https://brilliant.org/veritasium to start your free 30-day trial, and the first 200 people get 20% off an annual premium subscription.

โ–€โ–€โ–€
A huge thank you to those who helped us understand this complex field and ensure we told...

โ–ถ Play video
queen hatch
#

Basically I need the GUI to be implemented into script 1, It takes user input for a code of which I have generated for them.

#

I'm not sure what I can do with main as script 1 executes main as I imported all of the main functions from it.

#

@hazy depot

#

I need all of which to compile together also, I'm sorry for the spam. I'm a noob lol.

open tinsel
#

I believe you would be able to end the code after validation then start the GUI am i wrong?

queen hatch
#

The entry box is supposed to be for the code, once the code is validated the script runs

#

I have tested it all out on the scripts themselves although I have not implemented the GUI

left leaf
#

its NOT

wind raptor
queen hatch
#

I have a group of friends who think that It's going to stop recoil for them but all it does is fuck with their mouse.

#

I'm trying to troll my discord.

wind raptor
#

We don't help with prank code or code that breaks TOS

#

!rule 5

wise cargoBOT
#

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

queen hatch
#

I had read that rule and didn't think that it fell underneath it, sorry lol.

wind raptor
#

No worries.

inland raptor
#

Are you guys going to say something?

wind raptor
#

@crystal hemlock please do not use soundboards on the server. We have ours disabled for a reason.

crystal hemlock
#

@wind raptor ThumbsUp

wind raptor
pallid maple
#

how to study cybersecurity and what is this

wind raptor
#

Gotta head out. Have a good one all ๐Ÿ˜„

left leaf
#

have a nice time man !

clear portal
#

@left leaf what. go has GC

eager thorn
stable geyser
#

Hello

#

push ups every hour

#

health issue

#

do you guys spend week ends programming?

dull sluice
#

yes

clear portal
#

fulltime

stable geyser
#

push ups and no screen in week ends can be healthy for programmer

left leaf
#

@eager thorn mouse workin now >?

eager thorn
left leaf
#

good shit

stable geyser
#

can any one reffer me a good libp2p resource or blog or pdf?

raven delta
#

.

stable geyser
#

I don't know how to start with peer 2 peer

stable geyser
#

thanks, I will go through this.

#

bye guys.

grim solar
#

bye

left leaf
#

cya dude

left leaf
stable geyser
#

voice varification is done yet

gentle flint
#

and click the button there

stable geyser
final laurel
#

hello from othe other side

somber heath
#

@devout tapir ๐Ÿ‘‹

devout tapir
#

hiiiii

#

pithink no voice perms

somber heath
devout tapir
#

๐Ÿ’€ member since april 12

#

still havent read this

#

i am verified now

#

noice

vocal basin
#

another 8 encountered

#

(still trying to repeat the 100/100/2100 personal record)

devout tapir
#

pithink mines

vocal basin
#

!e

print(.21 ** 8)
wise cargoBOT
#

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

3.782285936099999e-06
vocal basin
#

on a single cell, not the entire field

somber heath
#

@whole bear ๐Ÿ‘‹

whole bear
#

Hello!

#

Are you free by any chance to divert your attention from what you're doing to help me with something?

#

Okay thank you!

vocal basin
#

help with what?

whole bear
#

I'm a bit stuck on this and do not know how to proceed.

vocal basin
#

what do you know/are allowed to use when making the program?

whole bear
#

Just Python.

#

I honestly don't have another response to that question.

vocal basin
#

have you been taught what heapq is?

#

!d heapq

wise cargoBOT
#

Source code: Lib/heapq.py

This module provides an implementation of the heap queue algorithm, also known as the priority queue algorithm.

Heaps are binary trees for which every parent node has a value less than or equal to any of its children. This implementation uses arrays for which heap[k] <= heap[2*k+1] and heap[k] <= heap[2*k+2] for all k, counting elements from zero. For the sake of comparison, non-existing elements are considered to be infinite. The interesting property of a heap is that its smallest element is always the root, heap[0].

whole bear
#

No.

#

I don't think I can use this.

vocal basin
#

yeah, the program should probably be without something that advanced if you don't know it yet

whole bear
#

So what should I do if I may inquire?

vocal basin
#

this more or less describes the procedure

#

you have no more than 10 entries sorted by score

#

you insert one in while maintaining the ordering

#

and delete 11th entry if it exists

whole bear
#

Yeah, I know that but I'm still stuck on how to write it.

vocal basin
#

do you know how to open a file in python?

whole bear
#

f = open("demofile.txt", "r")
print(f.read())

vocal basin
#

(I assume it's needed because highscores.txt seems like a file that the program will interact with)

whole bear
#

Yeah.

vocal basin
whole bear
#

Okay.

vocal basin
#

and closing the file would be necessary, since later on in the program you'd open the same file but in write mode

whole bear
#

with = open("demofile.txt", "r")
print(f.read())
f.close()

vocal basin
#

does the original file have names and scores alternating? (two lines per entry)

whole bear
#

No.

vocal basin
#

how does the user input look like?
1)

<name> <score>
<name> <score>
<name> <score>
<name>
<score>
<name>
<score>
<name>
<score>
#

(first is how the output looks like)

whole bear
vocal basin
#

so the general layout of the program would look something like this:

#
with open("highscores.txt", "r") as file:
    ...
while (name := input()):
    score = int(input())
    ...
with open("highscores.txt", "w") as file:
    ...
#

do you know what := does?

whole bear
#

For assignment?

vocal basin
#

it's similar to = but can be used inside of an expression

#

!e

if (x := False):
    print(x)
if (y := True):
    print(y)
wise cargoBOT
#

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

True
vocal basin
#

without :=, there are some alternative patterns you can use for "read a line into name until it's empty"

#
name = input()
while name:
    ...
    name = input()
while True:
    name = input()
    if not name:
        break
    ...
vocal basin
steel torrent
vocal basin
#

:= is a walrus operator
it assigns a value to a variable, then evalues to that new value

#

!e

print(x := 15)
print(x)
wise cargoBOT
#

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

001 | 15
002 | 15
vocal basin
#

are spaces in names allowed?

whole bear
#

We're supposed to do this.

vocal basin
#

yeah, this is the output

#

not the memory representation

whole bear
vocal basin
#

and printing it also, I guess

#

but that can be done while writing to a file, since it's basically the same thing

#

does the file exist when the program is started for the first time?

#

(if no, you would need to check it or catch an error when the first open fails)

#

for reading a file line-by-line Python provides a simple way which is to just iterate over that file:

for line in file:
    ...
#

!e

with open(__file__) as file:
    for line in file:
        print(f"{line = }")
wise cargoBOT
#

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

001 | line = 'with open(__file__) as file:\n'
002 | line = '    for line in file:\n'
003 | line = '        print(f"{line = }")'
vocal basin
#

if the highscores are stored the same way they're printed (space-separated), then str.split would be used to extract the name and score parts

#

!e

lines = [
    "ABC 9877",
    "BCD 9765",
]
for line in lines:
    name, score_text = line.rsplit(maxsplit=1)
    print(f'{name = } ; {score_text = }')
wise cargoBOT
#

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

001 | name = 'ABC' ; score_text = '9877'
002 | name = 'BCD' ; score_text = '9765'
vocal basin
#

so, as first step, try combining with open, for line in file and line.rsplit to get the file parsing working

#

I have to go, but here's a list of things you should look into for implementing the rest of the program:

.insert and .sort methods on lists (and bisect/heapq modules if you're allowed to use them);
key argument to those methods (so that you sort by score not by name)

.write and .writelines methods on a file

whole bear
#

Alright.

somber heath
#

@keen ridge ๐Ÿ‘‹

#

@humble turret๐Ÿ‘‹

west fern
#

@somber heath hey

#

You can't hear me

#

I'm not wearing a headphone , and there will be noice

#

i see you here everytime , are you part of server maintaner?

#

And did you get the role? @Advent of Code Completionist

#

@somber heath

brisk bridge
#

hi

scarlet halo
#

hey

#

im deafened for now.

somber heath
#

@whole oar ๐Ÿ‘‹

whole oar
#

HI

brisk bridge
#

hi

#

btw is it possible to get docs information from .inv files?

#

i was trying make a cleaner docs than that tf sphinx

#

sphinx docs are way too hard to read

grizzled ruin
#

hello

brisk bridge
#

hi

grizzled ruin
#

may i ask whats wrong with this code why i dont get any value on my tia portal ?

brisk bridge
#

code?

grizzled ruin
#

import cv2
import mediapipe as mp
import numpy as np
import snap7
import struct
import threading

Initialize MediaPipe Hand model

mp_hands = mp.solutions.hands
hands = mp_hands.Hands(max_num_hands=1, min_detection_confidence=0.7)
mp_drawing = mp.solutions.drawing_utils

Initialize PLC connection

plc = snap7.client.Client()
plc.connect('172.20.20.30', 0, 1) # Replace with your PLC's IP address, rack, and slot

db_number = 2
bit_offset = 1
value = 1 # 1 = true | 0 = false

Function to update the global finger count and display the video feed

def update_finger_count():
global latest_finger_count
cap = cv2.VideoCapture(0)

while True:
    ret, frame = cap.read()
    if not ret:
        break
#

frame = cv2.flip(frame, 1)
rgb_frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
result = hands.process(rgb_frame)

    if result.multi_hand_landmarks:
        for hand_landmarks in result.multi_hand_landmarks:
            # Your existing landmarks and finger counting logic goes here
            latest_finger_count = finger_status.count(1)

            # Draw the hand annotations on the image
            mp_drawing.draw_landmarks(frame, hand_landmarks, mp_hands.HAND_CONNECTIONS)

    # Display the frame
    cv2.imshow('Finger Count', frame)

    # Break the loop when 'q' is pressed
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break

cap.release()
cv2.destroyAllWindows()

PLC Communication Functions

def writeBool(db_number, start_offset, bit_offset, value):
reading = plc.db_read(db_number, start_offset, 1)
snap7.util.set_bool(reading, 0, bit_offset, value)
plc.db_write(db_number, start_offset, reading)

def get_finger_count():
global latest_finger_count
return latest_finger_count

Main Logic

if name == "main":
# Start the camera script in a separate thread
cam_thread = threading.Thread(target=update_finger_count)
cam_thread.start()

try:
    while True:
        # Get the latest finger count
        finger_count = get_finger_count()

        # Write finger count to the PLC
        writeBool(db_number, finger_count, bit_offset, value)
        
        # Add a delay if necessary, e.g., time.sleep(1)

except KeyboardInterrupt:
    print("Stopping script")

# Cleanup
plc.disconnect()
brisk bridge
#

so many comments lol

#

looks like chatgpt generated?

grizzled ruin
#

not all but i get help from chatgpt

#

must with comments becuse it has to be with comments

#

OKAY

somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

brisk bridge
grizzled ruin
#

!code import cv2
import mediapipe as mp
import numpy as np
import snap7
import struct
import threading

Initialize MediaPipe Hand model

mp_hands = mp.solutions.hands
hands = mp_hands.Hands(max_num_hands=1, min_detection_confidence=0.7)
mp_drawing = mp.solutions.drawing_utils

Initialize PLC connection

plc = snap7.client.Client()
plc.connect('172.20.20.30', 0, 1) # Replace with your PLC's IP address, rack, and slot

db_number = 2
bit_offset = 1
value = 1 # 1 = true | 0 = false

Function to update the global finger count and display the video feed

def update_finger_count():
global latest_finger_count
cap = cv2.VideoCapture(0)

while True:
    ret, frame = cap.read()
    if not ret:
        break
wise cargoBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

grizzled ruin
#

i try it

somber heath
#

@queen crypt ๐Ÿ‘‹

queen crypt
#

how do i speak?

#

im suppressed

somber heath
queen crypt
#

๐Ÿ˜ญ

#

i had roles before on this acc

#

left on accidents

#

are u guys winning?

#

yes

#

winning in what u wanna win in

#

indeed

#

๐Ÿ˜ญ

#

hmm

somber heath
#

@iron aspen ๐Ÿ‘‹

brisk bridge
#

hi @peak nacelle

#

you teaching docker?

somber heath
#

@cedar glacier ๐Ÿ‘‹

brisk bridge
#

btw i think podman is faster than docker and good for potato pcs

somber heath
#

@whole bear ๐Ÿ‘‹

#

@leaden swallow ๐Ÿ‘‹

queen crypt
#

hello

#

i dont have perms btw

brisk bridge
#

btw how can we get stream perms?

queen crypt
#

can i get talk perms?

somber heath
queen crypt
#

๐Ÿ˜ญ 3 days

#

i joined now but had perms before

brisk bridge
#

btw do you have debian os?

#

oh k me bad at linux commands

#

i am just used to alpine os cause its small and good for my potato pc

eager thorn
#

@mystic lily ๐Ÿ‘‹๐Ÿฝ

brisk bridge
#

use nvchad in neovim for basic setup? with auto complete

queen crypt
#

@somber heath still cant verify

somber heath
#

@silver shoal ๐Ÿ‘‹

brisk bridge
#

you can get auto completion in nvim @ebon mist

#
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 && nvim
#

^

#

press esc

#

and type :q

#

or :wq

#

hmm

#

why it not works for you?

#

try :wq

#

hmm

#

weird

#

try reinstalling nvchad

#

make new file with touch

#
touch <file>
queen crypt
#

nano/cat

brisk bridge
#

@peak nacelle
try nvim <file>

peak nacelle
#

Brb

queen crypt
#

congrats

mystic lily
dry jasper
mystic lily
#

pip install numpy

#

arr = np.array([1, 2, 3, 4, 5])

print(arr)

print(type(arr))```
#

arr = [1, 2, 3, 4, 5]

wise cargoBOT
#

@eager thorn :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | [5 7 9]
002 | [ 4 10 18]
#
Missing required argument

code

stuck furnace
#

What are you guys talking about? I heard my name ๐Ÿ˜„

wise cargoBOT
#
Missing required argument

code

stuck furnace
#

lol

mystic lily
#

!ti

import numpy as np

arr = np.array([1, 2, 3, 4, 5])

print(arr)
wise cargoBOT
#

@mystic lily :white_check_mark: Your 3.12 timeit job has completed with return code 0.

1 loop, best of 5: 95.7 usec per loop
stuck furnace
#

Yep

#

I didn't even know we had that command

mystic lily
#

!ti

arr = [1, 2, 3, 4, 5]

print(arr)```
wise cargoBOT
#

@mystic lily :white_check_mark: Your 3.12 timeit job has completed with return code 0.

200000 loops, best of 5: 1.69 usec per loop
stuck furnace
#

Errr

#

!help ti

wise cargoBOT
#
Command Help

!timeit [python_version] [setup_code] <code, ...>
Can also use: ti

Profile Python Code to find execution time.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

If multiple formatted codeblocks are provided, the first one will be the setup code, which will not be timed. The remaining codeblocks will be joined together and timed.

Currently only 3.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!

stuck furnace
#

I don't think you can. I think it just loops as many times as it needs to get the error down low enough.

#

Or maybe it's based on total run time.

#

Fyi, you need to close the bracket

#

๐Ÿ˜„

#

Can you mute please @whole bear

#

Concatenation?

#

Oh

eager thorn
#

!e


import numpy as np

a = np.array([1, 2, 3])
b = np.array([4, 5, 6])

print(a + b) 
print(a * b)
wise cargoBOT
#

@eager thorn :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | [5 7 9]
002 | [ 4 10 18]
stuck furnace
#

Oh that's just how numpy arrays get printed.

#

Errrm, maybe to make them all two characters wide?

#

So they line up if you print out a 2d array.

#

!e ```py
import numpy as np
a = np.array([[9, 10, 11], [12, 13, 14]])
print(a)

wise cargoBOT
#

@stuck furnace :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | [[ 9 10 11]
002 |  [12 13 14]]
stuck furnace
#

It's right-justifying the numbers.

#

Like str.rjust

#

It's just an aesthetic thing yeah

#

!e ```py
import numpy as np
print(np.random.randint(0, 10000, (6, 6)))

wise cargoBOT
#

@stuck furnace :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | [[1537 1997 8228 6092 2649 2945]
002 |  [1440 8330 2434 1087 5920 1143]
003 |  [8256 7633   26 6392 8418 8163]
004 |  [1357 3365 5568  312 2931 2000]
005 |  [3673 9439 1597 1216 8396 2437]
006 |  [3767 8123 2212 9328 2797 2409]]
stuck furnace
#

What's everyone up to?

final laurel
#

waiting to be able to talk

stuck furnace
#

It was alright ๐Ÿ‘

final laurel
#

it has been 3 days

stuck furnace
#

Nah I don't really do new year's resolutions

final laurel
#

how do i check to see the time limit

#

on how long i have been here

eager thorn
wise cargoBOT
#
Voice verification

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

stuck furnace
#

I feel like if you want to make a change, you should just do it, not wait for a new year to do it ๐Ÿ˜„

eager thorn
#

you should be able to verify now.

final laurel
#

still

#

member since jan 5th

wispy tapir
#

!voice

final laurel
#

what

#

lol

stuck furnace
#

Errr, just checking

#

You joined <t:1704504892:R>

#

At 1704504892 unix time ๐Ÿ˜„

#

So you will be able to verify <t:1704764092:R>, if I've got my maths right.

final laurel
#

alright 13 hours

#

sounds good just wont join vc until tomm

dry jasper
#

!py
from datetime import datetime
ts = int('1704504892')
print(datetime.utcfromtimestamp(ts).strftime('%Y-%m-%d %H:%M:%S'))

stuck furnace
#

Alright, see you then

wise cargoBOT
#
Missing required argument

code

stuck furnace
#

!eval?

#

Erm, it gets sent to a server, evaluated in a sandbox, then the output gets sent back.

#

!source eval

wise cargoBOT
#
Command: eval

Run Python code and get the results.

Source Code
stuck furnace
#

I guess if you wanted to demonstrate a difference between versions? ๐Ÿคทโ€โ™‚๏ธ

#

I haven't used that much myself.

#

Yeah it's very handy ๐Ÿ˜„

#

I think network access etc. are locked down.

#

So there's not much you could do.

#

You could use it to send rude words in the server ๐Ÿ˜„

#

That's about it.

#

I don't understand sorry

#

Errr, I don't know actually

#

You can save temporary files, and if they're images, the bot will show them, which could be potentially sketchy

#

But you'd have to generate it purely with code.

#

Yeah, there have been things on Discord like video files that crash clients and stuff.

#

Oh, err, the mods would just get pinged.

#

Hopefully

#

We have tonnes of filters and alerts

stark river
#

does anyone use python version managers? thinking of using one

#

my system python v is 3.11
i could install 3.12 but i'm thinking of using a version manager like pyenv.. if it is still used

stuck furnace
#

I tend to just use pip and venv.

eager thorn
stuck furnace
#

I find other tools a bit overwhelming tbh ๐Ÿ˜„

stark river
#

currently i use conda but installing virtualenv inside conda feels a bit weird.. like installing a virtual env inside a virtual env

#

i use conda for data analysis and ml stuff but i want to start using virtualenv for web dev

stuck furnace
#

I think way back it was much simpler to install libraries like numpy using conda.

#

That sounds like one of the scenarios where web scraping might be ok/allowed

stark river
#

i'm used to creating envs using conda.. but the conda freeze is a tiny bit different than pip freeze.. just enough to cause annoying problems
so i'll be using the same tools that other web devs use: pip + virtualenv

#

i don't want to use python from ubuntu repos because they rip out pip..
so i have to compile from source

#

i may need a version manager for python like i have one for nodejs

stuck furnace
#

Yeah

dry jasper
#

@stark river in venv you can specify what python version it should use

stuck furnace
#

Well actually, you use the python version you want as the base interpreter to create the environment.

#

So like, on Windows, you might do: ```
py -3.10 -m venv .venv

#

If you have virtualenv installed, which is like the more fully-featured equivalent of venv, you can select a python version like: ```
virtualenv --python 3.10 .venv

stuck furnace
stark river
#

i believe virtualenv uses the python version available on the system.. i.e. you can't install a new version of python

stuck furnace
#

They just use their own packaging system for installing global packages.

stuck furnace
#

It compiles them from source, I believe.

#

Hey @lyric moss so what was the information you needed to find? ๐Ÿ˜„

stuck furnace
# stark river i believe virtualenv uses the python version available on the system.. i.e. you ...

Also, do you know about the deadsnakes PPA for older/newer versions of python? https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa

stuck furnace
#

Everyone taken the survey? ๐Ÿ‘€

rapid chasm
#

@eager thorn

eager thorn
#

whwat's up.

rapid chasm
#

You can see the example above

eager thorn
#

only survey i'd ever do.

stuck furnace
#

This is usually the time Hemlock joins if he's around ๐Ÿ˜„

eager thorn
#

might be working idk.

somber heath
#

Well, I have.

stark river
#

what personal data are they asking for?

somber heath
#

Stabuwu diffuwusion.

left leaf
#

@eager thorn mouse workin

#

@eager thorn it's a based question gonna ask it everyday mby

grim solar
#

XD

left leaf
#

yo @rugged root

stable geyser
#

Hi guys!!

left leaf
stable geyser
#

What are your thoughts about Modular Mojo?

left leaf
#

superset of python right '/

#

it's really efficient for ML stuff

#

if you're really interested you can learn it via documentation it's really similar to python

#

this is still pretty crazy to me tho

eager thorn
#

sorry had to run to the gas station.

left leaf
#

no worries man

stable geyser
#
  1. Quantum Computing
#
  1. Crypto currency
#
  1. AI
rugged root
#

๐ŸŽถ One of these things is not like the other ๐ŸŽถ

stable geyser
#

No I like the words 3 emerging tech

#

or term

#

bye bye

#

I have to go

rugged root
#

Catch you later

#

You delete these things before I can add reactions

#

Ninja alex

wind raptor
#

Hey all ๐Ÿ˜„

#

What did I walk into?

left leaf
#

hellllo

#

quantum mobiles

rugged root
#

2 liters a day

peak depot
#

agree

eager thorn
gilded rivet
#

@rugged root

wise cargoBOT
#

@gilded rivet stahp

rugged root
#

!source

wise cargoBOT
gilded rivet
left leaf
#

cya mens i'll be going now

#

mams too

echo tartan
#

is this a dumb use of recursion? Was going to use a for loop, then I'm like, hey recursion can do this (it's a morse code encoder/decoder function) ```py
def convert(code, mode):
global MORSE_CODE_DICT

## decides whether to encode or decode
if mode == 'E':
    if len(code) == 1:
        return f"{MORSE_CODE_DICT[code[0].upper()]}"
    else:
        return f"{MORSE_CODE_DICT[code[0].upper()]} {convert(code[1:], mode)}"
elif mode == 'D':
    if type(code) == str:
        code = code.split(' ')
    if len(code) == 1:
        return f"{PLAIN_TEXT_DICT[code[0].upper()]}"
    else:
        return f"{PLAIN_TEXT_DICT[code[0]]}{convert(code[1:], mode)}"
else:
    return f"Error: incorrect value for mode. Use either E for encode or D for decode."```
rugged root
rugged root
#

One sec

queen dragon
#

Is there anyone here not working in tech yet?

#

Man thatโ€™s awesome that you were able to grow into that

queen dragon
#

Its so difficult getting experience atp

rugged root
#

@fading mason What's your question about it?

#

Ignore Rabbit, he's a grump

fading mason
#

just asking

#

like that

#

i think this is too

rugged root
#

Never heard of that one, neat

stuck furnace
#

I feel like merge request is a better name than pull request.

#

Gotta go

surreal grove
#

I just made a YouTube video about coding am I allowed to post the a YouTube link here?

#

<@&831776746206265384>

rugged root
#

I mean... if it comes up organically in the conversation

#

We don't really have a place for self-promotion

surreal grove
rugged root
#
amber raptor
#

when docker fails you eh Hemlock?

rugged root
#

It's helpful for local project management stuff

left leaf
#

hello mens

stark river
#

ahlan wa sahlan

#

men itself is plural

left leaf
#

yy

#

just more plural

#

more mens

stark river
#

make it more plural .. mens truation

left leaf
#

it has to be

rugged root
#

python3 -m ensurepip

wind raptor
#

So many IDEs open wow

stark river
unkempt narwhal
#

:-v

rugged root
#

python3.12 -m ensurepip

#

Weird

#

Fair enough

stark river
wind raptor
stark river
#

logo_vim ๐Ÿซถ

gentle flint
lavish rover
rugged root
#

Mmmm.... robocopy

stark river
#

the dd of powershell

rugged root
#

Doesn't allow for doing it on threads right?

tall ridge
tall ridge
vocal basin
#

I so far haven't had a use case for multi-version Python builds (have never maintained a public enough library/package/etc.)

  • I don't have that much resources to run it neither locally nor in-cloud

the only tool, that I've used and which provides "matrix build" functionality, was GitHub Actions and its derivatives (I mostly use Gitea Actions which is built on top of nektos/act -- a tool that allows running GitHub actions self-hostedly)

#

I guess buildbot supports it too with some extra setup

#

I've only used buildbot for Rust and only with two versions at a time (1.65 for MSRV and latest)

sly kayak
#

Hey guys! can someone help me with something? it's about tkinter package.
Well.. So I want to create a transparent and topmost window, and click throw a specific Frame that is visible to the window under it, how do I do that?
I have this code

import tkinter as tk
import win32gui
import win32con


def click_through(hwnd):
    try:
        styles = win32con.WS_EX_LAYERED | win32con.WS_EX_TRANSPARENT
        win32gui.SetWindowLong(hwnd, win32con.GWL_EXSTYLE, styles)
        win32gui.SetLayeredWindowAttributes(hwnd, 0, 255, win32con.LWA_ALPHA)
    except Exception as e:
        print(e)


if __name__ == '__main__':
    root_x, root_y = 200, 50

    root = tk.Tk()
    root.config(bg='#001122')
    root.attributes('-transparentcolor', '#001122', '-topmost', 1)
    root.geometry(f"{root_x}x{root_y}")

    test_frame = tk.Frame(root, width=50, height=30, background="#ff0000")
    test_frame.place(x=10, y=10)
    click_through(test_frame.winfo_id())
    
    root.mainloop()

I successfully clicked throw it, but my question is, can I do that without using win32gui and win32con?
Thank you for your help! I appreciate it.
It looks like this, I want to click throw the red frame.

whole bear
#

import tkinter as tk
import win32gui
import win32con


def click_through(hwnd):
    try:
        styles = win32con.WS_EX_LAYERED | win32con.WS_EX_TRANSPARENT
        win32gui.SetWindowLong(hwnd, win32con.GWL_EXSTYLE, styles)
        win32gui.SetLayeredWindowAttributes(hwnd, 0, 255, win32con.LWA_ALPHA)
    except Exception as e:
        print(e)


if __name__ == '__main__':
    root_x, root_y = 200, 50

    root = tk.Tk()
    root.config(bg='#001122')
    root.attributes('-transparentcolor', '#001122', '-topmost', 1)
    root.geometry(f"{root_x}x{root_y}")

    test_frame = tk.Frame(root, width=50, height=30, background="#ff0000")
    test_frame.place(x=10, y=10)
    click_through(test_frame.winfo_id())```
#

lua

waxen aspen
#

Helloguys, is anyone here from Canada?

clear portal
#

dll injection???

#

@whole bear discord uses dll injections to show users in a voice chat in games

#

dll injections are not easy task

#

yep

#

this is interesting

#

yep exactly

whole bear
#

A process can host a TLS callback, and then it will receive notifications of thread creation. That can intercept thread creation such as what is produced by CreateRemoteThread. If the thread start address is LoadLibrary(), then you have a good indication that someone is about to force-load a DLL.

clear portal
#

5 years ago

#

its a good sample good. but i would rather write my own dll injector

#

this is uses cpp for dll injection

#

look it source code ://

clear portal
#

i think its injects into vulkan stuff. so like any programs that renders its graphics using vulkan can be used

#

yep.

whole bear
clear portal
#

๐Ÿ˜‚

#

i found this from 2001

#

๐Ÿ˜‚

#

oh its actuly from 2017

#

yep. but its process base. so you cant really do one thing for all apps

#

then list your apps.
and check how to inject into each one.
then you are good to go

#

hijack the discord dll injector.
test your idea
if its works and its good
then write your own dll injector

clear portal
#

its works with rust and valo

viral oak
#

sorry

clear portal
#

cpp is a shity language.
but its not that hard to read

whole bear
clear portal
#

overkill

#

well this is also not pure python

whole bear
clear portal
#

why dont just write your own wrapper

#

its very easy

#

very very easy

#

no

clear portal
lavish rover
tulip plover
#

@whole bear hey

whole bear
#

Hi i need help with this code i am stuck here and dont know what to do i need someone to help me out if you can :

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
encrypted_text = ''
    print(char == "")    
for char in text.lower():
    index = alphabet.find(char)
    new_index = index + shift
    encrypted_text += alphabet[new_index]
    print('char:', char, 'encrypted text:', encrypted_text)
    print(char == "")

At the top of your loop, print the result of comparing char with an empty space. Use the equality operator == for that < ===== no clue of the question in exercise .

vocal basin
#

maybe they meant " " instead of ""?

#

(and "and the top" would anyway mean first line inside not line just above, I'd expect)

whole bear
#

Alisa can you give me the code resolved

#

if you dont mind ?

#

me puedes dar el code resuelto ?

vocal basin
#

!e

text = "Hello World"
...
for char in text.lower():
    print(char == " ")
    ...
wise cargoBOT
#

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

001 | False
002 | False
003 | False
004 | False
005 | False
006 | True
007 | False
008 | False
009 | False
010 | False
011 | False
... (truncated - too many lines)

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

whole bear
#

but using my code

#

just resolve the line

#

cuz im stuck

#

and idk where not gonna lie

whole bear
#

Yo

brisk bridge
#

Hi opal

whole bear
#

can actually someone

#

give me my code but fixed pls

#

Hi i need help with this code i am stuck here and dont know what to do i need someone to help me out if you can :

text = 'Hello World'
shift = 3
alphabet = 'abcdefghijklmnopqrstuvwxyz'
encrypted_text = ''
    print(char == "")    
for char in text.lower():
    index = alphabet.find(char)
    new_index = index + shift
    encrypted_text += alphabet[new_index]
    print('char:', char, 'encrypted text:', encrypted_text)
    print(char == "")

At the top of your loop, print the result of comparing char with an empty space. Use the equality operator == for that < ===== no clue of the question in exercise .

somber heath
#

@vast garnet ๐Ÿ‘‹

vast garnet
somber heath
#

@final laurel ๐Ÿ‘‹

final laurel
#

hello

somber heath
#

!e py []()

wise cargoBOT
#

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

001 | /home/main.py:1: SyntaxWarning: 'list' object is not callable; perhaps you missed a comma?
002 |   []()
003 | Traceback (most recent call last):
004 |   File "/home/main.py", line 1, in <module>
005 |     []()
006 | TypeError: 'list' object is not callable
somber heath
#

!e ```py
def func():
print('abc')
print(123)

func()
func()```

wise cargoBOT
#

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

001 | abc
002 | 123
003 | abc
004 | 123
somber heath
#

!e py my_list = list() # my_list = [] print(my_list) my_list()

wise cargoBOT
#

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

001 | []
002 | Traceback (most recent call last):
003 |   File "/home/main.py", line 3, in <module>
004 |     my_list()
005 | TypeError: 'list' object is not callable
somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

somber heath
#

!e py drinks = ['coke', 'sprite'] for drink in drinks: print(drink)

wise cargoBOT
#

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

001 | coke
002 | sprite
somber heath
#

!e py drinks = ('coke', 'sprite') for drink in drinks: print(drink)

wise cargoBOT
#

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

001 | coke
002 | sprite
somber heath
#

!e py drinks = 'coke', 'sprite' for drink in drinks: print(drink)

wise cargoBOT
#

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

001 | coke
002 | sprite
somber heath
#

!e py drinks = {'coke', 'sprite'} for drink in drinks: print(drink)

wise cargoBOT
#

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

001 | sprite
002 | coke
somber heath
#
(..., ..., ...)  # tuple, but beware of other uses of ()
[..., ..., ...] # list, but beware of other uses of []
{..., ..., ...} # set
{k0: v0, k1: v1, k2: v2} # dict```
#

!e py things = print, [], range, 123, 'abc', min, max for thing in things: print(f'Is {thing} callable? {callable(thing)}')

wise cargoBOT
#

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

001 | Is <built-in function print> callable? True
002 | Is [] callable? False
003 | Is <class 'range'> callable? True
004 | Is 123 callable? False
005 | Is abc callable? False
006 | Is <built-in function min> callable? True
007 | Is <built-in function max> callable? True
final laurel
#
import time
def wait_time():
  for count in range(5,0,-1):
    print(count)
    time.sleep(1)
    print('waiting for you', 'i will be right back! ')
print()

wait_time()
somber heath
#

!e ```py
import time
def wait_time():
for count in range(5,0,-1):
print(count)
time.sleep(.5)
print('waiting for you', 'i will be right back! ')
print()

wait_time()

wise cargoBOT
#

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

001 | 
002 | 5
003 | waiting for you i will be right back! 
004 | 4
005 | waiting for you i will be right back! 
006 | 3
007 | waiting for you i will be right back! 
008 | 2
009 | waiting for you i will be right back! 
010 | 1
011 | waiting for you i will be right back! 
... (truncated - too many lines)

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

unkempt narwhal
#

๐Ÿ‘€

echo hull
#

!e py things = print, [], range, 123, 'abc', min, max for thing in things: print(f'Is {thing} callable? {callable(thing)}')

wise cargoBOT
#

@echo hull :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | Is <built-in function print> callable? True
002 | Is [] callable? False
003 | Is <class 'range'> callable? True
004 | Is 123 callable? False
005 | Is abc callable? False
006 | Is <built-in function min> callable? True
007 | Is <built-in function max> callable? True
echo hull
#

!e

for Object in Object :
       print(f'is {object} callable?
{Callable(object)}')```
wise cargoBOT
#

@echo hull :x: Your 3.12 eval job has completed with return code 1.

001 |   File "/home/main.py", line 3
002 |     print(f'is {object} callable?
003 |           ^
004 | SyntaxError: unterminated f-string literal (detected at line 3)
warped raft
#

hey ,
I am having trouble setting up react in vscode can somebody assist

#

@viral oak hello

viral oak
#

hi

warped raft
#

how are you doing

#

yup

#

i hear you loud and clear

#

i want to setup react

#

np

#

how are you doing today

#

i am aslo fin

#

yeah but i sitting in quite a silent room and i don't wanna disturb it

#

javascript

#

along with basic html and css

#

@somber heath hello

#

how are you doing

#

JetBrains

somber heath
#

@carmine spruce ๐Ÿ‘‹

stuck furnace
#

๐Ÿ‘‹

somber heath
#

@whole bear ๐Ÿ‘‹

stuck furnace
#

What're you up to?

whole bear
#

@somber heathi can't speak I don't have permission

somber heath
whole bear
#

@peak depot how?

stuck furnace
#

Ah nice

#

Is it a full course on probability or part of another course?

somber heath
#

Probably.

surreal grove
#

I cant talk

stuck furnace
#

I think I finally "got" probability on my third exposure

surreal grove
#

But hello

#

I making a game in java for my youtube video

#

๐Ÿ˜ข

stuck furnace
#

Bayes nets? ๐Ÿ‘€

surreal grove
#

Why cant i talk

#

XDD

somber heath
whole bear
#

@peak depot chill bruh

#

@whole bear which linux dist should be best in case of having features and customization ?

surreal grove
whole bear
whole bear
scarlet halo
#

"modful dev"

scarlet halo
#

is anyone stopping me from naming my future child to "x86 assembly"

#

LETS GOOOO

#

well

#

what if i want to

#

"minecraft java edition"

#

"gcc compiler error"

eager thorn
scarlet halo
#

yeah

#

i love tokyonight color schemes

#

wha

#

i didnt hear sorry

#

partylite

#

yeah fair

#

personally i dont really like gruvbox

#

nvim

#

but i really like vscode

#

yeah

#

i wonder when noodle (my ball python) is gonna shed

#

what font do you guys use?

#

i use jetbrains mono

#

(with nerd font btw)

pseudo crescent
#

i just tried out leetcode and man its like a whole new world

#

do you guys have any tips on how i can tackle this because i wanna get better but i dont know how to tbh

scarlet halo
whole bear
#

You are not my fav swede

scarlet halo
#

nuh uh i am

whole bear
#

Think again

echo garden
#

Good morning

whole bear
#

Good afternoon

#

good night

wind raptor
#

!stream 710856373675491381

wise cargoBOT
#

โœ… @scarlet halo can now stream until <t:1704811807:f>.

peak depot
whole bear
#

You've got white hair?

wind raptor
#

!stream 528333061964824576

wise cargoBOT
#

โœ… @surreal grove can now stream until <t:1704812197:f>.

peak depot
#

blonde/white

pseudo crescent
#

but vsc is saying that "self"is not defined:

    nums = [3,4,2,1]
    val = [2]
    
    self = removeElement(nums, val)
    self.count = nums,val.index
    return self

print(self)
left leaf
#

@scarlet halo try ctrl u in normal mode

wind raptor
#

!stream 702070661623054336

wise cargoBOT
#

โœ… @viral oak can now stream until <t:1704814737:f>.

wind raptor
#

!stream 710856373675491381

wise cargoBOT
#

โœ… @scarlet halo can now stream until <t:1704815170:f>.

wind raptor
#
stuck furnace
#

Duckers McQuack is a great name ngl

#

Hey not bad

stark river
#

what does starring a repo mean? what does it signify?

stuck furnace
wind raptor
#

!stream 717749310518722691

wise cargoBOT
#

โœ… @whole bear can now stream until <t:1704816181:f>.

whole bear
#

hi

wind raptor
#

!stream 710856373675491381 1h

wise cargoBOT
#

โœ… @scarlet halo can now stream until <t:1704819547:f>.

whole bear
#

can anyone here help me find a computer intership program

#

im located in massachusetts

stuck furnace
#

You can have multiple windows in the browser ยฏ_(ใƒ„)_/ยฏ

stuck furnace
#

Erm, I was reading, but now I'm playing a game

#

The Witness

#

It's like a puzzle game

#

Yeah it's pretty good, but playing for more than like 20 minutes gives me a headache unfortunately :(

#

๐Ÿ˜„

#

Nah it's because it's a first-person game

#

Idk why, but I can't play those for very long

#

Something to do with field of views probably

#

What're you up to Rabbit?

#

I've put it up to max

#

That seems to help a bit.

#

Hey

stark river
#

it's not the oop that's annoying .. it's the design patterns

stuck furnace
#

Err, 120

wind raptor
#

!stream 789885479226179594

wise cargoBOT
#

โœ… @torpid bolt can now stream until <t:1704819852:f>.

stuck furnace
#

@torpid bolt You've got a typo in your __init__.

#
self.name = name
self.year = name
left leaf
#
whole bear
#

Milien

peak depot
#

if u wanna learn python I recommend this: https://programming-24.mooc.fi/

left leaf
#

@eager thorn While loops again

eager thorn
peak depot
#

dsa?

whole bear
#

Data Structures and Algorithms

stark river
#

bubble sort

peak depot
#

the link is for basics of python

whole bear
#

u have any?

stark river
#

i have several books on those

peak depot
#

sec

whole bear
stark river
#

yes

peak depot
whole bear
#

.topic

viscid lagoonBOT
#
**What is your favourite place that you have visited?**

Suggest more topics here!

stuck furnace
#

Change topics please

left leaf
#

ban hammer

#

incoming

stark river
#

can't seem to dl books off ipfs

stuck furnace
#

Yep ๐Ÿ‘€

left leaf
#

@eager thorn what are you up to now ?

#

still playing cod

eager thorn
left leaf
#

based

stark river
#

jetbrains taking too long to approve my alma mater

left leaf
#

i took a licence

#

via Document

#

just the id from the uni and some info about me also the uni email

eager thorn
#

i thought about switching from VSCode to Jetbrains products but haven't looked into it much, don't know what I'm missing out on. or the difference, or how different linting is setup. cause VScode was pretty self-explainatory.

left leaf
#

thats it i got 4 years renewal licence

meager scaffold
#

i need help downloading pythorch, this would take like 3 minutes but i cant speak in vc ;/

eager thorn
meager scaffold
#

anyone down to lend a hand?

eager thorn
#

Python was my first language 7 years ago so, it's been home to me.

left leaf
#

Pycharm community is really handy

#

it has a tutorial text everytime you get into it

eager thorn
#

just paying for it would be the issue currently.

left leaf
#

its FREE

stark river
#

clion is probably the only one i will ever use

meager scaffold
#

get good at coding, crack the software, code on the software

wise loom
#

for Python how many commands are there?

#

what is a command?

left leaf
#

@wise loom here we go again

wise loom
left leaf
#

skill issue

stable geyser
#

can we reffer a commad as statement?

left leaf
stable geyser
#

community eddition is forever as I know

wise loom
left leaf
stable geyser
#

Cybotron !!

#

yes you can

#

You can use vim

eager thorn
#

@left leaf what i was trying to ask was, from vscode i've used pylance and ruff for stuff like linting and etc.

#

brb pc restart.

wise loom
stark river
#

vimwiki

left leaf
surreal grove
#

๐Ÿ˜ข

#

Still does not work

stable geyser
#

Yes things happens

#

can you move now?

#

Data to AI?

#

Ha ha ha

rugged root
#

!e

class Student:
  def __init__(self, name: str, age: int, favorite_subject: str):
    self.name = name
    self.age = age
    self.favorite_subject = favorite_subject

  def __str__(self):
    return f"Hi, my name is {self.name} and I am {self.age} years old!"

sally = Student("Sally", 7, "Math")

print(sally)
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.

Hi, my name is Sally and I am 7 years old!
rugged root
#

!e

class Student:
  def __init__(self, name: str, age: int, favorite_subject: str):
    self.name = name
    self.age = age
    self.favorite_subject = favorite_subject

sally = Student("Sally", 7, "Math")

print(sally)
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.

<__main__.Student object at 0x7fad42be3a40>
rugged root
#

!e

class Student:
  def __init__(self, name: str, age: int, favorite_subject: str):
    self.name = name
    self.age = age
    self.favorite_subject = favorite_subject

  def __str__(self):
    return f"Hi, my name is {self.name} and I am {self.age} years old!"

sally = Student("Sally", 7, "Math")

print(sally)
print(repr(sally))
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | Hi, my name is Sally and I am 7 years old!
002 | <__main__.Student object at 0x7ff5743cfdd0>
rugged root
#

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

torpid bolt
#
import tkinter as tk 

app = tk.Tk()
app.title("Simple Gui")

label = tk.Label(app, text = "....")


label.pack()

app. mainloop()

class Car: 
    def __init__(self, name, year):
        self.name = name
        self.year = year


cars = Car("LEXUS",1989)
cars2 = Car("HONDA",1970)

print(cars.name)
print(cars.year)
print(cars2.name)
print(cars2.year)
stable geyser
#

In Modular mojo, is python variable still iterpreted or Dinamically loaded or is compiled first?

rugged root
#

Haven't looked at it

#

God

#

Damn it

peak depot
gentle flint
#

!pypi pytest-mock

wise cargoBOT
gentle flint
runic drum
#

I am solo survival camping in Alaska with no tent so I am building a survival shelter and a bushcraft cot to sleep on. So I am going to be testing whether I can heat my cot with hot rocks. I am also going to be doing some campfire cooking while I am at it.

Check out our camping video playlist
https://youtube.com/playlist?list=PL5EGD6MqjI6IASMa...

โ–ถ Play video
rugged root
#

FINNISH HIM

runic drum
rugged root
#

That just

#

Why would people do that to themselves

#

That's too cold

runic drum
#

I don't know but it is mesmerizing

#

or I feel more comfy in my bed

rugged root
clear portal
#

what are we talking about ๐Ÿ˜‚

rugged root
eager thorn
#

i truly apolgize if ya'll heard any of that @rugged root truly.

rugged root
#

All good

short owl
#

is JAVA still BIG and BLOATY

#

AI takes 30 seconds to learn your voice pattern ... and sounds better

final laurel
#

nice

idle vector
short owl
#

Hemlock bot spawned all over - mm you get paid royalties

rugged root
gentle flint
short owl
#

coffee_jitter mmmm good coffee ....

idle vector
gentle flint
short owl
#

siamese cats dont meow proper .... need a rebate

stuck furnace
#

Mine? ๐Ÿ‘€

final laurel
#

yeah

stuck furnace
#

Thanks!

final laurel
#

np

gentle flint
short owl
#

anyone use GPT to write some test code in.... python OR other

final laurel
#

@stuck furnace how long have you been coding for

rugged root
#

Seemed fine

short owl
#

ya i have to set up some test bits in python , SPIN , 32 bit asm , ...... bla bla

#

i wazz told by a JAVA programmer not to bother with GPT since , JAVA writes itself .......... ba dum boom

#

what do you want to do when you want to grow up @raw carbon

#

why not make RC planes its boyish , yet people spends $$$$$$$$$$$$$$$$$$ on it

#

they cant control themselves

#

mmmmm can blast off rock in back yard

#

if on a farm?

#

first coffee ---- im tryin

stuck furnace
gentle flint
#

@idle vector when you keep saying "bro's" it reminds me of this
https://youtube.com/watch?v=GYyLU7_E9QE

Tiktok commenters are the life force of future civilization.

NEW SHIRTS:
https://www.leaderincorporated.com/
ONLY AVAILABLE FOR THE NEXT WEEK!

Roomates:
@BlakeRosier
@cerspence

filmed be: https://www.instagram.com/jake.d.jackson/

JOIN THE PATREON FOR EXTRA CONTENT:
https://www.patreon.com/ryantheleader

SOCIALS:
Instagram: https://www.ins...

โ–ถ Play video
short owl
#

mmm engineer can develop new RC tech , side huzzle

final laurel
#

@stuck furnace nice

short owl
#

did you see those new GIANT RC planes made of aerogel ?

idle vector
#

youre a giant rc plane made of aerogel ๐Ÿ‘€

short owl
#

sony discman has a buffer to prevent skips - kinda cool

rugged root
#
val s = "abc"
println("$s.length is ${s.length}") 
// abc.length is 3
short owl
#

@rugged root kotlin ? what prompted this .... hidden advaned features ??

rugged root
short owl
#

ya .... SUPER LIGHT , yet strong , they fly it indoors

#

what is outside ?

#

creator of Napster "outside is overated" , actually said it

rugged root
#

!stream 702070661623054336

wise cargoBOT
#

โœ… @viral oak can now stream until <t:1704830989:f>.

clear portal
#

๐Ÿ˜‚

#

wut

#

i think thats server side

short owl
#

tiny script on vid ... too much work to solve

short owl
#

๐Ÿ”Ž Sherlock Holmes New Stories read by Benedict FULL Audio Cumberbatch FULL Detective Audiobook1
๐Ÿ™ SUPPORT THE CHANNEL ๐Ÿ™
https://www.patreon.com/BooksToRead
benedict cumberbatch sleep story
benedict cumberbatch reading poetry
sherlock holmes audiobook 1
sherlock holmes audiobook hindi
sherlock holmes audio drama
sherlock holmes audiobook bangla
b...

โ–ถ Play video
#

may not be him

#

yes AI is actually that good .....

#

stephen hawking ( i'll be back )

clear portal
#

shower science

#

๐Ÿ˜‚

left leaf
clear portal
#

ok we got it. your are rich

#

๐Ÿ˜‚

#

i like to get paid courses for free :))))

dry jasper
clear portal
#

wtf ๐Ÿ˜‚