#voice-chat-text-0

1 messages ยท Page 889 of 1

rugged root
#

@tiny socket py -m pip install

#

Yep

#

Quite often

#

Why do you ask?

#

Depends. Today I'm just going to have to push through it

swift valley
#

Good evening

#

I shall finish Quake EP2 tonight

frosty star
#

I take a deep breath and smash random crockery

#

but not really lol ;-; i cant afford that

#

how do u play aggressive basketball

rugged root
#

Where I am, what kind of stressed, what might have caused it, current mood before that

#

It's more of an in the moment thing

frosty star
#

chain reaction huh

inner jetty
#

WHAT I NEED TO MAKE THIS DONE?

1-create a file and we can called file01, and create another file called file02.
2-write a code it function is "copy the content of file01 to file02".
3-write a code it function is "copy the content of file02 to file01".

note 1 :
This copy codes contains two other codes
A-code to repeat the copy process.
B-code to complete copying in a second.

note 2 :
Do not copy the entire contents of the two files, just copy part of the content like:
1-90% of memory content is copied.
or
2- If the content is 100 words, 90 words will be copied.

frosty star
#

XD lmao

#

listening in to the voice channel is a good stress reliever too

somber heath
#

I'm fond of bees.

past pawn
#

beeeeeeeeeees

somber heath
#

I dislike those bees.

#

They're gigantic.

inner jetty
somber heath
#

It's immersion breaking.

rugged root
#

Oh god damn it

#

There we go

#

These are way cooler than they should be

#

Dude, ALL their stuff is legit

past pawn
frosty star
#

intresting

somber heath
rugged root
olive hedge
#

!poll "should I get http403 as my license plate" "yes" "no"

wise cargoBOT
#
should I get http403 as my license plate

๐Ÿ‡ฆ - yes
๐Ÿ‡ง - no

stuck furnace
#

Leetspeak ๐Ÿ˜„

gloomy vigil
past pawn
timber lark
sweet lodge
#

Hi Hemlock

tiny socket
timber lark
#

dragalia lost, also the game that a hidden community wants the protag in smash

past pawn
#

w

rugged root
#

Yep, NES Advantage

#

Better image

somber heath
rugged root
sacred lichen
#

Hi

#

๐ŸŽฎ

frosty star
#

good night everyone pa_dino_sleep

sacred lichen
#

The guy who's speaking currently sounds like an AI talking to humans , that's interesting ๐Ÿฅฒ

rugged root
#

Yeah that SA-1 lockout chip is a hiccup for most of the methods

#

Which is a massive shame

past pawn
#

that orange thing in the kitchen is poggers

rugged root
#

!e print(243/60)

wise cargoBOT
#

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

4.05
past pawn
#

4.05 is poggers

brave steppe
past pawn
#

someone said butthole?

#

i cant hear youse real well, im listening to black midi

#

play that on the piano XD

past pawn
#

convergence is pretty key smashy but sounds good

gentle flint
timber lark
#

No Synthesia today; here's an impossible remix by HDSQ.mid!
Original Video + Download MIDI: http://youtu.be/b0gyQMJHQ78
Author's Channel: https://www.youtube.com/channel/UCPB_zkvsJKuIkCgEzoXtN3g

This is one one of the best black MIDIs I've seen as of recently. It was created by HDSQ.mid (HemiDemiSemiQuaver) of the Black MIDI Team. He is one of ...

โ–ถ Play video
past pawn
#

lol

timber lark
past pawn
#

the "Insane" section of Convergence is hypnotic

rugged root
somber heath
#

@gentle flint ๐ŸŽต "Perhaps it might be wise not to carp and criticise. Yet, it's very evident these attentions are well-meant."

past pawn
timber lark
#

"QCD is a non-abelian gauge theory (or Yangโ€“Mills theory) of the SU(3) gauge group obtained by taking the color charge to define a local symmetry.

Since the strong interaction does not discriminate between different flavors of quark, QCD has approximate flavor symmetry, which is broken by the differing masses of the quarks.

There are additional global symmetries whose definitions require the notion of chirality, discrimination between left and right-handed. If the spin of a particle has a positive projection on its direction of motion then it is called right-handed; otherwise, it is left-handed. Chirality and handedness are not the same, but become approximately equivalent at high energies.

Chiral symmetries involve independent transformations of these two types of particle.
Vector symmetries (also called diagonal symmetries) mean the same transformation is applied on the two chiralities.
Axial symmetries are those in which one transformation is applied on left-handed particles and the inverse on the right-handed particles."

"what part don't you understand?"

mystic lily
#

anyone know a good places to learn Manichean learning?

rugged root
#

I never really had a head for that kind of stuff

past pawn
#

wow

#

hey Mr Hemlock, can you play piano?

mystic lily
#

ah i want to trying to make prediction being new to python its killing me

past pawn
#

there's one way to stop being new at python

#

12 hours of coding every week for a year

#

give yourself random challenges

#

think of a challenge, then get it working as naturally readable as possible, then get it working in the least amount of characters

timber lark
#

sigma grindset

mystic lily
#

iv been doing it for about 2 weeks made a few things hopefully im making progress

past pawn
#

metal harp?

#

pedal harp?

gentle flint
#

yes

past pawn
#

is that like piano pedals?

#

whats a synonym for unimpressed?

rugged root
#

Underwhelmed

#

Indifferent

past pawn
#

add a touch of repulsion

rugged root
#

Hmm

past pawn
#

my vocabulary has failed me

#

it used to be quite the repository

#

now it is desolate

rugged root
#

Better than a suppository

brave steppe
# rugged root Better than a suppository

Tyler is trying to build a better relationship with his boss, Anita.

Learn more about Grammarly: https://bit.ly/30jK4wn #HelpingYouConnect

Tyler wants to impress his boss, Anitaโ€”and he has an important email to do it. Watch him find the right words to explain the elevator incident, detail his work proposal, and ultimately, bring them closer t...

โ–ถ Play video
rugged root
past pawn
rugged root
past pawn
#

the start of this black midi:

rugged root
whole bear
#

wow

past pawn
#

"ls"

whole bear
#

hi guys

past pawn
#

hi

whole bear
#

how are you bro

past pawn
#

yes

terse needle
# past pawn > "ls"

i had a bottle in my way and couldn't tell if i was typing into my terminal or discord

past pawn
#

still poggers ;)

#

I think my cat actualy falling asleep

#

its almost 3am maybe i should slepe

rugged root
#

Yeah

#

Get some rest

#

@cerulean ridge What's up?

gentle flint
tiny socket
gentle flint
#

gno, gno, gno

tiny socket
#

Say no to gopher

mystic lily
#

just buy a new printer

#

the egg came first

#

its a demon in a cats body

gentle flint
#

here's a bespeckled cephalopod

tiny socket
#

!otn a bespeckled cephalopods @rugged root

quasi thorn
tiny socket
timber lark
#

mind if someone helps me with my code for a bit

#
  File "D:\RMIT\Python\Week 10\experimental\application(supposed to launch from here).py", line 9, in <module>
    app = Application()
  File "D:\RMIT\Python\Week 10\experimental\application(supposed to launch from here).py", line 6, in __init__
    self.__backend = backend.BackEnd("data.csv")
  File "D:\RMIT\Python\Week 10\experimental\backend.py", line 16, in __init__
    self.add_password(fields[0],fields[1],fields[2],fields[3])
IndexError: list index out of range```
gentle flint
#

what is the value of fields

gentle flint
timber lark
#

0 = website name
1 = website address
2 = username
3 = password

gentle flint
timber lark
#

wdym

gentle flint
#

I don't want to know the intended value of fields
obviously, the value is not the intended value
I want to know what fields actually is at the moment where you get that error

#

so before that self.add_password thing you can put print(fields)

#

as reference for others:
the code is

    def __init__(self,password_filename):
        self.__passwords=[]
        self.__password_filename=password_filename
        fp=None
        try:
            fp=open(self.__password_filename)
        except:
            self.save_to_file()

        if (fp!=None):
            line=fp.readline()
            while(line!=""):
                fields=line.strip().split(",")
                self.add_password(fields[0],fields[1],fields[2],fields[3])
                line=fp.readline()
            fp.close()
timber lark
#

smth liek this

gentle flint
#

yes, what's the output if you run it

timber lark
#

same thing

gentle flint
#

surely it prints smth before raising the error

timber lark
#

it happens when it tries to load a saved file from the previous session

gloomy vigil
#

vc empty??

wind raptor
#

looks like it

wispy marten
#

ok

past pawn
ashen dock
#

found it

#

@wind raptor I am kinda just hanging around to try yo figure out what I want to do

#

kinda

#

not really :{

#

yeah

#

my school has a thing where if you learn something that will help you later on in life they will give you a ,1 add on to your gpa

#

I am tying to get my gpa to a 4.0

#

At the time i am a 3.9

#

lol

#

the collage i want to go to need a gpa of 3.1

#

but I want to make sure I can get into it. also sorry if my spelling a little sluppy im not great at typing

#

my brother goes to the citadel so I want to spend my time with him for the last 2 years

#

its a military collage

#

i go to a military high school at this time

#

oh my

#

yeah no good

#

I dislike that some people will learn something way harder just so they dont have to try at something easy

#

yeah

#

yeah

#

lol

#

well I think it would be good to know it

#

but im thinking of going into the air force to maybe program

#

they have so much

#

it kinda cool

#

but the way things are going I may go into the marine or maybe army

#

I always wanted to be a pilot but my eyes are to bad to fly

#

but I dont like sitting behide a desk

#

if that make since

upper fossil
#

yo buddhist what u working on?

#

as in like

#

you know what i mean

warm bison
#

@wind raptor what do you think of this

#

my first embed

#

bot.remove_command('help') put this before you code a help command

#

or client command wahtever

ashen dock
#

I think ill go to sleep for now but keep the good work guys

warm bison
#

bot = commands.Bot(command_prefix="~", description="This is a the bot for custom commands")

#

this?

#

wait

#

i klnow what you mean

#

cause i have it

#

also me

#

yes

#

sucks

#

but oh well

#

they all wont continue the project

#

so someone else is gonna have to make a new one

#

i hope

somber heath
#

@fossil quartz Here. ๐Ÿ™‚

fossil quartz
#

ok

somber heath
#

Fractal

forest zodiac
#

how many pieces?

#

erm okay

#

well i have seen this pattern

#

but i didnt knew it is called fractal

#

i have to go for now

#

bye

gentle flint
#

Kaletez, called galette de sarrasin in French, is a buckwheat pancake in Breton cuisine.According to legend, the buckwheat pancake was born thanks to a Breton woman spilling buckwheat slop on a hot pebble in the chimney. Small quantities of buckwheat pollen have been found in the peat lands of Brittany that date to the 12th Century
Buckwheat agr...

flat sentinel
#

Build a decentralized chat app using the GUN JavaScript library. Learn how to use web3 technology to create a peer-to-peer graph database without traditional cloud computing providers. https://gun-chat-dapp.web.app/

#js #web3 #tutorial

๐Ÿ”— Resources

Live Demo: https://gun-chat-dapp.web.app/
View on Product Hunt: https://www.producthunt.com/post...

โ–ถ Play video
swift valley
#

good evening

#

i finished Quake

#

I shall do it again

coarse cape
#

sup peeps!

swift valley
#

Squash PRs > Merge PRs > Rebase PRs

#

Fight me

#

The history would be preserved in the PR anyways

frosty star
#

ayoayo

swift valley
#

Doing some schoolwork

#

I'm just burning time my guy

#

very nice

gloomy vigil
swift valley
#

I'm no mod

#

Hey MAD

#

holy shit its duke nukem

dark seal
swift valley
#

I should probably swap out my keyboard switches

#

I bought like 40 and only used 5

gentle flint
#

can you have cubits of qubits?

swift valley
#

uwubits

gentle flint
#

Quits

#

When you leave, you are indeed inaudible. @hard wyvern

swift valley
#

๐Ÿ…ฑ๏ธits

gloomy vigil
#

sits

swift valley
#

๐Ÿ…ฑ๏ธ๐Ÿ‡ฎ๐Ÿ‡น๐Ÿ‡ธ

#

ah yes, unicode

gentle flint
#

bitalians

#

bite aliens

gloomy vigil
#

eat aliens

#

rinse and repeat

swift valley
#

Removing the space between ๐Ÿ‡ฎ ๐Ÿ‡น yields ๐Ÿ‡ฎ๐Ÿ‡น

#

whose door

#

@raw carbon

#

@viscid lagoon has some fun/cool commands

#

.uwu 882607895068434453

#

aw

#

.uwu @viscid lagoon has some fun/cool commands

viscid lagoonBOT
#

@Siw Wancebot has sum fun/coow commands

gloomy vigil
wise cargoBOT
#

A python implentaciรณn of advanced uwuification.

gloomy vigil
#

this is better

gentle flint
swift valley
#

yes I did

past pawn
#

uwuification

swift valley
#

I'm a lurker

#

I've never spoken

#

and will never speak

past pawn
#

I been doing that a bit recently

gloomy vigil
stuck furnace
#

Opal was here ๐Ÿ‘€

#

We're in Sydney ๐Ÿ˜„

swift valley
#

Earlier, yes

stuck furnace
#

eekcelent

#

I think the earth would shake ๐Ÿ˜„

frosty star
#

I speak sometimes :3

stuck furnace
#

In London, you pretty much have to ask not to have that haircut when you go to the barber.

#

I like your banner MAD. How did you get it to loop perfectly? ๐Ÿ˜„

#

Oh right, so the trajectory is faked ๐Ÿค”

#

Fair enough

#

Nice

past pawn
#

ayeee

#

i'd join vc but im watching black midi on another device

swift valley
#

2nd cup of coffee

#

yay or nay

#

How does one quantify a cup

#

Pretty sure I drink off of a mug

#

500 mL-ish

stuck furnace
#

That's a jug ๐Ÿ˜„

frosty star
#

lol

swift valley
#

I usually just chug coffee too in small amounts

#

like, 100mL bottles

#

I down one in seconds

#

I may be confusing my coffee, hold on

stuck furnace
#

You know what you should try... espresso poured over ice-cream

frosty star
#

r u sure thats not an energy drink of some sort

stuck furnace
#

It's nice ๐Ÿ˜„

frosty star
#

100ml bottles

swift valley
#

My internet is not cooperating

#

It was probably more than that though

stuck furnace
#

Oh right

swift valley
#

I drink instant coffee because I'm a heretic

stuck furnace
#

Me too tbh ๐Ÿ˜„

frosty star
#

I've infact just started drinking coffee two weeks ago

swift valley
#

240 mL

#

I down these things in seconds

stuck furnace
#

Sometimes I make a pot of coffee just because I like the house smelling of coffee ๐Ÿ˜„

frosty star
#

What's the alternative to coffee when coffee stopped working blobhmmm

stuck furnace
#

But the taste never lives up to the smell lemon_pensive

swift valley
#

Quitting coffee for a few weeks

#

That worked for me

frosty star
#

hmmm... maybe I should try that

swift valley
#

I just drank hot cocoa in the meantime

frosty star
#

that's what my friend told me to do

swift valley
#

I like drinking hot beverages in hot weather

stuck furnace
swift valley
#

Like, 30+ something degrees C hot

stuck furnace
#

The issue isn't really being addicted, but having a tolerance so it doesn't do anything any more.

swift valley
#

I just like the taste

stuck furnace
#

Cya ๐Ÿ‘‹

swift valley
#

will brb in about 2 hours

#

hopefully when there's more folks

stuck furnace
#

Hemlock will probably be on soon, then the chat will fill up immediately ๐Ÿ˜„

past pawn
#

lol

forest zodiac
#

@rugged root

#

can you help me with databases?

forest zodiac
#

so i am creating an application for small business to handle their accounts

#

and i have this model

#

for now

whole bear
rugged root
past pawn
#

there's this song stuck in my head and its driving me insane

whole bear
#

I thought it was the Bieb

past pawn
#

heyyyyyyyyy so no more microphoning from me

#

but i still plan on talking

#

I'm considering a beer to combat insomnia

#

apparantly wine works, idk about beer tho

#

fair enough

#

I'm thinking of coding a befunge-98 interpreter in python

#

i just realised 2048 would be easy to code in terminal with escape sequences

#

just gotta remember what \x1b[2H does and \x1b[?

#

XD

#

last time i manually played with escape sequences, i made a really epic game of minesweeper

#

i modelled it as close as possible to the windows minesweeper gui

#

but using [wasd, Space, Tab] instead of mouse clicks

signal whale
#

discord should have a toggle feature honestly

rugged root
#

How do you mean?

signal whale
past pawn
#

2-minute noodles?

gentle flint
#

thx

#

cya

past pawn
#

last time i vced in car the car's battery ran flat

signal whale
past pawn
whole bear
#

my bad

past pawn
#

okay what about weetbix with honey?

signal whale
past pawn
#

i thought weetbixes carb content

signal whale
#

but food comma's are usually caused by too much carbs

past pawn
#

@frosty star give them all high distinctions ;)

#

my cat is asleep uwu

#

she fell asleep head towards the door

#

guard kitty sleeping on duty?

#

the bass in this weird sounding music would sound good in my car and EQ set to "car vibratey XD" preset

#

my phone needs a charge port replace

#

it only charges at a certain angle

#

I got a new case that holds the cable still so it doesn't deviate from this angle

#

but the charging light still flickers a little

#

Maybe i should crash somewhere i dont have to be quiet so i can talk lol

#

or i could somehow achieve video perms and then communicate in sign language

#

actually idk sign language

#

hey, the dark side blowed up planets

rugged root
#

The rebels destroyed two large battle stations and killed millions

past pawn
#

how many was on them planets?

rugged root
#

I mean

#

I guess at least 5

past pawn
#

hmmm

#

palpatine was kinda cool tho

#

shoot lightning bolts out fingers XD

past pawn
#

space wizards!

#

hey i found an easter egg in Path of Exile

#

in Act 2

#

in the forest to the west of the town

#

Plummeting Ursa

mystic lily
#

hey

past pawn
#

literal drop bears

mystic lily
#

im trying to listen to a web socket and i cant see where im going wrong could someone help me

#
import websocket
SOCKET = "wss://stream.binance.com:9443/ws/ehtusdt@kline_1m"
def on_open(ws):
    print('websocket open')
def on_close(ws):
    print('websocket close')
def on_message(ws, message):
    print(message)
def on_error(ws, error):
    print(error)
ws = websocket.WebSocketApp(SOCKET, on_message=on_message, on_open=on_open, on_close=on_close, on_error=on_error)
ws.run_forever()
vivid palm
past pawn
#

hey

#

aw

frosty star
#

i just noticed

vivid palm
#

yup cat แ˜กแ˜แ—ข

celest pecan
#

I appreciate the server, which by technical is this server

swift valley
#

I shall create a proper project by next week, yay

#

Basically just a simple completion engine for PureScript because the builtin language server they deploy is too chunky

#

It's just a protocol over JSON yeah

#

One thing I'm not sure what to do is with the are types and the infix operators, since I have to parse those manually

#

I could probably just extract them ahead-of-time

mystic lily
#

hey guys

#

im good i was wondering if anyone could tell me where im going wrong

#
import websocket
SOCKET = "wss://stream.binance.com:9443/ws/ehtusdt@kline_1m"
def on_open(ws):
    print('websocket open')
def on_close(ws):
    print('websocket close')
def on_message(ws, message):
    print(message)
def on_error(ws, error):
    print(error)
ws = websocket.WebSocketApp(SOCKET, on_message=on_message, on_open=on_open, on_close=on_close, on_error=on_error)
ws.run_forever()
#

it will open but dont seem to send message

terse needle
#

you'll probably get some good help here #networks

mystic lily
#

okay

swift valley
rugged root
hushed dragon
#

game.gameloop()

hard wyvern
swift valley
#

I wish I could use flow charts

brave steppe
#

;;;;;;;;;;;;;;;;;;;;______________________________;;;;;;;;;;;;;;;;;;;;;;;;;;;;

#

get_origin is new in version 3.8

swift valley
#

I wish tuple annotations were tuple literals

brave steppe
#

That would be cool

swift valley
#
HostName: TypeAlias = str
SendFn = Callable[[str], str]
SendNoneFn = Callable[[], str]

def make_protocol(port: int) -> (HostName, SendFn, SendNoneFn):
    ...
#

I can only wish

brave steppe
#

That looks very clean considering you usually unpack it later

swift valley
#

It'll help a bunch with functional-style code

#

I kinda unlearned OOP at this point

brave steppe
#

Wait what is another name for "basic"/"plain"?

#

Like- bare?

#

nvm, was looking for primitive

whole bear
#

@primal yacht is he femboy??

olive hedge
#

!ban 719741392804642827 We do not condone this sort of behavior, harassment or language here. Goodbye

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @whole bronze permanently.

primal yacht
brave steppe
#

lol

olive hedge
#

stel is great

primal yacht
#

How did I not realize this existed?!
UNCHECKED!!! >w<

brave steppe
primal yacht
rugged root
past pawn
#

!e ```py
class Morte:
def del(self):
try:=type(self);(),(),();_()
except:type(self)()
print('How do I clean up this class?')
a = Morte()
del a
print('noooooooooooooooooooo')

primal yacht
wise cargoBOT
#

@past pawn :x: Your eval job timed out or ran out of memory.

How do I clean up this class?
rugged root
#

What do you mean clean it up?

coarse cape
#

Hey @brave steppe ๐Ÿ‘‹

#

the bot changed my nickname

#

im kitty

primal yacht
coarse cape
#

:D

past pawn
#

you see if you try to clean it up when its refcount depletes, it makes four more of itself

#

it's a replicator

#

but attempting to destroy it makes it replicate

primal yacht
#
class A:
  def __del__(self):
    try: self.__class__()
    except: self.__class__()
past pawn
coarse cape
#

yo bluenix

#

how do i get the red highlight

#

to show up

#

im kitty btw

#

the bot changed my nickname

#

lmao

#

.spookify

viscid lagoonBOT
#
Is this you or am I just really paranoid?
primal yacht
#
// pencils one
t||(H=0,D=X=99,r=42,s=20,y=0)
y+=4,y>900&&(X+=D,H=t*r,y=0)
for(a=3.1;a>0;a-=.01)d=(f=y>D)?1:y/D,x.fillStyle=`hsl(${f?H:40},${f?D:y>30?r:0}%,${r+(c=C(a))*s}%`,x.fillRect(X+c*r*d,y+S(a)*s*d+r,2,4)
coarse cape
#

this comaand

#

command*

#

my pfp is not cute

#

its photoshopped nelly

#

lol

primal yacht
#

Fine, it isn't cute ....

#

It's cuwute

coarse cape
#

xDD

#

pylance is sooooo bad

#

im switching over

#

heh

rugged root
#

Eh?

#

What's wrong with PyLance

brave steppe
#

Do you get a lot of false positives?

coarse cape
rugged root
#

Hmm

coarse cape
rugged root
#

I haven't encountered that yet

coarse cape
#

even though the code runs

rugged root
#

Oh that

coarse cape
#

and its pylance

rugged root
#

You have to make sure that you're letting the LSP see the module files and stuff

coarse cape
#

i dont have any other linter

rugged root
#

It's a bit funky

coarse cape
#

aaaa

#

im not pennywise

#

im kityt

swift valley
#

@rugged root We can stream non-Python programming right

coarse cape
#

kitty

#

i changed it

swift valley
#

brb

coarse cape
#

cuz of the bot

#

oh

#

im using a venv

#

gotta disable that then

primal yacht
coarse cape
#

oh

#

bluenix, how do u have the python and pyright installed and how is vscode not giving any errors-

#

my installation doesnt let me use both of em

#

together

coarse cape
#

he has both-

#

oh

#

hmm

#

but pylance autocomplete engine is kinda dead

#

jediLSP is cool but there is no colour support

#

in vscode

#

this is pylance

#

pylance colors

#

jedi lsp

swift valley
#

Hopefully my bandwidth can manage

coarse cape
#

jedilsp has crap colors

#

i want pylance colors and jediJsp

#

lsp*

#

he has to reload the indows

#

you can

swift valley
#

does my stream work

coarse cape
#

@brave steppe , i only have pylance without pyright

#

pylance > pyright

#

better autocompletion

#

better everything

#

pylance comes with python ext

#

its one thing

brave steppe
#

Pyright is the static type checker Pylance uses

coarse cape
#

you dont need pyright for pylance to work tho

brave steppe
#

I use the Pyright extension because it gets update quicker

brave steppe
coarse cape
#

@swift valley which editor ?

#

im tryna make an os in py

#

kinda a dumb idea

#

but whatever

#

show

#

show

#

@primal yacht show it-

swift valley
coarse cape
#

oh

#

doom ?

swift valley
#

My own config

coarse cape
#

Awesome!

#

Can i use it-

#

ive been looking out for a good emacs config

swift valley
#

I still have to publish it

coarse cape
#

oh alright

swift valley
#

and it changes a lot

coarse cape
#

lemme know once you do :D

coarse cape
swift valley
#

@rugged root Optionals in Python is what we call untagged unions in FP-land

#

Nobody knows how to handle untagged unions in FP-land

warm bison
#
async def funhelp(ctx, target: discord.Member):
    channel = ctx.message.channel
    embed = discord.Embed(
        title = 'Fun bot commands do ||We have two bots coming. Under construction||',
        description = '**~welcome, ~version, ~w, ~l, ~f, ~taco, ~dailyastronomy, ~hug, ~kiss, ~slap, ~inv** ' ,
        colour = discord.Color.blue()

    )

    embed.set_footer(text='this is a test to see if i still need this or not')
    embed.set_thumbnail(url= 'https://i.pinimg.com/originals/65/b1/ef/65b1ef4ae4a802082e0956e7848e953b.gif')
    embed.set_author(name= f"{ctx.message.author.mention}")
    await ctx.send(embed=embed)```
sweet lodge
#

Hi Hemlock

rugged root
#

How's it going

warm bison
#

same error

brave steppe
amber raptor
#

How many servers is this bot in?

warm bison
brave steppe
#

Also that won't work

#

r'test'

#

Not r{'test'}

coarse cape
#

@warm bison can you try passing args in your discord msg

#

yee

#

pass something for the target

#

making an os in py is the dumbest idea but im gonna do it anyway

primal yacht
#
>>> print('This is less than: \x3C')
This is less than: <
>>> print(r'This is what I put: \x3C')
This is what I put: \x3C
coarse cape
rugged root
#

@warm bison What's the question?

coarse cape
rugged root
#

Sorry, easy to get talked over when there's this many people

warm bison
#

fisrt time coding an alias. It works but is there any wayt o simplify this?

amber raptor
#

Is this a new bot?

warm bison
#

yes

#

its for my server

amber raptor
#

Only your server?

warm bison
#

yes

amber raptor
#

Ok, continue

rugged root
#

Nah, that's the way to do the alias

primal yacht
#
def isNoneType(value:Optional[type], *, NoneType:type=type(None)) -> bool:
    return value is None or value is NoneType
warm bison
#

LETS GOOOO

rugged root
#

About as clean as it gets

warm bison
#

bruh i love when i figure stuff out

rugged root
#

It's a rush, right?

#

That's why I love coding

warm bison
#

same

#

when you accidently fix a bug

sweet lodge
#

If anyone wants the image

#

YUM is the primary package management tool for installing, updating, removing, and managing software packages in Red Hat Enterprise Linux.

  • Google
swift valley
#

Is my stream a square

sweet lodge
#

The RPM Package Manager (RPM) is an open packaging system, which runs on Red Hat Enterprise Linux as well as other Linux and UNIX systems.

  • Also Google
#

Both?

brittle mango
stuck furnace
#

I meant that in the kindest way possible ๐Ÿ˜„

primal yacht
#

Do you pronounce your name as "L. X." or ... something like "Lex" / "Lax"?

gentle flint
#

elex

stuck furnace
#

The best harry potter film, tbh.

#

By far.

#

Indeed ๐Ÿง

#

Thanks for being my voice Katie ๐Ÿ˜„

warm bison
primal yacht
sweet lodge
#

Reduced instruction set computer

  • Google
primal yacht
#
armv7l
amber raptor
# warm bison

Slight progress, until Discord blows up message intent

warm bison
#

sad

hard wyvern
#

@rugged root do u know abou easy ocr bro

#

yes

#

ok

#

its a library

#

anyone I need some help regarding this esayocr library

#

ook

coarse cape
#

sup bros

#

im back LD

#

:D *

hard wyvern
#

did anyone called me

#

??

coarse cape
#

yee

#

kinda sm0l ones

#

but yeah-

#

rabbitttttt

#

hey

#

how many animals are on this call

#

๐Ÿ˜‚

#

there is rabbit

#

im a cat

#

@rugged root is a homo sapien

#

captain fisher is a fish

olive hedge
#

fakts

coarse cape
#

xD

#

mac logs easier

#

dont try it tho

#

gn peopl!

rugged root
#

not even as a joke, kitty

coarse cape
#

im sorry ๐Ÿ˜ญ

#

:(

rugged root
#

Plenty of younger users that might actually do that

coarse cape
#

ah

#

yeah, my bad

rugged root
#

Rather not leave the potential mine for someone to trip on

coarse cape
#

yep

#

got it

rugged root
#

Either way, have a good night!

coarse cape
#

im sorry again-

rugged root
#

All good, now you know

coarse cape
#

its 1 am

#

๐Ÿ˜‚

#

and i have school tomorrow

#

im in 9th grade

#

hehe

#

bye people! catcha ya guys in the mornin!

swift valley
#

I have to pretty print type annotations

#

But I do not know where to look

dense ibex
#

@brave steppe face reveal?

swift valley
#

Well, source diving it is then

stuck furnace
#

Are we watching the blair witch project?

vivid palm
#

LMAO

primal yacht
#

My phone (clang-12; C++ on Termux, no extra args):

"Type","Bits (computed)","Bytes (memory)"
"char",8,1
"short int",16,2
"int",32,4
"long int",32,4
"long",32,4
"long long",64,8
#

My laptop (x86_64-linux-gnu-g++-9; C++ on WSL, no extra args):

"Type","Bits (computed)","Bytes (memory)"
"char",8,1
"short int",16,2
"int",32,4
"long int",64,8
"long",64,8
"long long",64,8
swift valley
#

what...?

stuck furnace
#

ยฏ_(ใƒ„)_/ยฏ

wintry pier
#

hhhhhhhhhhh

rugged root
#

@near beacon Any particular reason for joining and saying random crap?

near beacon
#

yes

wintry pier
#

is any one use django

near beacon
#

i wanna troll

wintry pier
#

?

rugged root
#

Oh cool. In that case

near beacon
#

too many way to troll dun dun dun dun

#

well i was being honest, right?!

rugged root
#

!vban 331225317702369285 Please don't join voice chat simply to troll and be obnoxious.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice ban to @near beacon permanently.

near beacon
#

i assure you sir it won't happen again

#

alrighty?

wintry pier
#

i wanna request model from view

rugged root
#

I don't believe that

near beacon
#

it will

#

i am a man of my word

wintry pier
#

but tell me is not attribut

near beacon
#

alrighty

#

you know what

#

screw you all

olive hedge
wintry pier
#

!!

#

no one

#

no any

terse needle
#

@swift valley what wm is that? looks nice

wintry pier
#

python is bad ass

#

exact word and styntax

#

syntax

#

like copie past

swift valley
#

Pattern matching

primal yacht
#

Computers cannot just "guess" what you meant.
IDEs are partially good at it, but only if they are properly coded to guess

swift valley
#

polybar is the bar up top

primal yacht
#

And what if you need to make a new file called colour.txt for a specific program yet whatever decides to forcibly fix it to color.txt each time?

#

That's why I don't use auto-correct.

brave steppe
swift valley
#

That's a separate frame

vivid palm
#

nnuuuuuuu. does it show me as connected?

swift valley
#

I love Haskell

rugged root
#

Not any more

swift valley
#

Because it just allows me to navigate code with types

#

And it's fun

whole bear
#

okay

#

i should write here

vivid palm
#

i can only connect on browser ยฏ_(ใƒ„)_/ยฏ

rugged root
#

That's weird

vivid palm
#

i reinstalled too

#

double ยฏ_(ใƒ„)_/ยฏ

past pawn
#

I installed debian on windows 10

olive hedge
#

dont post things like this here.

past pawn
#

i thought spoilers were okay?

rugged root
#

@vivid palm Just an issue with VC or connecting to Discord at all?

past pawn
#

obvs not

#

i was misinformed :(

swift valley
#

Massive codebases make me sad

olive hedge
#

!warn 599422361166413824 you have been told not to post fork bombs here before, this is never appropriate.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied warning to @past pawn.

past pawn
#

ok

honest pier
#

๐Ÿด ๐Ÿ’ฃ

olive hedge
#

yer banned, kiddo /s

past pawn
#

lol

olive hedge
past pawn
#

but hang on a second...

honest pier
#

hm?

#

naptime

past pawn
swift valley
#

Stable is out this October

rugged root
#

Laaaaaaaaaaame

#

!stream 844265279219302492

wise cargoBOT
#

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

past pawn
#

alright, defuse with cute crocodile

swift valley
#

voice-chat more like stream-chat

brave steppe
#

yusss

swift valley
#

Unlimited bandwidth power

terse needle
#
    // Custom raylib color palette for amazing visuals
    #define LIGHTGRAY  (Color){ 200, 200, 200, 255 }        // Light Gray
    #define GRAY       (Color){ 130, 130, 130, 255 }        // Gray
    #define DARKGRAY   (Color){ 80, 80, 80, 255 }           // Dark Gray
    #define YELLOW     (Color){ 253, 249, 0, 255 }          // Yellow
    #define GOLD       (Color){ 255, 203, 0, 255 }          // Gold
    #define ORANGE     (Color){ 255, 161, 0, 255 }          // Orange
    #define PINK       (Color){ 255, 109, 194, 255 }        // Pink
    #define RED        (Color){ 230, 41, 55, 255 }          // Red
    #define MAROON     (Color){ 190, 33, 55, 255 }          // Maroon
    #define GREEN      (Color){ 0, 228, 48, 255 }           // Green
    #define LIME       (Color){ 0, 158, 47, 255 }           // Lime
    #define DARKGREEN  (Color){ 0, 117, 44, 255 }           // Dark Green
    #define SKYBLUE    (Color){ 102, 191, 255, 255 }        // Sky Blue
    #define BLUE       (Color){ 0, 121, 241, 255 }          // Blue
    #define DARKBLUE   (Color){ 0, 82, 172, 255 }           // Dark Blue
    #define PURPLE     (Color){ 200, 122, 255, 255 }        // Purple
    #define VIOLET     (Color){ 135, 60, 190, 255 }         // Violet
    #define DARKPURPLE (Color){ 112, 31, 126, 255 }         // Dark Purple
    #define BEIGE      (Color){ 211, 176, 131, 255 }        // Beige
    #define BROWN      (Color){ 127, 106, 79, 255 }         // Brown
    #define DARKBROWN  (Color){ 76, 63, 47, 255 }           // Dark Brown

    #define WHITE      (Color){ 255, 255, 255, 255 }        // White
    #define BLACK      (Color){ 0, 0, 0, 255 }              // Black
    #define BLANK      (Color){ 0, 0, 0, 0 }                // Transparent
    #define MAGENTA    (Color){ 255, 0, 255, 255 }          // Magenta
    #define RAYWHITE   (Color){ 245, 245, 245, 255 }        // Ray White
past pawn
#

4 streams what

brave steppe
#

yup

past pawn
#

ayyyyy

swift valley
#

Is this a new record

swift valley
#

I'm genuinely hungry though, I might grab some snacks

#

By snacks I mean rice and sausages

past pawn
#

*she'll probably walk on the keyboard if I call her up though

green bone
#

@brave steppe why are you trying to put Final into parameter annotation?

past pawn
#

so there would be some rather pog messages

swift valley
#

I'm too hungry to continue

#

See ya'll later

past pawn
#

like m repeated about 80 times

green bone
#

@brave steppe supporting string-based enums would be pretty cool

#

yes

past pawn
#

using actual type hints for annotations?

#

what is Bluenix making?

#

@brave steppe I see some type hint dependancy there

brave steppe
#

So I am making a like webhook-based Discord wrapper, with interactions.

#

I am doing introspection and reading the annotations of arguments, so that I can generate a payload to send to Discord

past pawn
#

!e would it work in my annotations-hacked environment defined as such? ```py
from future import annotations
from ctypes import*
flogbals = py_object.from_address(id(globals())+8).value
name = 'Throwable'

class TypeException(TypeError):
def init(self, message):
super().init(message)
py_object.from_address(id(globals())+8).value=flogbals

class annotations(metaclass=lambda*a:type(*a)()):
() = queue = []
() = type_hints = {}
def setitem(self, cls_name, name):
if name in self.type_hints:
()=self.queue[:]=()
raise TypeException(f'Variable '{name}' already declared as '{self.type_hints[name]}'.')
if not self.queue:
self.type_hints[name] = globals()[cls_name]
return
cls, value = self.queue.pop(0)
self.type_hints.update({name:cls})
if cls==cls_name:raise NameError(f'Type {cls} not found')
dict.update(globals(),{name:cls(value)})

class globals(dict):
def missing(self, key):
return builtins.dict.get(key,key)
def setitem(self, key, value):
if key in annotations.type_hints:
dict.update(globals(), {key:annotations.type_hintskey})
return
annotations.queue+=[(globals()[key], value)]

py_object.from_address(id(globals())+8).value=globals

str: n
n = 6
str: m = 9
int: result = n + m
print(result, end='\n\nThis will make error: ')
str: result = 420 # eror

wise cargoBOT
#

@past pawn :x: Your eval job has completed with return code 1.

001 | 69
002 | 
003 | This will make error: Traceback (most recent call last):
004 |   File "<string>", line 43, in <module>
005 |   File "<string>", line 17, in __setitem__
006 | Throwable.TypeException: Variable 'result' already declared as '<class 'int'>'.
brave steppe
#

pls no

past pawn
#

it's a bit of a wall of text

#

but

#

that is undeniably Java style

#

only coerce on error, which is kinda like R

tiny socket
past pawn
#

Me reading my own code written during a big brain moment:

rugged root
#
def create():

# as opposed to 

def create()
brave steppe
#

: <- this

rugged root
#

@whole bear []

brave steppe
#

turtles = []

gloomy vigil
#

new upvote emote?

#

:mh This:

#

hmm ;-;

rugged root
#

It's from the Monster Hunter server

#

It's just my fave

gloomy vigil
rugged root
#

In game yeah

gloomy vigil
#

lol

rugged root
#

Unless we're counting computer gremlins

#

In which case also yes

gloomy vigil
#

monsters reminds me of monster univertsity

#

i will join back in 10 mins guys

celest pecan
#

There is no emoji for that yet

rugged root
#

For which?

celest pecan
#

Science don't achieve that

#

Yet

rugged root
#

So you can set it to generate the .pst files on the regular

#

But there's also this article

#

So I'm not sure which is the relevant one

vivid palm
#

but i think when i also ran out space last year i impatiently just permanently deleted a bunch of emails lol

celest pecan
#

What is this

vivid palm
rugged root
#

!resources @whole bear We've also got a bunch of good resources on the site. Under the Read category, we usually suggest "A Byte of Python" or "Automate the Boring Stuff"

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.

rugged root
#
# Python 2.7
print "Hello, World!"

# Python 3
print("Hello, World!")
gentle flint
#

3 format will also work in 2 iirc

rugged root
brave steppe
#

I guess if it was enum.IntEnum you'd expect the latter?

sweet lodge
#

Some experts will tell you that the human eye can see between 30 and 60 frames per second. Some maintain that itโ€™s not really possible for the human eye to perceive more than 60 frames per second.

60ish then

green bone
green bone
sweet lodge
brave steppe
#

Or well, I guess I can with an and

honest pier
#

@rugged root ๐Ÿ‘‹

rugged root
#

Yo. Sadly I have to bail and do an errand run

stuck furnace
#

Hello? ๐Ÿ‘€

#

What am I being volunteered for? ๐Ÿ˜„

#

Ah, the issue is you define the function after calling it.

#

Python goes line by line from top to bottom of the file.

#

๐ŸŽ‰

#

You need to un-indent the function.

devout mountain
#

@whole rover

past pawn
#

!e ```py
() = a = ()
print(a)

wise cargoBOT
#

@past pawn :white_check_mark: Your eval job has completed with return code 0.

()
past pawn
#

That's how you assign a tuple with attitude

rich gyro
dire ivy
#

hi

whole bear
#

hi I just joined the server and I am here to learn python so can anyone help me ?

#

thanks bro

#

yeah sure

past pawn
past pawn
#

!e ```py
() = [] = a = () = {}
print(a) # {}

wise cargoBOT
#

@past pawn :white_check_mark: Your eval job has completed with return code 0.

{}
past pawn
#

!e ```py
() = ()
print(())

wise cargoBOT
#

@past pawn :white_check_mark: Your eval job has completed with return code 0.

()
swift valley
#

Good evening

rugged root
#

Back in a sec

crimson copper
#

1

rugged root
#

Har dee har

crimson copper
#

๐Ÿ˜‚ ๐Ÿ˜‚ ๐Ÿ˜‚

swift valley
rugged root
sweet lodge
#

Morning

#

It's... fine?

vast pebble
#

nothing went wrong

swift valley
#

I really like vertical tabs

languid ember
#

hi @rugged root

swift valley
#

But my screen real estate is so limited on 13" screen

languid ember
#

good

swift valley
#

I'm thinking of getting a proper ThinkPad laptop

#

At least something powerful enough to be a portable compile machine

honest pier
#

get an x1 carbon ๐Ÿ‘€

languid ember
#

its basically something im making for a friend

swift valley
#

AWS can do it

shrewd rain
#

hello from russia

swift valley
#

Yeah, although the logistics of having a similar-enough environment to build against is a bit of a pain

rugged root
swift valley
#

Which is actually something that NixOS solves

#

I talked about it before actually

#

It's quite nice, and I'll be switching to it soon-ish

rugged root
swift valley
#

I honestly just want to switch distros without fucking up my /home partition for some reason

shrewd rain
#

why can't you tell other people here?

swift valley
#

If I install a new OS on /, then have the same username and password, will I keep ownership of /home?

shrewd rain
#

why is there a voice mut?

#

ะพะบ

rugged root
#

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

swift valley
#

I think all you need is an identical /etc/passwd right?

sweet lodge
#
bradleyreynolds@5CD042JKKK:/mnt/c/Users/BradleyReynolds$ id
uid=1000(bradleyreynolds) gid=1000(bradleyreynolds) groups=1000(bradleyreynolds),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),117(netdev),1001(docker)
#

Wouldn't just the uid [and gid] need to be the same?

primal yacht
#

But!

#

Some things per distro will be different (config files)

swift valley
#

My old flash drive still has the Manjaro installation media on it from last year lol

#

Never bothered scrubbing it off

primal yacht
#

So it is safer to mount it somewhere else to access it.

#

@swift valley ^

swift valley
#

Right

#

I think I'll just wipe it full, I'll need to bump up my partitions by 30 GBs each anyways

#

Also my ping is too high to stream ;-;

rugged root
#

Laaaaaame

swift valley
#

I'll just do some more source diving

#

I found a way to extract type information in my project now so that's cool

#

Basically I just hook into the documentation generator and use the stuff that it pulls out

#

Never had a bagel

primal yacht
#

Morning everyone

swift valley
#

Good evening

primal yacht
#

I love how the automatic US English subtitles came out of this: https://www.youtube.com/watch?v=TqoJAyt4NQ4

An original vocal arrangement of the Gerudo Valley theme from Zelda OOT.

Catch me live on Twitch! โ–บ https://www.twitch.tv/smoothmcgroove

โ—Become my Patron: http://www.patreon.com/SmoothMcGroove
โ—Join my Discord server โ–บ https://discord.gg/0qszWYeoeYBNXpHX
โ—Download my albums on iTunes: http://bit.ly/1rTxp0a
โ—Download this song on Bandcamp: htt...

โ–ถ Play video
rugged root
#

brb

swift valley
#
Response = Any
vague island
#

hey i wanna to seperate line having specific character by any text file

vague island
#

which channel i supposed to go

primal yacht
#

</partial-humor>

swift valley
#

On the topic of APIs and static typing, it really just is futile unless the API itself follows static guarantees

swift valley
#

I strongly dislike the practice of union types in JS

primal yacht
#

I never heard of that in JavaScript

swift valley
#

When some function demands multiple types for a single argument then dispatching based on that

#

Except not in TypeScript

#

It's just hard to model in statically-typed languages

gloomy vigil
#
from flask import Flask, request, jsonify

app = Flask(__name__)
@app.route('/', methods=['POST'])
def my_command():
    if request.json["type"] == 1:
        return jsonify({
            "type": 1
        })
app.run()
rugged root
#

Okay be right back again

#

Something tells me I'm not going to be at my desk very much today

primal yacht
#
// arr.join(/*optional*/ joiner)
[ 'foo', 'bar', 'baz' ].join(); // 'foo,bar,baz'
[ 1, 2, 3 ].join(0); // '10203'
// anything that pretty much is valid for string concatenation
#

But insert something like a Symbol anywhere (one of the elements or the join argument) and it errors out

shrewd rain
#

Katie is not Katya?

swift valley
#

I refuse to return to dynamic languages

tiny socket
#

js is great.

> [1,2,3].join(Object)
'1function Object() { [native code] }2function Object() { [native code] }3'
swift valley
#

Unless it's Erlang, which feels more static than it is dynamic

#

You're more likely to run into an error rather than undefined behaviour if you mess something up

#

And being the closed system that it is, the design is really, really, well-made

primal yacht
#
['x','y','z'].join({
  [Symbol.toPrimitive] (hint) {
    return Math.floor(Math.random() * 1000);
  }
})
swift valley
#

why is this a thing

> let xs = [1, 2, 3]
undefined
> for (x in xs) {
... console.log(typeof x);
... }
string
string
string
undefined
> for (x of xs) {
... console.log(typeof x);
... }
number
number
number
#

Terrible language design is terrible

primal yacht
#
> let arr = [ 'a', 'b', 'c' ];
undefined
> Object.keys(arr);
['0', '1', '2']
> arr.spam = 'eggs';
'eggs'
> Object.keys(arr);
['0', '1', '2', 'spam']
swift valley
#

Language baggage is pain

#

just use PureScript

primal yacht
#
console.log(Object.getOwnPropertyNames(Array.prototype));
console.log(Object.getOwnPropertySymbols(Array.prototype));
swift valley
#

@rugged root ReScript is the one with React bindings right?

#

ah

#

We have fun React bindings

primal yacht
#
for (value of iterable/*[Symbol.iterable]()*/) {
  // blah
}
rugged root
primal yacht
#
> Array.prototype[Symbol.unscopables]
[Object: null prototype] {
  copyWithin: true,
  entries: true,
  fill: true,
  find: true,
  findIndex: true,
  includes: true,
  keys: true,
  values: true }
swift valley
#

NO

#

I think I've eaten more sorbet than softserve

#

The most common type of ice cream here is called sorbetes and you can eat it with bread

honest pier
swift valley
#

It's pretty good

rugged root
#

Huh

#

I've never seen that on bread

swift valley
#

Now I'm hungry for dessert

primal yacht
#

ECMA-262

swift valley
#

Another favorite of mine is buko pandan

#

Basically coconut meat, gelatin, and condensed milk

#

Let's see what else

somber heath
#

Is that...sugo or whatever? The little bead things.

primal yacht
#

bubbles?

somber heath
#

Oh, I suppose.

#

But there's this thing that's used in puddings.

swift valley
somber heath
#

Sago. That's the one.

swift valley
#

How about

#

Caramel Custard

#

It's Leche Flan yeah

somber heath
#

Flange.

grim tartan
#

Its like pudi?

#

pudim?

swift valley
#

It's pudding, basically

primal yacht
#

d'awwweeeeee Heart

grim tartan
#

cute

somber heath
#

New pandemic lockdown hoarding trend: Shaggy coconuts.

primal yacht
grim tartan
#

the carrot seems great

primal yacht
swift valley
#

The worst realization I've had just now is the big sus lettering on the bottom of my coffee tumbler

#

not like this

somber heath
#

Ewenicorn.

coarse cape
#

SUP KATIE

#

im back

primal yacht
#

Tamara Gasparyan#9859

coarse cape
#

SUP HEMLOCK

grim tartan
#

By guys. I'll take my food.

coarse cape
#

cya

rugged root
coarse cape
#

do you guys meet every day at this time

swift valley
#

Except on weekends

coarse cape
#

ah

#

can someone stream

#

^-^

honest pier
#

what do you wanna watch lol

swift valley
#

I'll only stream Haskell though