#voice-chat-text-0

1 messages ยท Page 395 of 1

vocal basin
unreal thicket
vocal basin
#

Onion: trump signs bible
meanwhile reality right after: pastor promotes trump coin

I think Onion's story look more sane

#

they really need to catch up with their coverage

short owl
#

well accounting firm has confidential info - you have to be the guardian because many bizz peeples are slack in a most unforgivable way , you must change your net passwords immedietly @rugged root

vocal basin
#

@rugged root helps to calm down not progress ig

#

well, didn't help Matt Mullenweg with either

rugged root
#

Encouraging

short owl
#

owee , metal filings , not good for pooters either @gentle flint

#

use canned air outside - since metal filings know how to fly through the air with the greatest of ease

rugged root
#

Oh, I have to mention this

#

The name of the person who did this and doubled down on "it wasn't labled properly"?

#

Her name is Karen

#

I she is her namesake

short owl
#

ooooof , Kareeen

vocal basin
#

speaking of power supplies,
I recently considered buying an UPS for the PC

#

the conclusion was "too loud, too heavy, too expensive"

#

I think for both big computers and everything else (1~2kW power) it's somewhere around 10~20kg

short owl
#

UPS protects your machine from brown outs and other mayhem @vocal basin

vocal basin
#

@rugged root I literally didn't hear it
it cut out on plome's phrase

#

they all have some amount of noise

#

just low frequency

short owl
#

mine are silent , I know there worth the hard way ( UPS )

rugged root
#

They are heavy as sin, though

#

That's for sure

short owl
#

fits in a back pack - 1000W for 90 minutes

vocal basin
#

okay, looking at cheapest >1500W just to get general characteristics

rugged root
vocal basin
#

40 dB
10 kg
$100

short owl
#

even has a option to tell PC to do a proper shutdown

vocal basin
#

well, 40 dB seems to be the norm

#

I do remember seeing louder ones

#

oh wait I'm filtering it wrong

#

50 dB
25 kg
$300

#

this

vocal basin
vocal basin
gentle flint
short owl
#

early versions of W10 installs , allowed on data sticks for faster setups

vocal basin
#

hyperthreading just lets you not context-switch as much

rugged root
#

One of our folks (Karen) sent our primary internal wifi password to a client for them to log in so they could do some work here or to get some documents. I'm going to be contacting [REDACTED] to see if there's any current procedure for changing our wifi password, as well as sending out an email to clarify which wifi name is for internal use and which one is for guest use.
This is the best I can do. If I say anymore I'm going to get more crabby

vocal basin
#

if your CPU's thread of execution count isn't exactly 1 or 2 times the core count, it might be one of those weird hybrid perf/eco ones

vocal basin
#

encrabify yourself
carcinise yourself

steel shuttle
#

hello

rugged root
#

Yo

rugged root
vocal basin
#

everything becomes a crab

short owl
#

create sacrificial passwords that you can track - just for Mzzzz Karreeen @rugged root

versed heath
vocal basin
#

whereisspace

#

Hypercarcinisation

#

hyperencrabbification

#

@wind raptor pep7

#

for C

#

and, since that'd be C, << would be optimised out there

stuck furnace
vocal basin
#

iF

#

there should be an obnoxious version of camelCase where you're required to alternate each char

rugged root
vocal basin
#

camel_Snake_Case

stuck furnace
#

Nim let's you choose ๐Ÿ˜„

#

Names are case-insensitive and ignore underscores, except for the first character.

rugged root
#

Oh I haaaaaaate that

#

That's bonkers

stuck furnace
#

So, I think the idea is that you can stick to the same convention even if you're using a library that uses a different convention.

#

E.g. logging in python.

stuck furnace
rugged root
#

Fair

vocal basin
#

or "names are case-insensitive (except for the first character) and ignore underscores"?

#

@gentle flint there's a user you might know that claims they've invented both Zig and Zag

#

oh

#

there's some FFI standard

#

I'm trying to remember the name

#

either pyo3 or maturin target it

#

I think the latter

stuck furnace
vocal basin
#
  • KMP, Go, C#
#

using Rust in wherever

unreal thicket
#
GitHub

Swift framework to interact with Python. Contribute to pvieito/PythonKit development by creating an account on GitHub.

GitHub

๐Ÿ’ง A server-side Swift HTTP web framework. Contribute to vapor/vapor development by creating an account on GitHub.

Apple Developer Documentation

Manage your CloudKit containers and databases from JavaScript.

vocal basin
#

binds, not converts

#

UniFFI supports exposing async Rust functions over the FFI. It can convert a Rust Future/async fn to and from foreign native futures (async/await in Python/Swift, suspend fun in Kotlin etc.)

#

suspend fun is funny

#

no fun for a while

#

for async-Rust-Python I'm writing my own bindings

#

because eventfd seems to perform a bit better for my usecase compared to pyo3's experimental builtin

#

ah, they gave up on the idea of such classification when they reached fifth

#

I don't like this category template

#

why is there two??

#

I'm discovering things about this part of Wikipedia I didn't want or need to discover

rugged root
vocal basin
#

that's what event loops use anyway

rugged root
#

And for some reason, when I read fd, all I can think about is Fierce Deity from Majora's Mask

vocal basin
#

when you need to stop epoll "manually"

#

!d asyncio.loop.add_reader

wise cargoBOT
#

loop.add_reader(fd, callback, *args)```
Start monitoring the *fd* file descriptor for read availability and invoke *callback* with the specified arguments once *fd* is available for reading.

Any preexisting callback registered for *fd* is cancelled and replaced by *callback*.
vocal basin
#

first try guess

#

create eventfd on Rust's side, add as a reader on Python side

rugged root
#

Neat

unreal thicket
#

linear algebra:

vocal basin
#

(was away when 4 dimension stuff was mentioned, now back)

#

higher dimension things are taught and user a lot

unreal thicket
vocal basin
#

that's basic computer graphics

#

and basic modern physics

stuck furnace
#

In Scotland they actually start university at 17

vocal basin
#

I dropped out of university at 17, speedrun speedrun speedrun

vocal basin
#

"learn everything" is just a university thing

#

compared to institute

unreal thicket
#
vocal basin
#

@gentle flint our university included English, but that was very much tech-centric in its study material
(just for comparison)

green fable
#

@soft axle hey!

normal geyser
soft axle
normal geyser
#

@smoky delta

#

can tiktok talk to the plane?

#

yo @dusk raven

#

i got a question

dusk raven
#

what question?

dusk raven
normal geyser
unreal thicket
#

sorry guys, ill be back later maybe i just need to focus on coding for a bit so im gonna hop out, my ears are not able to focus on the code all the time.

iron veldt
#

wth is the dbh community in here

dusk raven
chilly wolf
#

jfc

vocal basin
#

it's not really about what the salute was intended to be;
the appeal and what everyone will think is important in this case

smoky delta
vocal basin
#

learn basic geometry ยฏ_(ใƒ„)_/ยฏ

rugged root
#

!tvmute 765580444615573546 1d Do not be disrespectful of others, do not constantly get into arguments, yelling at people saying that they're wrong saying that their opinion is wrong while being offended when other people question your own opinion. If this behavior continues after the mute expires, you will have your voice permissions removed permanently.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @smoky delta until <t:1737573249:f> (1 day).

rugged root
#

My main issue was the constant yelling

#

You cannot seem to control yourself

vocal basin
#

also posting images that literally disprove your point

rugged root
#

If you wish to appeal the infraction, please message the @rapid crown bot

smoky delta
#

Lol okay, no-one cares apart from you lot trying to make something out of nothing, laughable really

rugged root
#

Genuinely don't care. I'm just tired of you being disruptive in chat. And not just in this particular instance

#

This just ended up being the last ounce of patience I have

vocal basin
#

@cloud fulcrum one of the OOP patterns;
very easy to get wrong, avoid it if you don't know enough of OOP yet, unless the usecase absolutely demands it

smoky delta
#

See ya later

peak depot
#

I hope not

woven flare
rugged root
dusk raven
smoky delta
#

He's autistic

#

He probably did it

#

Panicked, did it again

rugged root
#

Have a nice day

smoky delta
#

And went shit I need to explain it off

rugged root
#

Others, please don't add any fuel to the fire

smoky delta
#

It's all accept other beliefs until it isn't your belief

rugged root
#

It has been handled

cloud fulcrum
#

If seed is None, return the RandomState singleton used by np.random.

eager tapir
#

gasolina

vocal basin
#

@dusk raven @cloud fulcrum
if you're getting into OOP patterns, and, more specifically, pythonic OOP @classmethods for creating instances of the classes are quite a good starting point

smoky delta
versed heath
#

@rugged root you alive

cloud fulcrum
peak depot
#

what is that film?

vocal basin
#

actually your method that loads stuff from disk may be better expressed as a classmethod that returns an instace of Self

eager tapir
#

Avatar the Last Airbender

chilly wolf
#

what belief, specifically, are you referring to here? That Elon Musk isn't competent?

cloud fulcrum
#

@peak depot Zoolander

woven flare
wise cargoBOT
#

sklearn/utils/validation.py line 1488

def check_random_state(seed):```
vocal basin
#

and what you currently have as a field would be a parameters class

normal dawn
#

hey @e

smoky delta
#

Seems like projection

chilly wolf
#

I never said anything about beliefs

#

And I'm autistic

eager tapir
#

i believe

woven flare
chilly wolf
#

So that would be a conflict of interest.

smoky delta
#

I know I inferred that

eager tapir
rugged root
#

What's up

#

@chilly wolf @smoky delta Do not continue this, please

versed heath
#

i finally got it installed

rugged root
#

Plese move on to something less confrontational

#

Okay? Okay

chilly wolf
#

I was done

woven flare
#

guys, listen to mr, he just tryin to handle this

chilly wolf
#

Apologies

rugged root
#

I'm just a tired old man

normal dawn
versed heath
#

no youre not an ond man you are a f ing legend

cloud fulcrum
#

np.random.mtrand._rand

rugged root
vocal basin
#

single global instance may also exist without enforcing it

#

random does that

woven flare
#

when you get stucket in a line of code and fall in that bait: just one more pomodoro

#

and spent 10 hours

gentle flint
cloud fulcrum
#
    Returns
    -------
    :class:`numpy:numpy.random.RandomState`
        The random state object based on `seed` parameter.

    Examples
    --------
    >>> from sklearn.utils.validation import check_random_state
    >>> check_random_state(42)
    RandomState(MT19937) at 0x...
    """
    if seed is None or seed is np.random:
        return np.random.mtrand._rand
    if isinstance(seed, numbers.Integral):
        return np.random.RandomState(seed)
    if isinstance(seed, np.random.RandomState):
        return seed
    raise ValueError(
        "%r cannot be used to seed a numpy.random.RandomState instance" % seed
    )


#

if seed is None or seed is np.random:
return np.random.mtrand._rand

balmy slate
#

Hello

peak depot
#

Orko

balmy slate
#

Please I want to read about the bytecode in python

normal dawn
#

what you often listen to(anyone) ?

rugged root
normal dawn
vocal basin
#

speaking of "understanding" "lyrics" in "music",
I recently rediscovered VKVKSP (marrow explosion)

#

truly a cultural phenomenon

gentle flint
vocal basin
gentle flint
#

๐ŸŽธ Elevate your guitar skills with exclusive guitar lessons & tips at http://JustinJohnsonGuitar.com Whether you're picking up a guitar for the first time or looking to master advanced techniques, I'll share with you everything I've learned in my guitar journey ๐ŸŽธ
โ™ ๏ธ Justin Johnson Signature 3-String Shovel Guitars Available Here: https://justinj...

โ–ถ Play video
peak depot
rugged root
#

Sorry, I have to hop off

chilly wolf
#

See ya later!

vocal basin
#

so only half-here

chilly wolf
#

Is it ok to stream just the output from my code? My coding process is embarrassing

vocal basin
#

tetris thing?

chilly wolf
#

Ye

vocal basin
#

!stream 99041425483653120

wise cargoBOT
#

โœ… @chilly wolf can now stream until <t:1737489000:f>.

chilly wolf
#

Oh, thank you!

vocal basin
#

@whole bear look up "everything is priced in" copypasta;
you can't get competitive advantage using others' knowledge

#

also

#

!rule 9

wise cargoBOT
#

9. Do not offer or ask for paid work of any kind.

vocal basin
#

potentially

vocal basin
# wise cargo

(this covers any monetary incentive including shares of profit)

#

rule 5 depends on ToS, I haven't read trading websites' ToS either

#

so not yet clearly rule 5 issue

#

algorithmic trading is a thing

#

you can lose half a billion in 45 minutes

whole bear
vocal basin
gentle flint
normal dawn
gentle flint
whole bear
#

ai based compiler for compiling pseudocode?? Why not happen yet??

vocal basin
#

dreamberd compiler when

whole bear
#

thoughts python?

#

@amber raptor come tell me why im stupid and hate on me for saying something so stupid ^^^

gentle flint
whole bear
#

@nocturne marsh

#

Hi

#

I can help you with crypto

#

@nocturne marsh I have answer to you question

vocal basin
#

salary
formal employment?

whole bear
#

I saw a video

#

exactly about the same problem

#

But it was about russia

#

how he bypassed the ban

#

and used usdt

#

Na

#

exactly

#

they use loophole

#

@nocturne marsh I found it

#

๐Ÿ‘‰ Let our paid partner BetterHelp connect you to a therapist who can support you - all from the comfort of your own home. Visit https://betterhelp.com/realreporter and enjoy a special discount on your first month

In Russia, Visa and MasterCard are useless, SWIFT transfers donโ€™t work, and even U.S. dollars might be rejected. Instead, people rely...

โ–ถ Play video
vocal basin
#

(crypto is not necessary in Russia case; just for extended context of how it's done here)

#

yeah

whole bear
vocal basin
#

ask whoever is expected to send you the money, if that's a company

#

and don't break laws, preferably

whole bear
#

I mean its not easy to do so

#

Nah

vocal basin
#

it's either the company or you that has to pay taxes at some point

whole bear
#

But its not eassy to do so in russia

#

yes but this video will work for you

vocal basin
#

do not commit tax fraud, especially if you're formally employed

whole bear
#

@nocturne marsh What exactly is your problem?

#

Are you unable to withdraw.

#

from wallet?

vocal basin
#

I'm trying to look up regional tax laws

whole bear
#

So does it banned to russia

whole bear
#

skip to crypto part

vocal basin
#

seems like there is indeed an income tax that's expected to be paid by the employee

#

5~15%

whole bear
#

Ah

#

You wanna know how to buy crypto?

#

these are steps tp buy

vocal basin
whole bear
#

I mean if it worked in Russia it should work in Iraq as well !

vocal basin
#

from what I'm reading about the region, cryptocurrencies are not even in grey area, they are very much illegal according to the central bank

#

... but the statement is from 2017, who knows if they've ever backtracked

whole bear
#

I like crypto

#

I hate my useless paper

vocal basin
#

no currency stores value on its own, it's all fundamentally worthless, that's the whole point of money whether digital or physical

#

if it has realistic intrinsic value, it's not currency-for-something exchange, it's barter

#

now back to Russia

whole bear
#

I mean traditional method doesn't work?

nocturne marsh
#

No not at all

vocal basin
#

Russian government, to my knowledge, either never clearly stated any bans of cryptocurrency or backtracked on them

whole bear
#

Here's a thing:
Your client could be in trouble, if its illegal to transfer money to iraq

vocal basin
#

yeah, that too

#

Russia might not even be as strictly excluded from the financial system as Iraq

whole bear
#

@nocturne marsh Which country can send crypto to you?

#

Other than USA

vocal basin
#

Russia is cut from SWIFT, and specific companies are sanctioned,
and blanket-ban restrictions are put on receiving money from Russia instead,
at least from what I've heard and encountered myself

nocturne marsh
#

USA

#

but they have banned almost all of the banks in iraq

whole bear
#

Make sense they did same with russia

nocturne marsh
#

and those that are not banked they take about 7% of your transfer money

#

and sometimes more than that

vocal basin
#

for a while, only select few Russian banks were sanctioned

whole bear
#

Big deal for you?

vocal basin
#

only 7% on the whole income?

nocturne marsh
#

for me that 7% is a big deal first and sometimes the wire transfer will be rejected

#

and it takes weeks

whole bear
#

Damn if you where in my country you won't mind 7%

vocal basin
#

in Russia domestically it's 13% regardless of however little you get

nocturne marsh
#

so they need to send it again if the money was rejected, so another 7% will go

vocal basin
somber heath
#

@south flicker ๐Ÿ‘‹

vocal basin
#

someone at some point of architecturing that did something very wrong

whole bear
#

And then ask them remaining amount

nocturne marsh
#

but we don't know if the money will be rejected or not

somber heath
#

@scenic nova ๐Ÿ‘‹

vocal basin
tulip dove
#

Hey guys

somber heath
#

@night grail ๐Ÿ‘‹

amber raptor
whole bear
#

I like meme coins

#

Bunch of fool making me rich

vocal basin
#

put AI onto blockchain, waste compute at scale never seen before

chilly wolf
#

you'd think I was coding a smoothie if you could see my output.

somber heath
#

@solid frigate ๐Ÿ‘‹

vocal basin
#

@somber heath at least the grammar is relatively strict

vocal basin
#

compared to some other natural languages

#

I do that both to Russian and English

#

just preferring to structure grammatically half the time

#

ending up with structure being a mix of the two

#

@copper perch pyinstaller?

#

are you running the .exe form the terminal?

#

run it from the terminal

#

so you can see the error

#

might be missing hidden_imports

#

if pyinstaller is unable to find some compiled libraries which packages bind to, for example

copper perch
#

but some feature are not working

whole bear
#

@copper perch Your accent is heavier then Caseoh

cloud fulcrum
#

xD

whole bear
#

@chilly wolf As crazy as Woman making woman

chilly wolf
#

self reproduction

normal geyser
#

hallo

#

PLEASE BE ABLE TO TALk...

#

NOOOO

normal dawn
#

if nothing goes right @chilly wolf

#

go left.

chilly wolf
#

Been working on this since 8am

chilly wolf
frosty garnet
inland beacon
#

why does it log twice ๐Ÿ˜ญ

inland beacon
main comet
chilly wolf
#

Is there a mod here? I would love to show everyone my finally finished product

chilly wolf
#

lol

inland beacon
#

oom what

RuntimeError: Install Flask with the 'async' extra in order to use async views.
main comet
#

pip install flask[async]

somber heath
#

@carmine abyss ๐Ÿ‘‹

carmine abyss
#

hey

#

u ready?

main comet
#

@hollow helm thix for game idea

somber heath
main comet
#

@hollow helm

carmine abyss
somber heath
carmine abyss
#

so uhh

#

what u wanna teach me abt

somber heath
#

Would you like to come into the voice chat here?

carmine abyss
#

i cant sorry

somber heath
carmine abyss
#

there

normal geyser
#

!usrr

#

i will be here talking at this time

normal geyser
#

@wind raptor

#

hop on VC

sacred lake
#

Hi

#

How did you check number of messages sent?

normal geyser
#

@sacred lake go to #bot-commands and type !user

#

I AM HERE!

#

@chilly wolf

#

@somber heath

#

@tacit crane

storm dock
#

hi connor

#

I am good

#

It was my first coding language

#

This year

#

02 Jan

#

I cant talk , but we can text

normal geyser
#

ok

#

gtg bye

storm dock
round frost
#

Hello

storm dock
round frost
#

Bro tell me any basic project to make cuz im new

#

Hello @tacit crane

#

Im good wby?

storm dock
round frost
#

@tacit crane We have one common friend

#

@tacit craneYeah I joined this server today lol

#

Im trying to learn python yk

#

Okayy

#

Bro ik the basics off python and i want to improve but i dont have any clear roadmap

#

That's why im in this server

#

ty bro

#

I made alot of project by the help of youtube and im still working on one

round frost
storm dock
#

Should also stream your projects to get feedback

round frost
round frost
#

What do you think about this?

#

It is working completely fine with no errors

orchid bluff
# round frost

Looks good , add conditions such if you under-weight you should eat more

round frost
#

bro how can i do that?

#

by making new if else condition?

round frost
#

Should I add new condition or just fix this one

#

Look at this

#

@storm dock What do you think about this?

round frost
#

Hello

somber heath
#

@round frost ๐Ÿ‘‹

round frost
wet scroll
#

hi

round frost
somber heath
#

@daring raptor ๐Ÿ‘‹

wet scroll
#

what are you guys doing?

#

okey

steel shuttle
#

hello

somber heath
#

@pseudo anvil ๐Ÿ‘‹

chilly wolf
wet scroll
#

woah

storm dock
still tide
#

@chilly wolf hi

sacred lake
#

Hi guys!

#

How can I test a code using python compiler in the chat?

#

!e
print("Hello! Is everyone sleeping")

wise cargoBOT
sacred lake
#

!e

n=5

for i in range(n):
print("sleep")

wise cargoBOT
sacred lake
#

!e

n=5

for i in range(n):
print("sleep")

wise cargoBOT
still tide
#

will While True Work

#

!e

n=1

while n<=4:
n=n+1;
print("sleep")

wise cargoBOT
#

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

001 |   File "/home/main.py", line 5
002 |     print("sleep")
003 |                   ^
004 | IndentationError: unindent does not match any outer indentation level
normal dawn
#

!e
for letter in "fake you":
print(letter)

wise cargoBOT
still tide
#

noice

sacred lake
#

hi

#

!e
import numpy as np

array2=np.zeros((4,2))

print(array2)

wise cargoBOT
sacred lake
#

!e
import numpy as np

print(np.random.rand(10,10))

wise cargoBOT
# sacred lake !e import numpy as np print(np.random.rand(10,10))

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

001 | [[0.92276356 0.13713582 0.24154389 0.49245816 0.10878469 0.66386437
002 |   0.26014666 0.25050678 0.39589542 0.96584857]
003 |  [0.72538831 0.27939636 0.28043502 0.57531166 0.54554897 0.58120075
004 |   0.46026623 0.2079054  0.07818846 0.56325987]
005 |  [0.36468341 0.43079435 0.94585499 0.31955667 0.38680412 0.39610648
006 |   0.18029495 0.00924294 0.76578521 0.0536362 ]
007 |  [0.26181626 0.58960526 0.30162671 0.62307383 0.40448003 0.48679745
008 |   0.29934303 0.199548   0.67257403 0.7169676 ]
009 |  [0.14048513 0.65454907 0.78057792 0.48871607 0.93188396 0.61514593
010 |   0.18457226 0.37117145 0.51257615 0.95602533]
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/63MM6JHVFVUSWYOUAIWUQTAAZM

sacred lake
#

!e

def this():
return "I'm this!"

def that():
return "No, I'm that!"

print(this())
print(that())

wise cargoBOT
somber heath
#

#bot-commands ๐Ÿ™‚

sacred lake
serene mural
#

Hello

#

how are you

#

baby

#

yes

#

im baby

#

sexy

somber heath
serene mural
#

im humster

#

combat

#

tap tap humster you know?

#

my name humster

#

combat

somber heath
serene mural
#

omfg

#

tap tap for money

#

fo humster coin

#

do you like python?

somber heath
#

I do enjoy the Python programming language.

serene mural
#

hm

#

what framework do you use most often?

somber heath
#

I find myself playing around with Numpy, mostly.

#

@peak depot Maybe he's really a Korean Starcraft player.

#

kekekeke

serene mural
#

and what do you focus on?

sacred lake
somber heath
#

Texture / Pattern / Fractal generation. Images that look pretty.

#

Specifically not ML/AI/Stable Diffusion

serene mural
#

hm

#

and why python?

#

hes slow

somber heath
#

Focusing on Python's speed is a common mistake that people make.

serene mural
#

mb

somber heath
#

Python is fast. All things being equal, compared to some other compiled languages, it is often slower. Well written Python can be faster than poorly written code in other languages. However, where Python shines is its common use as a wrapper around compiled code.

#

Thus you can have the ease of use of Python's syntax combined with the speed of the compiled stuff.

#

What today takes the most compute?

#

Or a large chunk of it.

#

Aside from bitcoin....

#

AI stuff.

#

ML stuff.

#

Stable diffusion.

#

You know what's underneath pretty much all of that?

#

AI frameworks which...

serene mural
#

python

somber heath
#

Python.

#

Wrapping compiled code.

#

It hasn't been an overly hot day.

#

So saying "Python slow" is an oversimplification and misrepresentation of the actual situation.

#

It's often something said by hotshot C users who think they're God's gift to programming.

serene mural
#

im writing in python

somber heath
#

Python's magical power is friendship. We can work together and get along.

#

Python isn't suited to all applications, there's no argument there.

#

But it's good at a lot of things, too.

serene mural
#

but hes slow (

somber heath
#

See previous argument.

serene mural
#

fast libraries written in other languages, but python itself is slow

somber heath
#

Python isn't slow.

#

Python is fast.

#

It's not as fast as some other languages under equal conditions.

#

See. Previous. Argument.

#

Additionally, optimisations have been and are being implemented as versions are released.

serene mural
#

oke

wise zephyr
#

Ok. My. Bad.

vocal basin
# serene mural but hes slow (

(not stream-style or manually orchestrating epoll) concurrency in Python is more performant than in some other, even AOT-compiled, languages

peak depot
#

wtf?

somber heath
whole bear
somber heath
#

Herery

#

Talk in a bit.

#

Listening for now

#

Ohkloma?

storm dock
#

Busy Voice chat

somber heath
#

@storm dock ๐Ÿ‘‹

#

@obsidian dragon Osyrawr.

obsidian dragon
#

Osyrawr-xd

peak depot
#

Ossi

#

itยดs a finish name

obsidian dragon
#

meaning?

#

I was called Wolffie once

#

almost died

peak depot
#

Osyramosis

upper basin
#

Hembre.

#

Do we have the hemshake gif with a hat and macho mustache?

whole bear
#

do we

wise cargoBOT
#

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

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

dense ibex
#

is 90 degrees c too hot for a cpu?

rugged root
#

The bullshit

wind raptor
#

What CPU did you get?

#

!mute 762458172870361128 1d

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @round hound until <t:1737644014:f> (1 day).

wind raptor
#

!pban 762458172870361128 Ban speedrun perhaps

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @round hound permanently.

dense ibex
twilit comet
#

AMDใฎCPUใง็„ผ่‚‰ใ—ใพใ—ใŸใ€‚ๅŒ—ๆตท้“็”ฃใฎ้ป’ๆฏ›ๅ’Œ็‰›ใงใ™ใ€‚
ใ“ใฎๆ™‚ไปฃใฎCPUใฏ็ฐกๅ˜ใซๆญปใชใชใใฆใ„ใ„ใงใ™ใญใ€‚
ไปŠๅ›žใฎ็„ผ่‚‰ใƒ—ใƒฌใƒผใƒˆใฏPhenom II X4 970 Black Editionใงใ™ใ€‚
ๅ‰ไฝฟใฃใฆใŸPhenom II X4ใฏ็„ผใ‘ๆญปใซใพใ—ใŸใ€‚

CPU็„ผ่‚‰ไปฅๅค–ใซใ‚‚ไฝ•ใ‹ใƒชใ‚ฏใ‚จใ‚นใƒˆใ‚ใ‚Šใพใ—ใŸใ‚‰ใ€ใ‚ณใƒกใƒณใƒˆใ‹ใ‚‰ใฉใ†ใžใ€‚

โ˜†่‡ชไฝœPCใง่‰ฒใ€…้Šใ‚“ใงใพใ™ใ€‚ใ‚ˆใ‚ใ—ใใŠ้ก˜ใ„ใ—ใพใ™๏ผโ˜†

โ˜†My Channelโ˜†
https://www.youtube.com/channel/MerryNightmare7710

โ˜†My Outdoor Channelโ˜†
https://www.youtube.com/channel/UCMmyxmuJBeE49M81EMtPcEA

โ˜†My Twitterโ˜†
ใ€€ht...

โ–ถ Play video
rugged root
tacit crane
rugged root
tacit crane
#
        def detect_file_extension(file_bytes) -> str:
            """Detect the file extension based on the file content"""
            try:
                mime = magic.Magic(mime=True)
                file_type = mime.from_buffer(file_bytes)
                if file_type == "image/jpeg":
                    return ".jpg"
                elif file_type == "image/png":
                    return ".png"
                elif file_type == "image/gif":
                    return ".gif"
                elif file_type == "image/bmp":
                    return ".bmp"
                elif file_type == "video/mp4":
                    return ".mp4"
                elif file_type == "video/x-msvideo":
                    return ".avi"
                elif file_type == "application/zip":
                    return ".zip"
                elif file_type == "application/x-rar-compressed":
                    return ".rar"
                elif file_type == "audio/mpeg":
                    return ".mp3"
                elif file_type == "application/pdf":
                    return ".pdf"
                elif file_type == "text/html":
                    return ".html"
                elif file_type == "application/json":
                    return ".json"
                elif file_type == "application/vnd.ms-excel":
                    return ".xls"
                elif file_type == "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":
                    return ".xlsx"
                elif file_type == "application/vnd.ms-powerpoint":
                    return ".ppt"
                elif file_type == "application/vnd.openxmlformats-officedocument.presentationml.presentation":
                    return ".pptx"
                elif file_type == "application/msword":
                    return ".doc"
                elif file_type == "application/vnd.openxmlformats-officedocument.wordprocessingml.document":
                    return ".docx"
                else:
                    return None
            except ImportError:
                return None```
#

ANY IDEA TO IMPROVE IT?

upper basin
#

Use a dict with lambdas.

#

Lazy evaluated mapping.

tacit crane
#
        mime = magic.Magic(mime=True)

        MIME_TYPE_MAP = {
            "image/jpeg": lambda: ".jpg",
            "image/png": lambda: ".png",
            "image/gif": lambda: ".gif",
            "image/bmp": lambda: ".bmp",
            "video/mp4": lambda: ".mp4",
            "video/x-msvideo": lambda: ".avi",
            "application/zip": lambda: ".zip",
            "application/x-rar-compressed": lambda: ".rar",
            "audio/mpeg": lambda: ".mp3",
            "application/pdf": lambda: ".pdf",
            "text/html": lambda: ".html",
            "application/json": lambda: ".json",
            "application/vnd.ms-excel": lambda: ".xls",
            "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": lambda: ".xlsx",
            "application/vnd.ms-powerpoint": lambda: ".ppt",
            "application/vnd.openxmlformats-officedocument.presentationml.presentation": lambda: ".pptx",
            "application/msword": lambda: ".doc",
            "application/vnd.openxmlformats-officedocument.wordprocessingml.document": lambda: ".docx",
        }

        def detect_file_extension(file_bytes) -> str:
            """
            Detect the file extension based on the file content.
            """
            try:
                file_type = mime.from_buffer(file_bytes)
                return MIME_TYPE_MAP.get(file_type, lambda: None)()
            except ImportError:
                raise RuntimeError("The `magic` library is not installed. Please install it to use this function.")
#

Like This?

rugged root
#

Yeah

#

No no no

#

You don't need the lambda

tacit crane
#

YAH

rugged root
#

return MIME_TYPE_MAP.get(file_type) is sufficient

#

It'll return the value, and by default if .get() can't find it, it returns None

tacit crane
#

I Suddenly Got Dumb

rugged root
#

You don't need lambdas at all with this

tacit crane
#

I KNOW

#

IT WAS COPILOT

rugged root
#

That'll add unnecessary function calls for all of t-

#

See, this is why we don't trust the AI

tacit crane
#

Inline code suggesition

#

i was just pressing tab

wind raptor
#

Remember... you are the pilot

tacit crane
#

Sometimes Becoming the Economy Class Passanger

rugged root
tacit crane
rugged root
#

It's kind of pretty. They look like daisies

#

Or sunflowers

tacit crane
#

RTXXX 200000

vocal basin
#

is minesweeper legalised in Canada?

vocal basin
dense ibex
#

see

#

I aint the only one with a half assed thermal paste solution

vocal basin
dense ibex
#

mine is prob a mix of both tbh

#

I haven't dusted my pc since I replaced my parts a year and a half ago

vocal basin
#

I replaced the CPU and the cooler and now it's at 30~50

vocal basin
#

you need embed not link

vocal basin
#

painful disaster format

storm dock
#

What did the admin say Magey

crimson barn
#

hello!๐Ÿ‘‹

rugged root
#

I'm so very glad it's changed to this:

upper basin
#

Some cyborg shit.

cedar mason
#

A triangle is a polygon with three corners and three sides, one of the basic shapes in geometry. The corners, also called vertices, are zero-dimensional points while the sides connecting them, also called edges, are one-dimensional line segments. A triangle has three internal angles, each one bounded by a pair of adjacent edges; the sum of angle...

upper basin
woven flare
#

illuminati resident evil baby

willow garnet
#

@potent root can u help me plz ?

potent root
willow garnet
potent root
#

u cant talk cuz u need to be here for 3 days

willow garnet
visual snow
#

@potent root or @chilly wolf can anyone help me with yolov8 and pynput

potent root
#

whats the problem

visual snow
#

im trying to create a script when a human is detected on my screen in a screen of 1920x1080 when i hold shift it will lock the ingame cursor on the human but its not working correctly it doesnt lock the ingame reticle on the player only the default windows crosshair im also using yolov8 for human detecton it was made by chatgpt im to stupid to do it myself

storm dock
visual snow
#

@potent root or @chilly wolf

#

@potent root @chilly wolf

vocal basin
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.

last wigeon
#

@vocal basin minesweeper 1v1?

vocal basin
#

hmm
for some reason it's not saving the audio volume on one of the browsers

#

will need to look into that

#

or rather on one of the domains

#

... though that might be just because it was saved before

#

found the bug, recompiling

#

oh, I broke something else

#

great

#

2 more minutes

cinder vale
#

word in greetings.lower() for word in valid_greetings

sacred lake
#

!e
print("Wow! we are discussing Biology here!")

wise cargoBOT
sacred lake
#

I hope the operation went well

peak depot
last wigeon
#

sorry

#

sorry

#

i forgot

#

now?

vocal basin
chilly wolf
#

!paste

wise cargoBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

cloud fulcrum
#

Cython

#

C + Python

#

.pyx

chilly wolf
#

from sklearn.utils import sparsefuncs_fast as sf

cloud fulcrum
sweet inlet
#

scikit-learn

last wigeon
#

@vocal basin gg#

vocal basin
#

finally, a 7

last wigeon
#

alisa do you think I am decent for starting last year

vocal basin
#

yes

last wigeon
#

rip my cookies

vocal basin
#

truly balanced

games played: 42
games won: 42
mines opened: 42
#

(stats are only including games from version 0.1.3 and above)

main comet
inland beacon
#

@main comet i'll join vc if you do!

main comet
normal geyser
#

!paste

wise cargoBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

normal geyser
#

@wind raptor

#

can i screenshare

#

@rugged root can i creenshare

flat hornet
#

hello

#

anybody know how to open a toplevelwindow without a button or something with customtkinter

#

;-;

#

im trying to make a loading screen

cloud fulcrum
#

um

#

my intuition says

#

if you already have code that works with a button

#

find the code that called under the button

#

maybe I am WAAAAAAY oversymplifying

#

but that would be my first guess

flat hornet
#

nah i thought of it

#

but

#

uh

twilit forge
#

hi

#

my code is not running on my terminal

flat hornet
#

its just that when i run my code it take a bit to load up and so i wanted to make a loading screen for

twilit forge
#

how do i fix it

flat hornet
#

uh

#

did you type the name correctly

#

and are you using windows or linux

twilit forge
#

i am using mac

cloud fulcrum
#

@twilit forge I mean this in the kindest way possible but that description can mean 10.000's of things

#

did you homebrew python?

#

its also helpful to. give the error message when asking for help

#

but sorry dude imma boun ce coded 14 hours today

#

aah

flat hornet
#

damn

cloud fulcrum
#

hmmm

#

aah

#

cwd

#

Change Working Directory

#

you are trying to change the working dir

#

on a file

#

file != dir

#

Gonna bounce for real now

flat hornet
#

alright bye

#

@main comet

#

do you know how to open a toplevelwindow without a buttong

twilit forge
flat hornet
#

like a loading screen

twilit forge
#

no

flat hornet
#

connor died

twilit forge
#

damm

#

no one can help me

flat hornet
#

well i dont really know whats going on

#

like

#

i do have a mic but im too scared to speak

#

i dont even speak on games

flat hornet
#

nah im a dude

#

im like 18

#

boutta turn 19 this year

#

calculator

#

the final project

#

connor dead again

#

just make it into 1 line

main comet
flat hornet
#

you got any interesting hobbies

#

that is actually interesting

flat hornet
#

yeah i dont think you can do that

twilit forge
#

i cant even run print ("hello world")

main comet
flat hornet
#

you will need to open the actual file and run it in visual code or use command promt or whatever the equivalent is on mac and type the name of the file with the extension with .py

main comet
flat hornet
#

like cancer

#

hell no

#

i dont even know what half of those are

#

damn

#

you use all of that

#

i beg your pardon

#

not something i was expecting to hear tonigh

#

"those are balls"

#

"where is the shaft"

main comet
#

CFD of a rocket

flat hornet
#

thats looks ridiculous

main comet
flat hornet
#

why do you need to know this

#

also

#

getting back to my toplevelwindow question

#

instead of making a loading screan how can i make my GUI from customtkinter load quicker

#

ah i see

#

i bet you make your GUI using assembly

#

that sounds difficult

#

i see

#

yeah lets not mess with that

#

what would you use instead?

main comet
#

PyQt5

flat hornet
#

ah

#

does it have documentation?

main comet
flat hornet
#

thanks

twilit forge
#

still does not work

flat hornet
#

kinda funny how the documentation looks like from 2000s

flat hornet
twilit forge
#

bro ia m about to go back to pc

#

fuck mac os

flat hornet
#

you might need to look that up on youtube

#

maybe its a OS problem

twilit forge
#

i looked it up on chat gpt

#

and still does not work

flat hornet
#

im more confused now

#

also @main comet i think imma stick to customtkinter

twilit forge
#

anyone wants to buy an m4 max from me

flat hornet
#

its quite for me to undersand and its kinda too late for me too change my code with how close the deadline is

flat hornet
#

i dont think you are allowed to advertise things here

#

be careful the mods dont give you a warning or something

main comet
flat hornet
#

damn

#

a yes or yes situation

#

well imma see if i can get some work done

main comet
#

E

flat hornet
#

is that connor speaking?

#

the story of why USA doesnt use the metric system is kinda funny

#

man thats not how i expected connnors voice to sound like

#

you speaking to me?

#

is this your brother @main comet

#

hahaha

normal geyser
#

ridickulous

flat hornet
#

an interestin fellow

flat hornet
#

alright

#

imma go as well

#

goodnight folks

main comet
round frost
#

HEllo

#

wasup

still tide
#

@scenic nova hi

wind raptor
#

!cban 730132812711198854

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @blazing marlin permanently.

still tide
#

@wind raptor hi

#

@wind raptor Cant talk in mic because ban

#

new so dont know the rule

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.

still tide
#

@wind raptor

#

i was doing some dumb stuff so got ban

#

now asking mod to forgive me an give me

#

around 12 days remaining

#

@wind raptor i am student trying to learn in public and make new connections

#

@wind raptor what about you

#

yes

#

bro i tried to learn it 2 days ago cant even run hello world xd

#

yes

wind raptor
still tide
#

ok noice

#

i was thinking to make ai agents using zig because it fast and robust

#

i have basic knowledge of rust like i can understand the code but cant write complex code

#

my main programming tools i use is python

#

brb 5min

#

@wind raptor like i started learning c and c++ in high school for building 3d printer

#

no i was marlin firmware for 3d printer

#

i was making changes in it to make it compatible with my 3d printer

ornate chasm
#

hello guys, iโ€™m a college student who really sucks at python and i just need like a tutor or something. i try to study on my own but i dont really know how. im currently in Advanced Python Application Class but i dont remember a lot from Python Scripting Class, please help

still tide
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.

still tide
#

i think the tutor channel is missing

torn yarrow
#

Hi

still tide
#

@torn yarrow howdy

#

@wind raptor i was on call cant listen you properly

#

from past 2 years yes

#

i am learning that thing but right now i am an backend dev

#

mainly working in django and rest api

#

it good and easy

#

its make development faster and easy

#

@wind raptor what you do mainly

#

@wind raptor Noice this means you are multi talented

upper basin
#

Hello hello!

still tide
#

@upper basin howdy

#

@carmine tangle i never went to Starbucks

#

i make my coffee thats cheap and healthy

torn yarrow
#

tea>

still tide
#

i like tea too but in morning

#

@wind raptor @somber heath @carmine tangle have you send your project to elon ??

torn yarrow
#

sell the car, maybe?

still tide
#

@wind raptor tell him to show the driver view

#

bye have to goto work

sacred lake
#

Hi Python People

#

All good! What is going on?

#

!e

for i in range(5):
print(i)

wise cargoBOT
wind raptor
#

@upper basin I moved you because there was a lot of robotic sounds coming through your mic.

sacred lake
#

Are there any live coding events to practice leetcode questions?

narrow jewel
#

all good

#

just wanna ask what are good projects to start when learning django or flask?

sacred lake
#

For upskilling and learning with a group of people

wind raptor
#

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

sacred lake
#

Blood test for getting visa?

#

Interesting

#

I need some learning partner to practice python

#

I am between basics to intermediate

#

classes! I have to revise๐Ÿฅน

#

I just remember those diagrams! init and self are only words that I remember

#

what is relation between functions and classes? I remember they have few similarities

#

Nice

#

I assume that these methods are pre created in the python software source code then

#

Nice point

wind raptor
sacred lake
#

I used to dive deep into how data is stored and what happens in the memory and cpu few years back but source code is something which i didn't think of! It is nice to know

#

Disclaimer: My focus is on data analytics using Python! (ML in future)

#

so, I have been focusing on numpy and pandas

#

@wind raptor I work as a data analyst and use sql and powerbi majorly in my day to day job. I am planning to revise and learn python skills related to data analytics and ML

wind raptor
sacred lake
#

Yeah, I need to start using it.

#

How do I find good team/group of people to take part in competition?

wind raptor
sacred lake
#

wow

#

I like professional people

#

That's cool

#

I need to take my breakfast. Bye guys and Thanks for all the suggestions and inputsโœจ

main comet
#

Epoch 30/32, Training Loss: 0.009116, Validation Loss: 0.004099
Epoch 31/32, Training Loss: 0.009268, Validation Loss: 0.004774
Epoch 32/32, Training Loss: 0.008767, Validation Loss: 0.004769

#

thats... thats impressive

cloud fulcrum
#

Does anybody here know how to compile Cython code? I am a pretty stuck and all I can find is the .pyx code. I know I ahve to complie it with a build system btu it just kinda confuses me how and such

main comet
#

pain

still tide
#

@cloud fulcrum no i got banned so cant talk

#

spam

#

yes

cloud fulcrum
#

lemme guess

#

you tried to get voice verf?

still tide
#

yes

cloud fulcrum
#

Yeah, doesn't work that way

#

but hey

still tide
#

i am so stuid

cloud fulcrum
#

myabe its a problem I can help with

#

its ok

#

eveyrone is stupid sometimes

#

I am waiting rn for someone who gets Cython, so I get some tom to help if you want

#

as long as its not super obscure

still tide
#

i have raise an ticket but the mod told me that i can talk after 12 days they cant change the rule for one

cloud fulcrum
#

fair

#

one sec

#

overn

#

oven*

still tide
#

@cloud fulcrum by the way what is cython

cloud fulcrum
#

back

#

Cython is C + Python

#

its hihgly optimized Python

still tide
#

why you need c in python ??

#

ok

cloud fulcrum
#

To manipulate memory

#

for optimalisation

vocal basin
still tide
#

can i make ai agents and web crawlers using this cpython

cloud fulcrum
#

Yeah

#

But you rahter

vocal basin
#

CPython itself is written in C, so that's one of the most natural choices for extension

cloud fulcrum
#

make thos in python

#

and then repalce the computationally intensive parts

still tide
#

that would be realy fast then

cloud fulcrum
#

with Cython

still tide
#

ok thats nice

cloud fulcrum
#

it is, in theory

#

if I can get it to work

#

its part of an open source code base

still tide
#

what are you making with cython

cloud fulcrum
#

I am currently taking some things from for a research project

#

but I CANNOT figure out how to use

vocal basin
#

maybe in your case it could be an appropriate choice too

still tide
#

you can use claude or deepseek for some context

cloud fulcrum
#

@vocal basin I wish I could

#

But I am trying to link this

#

It already exists as is

still tide
#

@whole bear where are you from ind or pak i heard you spoke hindi

#

@cloud fulcrum are you contributing in this project

cloud fulcrum
#

No

#

I want to use a single private function

#

that has some dependencies