#voice-chat-text-0

1 messages Β· Page 210 of 1

desert vector
#

yoon cooking with this one

whole bear
#

ERROR: Could not find a version that satisfies the requirement time (from versions: none) ERROR: No matching distribution found for time

what can i do?

wise loom
#

gear-wise you seem prepared

oblique ridge
#

2ez

#

most active vc

random sorrel
#

I gotta type 50 msg and wait three days

#

Wouldn't be muted otherwise 😦

random sorrel
#

I was listening to an interesting convo between Focus and another guy before

mighty robin
#

super shy ><

random sorrel
#

Hahha, good talk guys

#

Ffs

mighty robin
#

newjeans - super shy πŸ•ΆοΈ

#

all my fellas πŸ•ΊπŸ»

#

sql ?

#

guys u know where i can find a fricking job

#

πŸ˜”

oblique ridge
#

sql factory

mighty robin
#

🦝

#

html, css, js, py

#

im also learning machine learning

#

🦝

#

i'm looking also for web job

random sorrel
mighty robin
random sorrel
mighty robin
#

C leaning

#

🦝

random sorrel
#

become a rust boy

mighty robin
#

C leaning no bro

mighty robin
#

Cleaning logo_ironpython

wise loom
#

What about Zig ?

mighty robin
#

imagine all

#

the people

#

DUDE

#

LOUD AF

#

all my fellas ducky_cat

random sorrel
#

BUT IM NOT THE ONLY ONE

mighty robin
#

guys im going insANE

desert vector
#

now THAT is a man who knows what he's doing

#

that power stance

mighty robin
#

i cant even talk to girls

#

imagine have a KID

#

triangle shape?

#

WTF DUDE

#

are u human or a hypotenuse

#

aΒ²+bΒ² = Laguna shapeΒ²

#

real.

#

😳

#

hop on tf2

wind raptor
#

Can you stop with the gifs @mighty robin

mighty robin
#

πŸ˜”

oblique ridge
#

belly drum for the win

wind raptor
#
LeetCode

Can you solve this real interview question? Build an Array With Stack Operations - You are given an integer array target and an integer n.

You have an empty stack with the two following operations:

  • "Push": pushes an integer to the top of the stack.
  • "Pop": removes the integer on the top of the stack.

You also have a stream of the integer...

oblique ridge
#

https://leetcode.com/problems/number-of-islands/
@lavish rover
you might like this too

LeetCode

Can you solve this real interview question? Number of Islands - Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands.

An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surroun...

#

i was asked this in an interview

solemn swan
#

@lavish rover what's language??

oblique ridge
#

his own πŸ‘€

solemn swan
#

how to develop own langaugaeπŸ™‚

toxic arch
#

make machine code

oblique ridge
#

very fun puzzle

toxic arch
#

greeeeeeeeeeeeeen

solemn swan
#

anyone wanna play chess??

toxic arch
#

no

empty leaf
#

hello

solemn swan
#

@empty leaf hello!!

#

how many year does it take to learn like this type of codin ??

#

@lavish rover

#

do u all guys works for google or what??

#

my college prof cant code like this

oblique ridge
#

your college prof doesn't use ocen

solemn swan
#

which country you all guys from??

lavish rover
oblique ridge
#

US of A

solemn swan
#

@lavish rover are you from iit??

solemn swan
oblique ridge
#

new jersey

stuck furnace
#

Yo

#

Working on your language @lavish rover?

#

Oh right pithink

#

Where's Hemlock? I haven't seen him around at all this week

#

;-;

undone idol
#

seismic scale

wise loom
#

8 on the Richter scale you said?

undone idol
#

@lavish rover did you feel it

#

4.8

wise loom
#

4.8 is not that big

undone idol
#

what do you want

#

to happen

#

my window glass shattered

#

was strong trust me

stuck furnace
#

How do you deal with the edges? pithink

#

@lavish rover To be fair, it has detected the edges Β―_(ツ)_/Β―

wise loom
undone idol
#

ok

trail kite
#

is anyone good with logisim?

stuck furnace
#

Gtg πŸ‘‹

shadow pivot
#

is here anyone whos leading python project; i mean product owner or manager

lavish rover
wise loom
#

oh, how'd that go?

toxic arch
woeful salmon
wise loom
wind raptor
#

G2g. Awesome seeing this project come to life!

whole bear
#

first time in this server. inspiring work, @lavish rover

vestal mason
#

@lavish rover did you create this language?

lavish rover
#

yeah

vestal mason
#

this is pretty cool

wind raptor
#

!tvmute 713748975961899060 3d

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @left fulcrum until <t:1699315500:f> (3 days).

left fulcrum
#

3 DAYS MUTE?

#

nah thats mad i was just joking around u lot take this sh way too seriously

wind raptor
#

Yeah. We don't like toxic behaviour here.

left fulcrum
#

there is a difference between being toxic

#

and trolling

wind raptor
#

Not much

left fulcrum
#

there is

toxic arch
#

you guys been in vc for a while

left fulcrum
#

anyway im not gonna bother

#

arguing with u

wind raptor
#

Trolls get banned

left fulcrum
#

i was just joking in a way

#

the convo was dead no one was talking i was just making it fun :/

#

but ok

toxic arch
#

what did you do @left fulcrum

left fulcrum
toxic arch
toxic arch
#

beekeeper

half silo
wind raptor
#

!stream 852634073934856202

wise cargoBOT
#

βœ… @half silo can now stream until <t:1699058050:f>.

storm sorrel
#

@wind raptori joined before you and i cannot speak?

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.

storm sorrel
#

i dont really use text chat though

wind raptor
#

you need to voice verify in the channel

#

Thems the reqs. I can't change the rules for one person or I'd have to change them for everybody.

vestal mason
#

what document site was that?

#

@lavish rover this

lavish rover
whole bear
#

A method should modify the self input or no input at all.

vocal basin
lavish rover
#

Yeah don't think we got around to fixing it

vocal basin
#

function docs probably shouldn't be aligned because the signatures are too big on their own

#

that time I also fixed hover highlight but forgot to commit

somber heath
vocal basin
golden sonnet
#

πŸ‘‹

vocal basin
#

I should rewrite the thing I have for generating it in something other than JS

hallow gazelle
vocal basin
#

(it hit float precision limits I think)

somber heath
#

@rocky harness πŸ‘‹

#

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

rocky harness
#

unable to verify

shy raft
#

hi

somber heath
#

@wet scroll πŸ‘‹

wet scroll
#

hello

#

dis my first time speaking in here

#

ehh i dont think i would speak anyways

vocal basin
#

I was voice verified until ~January (when I first left)

#

... but didn't speak much anyway

wet scroll
#

what do you guys make with python

vocal basin
wet scroll
#

huh?

#

wait what does that mean

#

is it like AI image generator?

#

well what kind of image does it generate

#

or make

shy raft
#

ai can already do that lmao

#

πŸ˜‚

wet scroll
#

i just realised

#

so many channels

#

also that image is too beautiful

vocal basin
#

community servers now have a way to manage which channels you can see

#

(apart from categories and roles)

wet scroll
#

oh right

#

yeah the browse channels

noble solstice
#

Hello guys

#

i need some help

wet scroll
#

Opal did you say something?

#

oh

noble solstice
#

laptop is on but black screen and when i press any key it beeps beep sound is too high

vocal basin
#

!e

import json
import math
print(float('inf'))
print(math.inf)
print(json.loads('Infinity'))
#

I don't remember how to enable it

noble solstice
#

I tried removing battery and ram but don't work

wise cargoBOT
#

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

001 | inf
002 | inf
003 | inf
noble solstice
wet scroll
vocal basin
#

(I'd guess before)

#

might be an issue with boot record

#

might be hardware issue

noble solstice
#

Screen is blank

vocal basin
#

it never shows anything at all, right?

noble solstice
#

My laptop works fine in morning and I open it in evening it doesn't work blank screen

#

Yeah

noble solstice
#

Nope

vocal basin
#

(that it's not a hard drive issue)

somber heath
#

Because I've had situations where the screen doesn't work, common enough, but the unit itself still boots.

wet scroll
#

where do i showcase my python stuff?

vocal basin
#

usually that'd be in a specific topical channel depending on what you're working on

#

!e

print(next(iter([2,3,4])))
wise cargoBOT
#

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

2
noble solstice
#

I need to go for a repair

somber heath
#

@viral violet πŸ‘‹

noble solstice
#

Sad

vocal basin
#

for files not paths, it'd be a next line often

#

!e

from io import StringIO
file = StringIO("""a
b
c
""")
print(next(file))
print(next(file))
print(next(file))
print(next(file))
wise cargoBOT
#

@vocal basin :x: Your 3.12 eval job has completed with return code 1.

001 | a
002 | 
003 | b
004 | 
005 | c
006 | 
007 | Traceback (most recent call last):
008 |   File "/home/main.py", line 9, in <module>
009 |     print(next(file))
010 |           ^^^^^^^^^^
011 | StopIteration
... (truncated - too many lines)

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

vocal basin
#

newline + line end

#

and raises StopIteration when no more lines

wet scroll
#

is it okay to showcase with screen share?

viral violet
shy raft
#

it does not

vocal basin
shy raft
#

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

wet scroll
vocal basin
#

yes, to make sure what you're streaming is appropriate

shy raft
#

it does

wet scroll
#

oh ok

shy raft
#

we're talking about streaming

#

not talking

viral violet
#

ohhhh ok 50 messages. Thank you

shy raft
#

i see

viral violet
#

odd amount, but, whatever... how do ya tell if you're out of purgatory?

vocal basin
vocal basin
viral violet
#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

viral violet
#

well 40, as a lurker, I will keep talking haha

flint hill
#

yep

viral violet
#

Acutally got some great advice on the devops channel here, that was nice

flint hill
#

yep

viral violet
#

lolz and redstar is also supporting me, so that's cool too haha

#

Learning Jython at work

#

it's basically the same thing just on top of Java

vocal basin
viral violet
#

Oh really?

#

It's used in the industrial platform ignition for me...

vocal basin
viral violet
flint hill
#

ya dont name drop me please

#

i dont paly like that

viral violet
#

ohhhh ok

#

lolz thanks

#

how do you message the mods to ask?

vocal basin
#

for streaming perms, just wait until a moderator is in VC;
for communicating with the moderation team for other questions/issues/reports, there is @rapid crown

viral violet
#

haha I promise I won't be weird. Can I talk?

#

haha thanks

#

nah fair. It's a large server but bro I'd just like ta talk about python

#

so I get the moderation

#

@vocal basin do ya just tag them - they are joking about me right now

vocal basin
#

?

viral violet
#

lolz I'm guessing this discord get's trolls. Just trying to figure out how to be able to chat

#

TOTALLY

#

no I get it

tawdry gulch
#

oh no

viral violet
#

I'm just a dork that uses fastapi at work but I do appriciate geeky jokes

#

@rapid crown I am not worthy haha

#

nah all good.

somber heath
shy raft
#

uhh...

viral violet
#

gonna get some rest will check out things tomorrow cheers guys.

somber heath
shy raft
#

ok...

somber heath
#

@tawdry gulch πŸ‘†

#

Er...

#

πŸ‘‹

#

That's the emote I meant.

tawdry gulch
#

Yo

#

Thought I heard my name.

#

Appreciate the welcome

#

Enjoy the night, Redstar

#

There isn't a "wall of shame"?

#

Hey- only "no-mic" for now. I just started getting into exploring other discord communities.

#

Legit.

#

This server is HUGE. No wonder there's such a restriction on vc.

shy raft
#

im bacc

tawdry gulch
#

yo

shy raft
#

yo

tawdry gulch
#

np

#

No- this is huge compared to other places I'm aware of.

#

OH...................

#

ew.

#

Uh, HEY- ty for this restriction.

#

Honestly- I'd rather. I'll patiently wait. Especially if there are people in vc who read the text chat.

#

ty

shy raft
#

ye

tawdry gulch
#

np, np

#

raises hand - but totally gets it

#

Not looking for help just yet- I'm exploring AI and using Python as my language of choice for building things.

#

I've got a basic understanding and so far so good.

#

It's that syntax approachability.

#

Yepyep. I didn't pursue a CS degree cause I got waaaaaaaaaaaaaay too pissed off at missing a semi-colon, but that's a lot better now with happier coding apps. Python was a great intro though.

#

Headed for "Studio Art" instead.

vocal basin
#

!e

;;;;;;;;;
wise cargoBOT
#

@vocal basin :x: Your 3.12 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     ;;;;;;;;;
003 |     ^
004 | SyntaxError: invalid syntax
tawdry gulch
#

_>

vocal basin
#

huh

shy raft
#

erm

vocal basin
tawdry gulch
#

Dude, I have noooo idea on that. My primary coding experience as over a decade ago. I'm just now getting back into it.

shy raft
#

ternary operator 😩

tawdry gulch
#

That's legit. Any programming language will take you around the world and back again.

#

I spent some time in C# to program a game and relearn that coding is a lot easier these days.

#

pfffffffffffffffft

#

Monke- you're speaking the devil's language as far as I'm aware.

#

too much math

vocal basin
#

three operands

#

unary, binary, ternary

tawdry gulch
#

3 elements into 1 element is all google can really tell me

#

I did look

#

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

#

I think I get it.... and also my brain hurts.

whole bear
#

Do you know can we update tuple ?

tawdry gulch
#

No clue

vocal basin
tawdry gulch
#

ooooooooooooo

#

We're exploring immutable things already? XD

whole bear
#

In interviewer said ther is way trick to update without change the list

tawdry gulch
#

This is a wild first 10min of chat.

vocal basin
wise cargoBOT
#

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

001 | ([], [])
002 | ([1], [])
vocal basin
#

interior mutability

tawdry gulch
#

_>................. wth??? The whole point of immutable is no change

#

okay, good

#

I need to read up on something. Alisa is running programs with !e without changing any code in this chat. o_O

#

ooooooooooohhhhhhhh- that makes sense. You're not changing the immutable property- you're changing a NEW list/instance.

#

But you're describing essentially a copy/paste. yeah

#

copy/paste - change - rename to original and overwrite....

whole bear
#

I want to create py tesserect image to text API using FAST API it work on my PC I want to deploy in Vercel there is the way to deploy

tawdry gulch
#

So why here on a Friday night, bud? πŸ˜„

#

Oooohhhhh- got me

whole bear
#

I will connect again

tawdry gulch
#

wha-

#

Congrats?!

shy raft
#

bro what is that gif πŸ’€

tawdry gulch
#

haaaaaaaaaaahahahahaha

#

It's someone dancing while sedating bees so they can check the hives. πŸ™‚

shy raft
#

ik what it is

#

but i meant it's so goofy

tawdry gulch
#

hahahaha- oh, the silliness of it

#

legit

shy raft
#

lol

tawdry gulch
#

Bees are cool

#

Murder all the yellow jackets though.... (in game?)

#

Most bees won't sting you cause it means their life. Yellow jackets sting cause they're jerks.

#

They do- and it's annoying.

#

Yeah

#

That truly made me lol

#

1am. Time to head out. Thanks for chatting Opal. I appreciate the welcome. πŸ™‚

vocal basin
#

@verbal zenith what?

#

type issues? or borrow checking?

#

(or else?)

verbal zenith
vocal basin
#

what type do you need?

#

for it to return

#
  1. as_str()
#
  1. fully-qualified path
#

as_ref is rarely necessary unless you're dealing with smart pointers or generic inputs

#

what do match arms contain?

verbal zenith
#
    pub fn from_str(span: Span, lexeme: String) -> Self {
        Self {
            kind: match lexeme.as_ref() {
                _ => TokenKind::Identifier,
            },
            span,
            lexeme,
        }
    }
vocal basin
#

that's why it fails

#

_ has no type associated with it

verbal zenith
#

hmmm

vocal basin
#

to_owned is guaranteed to have a specific type, unlike as_ref

#

and so is deref

#

borrow is non-specific too

noble solstice
# vocal basin that's why it fails

Hii alisa my laptop is works now but my battery is damaged and battery is swollen can i use my laptop without battery for some hours a day can it damaged my motherboard?

vocal basin
#

because the type is a parameter of the trait, not an associated type

#

as_str is more correct I think

vocal basin
vocal basin
#

one of the cursed tricks with associated types is that you can extract all references to Self as Self::Something
(I've used this trick for implementing multiple blanket implementations for the same trait)

#

making a project in Rust

#

for the past ~3 months

vocal basin
#

From::from isn't general enough

#

yes, it's almost entirely about lifetimes

#

any function that converts a &str to String is okay there

#

closures are allowed too

vocal basin
# vocal basin `From::from` isn't general enough

it wants From::from<'any> but it gets From<'undefined>::from
because the method looks like

<String as From<'undefined>>::from
//              ^^^^^^^^^^ doesn't error because the compiler is okay with fake lifetimes
#

all these should work there

|s| String::from(s)
str::to_string
str::to_owned
#

the solution I test with has a custom trait FromRef instead

vocal basin
#

Rust's standard library is relatively small, it's somewhat easy to just read all the docs

#

and also it doesn't absorb questionable stuff like XML support

mild sorrel
vocal basin
#

impl AsRef<Path> is often used

#

but you'd probably just pass it to std::fs functions

wise loom
#

@vocal basin hru?

solemn swan
#

Till when I am gonna be mute πŸ₯²

#

alex

wise loom
#

Thoughts on this salad?

solemn swan
#

Till when I am gonna be suppressed my voice

#

It's the third day i think

#

I don't have any quest

#

My fav colour black

#

Whats your

#

Can I ask you something??

#

@somber heath ..

solemn swan
#

Ok

#

Yup

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.

solemn swan
#

Can u give me the link

#

I can't

#

Yup

#

User data issue

#

Let me send you pic

#

Yup

#

Xd

#

I have to contact the modmail think so

#

Xd

#

Ok

#

Bye

#

Thanks for help

somber heath
#

@inland cedar πŸ‘‹

#

@woven geyser πŸ‘‹

woven geyser
#

Yo cant speak

#

says I need 50 words or smth

#

50 sentences

#

says

#

or msgs

#

idk

#

lol

wind raptor
#

Do not spam

#

Or it will be longer

woven geyser
#

So verify

#

How to

obsidian dragon
#

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

woven geyser
#

Your mums spammy πŸ˜‹

golden sonnet
#

πŸ‘‹

woven geyser
#

@wind raptor only speak when spoken to

golden sonnet
#

how you doin'?

wind raptor
royal prawn
golden sonnet
#

am good thank you

royal prawn
somber heath
#

@lethal plaza @lunar steppe πŸ‘‹

obsidian dragon
#

@woven geyser do you python

wind raptor
#

Cya @obsidian dragon

golden sonnet
#

might be my mic then

lunar steppe
#

why

golden sonnet
#

it's not a good mic

lunar steppe
#

oh

golden sonnet
wind raptor
lunar steppe
#

Sorry, is this chat for pro only ?

golden sonnet
#

you just got into django and you teaching?
i'm jealous πŸ™‚

golden sonnet
somber heath
wind raptor
#

My student wanted to use it for their first big project, so I had to start learning it.

golden sonnet
#

i'm stuck in a widget thing myself

#

very annoying

wind raptor
#

Docs are easy to use after you've used others a lot. It was pretty easy to get set up and do things.

lunar steppe
#

I am a self thought and noobest noob py coder/programmer..

somber heath
#

So noobiest you are not.

lunar steppe
#

Thanks man

wind raptor
#

πŸ™„

lunar steppe
#

in cov-19 i started learning python from GitHub open source projects.

desert vector
somber heath
#

An electronics set I have...the first project was the most complicated, followed by least to second most complicated.

#

912345678

lunar steppe
#

I had made some packages for my daily use.

But, now it took me 14 days to make a simple telegram bot.

lunar steppe
#

cool man

somber heath
#

Some ICs.

desert vector
#

why is it called breadboard if I can't eat it

#

false advertising imo

somber heath
#

Well, you can.

lunar steppe
#

Oh integrated circuit?

somber heath
#

A few

desert vector
#

just a couple

lunar steppe
#

Breadboard?

somber heath
#

Less creepy than that, but pretty much.

#

That just satisfies a part of my brain.

#

That animation.

lunar steppe
#

XD

#

I have a friend who studing microprocessor or ic engineering.

#

He told me it is similar to a breadboard.

toxic arch
#

breaboard soo good

#

epsically for people who dont know how to solder

wind raptor
#

Hey @terse needle πŸ‘‹

#

<>

main rain
#

hello

#

vc

#

people

wind raptor
main rain
#

hello

#

unlucky

versed tulip
#

Hello Everyone !

#

Just noticed that there's a voice chat happening! Seems like there's some interesting conversation going on

wind raptor
obsidian dragon
wise loom
#

a lot of talk in the VC. too much for me rn.. honestly.

wise loom
analog plaza
#

<@&831776746206265384> can I get a screen share?

#

<@&267628507062992896> can i plz get screen share privileges?

hallow bane
#

Btw, how can I talk in chats?

#

I am constantly muted

#

oh nvm

#

saw the verification chat

#

xD

analog plaza
hallow bane
#

btw are there any frameworks to make Browser Extentions with python?

#

hmm

#

Thats smth I guess

#

xD

#

Just asking

#

ok nice

#

Everything in programming makes me wanna cryπŸ₯²

#

How long do you programm btw?

#

I mean when did you start

#

WHAT

#

yes xD

#

but I am genuinely questioning

#

I know what u mean

#

._.

#

So learning by doing?

#

ok bro

#

But thank you two very much

#

I am decent in Java my Brain achieved a hole other Dimension (OOP)

#

πŸ˜„

#

πŸ˜„

#

:d

#

Java is nice

#

xD

#

xDDDDDDDDDDDDDDD

whole bear
#

Do not use self-bots or user-bots. Each account must be associated with a human, not a bot. Self-bots put strain on Discord’s infrastructure and our ability to run our services.

#

From the beloved Communitiy Guidelines

#

I read the Community Guidelines every day, right next to my Bible

shadow pivot
#

πŸ˜„ hahaha

hallow bane
#

okidoki

wise loom
#

@shadow pivot hey, how's your progress? which books/articles, what concepts are you covering lately?

shadow pivot
#

well i tried to figure out abot that articles

#

but im more likely on my udemy educations atm

#

like data analysing and machine learning

shadow pivot
#

are they created by ai totally ?=

wise loom
wise loom
shadow pivot
#

im also going my physical course, the last practise was i've done is about api's

#

having fun with some libraries

#

background remover, translater

wise loom
shadow pivot
#

what do you mean with computer vision

#

I mean those arent part of a big project

#

just learning 😦

wise loom
#

ah okay

shadow pivot
#

so are you doing any project except job

#

do you have time for it

desert wolf
analog plaza
#

i got to head out guys - talk soon πŸ™‚

shadow pivot
#

@wise loom caould you give me a task

#

@wise loom this way I can see with you what level I am at and how far I have come.

wise loom
#

@shadow pivot what do you want the task to be about?

shadow pivot
#

anything

#

so i can search and report to you

#

doesnt have to be about job

#

just a lil tasks special for me

shadow pivot
#

should i do the same kind of project on my github ?

wise loom
shadow pivot
#

I think i can do this

whole bear
#

hey guys sorry have to do some family stuff. great talking to you, see you soon

viral violet
#

cheers bro

toxic arch
lavish rover
somber heath
#

@vital elm πŸ‘‹

vital elm
sacred crag
#

Can I ask about Codeium vs Github copilot

#

any opinions

lavish rover
somber heath
#

@lavish rover I showed my parents the seam carving and my father remarked, "That's cheating!"

lavish rover
#

Which part does he think is cheating lol πŸ˜…

somber heath
#

Not manually doing it by eye brushstroke by brushstroke?

#

Algorithm over artistry.

rose warren
#

hi

#

i don't have the permission to talk with micro bcz i am new

#

@west lion hi

#

That it's the chat linked with the voice chat?

#

how are you bro ?

#

yeah i am fine

#

Yes, I am a computer engineering student, so I work in software engineering and DevOps, and a bit of data as well.

#

I'm working in data science, and I'm building a machine learning model to predict the results of the World Cup

#

and I' doing an internship with Orange, where I'm working as a data analyst

#

wow That's great!

#

I've seen some projects at Deloitte in the field of LLM, and I've applied to them.

#

i am from morocco

#

and you where are you from ?

#

in affrica

#

in North Africa

#

yeah but in morrocco we have a great project in software

#

but in IA not reallt

#

really

#

yeah yeah you can learn everything from youtube

#

I have a friend who is doing an internship with the World Bank, and he is working on the feasibility of a hyper-scaler coming to Morocco to establish a Cloud region and AI services. We can say that the country is growing.

west lion
#

im happy about it. the world is growing. also scarry too

rose warren
#

it's a low cost cloud backup ??

#

Microsoft in present

#

In the past, I used to hear many IT specialists expressing hatred towards Microsoft because they believed Microsoft was trying to undermine open source

wise loom
royal prawn
#

πŸ‘‹

rose warren
#

hello

woeful salmon
#

!e

import time

def decorator(fn):
    def wrapper():
        print(time.time())
        fn()
        print(time.time())
    return wrapper

@decorator
def say_hello():
    print("hello")

say_hello()
wise cargoBOT
#

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

001 | 1699208832.3434472
002 | hello
003 | 1699208832.3444889
dim abyss
#

waah i have to wait 3 days

#

not what? @woeful salmon

#

isn't discord 13+?

#

oh is it?

#

gotcha

#

GRAAH I can't even stream ;;

#

;;

#

my favorite thing is to vc tho

peak junco
dim abyss
#

no

peak junco
#

sad

dim abyss
#

it tastes awful

#

i don't eat meat

peak junco
#

well, if un-live the hunger

#

worth

dim abyss
#

it smells awful and tastes awful

#

yes

#

meat smells and tastes awful

#

all meatr

#

yes all meat

#

I'm a vegetarian for one reason and one reason alone:

#

it smells and tastes awful

#

i know

peak junco
#

it really depends on the meat

#

I personally dislike very much liver

dim abyss
#

I'm trying to make a quick tkinter editor app for something

#

no

peak junco
dim abyss
#

you click somewhere and drag and you move the nearest point by x value to your mouse y

#

make fake data for rp

#

population data

#

etc

#

yea

peak junco
#

cool stuff

dim abyss
#

any good way to represent a set of graph points?

#

like initial idea is list[tuple[float,float]]

#

but you can have identical x values: [(1.3, 0.2), (9.7, 9.3), (1.3, 0.9)]

wind raptor
dim abyss
#

I'd think that a dict would work, but that doesn't seem good for big graphs

#

dict[float, float]

scarlet halo
#

my post on r/unixporn got deleted cause my neovim config was too default

#

so now it looks like this

#

also dont mind my backgroun

#

it makes random passwords

#

so thats not mine

#

heres the code

#

really simple

#

ive made so many of these

#

well it used to be pretty default

dim abyss
#

pycharm is objectively better for python

scarlet halo
#

like i forgot to actually call the setup function for my installed packages

dim abyss
#

intellij knows how to make ides

#

any good way to represent a set of graph points with non-duplicated x values? just a dict?

peak junco
#

why everyone should use VSCode, you can have pets

#

and play with them

dim abyss
#

why do people use vim...

#

why

scarlet halo
#

how do i make it so that when i do :wq it closes my NvimTree?

karmic obsidian
#

hey hi everyone

#

you should checkout this short video

dim abyss
#

BROOOOOOOOOOO

#

uh

#

intellij idea is free

#

it doesn't have special functions yeah

#

well that's wrong

#

it has like. no features compared to any ide

#

where my clickies

#

no where my buttons

#

i like use mouse

strange turtle
#

what is await in python

scarlet halo
#

my mouse is pretty close

dim abyss
#

You go to a cafe, right? And you make an order. But you're stuck waiting at the front desk and twiddling your thumbs before you get your food/coffee to sit down. With async, it's different. You place your order, they start making it, but instead of waiting at the counter you're given a buzzer. You go find a seat, maybe get out your laptop, start doing some work, etc. When your coffee is ready, the buzzer goes off. This is the 'await' part where your attention switches back to the original task: you go pick up your coffee when it's done.

strange turtle
#

How can I apply await here then??

it says I need to use await for channel.typing, asyncio.sleep and channel.send

class MyClient(discord.Client):

    def run_on_connect(self):
        try:
            global read_value
            while True:
                if debouncer.debounce() and read_value:
                    chat_completion = openai.ChatCompletion.create(
                        model="gpt-3.5-turbo",
                        messages=[],
                        max_tokens=50
                    )

                    message_content = chat_completion["choices"][0]["message"]["content"]
                    message_length = len(message_content)

                    typing_duration = min(message_length * 0.23, 10)
                    time.sleep(random.randint(1, 2))
                    read_value = False
                    channel = self.get_channel(WhitelistedChannelIds[0])
                    channel.typing()  # Simulate typing based on message length
                    asyncio.sleep(typing_duration)
                    channel.send(message_content)
                    read_value = True
        except Exception as e:
            print(f"An exception occurred: {e}")

    async def on_connect(self):
        print('Logged on as', self.user)
        print(self.run_on_connect)
        self.on_connect_thread = threading.Thread(target=self.run_on_connect)
        self.on_connect_thread.run()
        global read_value

peak junco
#

is there any way to increment a value inside a class?
the setattr(self, 'attr', value) overwrite the value

#

I found that I could use other way around like:

def incrementVal(self, key, value):
    self.__dict__[key] += value

but this seems a little... weird way to do that

woeful salmon
shadow pivot
#

is it possible to make an ai designer with python ?

scarlet halo
#

yo

empty leaf
#

hello

stuck furnace
#

Yeah I get that after a long flight.

dusky lynx
#

Hello support,

In Javascript, first I am fetching from b2_authorize account and getting back an authToken and apiUrl, then I am hitting the start_large_file api url and getting back a file_id parameter etc. Next I put the file id parameter into the upload part url as a query parameter along with the b2authAccount api Url that was returned from the initial auth account and it returns "401 bad_auth_token".

stuck furnace
#

@gentle flint didn't they have to create an advertising campaign telling british tourists not to come to amsterdam πŸ˜„

gentle flint
#

yes

#

because they were acting like idiots

stuck furnace
#

Fair enough

gentle flint
#

it's mainly the stag parties etc

main rain
#

h

wise loom
#

@dim abyss @dusky lynx can show you a file storage service for vegetarians, it's called Backblaze

gentle flint
#

the fuck

main rain
#

uh

dim abyss
wise loom
#

I ate a veggie burger once

#

Okay maybe a few times

main rain
#

same

wise loom
main rain
#

no

#

i dont like tgem

toxic arch
#

@tiny mauve hello

shadow pivot
#

veggie burger? is that a real thing

#

heard it first time

#

in my brain burger directly related with meat

tiny mauve
#

How you guys doing ?

tiny mauve
#

like if you add Viggie it's OK

shadow pivot
#

Scikit learn is machine learn lib right ?

#

i must read it very much

toxic arch
#

its like a veggie cake

#

the patty

dim abyss
#

@somber heath Hello.

#

I am being oppressed by the overgods

#

I cannot VC

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.

dim abyss
#

I've dunnit

#

but I'm new

#

Oppression.

#

does it have to be 3 days tho

#

couldn't it be 1

#

you cut out]

#

their jollies lol

somber heath
#

@leaden sonnet πŸ‘‹

leaden sonnet
#

Hey

dim abyss
#

it feels so weird to talk in vc in text

wise loom
#

I write here too.. even if I am in VC

dim abyss
#

mistake?

leaden sonnet
#

What are you doing?

dim abyss
#

i wanna write an app but i dont wanna write it

wise loom
# dim abyss

Only the OP must know how primality of a number is related to proving/disproving RH..

dim abyss
#

HAJHJAHJA

#

i want an app to do something very specific

#

ive never had ribs

#

btw

#

i found someone who really likes rust

wise loom
#

ribs can be p good actually

dim abyss
#

i like it unless im doin some bullshit

vocal basin
leaden sonnet
#

I'm learning python. Do you have any recommendations?

vocal basin
#

!resources <-- stuff to read/watch

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.

vocal basin
#

!kindling <-- stuff to do

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.

leaden sonnet
#

Thanks

somber heath
#

Corey Schafer, YouTuber, Playlist for Python Beginners.

leaden sonnet
#

Thanks

vocal basin
leaden sonnet
#

Thanks. I'm reading some books about programming in general. And data structures

#

Thanks, guys!

vocal basin
#

"better" is too subjective

#

(so, like, what company views as a "better developer" might be different from what the developers themselves see)

#

@dusky lynx transferring files where?

#

or storing?

#

scp is ssh copy

#

(or secure copy, I don't remember how exactly it's intended to deacronym)

#

"secure copy protocol"

static nova
#

!voice

fast rose
#
import random
import sys

while True:
    level = input("Level: ")
    if level.isnumeric():
        level = int(level)
    else:
        continue
    if level < 1:
        continue
    else:
        correct_num = random.randrange(1, level)
        break

while True:
    guess = input("Guess: ")
    if guess.isnumeric():
        guess = int(guess)
    else:
        continue
    if level == 1 and guess == 1:
        print("Just right!")
        break
    if guess > level:
        continue
    else:
        while True:
            if guess < 1:
                continue
            else:
                if guess < correct_num:
                    print("Too small!")
                    break
                elif guess > correct_num:
                    print("Too large!")
                    break
                else:
                    print("Just right!")
                    sys.exit()
somber heath
#

!d random.randint

wise cargoBOT
#

random.randint(a, b)```
Return a random integer *N* such that `a <= N <= b`. Alias for `randrange(a, b+1)`.
somber heath
#

!d random.randrange

wise cargoBOT
#

random.randrange(stop)``````py

random.randrange(start, stop[, step])```
Return a randomly selected element from `range(start, stop, step)`.

This is roughly equivalent to `choice(range(start, stop, step))` but supports arbitrarily large ranges and is optimized for common cases.

The positional argument pattern matches the [`range()`](https://docs.python.org/3/library/stdtypes.html#range) function.

Keyword arguments should not be used because they can be interpreted in unexpected ways. For example `randrange(start=100)` is interpreted as `randrange(0, 100, 1)`.

Changed in version 3.2: [`randrange()`](https://docs.python.org/3/library/random.html#random.randrange) is more sophisticated about producing equally distributed values. Formerly it used a style like `int(random()*n)` which could produce slightly uneven distributions.
wet scroll
#

hi opal :D

vocal basin
# wise cargo

was just looking up whether Rust's equivalent for range has iteration support for custom types

#

(apparently, not on stable version)

#

though I was more interested in whether .. specifically is iterable (as a way to list all instances of a type in order)

#

quite logically, it's not iterable

wet scroll
#

i wish i could have made DAWs

somber heath
#

@sturdy jay πŸ‘‹

vocal basin
#

!e

print(1, end='')
print(2)
wise cargoBOT
#

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

12
vocal basin
#

(doesn't Lemon use some open-source DAW? I don't remember what it's named)

wet scroll
#

uhhhh

#

i just wanna know how to play audio with changed speed nor pitch

vocal basin
#

you can do that with ffmpeg (without a DAW)

wet scroll
#

ffmpeg eh?

#

how do i use it ;-;

vocal basin
#

if I remember argument order correctly, this would do x1.5 speedup

ffmpeg -i input.mp3 -af "atempo=1.5" output.mp3
wet scroll
#

oh

vocal basin
#

I don't remember the name/arguments for pitch filter

wet scroll
#

i dont wanna output it you know

#

i think pydub had some stuff

#

hmmmm

vocal basin
#
ffplay -i input.mp3 -af "atempo=1.5" -nodisp -autoexit
#

(like ffmpeg, but plays to the default audio output)

#

many DAWs use ffmpeg as a library, so familiarity with the filters it has will be useful there

wet scroll
#

does DAW use ffplay?

vocal basin
#

there is a library libavcodec (which is a part of ffmpeg basically)
it provides access to various codecs and sound/video effects

#

I haven't used it so idk the details

#

(of its use as a library; the standalone ffmpeg is what I mostly work with)

wet scroll
#

man

#

this is just complicated

#

what do i use at the end anyways?

vocal basin
wet scroll
#

let me see

vocal basin
#

VST and equivalents is what DAWs normally use

#

because those are oriented towards real-time audio

wet scroll
#

i wanna give up at this point :(

#

this is just hurting my brain

solid perch
#

Oof

vocal basin
#

if you want a static chain of filters without any real-time control, ffmpeg/ffplay is probably the easiest choice

solid perch
#

I'm trying to get verified to speak :'3

#

Sad

solid perch
#

Whatcha doin? Vortex

vocal basin
solid perch
#

I forgot to @ lol

#

Pffff

#

Talking to myself is a talent

#

One sec. Gonna restart discord

#

BRB

#

Now my bt works

#

And nice

#

I plan to do some self learning. Then take the python exam to get certified

wet scroll
#

my brain is starting to collapse

solid perch
#

I ain't paying my life away for classes

#

Bless u

#

Yw

vocal basin
solid perch
#

An official python exam yeah

#

I think I can find it for u

vocal basin
#

by which organisation?

solid perch
#

From the official python site. You have to take 2 of its courses. Entirely free to learn

#

Costs money to take the exams tho

#

Lemme check for u

#

There

#

Python institute

#

πŸ˜›

vocal basin
#

no, that's not official python website

solid perch
#

Yee

wet scroll
solid perch
#

There's other sites that do give the official cert for it. That's one of them that ik ofq

#

You can even apply for an entry level certification

vocal basin
solid perch
#

I signed up for free python learning

#

I don't even have a computer...

#

TwT

#

Alright. Have a gn

#

Nah u gud

vocal basin
#

I looked up, they're sponsoring PSF

fast rose
wet scroll
#

i guess its only us now

#

so uh

#

where do i check

#

on this ardour thing

#

hello?

vocal basin
vocal basin
wet scroll
#

idk where to look

#

in the source code

vocal basin
#

I don't know well either
it's a very large project

wet scroll
#

not just python

gentle flint
wise loom
#

what are you guise doing

somber heath
#

@upbeat chasm πŸ‘‹

upbeat chasm
#

hi, alright one moment lemme try unmute my mic

#

yea...

#

by the way

#

how familiar are u with python?

#

as in pandas

#

cause i've been stuck on a problem for start_increment for like 2 days now

#

oh alright...

#

oooh aight

#

I see...
ok

#

ok so my current problem is
lemme send my code first

somber heath
#

!code

wise cargoBOT
#
Formatting code on discord

Here's how to format Python code on Discord:

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

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

For long code samples, you can use our pastebin.

upbeat chasm
#

yea i'll do pastebin then\

#

these are my files:

#

I see

#

Yea but the problem is

#

yea no worries

#

notice how the end index is supposed to follow directly after where it ends off

#

so basically 499200 + 128 = 499328

#

yet for some odd reason it jumps to 503168

#

yea

#

thats how i check

#

oh my bad

#

Ok so basically

#

alright...

#

tbh my problem is more of preprocessing

#

the data for

#

machine learning

#

but yea thanks anyway

#

yea

#

Ok uh

#

lemme try agai

#

1st pic:

#

second pic:

#

third pic:

#

yea

#

yea so every dataframe has 30 seconds minimum

#

other than those lesser than durations of 30

#

but for some reason the 503168

#

how it arrived to that result is 131 x 3840 + 128

#

which doesnt match the start index at all

#

so now im lost

#

well im not very advanced in python

#

tbh

#

but regarding the requirements

#

they all have to be broken up into intervals of 30 seconds each

#

then for the leftover data which is
if remainder > 1:
which would be from duration%30
increment the start index by that value returned