#voice-chat-text-0
1 messages · Page 586 of 1
I like ur keyboard clicks
.
yes, more, more!
MORE
CLICK IT MOOOOOOOOREEEEEE
Viennese Percussionist Martin Breinschmid with his version of the "Typewriter" Live at the BASF concert hall Ludwigshafen,Germany 2008,Strauß Festival Orches...
It's beautiful
its basically lemon without beard
He's manually typing an RSA public key
vewy wmusing
exactly
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..."
wat
In my mind, that's what should have happened
wat
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
line.lstrip('>.')
if line.startswith(">>>") or line.startswith("..."):
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
The email will contain Aperture's latest meme about joseph.
thats a good idea
meme + highlighter of the week
@south cosmos you think you can do one joph mem a week?
helpers may help 😱
The email will include a phishing link containing js script that installs josephy on the browser
it needs to replace all images with joseph
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
Facebook VR
@leaden comet predict our future
When your grandma has a VR headset for Facebook, and you don't even have a decent computer
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
When adding logging
uuuuuh
deciding whether to make it info or debug, is hard
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
if re.search(msg, "\`\`\`(python|py)\n((?:.*\n*)+)\`\`\`", re.IGNORECASE):
What's a better way to say this: py log.warning("ClientWorker not connected to client, hence it can't die.")
Maybe I should add ", because i am immortal"
uuuuuhhhh
no
😦
Oh
damn
wait wait
i wanna look sth up
ok
ill fix
pushed
lemon is punishing his keyboard again
bless you
BREATH
so @leaden comet i pushed, something else?
@hot shuttle *BREATHE
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
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
shit
NOPE
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
there goes zwack
so lemon
found it?
oh no
i never really understood why people played club penguin
or why it got shutdown
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
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
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
if python:
break.legs()
a = 4
b = 2
a = 1
b = 2
if a == b:
print("internet")
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?
if not True:
print("The world is falling apart")```
oh no, I'm turning into pastebin, randomly sharing python snippets
repl
No, he means __repr__
repr()
yeah, you can
lol
Doesn't str use __repr__ if it's available?
nvm
>>> t
REPR
>>> str(t)
'STR'
>>> repr(t)
'REPR'
>>>```
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()
^
>>> 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
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
>>> break = "legs"
File "<stdin>", line 1
break = "legs"
^
SyntaxError: invalid syntax
lol
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
sounds sad
who would write a parser supporint this syntax
function &r(&$v){return $v;}
FINALLY
i am
i have books about compilers and shit
actually the only cs books i have
lol
makes sense.....
magic
That happened to me in python
parser magic
I did something very bad
lets look the source code of php up
and compare its parser to pythons
e
"should not be used by other peopl"
whats M4?
github says 0.5 percent m4
ok so
i cant even find something like a grammar in php source
lmao
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
var_dump("61529519452809720693702583126814" == "61529519452809720000000000000000");
-> bool(true)
the sort thing is true
i dont like that source changes lists directly
sorted(iter)
just write you own algorithm for sorting
this one sounds really good https://www.youtube.com/watch?v=kPRA0W1kECg&t=130s
Visualization and "audibilization" of 15 Sorting Algorithms in 6 Minutes. Sorts random shuffles of integers, with both speed and the number of items adapted ...
sort from gcc sounds and looks weird
sorting algorithm sounds good too
https://youtu.be/kPRA0W1kECg?t=114 radix lsd sounds really strange
Visualization and "audibilization" of 15 Sorting Algorithms in 6 Minutes. Sorts random shuffles of integers, with both speed and the number of items adapted ...
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
👌
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
Can you thrust? Can you hump? Can you squat? Kneel? Alternate your glutes? Thank Eric Prydz once again -- this time for reminding us that aerobics can be so ...
./bot/cogs/bot.py:101:1: W293 blank line contains whitespace
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
with plugins
@errant helm
it is
huh
you mean the yellow line in async
no docstring
(also a plugin)
i actually wrote a snekchek plugin for atom
its well not alive
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
who wrote those
no
not shady i checked that shady has icon and stuff
there are previous admins?
22 days ago
that could be
ah ok
night
I THERE @gloomy pagoda
on my windows partition
wait u on mac?
im on mac
u gat linux?
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
dont do it if u dont want to
currently downloading linux kernel source
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
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
playing hearth
cracy
spose I'll get myself on voice
hi guys
😛
oh no
shocking
how can you have too much stuff on like 3 screens
arent three screens there for not having enough
I have four screens and I'm muting this channel now.
Oh
ANOTHER ONE
You sound sooo
OH SO YOU DO READ
lol
oh gosh
dafuq
No
😱 scandinavian batman
Did you watch monk though
Too Many Cooks Watch Full Episodes: http://asw.im/3cyX3a SUBSCRIBE: http://bit.ly/AdultSwimSubscribe About Adult Swim: Adult Swim is your late-night home for...
@tranquil basalt this is high pitch https://open.spotify.com/track/3PnwThQ4ChfR4X2egarIWE
(and yes its lemon)
ok
partly
YOU READ
ikr
No I heard Lemon's voice before
no no i dont sound bad
But it is singing so
its about my mic doing loud weird noises
Yeah that 19 year old girl maybe sounding like a 5 year old girl
mkay
But it is weird when I, 20 year old male sound like a 5 year old girl
OUCH
Other Joseph
@pseudo hornet come here and be bad at piano
It was lovely listening you guys like a creep but I'm gonna go now :3
Night everyone
From the 'My Iron Lung' EP, track #8. Featuring Johnny Depp and Charlotte Gainsbourg Scene from "Ils se marièrent et eurent beaucoup d'enfants" aka "And They...
looks neat
np
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
I actually have no idea
I'm trying to figure it out myself :D
ah
number of stashes
I see
@wheat wolf what linux gui is that + theme?
damn i was too busy sleeping to join
@little steppe you mean what lemon got there ?
That's zsh with customized powerline9k if I'm not mistaken
That is zsh with powerline9k in tilix
hi there
a pony
unicorn
can play trumpet?
nani
i thought i was unmuted
to what
@whole bear unmute yourself
woah voice chat
YES
#morsecodewithmutebutton
!mute @whole bear 1h Spamming the mute button and voice connections
:ok_hand: pastebin.com/q3BTYZc9#3673 is now muted for an hour (Spamming the mute button and voice connections)
lol, muted
o/
why is it shit
reasons
contribute to our bot then you get access to the contrib channel
there is discussion about it
Where's the bot
You can also contribute to the site 😛
what do u want me to contrib
If you join voice, we'll tell you :P
i know right
we voice, joph
Why is my default input system sounds
lmao
but you cant hear me
You can just mute yourself smh
(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
Wait can you repeat that thing about print
I missed it because I got a reminder
we print
did you sign me up to something again
and it does work
hey @errant helm may in unmute myself
great will make sure to mark as spam
lets set up some spam bot.....
Are you sure and ctx.command.name == "accept" this isn't causing it
1 out of 10
im just going to unmute myself
Great yeems
you have been warned
oh no
i am trying
fuck off joseph :^)
:⁾
instructions unclear, dick stuck in ceiling fan
I had that happen once
dick chopped off**
ok let me clone the bot
it's not a nice feeling
ceiling fan dropped from the ceiling
wait i can just use phone
fsr
My theme is completely broken
I'm using an ILLEGAL CLIENT MODIFICATION
mic broken
which
Beautifuldiscord
that one's fine
Apparently not
LOL
Do not trust that.
Discord seems to have no in-house communication
Their "official" thing right now is that all client modifications are illegal
Yeah I trust Jake the most on this t b q h
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
discord.internal_comm.update_policy("client_mod",False)
AttributeError: type object 'discord' has no attribute 'internal_comm'
heinz
lmao i killall'd pulseaudio and it's still there
nah fam i lost my windows product key ages ago
nix makes asmr videos
LMFAO
why arent yall using pipenv s m h
I DON'T KNOW WHAT AN AUDIO IS ANYMORE
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
curio 🤔
Yeah you can use curio or trio with it
yeah i had the 🤔 because i have no clue what curio is
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
Personally I prefer gevent
yes, yes, BLOW INTO THE MIC MOREE!!!
multiprocessing tbh
I am never unmuting him
aww im too late to join 😦
They're actually removing the explicit even loop passing
sec
Thanks
That wasn't nix
more pls
@dabeaz That's the plan. Besides, event loop APIs are surprisingly hard to use correctly, so yeah, async/await all the way.
how do I run the bot
wiki
i will take action
What's clickup
basically Trello
What's papertrail
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
>>> 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
pulseaudio output is absolutely fine
the issue is input
hmm
that might be an idea
the sound settings for GNOME would be in the gnome-settings thing right?
i know but i can use it's config panel
its*
shut
lmfao
i feel abused, harassed, offended and more
what was I doing
would that been that bad tbh
grammar 100
^^
I missed a have
james whereas john had had had had had had had had had had had the higher mark
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
i
u kill pycharm, me kill u
killall python
dont you dare
I was wondering why pycharm wouldnt find my packages then I realized I had 2 nearly identical venvs and chose the wrong one
smh tbh
I'm just gonna delete all the lines besides the verification one and hope that it doesn't use the constants
it does use the constants
you shouldnt
Why not
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
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
damn most people left
What thing wasn't working
The command wasn't being ran or the role wasn't being added or???
cc @errant helm
The command wasn't running, yeah
But there wasnt a check failure?
what dpy ones
the one from the commands ext
I'm eating @wheat wolf
Yeah, shoving a print in makes it work
Can't you just catch the exception
there is no exception
well
internally it throws one
but it is already getting catched internally
how do you know that
reading discordpy source?
what
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
How can you deduct that discordpy is raising by reading source
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
someone said it does
after all
we are not getting an exception
but just a print and thats the problem
This is a raise
yes
so you're catching this in the bot
@sand laurel we catch it in the events cog
oh so we do
Command error handler
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
cant u just use inspect.trace
no
well
we can
but then again if we print anything the exception doesnt occur
if we use a debugger the exception doesnt occur
I thought the print had to be inside the check
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
the question is why....
Yeah, why the checks fail
Who could repro this
Nix
only me
is ur repo up to date
Hey Nix, what CPU do you have?
GHz?
CPU MHz: 2107.444
CPU max MHz: 3000.0000
CPU min MHz: 1550.0000
if its about that....

