#ot2-the-original-pubsta
652 messages ยท Page 59 of 1
hi
Yep
So we can check if it is deserved or not
well, you the speed rys gets first always 
lmao triple ping
uhm?
n o i c e
@keen burrow lol i saw yu, suddeny changed your name, my eye flashed on right side (member list)
Haha
You are being extra smart 
btw akarys are you ok?
@lucid osprey Did we noticed it at the same time 
\๐
ok
ok
ok
no
yes
nes
I sure am
Trust
doubt.
Suggest more topics here!
The core
!e ```py
import random
choose = ["ok", "not ok"]
result = random.choice(choose)
print(f"Akarys is {result}")
@rigid echo :white_check_mark: Your eval job has completed with return code 0.
Akarys is not ok
rigged
@keen burrow
seems like you are not ok!
You okay Akarys?
No, as python already said 
ayo dawn, whens the code jam btw?
good thing that all countries experience summer at the same time right?
kutie 
hm.
mhm sure...
yes.
Depends
no ,
lol
sarcasm exists
On northern and southern hemisphere
r/woooosh
true
all jokes aside, yes..
ok cold north
I don't like English Language Arts
"can't reach" um no.
use Russain then
package manager?
It's basically what they call reading and writing here
oh alright.
why
idk
ok I saw that
oh
#bot-commands
I am though

are you sure
how do we know hes not being forced to say that
nod your head up and down if you need help akarys
held at gun-point too maybe, who knows.
maybe
epic
legend
i dont get whats the difference btw recursion and doing multiple nested loops
both r like repeating the steps till u get a condition fulfilled
yeah thats kinda right
like lots of times tail recursive functions get optimized to a loop
oh
so its often interchangeable?
how do we tell when to use which
like for insertion sort
i was hoping to swap until the integer in the array is at the correct position
i think most examples show it with a loop
Recursion can be any depth. So it would mean you would need to have variable number of nesting
Tail recursion (recursion call at the end of the function) can be unwinded into a while loop
tbh, nested loops seem much easier to me than recursions
recursions really give me stress
Recursion requires you to know when you enter and how the state changes
Oh so recursion has like multiple conditions
if you want to add that then yes
you can also have one condition really depends on the question
you're working on
Then if it's one condition
How's it different from another nested loop
Nah. Recursion literally means a function is calling itself.
The only condition that is required is end condition - otherwise you're gonna just call the function over and over until it breaks
For loops, you don't need isit?
the pattern is what differs
exactly
For loops always end because you have elements in some iterable/sequence. (Unless you have infinite generator, but we're talking about basics here)
i mean how about while loops
As I said, tail recursion is equal to while loop
some q's could be solvd by that but again coming to this point
oh yeah I was thinking along this
!e
def f(n):
print(f"entering with {n=}")
f(n+1)
print(f"exiting with {n=}")
f(1)
@tribal tinsel :x: Your eval job has completed with return code 1.
001 | entering with n=1
002 | entering with n=2
003 | entering with n=3
004 | entering with n=4
005 | entering with n=5
006 | entering with n=6
007 | entering with n=7
008 | entering with n=8
009 | entering with n=9
010 | entering with n=10
011 | entering with n=11
... (truncated - too many lines)
Full output: too long to upload
This actually ends with error about recursion depth (hence error code 1), but prints are first in the output XD
!e
def f(n):
if(n==3):
print("end condition")
return
print(f"entering with {n=}")
f(n+1)
print(f"exiting with {n=}")
f(1)
@tribal tinsel :white_check_mark: Your eval job has completed with return code 0.
001 | entering with n=1
002 | entering with n=2
003 | end condition
004 | exiting with n=2
005 | exiting with n=1
uhh are both of these recursion?
but the second one with the end condition
Yes. One without end condition (hence breaks but error message is not visible here, oops) and the other with
ohh okay
As I said, recursion is just function calling itself
It can be simple as that, it can be more complex...
oh
No. Only in case of tail recursion
Eg if we only printed the first thing and has end condition, it would be a simple
while(n!=3):
print(f"entering {n=}")
print("end condition")
But when we have things after the call to itself, we cannot do that. Sometimes, if we don't have structures in the middle of the function like here (here we only have 1 value, no lists or complex object), we can sometimes rewrite it. But it's not as direct translation as the above
That's why only tail recursion is equivalent - it can be done automatically. In compiled languages tail recursion is often automatically recognised and optimised
oh I see
okay
I'll go read up abt the other recurrence
thanks alot for the explanation
Anybody know the difference between re.findall and re.search?
!d re.findall
re.findall(pattern, string, flags=0)```
Return all non-overlapping matches of *pattern* in *string*, as a list of strings. The *string* is scanned left-to-right, and matches are returned in the order found. If one or more groups are present in the pattern, return a list of groups; this will be a list of tuples if the pattern has more than one group. Empty matches are included in the result.
Changed in version 3.7: Non-empty matches can now start just after a previous empty match.
!d re.search
re.search(pattern, string, flags=0)```
Scan through *string* looking for the first location where the regular expression *pattern* produces a match, and return a corresponding [match object](https://docs.python.org/3/library/re.html#match-objects). Return `None` if no position in the string matches the pattern; note that this is different from finding a zero-length match at some point in the string.
search:
Scan through string looking for the first location
findall:
Return all non-overlapping matches of pattern in string, as a list of strings
Hmm... I see
welp i'm never using requests again if i can help it
!pypi httpx
hello off topic 2
๐
how are we all
am gonna eat crumb cake later
what is crumb cake
cheese and pepperoni
cake with crumb on top
the crumbs are idk but good
like yummy meatballs
what
but baked and not meat
every cake has crumbs
what
friends i have all my IP addresses now
i read that as i have all my friends ips
lol
that is the minimum that can be routed onto the internet
try whois 2a0f:85c1:23::/48 ๐
lol
you can prob do it on https://ripe.net/
but
it me!!
umm..isn't that your address and phone number?
phone?
not my primary phone
deletes photo
lol
soon I will have an AS as well
and then i can route!!
i need something to do with my IPs
thoughts???
so far proposals areee uhhhhh
one of them is a client for pixels, you have to set the pixels by pinging a specific address with the coordinate and hex in there
so you could ping 2a0f:85c1:0023:12:24:ff:ff:ff to set (12, 24) to white
another was battleships through IPs
another was to hook it up to the lighting in my room
as you can see all of these revolve around colour, so doing something other than that would be nice
what about making them revolve around color
this is crumble, not crumb
that topping is called crumble, not crumb
I mean, for Brits "crumble" is like this topping itself with fruit underneath, not even on a cake
but "crumb" literally just means a piece of cake
yeah. it's "kruszonka" in Polish ๐
ยฏ_(ใ)_/ยฏ
in my area of merica, itโs called crumb cake
"crumb topping" would be acceptable and that's what I found as "American crumb topping". but it's crumble if you talk about it as one word
okay another idea
instead of thinking of things to do with incoming IPs
i become an ISP
you Americans use both names and it seems google knows it because I just googled "crumb vs crumble" and it got mainly American recipes in image results XD
@grim seal are you old enough to remember tamagotchis?
i love america
3 different words for same thing
can we send some fanmail to your PO Box? ๐
omg. do people born after 2000 remember tamagotchis? it's a good question ๐ฎ
?
yeah lol
just abouts
LMFAO please no i get billed
really? ๐ฎ in Poland you just get a PO Box and pay no matter if you use it or not
๐
address is free, PAYG per letters received
and it's an abuse address, so hopefully I don't receive lol
you could try create your own virtual pet that people feed with some ip interface
wait, that means you know about them but never had one yourself? ๐ฎ
I remember playing pokemon on emulators while not knowing any English, lol
so first gen was basically unplayable because you needed to talk to people to understand to get back, do stuff, then go up again and the route wasn't blocked then
but Silver/Gold were my and my sib's games
that is not first generation pokemon, peasant
of course almost everything was done on one pokemon because we didn't know we could move them around XD
I said it was uplayable without English knowledge
so first gen was basically unplayable because you needed to talk to people to understand to get back, do stuff, then go up again and the route wasn't blocked then
i am still clearly the better person
you're just old
I have no idea how old you are, but I'm just gonna say you're old, lol
wow
i did not hahahah
spitting fire ๐ฅ
so how do I send you tamagochi for you to care for if I cannot send it to the PO Box? D:
LMFAO if you are legit I will send my actual address
but my PO Box does not take packages
you cannot photocopy a tamagochi
but he has to know how original ones so he knows what to add ๐
hm... I'm lazy af and I don't have my tamagochi here to resurrect. but if you give me your address, I might send you snail mail when I'm maybe less lazy? or should I start hunting for tamagochis and really send it? ๐
lmfao
oh, I just found someone selling original v1, v3 and v4 together
I think I had v4 once, when it comes to originals
i just had an idea
hear me out
electronic vapes with a tamagotchi interface, that is fed with kid flavoured tabacco vapes, to target the younglings
https://www.olx.pl/d/oferta/tamagotchi-oryginalne-CID88-IDJmDmD.html?isPreviewActive=0&sliderIndex=2 dude says it's working and has new battery
200 zล: 200 zล: Witam sprzedam tamagotchi
Zabawka dziaลa , swiezo wymienione baterie
Mozliwa wysylka
โฆ
omg, someone is selling original v4 still in the packaging ๐ฎ
kid flavored
but joe will miss out on the experience of pulling out that little strip of plastic ๐
๐๐๐
omg so sad
I wonder if that "still in packaging" was damaged by old battery. old batteries might leak, at least when it comes to non-flat batteries - I don't know about flat ones, do they do that too?
otn name change :D
so... @grim seal do you want them? or some other surprise mail I might eventually send when I'm not lazy? XD
glitter bomb
do you like glitter joe?
everyone likes glitter
nah, I'm not like that
if I send anything with glitter, it would be something decorated with glitter, not glitter itself
also, glitter is usually plastic. I think UK banned non-biodegradable glitter?
I can send bath bombs from a local nerdy brand. some contain mica - does it counts? mineral glitter
I hope I didn't scare Joe... I promise, I'm not scary, it's just it's 2am and my weirdness kicked in!
lmfao yeah i'm down
if you need to, like, verify me first, you can ask for stuff. you giving me your data sounds weird when you know almost nothing about me
well taste it and find out
lol
I think I'm 0
all people whom I know and are 0 are really liked by mosquitos
and I have 50% of being 0 by my parents
I donated blood once but I forgot to ask what type I am, lol. and then I couldn't give blood anymore ;_;
did they test it with a blow torch?
I cannot donate blood while being on antidepressants. but, like, me helping someone would totally boost my mood. I felt so useless when I realised I cannot donate blood anymore
._.
you also won't get a cookie
I got 7 bars of chocolate. or something like that. at least 5, this I know
now I have to buy my own chocolate
but really, if you'd feel better with knowing some personal info before giving me your address (you're underage, you shouldn't trust people like that!), I can send you some info or something. if I ever send you something, you'll discover my legal name and address anyways, but as I said, I'm lazy and I don't know when I will do that XD
hahahaha ya, I was thinking of something for verification
I can invite you on linkedin if you want :3
it's more what I would want, it would be amazing to have you as connection XD
yes. you have your name all over all your profiles, you literally have pydis as your tagline... you have the same 2 photos in your profiles...
lul
and you have your linkedin linked on your website. I just found out
dude, I'm so jelly of your skills ;_;
not being rude or trying to sound off, but is there a reason why .... people in UK are generally less happier ??
maybe the weather? idk, UK is always shown as rainy and gray and stuff...
dunno really. the few people I know there are just ...
my eldest sib lives in the UK, but I don't know about their happiness. they seem fine there?
scandinavian countries are probably good on keeping their citizens content and happy
but like, half the time I always hear - "I am depressed, and I live in UK".
not trying to draw any conclusions or cast anything negative, but it's just a weird coincidence in a lot of my online content ๐ค
they are. but they earn a lot and pay back a lot in taxes. the taxes are used well, but unless you're earning comparable, it's hard as tourist or otherwise visiting
my best friend studied Swedish philology and was there for a few weeks for some language camp thing? for people studying Swedish from many different countries
hmm. so contrasting, compared to other countries like US
those guys really need healthcare more than guns
YES
I have a friend who really likes travelling
their parent is a doctor
they were literally told that if something happens, they need to just survive until they get home
hey
i've a question
Create open source alternatives to commercial software
what does this mean
that friend is really incident-prone. like... they have so many stories of almost dying or breaking something
@round moss hey lak, so ToxicKidz left some change requests on the PR. one of them said this:
asyncio.CancelledErroris an exception
so i went to check, and i found this in the python docs (see screenshot below). it seems as if it is now actually an exception... so i would like to ask you on your thoughts about this and how we would change the question
damn. them parents must be pretty rich to afford all the visits to the hospitals
select something that is normally paid/for profit thing and make a free open source alternative
you'd need to think of something that you/someone else uses that is paid thing. and make free alternative
oh alright
nah, I said the friend was supposed not to be hurt enough in the US and get back to get fixed XD
thanks mate!
Poland has free public healthcare. kinda shitty sometimes but it's there
like, free till what
ahh, figured ๐
if you're working, your employer has to pay small amount for it
if you're studying at uni, uni has to pay
if you're neither, you can either voluntarily pay or have a family member write you as beneficient to their payment
we don't pay for ambulance. we don't pay for hospital stay. we don't pay for doctors (but we sometimes have to wait long time for specialists and stuff)
so many people have private health insurance as well, to pay for private visits
but some stuff is, like, public healtcare-only. nobody will treat cancer privately. it's on that public healtcare
I have to get rid of my eights (teeth) and it's doable with public health care as well
we don't pay for ambulance. we don't pay for hospital stay. we don't pay for doctors
what do you pay for then? the electricity?
in hospital? no
at home? yes
although... I have solar panels now, so I kinda have free power. the bill is so low now @@
wow - sounds pretty futuristic
did the gov pay for the panels? ๐คฃ
wouldn't be suprised if it did
the gov refunded some, it's some eco thing they did because they probably got some funds from EU
itโs all private
Americans: what healthcare? oh, that $10k hospital bill?
I once compared private health insurance in Poland to one US hospital bill
insurance is very important in us
like... the best plan of private health insurance for the whole family for a year in Poland would be lower than one hospital bill in the US
it's still overpriced
yeah they can sell it for a lot because itโs important
yes
there are those comparisons "hip replacement in the US vs in Spain" and stuff
this
Spain sounds like a state overrun by drug cartels, gangs and weird music from what I hear....
Spain? what?
spain sounds cool
๐ my geography is bad
that friend of mine wanted to go to Mexico. my partner wanted to go as well. they eventually went to Australia as it's safer and they could find other people to travel together
I told my partner to get me a kangaroo T.T
lol
we were literally 12h apart when they went to NZ
like... how could they tell me kangaroo is so soft and stuff and then not bring one?
I got a plushie
but they said that plush kiwi from NZ was more similar in texture to real kangaroo
than that plush kangaroo
:c
lmao
๐ท๏ธ +๐ฆ = Australia ailartsuA
I don't get US healthcare
does anybody
- Insurance companies
- Insurance companies want a better deal. So hospitals inflate their prices a bit to make them look good.
- Goto 2. for 70 or so years.
- Money in the shipment container full ripping people off.
Dump the whole thing and go back to ritual bloodletting
pycharm has a package manager with a GUI now
I think I would've already died if I lived in the US ๐
o
broken health system and the karens probably lol
mainly the karens
It is a BaseException, not an Exception. Though maybe it should be rephrased to clarify meaning
that was a comment on the healthcare system ๐
yeh I should have scrolled up two inches before I replied ๐ฉ
<@&831776746206265384>
!Pban 697415499851759666 Scam
:incoming_envelope: :ok_hand: applied purge ban to @fresh delta permanently.
interesting
was that a csgo skin trade
yes
hahaha those are literally everywhere what the heck
interesting
ikr
lmao
lol

A-aren't you full stack?
Bast is the superior duck
full jenga
Yes
true
https://learn.netdata.cloud/ this is awessssomeeee
got it, i'll change it to "which one is a subclass of the class Exception"
sounds good
Reporting on birdie
birdReportโข๏ธ
Even more whiny than before
More hungry than before
Tries to get out of the cafe and fly in the house
Which resulted in meeting a window once up close...
Yesterday managed to fly in this veggie tent and then fly back to me
Seems to like it here in the tent. Tries to hunt on the ground more and more which is good, even great
Seems to be brown, tho. I read that males have a stripe on their beaks so i thought that's it... But now that I googled it more closely, male photos don't have it? Ugh, I hate Wikipedia
Oh, wait, it says younglings leaving the nest are similar to female ones. So I don't know anymore
Birdie came to me
Wants food
But I brought it here so it can hunt itself...
It hunts itself , it is prey to itself?
they probably mean "hunts by itself"
english suks
Yeah, don't mind my English today, its hot in the veggie tent and I had to close the "doors" so it's safe
Okay, I have a bird screaming into my ear now
Because I ignored it
lol
Greenhouse
It's foil, literally foil tent, so I wouldn't call it greenhouse
It's been... 2 weeks now?
From this
Still a whiny baby, though
Just now instead of just eating and shitting, it tries to fly in the house and complain all the time
It says "I'm god in a deep voice"
they grow up so fast 
Oh shit, we're here again and the sun is not blocked by clouds
dAtA
yes
has anyone of you
used the herokuapp
for oss projects?
please dm, need a brief on that
Sure whats up
can you brief me up how did you do it? like the pre requisites
and what language
and what that app particulary demands
everything
basically
ddddddddddddddata
Afaik heroku only needs a Procfile, a reqs.txt and maybe a runtime.txt
ohh
Made this pixel art of hat kid (A Hat in Time)
That's pretty nice

thanks
def gen_give_given(n):
while True:
ret = yield n
n = ret or n```
Can any of you wizards decipher what this does
I need the ***shut ***emote
I'm no wizard so I cant.
It's a coroutine that gives you the last Truthy value you sent it when advanced
beautiful
a girl just said hi to me ๐ณ
say hi back
kiss
hold on what
+100 romance
๐ณ
when in doubt, ask random person on discord server for love advice
will get girl or boy or whatever they identify as
100% chance
gimme tip
find girl or boy, trip in front of them, and say โi fell for u โ to them
ez gurl
they would probably run
yes
Code life
supreme simp
๐ข
now that would defintely be finding a girl or boy
this would fail, do roses are red, violets are blue, i fell for you
guaranteed will work
roses are red, violets are blue, i love you
only if they don't die
roses are red, violets are blue, can i go out with you
roses are red, violets are blue, i will keep making these for you
ok simp
(you being the romancer)
ahem
aww man
did t work
sadge
sadgitarrious
how to sleek
no not sleek
sleek
spel
halp
now kiss
darta or dayta
da-ta
dayta
deita
With tiki torches on my deck it's actually pleasant to sit out here and not get totally eaten alive by mosquitos... just... mostly eaten alive
He walk
I've 3 spam emails
i could leave them in spam and ignore them
but i feel like i could do something with them
James Veitch: "did someone say... spam emails????"
somebody have worked with Pascal?
eyeballs
@gusty rivet, @rare moat 2^n grows faster than n^2
(red line is 2^x, blue line is x^2)
ah alright.
frick i need to revise that
frick
frick
frick
no
yes
how's it going
nice
flop
is it pride month again?
pretty sure
ohhh that'd explain it
explains what
yuh cause yesterday was May
is it some transgender month or something?
or was it just to make it more colorful
pride month
ah
How've you got transgender month from a rainbow flag lol
whoa
So is the norge discord server
ew
Why dislike mint so much?
Also isn't like about midnight for you?
3 AM
What's there to even like :[
sleep
alcohol is always an option kekekek
is it tho
glue your eyes shut
no
yes.
Is this why you failed your assiangments?
or better....
bang your head to a wall
until you collapse
but you might never wake up
fine with me!
Ubuntu Hideout hasn't changed it
I don't very much like Ubuntu Hideout
Imagine #python-discussion but that's every channel
@grim seal free for a minute? need some help with docker
go ahead
yeah, so here is my docker code https://github.com/discord-modmail/modmail/tree/setup-docker
i get this error on doing docker-compose up
there, ignore the first one its not upto date
in your docker-compose you have defined a volume on /app as read only, I think that's the issue
hmmmm
in your docker compose you have the website running a uvicorn command
and the tiangolo docker image also runs a uvicorn command
maybe they're conflicting?
there's an env var
can't remember off the top of my head
it's on the tiangolo github readme tho
VARIABLE_NAME ah
MODULE_NAME
sounds about right
This is how it works in the docker image
start.sh is called in this base image
which your starlette image inherits from
Only reason I know this is because of https://github.com/python-discord/pixels/pull/100 lol
there isn't a 3.9 image, so had to copy those in manually
ah lol, I saw that already and then got to know about tiangolo's docker image
i was doing it manually earlier
right?
hmm, that doesn't work 
VARIABLE_NAME is the name of the variable within your py fil;e
whats the file name then?
ok, so looks like it's serving on 0.0.0.0:80 within the docker image
so you'll want to change your compose to expose that
"127.0.0.1:8000:80" if you want it to be on port 8000 externally
it works!
Nice
tyty, you are now added to my docker ping list!
lol
@ripe hedge HD Eyeballs, still can't fly a ship. Smh
dropping tables and ships smh
:((((
make them fhd now lol
lmao
there's no need to spam it across all offtopic channels
Lol
@round moss would you mind taking a look and see if this is the case?
@pastel nest @thorn dragon graphlib and zoneinfo
Oh wait those were new modules
I regret reading
The
logging.getLogger()API now returns the root logger when passed the name 'root', whereas previously it returned a non-root logger named 'root'. This could affect cases where user code explicitly wants a non-root logger named 'root', or instantiates a logger usinglogging.getLogger(__name__)in some top-level module called 'root.py'. (Contributed by Vinay Sajip in bpo-37742.)
hmmmm
yeah, we need classes
Yeah
graphs
:incoming_envelope: :ok_hand: applied mute to @meager lava until 2021-06-02 05:41 (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
@meager lava do not spam please
.topic
Good ones
i can make a donald duck sound
Pure art
send recording or didnt happen
bruh
UV and above
dorker
||https://www.youtube.com/watch?v=cBdG9t4hltM ||spider warning
In today's highlight, Graham Adam introduces us to the African Trapdoor Spider and tells us what makes these creatures so unusual. Spiders filmed at Nambiti Private Game Reserve in South Africa. Produced by Tekweni Media.
For other interesting African wildlife videos from Nambiti Private Game Reserve :
https://www.youtube.com/playlist?list=PLAl...
dang
damnnn
scary stuff
What did I tell you about posting pictures of me without my permission
Dude, how did you get phone into the cage?
it is so big now โค๏ธ
!unmute 525689295592226837
:incoming_envelope: :ok_hand: pardoned infraction mute for @visual falcon.
yeah, please be on-topic from now on Bonny
@ripe grotto I disagree. I think it's important that we recognize and support the LGBTQ+ community, they've certainly suffered plenty in the past and still do, so I believe it's important for people to stand by them and display solidarity if things are to continue moving forwards.
well thats your opinion, am not gonna argue against it
In some ways yes I see your point, it does create a bit of a division. But in many way's that's exactly what it is, we're supporting their culture, their differences.
Ultimately I think it's a positive rather than a negative thing
I would add though that "that's your opinion" in any case tends to imply there are two equally-valid sidesโeven if there might not be
and?
are you saying what cyber said was wrong because hes implying hes right??
well i dont think he did
hi
in json, if we dont specify "default": "" under a property, does that mean we make it a required field?
its going to be an empty field
hmm I dont follow
empty field?
yeah default will be equal to ""
if u dont specify it then there wont be any default key
Not reallyโmore like the phrase equates the validity of two statements where there shouldn't be equality
lets say I have to pass L1,L2 as part of my request.. L2 is optional.. so for L2 I inlcuded default as part of the schema structure
but the default value of L2 is empty.. (the choices are 1, 2, or empty)
dont specify what.. you mean, have the default field in there but leave it empty?
or do you mean.. leave out the default field
I figured it out
static int[] merge(int[] left, int[] right) {
int sizeL = left.length;
int sizeR = right.length;
int pointerL = 0;
int pointerR = 0;
int[] output = new int[sizeL + sizeR];
for (int i = 0; i < output.length; i++) {
//no more item is left
if (pointerL >= sizeL) {
output[i] = right[pointerR];
pointerR++;
}
//no more items in right
else if (pointerR >= sizeR) {
output[i] = left[pointerL];
pointerL++;
}
//right smaller
else if (left[pointerL] > right[pointerR]) {
output[i] = right[pointerR];
pointerR++;
}
//left smaller
else {
output[i] = left[pointerL];
pointerL++;
}
}
return output;
}
i dont get what does this function do
like how the pointer works
probably merges two sorted arrays into one sorted array
oh but what is the pointer doing
pointerL is the current index in the left array
have you seen that one visualization of merge sort with balls
okayy yeah i ran thru the for loops a few times and i saw what's happening thanks!
uh no
!remind @jovial island 7h prom config
Your reminder will arrive in 7 hours and will mention 1 other(s)!
yeah okay.
vscode is pretier
no
ok this looks pretty cool
yes
would you mind sharing your setup
smh
ah np just ping/dm me when you are done
Sure
yes
Like this is nice
... I was just using that theme
epic
Noice
or something really similar
Nebula Pandas is the one I'm using
@shadow gate Here ya go https://github.com/AbooMinister25/nvim-dots. As of the moment, it only has configs for python and Rust, I'm adding typescript and HTML shit soon
This would be the VSCode version https://github.com/atomiks/moonlight-vscode-theme
ok that looks cool
Fancy
tbh when I get my new laptop maybe I might go with Moonlight-style theme
im making that my neovim theme
oh thanks
lol
This is kind of cool
oof it doesn't embed the image
dang that looks neat
oh wait. This GitHub thing is for the browser!?
I thought it was for the desktop app or something (which iirc is Windows only)
oh wow. this is cool haha
it's not
windows only, that is
no
no wot
i use github
lmao
apparently i've been using the default theme for the past few days
ahhhhhh i tried searching for it
@idle comet I can't find where you shared a guide to changing code color in vsc
uh, is there a way to get what its set for a theme?
the ctrl+alt+shift+i menu should show u hex colour but idk about getting the themes scopes
could probably look at the themes source
i want to take the highlighting of the default theme and use it with a third party other theme
yee gotta go look for the source then
yeet
@jovial island hello
our prometheus config as you asked
is
useless hahahah
buuuut
here it is
it's in kubernetes configmap format, so just look at the data under data["prometheus.yaml"]
@grim seal @jovial island
Here's your reminder: prom config.
[Jump back to when you created the reminder](#ot2-the-original-pubsta message)
lol
Rethink and say now
Okay so i have a question
Lets say i am using a application using redis web framework and backed
I made 2 docker files and run it with docker compose so there will be 3 containers running
How can i keep all web and backend updated
I will release the same project on github
I am thinking to make a webhook and on every push my server pull the files from github and just reclone in dir
And use volume option in docker
Idk if there is anymore good alternative
Tag me when someone is here
๐
pycharm default theme best theme
go to slep
dunno, maybe some configuration stuff
yeah -_-
gUyS hOlD dOwN tHe PoWeR bUtToN qUiCkLy ThErE's A nEw EaStEr EgG
Oh shit there is
lol
OH dammnnn
Rethought statement:
vscode is prettier
this looks cool but I can't imagine actually using an IDE with transparent code on a fullscreen background
yeah
Pretty sure I would just end up staring at the background
lol, i don't keep the transparent background while I am coding tho, basicall never
its just there
I really should get around to at least trying vim keybinds
And changing my current keyboard layout a bit to suit programming a bit more
i do lot of editor hopping for some reason ๐คทโโ๏ธ so i can't really remember the keybinds
i just stick to nvim
i dont need all the fancy stuff other editors give
just syntax highlighting and the vim keybinds
working with azure is a lot easier with vscode, so i need that
i rarely use pycharm now, laund gave a amazing list of vscode plugins which make vscode better than pycharm imo
so vscode and nvim now
ok
I have been using this preinstall pyhton iDLE
my favourite
h
h o/
commit: fix stuff
commit: fix other stuff
commit: oops
commit: welp
commit: copy paste error
commit: Revert last commit
commit: Revert revert
commit: make suggested changes
commit: minor fixes (+2,596, -412)
commit: make it work again
u evil
hey i haven't reverted commits yet
i did have to make "small fix"
or "see changed files"
Smh
commit: minor fixes (+2,596, -412)
this is my favorite
i signed off on a pr with 285k edits
how can one have initial files with 1 deletion?
anyways my repo now says its written in CSS
like that implies there was something there before
My repo is in makefile, dunno if thatโs better
we merged an autogenerated tailwind css file lmao
if you search for modmail and set the language to css my repos come up ;-;
thats why u should split the frontend website to another repo
called modmail-site
or sometging
nah we merged the site into the bot ๐
when i made my first discord bot i forgot to .gitignore the pycache files and such so it turned a python bot into a shell repo
discord-modmail/modmail#7
nice
...from the authors of:
was just tons of little changes and couldn't be bothered to make them into multiple commits
what's mypy?
.gh repo python mypy
btw if anyone was interested in helping on modmail or doing an issue ๐
static typing in python
discord-modmail/modmail#14
fix: delete requirements.txt
Yeah, mypy is a tool that inspect type annotations and tells you where you screwed up. It's very popular, along with pyright/pylance
THAT'S TEMPORARY
there's even a poetry command to export it with the tag at the top lol
poetry run task export
which runs this: echo '# Do not manually edit.\n# Generate with \"poetry run task export\"\n' > requirements.txt && poetry export --without-hashes >> requirements.txt
ikr
so smart
huh i recently saw poetry pop up here and there but never took the time to figure out what it does
what is poetry?
right


