#voice-chat-text-0

1 messages Β· Page 170 of 1

obsidian dragon
#

@somber heath

echo garden
#

@somber heath morning how was your day

#

@somber heath lol jesus

#

susage?

#

shit

#

what i missed?

#

ok a hotdog

#

lol

#

i know im kidding man

#

bussin

#

OMG
im hungry now

#

im a good rice maker

#

lol

#

linux

#

i linux

obsidian dragon
#

like github desktop

vocal basin
#

VS Code has GitHub integration

echo garden
#

yes it does

#

morning Alisa

vocal basin
echo garden
#

very nice

obsidian dragon
vocal basin
#

windows?

#

might be faulty anti-cheat

#

@waxen barn bsod? or other way to crash?

#

@waxen barn what power supply?

obsidian dragon
#

RAM clock level?

vocal basin
#

might be too little

#

800 W, depending on GPU/CPU might be not enough

#

also

#

that's power input

#

power output is likely around 500W

#

3090 Ti is almost guaranteed to crash some 800W power supplies, for example

pulsar island
#

Corsair 1500W will save the day, guaranteed, it runs my 4090

#

on my godlike

#

with my corsair water cooler with a picture board

vocal basin
#

kW and above is mostly fine for everything

pulsar island
#

and all the fanci boi stuff

#

I need to do an async call to send a browser side values to server side django @vocal basin

vocal basin
vocal basin
#

WebSockets are better for events, especially handling events coming from a server

#

Fetch is likely simpler for making a single request
(sending a large file, requesting a large file, etc.)

#

... assuming no network failure happens

#

though websockets have their own issues regarding failure handling

#

"JS is Lisp, therefore perfect"

waxen barn
vocal basin
#

gpu: 350W
cpu: 105W

455W might be okay with 800W PS, if it's high-efficiency (70~80%)

#

I had gpu+cpu at 240W, and that system fatally crashed a 500W-input PS, because low efficiency

#

(also, gpu/cpu aren't the only things using the power)

#

100% doesn't always guarantee 100% power usage

#

also you need both CPU and GPU high usage

vocal basin
#

1.2kW~2kW

#

well, many high-power ones are the same size as two power supplies

#

network

#

around $100?

#

ah, there are also very expensive one, closer to $1000

#

high efficiency
doesn't burn down/explode
custom connectors/wires/etc.

#

meanwhile me with a <$20 PS: this is fine

noble solstice
obsidian dragon
#
waxen barn
obsidian dragon
waxen barn
obsidian dragon
static nova
#

@somber heath dudee... Check your frnd requests.. πŸ€¦πŸ»β€β™‚οΈ

obsidian dragon
#

git cloned

#

yay

somber heath
obsidian dragon
#

incomming glitter

static nova
willow light
orchid mauve
willow light
somber heath
#

Pretty.

echo garden
willow light
#

Here’s the southern half

rugged root
willow light
somber heath
#

.uwu typhoon

viscid lagoonBOT
#

typhoon

somber heath
#

Boo

rugged root
#

typhwoon?

willow light
rugged root
#

@willow light Is the "Python Tricks" book any good?

willow light
#

Yes

rugged root
#

@grizzled zenith Suuuuuuuup

gentle flint
thick palm
#

Hey Python, give me the meme of the day in json as markdown!

rugged root
#

Wait

#

How

thick palm
#

🫠

rugged root
#

Well that's a thing

thick palm
#

in order to get to the verification process I'm doing this "funny" stuff 😐 πŸ˜„

rugged root
#

Well that's one way

willow light
#

Just not too often or you get flagged

rugged root
#

But the easiset is probably just chatting and contributing to the conversation

thick palm
#

Yooo I want to speak πŸ˜„

rugged root
#

Or a separate convo in chat, which happens a lot too

willow light
#

Just participate in text chat and you'll get there eventually. that's what I did years ago.

thick palm
#

Awww, let's not waste these "characters", let me see if I can find any conversation that I could participate in. πŸ‘πŸ»

rugged root
#

The off-topic channels also count, for context

#

Just make sure not to spam and we're good.

thick palm
#

Sure
@rugged root Thanks for the company πŸ˜‰

rugged root
#

Any time

mild quartz
#

im crying tbh

somber heath
#

re vc convo?

mild quartz
#

yes

rugged root
#

Crying in Bostonain?

willow light
#

Bostonians don't cry, we get even

mild quartz
#

Thats true I'll dress up as a native and dump your goddamned tea

willow light
#

That is something that did, in fact, happen

somber heath
#

Who do Bostonian babies have to get even with?

mild quartz
#

the church

willow light
#

The very existence of the New York Yankees

somber heath
#

Fair.

thick palm
#

Wait, does god allow crying in NY?! I thought it requires sudo access!

#

"I'm trying to be funny"

#

"it does not work :D"

willow light
#

i don't know about crying, but I bet you aren't allowed to sleep

rugged root
thick palm
rugged root
#

True

thick palm
#

true

somber heath
#

If they had to rebuild New York somewhere else or on top of itself or something, would they refer to current New York as Old New York?

#

If Florida needs to build a dike, there's going to be problems.

rugged root
#

No no

#

Not if

#

When

willow light
#

And when being "yesterday, but today will do fine too"

somber heath
#

Yes, but you're going to get people trying to ban them.

noble solstice
#

What r u guys discussing?

willow light
noble solstice
willow light
#

as a group, we have the collective attention span of a toddler on four espressos

noble solstice
#

-5 and -4.5

#

my both eyes Sad!

#

Suffering from High myopia

#

anyone here also?

#

suffering from myopia?

mild quartz
#

🀨

willow light
#

I want that so bad

#

fuck parallel parking

willow light
#

healthy sight in any light

#

more like "unable to see in most light"

next nest
gentle flint
next nest
hoary kayak
somber heath
#

%Y/%b/%-d

next nest
#

Indexing is bust

#

Just waiting to wake up a bit and adhd meds has kicked in so i can give enough of a fuck to wipe win 11 and go back to 10 lol

hoary kayak
#

why but win11 is good ?

next nest
#

If it's so good, why does explorer break 10 times a day when transfering stuff, and indexing bust? HAhaa And i reinstall windows annually because updates breaks more than it fixes

hoary kayak
#

oh

#

"dark mode nice"

#

πŸ˜‚

next nest
willow light
#

But remember, a rising tide lifts all boats.

short tree
#

Hello!

#

How's it going?

#

Hey @spark gulch πŸ˜„

spark gulch
#

noice

#

lmaoo

spark gulch
short tree
#

What kind of project are you thinking of?

#

@whole bear

#

Very exciting!

#

What game?

#

Hi @tulip plover

wise cargoBOT
#
Voice verification

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

short tree
#

So you want to make a PS4 mod?

#

I don't have enough messages in the server yet @tulip plover

#

Interesting. I didn't know you could mod PS4 games

#

Data structures and algorithms

spark gulch
#

working bro πŸ’€

short tree
#

Gotta practice/learn for interviews

#

Why is DSA weird?

#

It helps you make efficient code from what I understand

#

Β―_(ツ)_/Β―

#

I heard it somewhere before and have been using it since

#

it sucks to write out every time

#

Enjoy! What are you having?

spark gulch
#

making a webapp, just for 2 of my friends. it would have 101 notes to view each day of 4 types
25 "reassurances"
25 "remember when?"
25 "things i like about you"
25 "song lyric quotes idfk"
with a song rec for each note. they'd get to see only 1 eachday

#

idunno whatever its literally my first webapp project im working on welp

#

and learning quite a lot

short tree
#

Is it new every day?

spark gulch
#

yes

short tree
#

Ohhhhhhh 1 of each

spark gulch
#

1 a day lol

short tree
#

Ok πŸ˜…

#

I was gonna say

short tree
#

That's a lot of content to write 🀣

spark gulch
#

lmao

#

just 101 notes

short tree
#

That's cool

#

What is your tech stack?

spark gulch
#

welp a really weird and new one

#

qwik + mongoose

#

ts

#

tailwind

#

E

short tree
#

E = express?

spark gulch
#

no, no express

#

qwik city is like how nextjs is for react

short tree
#

Ahh

spark gulch
#

or like how svelte kit is for svelte

short tree
#

Is that Python?

spark gulch
#

no

#

typescript

short tree
#

I see

#

That makes sense

#

How far have you progressed @spark gulch

spark gulch
#

well the notes should update their visibility property to true every night at 12am so, working on that and its screwing up my head

#

its easier to work with a simple json for now so not donig mongoose right away

#

got the auth thing working so only they can view their notes

#

also

short tree
#

Oh, you have to do some time stuff

spark gulch
#

IM VERY VERY VERY NEW TO THIS SHIT

short tree
#

yuck

spark gulch
#

there are

#

multiple ways

short tree
#

I've done some web development stuff, but not with what you are using

spark gulch
#

oh

#

react?

#

nextjs

#

very popular

short tree
#

Yeah, react mostly, only a bit of next.js

#

I've done some express work too

spark gulch
#

i chose qwik cuz it cuts hydration all together, it loads the js needed as when its required

short tree
#

what is hydration?

#

lazy loading the JS?

spark gulch
spark gulch
short tree
#

Ahh I guess that's cool if you are using a lot of dependencies

spark gulch
#

yep

short tree
#

I try not to use other frameworks unless I have to

spark gulch
#

im gonna brb btw lol

short tree
#

OK

toxic arch
short tree
toxic arch
short tree
#

Cool flex

#

Welcome @undone rune!

#

and @uneven urchin

undone rune
#

Ay yo

short tree
#

Hello @velvet tartan !

#

How are things going?

#

What kind of problem?

undone rune
#

Can you stream it?

#

that's lame

short tree
#

What problems are you looking to do?

spark gulch
#

am back

#

did someone say gay porn

#

nvm πŸ’€ hi

short tree
#

I'd rather restrictions and no messy spam anywhere

#

Oh nice! That sounds cool!

#

I'm just getting into DSA

undone rune
short tree
#

For coding interviews

#

Heyo

#

No, just trying to be fully self-taught

#

I see

undone rune
short tree
#

I made a scraper for ycombinator to learn how to webscrape πŸ™‚ It was a fun little project.

undone rune
#

ok

#

could you type that in

#

@velvet tartan how do you spell that?

velvet tartan
undone rune
#

al go le a?

velvet tartan
#

Ohh

toxic arch
#

what is blud babbling about?

short tree
#

I have to go for a bit. Have a good one everyone! Nice to meet you all!

whole bear
#

hello guys

upper arch
#

hi

whole bear
#

hyd

upper arch
#

nb, u?

whole bear
#

same

#
import logging
import json

class CustomJsonFormatter(logging.Formatter):
    def format(self, record):
        log_record = {
            'timestamp': record.created,
            'level': record.levelname,
            'message': record.getMessage(),
            'source': record.name,
            'line': record.lineno,
            'function': record.funcName,
        }
        return json.dumps(log_record)

logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)

logHandler = logging.StreamHandler()
formatter = CustomJsonFormatter()
logHandler.setFormatter(formatter)
logger.addHandler(logHandler)

logger.debug('This is a debug message')
``` is it ok if I use this json formatter
#

built in python

#

for this ```py
import logging
from pythonjsonlogger import jsonlogger

logger = logging.getLogger(name)
logger.setLevel(logging.DEBUG)

logHandler = logging.StreamHandler()
formatter = jsonlogger.JsonFormatter()
logHandler.setFormatter(formatter)
logger.addHandler(logHandler)

logger.debug('This is a debug message')

whole bear
#

seems reasonable to use that json formatter for this py code ngl

#

might run with it

#

Hi

#

hello

#

come n join us here

#

ok

#

looks like my mic is still not working

#

lol

unkempt silo
#

Hi! Can't talk yet

whole bear
#

you can just type in the chat

#

Hee-rou

#

yeah

whole bear
#

!voice

wise cargoBOT
#
Voice verification

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

unkempt silo
#

yes, fifty messages is a lot when you don't actively use python

#

At least for me

whole bear
#

you can talk about other stuff sometimes

unkempt silo
#

Yeah I guess these messages count? I think?

whole bear
#

@unkempt silo you can try like this

#

like me

#

just got to be related to the topic

#

typing

#

still typing

#

typing all day

whole bear
#

on and on

#

lol

#

counting msgs

unkempt silo
#

Yeah GJ, staying topical and fifty messages perplexes me

#

But I'm getting there

whole bear
unkempt silo
#

Anyway what would you folks be talking about?

whole bear
#

u guys know ts?

unkempt silo
#

I do

whole bear
#

help me with this.

unkempt silo
#

Well there's a lot to know, I know some of it

whole bear
#

let i: number = 1;

whole bear
#

but sure

#

this causes error

#

like : is unexpected

unkempt silo
#

There's no need for typing since it'll pick it up implicitly

whole bear
#

let i = 1;

unkempt silo
#

but this shouldn't create an error I think

whole bear
#

type ```ts
let i = 1;

unkempt silo
#

Are you sure ts is installed?

#

@whole bear your code ran fine for me here, so I think it might be something with your environment

whole bear
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

Run Python code and get the results.

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

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.

By default, your code is run on Python 3.11. A python_version arg of 3.10 can also be specified.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!

whole bear
#

for his enviroment

#

omg ts is not installed. πŸ™‚

#

lol

unkempt silo
#

ayy thought so

#

syntax errors mean the engine doesn't understand what you're doing, which happens in this case because it doesn't know what typescript is

#

since the dependency is missing

#

yeah

whole bear
#

lol yea had a feeling

#

lol

#

that's why I gave him js code instead

#

what's type hint?

#

you talking like python?

unkempt silo
#

but more on what I said previously: you only need one of these

let i: number;
let i = 1;

Because for the second one i is implicitly of number type

whole bear
#

i c

#
function greeting(name: string): string {
    return 'Hello ' + name;
}
``` this could be a type annotation
#

if I remember

#

question, ts vs js/python

unkempt silo
#

it is, you're typing the argument and the return

#

ts is becoming the industry standard where js is used

#

python is a different thing

whole bear
#

I mean ts is basically a superset of javascript

#

i know. it;s in the book

#

python is a whole different language so you'll have to seperate em

#

you could ask ts vs python

unkempt silo
#

If you're trying to figure out which to learn, depends on what you're going to do

#

Python is used a lot in data science

#

Software development, frontend tends to be ts/js

whole bear
#

im saying js/python is for programming, but ts is for type safety.

#

right?

unkempt silo
#

yes, but you build ts files into js before running them

unkempt silo
#

See you progamer

whole bear
#

lol

#

when he says vs I always think he's talking about which one is better

#

so I was about to say if you're looking for performance then yea typescript is faster than python

unkempt silo
#

I have no idea how js and python compare

whole bear
#

same here

upper arch
#

Without leaving anything out huh? FFS

upper arch
#
@commands.Cog.listener()
    async def on_ready(self):
       self.wavelink_nodes = wavelink.NodePool()
       node = wavelink.Node(uri='http://localhost:2333', password='youshallnotpass')
       await self.wavelink_nodes.connect(client=self.bot, nodes=[node])
       print("Node is ready!")
upper arch
#

smh

#

πŸ’€

short tree
#

Hello

#

How's it going?

#

Hey @steady mesa πŸ‘‹

#

Hi @surreal solstice

surreal solstice
#

hi

short tree
#

How's it going?

surreal solstice
#

good

short tree
#

πŸ‘

#

Working on any projects?

#

Hello @limber copper πŸ‘‹

surreal solstice
#

python telegram bot

short tree
#

Nice

#

What does it do?

surreal solstice
#

a schedule bot

short tree
#

So it schedules messages or something?

surreal solstice
#

yes,you can set time ,and hi will at that time send message to you

short tree
#

What did you use to delay the message?

surreal solstice
#

a loop
and use asyncio to sleep
and use new Thread

short tree
#

You use a new thread for every message delay?

surreal solstice
#
async def job()
  while true:
    # check time and send message
  await asyncio.sleep(1)
thread = threading.Thread(target=job, daemon=True)
thread.start()

like this

short tree
#

I'm not sure if that will scale well.

#

Can't a system only handle so many threads?

surreal solstice
#

I have another thread that listens

short tree
#

You could have one thread manage a big list of "jobs" and check each one against the time

#

You only have so many threads on each cpu

#

And Python won't use more than one cpu unless multiprocessing is used

surreal solstice
#

I don't know if there is any other way to make two functions run at the same time
And one to be synchronous and one asynchronous

short tree
#

I would still use multiple threads, but you only need one to manage the entire list of scheduled tasks

#

Instead of creating a new thread for every task

surreal solstice
#

How can I do it?

short tree
#

I would make a dataclass or list that holds the jobs you want to check against the time, then hve one thread that just loops through that list and checks all of them against the time.

#

The list would be globally accessible, so new jobs could always be added to it via a queue

surreal solstice
#

yes i have make a json to save data

short tree
#

Even better to have them in a db

#

sqlite is quicker than json, but json is a great place to start

surreal solstice
#

what is db

short tree
#

database

#

json will work for now until you need to scale up

surreal solstice
#

Maybe I should see how to achieve it
I've never done anything like this

short tree
#

json?

#

or sqlite?

surreal solstice
#

sqlite

short tree
#

It's not too bad to start. You only need a few commands - read, save and update

#

and create table

#

There's much more that you can do, but those are the minimum for starting and working

#

Hello @wind raptor πŸ‘‹

#

Hey @molten pewter!

surreal solstice
#

What about MySQL?

short tree
#

Yeah, that works. It's a little tougher to set up, but works the same.

surreal solstice
#

Can I ask you a question I'm having?

short tree
#

Sure

surreal solstice
short tree
#

So what is the question?

#

Welcome back @whole bear!

short tree
surreal solstice
#

I have a function and I want her to return two parameters
But when I call him I can refer to call one of the

#
def asd()
  x = 1
  y = 2
  return x,y

I want to call X alone outside

#

Oh is satisfactory

#

can i join the game?

short tree
surreal solstice
#

yes he playing the game

short tree
#

I recommend using the returned values where you need them if you can

surreal solstice
#

Ok , i will try it

short tree
#

Hi @dusky lynx πŸ‘‹

pure shell
#

why is this not pickable ```python
@staticmethod
def __detect_collision(ball1_position: tuple[float, float],
ball1_diameter: int, ball2: BallObject) -> bool:
# Calculate the distance between the two balls
distance = math.sqrt((math.pow((ball2.position[0] - ball1_position[0]), 2) +
math.pow((ball2.position[1] - ball1_position[1]), 2)))

    # Calculate the sum of the two balls' radii
    radii_sum = (ball1_diameter / 2) + ball2.radius

    # Check if the distance is less than the sum of the radii
    if distance < radii_sum:
        return True
    else:
        return False
#
@staticmethod
    def __function_parallelizer(func: types.FunctionType, iterator: list, *bound_parameters) -> list:
        partial_func = partial(func, *bound_parameters)
        with Pool(processes=8) as p:
            return p.map(partial_func, iterator, chunksize=10)
short tree
#

Hey @solemn igloo

solemn igloo
#

wsg

short tree
#

I think he said a membership with another server, not Discord.

wise cargoBOT
#
Discord Bot Hosting

Using free hosting options like repl.it or Heroku for continuous 24/7 bot hosting is strongly discouraged.
Instead, opt for a virtual private server (VPS) or use your own spare hardware if you'd rather not pay for hosting.

See our Discord Bot Hosting Guide on our website that compares many hosting providers, both free and paid.

You may also use #965291480992321536 to discuss different discord bot hosting options.

steel terrace
#

how can i use vc?

#

i mean join the vc

#

im suppressed

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.

short tree
#

Hey @rugged tundra

solemn igloo
#

?

short tree
#

Bye πŸ™‚

wind raptor
#

Python tutorial - Python full course for beginners - Go from Zero to Hero with Python (includes machine learning & web development projects).

πŸ”₯ Want to master Python? Get my Python mastery course: http://bit.ly/35BLHHP
πŸ‘ Subscribe for more Python tutorials like this: https://goo.gl/6PYaGF

πŸ‘‰ Watch the new edition: https://youtu.be/kqtD5dpn9C8

...

β–Ά Play video
short tree
#

I love Mosh!

solemn igloo
short tree
solemn igloo
#

nice @wind raptor told me to watch his course

short tree
#

He makes everything pretty easy to learn.

short tree
#

Gotta go! Have a great one.

solemn igloo
somber heath
#
forge:ores```
#
forge:ores/gold```
willow gate
#

@somber heath hello

dense ibex
#

@waxen barn

somber heath
#

@buoyant crescent @winged siren πŸ‘‹

buoyant crescent
#

Hi

whole bear
#

Gm

waxen barn
steel moon
whole bear
short tree
#

Hey everyone! πŸ˜„

#

You all seem to have drank some coffee this morning! Where is everyone from?

#

Isn't it a "situational comedy"?

zenith radish
short tree
#

What we do in the shadows is a mockumentary

#

@quasi condor

#

b99 is definitely a sitcom

somber heath
#

@obsidian dragon You're quiet.

obsidian dragon
#

do you know ho tto make a web cert for http to https

#

@somber heath

somber heath
#

Nope.

#

Sorry.

obsidian dragon
#

sowri @somber heath I don't like tv enough to understand what they are saying

dry jasper
somber heath
dry jasper
#
Rotten Tomatoes

In the near future, Major is the first of her kind: a human who is cyber-enhanced to be a perfect soldier devoted to stopping the world's most dangerous criminals. When terrorism reaches a new level that includes the ability to hack into people's minds and control them, Major is uniquely qualified to stop it. As she prepares to face a new enemy,...

willow gate
#

@somber heath hello

noble solstice
#

Hello Guys!

#

What are u Guys Discussing?

willow gate
#

Guys react vs angular which one is good?

noble solstice
willow gate
zenith radish
willow gate
#

@vocal basin hello

vocal basin
#

ante

#

not after

willow gate
#

having this erorr

vocal basin
#

12am / 12pm is very confusing

noble solstice
#

try 127.0.0.1.8000/yt_downloader_app/

willow gate
vocal basin
#

!rule 5 assuming by /yt_downloader_app/ path

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.

noble solstice
vocal basin
#

what is that page doing?

#

(and/or app doing)

willow gate
vocal basin
#

!ytdl

wise cargoBOT
#
Our youtube-dl, or equivalents, policy

Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders, as their usage violates YouTube's Terms of Service.

For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:

The following restrictions apply to your use of the Service. You are not allowed to:

1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service;  (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;

3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTube’s robots.txt file; (b) with YouTube’s prior written permission; or (c) as permitted by applicable law;

9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
vocal basin
#

not allowed

noble solstice
willow gate
noble solstice
#

Glory to u!

vocal basin
# wise cargo

this for whatever reason was mentioned way too many times in the recent 2-3 days

willow gate
willow gate
noble solstice
willow gate
dry jasper
#

carboard tube farting xD

#

fierljeppen

#

elfstedentocht

#

skΓ»tsjesilen

woeful salmon
errant coral
#

hey

#

hey

woeful salmon
#

hello πŸ™‚

#

and i need to go now so also bye xD see you guys later

willow gate
#

topic of toc?

dry jasper
#

@cerulean ridge have you tried to programm and viziulize it?
https://youtu.be/C2vgICfQawE

This is an old video. I recently started to upload again. Scientific topics, and more, but animated! Check my new stuff out: https://www.youtube.com/RationalAnimations

🟠 Support us on Patreon to receive rewards and to help make this channel self-sustaining: https://www.patreon.com/rationalanimations

Here is the program I used in the video to r...

β–Ά Play video
turbid sandal
#

yeah

fallow musk
#

Alittle harsh there no?

#

@whole bear sure. It's just not cool to bring down someone like that. He's trying his best.

wind raptor
#

!stream 1053732836693258391

wise cargoBOT
#

βœ… @turbid sandal can now stream until <t:1690642667:f>.

dry jasper
wind raptor
#

!stream 651519394673065989

wise cargoBOT
#

βœ… @whole bear can now stream until <t:1690643250:f>.

cerulean ridge
somber heath
#

"Bacon flavoured vapes"

velvet flicker
#

hey

#

πŸ™‚

#

so ,what u guys doing?

short tree
#

Heyo!

vocal basin
#

I forgot to aggregate data and it just plotted 500 separate lines lol

#

that'd be only 10ms of sound

velvet flicker
#

cool

whole bear
#

hello?

#

hi

short tree
#

Hello

#

How's it going?

whole bear
#

Iam working on flask/react project, which is expected to deploy on heroku

#

u guys know heroku?

#

good at*

vocal basin
#

variety of topics of what you're learning is important

short tree
#

I'm making a website in next.js

vocal basin
#

it will feel more difficult, but it will achieve better results

whole bear
#

heroku

whole bear
#

@wind raptor

short tree
#

That's Mosh

#

I am Chris

whole bear
#

two chris

#

which is real?

vocal basin
short tree
#

I am the only real Chris though

whole bear
#

@wind raptor d u know @short tree ?

short tree
#

🀣

whole bear
#

πŸ‘€

heavy hill
#

hey

#

i need some help on python, can someone help me?

#

i need help making a telegram bot

vocal basin
whole bear
#

!voice

wise cargoBOT
#
Voice verification

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

vocal basin
heavy hill
#

im having troubles with the "buttons"

#

they dont stretch

vocal basin
#

@somber heath telegram itself should handle it

heavy hill
#

actually im not using a framework cause its a simple bot

velvet flicker
#

guys
what do you think is a right topic to talk in this century

willow gate
#

BotFather?

heavy hill
#

i'll explain what i mean for the buttons that dont stretch:

i have a long text in the buttons but they're not big enough to fit the text

yes im using my account with my personal token

vocal basin
#

can bots even work with personal tokens?

vocal basin
#

like, if you're using buttons, you're probably using bot tokens

willow gate
heavy hill
#

i tried but i cant reduce it anymore or else i cant understand whats written

#

im using python with aiogram library

#

@cerulean ridge are you italian?

velvet flicker
heavy hill
#

hahaha

#

yeaa

#

no bro no

#

πŸ”«

velvet flicker
#

@cerulean ridge say 'everythings are thing' in the italian accent

heavy hill
#

when im going to unlock my mic ill do it

whole bear
heavy hill
#

yes but i didnt write enough

whole bear
#

try

#

this

#

way

heavy hill
#

oh

whole bear
#

chatii

heavy hill
#

ok

#

nice

whole bear
#

but

#

not

#

here

heavy hill
#

yes exactly

velvet flicker
#

||come here mouse pointer . got you||

whole bear
#

sorry.

heavy hill
#

btw can i stream when i will unlock my voice?

heavy hill
#

oh

willow gate
#

3rd law

heavy hill
#

when will i be able to stream?

#

ok perfect

#

btw can you help me about the bot?

wind raptor
#

!paste

heavy hill
#

trying to learn something actually

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.

heavy hill
#

im new to python

#

oh ok, is it a problem if some titles are in italian?

whole bear
#

!resoure

heavy hill
#

okok

#

farming for these 50 messagesKEKW

#

are you playing only up?

whole bear
#

dev, i was verified

willow gate
whole bear
#

my mic matters

heavy hill
#

ok

short tree
#

I have to get going. Have a great day everyone!

willow gate
#

use replit

short tree
#

πŸ‘‹

heavy hill
#

whats replit

willow gate
heavy hill
#

oh btw whats that character that u use to send code in discord?

velvet flicker
#

@rugged tundra hi

heavy hill
#
from aiogram import Bot, Dispatcher, executor, types
from aiogram.types import ReplyKeyboardMarkup, ReplyKeyboardRemove, KeyboardButton
from aiogram.types import InlineKeyboardButton, InlineKeyboardMarkup

bot = Bot(token='TOKEN')
dp = Dispatcher(bot)

# Start
bottone1 = InlineKeyboardButton(text = 'Potatura', callback_data = 'rispostabottone1')
bottone2 = InlineKeyboardButton(text = 'Stesura ombreggianti', callback_data = 'rispostabottone2')
bottone3 = InlineKeyboardButton(text = 'Pulizie varie', callback_data = 'rispostabottone3')

# Sezione potatura
potatura1 = InlineKeyboardButton(text= 'Potatura totale pianta', callback_data= 'rispostapotatura1')
potatura2 = InlineKeyboardButton(text= 'Potatura polloni', callback_data= 'rispostapotatura2' )
potatura3 = InlineKeyboardButton(text= 'Potatura mirtilli', callback_data= 'rispostapotatura3' )

keyboard_inline = InlineKeyboardMarkup().add(bottone1, bottone2, bottone3)
keyboard_inline1 = InlineKeyboardMarkup().add(potatura1, potatura2, potatura3)

@dp.message_handler(commands=['start'])
async def inizio(message: types.message):
    await message.answer("Ciao! Benvenuto in HourBOT. Qui puoi segnare cosa hai fatto oggi, basta rispondere alle mie domande!")
    await message.answer("Clicca su uno di questi bottoni per indicare cosa hai fatto:", reply_markup = keyboard_inline)

@dp.callback_query_handler(text = ["rispostabottone1", "rispostabottone2", "rispostabottone3"])
async def risposte(call: types.callback_query):
    if call.data == "rispostabottone1":
        await call.message.answer ("Specifica il tipo di potatura:", reply_markup = keyboard_inline1)






executor.start_polling(dp)```
#

can someone help me?

willow gate
#

@rugged tundra great

#

i am also pursuing cs

heavy hill
#

@wind raptor i sent the code, can you see how i can stretch the button to make the text fit?

wind raptor
#

checking the docs

heavy hill
#

That's what I mean btw

#

See?

velvet flicker
#

@somber heath welcome back

willow gate
heavy hill
#

what?

willow gate
heavy hill
#

I want the button to stretch

#

based on the text

velvet flicker
#

@somber heath hey do you ever recall me joining to your call before

wind raptor
willow gate
heavy hill
#

strange, i saw someone do it

#

See?

#

oh ok, so i should change the way buttons show up

#

yes thats what i mean

#

i'll try using that

velvet flicker
#

@somber heath i had an other account with almost the same username and i had joined in one of your calls here

willow gate
#

Might be work for you

heavy hill
#

saw which where the limitations of the button showing like that and i cant use them, because i need that when i press certain buttons other buttons appear

#

using that display method doesnt work

#

so i guess i'll have to find a way to stretch

#

or reduce the text idk

#

really?

#

thx

somber heath
#

!rule 10

wise cargoBOT
#

10. Do not copy and paste answers from ChatGPT or similar AI tools.

willow gate
# wise cargo

ok i will remember i try to slove at my own level but didn’t work

heavy hill
#

yea in fact it doesnt work :((

willow gate
#

@somber heath yes it explain terms and theory part in good way

heavy hill
#

is there an age requirement to speak here? :))

willow gate
heavy hill
#

yes i can speak but are there age requirements to speak here?

#

i unlocked my mic

#

ok

willow gate
#

@somber heath yes that true it becomes a habit if the error not gets slove then use chat gpt

#

Rapidly use of it also kill logically thinking

heavy hill
#

it sends so many wrong messages actually

willow gate
#

since early i was using a lot but now had reduce

#

yes

#

@somber heath Bye , have a great day!

fresh blaze
#

hi

#

yes my new pfp is a lot better

surreal cape
vocal basin
#

attempt count?

surreal cape
#

used Counter

vocal basin
#

same

surreal cape
#

||```
from collections import Counter

class Solution:
def isAnagram(self, s: str, t: str) -> bool:
return Counter(s) == Counter(t)

#

guess theres no best way to do this

#

you are the other .34% I didnt beat xD

#

Im looking at the fastest solution and they used a for loop

#

Actually is very clever that solution they used

vocal basin
#

hypothetically, this is another option
||```py
class Solution:
def isAnagram(self, s: str, t: str) -> bool:
c = Counter(s)
c.subtract(t)
return Counter() == c

surreal cape
#

they did not nedd to compare a full hash table

#

Take a look at this

||```py
class Solution:
def isAnagram(self, s: str, t: str) -> bool:
if len(s) != len(t):
return False
else:
for idx in set(s):
if s.count(idx) != t.count(idx):
return False
return True

#

comparing the dicts are not O(1) right?

vocal basin
#

lower bound is O(N) assuming they are equal

#

N being size

#

because it runs equality check per each key and each element

surreal cape
#

but on the best solution qith the for loop over the set, supposing the first element has different counts it will return False before the check of the next keys, so it runs faster than O(n).

Isnt that correct?

dry jasper
velvet tartan
ionic jasper
#

Guess my region with my cough

#

πŸ’€πŸ’€

solid hull
#

@ionic jasper i am not voice verified

#

@sharp idol i am not voice verified bro

#

aight

#

you were asking something?

#

lmao mb one sec

ionic jasper
#

Yeah prolly

#

U wan’t to verify yourselves?

#

Can I help

solid hull
#

well i need 50msges and 3 days

#

so

#

yea

#

i don't talk too much

#

so idk

ionic jasper
#

Spam

solid hull
#

if you need any help in python you can ask me tho

#

nah no spam

ionic jasper
#

If you don’t mind asking where u from ?

solid hull
#

india

#

U.P

ionic jasper
#

India lmao

#

πŸ‘Œ

solid hull
#

um

solid hull
#

ok

ionic jasper
#

I’m from here

solid hull
#

oh wait is that me

#

lol

#

jkk

ionic jasper
#

Take a guess

solid hull
#

sad

#

you get lakes we get hardcore rain experience without lakes

#

we are superior

ionic jasper
#

Not here

solid hull
#

we actually have a drainage systum

ionic jasper
#

But like close to my neighbouring areas

#

Bro wth

solid hull
#

imagine having a bad drainage

ionic jasper
#

You jailbreaked u iPhone

solid hull
#

in literally the central area

ionic jasper
#

Yeah

#

But not at my place

solid hull
ionic jasper
#

I saw on your yt

solid hull
#

that is why

solid hull
#

i just f*'ed around and got some things

ionic jasper
#

Is ios gods non jailbreak

solid hull
#

yes

#

it is

#

but it has to be used with sideloadly

ionic jasper
#

It is very modern

solid hull
#

which is thru a pc

ionic jasper
#

but only places surrounding it are shit

#

Fr

solid hull
#

name an area in jamna par maybe i'll know that

ionic jasper
#

Imma delete that shit run

solid hull
#

lol

#

was i right?

ionic jasper
#

No it’s near shahadara bro

#

Across signature

solid hull
#

oh shahdara

#

red line

ionic jasper
#

Yeah

solid hull
#

ok ok i got it now

#

hmm never been to signature bridge tho

#

that much i get

#

wanna see my code?

ionic jasper
#

On what

solid hull
#

python file processing

#

its actually pretty avg

solid hull
ionic jasper
#

Sorry , nothing just shifting to another state

#

If u don’t mind asking what’s ur age ?

#

@willow gate talk something in my native language I’ll guess u have seen that person πŸ˜‘

ionic jasper
#

Yes

ionic jasper
#

Kya karoon ?

#

What does it mean

#

Fk

#

U decoded that guy on door

#

I need to move asap

willow gate
ionic jasper
#

M jara Haryana

willow gate
solid hull
#

12th

#

why do you ask?

willow gate
willow gate
solid hull
#

you did not look at my yt channel right

#

please don't its filled with cringe of the childhood

#

not exactly cringe

willow gate
solid hull
#

but weirdness

#

yea then its fine

willow gate
#

you are uploading since 5years ago

solid hull
#

i guess

willow gate
#

ok

willow gate
#

@somber heath hello

willow gate
solid hull
#

which year?

#

oh damn nah man thats way far beyond for me right now

#

i am as good as any student in their first year

#

i also do not consider myself that good

willow gate
willow gate
solid hull
#

nah but i do small ones for a past time

#

currently learning C

willow gate
wicked tangle
#

may can someone help me?? My output is wrong...
+----------+
| name;age|
+----------+
| krish;31 |
|sudhash;30|
| sunny;29 |
+----------+
i want to split this column using this ";"
can someone know the answer?? I'm using pandas / pyspark

willow gate
solid hull
willow gate
#

@solid hull Good luck for your boards Good Night

solid hull
#

thanks good night @willow gate

wicked tangle
#

yes

#

how can i use that

wicked tangle
#

pyspark / pandas

#

thanks a lot

#

yes

#

dataframe

#

csv file, but my csv do not have comma

#

like

#

its using ";"

#

and my output is bugged so

#

.separete(";")

#

like this?

dry jasper
#

a = pd.read_csv('report.csv', sep=";")

#

does it work? @wicked tangle

wicked tangle
#

yes, thanks

elfin bone
#

hm

#

wheres all of the big boys

#

why arent they on today

#

they people who entertain us and make the discord feel ALIVE

#

kidding

#

they are very nice people though

#

discords very alive

#

quite too much

cosmic bison
#
import pathlib
current_folder = pathlib.Path(__file__).parent.resolve()
import sys
sys.path.append(current_folder)
elfin bone
#

SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSHOT

#

OO*

whole bear
#

hi

scarlet halo
#

its 4 am for me πŸ’€

whole bear
cosmic bison
#

just start moving east or west

#

should start moving thru time zones

minor raft
#

@somber heath wait a sec

scarlet halo
minor raft
somber heath
minor raft
#

@somber heath

severe falcon
#

hello guys

#

ssup ?

ionic jasper
#

supra

severe falcon
#

what about cs50 ?

ionic jasper
#

idk ?

severe falcon
#

but you can't explain it most of the time.

#

it's more like complicated for some and easy for some.

ionic jasper
#

i mean half of us suck with basic ppt's

#

maybe you all dont but i do\

severe falcon
#

whatttttt who is making ppt here

#

dude

ionic jasper
#

its very basic need for jobs

#

if not at your place but here it is

severe falcon
#

I used it when i was in 2nd grade.

#

I code dude

#

why would I need power point what's the connection.

ionic jasper
#

u need it

#

like not for coding but

#

basic buisnesses and jobs do

#

they show like there whole graph on ppt

#

thats why i opted for ai rather than it

severe falcon
#

so you are saying if i need a job as developer I need know about power point.

severe falcon
#

that make sense

ionic jasper
#

they show ppt to explain there plant to takeover companies like amazon and microsoft

#

like they can

#

plant is autocorrected

#

i wanted to say plan

#

@somber heath gotta go have a nice day bro

somber heath
#

@leaden plinth πŸ‘‹

#

@gloomy olive πŸ‘‹

gloomy olive
#

hi

#

i dont have the permission to talk here

somber heath
#

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

gloomy olive
#

should i start chatting here now

#

ahhh it gonna take more days

#

ha ha

#

by the way ..are you a programmer ?

#

i'm looking for a simple solution for arduino program

#

yeah let me

#

its arduino IDE

#

for coding the arduino

#

the simple code is to turn the servo 0-360 degree single time/once

#

wow great suggestion.

night pecan
#

can someone explain what quotient means?

#

i need it for basic oporators

gentle flint
#

if you do
20/10 = 2
then 20 is the dividend
10 is the divisor
2 is the quotient

hearty sphinx
#

hello

night pecan
stoic chasm
#

yes

scarlet halo
#
print(latest["href"])
wind raptor
#
(".link [href]")
echo garden
#

@wind raptor morning

scarlet halo
#

make the most complex game you can make

#

but

#

in tkinter!

#

because tkinter isnt a game lib

#

wait no make a fitness tracker