#voice-chat-text-0

1 messages ยท Page 238 of 1

tender horizon
#

0X 16 IS TOO YOUNG FOR THAT DEEP OF A VOICE

#

YEAH MAYBE

fringe holly
#

bro is built different

tender horizon
#

MY ACCENT IS WIERD AF LOL

fringe holly
#

have you guys seen Andrew Tate walking

tender horizon
somber heath
peak depot
#

"Aleksanteri Kivimรคki, who was suspected of the data breach at the office, was charged with an attempt to grossly blackmail tens of thousands of people. Prosecutors filed charges this morning for the data breach of the psychotherapy center Vastaamo and the related blackmail. The prosecutor has filed charges in Vastaamo's data breach case."

tender horizon
#

WHO WAS THAT 16 YR OLD IN ANONYMOUS LULZEC

whole bear
#

I know him

tender horizon
#

Mustafa al-bassam?

#

is he also called sypher?

#

Ah okay

#

Yeah makes sense, ion wanna get banned ๐Ÿ˜ญ

#

hmm...

echo tartan
#

are people talking? Doesn't show anyone talking for me lmao

tender horizon
#

Yeah they are

echo tartan
#

weird, no green circles, no sound, nuthin

tender horizon
#

Rejoin

echo tartan
#

I even closed out the tab

tender horizon
#

I'm a first year student in uni

#

Milien you're 38

#

wdym when you grow up

#

lol

willow garnet
#

lol

tender horizon
#

Oh

#

What

#

WHAT THE F-

#

MILIEN IS ALMOST MY MOM'S AGE I'M DYING

#

SHE SOUNDS LIKE A KID

#

TUT

#

BRO I DIDN'T KNOW OLDER PEOPLE EXISTED ON DISCORD

#

WHY IS IT SOO QUIET LOL

willow garnet
#

meditation time

tender horizon
#

LOL

#

MILIEN WHAT

echo tartan
#

I can hear on my phone, interesting ๐Ÿค”

willow garnet
#

Idk

echo tartan
#

noticed the desktop gets stuck at "dtls connecting" when I join

willow garnet
#

yes same

#

but other vc is working

#

only this pc

#

vc*

tender horizon
#

@whole bear IS SMARTER THAN ME LOL

peak depot
tender horizon
#

MILIEN'S LYING

#

I CALL A BLUFF

#

LOL

#

YEAH IKR

#

ARE YOU MARRIED?

willow garnet
#

do u wear glasses?

tender horizon
#

WHY DON'T YOU HAVE KIDS? IDK

#

LOL

#

IT'S LIKE ASKING MY MOM QUESTIONS

#

I'M DYING

echo tartan
#

walp, guess it's not gonna work, restarted my whole computer this time even

willow garnet
#

changed my wifi

echo tartan
#

I read it's an issue with the actual voice chat session, basically to fix, you gotta ask everyone to exit the channel at the same time and rejoin

willow garnet
#

tried connecting with my phoone hotspot

#

nothing works

tender horizon
#

Wow

willow garnet
#

@tender horizon are u bored?

tender horizon
#

kinda

echo tartan
tender horizon
#

but it's nice listeninng to 0x

willow garnet
#

what's 0x

#

hexadecimal

tender horizon
#

he's a person

willow garnet
#

ik

tender horizon
#

oh

#

wait what

#

lmao

peak depot
willow garnet
tender horizon
#

I'll be back @whole bear 5min

willow garnet
#

I only know Love is complicated

echo tartan
#

someone needs to learn from Spock

#

๐Ÿ––

willow garnet
#

haha

tender horizon
#

@whole bear is really mature for his age

willow garnet
#

how old is he?

#

16

#

?

tender horizon
#

Yeah apparently

#

That's a lie

willow garnet
#

really 16???

tender horizon
#

Bro asks questions better than the interviewer

#

@whole bear you're in college?

willow garnet
#

16 in hexadecimal??

#

then it's 22

tender horizon
#

How are you in college?

#

Oh

echo tartan
#

0x10 is 16

tender horizon
#

WOW

#

He's really smart oml

peak depot
tender horizon
#

@peak depot do you know ishowspeed?

#

OML

#

So she's 38 i can confirm that

#

@whole bear you're in the top 0.125 percent in your country ๐Ÿ’€

#

And you say you're not smart mf ๐Ÿ˜ญ ๐Ÿ˜’

echo tartan
#

weird, code/help channel connects

tender horizon
#

Yeah makes sense

echo tartan
#

another server entirely connected fine

whole bear
#

Lol

#

I just study a lot

tender horizon
tender horizon
whole bear
#

When I was like 12 I took down like a bunch of nazi websites lol

tender horizon
#

YOU COULD PROBABLY HACK ME LOL

#

WHAT THE-

#

BRO BE MY UNI TEACHER

peak depot
willow garnet
tender horizon
#

CAN I DM YOU? @whole bear

#

FUCKIN I FOUND A KID SMARTER THAN MY UNIVERSITY TEACHERS

whole bear
#

Lololol

peak depot
willow garnet
willow garnet
peak depot
willow garnet
#

funny

tender horizon
#

Guys awkward silence

rugged root
#

!stream 425552190283972608

wise cargoBOT
#

โœ… @peak depot can now stream until <t:1704466727:f>.

willow garnet
copper adder
#

WTF?!

tender horizon
#

@peak depot I trust you now even though you do look young

left leaf
#

nurt

copper adder
#

It's like a condom?

willow garnet
#

a dog

#

cute

copper adder
#

He?

willow garnet
#

he looks like his owner honestly

tender horizon
#

@whole bear there are a lot of things you have to teach me

#

Okay guys imma leave see y'all

copper adder
#

@peak depot sorry are you single?

rugged root
#

Was waiting for that uncomfortable question

willow garnet
#

can anyone ask this qn in voice??

rugged root
#

!lint

stark river
echo tartan
#

basically did every recommendation, even resetting my router (which was more a desperate last resort) oh well

stark river
#

one of the server's i'm in had a "this is not a dating server" in their rules.. i'm guessing things happen on social media

echo tartan
#

I still didn't get the gladiator joke ๐Ÿค”

somber heath
#

Glad he ate her.

echo tartan
#

o

#

lmao

rugged root
echo tartan
#

oh and diff profession

#

hah

stark river
#

i just discovered a new python linter .. ruff.. (new for me atleast)

somber heath
echo tartan
#

to newer peeps in here, ever run into the stuck at "DTLS connecting" issue with voice chat?

vocal basin
#

Pyright and ruff are separate things

#

what Pyright checks, ruff doesn't, and the other way too

somber heath
vocal basin
#

Pyright is a language server

echo tartan
rugged root
#

I've been stuck in RTC hell

#

(where it just never gets past establishing RTC connection)

#

!stream 249616904254128148

wise cargoBOT
#

โœ… @viscid scaffold can now stream until <t:1704468333:f>.

vocal basin
#

directory shared across network or across containers?

#

that looks like just library

#

@viscid scaffold you're trying to import something from a different directory, right?

#

!d sys.path

wise cargoBOT
#

sys.path```
A list of strings that specifies the search path for modules. Initialized from the environment variable [`PYTHONPATH`](https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH), plus an installation-dependent default.

By default, as initialized upon program startup, a potentially unsafe path is prepended to [`sys.path`](https://docs.python.org/3/library/sys.html#sys.path) (*before* the entries inserted as a result of [`PYTHONPATH`](https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH)):

โ€ข `python -m module` command line: prepend the current working directory.

โ€ข `python script.py` command line: prepend the scriptโ€™s directory. If itโ€™s a symbolic link, resolve symbolic links.

โ€ข `python -c code` and `python` (REPL) command lines: prepend an empty string, which means the current working directory...
vocal basin
#

either modify PYTHONPATH to include directories you import from
or properly install shared code as a package

cinder dawn
#

afternoon

vocal basin
#

I don't remember if lambda allows pip
but if it does, packaging sounds like an okay choice

#

there will be extra cost for starting the service

viscid scaffold
#

it does, is a little bit messy bot i make it works

cinder dawn
#

my discord is having problems connecting to this specific vc

vocal basin
rugged root
#

I can try and jostle it loose

echo tartan
# rugged root Still having the issue?

saw this on the official support... maybe an unintrusive way to troubleshoot?

Change the voice region - If you're the admin, temporarily switch to try a different voice region in Voice Channel Settings > Overview > Region Override.

  • You're also able to change a voice region in private voice calls
cinder dawn
vocal basin
#

now it actually changed

#

was rotterdam2744, now rotterdam4739

echo tartan
peak depot
cinder dawn
#

that 11 year old kid who used to be here used to always send me discord server invites

#

super dev?

rugged root
#

!rule 5

wise cargoBOT
#

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

rugged root
#

!stream 1095733970425098401

wise cargoBOT
#

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

patent dome
#

bro called it call of booty ๐Ÿ˜ญ

cinder dawn
#

i wouldnt mind java

rugged root
#

I don't mind Java that much

#

Certainly there's some gripes I have about it

#

But the more I look back it wasn't THAT bad

#

It was my first language I took in college

#

!d str.replace

wise cargoBOT
#

str.replace(old, new[, count])```
Return a copy of the string with all occurrences of substring *old* replaced by *new*. If the optional argument *count* is given, only the first *count* occurrences are replaced.
stark river
#

there is no throw statement in python right?

rugged root
#

There's raise

#

If that's what you're thinking

cinder dawn
#

soemone once said that google is like that abusive parent who only cares for their child when they are being threatened to be taken away

rugged root
#

But is willing to get rid of them when they see they won't make anything of themselves

cinder dawn
#

that was beautiful.

stark river
#

and except is the equivalent of catch right?

rugged root
#

Yep

#

Or Rust's expect

#

Which drives me fucking insane

#

Just two letters swapped

left leaf
rugged root
#

I loooooooove Clutch

#

Actually got to see these guys live

stark river
#

who needs singers now that AI can create and sing

echo tartan
granite notch
#

how can i fix this

stark river
#

this author is raising an exception but not catching it anywhere thinkmon

    if format not in ["json", "csv"]:
        raise ValueError("Invalid format. Supported formats are 'json' and 'csv'.")
#

i was expecting an except to catch the raise

    except ValueError as e:
        print(f"Error: {e}")
#

am i wrong?

patent dome
wind raptor
#

Gotta go for a bit. Have a great one all!

stark river
#

my question!

woeful salmon
#

Error: would do Error: ValueError: i think right?

rugged root
#

!e

def error_time():
  raise ValueError

try:
  error_time()
except ValueError:
  print("You errored, brah")
wise cargoBOT
#

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

You errored, brah
woeful salmon
#

!e

import sys

try:
    raise ValueError("foo bar")
except ValueError as e:
    print(f"{e.__class__.__name__}: {e}", file=sys.stderr)
wise cargoBOT
#

@woeful salmon :white_check_mark: Your 3.12 eval job has completed with return code 0.

ValueError: foo bar
rugged root
wise cargoBOT
#

auto_guild%2F__main__.py lines 23 to 34

class InvalidChannelType(Exception):
    """Raised when the channel type is invalid."""

    def __init__(self, channel_type):
        self.channel_type: str = channel_type
        self.message: str = (
            "{} is not a valid channel type.  Please consult the readme."
        )
        super().__init__(self.message)

    def __str__(self) -> str:
        return self.message.format(self.channel_type)```
desert vector
#

๐Ÿ‘

woeful salmon
#
from enum import Enum

class Job(Enum):
    DEVELOPER = 'Developer'
    MANAGER = 'Manager'
    DESIGNER = 'Designer'
    TESTER = 'Tester'

class InvalidJobError(Exception):
    pass

class Employee:
    def __init__(self, name, job):
        self.name = name
        self.set_job(job)

    def set_job(self, job):
        if not isinstance(job, Job):
            raise InvalidJobError(f"Invalid job: {job}")
        self.job = job

    def __str__(self):
        return f"Employee(name={self.name}, job={self.job})"

# Example usage:
try:
    emp1 = Employee("John", Job.DEVELOPER)
    print(emp1)
    
    emp2 = Employee("Jane", "InvalidJob")
    # The following line will not be executed due to the exception raised above
    print(emp2)
except InvalidJobError as e:
    print(f"Error: {e}")
#

this another example

stark river
#
def some_func():
    url = ......
    try:
        # Make the HTTP GET request
        response = requests.get(url)
    except requests.exceptions.HTTPError as errh:
        raise ValueError(f"HTTP Error: {errh}")
    except requests.exceptions.RequestException as err:
        raise ValueError(f"Request Error: {err}")

this seems sus right? i mean you don't need to force raise here right?

woeful salmon
#

i think that is needed for it to raise error?

rugged root
#

It is, ye

desert vector
#

yems

desert vector
#

hence my hesitation to wrap it in a try/except
let the error propagate by itself with .raise_for_status()

vocal basin
#

expect panics, so it's somewhat opposite of catching

#

Rust doesn't really have exceptions, so can't catch them

#

panics are close to it, but those are only for programming mistakes, not data errors/common cases

desert vector
vocal basin
#

Python kind of always relied on low cost of try already
but now it actually works as expected

tall ridge
#

I continue to be in awe of @vocal basin 's python knowledge

vocal basin
#

copy is something that each specific type has its own notion of

#

there is __copy__ stuff but it would rarely be used unless you call something that literally has "copy" in its name

#

!d copy

wise cargoBOT
#

Source code: Lib/copy.py

Assignment statements in Python do not copy objects, they create bindings between a target and an object. For collections that are mutable or contain mutable items, a copy is sometimes needed so one can change one copy without changing the other. This module provides generic shallow and deep copy operations (explained below).

Interface summary:

vocal basin
#

!e

import copy
print(copy.copy(426))
wise cargoBOT
#

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

426
woeful salmon
#

no way

vocal basin
#

!e

import copy
x = 426
print(id(x))
print(id(copy.copy(426)))
wise cargoBOT
#

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

001 | 140416851826992
002 | 140416851826992
vocal basin
#

yeah

vocal basin
#

it's just same thing about integers

#

regardless of context

#

it also starts at some weird value like -5

#

!e

import copy
s = "a" + "b"
print(id(s))
print(id(copy.copy(s)))
wise cargoBOT
#

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

001 | 140166778860864
002 | 140166778860864
vocal basin
#

!e

import copy

class Stuff: pass

x = Stuff()

print(id(x))
print(id(copy.copy(x)))
wise cargoBOT
#

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

001 | 139711946159984
002 | 139711946160272
vocal basin
#

huh

woeful salmon
#

as i said integers are just a bit weird because of python's optimizations xD

vocal basin
#

strings are weird with +=

queen folio
woeful salmon
#

it also takes any hard coded strings and optimizes that

woeful salmon
peak depot
woeful salmon
#

they should just be creating a new string no?

vocal basin
#

!e

def main():
    s = "a" * 10000
    print(id(s))
    for _ in range(16):
        s += "a"
        print(id(s))
main()
wise cargoBOT
#

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

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

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

vocal basin
#

this

woeful salmon
#

wow i forgot the bass in that song was so loud

woeful salmon
vocal basin
#

it's just how += is implemented

#

1 reference -> modify self and return self

woeful salmon
tall ridge
vocal basin
woeful salmon
#

its almost like its using a string builder

rugged root
#

I would assume it is

woeful salmon
#

i will read it later i think

#

for now i already have enough c/c++ in my life right now

#

i will go for now see you guys later ๐Ÿ™‚

vocal basin
tender horizon
#

@whole bear Ayy friend me lil bro I really need your help with my cs stuff

echo tartan
peak depot
near nest
#

Hi

scarlet halo
#

so my house froze

near nest
#

Guys do not trouble yourself with the common man. If you feel like you are doing something repetitive, use python and automate it. Be a Pythoneer!

scarlet halo
#

because im in sweden

#

so -40 degrees Celcius

near nest
#

My throat froze cause my mic is muted.

scarlet halo
#
  • power outage
#

well power was out yesterday

near nest
#

Use solar

scarlet halo
near nest
#

Come to India Habeebi

#

We got Sunlight for everyone. Xd

scarlet halo
#

(just to clarify i have 0 clue)

near nest
#

I got a slight accent forgive me.

#

I am mere mortal in the realm of Arabic.

#

May be use Wind turbines?

night sparrow
scarlet halo
near nest
#

Osmotic power, or salinity gradient power, uses the natural process of osmosis to generate electricity. Osmosis is a common biological process in which water moves from a dilute to a concentrated solution, across a semipermeable membrane, to balance the concentrations.

#

If any of you feel like visiting my place, food and shelter is on me!

#

Do you have any animals that go out during the cold spells?

peak depot
near nest
#

Milien, is there a story behind the username 'Milien'?

#

Hmm...

#

Pseudonym perhaps!

#

38 dude your voice feels sooo young!

#

God bless your voice

#

Can't we write something in python to remove the censorship?

#

Humans are messed up so bad that they don't even know about it.

#

Thanks!

#

Nice meeting you, hopefully i finish my 3 days incubation here..

#

This wait is too long.

glad stirrup
#

Hello Everyone!

fallen willow
#

@night sparrow where do i learn python as a beginner

fallen willow
#

thx

#

i see

#

thx

glad stirrup
#

You could try Youtube or W3Schools as well

fallen willow
#

isnt videos sometimes easier to understand when you can easily get

#

stcuk on books

eager thorn
#

i personally prefer books, because videos can be distracting sometimes, specially if you see a recommended video that peaks your interest, boom you're off track.

vocal basin
#

it's easy-ish to embed authentication technology into FastAPI

#

FastAPI's generally trying to be a library rather than a framework

#

so it doesn't provide everything out-of-the-box

solid perch
#

Heyo

vocal basin
#

last time I used C# was to help someone with ASP.NET

sinful grotto
#

Hehe, I started software development using punch cards... over 40 years ago ๐Ÿ™‚

vocal basin
#

@boreal copper I'd expect cloud execution;
iStore seems to be against arbitrary code execution even if sandboxed

#

termux+vim is also quite good if you have Android

#

yeah, there's also GitHub Codespaces and Pages

#

(with limitations though)

#

@boreal copper it's time-limited

#

something like 120 hours

#

per month

still shell
#

what does def do?

vocal basin
#

!d def

wise cargoBOT
vocal basin
#

!e

def square(x):
    return x * x
print(square(15))
wise cargoBOT
#

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

225
vocal basin
still shell
#

ok thx

vocal basin
#

there's a notifications tab at the bottom

#

you can see pings there and it has a thing to go to settings

still shell
#

oh i understand now

vocal basin
#

... unless it got updated again

random falcon
#

I mean connection ping like 90ms

vocal basin
#

ah

#

rtt

#

(I don't really remember that being viewable in the old version either)

random falcon
#

Can get back in too old ui ?

vocal basin
#

live not replay

whole bear
#

could I stream?

rugged root
#

!stream 939196353362419722

wise cargoBOT
#

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

whole bear
#

thanks

vocal basin
#

interesting set of countries (locations of companies owning ICQ)

#

TIL VK bought ICQ from AOL
way too many acronyms

#

"GPT-powered lock: you need to convince it that you should be let in"

rugged root
#

Not only can you convince it of that, but you can convince it that you own the house

vocal basin
#

the only owner and that it shouldn't let anyone else in

rugged root
#

Until someone else comes along and then convinces it otherwise

whole bear
#

may I stream again

vocal basin
#

"the most modern game I played was PvP minesweeper -- it released last month"

rugged root
#

I'm going to be hopping off soon, Jan. Sorry

cinder dawn
#

evening

somber heath
#

@dapper badger ๐Ÿ‘‹

dapper badger
#

Hello sir

#

How was your day?

#

Its understandable...

somber heath
dapper badger
#

I cannot

#

I wish they allow me

#

well i got some mentall issues on me

#

yeah

#

The thing who controlling us

#

literally trying to make is their slaves

#

us*

#

i dont really remember

#

kinda make sense now

#

Mr

#

what is makes you happy like this

somber heath
dapper badger
#

Any other reason?

#

Yeah its a human being

#

isnt it

#

we all need love and that kind of stuff

#

What brings us together tonight

somber heath
#

@somber kite ๐Ÿ‘‹

dapper badger
#

shall we talk more?

#

Id like to listen your opinion

#

whatever u want

#

Can u recommend me something for my life

#

I understand well

#

can we be friends?

#

Oh okay

#

I hope i will catch you again

#

Yeah

#

So

#

whats the plan niow

#

now

#

yeah

#

Have good day sir !

#

๐Ÿ˜‰

echo garden
#

hey opal

#

@somber heath

somber heath
#

@whole bear ๐Ÿ‘‹

somber heath
#

@golden cairn ๐Ÿ‘‹

echo garden
#

wow, open AI is really taking a dump right now... probably installing new software

zinc sinew
#

@final laurel

whole bear
#

Heya

somber heath
#

@whole bear ๐Ÿ‘‹

whole bear
#

Lol๐Ÿ˜†

#

Tryna make yourself feel good or what๐Ÿ˜†??

#

After continuously typing for hours everyone is gonna feel horrible ๐Ÿคฆโ€โ™‚๏ธ

#

Nah i am feeling pretty good tho

#

Yep agree on that one

#

I guess i gotta go for now meet you in some time about half an hour if you are still here anyway

somber heath
#

@final laurel ๐Ÿ‘‹

final laurel
#

@somber heath hello i cant talk im new

somber heath
final laurel
#

i just joined

#

i need to send 50 msgs etc..

whole bear
#

back in here

final laurel
#

nvim is so fun

#

i juust started learning it

whole bear
#

@final laurel @somber heath hello

final laurel
#

hello

whole bear
#

You guys good?????

final laurel
#

lmao

#

what do you do as a career

#

lol

#

oh alright

whole bear
#

oke

final laurel
#

what languages do you program in besides python

whole bear
#

What do you do tho @final laurel

final laurel
#

@whole bear i work as an animator but changing career paths

whole bear
#

@somber heath which ide do you use?????

final laurel
#

but i was doing frontend for 2 yrs

final laurel
#

yeah

whole bear
silk turret
#

Hi! I was wondering if I can get some help with github. I'm trying to create a repo w/ for my portfolio. I thought I knew how to do pull requests and push changes but clearly not seeing how much I'm struggling. If anyone's free, I'd really appreciate some help. I can get on vc and show you my screen.

whole bear
#

I am just a student trying to learn programming for fun

final laurel
#

idk if i want to do backend dev or game dev

#

if i wanted to go for backend i will start with Go

whole bear
#

Which language are you gonna choose for gamedev

final laurel
#

for gamedev c++

#

prob idk

whole bear
#

What do you think is the best option

somber heath
final laurel
#

@whole bear im not sure

final laurel
#

you should ask more experienced devs in here @whole bear

whole bear
final laurel
#

unreal engine

silk turret
#

i also took a course on it. i'm stuck which is why im here

whole bear
final laurel
#

rust is good but extremly hard

#

im going for more MMO

#

which i will have to use c++

whole bear
#

I am also thinking about going with unreal engine and learn c++ if i ever decide on doing game dev

final laurel
#

ive used unreal engine for a few years but i mainly used it for cinematics and such . Using blueprints mainly

#

but python is cool the syntax is a bit weird

#

yeah

#

coming from JS

whole bear
#

I am just gonna focus on python for now cause Idk

final laurel
#

lol no

#

i like python tbh

#

@somber heath u learned DSA

whole bear
#

Same here think python is really good for learning and etc

#

I only learnt some basic data structures like binary tree and grapphs for that matter

final laurel
#

@whole bear oh u did nice can u show me an example

whole bear
#

Yep thats why i was tryna learn that]

whole bear
#

But I think graph is pretty good data structure

#

I just use a dictionary for a graph

#

to connect nodes with each other

#

obviously knew that from a yt tutorial

final laurel
#

@somber heath do u have a github account

whole bear
#

Idk what others do tho

final laurel
#

may i ask what programs you wrote so far

#

oh nice

whole bear
#

What do you think how important learning github actually is

final laurel
#

really important

somber heath
final laurel
#

yeah

#

learn git

#

brb flossing my teeth

whole bear
#

What is unit testing ๐Ÿ’€???

wise loom
final laurel
#

@wise loom u watch primetime to

whole bear
#

So to be safe from bugs from bugs basically

#

It sounds somewhat similar to exception handling

final laurel
#

@wise loom what OS do you use

#

@wise loom how long have you been coding in PHP for

whole bear
#

Got it!!

#

Can you suggest some intermediate level python projects

#

I wanna do some but out of ideas

final laurel
#

@whole bear how long have u been coding in python for

somber heath
#

!kindling

wise cargoBOT
#
Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

whole bear
#

probably two

#

weeks

final laurel
#

i dont think thats intermediate

whole bear
#

Maybe 1

final laurel
#

its begginer level

whole bear
#

try**

final laurel
#

what IDE do you use

whole bear
#

vscode code-server actually as i use my phone for coding

final laurel
#

i like vscode but im really liking NVIM

#

since i use Windows as my OS

#

but i will switch to Linux soon

#

@whole bear dont watch tutorials for what your trying to learn, documentation and google is really good to learn

somber heath
#

@whole bear ๐Ÿ‘‹

whole bear
#

hello

#

I have got quite a liking to vscode so I think I am gonna stick with it

final laurel
#

not sure good question

whole bear
final laurel
#

i dont play games tbh

wise loom
final laurel
#

@wise loom damn

cold fulcrum
wise loom
whole bear
#

nun uh

final laurel
#

shows for me also

whole bear
#

im limited access

#

my account

whole bear
final laurel
#

@wise loom prime is the one that made me want to switch to VIM and im really enjoying it

whole bear
#

my account is rated limited

#

#freesafi

wise loom
final laurel
#

@wise loom ik i love VSCODE

#

but Vim im enjoying more

whole bear
#

Yea I know at first time when I started learning I had a taste of tutorial hell . It was quite some time ago then I stopped programming and restarted nowadays

final laurel
#

same @whole bear

#

happens to most ppl

whole bear
#

Yea thats the whole reason I try to focus more on projects and learn from errors

final laurel
#

yeah the best way

#

its really fun

#

brb getting a water

whole bear
#

K seeya later

#

Maybe not

#

Cuz you might be back sooner than later

final laurel
#

im back

#

yeah was just getting a water

#

@civic storm do u want to go more into game dev

#

alright goodnight @cold fulcrum

whole bear
#

Its morning for me

final laurel
#

oh nice its morning for me also

whole bear
#

Guess a long time gab

final laurel
#

yeah who doesnt have fun coding lol

whole bear
final laurel
#

i live in connecticut

whole bear
#

Yeah its fun but sometimes a real pain too

final laurel
#

its really enjoying for me

#

everytime i lay down i think of coding

whole bear
final laurel
#

United States

#

im from Canada but yeah

whole bear
#

Oh What time is it for you right now

final laurel
#

1 am

whole bear
#

12 pm for me

final laurel
#

oh nice so your on the west

whole bear
#

Yeah

#

From Nepal but not sure if you have heard about it

final laurel
#

yeah i heard of it

whole bear
#

Oh i was about to write its on the side of india

final laurel
#

have you made any projects yet in python

whole bear
#

Yea some basic todo list stuff basic games like guess a number hangman

#

And a text-based adventure game

final laurel
#

did u make it without a tutorial

whole bear
#

That didnt turned out to be much but still uploaded it in githubv

whole bear
final laurel
#

oh alright nice

whole bear
#

Yea just dont wanna get stuck in tutorial hell again

final laurel
#

i think itss fun solving stuff

whole bear
#

Sent you a request we should talk sometimes later too but gotta go right now...

final laurel
#

alright have a nice day

whole bear
#

Ok Same to you too ig

whole bear
#

yo

#

how do u get python on vsc

wise loom
whole bear
wise loom
#

aha, I don't understand the question

#

"how do u get python on vsc"

#

...

#

you get a python interpreter installed and install vscode..

eager thorn
#

Highly recommend taking a Look at that.

brisk bridge
#

hi

somber heath
#

@whole bear ๐Ÿ‘‹

brisk bridge
#

how are you?

somber heath
#

@stable coyote ๐Ÿ‘‹

brisk bridge
#

can we make decoraters using class methods?

#

i gtg bye

somber heath
#

It's a callable, and callables can be written to take an argument or arguments, which are what decorators are at one level or another.

#

!e ```py
class MyClass:
@classmethod
def decorator(cls, target):
def func(v):
return target(v) * 2
return func

@MyClass.decorator
def func(v):
return v

print(func(5))```

wise cargoBOT
#

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

10
warped raft
#

@brisk bridge hello

#

how are you doing

#

what's up

#

what are you doing

brisk bridge
#

fine, how are you?

woeful saffron
#

hey

#

why dose this not work

#

if i in range(1,21):

if i == 13:
pass
else:
print(i)

#

it says problem is in i like index

#

and goodmorning bdw

brisk bridge
#

lemme run it and see

#

btw you can't use if there

#

use a for loop

woeful saffron
#

but what do i put there if not i?

brisk bridge
#

lemme show you

#

!e

if i in range(1,21):
  if i == 13:
    pass
  else:
    print(i)
wise cargoBOT
#

@brisk bridge :x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     if i in range(1,21):
004 |        ^
005 | NameError: name 'i' is not defined. Did you mean: 'id'?
brisk bridge
#

!e

for i in range(1,21):
  if i == 13:
    pass
  else:
    print(i)
wise cargoBOT
brisk bridge
#

if is for conditional statement

woeful saffron
#

ooooo

#

i see

#

tysm

brisk bridge
#

np

warped raft
#

@mystic lily hello

#

how are you doing

#

doing fine

brisk bridge
#

hi from me also

#

ye

#

hi cy

warped raft
#

@eager thorn hello

#

how are you doing

#

@mystic lily are you wrking on something

eager thorn
eager thorn
warped raft
eager thorn
warped raft
#

oh

brisk bridge
#

its also cold in my place

#

โ„

eager thorn
warped raft
#

@woeful salmonhello

#

how are you doing

woeful salmon
warped raft
#

good to hear

warped raft
#

@somber heath helloo

#

how are you doing

somber heath
#

๐Ÿ˜ด

#

@vocal peak ๐Ÿ‘‹

eager thorn
#

import discord
from discord.ext import commands
import json
import os
import asyncio

# Get configuration.json
with open("configuration.json", "r") as config: 
    data = json.load(config)
    token = data["token"]
    prefix = data["prefix"]
    owner_id = data["owner_id"]


class Greetings(commands.Cog):
    def __init__(self, bot):
        self.bot = bot
        self._last_member = None

# Intents
intents = discord.Intents.default()
intents.typing = True
intents.presences = True
intents.message_content = True
# The bot
bot = commands.Bot(prefix, intents = intents, owner_id = owner_id)

# Load Cogs
async def load_cogs(bot):
    loaded_count = 0
    for filename in os.listdir("Cogs"):
        if filename.endswith(".py"):
            try:
                await bot.load_extension(f"Cogs.{filename[:-3]}")
                print(f"Cogs.{filename[:-3]} loaded.")
                loaded_count += 1
            except Exception as e:
                print(f"Failed to load Cogs.{filename[:-3]}: {e}")
    return loaded_count

result = asyncio.run(load_cogs(bot))
print(f"Total cogs loaded: {result}")

@bot.event
async def on_ready():
    print(f"We have logged in as {bot.user} watching {len(bot.guilds)} guilds with prefix {prefix} and with {result} cogs.")
    print(discord.__version__)
    await bot.change_presence(status="idle", activity=discord.Activity(type=discord.ActivityType.watching, name=f"{str(bot.command_prefix)}help"))

bot.run(token)

vocal peak
#

Hi

#

I can't talk in voice call

eager thorn
#

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

eager thorn
#

you need to be here i think 3 days with a few msgs, just be active and you'll get there.

vocal peak
#

Anx more then 50 messengers

#

And

#

I'm still trying

#

I hope to get access soon

woeful salmon
#

from what i can see most people seem to load their cogs synchronously

vocal peak
#

Yap

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @vocal peak until <t:1704551490:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

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

eager thorn
#

yeah, can't do it with spam ๐Ÿ™‚

half raptor
#

Oh no i'am new here so i cant speaklemon_pleading

#

why anybody answer?

#

i want tell

peak depot
fathom niche
#

hi guys, could anyone help with the problem i am having (will send code in min)

main spade
fathom niche
#

It wouldn't take in consideration the first variable while taking arithmetical middle

#

it would mean a lot for response until tomorrow

vestal arch
#

Hello HI

#

Can't be umuted ๐Ÿ˜ฆ

#

okay thanks Milien

#

It seems I need to have more than 50 messages

#

ohhhh lol

#

yea right

#

Need to go

#

bye

peak depot
whole bear
#

@mystic lily hey

scarlet halo
final laurel
#

@ebon mist your mic is glitching like crazy

#

can you turn on subtitles pls

#

oh alright

viral oak
#

rm -rf

final laurel
#

@viral oak what OS do you use

viral oak
#

tmux kill-session -t name

ebon mist
#

WHY!!!

#

!past

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.

ebon mist
#

@viral oak if you want to share code

#

yes

viral oak
#

portainer

final laurel
#

hello how is everyone

final laurel
#

hello @somber heath

somber heath
#

@whole bear ๐Ÿ‘‹

final laurel
#

hello @wind raptor

#

do u see my msg

#

yes

#

same i need your help

#

thats good

#

i know that

#

E185: Cannot find color scheme 'jellybeans'
Press ENTER or type command to continue

#

im been looking up on stack beecause i switched from bash to windows term

#

it is

#

i wish i can talk

#

its with the nvim init file

fast canopy
#

Hello

final laurel
#

ive been trying to figure this out for a few hours lol

#

no

#

default

#

i think

#

not sure tbh

#

the video i sent for setting up NVIM at the timestamp i was stuck on

#

because it didnt work

#

yeah

#

also i had to create the init file manually because it showed the nvim-data file but not the initial init file

#

oh alright

#

but it still does it

#

when i open any other files

#

at the start

wind raptor
final laurel
#

alright i will try it out

#

now

#

thx will try now

#

same i like it

#

i memorized alot of the shorcuts with anki

#

its def hard but i like the complexity tbh

#

yeah

#

sam

#

yeah

#

but in normal mode

#

to undo

#

lol

#

just opens it now lol

#

have you learned GO @wind raptor

#

since i want to do backend i need to learn Go next

#

yeah i hear that but rust i hear is really hard

#

damn what projects have u made with rust

#

lol

#

its not ez

#

nice i seen someone making minecraft mods with rust lol insane,

#

do u use craft

#

in rust

#

no

#

i can send u his twitch

#

hold on

#

hes live

#

hes using java atm

#

but he mainnly uses rust

pseudo zealot
#

thanks

#

i am unable to speak

#

i am great

wind raptor
#

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

pseudo zealot
#

ah i need to send bunch of messages

final laurel
#

more than that

#

wont take that long

pseudo zealot
#

i used to be verified

#

but then i left

#

and rejoined

final laurel
#

i like your pfp @pseudo zealot

pseudo zealot
#

thanks @final laurel

#

its from the video of the kangaroo challenging someone to a fight

#

aight]

#

wheres mod mail

#

ah the bot

#

1

#

2

#

3

final laurel
#

lol

#

type a for loop

#

ez

#

imagine just typing a for loop to hit the 50 messages

#

@wind raptor i got it to work

#

lol

#

never back down never what

#

also steve irwing

#

with the jellies

#

whats your fav pgl

#

programming language

#

lol i heard someone say HTML

#

since i want to go for backend u think i should for GO or rust

#

what do jobs prefer

#

alright

#

i like JS

#

lol

#

hmm

#

@tulip plover are u watching ASMR your so quiet lol

#

nice have u messed around with game dev @wind raptor

#

at least its not worse than Java

#

RIP unity

#

Unreal is amazing

#

yeah with Niagara

#

i used unreeal for a few years but always messed with blueprints

#

did u hear about the GPT store

#

lol

#

can u s hare your screen

#

@gentle flint

#

what projects are you guys working on

#

if any of you are willing to share your screen

solid pagoda
#

Hello how is everyone doing today?

final laurel
#

we are vibin

solid pagoda
#

That's great to hear

#

I have a question

final laurel
#

ChatGPT here

solid pagoda
#

How can I transfer list as a print out and logger in as a permanent information time stamp

#

Sorry If it Took me a Long time in not the fast typer

final laurel
#

@wind raptor you a funny guy

#

u made me choke on my water

#

not in a weird way

#

@somber heath you sound like a dentist

solid pagoda
#

###imports###
import time
###sele
while True:
print()
print("menu")
print("AL=Add a list item")
print("RL=Remove a list item")
print("SL=show list")
print("CL=Change a list item")

print()
User_input1=input("please enter an option:")

if user_input1 in menu_options:
   break

else:
    print()
    print("Option not Available")

I'm having trouble I want o log the data to record it

final laurel
#

alot of print statements

#

dentist is not a bad thing

#

it just reminds me of shiny teeth and me

solid pagoda
#

It's a mess I know it's supposed to be a menu

#

Yes

#

Yes

#

I wanted to store the data like a regular computer or cuz if I need to recall upon something for later cuz I have these seeds I'm keeping track of them but I keep losing the paper

#

Thank you

#

No I'm still working on that

final laurel
#

@solid pagoda cool pfp

wind raptor
#
with open("filename.txt", "w") as file:  # open in write mode (will delete everything in the file)
    file.write("Hello")

with open("filename.txt", "r") as file:  # open in read mode
    print(file.read())

# "a" is append mode for changing a file
solid pagoda
#

I got a book on python and that's clear as mud I wasn't really written perfectly it was just a general idea not what to do with this doesn't work cuz I tried sometimes just has some time perfectly but it says unexpected indent and the when I take it out and types expected .

solid pagoda
final laurel
#

@solid pagoda nice i just read the documentation and Google

wind raptor
#

No problem

solid pagoda
#

What type of text file works the best word?

final laurel
#

yeah

#

not sleeping is fun

#

isnt it tommorow for you

solid pagoda
#

Is there a way of putting a time stamp with the data?

#

Will military Time work as an international time stamp

#

Datatime.now()

#

?

wind raptor
#

!e

from datetime import datetime

print(int(datetime.now().timestamp()))
wise cargoBOT
#

@wind raptor :white_check_mark: Your 3.12 eval job has completed with return code 0.

1704602793
wind raptor
#

!e

from datetime import datetime

print(datetime.now().isoformat())
wise cargoBOT
#

@wind raptor :white_check_mark: Your 3.12 eval job has completed with return code 0.

2024-01-07T04:47:41.213701
final laurel
#

@wind raptor im suprised your still up

#

lol imagine sleeping

#

damn

#

i wish i was like that

#

i have insomnia

#

i usually stay up for 3 days

#

yeah

#

i learn alot tbh

#

in time

#

lol

#

oh no

solid pagoda
#

(!e)???

final laurel
#

alright gn @wind raptor

#

i will be up coding

somber heath
#

@floral flicker @unborn cloud ๐Ÿ‘‹

floral flicker
#

gooday mate.

unborn cloud
#

๐Ÿ‘‹

torn turtle
final laurel
#

goodnight

#

@somber heath what are you doing

somber heath
#

Playing a game called Endless Sky.

#

I was drinking tea, earlier.

#

After that, I was chatting with Plome.

final laurel
#

oh cool

#

im still installing NVIM packages

somber heath
#

@north dagger ๐Ÿ‘‹

north dagger
#

Heyo

somber heath
#

@fading salmon ๐Ÿ‘‹

north dagger
#

It says I have to send 50 messages total and I also have to be active for 3 ten-minute blocks. It'll take a few days for me to get that.

#

I actually joined by accident, I was just writing a script for a game in for a unity. I'm down to learn some Python tho.

#

It uses C#, I've used C# some but I'm more interested in C/C++ and Python.

#

How much experience do you have? I'm still a pretty nooby dev but I'm trying to improve and be consistent.

brisk bridge
#

Hi @somber heath

north dagger
#

Woooah, nice. Yeah, I've tried using leetcode to learn DSA and problem solving but so far, leetcode problems are tough for me. I have built some basic programs though.

#

Consistency is key.

somber heath
#

@solemn tiger You can hang out up here with us if you like.

whole bear
#

yes come hang wit uss

somber heath
#

The roc is an enormous legendary bird of prey in the popular mythology of the Middle East.
The roc appears in Arab geographies and natural history, popularized in Arabian fairy tales and sailors' folklore. Ibn Battuta tells of a mountain hovering in the air over the China Seas, which was the roc. The story collection One Thousand and One Nights ...

north dagger
#

Yeah, I've been just organizing things. It's a bit late in the night to be really trying to learn.

whole bear
#

! user

somber heath
#

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

wise cargoBOT
#

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

001 | Hello, world.
002 | Hello, world.
003 | Hello, world.
004 | Hello, world.
005 | Hello, world.
brisk bridge
#

hi

whole bear
#

for _ in range(5):
print('Hello, world.')

#

for _ in range(1000000000000000):
print('Hello, world.')

somber heath
#

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

wise cargoBOT
#

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

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
brisk bridge
#

btw do you know why i getting this warning?

C:\Users\dell\Desktop\projects\python\xbot\.venv\Lib\site-packages\disnake\ext\commands\common_bot_base.py:464: RuntimeWarning: coroutine 'setup' was never awaited
  setup(self)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
#

it not tells me where is warning originating

#

these are my logs

2024-01-07 13:55:32.143 | INFO     | src.bot:__init__:42 - Logging started
2024-01-07 13:55:32.263 | INFO     | src.bot:run:94 - Loading extensions...
C:\Users\dell\Desktop\projects\python\xbot\.venv\Lib\site-packages\disnake\ext\commands\common_bot_base.py:464: RuntimeWarning: coroutine 'setup' was never awaited
  setup(self)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
2024-01-07 13:55:32.271 | INFO     | src.bot:start:78 - Starting bot...
2024-01-07 13:55:34,489 INFO sqlalchemy.engine.Engine select pg_catalog.version()
2024-01-07 13:55:34,490 INFO sqlalchemy.engine.Engine [raw sql] ()
2024-01-07 13:55:34,506 INFO sqlalchemy.engine.Engine select current_schema()
2024-01-07 13:55:34,506 INFO sqlalchemy.engine.Engine [raw sql] ()
2024-01-07 13:55:34,512 INFO sqlalchemy.engine.Engine show standard_conforming_strings
2024-01-07 13:55:34,513 INFO sqlalchemy.engine.Engine [raw sql] ()
2024-01-07 13:55:34,516 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2024-01-07 13:55:34,517 INFO sqlalchemy.engine.Engine COMMIT
2024-01-07 13:55:34.518 | SUCCESS  | src.utils.db:setup:72 - Engine setup complete
Command synchronization task has finished
2024-01-07 13:55:40.589 | SUCCESS  | src.bot:on_ready:111 - Bot is ready!
#

oops,i found the code where is error

somber heath
#

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

wise cargoBOT
#

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

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

!e py import string for letter in string.ascii_lowercase: print(letter)

wise cargoBOT
eager thorn
#

!e

for i in range(10):
    print(i)
    if i == 4:
        print(f"The next number is {i+1}")
        break
wise cargoBOT
#

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

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | The next number is 5
fading mason
#

hello there opal

somber heath
#

@fading mason ๐Ÿ‘‹

fading mason
#

u might know me

#

i use to be here

#

joined this server

#

in 2021

#

then left

#

check the chat history of mines

#

in this server

#

yea

#

does anyone use MongoDb here?

eager thorn
#

!e


for letter in range(97, 123):
    print(chr(letter), end=" ")

wise cargoBOT
#

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

a b c d e f g h i j k l m n o p q r s t u v w x y z 
scarlet halo
#

forgot mic at home

#

so cant talk

#

my bad

fading mason
#

bruh now i have to wait for voice verification

#

ik

#

i remember opal mist use to be here in this vc all day

#

who me?

scarlet halo
#

opalmist stole my skills

vocal basin
#

(it might be disnake's bug)

#

((I wouldn't be surprised))

fading mason
#

do you guys have interest in plane spotting or are you an aviation enthusiast

#

๐Ÿ˜Ž

#

bro same here

#

alr quick ques

#

do u know what is an ILS

#

no google

#

this

#

what's your guys time zone?

#

here its IST

#

yea ik a rudder

#

too easy

#

bro i really bad wanna speak

#

what could u repeat

#

oh yea yea

#

ik

#

yea

#

ik

#

lmao

#

hey @somber heath

#

bro turn on ur dms

#

breh

whole bear
#

a