#voice-chat-text-0

1 messages · Page 586 of 1

wheat wolf
#

he isnt 40

#

i feel mentioned

leaden comet
gloomy pagoda
#

I like ur keyboard clicks

whole bear
#

.

gloomy pagoda
#

yes, more, more!

whole bear
#

MORE

gloomy pagoda
#

CLICK IT MOOOOOOOOREEEEEE

wheat wolf
#

huh

#

😄

errant helm
wheat wolf
#

i dont

#

shame on me

#

oh gosh

hot shuttle
#

It's beautiful

wheat wolf
#

its basically lemon without beard

hot shuttle
#

He's manually typing an RSA public key

wheat wolf
#

no we all are here

#

we listen to you

gloomy pagoda
#

vewy wmusing

wheat wolf
#

exactly

hot shuttle
#

Just watched a movie, the space between us

#

There was a fricking car hijacking app

#

And they used it, right before they were spotted

#

I can just imagine, them trying to use that app in 2018

#

"Alright hijacking"

#

"Hurry up! They're almost done"

#

"Hold on, there's an ad"

#

"THEY'RE COMMING"

#

"Almost done, 5, 4, 3.. whoops, I clicked the screen, it's showing me the app..."

gloomy pagoda
#

wat

hot shuttle
#

In my mind, that's what should have happened

gloomy pagoda
#

wat

wheat wolf
#

i want to see it
send pics

#

i want to see my creation

#

WORKS

wheat wolf
#

i told you

#

yaaay

#

ITS ALIVE

#

FINALLY

#

i know one

#

@leaden comet

#

interpreter output

#

yay

#

still

#

interpreter output

#

repl

#

like zis

#
>>> def func():
...  print(1)
...  print(3)
... 
>>> 
#

@errant helm

#

i already implemented a parser

#

lemon said its out of scope for this pr

#

that wont work

#

i have the parser here

#

no

#

but

#
import ast

example_string = """
>>> import this
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
>>> def example():
...  print("Hi")
...  print("multiline")
...  if 1:
...   print("if")
...
>>> example()
Hi
multiline
if
>>>
"""

example_string = example_string.splitlines()
example_string = [substr for substr in example_string if substr]
final = ""
index = 0
print(example_string)
while index != len(example_string)-1:
    line = example_string[index]
    if line.startswith(">>>") or line.startswith("..."):
        if line.startswith("..."):
            line = line[3:]
        else:
            line = line[4:]
        final += line+"\n"
        while 1:
            if line.startswith(">>>") or line.startswith("..."):
                break
            index += 1
            line = example_string[index]

print(final)
#

this one would work

#

(it does)

#

its literally in my "Experiments" folder

leaden comet
#

line.lstrip('>.')

wheat wolf
#

....

#

damn

#

lets see

#

i dont think so

leaden comet
#

if line.startswith(">>>") or line.startswith("..."):

wheat wolf
#

i guess its faster than mine

#

2000 words

#

ääh

#

chars

#

maybe

#

300 lines or sth

#

i saw one or two repl outputs since i am here

#

ok

#

still would have to figure out if its even console output cause if its not console code it would remove every line of code

#

well every line which hasnt a ... or >>> infront gets removed

#

MORE REGEX

#

!!!!

#

sure

#

yes

#

right

#

graceful failure

#

never heard of that

#

oh

#

that

#

thats an idea... send emails to users saying the didnt format their code

#

the codeblock newsletter

#

every week a new highlighter

hot shuttle
#

The email will contain Aperture's latest meme about joseph.

wheat wolf
#

thats a good idea

#

meme + highlighter of the week

#

@south cosmos you think you can do one joph mem a week?

#

helpers may help 😱

hot shuttle
#

The email will include a phishing link containing js script that installs josephy on the browser

wheat wolf
#

YES

#

BEST IDEA EVER

#

no josephify is great

hot shuttle
#

it needs to replace all images with joseph

wheat wolf
#

are you really discussing how to get a server internal joke to the public?

#

oh

#

oooh

#

sick

#

totally

#

lemon uses is mystic norwegian clairvoyant abilities in order to predict our future

hot shuttle
#

Facebook VR

wheat wolf
#

@leaden comet predict our future

hot shuttle
#

When your grandma has a VR headset for Facebook, and you don't even have a decent computer

wheat wolf
#

do you

#

aha

#

ofc you do

#

that would be nice

#

we occupy reddit

#

wait whats the current user limit for discord servers?

#

there is one

#

yes

#

i remember some servers going down because of it

#

aaah

#

online

#

i see

#

we will just get problems during the spike hours

hot shuttle
#

That's weird

#

No member limit, but online member limit

wheat wolf
#

use your norwegian clairvoyant abilities

#

so uuuh

#

did i get merged?

#

no i didnt

hot shuttle
#

When adding logging

wheat wolf
#

uuuuuh

hot shuttle
#

deciding whether to make it info or debug, is hard

wheat wolf
#

why the change of opinion?

#

ok

#

wait

#

we never checked

#

does it filter

#

does the regex filter

#

DAMN

#

god fkin damn it

#

we tested it on regex101

#

why doesnt it work here

#

but what is happening

#

what does re.search return

#

what did i do

leaden comet
#
if re.search(msg, "\`\`\`(python|py)\n((?:.*\n*)+)\`\`\`", re.IGNORECASE):
hot shuttle
#

What's a better way to say this: py log.warning("ClientWorker not connected to client, hence it can't die.")

wheat wolf
#

😄

#

a lot

#

i tell you

#

huh

#

no

hot shuttle
#

Maybe I should add ", because i am immortal"

wheat wolf
#

whats the problem

#

i cant see it

leaden comet
wheat wolf
#

uuuuuhhhh

#

no

#

😦

#

Oh

#

damn

#

wait wait

#

i wanna look sth up

#

ok

#

ill fix

#

pushed

#

lemon is punishing his keyboard again

#

bless you

hot shuttle
#

BREATH

wheat wolf
#

so @leaden comet i pushed, something else?

leaden comet
#

@hot shuttle *BREATHE

wheat wolf
#

😄

#

hurray

#

starts chanting squerge

hot shuttle
#

Finished adding logging events

#

that was fun

wheat wolf
#

huh

#

damn so our regex matches more than we thought

#

right

#

just checked on regex101

#

ähm?

#

gdude

#

yaay

#

i dont understand why i am still here

#

if we have an afk channel

#

no i mean

#

discord automoves you doesnt it?

#

what am i doing

#

whats ok

#

tell us

#

😢

#

my code is bad?

#

ooh

#

i remember

#

i am everywhere

#

i killed something

#

i destroyed lemons console

#

at least i did something

#

yaaaaay

#

my chance of having done something wrong just halfed

#

thats the good thing

#

yes

#

i have two methods

#

one works

#

so halfed

#

me too

#

hopefully you guys fucked something this time

errant helm
wheat wolf
#

dafuq

#

civil war on drugs?

hot shuttle
#
INFO:root:Exception hook changed to: <function print_exception at 0x05515930>.
DEBUG:root:QServer instance finished initialization.
DEBUG:root:Event handler for CONNECTION added.
DEBUG:root:Event handler for NAME added.
DEBUG:root:Event handler for MSG added.
DEBUG:root:Event handler for ERROR added.
Starting Program
DEBUG:root:Server has binded to the computer in port 5421
DEBUG:root:Starting connection loop.
INFO:root:New connection ('127.0.0.1', 59278)
DEBUG:root:Finished ClientWorker initialization.
New connection! ('127.0.0.1', 59278)
INFO:root:Worker loop started, looking for data.
DEBUG:root:<('127.0.0.1', 59278):<socket.socket fd=488, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 5421), raddr=('127.0.0.1', 59278)> [Open]> copied to proxy ClientWorker
DEBUG:root:Threaded event CONNECTION from <('127.0.0.1', 59278):<socket.socket fd=488, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 5421), raddr=('127.0.0.1', 59278)> [Open]> started.
DEBUG:root:Worker for connection ('127.0.0.1', 59278) created
DEBUG:root:Data sent to client, 78 bytes``` never enough log
wheat wolf
#

shit

leaden comet
hot shuttle
#

My quick-connect lib

#

Adding logging features

errant helm
leaden comet
#

yeeeaah.

#

even I'm getting it

wheat wolf
#

SAME

#

bad lemon

errant helm
wheat wolf
#

NOPE

errant helm
wheat wolf
#

i dont want to get flash

#

flash is evil

#

well

#

not flash itself

hot shuttle
#
You: How are you?
DEBUG:root:Information sent to server, 46 bytes.
DEBUG:root:Received data from server, 61 bytes.
DEBUG:root:<QClient(Thread-1, started 8032)> copied to proxy ClientWorker
DEBUG:root:Threaded event NEW_MSG from <QClient(Thread-1, started 8032)> started.
You: I'm great, thanks
DEBUG:root:Information sent to server, 76 bytes.
DEBUG:root:Received data from server, 91 bytes.
You: this could be a much better example than it is.
DEBUG:root:<QClient(Thread-1, started 8032)> copied to proxy ClientWorker
DEBUG:root:Threaded event NEW_MSG from <QClient(Thread-1, started 8032)> started.
``` feels goooood
#

gtg, dinner

wheat wolf
#

there goes zwack

#

so lemon

#

found it?

#

oh no

#

i never really understood why people played club penguin

#

or why it got shutdown

errant helm
wheat wolf
#

aha

#

huh how can it be always on cooldown

#

yes we need a test channel

#

more channels are always a good idea

#

i want access

#

😦

#

why dont i get access? (or rather why dont contrib get access)

#

do we

#

i dont

#

"secret things"

#

how secret could they be

#

wipe it

#

make

#

dev-contrib-test

#

oh

#

i know why

#

i basically sliced the codeblock stripping out

#

leaving one ident

#

so i guess next up is a linter

#

with lemon levels from 1-6

#

and the higher the harder the feedback gets

#

@leaden comet

#

oh

#

i cant write

#

its too late

#

so i basically had

#
def shit():
      if shit:
           try:
                shit
           except:
                shit

and i sliced the if

#

i dont want to hurt people

#

it doesnt work

#

well

#

it does üoegüojragnasfdjngpjsfankjfngkds

#

.......

#

wow

leaden comet
#
on_cooldown = time.time() - self.channel_cooldowns[msg.channel.id] > 300

self.channel_cooldowns[msg.channel.id] is initialized as 0. time - 0 is a high number which is higher than 300.

#

this logic is wrong

#

fix it and push

wheat wolf
#

yes because i just typed on my keyboard randomly and there are äöü as keys on a german keyboard

#

YES

#

right

#

on the right side

#

me neither

#

i didnt change

#

magic

#

i mean

#

it worked for me on my server

#

thats weird

#

why did it work

#

i remember we already had this discussion

#

ok so change to less

#

ok i pushed

leaden comet
#
if python:
  break.legs()
a = 4
b = 2
wheat wolf
#

damn it

#

what changed

#

no

leaden comet
#

a = 1
b = 2
if a == b:
print("internet")

wheat wolf
#

i dont like zis

#

we changed regex and cool down

#

it should

#

its ast

#

no no

#

ast doesnt eval

#

it just turns it into an AST

#

code module is based on AST isnt it

#

yes i know

#

but they are based on AST arent they?

hot shuttle
#
if not True:
  print("The world is falling apart")```
wheat wolf
#

weell

#

debug prints

hot shuttle
#

oh no, I'm turning into pastebin, randomly sharing python snippets

wheat wolf
#

repl

hot shuttle
#

No, he means __repr__

leaden comet
#

repr()

hot shuttle
#

yeah, you can

#

lol

#

Doesn't str use __repr__ if it's available?

#

nvm

#
>>> t
REPR
>>> str(t)
'STR'
>>> repr(t)
'REPR'
>>>```
wheat wolf
#

we are

#
>>> ast.parse(x)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 3
    break.legs()
         ^
leaden comet
#
>>> ast.parse("break.legs()")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.6/ast.py", line 35, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 1
    break.legs()
         ^
SyntaxError: invalid syntax
wheat wolf
#

doe we maybe have to change some mode

#

its the default one

#

exec is default

#

what?

#

oh

#

we are idiots

#

lemon you scared us all

#

no the parser will catch break

errant helm
#
>>> break = "legs"
  File "<stdin>", line 1
    break = "legs"
          ^
SyntaxError: invalid syntax
wheat wolf
#

break will always be a keyword

#

its the parser's nature

#

accept it

hot shuttle
#

lol

wheat wolf
#

true

#

i know some guys who hate python for its quote "no option to compile it into a binary and types always changing" but love PHP, I mean the types dont change and PHP does the same things wrong doesnt it?

#

paradox

#

weird people

#

do I

#

i dunno

#

you said that

#

oh

errant helm
wheat wolf
#

sounds sad

#

who would write a parser supporint this syntax

function &r(&$v){return $v;}
#

FINALLY

errant helm
wheat wolf
#

i am

#

i have books about compilers and shit

#

actually the only cs books i have

#

lol

#

makes sense.....

#

magic

hot shuttle
#

That happened to me in python

wheat wolf
#

parser magic

hot shuttle
#

I did something very bad

wheat wolf
#

lets look the source code of php up

#

and compare its parser to pythons

#

e

errant helm
wheat wolf
#

whats M4?

#

github says 0.5 percent m4

#

ok so

#

i cant even find something like a grammar in php source

hot shuttle
#

lmao

wheat wolf
#

why

#

have a function to create functions

#

why would people even use that

#

its a php thing

#

lol

#

that

#

explains a lot of shit in the source

#

the stdlib is quite small

#

java too

errant helm
#
var_dump("61529519452809720693702583126814" == "61529519452809720000000000000000");

-> bool(true)
wheat wolf
#

the sort thing is true

#

i dont like that source changes lists directly

errant helm
#

sorted(iter)

wheat wolf
#

just write you own algorithm for sorting

#

sort from gcc sounds and looks weird

#

sorting algorithm sounds good too

#

ok

#

ill check it out

#

what is a classic lemon style

#

ah that one

#

well you are doing about 90% of my request changes

#

so "classic lemon" is normal for me

#

publish a book on that

#

you did once

#

on me

#

yes i did

#

i did confused

#

when you said my block comment is ok

#

i was very confused

#

sorry

leaden comet
#

👌

wheat wolf
#

im shocked lemon

#
You should be better at adding blank lines above these kinds of block comments. Code feels better to read when there are natural pauses in the code. for example, above this comment I would have put a blank line.

grammar mistake

#

no capital for

#

oh YOU

#

my teachers always say

#

s ql

#

mr style master

try:

      content = self.codeblock_stripping(msg.content)
      if not content:
              return

shall this blank line stay or not

#

(you never know)

#

you would come here and kill me huh

#

sick

#

i pushed it

errant helm
wheat wolf
#

hurray

#

it has happened

#

noooooooo

#

i do

#

i dooo

leaden comet
#

./bot/cogs/bot.py:101:1: W293 blank line contains whitespace

wheat wolf
#

NO

#

never

#

ever

#

10/10

#

no it doesnt

#

fuck you

#

it doesnt

#

it actually has a plugin for startup time meassuring

#

i tried vscode

#

but i didnt like it

errant helm
wheat wolf
#

yes yes

#

too lazy to close

#

uuuh

#

it has

errant helm
wheat wolf
#

with plugins

#

it is

#

huh

#

you mean the yellow line in async

#

no docstring

#

(also a plugin)

#

i actually wrote a snekchek plugin for atom

#

but it has one download

#

ONE

#

no

#

i have clone of the git repo linked to the dev environment of atom

#

well....jython

#

but i agree

#

java and jython arent that lovely

#

yes

#

hey gdude

#

yes

#

only one slot away from a thanks

#

hääh

#

i dont get you atom

#

i saved the file

#

are you playing guitare?

#

@leaden comet

#

cause now no one is there who can stop you huh

#

ci running

#

you cutting out again and again during singing sounds very weird

#

ci is through no error @leaden comet

#

i guess you are in the "music flow"

#

finally

#

do i delete my feature branch in my fork now?

#

lets test zis

#
git push                                                    ✔  02:04:11 
Username for 'https://github.com': hargoniX       
Password for 'https://hargo@github.com': 

git is weird

#

no i mean

#

me entering hargoniX as user

#

but hargo@github.com by git

#

nope

#

i mean its git..

#

is there water in the background?

#

still a shame i cant get local tests running

#

no

#

not shady i checked that shady has icon and stuff

#

there are previous admins?

#

22 days ago

#

that could be

#

ah ok

#

night

pseudo hornet
#

That was me

#

I had my git username and stuff all messed up

wheat wolf
#

I THERE @gloomy pagoda

gloomy pagoda
#

ik

#

have hearthstone

#

do u ?

wheat wolf
#

on my windows partition

gloomy pagoda
#

wait u on mac?

wheat wolf
#

pppppfffffft

#

i would kill you for assumming this if you'd know me better

gloomy pagoda
#

im on mac

wheat wolf
#

no im on PC

#

one arch one windows partition

gloomy pagoda
#

u gat linux?

wheat wolf
#

well arch is a linux flavour

#

so yes

gloomy pagoda
#

dya wanna plai hearthstone?

#

im borred

wheat wolf
#

well i would have to change to windows for this

#

and considering im currently making the meme os generator

#

i am not entirely sure if i would want to do this

gloomy pagoda
#

dont do it if u dont want to

wheat wolf
#

currently downloading linux kernel source

gloomy pagoda
#

wat

#

y

#

NOISE BATTLE!!!

wheat wolf
#

well

#

im making a meme os generator

#

basically you give it a picture and a name and it will make some neat os out of that

gloomy pagoda
#

ohh niice

#

os

#

os...

wheat wolf
#

operating system

#

so i am currently trying to hook into the build proc in order to set the bootsplashimg

#

thats the state

#

and what are you doing? @gloomy pagoda

gloomy pagoda
#

playing hearth

wheat wolf
#

cracy

gloomy pagoda
#

im playing a tense battle rn

#

yaaaay i woon

errant helm
#

spose I'll get myself on voice

wheat wolf
#

hi guys

#

😛

#

oh no

#

shocking

#

how can you have too much stuff on like 3 screens

#

arent three screens there for not having enough

leaden comet
#

I have four screens and I'm muting this channel now.

errant helm
tranquil basalt
#

Oh

wheat wolf
#

ANOTHER ONE

tranquil basalt
#

You sound sooo

wheat wolf
#

WE are the majority now

#

muahaha

tranquil basalt
#

My accent sucks

#

So no

wheat wolf
#

OH SO YOU DO READ

tranquil basalt
#

Your voice is in a way higher pitch than I imagined @leaden comet

#

Like really

wheat wolf
#

(i thought the same)

#

you should hear him singing

tranquil basalt
#

lol

wheat wolf
#

oh gosh

tranquil basalt
#

No not like that

#

That is batman dude

wheat wolf
#

dafuq

tranquil basalt
#

No

wheat wolf
#

😱 scandinavian batman

tranquil basalt
#

More like uhm I don't know like ron swanson

#

Do you have a mustache though

wheat wolf
#

sure...

#

sure

tranquil basalt
#

Did you watch monk though

errant helm
wheat wolf
#

(and yes its lemon)

#

ok

#

partly

#

YOU READ

#

ikr

tranquil basalt
#

No I heard Lemon's voice before

wheat wolf
#

no no i dont sound bad

tranquil basalt
#

But it is singing so

wheat wolf
#

its about my mic doing loud weird noises

tranquil basalt
#

Yeah that 19 year old girl maybe sounding like a 5 year old girl

wheat wolf
#

mkay

tranquil basalt
#

But it is weird when I, 20 year old male sound like a 5 year old girl

wheat wolf
#

hello

#

can someone hear me

#

can someone hear ME

#

great

tranquil basalt
#

I think he isn't even here

#

Hear us Aperture

#

Come to Lemons voice

wheat wolf
tranquil basalt
#

wow

#

Who is the other guy

#

The green mod

wheat wolf
#

ey where is thane from

#

😛

tranquil basalt
#

Other Joseph

wheat wolf
#

@pseudo hornet come here and be bad at piano

tranquil basalt
#

It was lovely listening you guys like a creep but I'm gonna go now :3

#

Night everyone

errant helm
errant helm
#

Yikes

#

remind me never to go to america

leaden comet
#

did you all go to bed?

#

huh

wheat wolf
#

well

#

gdude left

#

so i left

wheat wolf
#

looks neat

leaden comet
#

powerlevel9k is cool as hell.

#

thanks for telling me about it.

wheat wolf
#

np

leaden comet
#

took a long time to get it like this but

#

pretty happy with it now.

wheat wolf
#

i mean you could PR your config to show your config at the repo

#

whats the sign between master and two in the second line for?

#

@leaden comet

leaden comet
#

I actually have no idea

#

I'm trying to figure it out myself :D

#

ah

#

number of stashes

wheat wolf
#

I see

little steppe
#

@wheat wolf what linux gui is that + theme?

pseudo hornet
#

damn i was too busy sleeping to join

wheat wolf
#

@little steppe you mean what lemon got there ?

errant helm
#

That's zsh with customized powerline9k if I'm not mistaken

wheat wolf
#

That is zsh with powerline9k in tilix

wheat wolf
#

hi there @gloomy pagoda

#

dont make weird noises again

gloomy pagoda
#

hi there

wheat wolf
#

A GDUDE

#

panic

#

and he has a trumpet

gloomy pagoda
#

a pony

wheat wolf
#

unicorn

gloomy pagoda
#

can play trumpet?

errant helm
gloomy pagoda
#

nani

wheat wolf
#

ey import error why are you muted

#

@gloomy pagoda

#

EXPLAIN YOURSELF

gloomy pagoda
#

i thought i was unmuted

wheat wolf
#

you arent

#

unmute yourself

gloomy pagoda
#

Nani

#

Its gdude

wheat wolf
#

ey @proven coral wake up

#

@pseudo hornet now you have the chance

pseudo hornet
#

to what

wheat wolf
#

@whole bear unmute yourself

pseudo hornet
#

woah voice chat

wheat wolf
#

YES

whole bear
#

#morsecodewithmutebutton

errant helm
#

!mute @whole bear 1h Spamming the mute button and voice connections

willow perchBOT
wheat wolf
#

(

#

)

whole bear
#

lol, muted

odd sequoia
#

o/

wheat wolf
#

mart we are doing amazing stuff

#

we figured out discordpy is shit

sand laurel
#

why is it shit

wheat wolf
#

reasons

#

contribute to our bot then you get access to the contrib channel

#

there is discussion about it

sand laurel
#

Where's the bot

wheat wolf
hot shuttle
#

You can also contribute to the site 😛

sand laurel
#

what do u want me to contrib

wheat wolf
#

think of something

#

or

#

take a look the two issues

errant helm
#

If you join voice, we'll tell you :P

sand laurel
#

ayylmao

#

@whole bear

#

ayylmao

#

uhhhh

whole rover
#

i know right

errant helm
#

we voice, joph

sand laurel
#

Why is my default input system sounds

whole rover
#

we do voice there is an idea

#

let me go to my room

wheat wolf
#

ok i unplugged it

#

i cant hear anything

sand laurel
#

lmao

wheat wolf
#

but you cant hear me

sand laurel
#

You can just mute yourself smh

wheat wolf
#

(thats the reason i never wanted to unmute my self )

#

I CAN

#

lik

#

1 out of 10

#

ITS JOPH

#

hii @whole rover

#

ITS MAGIC

#

no magic

sand laurel
#

Wait can you repeat that thing about print

whole rover
#

what

#

do i

sand laurel
#

I missed it because I got a reminder

wheat wolf
#

we print

whole rover
#

did you sign me up to something again

wheat wolf
#

and it does work

whole rover
#

okay wait one sec

wheat wolf
#

hey @errant helm may in unmute myself

whole rover
#

i plaster that all over the world

#

even my teacher uses that

#

yeah i love attention

wheat wolf
#

oh

#

jophs mail

whole rover
#

great will make sure to mark as spam

wheat wolf
#

lets set up some spam bot.....

sand laurel
#

Are you sure and ctx.command.name == "accept" this isn't causing it

wheat wolf
#

1 out of 10

whole rover
#

that's racist

#

tbh

sand laurel
#

oh

#

hmm

wheat wolf
#

im just going to unmute myself

sand laurel
#

Great yeems

wheat wolf
#

you have been warned

sand laurel
#

oh no

whole rover
#

i am trying

odd sequoia
#

fuck off joseph :^)

sand laurel
#

:⁾

whole rover
#

instructions unclear, dick stuck in ceiling fan

odd sequoia
#

I had that happen once

gloomy pagoda
#

dick chopped off**

sand laurel
#

ok let me clone the bot

odd sequoia
#

it's not a nice feeling

whole rover
#

nix ur not in the loop

#

nah fam

#

trying to login to mail

odd sequoia
#

ceiling fan dropped from the ceiling

whole rover
#

wait i can just use phone

odd sequoia
#

fsr

sand laurel
#

My theme is completely broken

whole rover
#

karma got me bad

#

i called someone short and broke my knee

#

lmao

sand laurel
#

rip icons

whole rover
#

yeah that's because gdude sucks

#

no

#

i can't

sand laurel
#

I'm using an ILLEGAL CLIENT MODIFICATION

whole rover
#

mic broken

sand laurel
#

I am in risk of being BANNED

#

!!!

odd sequoia
#

which

sand laurel
#

Beautifuldiscord

odd sequoia
#

that one's fine

sand laurel
#

Apparently not

sand laurel
#

All client modifications are deemed equal

#

wait what

#

Honestly

whole rover
#

LOL

cosmic agate
#

Do not trust that.

sand laurel
#

Discord seems to have no in-house communication

#

Their "official" thing right now is that all client modifications are illegal

errant helm
odd sequoia
errant helm
#

@cosmic agate if you're gonna chat in here, join voice

#

:P

odd sequoia
#

This is what jake told me after unlocking my account

#

cause I was using DI

sand laurel
#

Yeah I trust Jake the most on this t b q h

whole rover
#

jake's a lad

#

no he's not

#

Jason is the CEO

#

Jake is SRA or something

#

wait no that's Andrei

#

lol

#

Nah fam Jake's just a dev

wheat wolf
#
discord.internal_comm.update_policy("client_mod",False)
AttributeError: type object 'discord' has no attribute 'internal_comm'
sand laurel
#

Jake Heinz Software Engineer

#

Precision German Software Engineering

gloomy pagoda
#

heinz

whole rover
#

i broke pulseaudio

#

whoops

#

E: [pulseaudio] main.c: Daemon startup failed.

#

what

sand laurel
#

gj

#

Install windows

#

:⁾

whole rover
#

lmao i killall'd pulseaudio and it's still there

sand laurel
#

time to reinstall

#

Install apt and install it from there 😃

whole rover
#

nah fam i lost my windows product key ages ago

gloomy pagoda
#

nix makes asmr videos

sand laurel
#

LMFAO

whole rover
#

@errant helm say something

#

what did i do

sand laurel
#

why arent yall using pipenv s m h

whole rover
#

I DON'T KNOW WHAT AN AUDIO IS ANYMORE

sand laurel
#

pipenv is great

#

I managed to "break" it by being an idiot

#

and not understanding what I was doing

#

It def works

#

Use discord-curious 😃

#

😃 = /s

whole rover
#

curio 🤔

sand laurel
#

Yeah you can use curio or trio with it

whole rover
#

yeah i had the 🤔 because i have no clue what curio is

sand laurel
#

because it uses asyncio

#

Laura wrote a blogpost about that actually lol

#

let me look it up

#

yes

#

Shes the #1 anti-asyncio shill

#

Though point 1 is really valid

whole rover
#

Personally I prefer gevent

gloomy pagoda
#

yes, yes, BLOW INTO THE MIC MOREE!!!

sand laurel
#

I just write my own thing smg

#

its like 4 lines

#

Ban nix

whole rover
#

multiprocessing tbh

sand laurel
#

I am never unmuting him

whole rover
#

E: [pulseaudio] main.c: Failed to kill daemon: No such process

#

AAAAAAAAAAAa

gloomy pagoda
#

aww im too late to join 😦

sand laurel
#

They're actually removing the explicit even loop passing

#

sec

#

Thanks

#

That wasn't nix

gloomy pagoda
#

more pls

sand laurel
#

I have nix muted

#

Couldn't have been nix

#

Also I just realized

whole rover
#

the green ring is PTT

#

it's not my mic

sand laurel
#

I'm no longer getting No route when trying to voice

#

🤔

whole rover
#

I am trying

#

I don't know Shady

#

I really don't know

sand laurel
whole rover
#

i always pronounced gnome guh nome

#

hell yes

sand laurel
#

how do I run the bot

whole rover
#

wiki

sand laurel
#

oh it has a main

#

didnt notice that

#

I'm just gonna mock them tbh

whole rover
#

yeah whoever is making that noise

#

shut the heck up

wheat wolf
whole rover
#

i will take action

sand laurel
#

What's clickup

whole rover
#

basically Trello

sand laurel
#

What's papertrail

whole rover
#

same concept

#

log tracker

#

i like whooping my volume up to 420% and listening to gdude's breathing

#

yeah that was some thing i found online

sand laurel
#
>>> async def wow():
...     return "I am cool"
... 
>>> def run(coro):
...     try:
...         coro.send(None)
...     except StopIteration as e:
...         return e.value
... 
>>> run(wow())
'I am cool'
```who needs asyncio
whole rover
#

pulseaudio output is absolutely fine

#

the issue is input

#

hmm

#

that might be an idea

sand laurel
#

what

#

this is how coroutines work

whole rover
#

the sound settings for GNOME would be in the gnome-settings thing right?

#

i know but i can use it's config panel

pseudo hornet
#

its*

whole rover
#

shut

sand laurel
#

lmfao

whole rover
#

i feel abused, harassed, offended and more

sand laurel
#

what was I doing

whole rover
#

who is breathing on their mic

#

nix shush

sand laurel
#

just mute nix

#

instantly better

whole rover
#

oh damn

#

good plan

#

nearly server muted lmfao

sand laurel
#

would that been that bad tbh

whole rover
#

grammar 100

wheat wolf
#

^^

sand laurel
#

I missed a have

pseudo hornet
#

james whereas john had had had had had had had had had had had the higher mark

sand laurel
#

Warning: Your Pipfile now contains pinned versions, if your requirements.txt did. We recommend updating your Pipfile to specify the "*" version, instead.

#

hmm

#

pinned versions are only good if they're broken otherwise

gloomy pagoda
#

i

sand laurel
#

well then you pin it afterwards

#

I accidentally quit pycharm

whole rover
#

killall pycharm

#

shit i killed pycharm

gloomy pagoda
#

u kill pycharm, me kill u

whole rover
#

killall python

wheat wolf
#

dont you dare

sand laurel
#

I was wondering why pycharm wouldnt find my packages then I realized I had 2 nearly identical venvs and chose the wrong one

sand laurel
#

I'm just gonna delete all the lines besides the verification one and hope that it doesn't use the constants

errant helm
#

it does use the constants

wheat wolf
#

you shouldnt

sand laurel
#

Why not

whole rover
#

gdude, regarding the proxy thing, this should fix it

from flask import ...
from werkzeug.contrib.fixers import ProxyFix

app = ...

ProxyFix(app)
#

Should pick the IP from X-Forwarded-For

#

Will have to check with inver how many proxies it's actually behind though

sand laurel
#

Are you sure

#

it's not this

#
        if ctx.command is not None and ctx.command.name == "accept":
            return  # They didn't use a command, or they used a command that isn't the accept command
#

becuase

#

they used a command that isn't the accept command

#

== "accept"

#

???

#

no but wait why would this even t affect anything

#

THat should be fixed regardless

pseudo hornet
#

damn most people left

sand laurel
#

What thing wasn't working

#

The command wasn't being ran or the role wasn't being added or???

#

cc @errant helm

errant helm
#

The command wasn't running, yeah

wheat wolf
#

oh its gdude

#

@errant helm wil you rejoin voice at some point?

sand laurel
#

But there wasnt a check failure?

wheat wolf
#

at least not in our checks

#

but in the discordpy ones

sand laurel
#

what dpy ones

wheat wolf
#

the one from the commands ext

sand laurel
#

They're not being applied here?

#

or is there a global check somewhere

errant helm
#

I'm eating @wheat wolf

wheat wolf
#

woah

#

multitasker there

errant helm
#

One of the checks fails

#

It could be one of ours

#

We don't know

wheat wolf
#

like

#

when we try to find out if its one of ours

#

the error doesnt happen

errant helm
#

Yeah, shoving a print in makes it work

sand laurel
#

Can't you just catch the exception

wheat wolf
#

there is no exception

#

well

#

internally it throws one

#

but it is already getting catched internally

sand laurel
#

how do you know that

wheat wolf
#

reading discordpy source?

sand laurel
#

what

wheat wolf
#

like whats the purpose of open source if i cant do that

#

lemme quickly send you the line of discordpy where it throws the exception

sand laurel
#

How can you deduct that discordpy is raising by reading source

wheat wolf
#

well

#

i know the output

#

it prints something

#

and this print is not from us

#

its only at this point of the source i just sent you

sand laurel
#

d.py doesn't catch this internally

wheat wolf
#

someone said it does

#

after all

#

we are not getting an exception

#

but just a print and thats the problem

sand laurel
#

Whta does the print say

#

then

wheat wolf
#

read the line

#

thats what the print says

sand laurel
#

This is a raise

wheat wolf
#

yes

sand laurel
#

so you're catching this in the bot

wheat wolf
#

and its raises something wiht a description

#

not that i know

errant helm
#

@sand laurel we catch it in the events cog

wheat wolf
#

oh so we do

errant helm
#

Command error handler

wheat wolf
#

great

#

so

#
    async def on_command_error(self, ctx: Context, e: CommandError):
        command = ctx.command
        parent = None

        if command is not None:
            parent = command.parent

        if parent and command:
            help_command = (self.bot.get_command("help"), parent.name, command.name)
        elif command:
            help_command = (self.bot.get_command("help"), command.name)
        else:
            help_command = (self.bot.get_command("help"),)

        if isinstance(e, BadArgument):
            await ctx.send(f"Bad argument: {e}\n")
            await ctx.invoke(*help_command)
        elif isinstance(e, UserInputError):
            await ctx.invoke(*help_command)
        elif isinstance(e, NoPrivateMessage):
            await ctx.send("Sorry, this command can't be used in a private message!")
        elif isinstance(e, BotMissingPermissions):
            await ctx.send(
                f"Sorry, it looks like I don't have the permissions I need to do that.\n\n"
                f"Here's what I'm missing: **{e.missing_perms}**"
            )
        elif isinstance(e, CommandInvokeError):
            await ctx.send(
                f"Sorry, an unexpected error occurred. Please let us know!\n\n```{e}```"
            )
            raise e.original
        print(e)
#

this

#

now the problem is

#

if we try to find where this exception comes from

#

it doesnt occur

sand laurel
#

cant u just use inspect.trace

wheat wolf
#

no

#

well

#

we can

#

but then again if we print anything the exception doesnt occur

#

if we use a debugger the exception doesnt occur

sand laurel
#

I thought the print had to be inside the check

wheat wolf
#

its a so called

#

"heisenbug"

errant helm
#

We already print the exception here, but tracing the origin won't help us @sand laurel

#

We know where it comes from already

#

It's thrown when the checks for a command fail

wheat wolf
#

the question is why....

errant helm
#

Yeah, why the checks fail

sand laurel
#

Who could repro this

errant helm
#

Nix

wheat wolf
#

only me

sand laurel
#

is ur repo up to date

wheat wolf
#

and not always

#

just sometimes

errant helm
#

Hey Nix, what CPU do you have?

wheat wolf
#

nix has a AMD Ryzen 7 1700 Eight-Core Processor

#

why do you mind

errant helm
#

GHz?

wheat wolf
#
CPU MHz:             2107.444
CPU max MHz:         3000.0000
CPU min MHz:         1550.0000

if its about that....

errant helm
#

Mkay

#

The thing is

#

The only other people that were able to test were me and lemon