#voice-chat-text-0

1 messages · Page 159 of 1

vocal basin
#

wait what
some product was bought only 3 times, but has 6 reviews

#

something's off

vocal basin
#

all binary heaps are binary trees, but not all binary trees are binary heaps

#

binary heap is a specific type of a binary tree

#

for a min heap:

if tree is not None and tree.left is not None:
    assert tree.val <= tree.left.val
if tree is not None and tree.right is not None:
    assert tree.val <= tree.right.val
#

if a node has a left (right) child, child's val will be equal or greater

#

value ordering in a binary heap

#

and in a binary search tree

native hemlock
#

hello

#

I am new in this server

indigo crag
#

??

native hemlock
#

okay

#

I can

#

good

indigo crag
#

good

snow oasis
#

😅

native hemlock
#

but I can't use Mike ykr

indigo crag
#

so?

native hemlock
#

I am not voice verified

snow oasis
native hemlock
#

😐

#

that's not fare

indigo crag
#

hahaha

#

missclick

native hemlock
#

can any one help me to add keyauth with a python code?

native hemlock
indigo crag
#

im

#

im proto europen blue eyed bradaran so

snow oasis
#

wtf

native hemlock
#

😓 I am noob too

indigo crag
#

i didnt do anything bad mr serious.

native hemlock
#

@lunar haven what you are coading?

#

?

#

actually no

vocal basin
#

pinging it doesn't do anything I think

native hemlock
#

I am from Bangladesh, in my country there a few people how knows python. It's though to learn it without a mentor

#

I am trying to learn from YT 😅

snow oasis
#

@lunar havenis this a good course?

native hemlock
#

chatGPT doesn't helps that much

#

@lunar haven were are you from?

#

means?

celest rover
#

hello

native hemlock
#

what does it mean?

#

in which country do you live?@lunar haven

vocal basin
#

still looking for a better backronym for it involving "parrot"

native hemlock
#

lol it doesn't even exist

#

@lunar haven that can't be a country

#

😅😅

#

@lunar haven where i can get help for a coading issue?

vocal basin
native hemlock
#

am I allowed to create a new post over there?

native hemlock
#

🙂

native hemlock
vocal basin
#

"just use Pydantic instead"

cosmic bison
#
sin(19f)
println(12);
#

println 10

ashen plinth
#

@cosmic bison for the discord server you mentioned, what is that group focused on?

cosmic bison
#

its for my programming language

cosmic lark
ashen plinth
scenic trail
#

communism

cosmic lark
cosmic bison
#
23423.to_string()
#

&self

potent carbonBOT
#
Command not found

Command "self" is not found

cosmic lark
#

I love black buck btw

#

Anyone else like those?

cosmic bison
cosmic lark
cosmic bison
#

Ben's Compiled Language

#

my first name is Ben

vocal basin
#

I prefer Babruysk as per its representation in postmodern literature

west epoch
ashen plinth
west epoch
#

@cosmic bison For self learning, about compiler design and DSAlgorithms, could you please recommend some online resources or univ courses you found helpful

vocal basin
#

find a reason why you'd need one

#

at least

scenic trail
vocal basin
#

Mojo is (pathetically) trying to revive closed-source languages

#

Mojo is closed-source

#

recently overhyped language

vocal basin
#

JetBrains MPS

#

or whatever it's called

#

borrow checker helps me a lot to write better code, so I'm not annoyed at it

#

I never used MPS, tbh

#

I'm surprised it's free

#

this looks cursed, a little

#

who pasted Wolfram Mathematica code into Java?

#

apparently MPS allows that

scenic trail
vocal basin
#

Protocols can be checked on runtime, if you enable it

#

I don't remember how, so I'll make the error message tell me to

#

I learned C# very early

#

one week before Python

#

or, rather, started

#

!e

from typing import Protocol, runtime_checkable

@runtime_checkable
class Div(Protocol):
    def __truediv__(self, other):
        ...

print(isinstance(1, Div))
print(isinstance("1", Div))
wise cargoBOT
#

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

001 | True
002 | False
vocal basin
#

^ this being Protocol checking on runtime

#

protocols are somewhere between interfaces and traits

#

you can define a protocol that a foreign type is an instance of
but you can't implement a protocol for a foreign type

#

I think neither of three depend on pandas

#

not numpy and not matplotlib, at least

scenic trail
lavish rover
native hemlock
#

@lavish rover so messy

lavish rover
#

?

native hemlock
#

@lunar haven what is happening?

#

@lunar haven okay

#

@lunar haven undone, happy?

vocal basin
native hemlock
vocal basin
#

@lunar haven why ox?

native hemlock
vocal basin
#

at least not these lol

elfin bone
#

age = int(input("How old are you?: ")) and str(input("I'm ")+str(age))

if age >= 18:
print("You are an adult!")
if age <= 0:
print("Thats a lie! No way you're "+str(age))
else: print("You are a child, only "+str(18-age)+(" years to go!"))

vocal basin
#

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

cosmic bison
#

!e ```py
age = int(input("How old are you?: ")) and str(input("I'm ")+str(age))

if age >= 18:
print("You are an adult!")
if age <= 0:
print("Thats a lie! No way you're "+str(age))
else: print("You are a child, only "+str(18-age)+(" years to go!"))

elfin bone
#

!e age = int(input("How old are you?: ")) and str(input("I'm ")+str(age))

if age >= 18:
print("You are an adult!")
if age <= 0:
print("Thats a lie! No way you're "+str(age))
else: print("You are a child, only "+str(18-age)+(" years to go!"))

wise cargoBOT
#

@elfin bone :x: Your 3.11 eval job has completed with return code 1.

:warning: Note: input is not supported by the bot :warning:

001 | How old are you?: Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     age = int(input("How old are you?: ")) and str(input("I'm ")+str(age))
004 |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 | EOFError: EOF when reading a line
cosmic bison
#

!e ```py
age = int(input("How old are you?: ")) and str(input("I'm ")+str(age))

if age >= 18:
print("You are an adult!")
if age <= 0:
print("Thats a lie! No way you're "+str(age))
else: print("You are a child, only "+str(18-age)+(" years to go!"))

wise cargoBOT
#

@cosmic bison :x: Your 3.11 eval job has completed with return code 1.

:warning: Note: input is not supported by the bot :warning:

001 | How old are you?: Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     age = int(input("How old are you?: ")) and str(input("I'm ")+str(age))
004 |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 | EOFError: EOF when reading a line
vocal basin
#

and str(input("I'm ")+str(age)) part is unnecessary, seems like

elfin bone
#

age = int(input("How old are you?: ")) and str(input("I'm ")+str(age))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: "I'm 4"

elfin bone
#

if i remoe it

#

and say i'm 4

#

it wont work

vocal basin
#

input 4 without I'm

elfin bone
#

age = int(input("How old are you?: "))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: "I'm 4"

elfin bone
#

i want the user to have an option

#

to say either

vocal basin
#
age = int(input("How old are you?: ").removeprefix("I'm"))
cosmic bison
#
age_str = input("What is your age")

age = 0

if age_str.startswith("I'm"):
  # Do stuff here
else:
  age = int(age_str)
vocal basin
#

!e

print("I'm something".removeprefix("I'm"))
print("something".removeprefix("I'm"))
wise cargoBOT
#

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

001 |  something
002 | something
vocal basin
#

won't matter as you pass it into int

#

iirc

#

!e

print(int(" 0"))
wise cargoBOT
#

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

0
elfin bone
#

@vocal basin

#

so

#

what if we tell

#

python to

#

remove all the string

#

so lets say

#

the user makes up some stupid way of answering

#

Hello, I am 4 years olkd

#

years old

#

how do I remove all of the string

#

do you know how to remove string in a response

vocal basin
#
print("".join(filter(str.isdecimal, input())))
cosmic bison
#

I feel that might be confusing for a beginner?

vocal basin
#

in real software, you almost always should just throw an error and/or ask the user to input the data correctly

elfin bone
#

what does

#

.join do

#

exactly

vocal basin
elfin bone
#

i get it kinda

cosmic bison
#

", ".join(["bread", "pasta", "chicken"])

elfin bone
#

this is my 3rd day

#

of python

#

but

#

i did lua

vocal basin
#

I think it's simpler than any imperative solution

#
age_input = input("How old are you?: ")
only_digits = filter(str.isdecimal, age_input)
age_str = "".join(only_digits)
age = int(age_str)
elfin bone
#

isdecimal deals with i am 4.5 years old

#

right

vocal basin
#

eh

#

it will think it's 45

elfin bone
#

ohh

#

got it

vocal basin
#

not that decimal

#

!d str.isdecimal

wise cargoBOT
#

str.isdecimal()```
Return `True` if all characters in the string are decimal characters and there is at least one character, `False` otherwise. Decimal characters are those that can be used to form numbers in base 10, e.g. U+0660, ARABIC-INDIC DIGIT ZERO. Formally a decimal character is a character in the Unicode General Category “Nd”.
elfin bone
#

!d str.isdecimal

vocal basin
#

!e

from itertools import groupby
from operator import itemgetter

s = "abc 4.5 def 123"
parts = groupby(s, str.isdecimal)
numbers = filter(itemgetter(0), parts)
number = int("".join(next(numbers)[1]))
print(number)
wise cargoBOT
#

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

4
vocal basin
#

selects the first number from the string

#

another, arguably better way, is re

cosmic bison
#

yeah

vocal basin
#

eh

#

I forgot everything

#

search it should be

#

total failure

#

well, because it must be + not *

#

!e

import re
s = "abc 4.5 def 123"
number = int(re.search(r"\d+", s)[0])
print(number)
wise cargoBOT
#

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

4
elfin bone
#

re?

vocal basin
#

!d re

wise cargoBOT
#
re

Source code: Lib/re/

This module provides regular expression matching operations similar to those found in Perl.

Both patterns and strings to be searched can be Unicode strings (str) as well as 8-bit strings (bytes). However, Unicode strings and 8-bit strings cannot be mixed: that is, you cannot match a Unicode string with a byte pattern or vice-versa; similarly, when asking for a substitution, the replacement string must be of the same type as both the pattern and the search string.

vocal basin
cosmic lark
#

How can I compile 3.10 code with eval in the bot?

#

Anyone?

#

There is a significant difference in behaviour of the two interpreters

cosmic bison
#

elif

cosmic lark
#

?

cosmic bison
#
if cond_one:
    pass
elif cond_two:
    pass
else:
    pass
elfin bone
#

!e elif: (temp>=0):
print("It's quite cold out today! I suggest you stay inside as for today. "+str(temp)+" isn't a good weather!")

cosmic lark
#
try:
    print(error)
except Exception as e:
    print(e)
else:
     print("I'm just wasting time")
vocal basin
#

!e

...
wise cargoBOT
#

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

[No output]
vocal basin
#

ah

#

not anymore

elfin bone
#

i fixexc

#

fixed

cosmic lark
#

!e

try:
    print(error)
except Exception as e:
    print(e)
else:
     print("I'm just wasting time")
wise cargoBOT
#

@cosmic lark :white_check_mark: Your 3.11 eval job has completed with return code 0.

name 'error' is not defined
cosmic lark
#

Like try this in 3.10

#
a = 287
b = 287
print (a is b)
print ( a == b )
cosmic lark
#

!e 3.10

a = 287
b = 287
print (a is b)
print ( a == b )
wise cargoBOT
#

@cosmic lark :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | True
002 | True
cosmic lark
#

Oofe

wind raptor
#

Hey @lavish rover 👋

cosmic bison
#

In this video, we introduce how to make video games with the Python programming language and the PyGame module to make video games. Python makes for a great programming language to use when learning game development because of its simple syntax.

Learning game development is also a great way to learn how to program. Video games usually incorpor...

▶ Play video
#

py -m pip install pygame

elfin bone
cosmic bison
#

import pygame

cosmic lark
#

And then run pip

#

it does

#

It's called vcpkg

#

Cpp package manager

#

Or if u on lincox it's easier

#

Just use apt or ur os package manager to get the devel libs

#

pygame is written in c btw

#

It is as fast as it can be

#

Deserved

wind raptor
#

@lavish rover How was the IRL Pong?

lavish rover
#

fun

cosmic lark
#

I give -ve karma on reddit and downvote on stackoverflow

wind raptor
#

Nice

cosmic lark
#

Lmao

wind raptor
lavish rover
#

something quick, sure

#

don't want to be up late

cosmic lark
#

@cosmic bison ur BCL open-source or wot?

#

Send link

#

Gh

#

Where?

#

So how is it a compiled lang?

#

I don't see the assembler

#

Or am I missing something

#

I see

#

Makes sense

#

LLVM IR good

#

Right

#

I see it has a standard lib as well

#

Hmmm

#

hmmm.....tui s are annoying ngl

#

so libc math?

#

Byebye

#

it is ig from LLVM 11 onwards

#

ah

#

Brb after breakfast

#

Cya

cosmic bison
#

len(my_string)

#
\u001b[31mSkillIssue\u001b[0m
elfin bone
#

username= input("Hello Human! Please insert your name:")
u001b[31mError
while len(name) == 0:
print("ERROR: You must ")
while len(username
print("That name is invalid! Please make sure your name is more than 3 letters long.")

#

u001b[0m

terse drift
#

i can type

#

i cant talk it wont let me verify

#

nice to meet you

elfin bone
#

It's because y

#

you

#

have a bad username

#

im a mod i know

#

the rules

#

!rule4

#

!rule

wise cargoBOT
#

The rules and guidelines that apply to this community can be found on our rules page. We expect all members of the community to have read and understood these.

elfin bone
#

you need to change your username

#

to comply with the following: Must be appropiate, can't contain numbers, can't contain the word "killer" and it must contain the word touc

#

@terse drift 2 minutes left until i ban you

#

FOREVER

terse drift
#

ok

elfin bone
#

just kidding,

terse drift
#

its my name from gaming i can change it XD

elfin bone
#

a server kick.

#

change it,

terse drift
#

but remind me how to change it on a per server basis?

elfin bone
#

no

#

username

#

in general

#

change it to maybe "GeneralToucRules"

#

maybe

#

or "GeneralTouc"

#

that might pass through the python bot

terse drift
#

hold on i know there is a way to have a username on one server different on others give me a sec

elfin bone
#

Thats a nickname

#

and it wont work

#

you need to change your user

#

im giving you 1 minute to comply

#

before i kick you

#

sorry man

#

im not the boss

terse drift
#

im working on it can you seriously not wait 5 min while i figure it outXd

elfin bone
#

just

#

change your user

#

to "GeneralTouc" maybe

#

It needs to contain Touc

terse drift
#

test

elfin bone
#

..............................

terse drift
#

there

elfin bone
#

Touc

#

it needs to have

#

Touc

#

oh my god.

#

can you read the rules

#

?

elfin bone
#

And you changed your nickname

#

not your discord user

terse drift
#

my name shows as general on the server what is the difference?

#

whatever

elfin bone
#

b/c it wnt

#

wont

#

pass through

#

the python bot

#

@wise cargo

terse drift
#

i am not changing my whole account just for one server i thought this would be a cool place to meet other devs and maybe collaborate but seems really ridiulous with the rules ill just go

elfin bone
#

FINE THEN

#

GO AHEAD

#

GO

#

I'm getting you kicked

terse drift
#

i mean seriously why do i have to change my whole account? XD

elfin bone
#

it's rules

#

im not the boss

terse drift
#

and other admins saw my name and had zero issue

elfin bone
#

they might've not noticed

#

but

#

if you want access

#

to the voice chat

#

you need to comply

#

or else ill kick you

#

from the voicechat perms

terse drift
#

i dont even have voice chat perms yet 🤣

elfin bone
#

b/c u didnt

#

comply?

#

what ru sayng

#

@wind raptor kick him

#

pban

terse drift
#

no bevause i dont have 3 days or any of the other critieria yet also i met him day one and he had no issues

elfin bone
#

nope

#

im banning u

#

forever

#

u cant stop me

#

im clicking

#

on the button

#

that only staff (like me)

#

can use

dense ibex
#

bro what are you on about

elfin bone
#

im clicking on it

#

@dense ibex im also removing your perms

dense ibex
#

are you like 6?

elfin bone
#

actually.

dense ibex
#

makes sense

elfin bone
#

@terse drift change your name to ToucanKingdom

#

or else im banning you

dense ibex
#

<@&831776746206265384>

elfin bone
#

im not actually 6 you

#

dumb fuck

terse drift
#

eval(bestToucanAge - 2)

print("that equals 4 and half")

elfin bone
#

what

terse drift
#

its python

elfin bone
#

ik

#

but u forgot

#

to say

#

what bestoucan

#

stands for

#

anyways

#

im getting back to my python

#

then ill ban you, just remind me to ban you

#

b/c im staff

old otter
#

what's going on here?

terse drift
terse drift
elfin bone
#

im 6 and a haklf

terse drift
#

he doesnt know me

elfin bone
#

im not 6 and a half

#

thats it dude im going to create an Ai to do stock investment for me

#

actually

#

im going to check on my crypto trade

#

SHIT

#

I GAINED 17 CENT

#

CENTS

terse drift
#

you gonna tell him why you hate me?

elfin bone
#

yes

#

you didnt listen to dictator orders

elfin bone
#

by 0.34

#

so far

#

i gained 17 cents

terse drift
old otter
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied warning to @elfin bone.

elfin bone
#

impersonate

#

a staff

#

i told him a staff will ban him

#

take off the warning

old otter
vocal basin
#

at least, like, 4-5 times

old otter
#

consider this a warning: knock it off.

elfin bone
#

what!!
i didn't impersonate anyone..

#

of course!!

#

trust me........

#

baby girl

#

rawr

terse drift
#

UwU?

elfin bone
#

come on baby girl, lets take this to the back @old otter

#

MEOW

vocal basin
#

I don't even understand what's going on anymore

old otter
#

!mute 715259748504698924 2d Trolling

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @elfin bone until <t:1688613901:f> (2 days).

scarlet depot
glacial dragon
#

I'm good

#

lol

#

what your wishes ?

#

Done

#

i use magic

#

both

echo garden
#

sup

glacial dragon
#

magic for coding

#

what are you trying to do now ?

#

just typo

echo garden
#

?

glacial dragon
#

yeah

echo garden
#

yeah

#

sorry bored

#

happy fourth

#

yay independence

#

I can't talk right now but i can't imagine whats its like to be here and be absolutely quite on the 4th of july

#

and not even listen to people talk carp

#

crap

#

can't even be like.. "Blew my finger off today"

glacial dragon
#

yes

echo garden
#

listen to the owes and awws but can't say that typing

#

no no i can't say that at all.. typing... can't type with no fingers.

glacial dragon
#

Capture the Flag

#

it's hacking

#

yes

echo garden
#

there should be a app for that but with money.. set a "flag" somewhere and.. wait...... i see issues.

glacial dragon
#

i play Tryhackme Hackthebox Picoctf good websites to play

#

and learn

echo garden
#

I play crickets

glacial dragon
#

i little of python and bash

echo garden
#

that soon will change after today though

glacial dragon
#

have you play CTF @lunar haven ?

#

you do not need certificates

echo garden
#

after today i will be the proud owner of my very own controller for the game console that has sat here for nearly a year

#

and THEN

#

i will be vicotriously happy for a short period of time

#

when it all wears away ill need medication

#

gofek type i can't hear hi how are ya

#

way to type gofek way to type.

glacial dragon
#

sorr i do not hear you good let me put my headphone

echo garden
#

Im not talking nor can i talk due to the needs and requirements of a loved one sleeping

glacial dragon
#

How i can stream here ?

echo garden
#

depends on the type of the stream? is the the type that starts with the inner wall of your bladder?

#

mind you i CAN NOT hear you guys

#

im not allowed

timber talon
#

yo

glacial dragon
#

i think he only code

#

No

echo garden
#

?

#

me

glacial dragon
#

Brucie he only code

timber talon
#

I guess I only code

glacial dragon
#

yes

#

when you ask him are you ctf player like me and Quantibility

willow quest
#

Hi

timber talon
#

I don't ctf, but I know the general idea

glacial dragon
#

Nice would you like to play ?

timber talon
#

sure. The website I'm working on is down atm.

glacial dragon
#

let's pick an easy challenge

#

hello @willow quest

sour willow
#

sup gofek

glacial dragon
#

he get root.txt flag

sour willow
#

i used to be very active on this server 💀

glacial dragon
#

there is 2 flags user.txt and root.txt

sour willow
#

tf is a root.txt and user.txt

glacial dragon
#

the hardest one to get is the root.txt

willow quest
glacial dragon
sour willow
#

yo got a 7700

#

intelijj was blowing up my laptop

#

took like 5 fucking minutes for it to do its intellisense bs

glacial dragon
#

@lunar haven start coding

sour willow
#

where are opal and hem lmfao

#

maybe bad time on my side

#

yeah alot of noise around me

#

dont wanna bother you guys with the noise

glacial dragon
#

what is opal

noble solstice
#

who always online

glacial dragon
#

we do not have chinese food here LOL

sour willow
#

i'll catch by another time

#

for now bye

echo garden
#

heh

glacial dragon
#

hello @somber heath

echo garden
#

turkey

#

I can't even hear

lusty kindle
#

hey

glacial dragon
#

Hi @scarlet depot

scarlet depot
#

@glacial dragon hi there

glacial dragon
#

how are you ?

cinder dawn
#

🫡

fallow timber
#

hello

cinder dawn
#

hello

haughty scroll
#

hi

cinder dawn
#

new badge

cinder dawn
#

im making a nike discord bot for someone

#

its making my brain hurt

#

hello

cinder dawn
#

@somber heath opal!

#

im making an adidas/nike bot

#

and its going terribly

#

yes

#

all in a discord bot

#

yeah idk why

#

its fine its just the buying part

#

that is biting me

somber heath
#

@whole bear 👋

whole bear
whole bear
#

will join later ! thanks

cinder dawn
#

@somber heath you have a customer service voice

#

have you ever worked in customer servic

#

that is more than fair

#

you work for james bond

somber heath
#

@manic canopy 👋

manic canopy
#

how do i verify, for me to talk

cinder dawn
#

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

somber heath
#

@hot badge 👋

cinder dawn
#

im so sick of this bot

somber heath
#

@elfin panther

#

👋

elfin panther
#

hello

#

i don't have a permisson to talk 😄

#

yeahh i don't have 3 days in server

#

goodbye

somber heath
#

@thorn crane 👋

cinder dawn
#

thats it

#

im turning to chatpgt

somber heath
#

@errant night 👋

cinder dawn
#

"holding thr reins"

errant night
#

hey

manic canopy
#

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

frosty star
#

oh its raining here too

#

i really like these bootcut lycras I bought off shopee for cheap

#

i don't think this is relevant to you tho

#

yeah but they are super comfy i promise. just wanna put it out there

wind raptor
#

I had to look up what a lycra was 🤣

frosty star
#

oh it's not common over there? it's this stretchy fabric

plucky hinge
#

how to get perms to stream

wind raptor
#

What is the project/content you are interested in streaming?

frosty star
#

work

plucky hinge
frosty star
#

you will need to ask an moderator* for that

wind raptor
plucky hinge
wind raptor
#

No problem 🙂

nimble epoch
#

hemlock 🙏

#

Isn't mustafa in dubai?

silver hawk
#

anyone is there

nimble epoch
#

They do

#

Scary stuff

#

what's the tech stack involved?

#

nice

#

Yeah won't react make things faster?

#

NZT might help

somber heath
#

!resources @rustic comet

wise cargoBOT
#
Resources

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

frosty star
wind raptor
frosty star
#

just watch a yt vid hun

somber heath
#

@rustic comet Corey Schafer, YouTuber, Playlist for python beginners

frosty star
#

good luck!

#

Corey Schafer is rly good

#

ur voice is so soft ...

#

fastapi

#

djdjdjdjdjdjdjdjdjdjango

#

mmhm

#

pfft

sour willow
#

lmfao sup opal, mindful

#

and uh i think i know hajaa so hi to u aswell

#

i got the case just the gpu waiting prob gonna get it on the 4th

#

no gamming lol i got a 7700 bc intellij was killing me with the crashes

#

i do backend so nothing that gpu intensive

#

ah maybe i'll try ai one day

#

also docker has been killing me took me 2 hours to realize running a database on docker has a completely diff host name 💀

#

tbf the ai apps that nvidia gives you are awesome they just released this app that would change your eye to match your camera so when you look at anywhere else its still focused on the camera

vocal basin
#

in my experience, VS Code has been easier to use with Docker compared to IntelliJ

sour willow
#

sup af

#

yeah intellij has way better java support vscode is a bit limited there

#

ease of use basically

frosty star
#

i love how they just give up and name it ooga booga

vocal basin
#

Docker and hostnames is an even more cursed problem when you run into, for example, httpd's hostname caching

#

fun to have totally wrong things being proxied

sour willow
#

i just run postgresql on an old laptop works pretty well

#

im working with nextcloud for testing so its new to me

vocal basin
#

Nextcloud good

sour willow
#
 Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for db failed: Temporary failure in name resolution 
#

the errors never end....

#

im following their own documentation

vocal basin
#

Celeron actually not that bad of a CPU
(especially for when this thing was released)

sour willow
#

i have one laptop that has xeon platinum i run nextcloud on that high end lol

#

and i have this other laptop running a A12 for k8

#

i used to have a way more pleasant experience with their snap build

#

damn it worked with mariadb

#

turns out i didnt save my docker-compose properly

frosty star
#

beautiful

sour willow
#

nvm

frosty star
#

do restart always

#

in compose it's restart: always

#

if you're using compose

sour willow
#

almost used a container name instead of the app image

frosty star
#

bye guys

sour willow
#

no dis respect bud maybe instead of bragging abt ur hard work

#

brag about ur game later on

cosmic lark
#

!e

a = 287
b = 287
print( a is b )
print( a == b )
wise cargoBOT
#

@cosmic lark :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | True
002 | True
vocal basin
#

you can just treat it like Rust does

#

enums and structs have their fields parsed and highlighted quite similarly

#

so much so that visibility qualifiers in enum variants are valid syntax

#

even though it'll scream at you anyway for using them

cosmic bison
#

okay, fair

#

I will try that if I can't find anything else.... which is likely

cosmic bison
somber heath
#

For context, the woman is a kind of AI and she got rebooted, so she lost her memory, and what she does have is jumbled, so when Ted Danson asks for a paper file, she keeps giving him cactuses.

vocal basin
#

haven't noticed this diagram before

worldly roost
#

which is the best sleeping position?

cosmic bison
#

none, don't sleep

willow gate
#

@somber heath hello

#

@somber heath can we host website on github?

somber heath
#

I believe so.

willow gate
#

@somber heath how many?

turbid sandal
somber heath
willow gate
sour willow
#

poor kids oppressed 💀

#

use spring boot

willow gate
wise cargoBOT
#
Bad argument

I didn't get a match! Please try again with a different search term.

somber heath
#

!zen

wise cargoBOT
#
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

sour willow
#

no hard feelings but what ur saying makes no sense

#

maybe im too dumb

willow gate
willow gate
sour willow
#

id suggest you using apaid service to prevent certain pictures

#

yk its all big features till u implement them

worldly roost
#

bu

#

hi

sour willow
#

also noticed ppl fantasize in vcs here lately lol

#

seems unsafe

#

put a possible flag to disable it imo

somber heath
sour willow
#

spider did you say unsigned and signed pointers are the same type?

cosmic bison
turbid sandal
#

Hyper-Text-Transfer_Protocal :// World-Wide_web . domain-name / dir-name / filename . filetype /? name="t" = "at" -> add-token

sour willow
#

isnt the www just a server prefix given?

#

just parse json body

#

weight doing name = t = at ->

#

huh weird thought signed pointers existed

cosmic bison
#

it wouldn't make any sense honestly. Doing a negative pointer would just be really goofy

sour willow
#

dumb thing im saying

#

but when you delete something and it goes on your ram s cache i figured it would make sense for negative pointers

scarlet halo
#

wgp4h9y91c

vocal basin
#

aren't call stack addresses by default mapped as almost max value?

#

so they'd be small negatives if interpreted as signed

#

having positive and negative addresses as two separated groups also allows to ensure valid differences addresses can always be represented as signed

#

there's a problem that you can't always represent difference between uN and uN as uN

#

and not as iN

#

it needs to be i(N+1)

#

tbh, it should just be absolute difference represented as uN

#

because usually if you need to handle pointer difference, negative and positive differences are handled very separately anyway

#

TIL alternative names for this structure
https://en.wikipedia.org/wiki/Parent_pointer_tree

In computer science, an in-tree or parent pointer tree is an N-ary tree data structure in which each node has a pointer to its parent node, but no pointers to child nodes. When used to implement a set of stacks, the structure is called a spaghetti stack, cactus stack or sahuaro stack (after the sahuaro, a kind of cactus). Parent pointer trees ar...

sour willow
#

sahuaro stack?

#

this got complicated quickly

vocal basin
#

> When used to implement a set of stacks, the structure is called a spaghetti stack, cactus stack or sahuaro stack (after the sahuaro, a kind of cactus).

#

related to persistent stacks/linked lists also

cosmic bison
sour willow
#

ah

cosmic bison
#

Looking to create a Discord Bot for your server? Well then, this is the first video in my new series in where I should you how to create a fully functioning bot in Python for your server.
In this video, I go over how to setup your discord bot on your server and how to make a basic command.

►Please consider joining my discord server: https://di...

▶ Play video
vocal basin
#

I'm trying to find what month I started writing discord bots in

sour willow
#

what api?

vocal basin
#

(will I forget this by the time I try to remember it next time? probably yes)

#

cursed and not good:

#

oh, wow, I knew about __exit__ in 2019 already

sour willow
vocal basin
#

if it's supposed to be persistent

#

also, repr

#

instead of json.dump(s)

sour willow
vocal basin
#

there are no back-ups
there are no logs (write-ahead or rollback)

#

it was just rewriting the whole one file in full

sour willow
#

fair enough

#

could you possibly run this on gpu cores on cpu intensive appsS?

#

seems weird but i can see it being needed

#

i mean with threadreapers prob not needed with xeon would make abit of sense

vocal basin
#

gpus have limited instruction sets
especially bad at branching

#

but if you eliminate branching, it will speed up cpu execution too, quite a lot

sour willow
#

yeah alot of cuda cores

#

never though they were that limited

#

interesting

vocal basin
#

also bad for inherently single-threaded execution

#

(i.e. iteration-centric)

whole bear
#

@high patio hi

high patio
#

hi

sour willow
#

yeah cuda cores run at 2GHz

#

i think

whole bear
#

@high patio whr r u from?

vocal basin
#

sounds faster than I remember it being

#

well, it improved a lot since then

whole bear
#

@high patio i like yr accent.

vocal basin
#

gpu frequencies still have room to grow, unlike cpu

sour willow
#

dont have any knowledge of enterprise specific gpus though only consumer grade

#

i mean still 4.5ghz and 5.4 oc is not bad

whole bear
#

lol

high patio
sour willow
#
RX 6750 XT    $470
    2560    64    2495 MHz
high patio
#

whats your name?

whole bear
#

Hiiiiiiiiiiiiiiiiiiiiirrrrrrrrrrrrrrrrrrrrrrro\

high patio
#

okk

sour willow
#

a 6750xt is nothing that special

#

i think a 7900xt will have way higher clock speeds

vocal basin
#

ChatGPT openly lies

#

makes stuff up

#

it can suggest you to import packages that don't exist

sour willow
#

even a 4080 has 2.5GHZ

#

impressive

#

those titan cards should even have a higher base clock i presume

vocal basin
#

my current one is 1.2~1.5 GHz

#

but it's AMD

sour willow
#

5000?

vocal basin
#

RX 590

sour willow
#

makes sense

#

still ok gpu

#

5400 is like usally base gpu for games

vocal basin
#

ever since I got it, I don't remember thinking about upgrading any hardware at all
like, the only disadvantage for me is that it's no CUDA

sour willow
#

AI?

vocal basin
#

I probably won't buy a new GPU for that anyway
because for me the question isn't whether it's performant, but wheter it's supported at all

#

I have a spare 1050 Ti, which I can probably still use

sour willow
#

isnt 1050 ti worse than a 5900?

#

thought the 5900 compared to the 1060/1070/1080

vocal basin
#

I'd just have both installed, RX 590 and 1050 ti

#

first not for CUDA
second for CUDA

sour willow
#

fair enough\

vocal basin
#

though, well, if motherboards to properly organise that are more expensive than just buying a better nvidia gpu, might go for a new gpu

sour willow
#

whats ur current mobos socket?

#

i presume its pga

whole bear
#

@gentle flint @somber heath @cosmic bison hey guys @high patio is a q-generator.

vocal basin
#

I have no clue
but the second PCIe slot isn't full-size, and, I'd assume, it's going to be an issue

#

at least, I'd expect copy times to be worse

sour willow
#

prob x4 or x8 then

vocal basin
#

x4, iirc

somber heath
sour willow
#

i mean still pcie 3 is still very popular

#

better than paying 500$ for a pcie 5 with a fan lmfao

vocal basin
#

@whole bear do you have public static IP?

echo glade
#

@high patio
"If I had an hour to solve a problem and my life depended on the solution, I would spend the first 55 minutes determining the proper question to ask for once I know the proper question, I could solve the problem in less than five minutes," Einstein said. "It's not that I'm so smart," Einstein said.

vocal basin
#

just try ping

#

at least

#

what's the port?

#

43?

#

idr

fiery fjord
#

Hey guys, I am new here on discord! How does the voice chat works?

echo glade
vocal basin
#

53, I did forget

#

@gentle flint works fine

#

@whole bear do you pay for an IP address?

high patio
vocal basin
#

ISP may block all arbitrary forwarding

#

it can do that, to some extent

#

the simplest way to remove the issue on ISP's side is to pay for a static public IP

wind raptor
#

What seems to be the problem?

high patio
sour willow
#

u sure?

#

in big servers i think it needs verification

wind raptor
#

Yeah, I can pop over for a bit.

vocal basin
#

can you join vc?

#

I think yes

#

with guest-like account

#

but not sure

#

ah

#

I remember there's something with guest account thing

sour willow
#

it will work most likely

#

k who should i dm the link to?

wind raptor
#

!stream 651519394673065989

wise cargoBOT
#

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

gentle flint
sour willow
#

cant

gentle flint
#

try again

silver stratus
#

I've tried but couldn't able to talk yet in voice server

wind raptor
#

brb

floral ivy
#

me too

wind raptor
#

back

wind raptor
wide hatch
#

as a beginner in coding, should i do the cs50 course?

vocal basin
#

!d unittest

wise cargoBOT
#

Source code: Lib/unittest/__init__.py

(If you are already familiar with the basic concepts of testing, you might want to skip to the list of assert methods.)

The unittest unit testing framework was originally inspired by JUnit and has a similar flavor as major unit testing frameworks in other languages. It supports test automation, sharing of setup and shutdown code for tests, aggregation of tests into collections, and independence of the tests from the reporting framework.

To achieve this, unittest supports some important concepts in an object-oriented way:

vocal basin
#

good enough often

#

all Python tests I ever wrote were with unittest because couldn't be bothered installing pytest or other tools

#

!source

wise cargoBOT
vocal basin
#

I though this list in PyCharm used to look differently

#

I don't remember anything other than pytest, unittest and doctest

#

!d class

wise cargoBOT
#

A template for creating user-defined objects. Class definitions normally contain method definitions which operate on instances of the class.

vocal basin
#

can't be sure wth !d will return

#

does it prioritise glossary over syntax reference?

#

woul make sense

#

(I think it was released when I still had the license)

fresh thistle
#

sup!

#

It's french for John

#

oui

#

I can't see the stream for some reason

#

i guess my connection is clunky

#

yep

cinder dawn
#

hello

#

LESS GOOO

#

ive been making a bot all day

#

its going dreadfully

#

no no

#

i dont even like sneakers

#

like

#

nike

stable mica
#

hey man. Im new to the server and Im attempting to dive myself more into the python community. Im a senior for my bachelors program in computer science. I do not have questions to ask but in the future I want to be able to ask questions. I'm currently "suppressed" and cannot send text or talk in the stream. thanks

cinder dawn
#

adidas

#

i love you gof

#

ill embroid u a burger

#

embroid

#

ill learn

#

why does ur woman voice sound so western

stable mica
#

thanks a lot.....

cinder dawn
#

jus press enter every 2 seconds

silver stratus
#

i've been trying to talk in voice server!

#

Should I paste anything in bot-commands or sir-lancebot-playground?

cinder dawn
#

im gonna go eat

#

fuck this code

#

probaby chicken

silver stratus
#

It said : You must meet all of the following criteria before you can speak in voice channels:
• Have over 50 messages in the server.
- Messages that have been deleted do not count towards your message count.
- Messages sent in either ⁠bot-commands or ⁠sir-lancebot-playground do not count

cinder dawn
#

chicken taco 🤮

#

breast

#

its jus better

#

actually

#

leg is good

#

havent had a leg in a long time

#

turkeys are good as hell

#

takes too long to cooj

#

they break too easy

#

ohh yeah

silver stratus
#

!voiceverify

cinder dawn
#

just get a non stick

#

really?

#

oh damn so if u have a meal, you gotta have it coun

#

count

fossil void
#

how was that ?

#

hello there

#

ok

#

how you doing?

#

let start code

#

New movie

#

The guy who created the first tactical nuke

silver stratus
#

It still said: Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:

• You have sent less than 50 messages.

fossil void
#

Project Manhattan

#

google it

silver stratus
#

How I can ensure 50 messages? Seperate word?

fossil void
#

Cillian Murphy is the main character

#

yeah

silver stratus
#

I know about it. He didn't want to distroy Japan but it was happened due to political culprits leader. He was regret for that bomb!

ashen plinth
#

@lunar haven I noticed you have been reading algorithms, etc during the stream. I am currently working on my programming basics as I am new to python

fossil void
#

its gonna release the same day of release of Barbie

#

im waiting forthose movies

#

i saw the holes of barbie movies for my sister

ashen plinth
#

your English is fine, I can understand. Would it be possible for you to go over any sorting algorithm and its time/space complexity

fossil void
#

wholes sorry

ashen plinth
#

or any of the Python Data structures and its different operation complexities

fossil void
#

dddddd

#

=wew

#

im moving to another chat ill be back in 20 min

ashen plinth
#

Me too. My native lang is not English and my vocab is not good too. But I can manage with conversations

#

Okay

cinder dawn
#

oops

#

werong chat

#

i sent message to wrong chart

lost gorge
#

@lunar haven hello mr. Gofek!

#

How are you

vocal basin
#

Group theory?

#

(on stream)

#

meet-in-the-middle also good for solving that

#

you walk from both ends

#

(solved state and initial state)

#

with a normal Rubik's cube, depth 10 is enough

stoic jay
#

what?

vocal basin
#

BFS works well for sssp/sdsp, meet-in-the-middle is specifically for spsp

#

("single source", "single destination", "single pair")

cinder dawn
#

@lunar haven why do u use that if u dont mind me asking

#

the text thing

#

how it glides across the screen

vocal basin
#

tts

cinder dawn
#

ohh right

#

ohh thank you

vocal basin
#

tts also helps with not skipping things accidentally

#

depends on a specific person anyway

ashen plinth
vocal basin
#

example with Rubik's cube:
you'd use SDSP for solving any position basically instantly (if you have enough memory to store them all)
you'd use SPSP for solving any position without necessarily having to walk the entire tree in advance
(that's algorithm independent)

ashen plinth
quiet nexus
#

@lunar haven what

vocal basin
#

meet-in-the-middle, as an optimisation for SPSP, can be based on BFS too

quiet nexus
#

so what are you coding@lunar haven

vocal basin
#

@jolly terrace path (edge) costs rather than weights

#

definitely not NN

jolly terrace
#

i didn't know it

#

where we can implement those algorithms

vocal basin
floral ivy
#

yes

#

@lunar haven can u help me ? 🙂

whole bear
#

hello bro

#

what’s this about

#

this thingymajig

#

SORRY

#

ah nice

#

awesome sauce bro, goodluck

#

I plan on majoring CySec soon

#

what should I focus on? If I have no coding experience

#

yeah true, taking a gap year so I will try these, I’m also learning guitar to become a possible musician

#

this will lead my life into

  1. hell
  2. paradise
#

welp cya gofek, it was fun talking t’ya

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @uncut ridge until <t:1688518245:f> (10 minutes) (reason: burst spam - sent 8 messages).

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

kind wharf
lucid blade
#

Adobe Director (formerly Macromedia Director, MacroMind Director, and MacroMind VideoWorks) was a multimedia application authoring platform created by Macromedia and managed by Adobe Systems until its discontinuation.
Director was the primary editor on the Adobe Shockwave platform, which dominated the interactive multimedia product space during ...

#

Adobe Director was used by Bas Ording, an Apple human interface designer, to prototype the iPad software keyboard

lucid blade
upbeat leaf
somber heath
#

You are what you eat.

#

I've certainly had a lot of sushi.

#

Not too recently, though.

whole bear
#

@wind raptor r u from roswell?

wind raptor
#

no

somber heath
#

@idle obsidian 👋

idle obsidian
#

sup

somber heath
#

@cold token 👋

lucid blade