#voice-chat-text-0

1 messages ยท Page 154 of 1

open tinsel
#

i just turned it up to 100 percent

#

im deaf now

#

xd

#

its boosted to 100 dB

#

AudioSegment

#

no its from the pydub libray

#
    sound = AudioSegment.from_wav(input_file)
    earrape_sound = sound + gain  
    earrape_sound.export(output_file, format='wav')```
#

python always

#

atleast i woke myself up

#

this would be good to play to scammers

#

get them to put there volume to 100 then blast this

#

nah i just watch alot of scammer payback

#

them fighting scammers

#

if you want i can send you my code

#

for this

#

lemme

#

change smth rq

#
from pydub import AudioSegment


def convert_to_wav(input_file, output_file):
    sound = AudioSegment.from_file(input_file)
    sound.export(output_file, format='wav')


def increase_volume(input_file, output_file, gain):
    sound = AudioSegment.from_wav(input_file)
    earrape_sound = sound + gain  
    earrape_sound.export(output_file, format='wav')


def apply_effects(input_file, output_file):
    sound = AudioSegment.from_wav(input_file)
    reverb_sound = sound.fade_in(1000).fade_out(1000).apply_gain(10)
    delay_duration = 2000  
    delay_sound = AudioSegment.silent(duration=delay_duration)
    earrape_sound = reverb_sound + delay_sound
    earrape_sound.export(output_file, format='wav')


input_file = input(r"Path To The Audio File: ")  #'C:/Users/strik/Coding/Python/audiothing/Aslan_Akhmetov_-_The_Keeper_Ultima_Black_Mesa__Blue_Shift_OST.mp3'
output_file = input(r"Output name for the file Avaiable extensions .mp3 .mp4 .wav You can use any text before these extensions Example Output.wav: ")


convert_to_wav(input_file, output_file)


increase_volume(output_file, output_file, 100)  


apply_effects(output_file, output_file)

free earrape generator use these on the scammers Uses pydub libray. pip install pydub

#

ayyyy

#

flower

#

like my house

#

i need a complex shape to draw

#

like this one?

#

im gonna go make a python script that zips files

#

zipfile i think its called

whole bear
#

@lunar haven huh?

#

what's up?

wind raptor
#

3 1/2 Smyth St.

whole bear
#

Ph?

#

@whole bear

#

Hi

#

just a chat?

#

@lunar haven where r u from?

#

Where are you located at

#

Hiro

#

colombia

#

greetings from LATAM

#

??

#

no idea

#

you bet

#

brb

#

damn, why i'm surpressed?

#

how about video chat?

#

burning here

#

glad raining now

#

aircon is dream

#

what d u think about the future of AI?

willow light
#

strong rotation on this storm

#

yup, definitely a tornado in there

wind raptor
#

@topaz jackal Please chat here

whole bear
#

@wind raptor ye not that active

wind raptor
#

No worries, you'll get there

whole bear
#

ye ill get there by talking here talking to you

#

lol

#

bruh

wind raptor
#

Awe yeah!

whole bear
#

@torn kayak bro voice deep

#

im bored

#
hi```
#
test```
#

hmmm

#
test
#

didnt change color

#

weird

#

lol

topaz jackal
#

damn, my headsets died

#

is it possible to get screensharing perms?

torn kayak
torn kayak
torn kayak
#
(define (merge-helper s1 s2)
  (cond
    ((null? s2) s1)
    ((null? s1) s2)
    (else
     (let ((r1 (car s1))
           (r2 (car s2)))
       (cond
         ((sub-range? r1 r2) (merge-helper (cdr s1) s2))
         ((sub-range? r2 r1) (merge-helper s1 (cdr s2)))
         ((or (overlap? r1 r2) (= (car r1) (add1 (cdr r2))))
          (merge-helper (cons (cons (car r2) (cdr r1)) (cdr s1)) (cdr s2)))
         ((or (overlap? r2 r1) (= (car r2) (add1 (cdr r1))))
          (merge-helper (cdr s1) (cons (cons (car r1) (cdr r2)) (cdr s2))))
         ((< (car r1) (car r2))
          (cons r1 (merge-helper (cdr s1) s2)))
         (else
          (cons r2 (merge-helper s1 (cdr s2)))))))))
thorn raptor
#

nooo im suppressed D:

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.

thorn raptor
#

oh nice

#

yeah i joined about an hour ago

#

shooot i just started learning it

#

welp ill get back to it. ima dip

bright shoal
#

i have a general query
have anyone done python for everyone from coursera if yes does it also provide assignment/practice question
i wanted to join it if they provide practice question

vocal basin
#

if it's just a personal project that no one else depends on, do whatever is easier for you

vocal basin
vocal basin
#

did you use ||heapq library||?

vivid jacinth
#

Maybe less test cases were used back then

vocal basin
#

maybe

#

re-submit now

vivid jacinth
#

Haha

vocal basin
#

it will show the new tiime

vivid jacinth
#

I'm on phone

vocal basin
#

but it will keep the last, I think

vocal basin
vivid jacinth
vocal basin
#

yeah, seems like new tests
and they also removed old solutions from rankings

#

or didn't

#

I can't maths

vivid jacinth
#

Haha

vocal basin
#

there can at most be something like 11 of 100% solutions given 221K accepted

vivid jacinth
#

I don't care much about run time. As long as I solve with the expected time complexity

vocal basin
#

yeah, in reality that's mostly what matters

  • leetcode runtime is extremely random
#

it runs tests once, I think

#

(so it's obviously not a benchmark)

plucky dagger
#

@whole bear

plucky dagger
#

i have a youtube channel it is called Figaruu The Cat

#

can someone sub to it

vocal basin
#

does this qualify as rule 6?
technically, not, I think

plucky dagger
#

no

#

i am pz1

gentle flint
echo garden
#

A quantum computer in the next decade could crack the encryption our society relies on using Shor's Algorithm. Head to https://brilliant.org/veritasium to start your free 30-day trial, and the first 200 people get 20% off an annual premium subscription.

โ–€โ–€โ–€
A huge thank you to those who helped us understand this complex field and ensure we told...

โ–ถ Play video
somber heath
#

Howdy howdy.

#

"Tiger brand coffee, even tigers prefer it to real meat."

rugged root
#

"Tiger brand coffee. They won't even know it's not really gazelle"

somber heath
#

Why are Indians good at realising things?

#

||Because of the Maharajah.||

#

What sort of spider?

#

They're next to harmless.

#

Huntsmen spiders can bite

#

They'll make you ill and give you a rash, but they're generally more averse to people.

#

and are generally good to have around in any case

#

Just not in my room, thank you

somber heath
#

Ha.

rugged root
#

Right?

#

I've made that joke so much

lavish rover
rugged root
somber heath
#

You're just upset I beat you to it.

lavish rover
#

Beating me just because I'm Indian is racist opal

rugged root
#

Dude I'm cry laughing

somber heath
#

I'm a terrible person. I know.

rugged root
#

@whole bear @white oxide Yo

white oxide
#

yo

whole bear
#

@rugged root yeah

#

can i say smth?

echo garden
#

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

whole bear
#

how can i verify my voice?

rugged root
echo garden
#

theres a verification process that all must go through

#

when you enter this server

whole bear
#

i've already wrote 50+ msgs

echo garden
#

then?

#

refresh?

#

go out then back?

rugged root
whole bear
#

ohhh less than 50

#

they say

#

so i will try

#

here

#

50+ msgs

#

ok?

#

did u guys hear me?

#

@rugged root

rugged root
#

I didn't, no

#

Double check your devices in the settings

#

It might be trying to listen to a different one than you think

whole bear
#

oh my

gentle flint
somber heath
#

It makes all the images of blobfish that we see sad.

amber raptor
#

I'm going with no

whole bear
#

looks like test is goin' om Live-Coding

somber heath
#

It was such a flash in the pan.

dry jasper
rugged root
#

Okay, be honest

#

How many of the shots off the target did you do

dry jasper
#

i think between 3 and 5

rugged root
#

First time out?

dry jasper
#

nope

#

first time "big caliber training"

rugged root
#

Fair

#

Yeah that's understandable then

dry jasper
#

after 1 year of shooting i am can unlock the big caliber stuff but for it i have to redo some training with my shooting instructor

gentle flint
dry jasper
#

lol

#

letterlijk

gentle flint
#

sv Drachten he

dry jasper
#

LOL

#

hoe weet je dat

#

?!?!?!

gentle flint
#

staat op de doos

dry jasper
#

ahhh

#

damn

#

xD

#

dacht je schiet daar ook

gentle flint
#

links met elektra

rugged root
#

I will end you both

gentle flint
#

no I'm in Amsterdam

gentle flint
dry jasper
#

i dont undertand you

gentle flint
#

why've you got the motto of gouda as your about me?

#

per aspera ad astra

dry jasper
#

i did not know that it was from that city

gentle flint
#

maybe it's associated with others as well

#

that's just where I know it from

somber heath
#

Firearmerica, fuck yeah!

#

I made myself sad.

rugged root
wind raptor
#

Hey hey ๐Ÿ™‚

somber heath
#

"You have reached your final destination."

#

I've not seen it.

#

Any of them.

#

I am very confused.

#

I could while away the hours...

rugged root
#

๐ŸŽถ I could drink away the hours with a glass of whiskey sours if I only had a grain ๐ŸŽถ

orchid mauve
somber heath
#

Could you gravity siphon it? @gentle flint

#

Drill pump?

#

Electril drill-driven pump.

#

Two hoses, attach both to the pump, insert drill, wheeldlewheeldlewhee.

#

Do you suppose there are girlers?

#

Shit wifi, plome.

#

When we changed our hot water service, the sercviceman drained it before taking it away.

Brownest shit, ever.

#

@lucid blade Why the disparity?

stuck furnace
#

๐Ÿ‘€

somber heath
#

Fun maybe. Some things you laugh about afterwards, some times there is no after. @lucid blade

lucid blade
somber heath
#

Twisted and evil.

#

Yes.

#

It is weird.

#

What's the etymology?

lucid blade
#

lol

somber heath
#

KYM claims the origin is unclear.

rugged root
#

Sounds right

somber heath
#

@rugged root I smiled

#

Overdraining can be damaging, too.

rugged root
#

Keeping between 80% and 20% is the ideal

somber heath
#

@uncut meteor

uncut meteor
#

v good

somber heath
lucid blade
#

On this September 18th, 1989 episode of The Krypton Factor with Gordon Burns, it's the third and final heat of Group A as Andy, Annemarie, Albert and Jane attempt to prove their physical and mental worths to advance to next week's Group A final with Mike Berry, Den Hewitt, and the highest-scoring runner-up in the Group, and the score at present ...

โ–ถ Play video
swift valley
#

g'evening

#

I can hear the fans spinning rikaXD

#

true

#

Speaking of, Macbook Airs

#

M2 is pretty great

#

piezo electric fans, right?

rugged root
#

@lucid blade So dumb

#

Dude come on

#

So dumb

#

I shouldn't be smiling

swift valley
#

Wednesday midnight heheDog

#

WSL has been treating me well for months

rugged root
#

pacman -Syu

lucid blade
#
rugged root
swift valley
#

Tangential, but I bought an e-Ink screen

#

...but I can't find a raspberry pi for it

rugged root
#

Oooooo

#

Wait really?

swift valley
#

This one

#

It's amazing

rugged root
#

Oh as in rpi's are still hard to come by

swift valley
#

Especially here, where there's zero distributors

rugged root
#

I thought you meant there wasn't one compat- holy shit that's gorgeous

rugged root
#

So good

lucid blade
rugged root
#

@topaz jackal You have so much background noise

swift valley
#

cooking food

topaz jackal
#

i have loud keys

rugged root
#

Just mute when you're not talking

#

Or turn on Krisp

lucid blade
wind raptor
#

I love deluge

somber heath
#

@rugged root ๐Ÿง 

vocal basin
#

@rugged root
there's something else happening now, iirc

#

their policy is:
do not make it look like Rust Foundation endorses what you're doing

rugged root
#

That's right

lucid blade
#

yes but the rust foundation should then be separate from the language

vocal basin
#

@whole bear there is no clear line and there can never be one.

#

something like redis-rs is widely recognised as non-violation

#

rust-lang-official/redis -- "likely" not

gentle flint
vocal basin
#

where?

#

ah

#

n

#

suffix

#

?

rugged root
vocal basin
#

yes

rugged root
#

You folks remember when memes were just cats speaking weirdly?

vocal basin
#

@rugged root maybe the "meme" thing because of Rust Community discord?

rugged root
#

I guess?

vocal basin
#

for bootstrapping without existing Rust compiler

#

I think

vocal basin
#

CSV is good if used correctly

#

but some systems ser them without escaping

#

like
\n in a middle of a field

rugged root
#

Yep, gotta love those

vocal basin
#

so it ends up being two row

#

s

#

we were learning CSV in school
and by "learning CSV" I mean learning how broken CSV files can be

rugged root
#

Yarp

vocal basin
#

also we weren't given files themselves, iirc, but rather where to look for them and the (approximatre) name of the file

#

with downloading the file from the government website as part of the exercise

#

we were expected to manually download
but the teacher downloaded it using a webscraper

#

I have no clue

orchid mauve
vocal basin
#

I had to install Jupyter too much

#

use docker

#

well, okay, then just install in venv using pip

rugged root
#

py -m pip install jupyterlab Just to make sure you're installing to the most recent version

vocal basin
#

venv

#

if you have one already

#

conda?

#

conda is ew
but maybe excusable

#

there is miniconda

#

lightweight
you have nothing pre-built

#

I think Python containers said something about "alpine not best to use here"

#

not sure

#

*images

#

okay, I'm confusing it with something else

#

there was something that explicitly decided "no more alpine" but I don't remember what

rugged root
#

A unique multiplayer game built on a free Web API. The best sandbox platform to learn a new skill or apply your knowledge in a fun and meaningful way. Use any programming language with our RESTful API to control the most powerful fleet in universe.

vocal basin
rugged root
#

Why 3 r's

vocal basin
#

or I just, like
made it work
though "it works"
deleted

vocal basin
rugged root
#

Fair enough

somber heath
#

You can only take off so many layers of skin?

vocal basin
#

no I'm not

#

I opened ed, like, twice

somber heath
#

"The computer forgot my password."

#

Wilburrr!

vocal basin
dapper mist
#

What is the name of the trading sim game?

vocal basin
#

"Factorio is environmentalist propaganda"

rugged root
#

HA

dapper mist
#

Factorio is labelled as a Management Sim

vocal basin
#

it's been >20 years since EVE released

dapper mist
#

Supply chain

#

Isnt it?

rugged root
#

Oh

#

My god

vocal basin
#

you don't need any conspiracies to subvert the world
you can just be Oracle

#

they don't need to understand anything to do this

#

"lawnmover can't understand"

dapper mist
rugged root
#

Oooooo

#

Bookmarking this

vocal basin
dapper mist
#

I actually noticed one of his streams! But I have actually played this game before watching the video.

vocal basin
#

one of the steps of Vim tutorial involves deleting the word "fun"

vocal basin
lucid blade
#

Hartford Limited Apparel is still available!!!
WWW.HARTFORDLTD.COM

IF YOU WANT TO SUPPORT AND HELP ME CONTINUE WITH ALL THIS CRAZY CONTENT: Subscribe to my Patreon!
https://www.patreon.com/emeliahartfordโ€‹โ€‹

โ™ฅ ECREW
What is Ecrew? When I had to uproot and move to Indiana, there was a car community called Bcrew (B for Bloomington, Indiana). These...

โ–ถ Play video
vocal basin
#

@whole bear was trying to find it, failed so far

somber heath
#

If cleanliness is next to godliness, does that mean non-cleanliness occupies the same position as godliness?

#

I suppose you could have cleanliness in two positions.

vocal basin
scarlet halo
#

lets goo i can type here

vocal basin
#

I'm not even sure if it's legitimate

#

this looks sus

dapper mist
#

@midnight agate Lexicographically lesser than the target would mean you may want to compare the ascii codes, no?

#

I don;t think they mean length

vocal basin
#

though I don't understand why index

dapper mist
#

Is there a link where I can read the full problem? I do not have a leetcode account

vocal basin
dapper mist
#

Thanks

vocal basin
#

@midnight agate min can't start with letters[0]:
it can be smaller than target

dapper mist
vocal basin
dapper mist
vocal basin
#

not related to current issue

vocal basin
#
from __future__ import barry_as_FLUFL
print(1 <> 2)
dapper mist
#

Well true, but the example in the question is a good indicator. C is considered greater in the question

vocal basin
#

doesnt' work in !e

#

*n't

dapper mist
#

@vocal basin did not know this one

vocal basin
dapper mist
vocal basin
#

but it doesn't work with !e

#

!e

from __future__ import barry_as_FLUFL
print(1 <> 2)
wise cargoBOT
#

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

001 |   File "/home/main.py", line 2
002 |     print(1 <> 2)
003 |             ^^
004 | SyntaxError: invalid syntax
lucid blade
vocal basin
#

ah, it's non-decreasing

#

yes, that exists

#

it auto-imports

dapper mist
vocal basin
#

&pep 9001

potent carbonBOT
#
**PEP 9001 - The Final Style Guide for Python Code**
Status

Provisional

Created

01-Apr-2022

Type

Standards Track

dapper mist
#

OK, Maybe quirky is what I meant. Consider this a rephrase!

vocal basin
#

if politicians are corrupt enough, anything can get into government, even AI

dapper mist
#

People at the top do not want this. They will never let AI become that ubiquitous

vocal basin
#

if they own shares in AI companies, they want it, very much

dapper mist
#

We were talking about something similar yesterday. Forget about running nations, Company owners will not let AI into the company policy making or decision making, because they ultimately fear that they will become obsolete.

vocal basin
#

whether or not AI is good at it doesn't matter at all

dapper mist
#

That is why you will only see articles on why AI will take up jobs, always about working class

vocal basin
#

if someone in a position of power can profit from it being integrated, it eventually will be

dapper mist
#

There is just one article I remember that talked about an AI that was acting as CEO.

#

but that is also pushed down and long forgotten

#

Humans are irrational, they will always also want control apart from profiteering

vocal basin
#

@midnight agate
||```py
from bisect import bisect_right

class Solution:
def nextGreatestLetter(self, letters: List[str], target: str) -> str:
return letters[bisect_right(letters, target) % len(letters)]

#

another for nextGreatestLetter

#

"sentient" is a meaningless word

#

@lucid blade self-awareness is not sentience.

#

unless you're in science fiction and you can't be bothered to use words correctly

#

there's an "or" there

#

well, yes, if you don't differentiate those words, then argument based on them is useless

#

only 4 entries

#

so, tip for confusing readers:
use all those words interchangeably

#

as much as possible

#
      1
null      2
        3
#

by levels:
1
null 2
3

gives 1 null 2 3

#

full would be
1 null 2 3 null null null

#

||```py
class Solution:
def minimumOperations(self, nums: List[int]) -> int:
return len(set(filter(bool, nums)))

#

read level by level

#

less ugly lines

#

1
null 2
3 null
null null

#

all last nulls are cut off

lucid blade
vocal basin
#

this would be
1 null 2 null 3

lucid blade
#

Rensselaer County Supreme Court.

vocal basin
#

last syllable stressed

#

or

#

second-to last

#

i

#

idk

#

ren
seh
lye

I can't find a word with a pronunciation that matches the last syllable (or last two)

#

because it's lieh not lie

#

or something

vocal basin
#

allegedly

#

like, one of the worst choices

#

VS for Python is worse than VS Code

#

maybe it's better for making C Extensions

#

because compiled

#

and stuff

#

they have Vim plugin anyway

#

both

#

"ed is a very efficient code editor"

#

waiting for an ed plugin for VS Code

#

!d typing.Callable

wise cargoBOT
#

typing.Callable```
Deprecated alias to [`collections.abc.Callable`](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable "collections.abc.Callable").

`Callable[[int], str]` signifies a function that takes a single parameter of type [`int`](https://docs.python.org/3/library/functions.html#int "int") and returns a [`str`](https://docs.python.org/3/library/stdtypes.html#str "str").

The subscription syntax must always be used with exactly two values: the argument list and the return type. The argument list must be a list of types, a [`ParamSpec`](https://docs.python.org/3/library/typing.html#typing.ParamSpec "typing.ParamSpec"), [`Concatenate`](https://docs.python.org/3/library/typing.html#typing.Concatenate "typing.Concatenate"), or an ellipsis. The return type must be a single type.

There is no syntax to indicate optional or keyword arguments; such function types are rarely used as callback types. `Callable[..., ReturnType]` (literal ellipsis) can be used to type hint a callable taking any number of arguments and returning `ReturnType`. A plain [`Callable`](https://docs.python.org/3/library/typing.html#typing.Callable "typing.Callable") is equivalent to `Callable[..., Any]`, and in turn to [`collections.abc.Callable`](https://docs.python.org/3/library/collections.abc.html#collections.abc.Callable "collections.abc.Callable").
vocal basin
#

this

#

since 3.11 there is also improved support for args/kwargs annotations

#

!d typing.TypeVarTuple

wise cargoBOT
#

class typing.TypeVarTuple(name)```
Type variable tuple. A specialized form of [`type variable`](https://docs.python.org/3/library/typing.html#typing.TypeVar "typing.TypeVar") that enables *variadic* generics.

Usage:

```py
T = TypeVar("T")
Ts = TypeVarTuple("Ts")

def move_first_element_to_last(tup: tuple[T, *Ts]) -> tuple[*Ts, T]:
    return (*tup[1:], tup[0])
```  A normal type variable enables parameterization with a single type. A type variable tuple, in contrast, allows parameterization with an *arbitrary* number of types by acting like an *arbitrary* number of type variables wrapped in a tuple. For example:
vocal basin
#

you can specify covariance

#

for typevars

#

this is valid:

def example(f: Callable[[int], None]):
    f(True)
#

fundamentally, if the function "accepts" int, it also accepts all derived classes

#

including bool

rugged root
vocal basin
#

the issue is when you want to cast Callable[[bool], None] to Callable[[int], None]

visual ruin
#

    def action(self, *, name: str = "", title: str = "", inputs: Sequence[Input] = tuple()):
        """Decorator to add an action."""

        def decorator(handler: ActionHandler):
            return self.add(
                handler=handler,
                name=name,
                title=title,
                inputs=inputs,
            )

        return decorator

#

HandlerInput = MutableMapping[str, Any]
ActionHandler = Callable[[HandlerInput], Awaitable[Any]]
vocal basin
#

3.10

#

because no need to extend syntax

#

try-import

#

though

#

no

#

that breaks

#

there is typing_extensions

#

but that's a dependency

#

(and doesn't give the new syntax, obviously)

#

__future__-annotations is postponed evaluation

rugged root
#

!stream 710569497081151590

wise cargoBOT
#

โœ… @visual ruin can now stream until <t:1687894788:f>.

cinder dawn
#

he

#

gofek what do i eat

#

NO MORE BREAD

visual ruin
rugged root
#

!stream 710569497081151590

wise cargoBOT
#

โœ… @visual ruin can now stream until <t:1687895368:f>.

cinder dawn
#

what are u doing gofek

vocal basin
#

profile shows relative numbers

#

(percentage)

#

moving that towards balance might be an option

#

@uncut meteor contravariant is usual for function parameters

#

U -> V is covariant over V and contravariant over U

rugged root
#

!d typing.NewType

wise cargoBOT
#

class typing.NewType(name, tp)```
Helper class to create low-overhead [distinct types](https://docs.python.org/3/library/typing.html#distinct).

A `NewType` is considered a distinct type by a typechecker. At runtime, however, calling a `NewType` returns its argument unchanged.

Usage:

```py
UserId = NewType('UserId', int)  # Declare the NewType "UserId"
first_user = UserId(1)  # "UserId" returns the argument unchanged at runtime
vocal basin
#

I almost totally don't understand what the problem is
too complex for me

#

@visual ruin did you try with contravariant?

#

I might've missed

#

okay

visual ruin
vocal basin
#

I can't even spell words
(that was supposed to be "don't")

vocal basin
#

you can't generically upcast the thing from "it takes a specific" to "it takes any model"

#

so, yes, there needs to be a type guard of some sort

#

and

#

you'd actually not store it as callable that takes models

#

you'd generate a request handler or something similar

#

that takes the request in its most generic, not yet parsed form

#

and does whatever it wants to

#

and the decorator is just a way to generate that

uncut meteor
#
from typing import Callable, TypeVar

class Base: ...

B = TypeVar("B", bound=Base, covariant=True)

class Sub(Base): ...


def wrap(name: str) -> Callable[[Callable[[B], None]], None]:
    
    def inner(f: Callable[[B], None]) -> None:
        ...
        
    return inner
    
    
@wrap(name="Hello")
def test(x: Sub) -> None:
    print("A")
vocal basin
#

ellipsis works in tuples

#

this looks wrong

#

like
it still thinks it's (function)

#

but it understand it's likely to be None

uncut meteor
vocal basin
visual ruin
#

covariant means that subclasses of types are compatible with parent classes, e.g. Dog can be assigned to Animal

vocal basin
#

I know what co/contra means

#

just specifically this example

visual ruin
#

mb

vocal basin
#

wrap and wrap(name) are covariant over B the way B is defined there, I think

#
def okay(f: Callable[[Callable[[bool], None]], None]) -> Callable[[Callable[[int], None]], None]:
    return f


def wrong(f: Callable[[Callable[[int], None]], None]) -> Callable[[Callable[[bool], None]], None]:
    return f
#

if you have variadic arguments and are pulling types out of annotations, might as well just give up on typing

#

(on typing for the decorator)

#

doesn't FastAPI just "take whatever"?

#
DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
#

literally anything

#

and FastAPI.get returns Callable[[DecoratedCallable], DecoratedCallable]

#

ughh, also about auto-generated types

#

I think I have some Rust logs saved

#

because of rust-analyzer dumping all the types it can't fit in the output into logs

#

and by "not being able to show the type because it's too long", you can imagine what happens

rugged root
#

!d typing.Protocol

wise cargoBOT
#

class typing.Protocol(Generic)```
Base class for protocol classes.

Protocol classes are defined like this:

```py
class Proto(Protocol):
    def meth(self) -> int:
        ...
```  Such classes are primarily used with static type checkers that recognize structural subtyping (static duck-typing), for example...
whole bear
#

!d list

wise cargoBOT
#

class list([iterable])```
Lists may be constructed in several ways:

โ€ข Using a pair of square brackets to denote the empty list: `[]`

โ€ข Using square brackets, separating items with commas: `[a]`, `[a, b, c]`

โ€ข Using a list comprehension: `[x for x in iterable]`

โ€ข Using the type constructor: `list()` or `list(iterable)`...
vocal basin
#

the longest type is 1216, but that might've been on purpose

#

I hope

#

Pyright has some issues, yes

#

at least tuple covariance/contravariance isn't broken now

rugged root
#

As in 1216 characters in the name?

vocal basin
#

longest that's not on purpose was 669

#
<<<Ctx as rcore::Context<'a>>::Fallible as func::MonadFailAny<'a>>::W<rcore::resolution::ResolutionError<<Ctx as rcore::Context<'a>>::LookupError, rstd::collections::avl::bounds::BoundError<A, <<A as rcore::Mentionable<'a, Ctx>>::Fctr as rcore::Factory<'a, Ctx>>::ParseError>>> as func::WeakFunctor<'_>>::F<<<<Ctx as rcore::Context<'a>>::Fallible as func::MonadFailAny<'a>>::W<rcore::resolution::ResolutionError<<Ctx as rcore::Context<'a>>::LookupError, rstd::collections::avl::bounds::BoundError<A, <<A as rcore::Mentionable<'a, Ctx>>::Fctr as rcore::Factory<'a, Ctx>>::ParseError>>> as func::WeakFunctor<'_>>::F<rstd::collections::avl::bounds::BoundTree<'a, Ctx, A>>>
#

dumb names

#

just get rid of Pyright

rugged root
#

Alternative?

vocal basin
#

still the best language server I know

#

wouldn't switch to PyCharm's

#

idk what VS proper uses

rugged root
#

That's.... a good question

#

Would assume something based off their Pyright/Pylance stuff

vocal basin
#

the second one is the VS's own thing

#

if python and typing were to mix, would it be pyping or tython?

rugged root
#

@lunar haven Whatcha workin' on?

vocal basin
#

is stream dead? (gofek's)

#

ugh

rugged root
#

@strong linden What's your question?

vocal basin
#

if it's either something that takes int or something that takes str, then it's not something that takes int|str

#

that's why typevar restriction

#

but typevar isn't powerful enough, because variadic

#

at Py 3.8 you're just stuck at Callable[...,]

strong linden
#

why it gives 0 AA 1 BB 2 CC as a result ? Why paramater " i " takes the index number of the tuple and X gets the content of it ?

vocal basin
#

!d enumerate

wise cargoBOT
#

enumerate(iterable, start=0)```
Return an enumerate object. *iterable* must be a sequence, an [iterator](https://docs.python.org/3/glossary.html#term-iterator), or some other object which supports iteration. The [`__next__()`](https://docs.python.org/3/library/stdtypes.html#iterator.__next__ "iterator.__next__") method of the iterator returned by [`enumerate()`](https://docs.python.org/3/library/functions.html#enumerate "enumerate") returns a tuple containing a count (from *start* which defaults to 0) and the values obtained from iterating over *iterable*.

```py
>>> seasons = ['Spring', 'Summer', 'Fall', 'Winter']
>>> list(enumerate(seasons))
[(0, 'Spring'), (1, 'Summer'), (2, 'Fall'), (3, 'Winter')]
>>> list(enumerate(seasons, start=1))
[(1, 'Spring'), (2, 'Summer'), (3, 'Fall'), (4, 'Winter')]
```  Equivalent to...
vocal basin
#

i being the index is the purpose of enumerate

#

!e

print(list(enumerate(['A', 'B', 'C'])))
wise cargoBOT
#

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

[(0, 'A'), (1, 'B'), (2, 'C')]
cinder dawn
#

damn leetcode makes me feel like i know nothing

strong linden
#

ty alisa

cinder dawn
#

๐Ÿ˜Ž

vocal basin
#

yes, check the like-dislike ratio

cinder dawn
#

whats it so bad lol

vocal basin
#

the actual challenge is to solve it in something like C++

visual ruin
#

i'll be right back if Mr. Hemlock asks, not going deafened because my stream will drop again

vocal basin
#

where tolower is defined for characters not strings

#

or C

#

in C it's
if in range, then set bit

#

I don't want to C++

#

sounds scary, tbh

#

French Revolution, Kotlin version

#

it all aligns

#

@rugged root in 3.11, I think, yes you can

#

not fully in 3.8

#

(args/kwargs)

visual ruin
#

!pep 695

wise cargoBOT
#
**PEP 695 - Type Parameter Syntax**
Status

Accepted

Python-Version

3.12

Created

15-Jun-2022

Type

Standards Track

rugged root
#

@lunar haven If you're leaving your computer, just hop off stream

vocal basin
#

wth is with that memory usage

#

Ruby do be Ruby

#

I tried solving in Kotlin

#

it failed with lowercase not defined

#

I gave up

#

yay Java

#

(and that was 1000th)

turbid sandal
cinder dawn
vocal basin
#

Java isn't one of them

vocal basin
#

I'm excluding Java because I've "reviewed" way more Java code than I've written myself

cinder dawn
#

in

vocal basin
#

lee_mailcodelephant

#

search sometimes works

cinder dawn
#

add reaction>search>whatevr

vocal basin
#

there's also +:emoji:

#

put two such letters after each other

#

becomes this

๐Ÿ‡บ ๐Ÿ‡ฆ
๐Ÿ‡บ๐Ÿ‡ฆ

#

it's for flags and other combinations

cinder dawn
#

i jus type f

vocal basin
#

I had a script for converting alphanumeric strings to regional indicator emoji sequence

#

\๐Ÿ‡ซ

#

same one but escaped

#

it's also very varied by font/system/etc., I think

vocal basin
#

I might've forgotten some of them since then, who knows ยฏ_(ใƒ„)_/ยฏ

#

and me writing one Go script totally doesn't mean I know Go

rugged root
#

!d typing.TypedDict

wise cargoBOT
#

class typing.TypedDict(dict)```
Special construct to add type hints to a dictionary. At runtime it is a plain [`dict`](https://docs.python.org/3/library/stdtypes.html#dict "dict").

`TypedDict` declares a dictionary type that expects all of its instances to have a certain set of keys, where each key is associated with a value of a consistent type. This expectation is not checked at runtime but is only enforced by type checkers. Usage...
rugged root
#
class Ham:
  def __init__(self, **kwargs):
    for key, item in kwargs.items():
      if isinstance(item, int) or isinstance(item, float) or isinstance(item, str):
        self.__dict__[key] = item
#

Again, was just an idea

cinder dawn
#

dayum

vocal basin
#

amend commits have somewhat limited applicability

visual ruin
# rugged root Again, was just an idea

thanks for the help and ideas, i'll be heading out for now. i will use the namedtuple solution + document the allowed types as you have suggested until i can think of a better solution

vocal basin
#

would be more helpful if git actually helped show those limitations

visual ruin
#

final piece of the puzzle then is to implement validation based on the annotations but that shouldnt be too hard as i've done it before in a yaml config loader

vocal basin
#

you can't amend a pushed commit, for obvious reasons

#

but there isn't much that prevents you from doing so

#

(locally)

#

like
until you try to push, it looks just fine

#

what part?

#

line length

#

or ) if root else []?

rugged root
#

Do those before the return

vocal basin
#

to make it vertically aligned

#

instead of mixed aligned

rugged root
#

It's a mess as is

#

Sorry, froce of habit

vocal basin
#

black dislikes mixed alignment, a lot

rugged root
#

I see lots of things happening in a return and my brain just goes nope

vocal basin
#

one way isto replace ternary with two separate returns

#

* is to

#
[*self.inorderTraversal(root.left), root.val, *self.inorderTraversal(root.right)]
#

or make self.inorderTraversal a standalone function with a shorter name

#

not lambda

#

just a normal function outside the class

whole bear
#

Hello kids

vocal basin
#

but this creates more temporary lists

whole bear
#

whatsup gofek

wild smelt
#

wsg

whole bear
#

sorry can't speak due to rules

#

hey guys is there a static way to make my program in python user friendly and be able to install it in other people's pc without confusion

vocal basin
whole bear
#

I mean the way the ordinary program we install

#

It's a program to isolate voice and music from a song

vocal basin
#

does it use something like tensorflow/pytorch?

whole bear
#

I haven't made it yet but just to know

#

the project will be with Tkinter

vocal basin
#

dependencies may need extra configuration to be installed

whole bear
#

hmmm I guess It's gonna be complex

vocal basin
#

Python isn't exactly really good for packaging into a desktop app

#

there are tools like pyinstaller and py2exe, but they're very unreliable

whole bear
#

hmmm

vocal basin
whole bear
#

thx Alisa

#

what is cuda

vocal basin
#

language/computation model/etc. that nvidia graphics card provide

whole bear
#

gofek is acting like a announcer

vocal basin
#

* cards

whole bear
#

I guess I have much to learn in this holiday

#

do I need to learn algorithms to be good in cybersecurity

#

or it's just bash and python scripting I need

vocal basin
#

depends on what type of cybersecurity

#

it's usually more important to know properties of algorithms other people implemented rather than writing your own

#

(when doing security)

whole bear
#

ok understood

#

Alisa you really know alot

vocal basin
#

not really
not yet, at least

whole bear
#

do you watch anime

#

prof +1 point
humble + 1 point
watching anime + 100 point

vocal basin
#

literally pfp from an anime right now

whole bear
#

ok anyway thx alot @vocal basin

#

yes @lunar haven

vocal basin
#

profile picture
because just abbreviating by first letters doesn't work well

whole bear
#

I tried to get 50 msgs to participate in voice chats using duplicated msgs

#

instead I got ban from voice chat for 14 more days

#

strict rules๐Ÿ˜๐Ÿคฆโ€โ™‚๏ธ

vocal basin
#

that's why I have only one branch

#

I have only two projects with tags

#

one of them is a library, another is a mod

#

versions for the first one actually matter
versions for the second one are just marketing

whole bear
#

Eid is tomorrow
EID MUBARRAK guys

vocal basin
#

on the mod we used to have a separate branch for development, keeping main at whatever is currently released
but now we directly commit to main

#

test everything before you commit

#

I try to have commits as little as possible
"as little as possible" being that code works after the commit

#

if a change requires rewriting everything, that everything will be in one commit

#

tests

#

run unit tests on each code change

whole bear
#

I appologize for interruption but are you guys working in a github project together

vocal basin
#

not together

whole bear
#

did you make it open source @lunar haven ??

vocal basin
#

at my second-to-most-committed-to project I have 312 commits so far

whole bear
#

awesome

vocal basin
#

I sometimes put branches for things that might be usable later

vocal basin
whole bear
#

git branch -b ๐Ÿ˜

vocal basin
#

branch name example
(named by the feature name)

whole bear
#

okay

vocal basin
#

usually merge

#

discord just crashed somewhat

#

rebase rewrites history

whole bear
#

how long have you been in this career guys

vocal basin
whole bear
#

same crash

vocal basin
whole bear
#

instructor in Git and GitHub course in coursera said same

vocal basin
#

I'd rather not mess with commit history
there are also reasons why I must never drop commits from history

#

specifically:
I reference versions by commits

#

whoa

#

I just saw, like, 10 people drop from "online" status

#

some outage seems to be happening

vocal basin
vocal basin
#

@wind raptor if it was rust, I would just wrap values in Reverse to differentiate between minheap and maxheap

#

insertion is O(1) on average, allegedly

#

(in binary heaps)

#

quite a long time ago

#

two years after AVL

#

@scarlet halo are you using dictionaries as keys in a dictionary?

#

hashable+immutable+equalable

#

first usually implies second and third

#

@somber heath tuples are conditionally hashable, yes

#

!e

print(hash((1,2,3)))
print(hash((1,2,[3])))
wise cargoBOT
#

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

001 | 529344067295497451
002 | Traceback (most recent call last):
003 |   File "/home/main.py", line 2, in <module>
004 |     print(hash((1,2,[3])))
005 |           ^^^^^^^^^^^^^^^
006 | TypeError: unhashable type: 'list'
scarlet halo
#

Traceback (most recent call last):
File "C:\Users\elise\Documents\Python\mModInstaller\Run.py", line 14, in <module>
search("entityculling")
File "C:\Users\elise\Documents\Python\mModInstaller\Run.py", line 8, in search
o = x[i]
~^^^
TypeError: unhashable type: 'dict'

import requests as req

def search(term="",page=1,amount=20):
    x = req.get(f"https://api.modrinth.com/v2/search?limit={amount}&offset={(amount*page) - amount}&query={term}")
    x = x.json()
    for i in x["hits"]:
        o = x[i]
        y = o["slug"] + " - " + o["author"]
        print('-' * len(y))
        print(y)
        print('-' * len(y))
vocal basin
#

likely

#

though

#

maybe enumerate?

scarlet halo
#

ah

vocal basin
#

or range+len

fallow timber
#

hi guys

#

bro i need to talk i wanna talk in the vc so badly

vocal basin
#

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

orchid mauve
somber heath
#

Why are we boiling keycaps?

#

Why not dishsoap and warm water?

rugged root
#

@zenith radish Halp

#

I can't stop peeling

somber heath
#

JIF here, too. It smells and I dislike it.

#

Black Friday, but with baguettes.

#

Also, when you said Navi, I thought you meant Na'vi.

gentle flint
gentle flint
somber heath
#

It's practical for stoves and I don't like it and it smells.

gentle flint
#

that's a pretty good description

stark blade
#

damn calm down boys

stark blade
#

what do you guys think of the new apple VR

gentle flint
rugged root
#

@stark blade Interesting idea, will help put AR into the forefront

#

But currently it's a pair of ski goggles

#

Really fancy ski goggles

stark blade
#

lmaoo it rlly does look like fancy ski goggles

rugged root
#

Not something I would wear out and about

stark blade
#

yeaa. + battery life isnt so great

#

but i feel like it could open a bunch of new possibilities

rugged root
#

Eh, that's early gen teething pains

stark blade
#

i wonder if price will go down

rugged root
#

Would hope so

stark blade
#

ill prob get it price goes down

#

right now i dont think its worth the price of a gaming laptop

rugged root
#

For sure

#

Cool though

stark blade
#

that was funny๐Ÿคฃ

rugged root
#

โค๏ธ

stark blade
#

what is the best monitor setup for coding?

rugged root
#

Personal choice, two landscape monitors, one portrait

stark blade
#

share your setup?

#

i am using my trading setup at the moment

somber heath
#

What if Google turns evil?

rugged root
#

Turns?

rugged root
somber heath
cosmic lark
#

antidisestablishmentarianism

stark blade
#

what do you think of going full vertical?

zenith radish
#

why are you peeling

somber heath
#

The problem wasn't Python.

rugged root
amber raptor
gentle flint
scarlet halo
#

โš

rugged root
#

!charinfo โš

wise cargoBOT
scarlet halo
#

yooo

rugged root
#

I'm still confused as to what that is

scarlet halo
#

looks like a ๐Ÿ˜ neutral face

rugged root
#

Oh for sure

#

More the "lesser yin" thing

scarlet halo
#

yea

#

i love this little box

rugged root
#

That is quite nice

scarlet halo
#

i love them

#

separator

#

maybe like this?

#

good to know

rugged root
#

!resources

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.

frozen owl
#

@rugged root some sad news

#

i am moving on from python to rust for chess

rugged root
#

Makes sense

frozen owl
#

rust is a lot faster

rugged root
#

Nothing sad about that

frozen owl
rugged root
#

Right tool, right job and all that

frozen owl
#

but we're on a python server so

#

politically correct

rugged root
#

Meh

#

If it's not the right fit that doesn't matter

frozen owl
#

idk if it's unoptimised or crap

#

im really happy that i tackled the crates crap

rugged root
#

Very cool

frozen owl
# rugged root Very cool

but yk what i might still use a bit of python for some lightweight reinforcement learning and weights tuning

#

since it's easier to write and change and speed doesn't matter too much for gene editing

gentle flint
fallow timber
#

hi guys again

rugged root
#

Yo

fallow timber
#

am learing some phyton and html/css

#

hbu

rugged root
#

Trying to get a handle on TypeScript

fallow timber
#

ok

rugged root
#

Doing my usual language hopping

fallow timber
#

idk what that means but alr

#

alr

rugged root
#

TypeScript is a language built on JavaScript

#

So just messing with that stuff

fallow timber
#

i sent like 52

#

or smth liek that

rugged root
#

Did you delete them and/or were they sent in #bot-commands?

fallow timber
fallow timber
rugged root
#

That's why. Those aren't counted

fallow timber
#

oh ok

#

thanks

rugged root
#

Yeppers!

#

So are you messing with Flask and Django?

fallow timber
rugged root
#

Oh you were talking about HTML/CSS and Python

fallow timber
#

well am learning for 3-4 days now

rugged root
#

Thought that meant you were messing with either the Flask or Django framework

#

Oh cool cool

fallow timber
#

and i want to talk with people about it

#

and stuff

rugged root
#

@inland plinth You can talk to us in here

#

So no one gets left out

inland plinth
#

oh

#

looll thanks

rugged root
#

No problem!

#

Yeah it's not obvious...

#

So what's up

inland plinth
#

just bored browsing through servers im in with vc

rugged root
#

Oh cool cool

inland plinth
#

wbu

fallow timber
#

whos the owner of this server

inland plinth
#

i think directors

#

are the owners

#

idk

rugged root
#

Well you're more than welcome here. Messing around with TypeScript. Trying to make a wrapper for https://spacetraders.io/

A unique multiplayer game built on a free Web API. The best sandbox platform to learn a new skill or apply your knowledge in a fun and meaningful way. Use any programming language with our RESTful API to control the most powerful fleet in universe.

#

And yeah, Directors are owners

#

Currently it's Lemon, Mina, and Zig

fallow timber
#

ok

rugged root
#

All really nice folks

fallow timber
#

anyways cya

rugged root
#

Later

inland plinth
#

yeah im out too i dont rlly like typing only talkingg

rugged root
#

Fair enough

thorn wharf
#

been having some python installation issues on my pi and im ready to explode

#

if anyone knows why aiohttp doesnt want to install that would be extremely helpful hahaha i can send the error log for anyone curious

rugged root
#

Yeah toss the error, I'll look in just a moment

thorn wharf
#

i love you

#
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting aiohttp==3.8.1
  Using cached aiohttp-3.8.1.tar.gz (7.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  ร— Preparing metadata (pyproject.toml) did not run successfully.
  โ”‚ exit code: 1
  โ•ฐโ”€> [74 lines of output]
      *********************
      * Accelerated build *
      *********************
#
 running dist_info
      creating /tmp/pip-modern-metadata-pduyygv8/aiohttp.egg-info
      writing /tmp/pip-modern-metadata-pduyygv8/aiohttp.egg-info/PKG-INFO
      writing dependency_links to /tmp/pip-modern-metadata-pduyygv8/aiohttp.egg-info/dependency_links.txt
      writing requirements to /tmp/pip-modern-metadata-pduyygv8/aiohttp.egg-info/requires.txt
      writing top-level names to /tmp/pip-modern-metadata-pduyygv8/aiohttp.egg-info/top_level.txt
      writing manifest file '/tmp/pip-modern-metadata-pduyygv8/aiohttp.egg-info/SOURCES.txt'
      reading manifest file '/tmp/pip-modern-metadata-pduyygv8/aiohttp.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no files found matching 'aiohttp' anywhere in distribution
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '*.pyd' found anywhere in distribution
      warning: no previously-included files matching '*.so' found anywhere in distribution
      warning: no previously-included files matching '*.lib' found anywhere in distribution
      warning: no previously-included files matching '*.dll' found anywhere in distribution
      warning: no previously-included files matching '*.a' found anywhere in distribution
      warning: no previously-included files matching '*.obj' found anywhere in distribution
      warning: no previously-included files found matching 'aiohttp/*.html'
      no previously-included directories found matching 'docs/_build'
      adding license file 'LICENSE.txt'
      writing manifest file '/tmp/pip-modern-metadata-pduyygv8/aiohttp.egg-info/SOURCES.txt'
      creating '/tmp/pip-modern-metadata-pduyygv8/aiohttp-3.8.1.dist-info'
#
          return _bootstrap._gcd_import(name[level:], package, level)
        File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
        File "<frozen importlib._bootstrap_external>", line 883, in exec_module
        File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
        File "/tmp/pip-build-env-wufwez7f/normal/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 28, in <module>
          from .macosx_libfile import calculate_macosx_platform_tag
        File "/tmp/pip-build-env-wufwez7f/normal/lib/python3.10/site-packages/wheel/macosx_libfile.py", line 43, in <module>
          import ctypes
        File "/usr/local/lib/python3.10/ctypes/__init__.py", line 8, in <module>
          from _ctypes import Union, Structure, Array
      ModuleNotFoundError: No module named '_ctypes'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

ร— Encountered error while generating package metadata.
โ•ฐโ”€> See above for output.
#

sorry had to grab pieces of it

#

using 3.10.7 on pi, same error cam on 3.11.4

rugged root
#

That.... huh

#

Linux or Mac

thorn wharf
#

l-inux

rugged root
#

Hmmmmmmmmmm

thorn wharf
#

raspbian

rugged root
#

What's the install command?

thorn wharf
#

joining voip hang on

whole bear
#

@mild quartz why silent?

mild quartz
#

??

#

What do you want me to say

thorn wharf
#

they just want you to say hi

whole bear
#

correct. say hello to all

thorn wharf
#

yeah its in the requirements.txt

whole bear
#

@thorn wharf r u hearing us?

thorn wharf
#

yeah im listening from another channel

#

๐Ÿ‘‚

whole bear
#

really? how?

rugged root
#

python -m pip install -U wheel setuptools

rugged root
#

Sorry, that was to 10038

thorn wharf
#

^ how to listen across channels

rugged root
#

My b

whole bear
thorn wharf
#

im just joking @whole bear LOL

#

sorry

sturdy panther
#

It's why we have two ears. One for each channel!

whole bear
#

three possible?

#

@sturdy panther

sturdy panther
#

If you are lucky enough.

whole bear
#

pity i have not even one..

stark blade
thorn wharf
rugged root
#

!e

ham = "Python is not good"
pork = ham[:9] + ham[13:]
print(pork)
wise cargoBOT
#

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

Python is good
thorn lagoon
#

I'm not able to speak in vc, but I'm from Canada

#

Just trying to figure out Python to help out with Data Engineering

#

Yeah, I think Microsoft's Fabric will be my go to for data solutions. But I feel that Python will be necessary for many things, just not sure what yet.

#

Stuck in this "learning the basics and can't apply it to the real world" scenario.

rugged root
#

!e

months = ['Jan', 'March', 'April', 'June']
print(months)
months = months[:1] + ['Feb'] + months[1:]
print(months)
months = months[:-1] + ['May']
print(months)
wise cargoBOT
#

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

001 | ['Jan', 'March', 'April', 'June']
002 | ['Jan', 'Feb', 'March', 'April', 'June']
003 | ['Jan', 'Feb', 'March', 'April', 'May']
rugged root
#

Hope it's actually useful

thorn lagoon
#

[:1] doesn't include 1 position? I would expect the first 2 months to be Jan, March still.

#

In 2.

#

So [:n+1] is a way to make the full range?

rugged root
#

[:] will do that

thorn lagoon
#

Same result?

#

Obv yours is clean

#

Ah, makes sense thanks!

#

I need a few more sessions on this server before I can apply to speak

#

Anyone into Data Engineering?

#

Oh definitely. I would feel too dangerous handling a companies data at this point.

rugged root
#

Eh

#

So long as you're not doing stuff in prod

#

Back in a moment, getting into the van for deliveries

thorn lagoon
#

I think I would screw it up during integration. I guess their old system would always be intact, so nothing should really be at risk. But yeah, being thorough with testing is gonna prevent terrible things happening in prod

stuck furnace
#

This sounds like something from TLC

#

Yeah seems like a recipe for disaster

amber raptor
somber heath
whole bear
#

Hello

#

Can somebody help me with apython project

#

Yes