#voice-chat-text-0
1 messages ยท Page 839 of 1
Kind of depends
If they're relevant to the ongoing conversation, yes
But we're not a meme dumb, as it were
Fair
A conscientious objector is an "individual who has claimed the right to refuse to perform military service" on the grounds of freedom of thought, conscience, or religion.In some countries, conscientious objectors are assigned to an alternative civilian service as a substitute for conscription or military service. Some conscientious objectors con...
US has these laws as well. Since we havenโt drafted since early 70s, they havenโt been looked at a ton in the US.
the International Covenant on Civil and Political Rights left the issue of conscientious objection inexplicit, as in this quote from War Resisters International: "Article 18 of the Covenant does put some limits on the right [to freedom of thought, conscience and religion], stating that [its] manifestations must not infringe on public safety, order, health or morals. Some states argue that such limitations [on the right to freedom of thought, conscience and religion] would [derivatively] permit them to make conscientious objection during time of war a threat to public safety, or mass conscientious objection a disruption to public order, ... [Some states] even [argue] that it is a 'moral' duty to serve the state in its military."
Article 18 is of the Universal Declaration of Human Rights
DEPENDS HOW SCREWED YOUR SLEEPING PATTERN IS
woah caps
i have ptt on capslock
the weekend i do the hackerthon thing is literally 48hrs+ straight
with maybe a little nap sometime
what if you dont sleep ๐
hahaha
or just sleep always!
have u seen the fomo machine ?
ill try and dig the video out
it browses the web an likes random posts on your behalf lolol whilst you're afk so you don't miss out
can i dm you @dire folio ?
Thatโs Warcraft?
game
sure
no Warhammer
i doubt a small amount would hurt
nice ๐
ill show u a few later i havent painted for ages but when everyone was like 'im selling my figures' due to the stupid rule changes they were making and people wanted to boycott
i was buying a few hehe ๐
nice dude
how do they hold up to uv ?
bc we had a resin printer at one place i worked and the they went brittle after a while
esp if exposed to the sun / outside
@gilded rivet https://yeethon.org
no idea. i just got them
ah ok i dont have a 3d printer yet ... tbh ive been avoiding getting one
but inevitable now i think ๐
i have not printed them, but someone has ๐
haha cool ๐
i just bought them online
almost looks like laser sinter printing
Hey magic
where they build the models layer by layer fusing powdered metal
i have a friend trying to make a printer that prints pcbs
he works for xerox so i dont doubt his comitment
ill try and get him over here sometime
Wait, printing them himself?
HobbyZone is a company from Poland that offers you useful items which enable you to improve your working conditions and keep the work space clean and tidy.
vallejo acrylic paints for fine arts, decorative arts and models & miniatures
Fume Hoods, are what are necessary if you want to airbrush inside: https://www.toolots.com/laboratory-ductless-chemical-fume-hood-26-w-x-27-d-x-34-h.html?cid=389806184&msclkid=b9487dd8f4421d5614f41d7725f7733d&utm_source=bing&utm_medium=cpc&utm_campaign=%2B Lab Equipment - Shopping 2&utm_term=4582214717848274&utm_content=Fume Hoods
Shop Lab Ductless Chemical Fume Hood from toolots 26"W x 27"D x 34"H With Organic Filter
hi
anyone wanna protect rick with me?
@dire folio buy a house just for an office
lol
why
lol
@dire folio https://www.coderelay.io/fontemon.html
on the topic of fonts being turing complete
Is this using ligatures or something for the logic, or how does it work?
Magic: The Gathering is famously complicated, but did you know it is complicated enough to make a computer inside of? Witness a world first in this weekโs episode!
๐
yes, its my dog
Grey's Director Commentary for "Spaceship You": https://www.youtube.com/watch?v=lZTs-xXEucc&list=PLqs5ohhass_Ti_MyDhtRvw59GgGKcdstB
Discuss on the reddit: https://www.reddit.com/r/CGPGrey/comments/gb6mac/lockdown_productivity_spaceship_you/
Patrons
Steven Snow, Bob Kunz, John Buchan, Nevin Spoljaric, Donal Botkin, BN-12, Chris Chapin, Ric...
Current discussion reminds me a lot of what's in https://www.goodreads.com/book/show/30231806-goodbye-things
Sublime Text 4 is so clean
im getting that bad boy ๐
but im not sure my old configuration would work
so i have to test it some
Seems like it does
excellent. nicely done
I think I've only had 1 package not work so far
And that's the LSP one
I just realized I haven't absorbed any of the conversation for the last like 5 minutes
We're talking TDD. :)
Right
I have to eat and zoom. Ttyl!
Systems design is the process of defining the architecture, product design, modules, interfaces, and data for a system to satisfy specified requirements. Systems design could be seen as the application of systems theory to product development. There is some overlap with the disciplines of systems analysis, systems architecture and systems engine...
Svenska (Swedish) Engelska (English)
systemerare computer programmer```
I thought you mean a biological rabbit and hemlock as a herb, which was slightly confusing..
Highly recommended talk on test automation and how to become a (better) test automation engineer: https://youtu.be/X93MgyclgZI
Bas Dijkstra present this:
"It takes more than just a tool to make test automation a success. So, if you want to become a (better) test automation engineer, your education should go beyond learning how to use a tool, too.
Forgot to leave the call since I'm on the phone with our IT
HP ZBook 15C G7 Mobile Workstation 15,6"
GeForce RTX-2070 Super, Core i9-10885H, 32GB RAM, 1000GB SSD, Windows 10
Specifications page for HP ZBook 15 Mobile Workstation.
@dire folio https://ep2021.europython.eu
.catify
Your catified nickname is: Vestergurkan | แแแข
.catify
Your catified nickname is: Gi | แแแข
D;<
ok, that is a lot of flex
@dire folio awesome :D
white nc700 :)
Lol ;) yeah
Also have I ever told you guys what's the beverage of choice for a dark lord of the sith is?
You can also get @whole rover to approve or not
;)
yorkshire tea is fantastic
Yep ๐
I was actually about to change it back.
Yeah, it's grown on me too ๐
It was meant to be crappy fyi ๐
*authentic
But yes, it is artisanal.
What you been up to Frederik?
Ah right
Yep, that was me at university tbh ๐
But I did also drop out, so... take that as a precautionary tale.
@dark seal https://pixels.pythondiscord.com/info
I hate it when they mess with your password (e.g. truncate it) or have silly requirements about number of digits etc 
Berkley I think have a cool git course where you make your own implementation ๐
Actually it's just one project on a course, not a whole course.
It's usually the kind of thing that's taught on a "software engineering" course.
"eternal subjugation to pay a license"
"entrapment of intellectual property"
-Maroloccio May 27th, 2021
Who was asking about a DM?
why cant i speak in the voice channel?
We have a voice-gate. New user's can't unmute in voice-chat immediately. See the info in #voice-verification
Lego!
Erm... what?
oh yike
waves
mainpath='C:\\Users\\Ayoush\\Pictures\\Screenshots'
a=os.listdir(mainpath)
e=[]
dix={}
ite=[]
for x in a[1:]:
aaa=re.search("[0-9]+",x)
b=int(aaa.group())
dix[b]=x
e.append(b)
e.sort()
for ee in e:
ite.append(dix[ee])
screenshots (1).png
thats what i really created
hello!
hi
what's up?
it`s alrite
why can't i talk?
how long u been in ths server
just joined like 30 min ago i think
i think u need to waid till ree days \
search for voice verification and see the requirements to be fullfilled
yeah i just saw
import re, os
path = 'C:\\Users\\Ayoush\\Pictures\\Screenshots\\'
file_names = [file_name for file_name in os.listdir(path) if any(v in file_name for v in '0123456789')]
sorted_file_names = sorted(file_names, key=lambda file_name: int(re.search('[0-9]+', file_name).group()))```
The double backlashes are there because of evil code gremlins.
Admittedly, this code isn't much more readable.
'Screenshot (1).png', 'Screenshot (10).png', 'Screenshot (100).png', 'Screenshot (1000).png', 'Screenshot (1001).png', 'Screenshot (1002).png', 'Screenshot (1003).png', 'Screenshot (1004).png', 'Screenshot (1005).png', 'Screenshot (1006).png', 'Screenshot (1007).png', 'Screenshot (1008).png', 'Screenshot (1009).png', 'Screenshot (101).png', 'Screenshot (1010).png', 'Screenshot (1011).png', 'Screenshot (1012).png', 'Screenshot (1013).png', 'Screenshot (1014).png', 'Screenshot (1015).png', 'Screenshot (1016).png', 'Screenshot (1017).png', 'Screenshot (1018).png', 'Screenshot (1019).png', 'Screenshot (102).png', 'Screenshot (1020).png', 'Screenshot (1021).png', 'Screenshot (1022).png', 'Screenshot (1023).png', 'Screenshot (1024).png', 'Screenshot (1025).png', 'Screenshot (1026).png',
@uncut meteor Linux doesn't like playing with my laptop's internal microphone
But then again, my Windows counterpart doesn't have the tools I use (various shell commands, Sublime Text and Merge, IDEs, debuggers)
And wsl2 conflicts with my Android emulators
;-;
mornings
morning
hey
can i ask something?
@severe pulsar i could smell you a mile away
easy
๐
๐ฌ
any one like data anlaysis ?
None
oh
NULL
Introduction
Pandas [https://pandas.pydata.org/] is a Python library for data analysis and
manipulation. Almost all operations in pandas revolve around DataFrames, an
abstract data structure tailor-made for handling a metric ton of data.
In the aforementioned metric ton of data, some of it is bound to be missing for
various reasons. Resulting...
if its a csv
is none equiv to null ?
NaN

thanks for the reference
!stream @lucid blade 1M
@lucid blade
โ @lucid blade can now stream.
@severe pulsar
oh
@severe pulsar Help me
;-;
rn 7 I think
The Church of Rickโข, is a very cool collective of people dedicating some of their device to draw rick all over discord.gg/python's pixels event!
@uncut meteor you can check here
lol I made the front-end
and some of the backend
lol
@severe pulsar ikr
I agree
I do it while I'm cooking or just thinking
lol
idk why
why not
Mine?
Thanks
yes
no
I made it by myself
gitbook is easy
I just filled in shit
it's their templating and all that
so prob markdown
nope
I made it
by hand
lol
I was bored
and well ye
Ill make it auto
I jsut don't have admin perms to repos
and all that
I know they do
lol
I was about to use some other one that auto generated
but lots of setup
ew
that's a mess
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Would anyone like to join the Church of Rickโข๏ธ?
โข๏ธ moment
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
can any one help me
Good morning from Germany
Good morning from the US
How are you?
Good, how about you?
Same tahanks
Also no permission to talk?
I am new here on this server
Thanks but the Problem is that i have not enough messges
then the mystery has fled with the mists of time
good morning
What are you doing here are you Python developer
yes
team no sleep
west coast I assume
Well I code and I started with py but I now use like low level langs

OK
team I stayed up all night handwriting docs
i like how almost no one can talk in the vc lol
A lot of people in the Voice Chat but no one talking thats crazy
is there a channel where people put their open source projects
Do you have some OpenSource Projekts on that are you currently working
what u workin on
idk all my programming has been for work so i cant post it anywhere public or use it as an example for job applications
so im trying to help with some open source projects
Yes this is a good point
@whole bear if u ok take a look at mine
@whole bear https://github.com/UGLYclown999/Apollo
i mean OpenSource Software that was not launches by you?
check the link i gave its on git
I am Contributing on some OpenSource Software

!voice @strange lance
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hello
very funny
Botnet ๐
whats the best sever to join c programming?
Right now 2 every 2 minutes yeah.
yep
any one has idea ?
@rugged root same just do one every min
I've got a list of suggestions, one sec
It's been pretty fun tbh!
Er what sorry?
I haven't noticed any dodgy images/symbols on the canvas yet, are we actively moderating this? ๐
thank you for providing btw does it have help channels too?
@rugged root did you see the Joe I used my botne church to draw??
@rugged root
joe ๐
Where? Can I join? ๐ I have some spare capacity.
DMs are off sorry.
@stuck furnace ok, so Ill give you a api key for the church's api then you can use that to get data from the api then you send it to Pixel's API
Mina cough
I mean, it would be a bit weird if you had a random teenager as your PFP ๐
Fair enough
Picture looks professional though!
You can request the whole board.
It sends you a load of bytes in return.
I'm using numpy to reshape this.
Hello.
You should also get the size when you get the board.
(Rather than hard-coding it.)
@rugged root do you like the site I made https://pixel-tasks.scoder12.repl.co/?
I would say hello but it seems I cannot talk.
Well, you could just say hello in chat instead.
@icy axle Want me to add the gurkult logo to my list?
hello then ๐
Thanks, but I actually don't have the data for it myself ๐
Oh 
Someone else on the gurkult server felt like making one, and suddenly one started appearing
It's not the best circle I've ever seen, I have to admit ๐
It's more like an octagon.
I'm currently maintaining:

Oh, and the duck in the top-middle.
I thought this was what they were going after, but maybe they changed it
I feel like i'm privileged to meet my rarest error message I think I have ever seen.
The smaller of the two
s
@rugged root
I might make this one when my new CLI is done
thomas the thermonuclear bomb
Hey guys.
Can you guys tell me your tricks to make the program work efficiently when playing with Python Discord Pixelsโข๏ธ?
Hmm, what aspect of it isn't working efficiently?
I think it's the requests limits and stuffs like that.
Back in a bit, getting some stuff packed up and ready for my boss
I wanted to inject my painting into the canvas.
Oh right. Well I just have a loop running in a thread, and this sets 2 pixels every 2 minutes (or whatever the current rate is). It receives these pixels from a queue, which is fed by other threads which check the canvas for pixels that need changing.
get_str_time_mapping(original_time)['amount']
Chili, want a 5 minute regex lesson?
aww you were doing
!
๐
The main regex symbols you need to know are:
.any character,*zero-or-more of the previous character,+one-or-more of the previous character,?zero-or-one of the previous character,{k}k of the previous character,[abcxyz]any of the characters contained,[^abcxyz]any character not contained,[a-f]any letter fromatof,[0-9]a digit,[^0-9]any character not a digit,^the start of a line,$the end of a line,()a group (groups can be individually extracted from the match),\sa whitespace character,\Sa non-whitespace character,
The main functions are:re.matchmatch a pattern at the beginning of a string,re.findallfind all occurrences of a pattern in a string,
Ah ๐
So like, [0-9]+ is a sequence of digits.
a*
Erm, I should probably just write a guide.
arg_string = []
arg_int = []
for letter in arg:
if not letter.isdigit():
arg_string.append(letter)
else:
arg_int.append(letter)
So you want to find all numbers in a string?
!eval ```py
import re
some_string = "the 123 quick 45 brown f0x."
print(re.findall(r'[0-9]+', some_string))
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
['123', '45', '0']
Just you wait.
Pekora is coming to Python Discord Pixelsโข๏ธ...
CLI, niceeee
NP ๐
Yess
You made a user-interface for pixels? Nice!
No, this is just a paint program.
Oh right. Still cool though!
I only use this program to create paintings - which I use to open loader.py - which reads the .pxpy file and inject the pixels into the canvas. One at a time.
All of the strings? ๐ค
loader.py has a colour lookup table.
Like quoted strings?
Erm, what format does the text have?
[^0-9] matches anything that's not a digit.
loader.py has a colour lookup table.
It reads each character extracted from the .pxpy file and checks which colour in the table corresponds to that character. If it matches, then the program proceeds to inject a pixel with that colour into the canvas.
The colour lookup table looks like this.
rgb_table={
"0":"000000",
"1":"000050",
"2":"005000",
"3":"005050",
"4":"500000",
"5":"500050",
"6":"505000",
"7":"505050",
"8":"c0c0c0",
"9":"0000ff",
"a":"00ff00",
"b":"00ffff",
"c":"ff0000",
"d":"ff00ff",
"e":"ffff00",
"f":"ffffff",
}
Oh, about that "program" I used to draw a crude painting of Usada Pekora...
It's available on GitHubโข๏ธ. You can get it here: https://github.com/KatsumiKougen/IZANAGI
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
Chili has been corrected 
Whats the point of this channel. A text channel with the name 'voice-chat-0'. I dont get it....
windows in a nutshell
Lmao
its for people who can't talk or whatever
Sad life....
or of we need to link something that relates to the convo
rofl
It's the adjunct to #751591688538947646
[#751591688538947646](/guild/267624335836053506/channel/751591688538947646/)
i cant talk
You making a pixels interface @icy axle? ๐
You can make a rudimentary interface using matplotlib I think ๐ค
I think github pages is static isn't it?
One annoying thing about the API currently is that you have to actually make a request to get the rate-limit information.
So, if you restart your app, and lose the rate-limit information, you end up falling foul of it.
Yeah, I think so
Sadly
!vote "What interface should I make?" "Web-app" "TUI (CLI)" "GUI"
๐ฆ - Web-app
๐ง - TUI (CLI)
๐จ - GUI
GUI is a pain, from past experience. But maybe there are some good tools about.
Did you see my matplotlib suggestion? ๐
I can see you typing btw ๐
Super weird ๐
webapp would probably is simpler with just js imo
I was showing someone my pixels code yesterday, and they were horrified by the hackyness of it ๐
lol, btw i implemented the threads today, not the best way, did it the first with multiple threads but yeah it works ig
Yeah, but I kind of want some python code, considering itโs an event here ๐
Oh nice!
@stuck furnace would you like to help out with it? Probably gonna be a web-app. Iโll make the UI and stuff, but I might now have time to make it all polished
True, i will try doing it in a CLI later if you don't plan doing that
Thatโs nice
Awesome, I've now managed to completely break my server somehow and I don't know how to fix it
Eh, you know what, Iโll make it a CLI
brb
Or maybe a command, so you can use it like pixxls --list to get active and pixxls --new to add a new image
What happened?
I was messing around with my flask server. Now all my redirects throw a 500 error
I think some error was being caught in a try loop and I was ignoring it
that's what I am trying to do now, I have 3 threads using a variable called TASK_IMAGES, and called poetry run python main.py -a image.png -x 100 -y 100 -batch_size 2
Just figuring out how to add it while the script is runnng
Nice
Traceback (most recent call last):
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\werkzeug\serving.py", line 319, in run_wsgi
execute(self.server.app)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\werkzeug\serving.py", line 308, in execute
application_iter = app(environ, start_response)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\flask\app.py", line 2069, in call
return self.wsgi_app(environ, start_response)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\flask\app.py", line 2062, in wsgi_app
ctx.auto_pop(error)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\flask\ctx.py", line 440, in auto_pop
self.pop(exc)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\flask\ctx.py", line 427, in pop
app_ctx.pop(exc)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\flask\ctx.py", line 232, in pop
self.app.do_teardown_appcontext(exc)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\flask\app.py", line 1925, in do_teardown_appcontext
self.ensure_sync(func)(exc)
File "c:\program files (x86)\microsoft visual studio\shared\python37_64\lib\site-packages\flask_mysqldb_init_.py", line 100, in teardown
ctx.mysql_db.close()
MySQLdb._exceptions.OperationalError: (2006, '')
Which it was giving me before, but it was working
the problem is i don't see anyway of adding it while the script is running
Now it just gives me the error and doesnt work
Might be time for a rewrite
No idea, could only find 2 instances on github. It's not the timeout 2006
stackechance*
lol, this would be the fourth rewrite then
Hahah
Yeah
or hmm, write a file as cache containg the image data, which is read in the threads 
Iโll get working on my thing now
good luck, you are streaming ti?
Yess
Actually god damn, now none of my redirects at all work
@icy axle
Ooh, right
@bot.command()
async def cooldowns(ctx):
result = requests.get(
"https://pixels.pythondiscord.com/get_pixel",
headers=Headers
)
requests_limit = int(result.headers.get('Requests-Limit'))
request_remaining = int(result.headers.get('Requests-Remaining'))
requests_reset = int(result.headers.get('Requests-Reset'))
await ctx.send(f"Request_limit:{requests_limit}\n"
f"Request_remaining:{request_remaining}\n"
f"Request_cooldown:{requests_reset}\n")
click is more feature ful
I thought there was a nice RealPython too
i am migrating my piston-cli to click too later
with argparse you always need -- glags
in click you don't need that
You must cast headers into dict
Ignoring exception in command cooldowns:
Traceback (most recent call last):
File "C:\Users\IvanV\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\IvanV\PycharmProjects\pythonProject2\Bot.py", line 320, in cooldowns
requests_limit = int(result.headers.get('Requests-Limit'))
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\IvanV\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\bot.py", line 939, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\IvanV\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\core.py", line 863, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "C:\Users\IvanV\AppData\Local\Programs\Python\Python39\lib\site-packages\discord\ext\commands\core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
you can or not its a caseinsensitivedict @plain mica
Requests-Limit is not always present in the headers i think
not sure
!e python a = {'a': 5} int(a.get('b'))
@amber raptor :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
Anyone know a way to map out flask blueprints to check pages are working?
headers = dict(r.headers)
requests_remaining = r.headers.get('requests-remaining')
requests_reset_after = r.headers.get('requests-reset')
cooldown_reset = r.headers.get('Cooldown-Reset')```
I'm just trying to catch this shitty error but I don't know where it's coming from since the stack points to my database connection
MySQLdb._exceptions.OperationalError: (2006, '')
how would I cache request-remaining,requests-reset,Cooldown-reset
This is VS Code
Both are fantastic tools
very diplomatic
There's also RISC-V which is an open (non-proprietary) alternative to ARM.
Nah, I'm RISC all the way.
It reduces complexity for everyone.
Should be new Apple desktop chips coming out soon ๐ค
True dat
Vill ha Kebab pรฅ Spotify: https://open.spotify.com/track/1fVhTB1oZ1nkJQDriXnMaD?si=3Ww1r9g9TdesArYAO6tGrg
Text & Musik: Wilhelm Karlsson
Kamera & Edit: Viktor Lรถfgren (Slim Doris)
Instagram:
@willegk - https://www.instagram.com/willegk/?igshid=40qqqhf6nsdi
@_viktorlof - https://instagram.com/_viktorlof?igshid=bpmjcd1qo9eo
Slim Doris pรฅ Spoti...
I Remember when I used my soldering iron as a lever and shattered it
Yep ๐ (Sorry missed this comment before.) Idk why it was the first thing I thought to add.
hi guys
Looks like a cult
gtg have a meeting
i wish i could talk too
time to update the list of things that use much electricity
Hey, I bitching earlier but maybe im just a dumbass. Anyone know if its fucky if your hosting a database and a flask server locally, but your flask server is on a local ip (192.168.1.xxx).
You'll get there eventually. Just hang out in here, get help or give help in the help channels, check out the topical channels, or hang out in the off-topic channels and you'll be able to verify in no time
And when we're in the voice chat, most of the time we're watching the accompanying text chat as well
I like that website
looks cool, loads fast; 694 ms to load in total for me
those two don't often go together
compare that to github.com which takes 2.22 s for me; 3.2 times as long
or readthedocs.io which takes 2.86 s; 4.12 times as long
who does graphql with the flask here? #voice-chat-text-0
@rugged root thank you ๐
@rugged root ```py
while cv2.getWindowProperty('image', 0) >= 0:
cv2.imshow("blah", image)
for _ in range(1000*3):
cv2.waitKey(1)
@rugged root Are the printers linking properly Hemlock?
Thankfully yes
Only thing I've had to do recently was shake a toner cartridge and run a couple cleaning pages.
๐
!voice @sinful orbit If you're wondering why you can't talk, check this out
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
'bout you? How're you doing?
!voice
Campus' DB is currently fucked, a lot if not all students are locked out from accessing any material of courses they're taking this semester including critical material regarding finals
Yeesh
That's not good. The teachers at least acknowledge this and giving them a bit more time?
I think I'm in this server more than 3 days
@ Vestergurแแแข if you need any help with the typer/cli side of things feel free to ping me :) (I would love to help lol)
Thanks ๐ Do you mean that youโd like to write some code for this as well?
Sure thing, Iโll tell you if thereโs anything to do! Or feel free to ping me if thereโs anything particular you want to do
awesome!
A suggestion:
[tool.poetry.scripts]
pixxls = "pixxls.__main__:app"
If you put this in your pyproject.toml file it will allow you to run your cli tool with poetry run pixxls - or if you are already in your poetry shell/virtual environment(which you are) you can just run pixxls
@icy axle
More information at: https://typer.tiangolo.com/tutorial/package/
Typer, build great CLIs. Easy to code. Based on Python type hints.
Ooh, nice, thanks!
does it not work
try poetry run pixxls or restarting the vscode terminal?
@icy axle not poetry pixxls
poetry run pixxls
๐
A CLI thing for #846514617261621292
!e
from dataclasses import dataclass
@dataclass
class Basket:
fruits: list[str]
basket = Basket(fruits=["Apple", "Banana"])
print(vars(basket))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
{'fruits': ['Apple', 'Banana']}
@severe pulsar ^
@icy axle :white_check_mark: Your eval job has completed with return code 0.
hello world!!!
!e
# print("Parzivel_1".reverse())
print("Parzivel_1"[::-1])
@fiery juniper :white_check_mark: Your eval job has completed with return code 0.
1_levizraP
Is there a reverse method for strings?
Like lists have .reverse()
!e
x = [1,2,3]
x.reverse()
print(x)
@fiery juniper :white_check_mark: Your eval job has completed with return code 0.
[3, 2, 1]
!e
string = "yo what up"
print(string[::-1])
@severe pulsar :white_check_mark: Your eval job has completed with return code 0.
pu tahw oy
I know about that
!e
print(str(reversed("hello")))
@fiery juniper :white_check_mark: Your eval job has completed with return code 0.
<reversed object at 0x7fb070df5c10>
Hmmm not really
huh my bad hang on
!e
from typing import NamedTuple
Location = NamedTuple("Location", x=int, y=int)
Size = NamedTuple("Size", width=int, height=int)
my_size = Size(27, 30)
print(my_size.height)
loc = Location(7, 9)
print(loc.x)
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
001 | 30
002 | 7
I think so
@stuck furnace ey Alex how's it been?
Hey ๐ Good thanks, you?
Going home to get some food
I hear you got a new camera? ๐
Really hungry
Yesss i got a brand new one
A fuji gfx 100s
It's gorgeous, the photos are awesome and it's got a lot of features i like
Just looked at the price 
Hah yeah it's not cheap
share photos plz
But i love it and it was worth it
I will do so in 50 minutes or so, gotta get home to download them from the camera
take your time. go grab food ^^
I've also met a few photographers here in Cluj, really nice
๐๐
@stuck furnace you're in london right?
Yep
How is it there lately?
Erm, I haven't seen the place outside of my house very much ๐
Hey Gilly
howdy~
Why not?
he's a hermit.
Pretty much tbh ๐
I bet ๐
I got vaccinated today though...
Erm, Pfizer
I think it'll help him and his divorce
Pretty crazy that they divorced right?
๐ฑnot good enough probably
Yeah, didn't see that coming.
Me neither ithought they were really close
But apparently not
I hope they'll be happier after the breakup
Damn it, forgot about my meeting with our MSP
lol no. it's a publicity stunt. and they did it for the money.
Erm, @icy axle there's a dataclass-like version of NamedTuple.
@rugged root ```py
Location = NamedTuple("Location", x=int, y=int)
Location.str = lambda self: "hello world"
:)
An advantage of NamedTuple is that you could add vector-like methods to it.
class Vector(NamedTuple):
x: int
y: int
What money?
what did you make?
๐
Their money. Because they know that under the current administration in the US, they'll owe a lot in taxes if they file as married filing separate or mfj.
Hi
Always the case
Hello!
I see a German flag appearing ๐
@uncut meteor it's a great game
I would rate 8/10, you can host your own, or do p2p.
I haven't played it in a while tho
@faint ermine that's cool!
Hi to whoever said "Hi" to me!
I was tabbed out coding
cv2.namedWindow("blah")
def on_trackbar(val):
img = images[-(1+val)]
res = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
res = cv2.resize(res, (img.shape[1]*6, img.shape[0]*6), interpolation = cv2.INTER_NEAREST)
cv2.imshow('blah', res)
cv2.createTrackbar("frame-back", "blah" , 0, len(images)-1, on_trackbar)
images is a numpy array made from a PIL Image object
damn that's a lot simpler than I thought
that's hella cool lol
Rick is the best
lol
Only cause Joe is better
๐
@faint ermine they're more "cults" or "botnets" or "drawing pools"
idk lol
What does everyone think of this GvR?
Someone asked if the one already there was Gordon Ramsay 
Plus he probably deserves to be a bit bigger on the canvas ๐
Yeah, I'm maintaining that one ๐
It's kind of crappy.
Oh, they would have had a hard time tbh.
hehhehe new rick img?
Unless they were teaming up.
Ah right
I'm going to start recruiting for bigger Guido.
@faint ermine you can check our projects at the bottom: https://pixel-tasks.scoder12.repl.co/
SnekFren is part of us
๐
Fair
I'm going to add imgs to the table
We gave him a API token (to our api), and I think we only let one connection at a time
I have been here for.. like over a year XD
so he might be but idk
Anyway one quick question.
daaaaaamn
Shoot
What does the -U flag mean for pip install
user?
pip install -U discord-py-slash-command
this is what i ask
want to mess around with it
also
600 msgs
XD
btw, if your using discord-py-slash-commands there is a more updated library I'll post the link
@dark seal they just run it on a server
Let me double check your message count for the verification
No, not yet @uncut meteor
@hushed dragon https://github.com/EQUENOS/dislash.py here if you wanna check this one out, it has a lot more features
A Python wrapper for discord slash-commands and buttons, designed to extend discord.py. - EQUENOS/dislash.py
Oh yeah, you're not far
We've made it move once or twice @uncut meteor
we're gonna do it again in a few
Maybe lol
Thanks!
Good, wbu?
i am good!
I drew that one ๐
Just.... wanting to learn about discord slash commands.
Erm, I'm not sure that was the first thing I thought to draw ๐
Cool, well they are very different to bots depending on how you do them.
yeee I have a bot rn that WOL's my main pc using an RPI.
I'm not monitoring my bot closely.
Cool!
yeeeee
What
?
wow. Those look awesome!
Nice!
I like the tone (is that the right word?) of this one.
Wait.. @dense ibex You can make buttons with slash commands?
it is the right word. yeah i like the tones in that one too
@faint ermine Ill start up the prot
Yeah, they just came out yesterday I believe.
i found out that i need to set the white balance of my photos properly and they turn out great
ok. Are there any demos?
or no?
nice
The decrease in quality of Griffs pfp demonstrates the decrease in quality of Griff himself as a human being
DudeBro verified ๐
@faint ermine I'm using Numpy arrays for everything. Finding the incorrect pixels is something like this: ```py
correct = (canvas_view == image).all(axis=2)
local_coords = np.argwhere(~correct & alpha_mask)
global_coords = local_coords + offset
using numpy too, but mine is
g_rgba = self.goal[y, x]
if g_rgba[-1] == 0: # skip transparent
continue
np.argwhere was a nice find.

Erm, Skyler, you just post a message in one of the three available channels to claim it.
sad but true ๐
This makes Griff happy'nt
hard luck man
Yep. We keep the dormant channels around to preserve message history.
Should have some in their discord server
:( max servers
@ Skyler you can look at #828316147657080835 as well
more info here
How to become @ LX:
message = create_discord_message()
message = f"Erm {message_to_send}"
send_message(message)
Simple 3 step process
DudeBro verified ๐
so rude
smh

Griff consoling somebody else is kinda out of character not gonna lie
python3 -m pip install discord-py-slash-command
Alright ๐
smh
BRUH thats amazing
1/3 of all the erms in the server.
holy
๐ฌ
pfftt only 100%, damn bro I use 500% on a average
cant disagree anymore now can ya
nice
If I turned my server off, lots of people would notice...
;-;
pip install --upgrade pip
ugrade
DudeBro moment
dude this entire vc is a DudeBro moment
come on ๐
get with it
...and as soon as i say that you leave
sadnes ;-;
bye for now @ Griff ๐
Image.frombytes('RGB', (width, height), content)
Back later ๐
Or pip list ๐
just lists the packages installed
Yep. list is a bit more readable.
@dark seal Maybe
nice
if you want to let me know
what image?
doesn't matter
where can i read up on the api project?
aswesome
soo @whole bear choose an image and starting coords
uh doesn't matter where lol... the whole church will assist us
no
lol
I just set mine to "sleep" or "Im sleep deprived" or "damn why?" for application names
creating servers has the highest rate limit I swear...
What?
I think I fucked up some math..
...
300%...
don't think that's right
@hushed dragon what's you doing?
?
oops kinda tired
ill be back one sec
just a bit
A Python wrapper for discord slash-commands and buttons, designed to extend discord.py. - EQUENOS/dislash.py

onto the pixels canvas? ๐


