#ot2-the-original-pubsta

652 messages ยท Page 59 of 1

rigid echo
#

@keen burrow Do mods get pinged when someone spammed and bot mutes him?

jovial island
#

hi

keen burrow
#

Yep

odd sphinx
#

dang

#

thats sad

keen burrow
#

So we can check if it is deserved or not

rigid echo
#

well, you the speed rys gets first always pensivebounce

dusky cliff
#

lmao triple ping

rigid echo
#

uhm?

jovial island
#

n o i c e

rigid echo
#

@keen burrow lol i saw yu, suddeny changed your name, my eye flashed on right side (member list)

keen burrow
#

Haha

rigid echo
#

You are being extra smart nicethink

lucid osprey
#

btw akarys are you ok?

rigid echo
#

@lucid osprey Did we noticed it at the same time aThonk

lucid osprey
#

idk and idc

rigid echo
#

\๐Ÿ†—

jovial island
#

ok

lucid osprey
#

ok

cerulean panther
#

ok

dusky cliff
#

no

lucid osprey
#

yes

cerulean panther
#

nes

keen burrow
jovial island
#

Trust

lucid osprey
jovial island
#

no

#

.topic

rustic harborBOT
#
**If you could travel anywhere in the world, where would you go?**

Suggest more topics here!

jovial island
#

The core

lucid osprey
#

thats deep (pun intended)

#

welp.

rigid echo
#

!e ```py
import random
choose = ["ok", "not ok"]
result = random.choice(choose)

print(f"Akarys is {result}")

clever salmonBOT
#

@rigid echo :white_check_mark: Your eval job has completed with return code 0.

Akarys is not ok
jovial island
#

rigged

rigid echo
#

@keen burrow aThonk seems like you are not ok!

daring jay
#

You okay Akarys?

rigid echo
#

No, as python already said oof

lucid osprey
rigid echo
#

summer?

#

ig

daring jay
#

The announcement comes sometime in June like always

#

Idk the dates

lucid osprey
rigid echo
#

kutie eyesintense

jovial island
jovial island
rigid echo
#

lol

lucid osprey
daring jay
#

On northern and southern hemisphere

lucid osprey
#

r/woooosh

jovial island
rigid echo
#

sun rays can't reach northern hemis

#

oof

lucid osprey
jovial island
#

ok cold north

daring jay
#

I don't like English Language Arts

lucid osprey
jovial island
lucid osprey
#

what do they mean by Language Arts?

#

Poetry?

rigid echo
#

package manager?

daring jay
#

It's basically what they call reading and writing here

lucid osprey
#

oh alright.

jovial island
#

Biscuit

#

EA space ships

queen plover
jovial island
queen plover
#

idk

jovial island
#

ok I saw that

rigid echo
#

oh

jovial island
#

#bot-commands

rigid echo
hot pulsar
#

are you sure

rigid echo
#

he is ok now!

#

now

hot pulsar
#

how do we know hes not being forced to say that

#

nod your head up and down if you need help akarys

rigid echo
#

not make rumouururss about akarys

#

lul

lucid osprey
hot pulsar
#

OH NO

#

akaryssssss

lucid osprey
#

maybe

rigid echo
#

epic

jovial island
#

legend

woven hornet
#

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

viral hare
#

yeah thats kinda right

#

like lots of times tail recursive functions get optimized to a loop

woven hornet
#

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

viral hare
#

i think most examples show it with a loop

tribal tinsel
#

Tail recursion (recursion call at the end of the function) can be unwinded into a while loop

covert fulcrum
#

tbh, nested loops seem much easier to me than recursions

#

recursions really give me stress

tribal tinsel
#

Recursion requires you to know when you enter and how the state changes

woven hornet
covert fulcrum
#

if you want to add that then yes

#

you can also have one condition really depends on the question

#

you're working on

woven hornet
#

How's it different from another nested loop

tribal tinsel
woven hornet
covert fulcrum
#

the pattern is what differs

tribal tinsel
#

For loops always end because you have elements in some iterable/sequence. (Unless you have infinite generator, but we're talking about basics here)

tribal tinsel
#

As I said, tail recursion is equal to while loop

covert fulcrum
woven hornet
tribal tinsel
#

!e
def f(n):
print(f"entering with {n=}")
f(n+1)
print(f"exiting with {n=}")

f(1)

clever salmonBOT
#

@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

tribal tinsel
#

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)

clever salmonBOT
#

@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
woven hornet
#

but the second one with the end condition

tribal tinsel
#

Yes. One without end condition (hence breaks but error message is not visible here, oops) and the other with

woven hornet
#

ohh okay

tribal tinsel
#

As I said, recursion is just function calling itself

woven hornet
#

so to clarify again, while loop = recursion

#

is it all the time?

tribal tinsel
#

It can be simple as that, it can be more complex...

tribal tinsel
#

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

woven hornet
#

oh I see

#

okay

#

I'll go read up abt the other recurrence

#

thanks alot for the explanation

elfin vine
#

Anybody know the difference between re.findall and re.search?

tribal tinsel
clever salmonBOT
#

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.
tribal tinsel
#

!d re.search

clever salmonBOT
#

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.
tribal tinsel
#

search:

Scan through string looking for the first location
findall:
Return all non-overlapping matches of pattern in string, as a list of strings

elfin vine
#

Hmm... I see

wide totem
#

welp i'm never using requests again if i can help it

sinful sun
#

sad

#

why

wide totem
#

!pypi httpx

clever salmonBOT
wide totem
#

It's requests compatible

#

But can be async too

grim seal
#

hello off topic 2

worn sluice
#

๐Ÿ‘‹

grim seal
#

how are we all

worn sluice
#

good

#

ate pizza

#

yummy

grim seal
#

poggers

#

what type of pizza

worn sluice
#

am gonna eat crumb cake later

grim seal
#

what is crumb cake

worn sluice
#

cheese and pepperoni

worn sluice
#

the crumbs are idk but good

#

like yummy meatballs

grim seal
#

what

worn sluice
#

but baked and not meat

grim seal
#

????????????????

#

is this an american thing

#

why not just call it regular cake

worn sluice
#

idk

#

it has crumbs

#

so itโ€™s crumb cake

grim seal
#

every cake has crumbs

worn sluice
grim seal
#

i'm SO confused

#

what

#

this is illegal

worn sluice
#

no

#

it is very legal

#

yummy

#

mhm

grim seal
#

no it's regular cake and you are naming it weirdly

#

i disapprove

worn sluice
#

it has crumbs on top tho

#

normal cake doesnโ€™t

#

otn illegal-crumb cake

grim seal
#

turn it upside down

#

cake has crumbs on top

worn sluice
#

what?

#

cake is solid on bottom

#

xxxconfusion

grim seal
#

no no no

#

you are wrong

worn sluice
#

what

grim seal
#

friends i have all my IP addresses now

worn sluice
#

do u have like melted cake on the bottom

#

WHAT

#

wait

grim seal
#

i got some IPv6

#

2a0f:85c1:23::/48 is me!!!

worn sluice
#

i read that as i have all my friends ips

grim seal
#

lol

#

1,208,925,819,614,629,174,706,176 addresses!!!

worn sluice
#

why

#

so

#

many

#

leave some ip for the kids

grim seal
#

lol

#

that is the minimum that can be routed onto the internet

#

try whois 2a0f:85c1:23::/48 ๐Ÿ™‚

worn sluice
#

not on computer

#

sad

grim seal
#

lol

worn sluice
#

am on phone

#

which i guess is computer

#

baby computer

grim seal
#

you can prob do it on https://ripe.net/

#

but

#

it me!!

blissful coral
#

umm..isn't that your address and phone number?

grim seal
#

it's a forwarding address

#

not my home address

blissful coral
#

phone?

grim seal
#

not my primary phone

worn sluice
#

deletes photo

grim seal
#

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

worn sluice
#

what about making them revolve around color

tribal tinsel
worn sluice
#

?

#

no itโ€™s crumb cake

#

the crumb is a topping

tribal tinsel
#

that topping is called crumble, not crumb

worn sluice
#

i think this is a difference in culture

#

ur polish right?

tribal tinsel
#

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 ๐Ÿ˜›

worn sluice
#

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

blissful coral
#

p sure the topping is a crumble

#

and that's from an american bakery ๐Ÿคท

worn sluice
#

in my area of merica, itโ€™s called crumb cake

tribal tinsel
#

"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

grim seal
#

okay another idea

#

instead of thinking of things to do with incoming IPs

#

i become an ISP

worn sluice
#

yes

#

reject ip, return to ISP

grim seal
#

too much work nevermind

#

lmfao

tribal tinsel
cyan vine
#

@grim seal are you old enough to remember tamagotchis?

worn sluice
#

3 different words for same thing

tribal tinsel
tribal tinsel
worn sluice
#

?

grim seal
#

just abouts

grim seal
tribal tinsel
worn sluice
#

๐Ÿ˜ˆ

grim seal
#

address is free, PAYG per letters received

#

and it's an abuse address, so hopefully I don't receive lol

cyan vine
#

you could try create your own virtual pet that people feed with some ip interface

tribal tinsel
cyan vine
#

original pokemon and tamagotchis

#

wild times

tribal tinsel
#

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

cyan vine
#

that is not first generation pokemon, peasant

tribal tinsel
#

of course almost everything was done on one pokemon because we didn't know we could move them around XD

tribal tinsel
#

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

cyan vine
#

i am still clearly the better person

tribal tinsel
#

you're just old

#

I have no idea how old you are, but I'm just gonna say you're old, lol

worn sluice
#

wow

worn sluice
#

spitting fire ๐Ÿ”ฅ

tribal tinsel
cyan vine
#

joe must create his own tamagotchi

#

he is the chosen one

grim seal
#

LMFAO if you are legit I will send my actual address

#

but my PO Box does not take packages

#

you cannot photocopy a tamagochi

tribal tinsel
tribal tinsel
grim seal
#

lmfao

tribal tinsel
#

oh, I just found someone selling original v1, v3 and v4 together

#

I think I had v4 once, when it comes to originals

cyan vine
#

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

tribal tinsel
tribal tinsel
#

omg, someone is selling original v4 still in the packaging ๐Ÿ˜ฎ

worn sluice
#

kid flavored

cyan vine
#

but joe will miss out on the experience of pulling out that little strip of plastic ๐Ÿ˜Ÿ

grim seal
#

๐Ÿ˜”๐Ÿ˜”๐Ÿ˜”

worn sluice
#

omg so sad

tribal tinsel
#

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?

worn sluice
#

otn name change :D

tribal tinsel
#

so... @grim seal do you want them? or some other surprise mail I might eventually send when I'm not lazy? XD

cyan vine
#

do you like glitter joe?

#

everyone likes glitter

tribal tinsel
#

nah, I'm not like that

cyan vine
#

you're not full of joy?

#

everybody loves glitter

tribal tinsel
#

if I send anything with glitter, it would be something decorated with glitter, not glitter itself

cyan vine
#

spread the joy

#

how about a glitter bomb decorated in glitter?

tribal tinsel
#

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!

grim seal
#

lmfao yeah i'm down

tribal tinsel
#

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

grim seal
#

lol

#

GIVE ME YOUR BLOOD TYPE

tribal tinsel
#

I DON'T KNOW

#

seriously, I don't know

cyan vine
#

well taste it and find out

grim seal
#

lol

tribal tinsel
#

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 ;_;

cyan vine
tribal tinsel
#

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

#

._.

cyan vine
#

you also won't get a cookie

tribal tinsel
#

I got 7 bars of chocolate. or something like that. at least 5, this I know

#

now I have to buy my own chocolate

tribal tinsel
# grim seal lol

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

grim seal
#

hahahaha ya, I was thinking of something for verification

tribal tinsel
#

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

grim seal
#

lol yeah that's good enough for me

#

i think i'm easy enough to find

tribal tinsel
#

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

grim seal
#

lul

tribal tinsel
#

and you have your linkedin linked on your website. I just found out

#

dude, I'm so jelly of your skills ;_;

blissful coral
#

not being rude or trying to sound off, but is there a reason why .... people in UK are generally less happier ??

grim seal
#

lol

#

we all love self-deprecation

tribal tinsel
#

maybe the weather? idk, UK is always shown as rainy and gray and stuff...

blissful coral
#

dunno really. the few people I know there are just ...

tribal tinsel
#

my eldest sib lives in the UK, but I don't know about their happiness. they seem fine there?

blissful coral
#

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 ๐Ÿค”

tribal tinsel
#

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

blissful coral
#

those guys really need healthcare more than guns

tribal tinsel
#

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

covert fulcrum
#

hey

#

i've a question

#

Create open source alternatives to commercial software

#

what does this mean

tribal tinsel
#

that friend is really incident-prone. like... they have so many stories of almost dying or breaking something

pastel nest
#

@round moss hey lak, so ToxicKidz left some change requests on the PR. one of them said this:

asyncio.CancelledError is 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

blissful coral
tribal tinsel
# covert fulcrum what does this mean

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

covert fulcrum
#

oh alright

tribal tinsel
covert fulcrum
#

thanks mate!

tribal tinsel
#

Poland has free public healthcare. kinda shitty sometimes but it's there

blissful coral
tribal tinsel
#

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

blissful coral
#

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?

tribal tinsel
#

in hospital? no

#

at home? yes

#

although... I have solar panels now, so I kinda have free power. the bill is so low now @@

blissful coral
#

wow - sounds pretty futuristic

#

did the gov pay for the panels? ๐Ÿคฃ

#

wouldn't be suprised if it did

tribal tinsel
#

the gov refunded some, it's some eco thing they did because they probably got some funds from EU

worn sluice
#

itโ€™s all private

blissful coral
#

Americans: what healthcare? oh, that $10k hospital bill?

tribal tinsel
#

I once compared private health insurance in Poland to one US hospital bill

worn sluice
#

insurance is very important in us

tribal tinsel
#

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

tribal tinsel
worn sluice
#

yes

tribal tinsel
#

there are those comparisons "hip replacement in the US vs in Spain" and stuff

blissful coral
#

Spain sounds like a state overrun by drug cartels, gangs and weird music from what I hear....

tribal tinsel
#

Spain? what?

worn sluice
#

spain sounds cool

blissful coral
#

๐Ÿ˜… my geography is bad

worn sluice
#

mexico sounds hectic

#

doubt iโ€™d travel to spain until i learn spanish tho

tribal tinsel
#

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

worn sluice
tribal tinsel
#

we were literally 12h apart when they went to NZ

tribal tinsel
# worn sluice lol

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

worn sluice
#

lmao

blissful coral
#

๐Ÿ•ท๏ธ +๐Ÿฆ˜ = Australia ailartsuA

tribal tinsel
#

I should probably go to sleep. it's 3am...

worn sluice
#

night

#

morning????

limber pollen
#

I don't get US healthcare

worn sluice
#

does anybody

compact dagger
# limber pollen I don't get US healthcare
  1. Insurance companies
  2. Insurance companies want a better deal. So hospitals inflate their prices a bit to make them look good.
  3. Goto 2. for 70 or so years.
  4. Money in the shipment container full ripping people off.
sinful sun
#

Dump the whole thing and go back to ritual bloodletting

wide totem
cerulean panther
#

pycharm has a package manager with a GUI now

shadow elk
#

I think I would've already died if I lived in the US ๐Ÿ‘€

cerulean panther
#

broken health system and the karens probably lol

delicate lion
#

mainly the karens

round moss
shadow elk
dusky cliff
#

yeh I should have scrolled up two inches before I replied ๐Ÿ˜ฉ

cerulean panther
#

<@&831776746206265384>

jovial island
#

!Pban 697415499851759666 Scam

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied purge ban to @fresh delta permanently.

hazy laurel
#

interesting

odd sphinx
#

was that a csgo skin trade

hazy laurel
#

oh was it one of those

#

"i am leaving this toxic community!"

#

things

odd sphinx
#

yes

hazy laurel
#

hahaha those are literally everywhere what the heck

odd sphinx
#

interesting

rose briar
odd sphinx
#

ikr

rapid zinc
#

lmao

cerulean panther
#

lol

tranquil ridge
wide totem
dusky cliff
#

Bast is the superior duck

foggy egret
#

full jenga

rapid zinc
#

Yes

odd sphinx
#

true

placid birch
#

not true

dim root
pastel nest
round moss
#

sounds good

tribal tinsel
#

Reporting on birdie

odd sphinx
#

birdReportโ„ข๏ธ

tribal tinsel
#

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

jovial island
#

It hunts itself , it is prey to itself?

cerulean panther
#

they probably mean "hunts by itself"

tribal tinsel
jovial island
#

english suks

tribal tinsel
#

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

odd sphinx
#

lol

jovial island
#

Greenhouse

tribal tinsel
#

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

jovial island
#

It says "I'm god in a deep voice"

compact dagger
tribal tinsel
#

Oh shit, we're here again and the sun is not blocked by clouds

jovial island
#

dAtA

odd sphinx
#

yes

covert fulcrum
#

has anyone of you

#

used the herokuapp

#

for oss projects?

#

please dm, need a brief on that

sinful sun
#

Wdym

#

If we hosted stuff on heroku?

#

Yes

covert fulcrum
#

yea

#

exactly

#

about that

sinful sun
#

Sure whats up

covert fulcrum
#

and what language

#

and what that app particulary demands

#

everything

#

basically

median galleon
#

ddddddddddddddata

sinful sun
#

Afaik heroku only needs a Procfile, a reqs.txt and maybe a runtime.txt

halcyon gyro
#

Made this pixel art of hat kid (A Hat in Time)

jovial island
#

That's pretty nice

tranquil ridge
halcyon gyro
#

thanks

balmy cape
#
def gen_give_given(n):
    while True:
        ret = yield n
        n = ret or n```
#

Can any of you wizards decipher what this does

jovial island
halcyon gyro
#

I'm no wizard so I cant.

round moss
spice obsidian
stone glade
#

a girl just said hi to me ๐Ÿ˜ณ

spice obsidian
worn sluice
stone glade
#

hold on what

worn sluice
#

+100 romance

stone glade
#

๐Ÿ˜ณ

worn sluice
#

when in doubt, ask random person on discord server for love advice

#

will get girl or boy or whatever they identify as

#

100% chance

stone glade
#

lol

#

yes

#

thanks for advice I will now always do it

worn sluice
#

yes

#

yes

#

romance expรฉrt

stone glade
#

yes

#

agree

jovial island
worn sluice
#

ez gurl

odd sphinx
#

they would probably run

tranquil ridge
#

yes

jovial island
worn sluice
#

๐Ÿ˜ˆ

jovial island
worn sluice
odd sphinx
#

now that would defintely be finding a girl or boy

worn sluice
#

?

#

xxxconfusion

tranquil ridge
#

OX_1000 guaranteed will work

worn sluice
#

roses are red, violets are blue, i love you

jovial island
worn sluice
#

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

worn sluice
#

(you being the romancer)

#

ahem

#

aww man

#

did t work

#

sadge

#

sadgitarrious

#

how to sleek

#

no not sleek

#

sleek

#

spel

#

halp

jovial island
final wolf
#

darta or dayta

cerulean panther
#

da-ta

worn sluice
#

dayta

stone glade
#

deita

wheat aurora
#

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

halcyon gyro
#

He walk

proper python
#

I've 3 spam emails

#

i could leave them in spam and ignore them

#

but i feel like i could do something with them

trail nymph
#

James Veitch: "did someone say... spam emails????"

quiet depot
#

somebody have worked with Pascal?

opaque pewter
#

eyeballs

dusky cliff
#

@gusty rivet, @rare moat 2^n grows faster than n^2
(red line is 2^x, blue line is x^2)

rare moat
#

ah alright.

gusty rivet
#

frick i need to revise that

rare moat
#

frick

dusky cliff
#

frick

odd sphinx
#

frick

jovial island
cerulean panther
#

yes

foggy egret
#

how's it going

tranquil ridge
#

nice

pliant trench
pliant trench
#

is it pride month again?

odd sphinx
#

pretty sure

hazy laurel
#

ohhh that'd explain it

pliant trench
#

explains what

hazy laurel
#

the openSUSE Discord is rainbow now lol

pliant trench
#

yea I realized

#

yesterday it wasn't

hazy laurel
#

yuh cause yesterday was May

pliant trench
#

mhm

#

6/1/2021?

odd sphinx
#

1/6/2021*

#

thats like saying "i live in america, new york, north america"

median blade
#

or was it just to make it more colorful

odd sphinx
#

pride month

median blade
#

ah

hazy laurel
#

How've you got transgender month from a rainbow flag lol

median blade
#

whoa

lucid osprey
jovial island
#

So is the norge discord server

hazy laurel
#

ew

jovial island
#

Why dislike mint so much?

jovial island
hazy laurel
hazy laurel
dusky cliff
hazy laurel
#

nah

#

I woke up and couldn't fall back to sleep

pliant trench
#

pride came really fast

#

it seemed like it finished yesterday

lapis night
hazy laurel
#

is it tho

jovial island
hazy laurel
#

no

lapis night
jovial island
#

Is this why you failed your assiangments?

lapis night
#

or better....
bang your head to a wall
until you collapse
but you might never wake up

hazy laurel
#

fine with me!

glad quest
hazy laurel
#

I don't very much like Ubuntu Hideout

dim root
#

@grim seal free for a minute? need some help with docker

dim root
#

i get this error on doing docker-compose up

#

there, ignore the first one its not upto date

vague shadow
#

in your docker-compose you have defined a volume on /app as read only, I think that's the issue

dim root
#

oh welp, yes

#

ummm, that works, but now:

grim seal
#

hmmmm

vague shadow
#

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?

dim root
#

a second, lemme remove that and check

#

but how do i specify the appdir then?

vague shadow
#

there's an env var

#

can't remember off the top of my head

#

it's on the tiangolo github readme tho

dim root
#

VARIABLE_NAME ah

vague shadow
#

that for the app variable yea

#

there's one for module too

dim root
#

MODULE_NAME

vague shadow
#

sounds about right

#

This is how it works in the docker image

#

which your starlette image inherits from

#

there isn't a 3.9 image, so had to copy those in manually

dim root
#

i was doing it manually earlier

#

right?

vague shadow
#

Yea, the tiangolo image makes it much easier

#

hopefully a 3.9 image is made soon

dim root
#

hmm, that doesn't work pithink

vague shadow
#

VARIABLE_NAME is the name of the variable within your py fil;e

dim root
#

whats the file name then?

vague shadow
#

might be easier to use APP_MODULE

#

so APP_MODULE=website.main:app

dim root
vague shadow
#

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

dim root
#

it works!

vague shadow
#

Nice

dim root
#

tyty, you are now added to my docker ping list!

vague shadow
#

lol

dim root
#

joe will get a bit less of them now

#

lol

naive finch
#

@ripe hedge HD Eyeballs, still can't fly a ship. Smh

soft quiver
#

dropping tables and ships smh

ripe hedge
#

:((((

rigid echo
#

make them fhd now lol

eternal wave
tribal tinsel
languid osprey
#

Lol

pastel nest
#

@round moss would you mind taking a look and see if this is the case?

wide totem
#

@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 using logging.getLogger(__name__) in some top-level module called 'root.py'. (Contributed by Vinay Sajip in bpo-37742.)

pastel nest
#

hmmmm

pastel nest
wide totem
#

Yeah

meager lava
#

graphs

clever salmonBOT
#

: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).

cerulean panther
#

@meager lava do not spam please

jovial island
#

.topic

rustic harborBOT
#
**What artistic talents do you have?**

Suggest more topics here!

jovial island
odd sphinx
#

i can make a donald duck sound

jovial island
#

Pure art

odd sphinx
#

yes

#

suprisingly accurate too

tranquil ridge
odd sphinx
#

bruh

jovial island
#

.topic

rustic harborBOT
#
**What is your favourite color?**

Suggest more topics here!

jovial island
#

UV and above

jovial island
#

I love that color too

jovial island
#

I'm a bee bruh

#

I'm not

#

Unfortunately

raw cosmos
#

dorker

jovial island
odd sphinx
#

dang

gaunt jacinth
#

damnnn

jovial island
#

?

#

Wym?

gaunt jacinth
#

scary stuff

tribal tinsel
#

Guess who is shouting directly into my ear...

#

And trying to peck my face

gaunt jacinth
#

your neighbor?

#

the postman?

#

a family member?

#

gosh the choices are limitless

vapid atlas
tribal tinsel
#

Dude, how did you get phone into the cage?

dim root
somber belfry
#

!unmute 525689295592226837

clever salmonBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @visual falcon.

somber belfry
#

yeah, please be on-topic from now on Bonny

odd sphinx
#

damn

#

the hidden side of 999y

unreal sigil
#

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

ripe grotto
#

well thats your opinion, am not gonna argue against it

unreal sigil
#

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

jovial island
#

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

jovial island
#

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?

jovial island
#

hmm I dont follow

#

empty field?

#

yeah default will be equal to ""

#

if u dont specify it then there wont be any default key

jovial island
#

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)

jovial island
#

or do you mean.. leave out the default field

jovial island
#

I figured it out

woven hornet
#
    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

echo fern
#

probably merges two sorted arrays into one sorted array

woven hornet
dusky cliff
#

pointerL is the current index in the left array

#

have you seen that one visualization of merge sort with balls

woven hornet
grim seal
#

!remind @jovial island 7h prom config

clever salmonBOT
#
Yeah okay.

Your reminder will arrive in 7 hours and will mention 1 other(s)!

odd sphinx
#

yeah okay.

languid osprey
#

Hi :D

#

After an hour

#

I now have an acceptable nvim setup

odd sphinx
#

amazning

#

now go back to vscode ๐Ÿ”ซ

languid osprey
#

no

#

my nvim is pretty

#

i stick with pretty

odd sphinx
#

vscode is pretier

languid osprey
#

no

odd sphinx
#

do as it says ๐Ÿ”ซ

#

now ๐Ÿ”ซ

shadow gate
languid osprey
#

yes

shadow gate
#

would you mind sharing your setup

languid osprey
#

Sure

#

I'll upload my dots in a bit to github

odd sphinx
#

smh

languid osprey
#

And I'll link it to you

#

give me a minute

shadow gate
#

ah np just ping/dm me when you are done

languid osprey
#

Sure

daring jay
#

VSC colors are pretty

#

If you use the right theme

odd sphinx
#

yes

daring jay
#

Like this is nice

odd sphinx
#

agree

#

it does look nice

hazy laurel
#

... I was just using that theme

odd sphinx
#

epic

hazy laurel
daring jay
hazy laurel
#

or something really similar

daring jay
#

Nebula Pandas is the one I'm using

hazy laurel
#

but obviously something not exclusive to VSCode

#

I'm using Material Moonlight

languid osprey
hazy laurel
languid osprey
hazy laurel
#

tbh when I get my new laptop maybe I might go with Moonlight-style theme

languid osprey
#

im making that my neovim theme

odd sphinx
#

god damn that looks good

#

glow u say?

hazy laurel
#

lol

#

This is kind of cool

#

oof it doesn't embed the image

jovial island
#

dang that looks neat

hazy laurel
#

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

hazy laurel
jovial island
#

windows only, that is

hazy laurel
#

Must've been at one point ยฏ_(ใƒ„)_/ยฏ

#

Ehh ^ isn't that amazing

odd sphinx
#

no

hazy laurel
#

no wot

wide totem
#

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

wide totem
idle comet
#

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

wide totem
#

i want to take the highlighting of the default theme and use it with a third party other theme

idle comet
#

yee gotta go look for the source then

wide totem
#

yeet

grim seal
#

@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"]

wide totem
#

wut there's a reddit voice channel

clever salmonBOT
wide totem
#

ur going to prom with joe?

#

๐Ÿ˜ณ

#

||/s||

grim seal
#

lol

dim root
wide totem
#

Ooo

#

Modmail is adding buttons

trim tusk
#

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

odd sphinx
#

my statement still holds

dim root
#

๐Ÿ˜”

dusky cliff
#

pycharm default theme best theme

wide totem
#

hm.โ€ฆ.

#

@dim root

dusky cliff
#

go to slep

dim root
#

dunno, maybe some configuration stuff

wide totem
#

yeah -_-

main pagoda
#

guys

#

Try

#

quickly do this

#

it works

ancient whale
#

gUyS hOlD dOwN tHe PoWeR bUtToN qUiCkLy ThErE's A nEw EaStEr EgG

wide totem
#

Oh shit there is

odd sphinx
#

lol

shadow elk
echo fern
#

this looks cool but I can't imagine actually using an IDE with transparent code on a fullscreen background

dim root
#

yeah

unreal sigil
#

Pretty sure I would just end up staring at the background

dim root
#

lol, i don't keep the transparent background while I am coding tho, basicall never

unreal sigil
#

ah in that case

#

Yeah I'd be happy to use that

dim root
#

its just there

unreal sigil
#

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

dim root
#

i do lot of editor hopping for some reason ๐Ÿคทโ€โ™‚๏ธ so i can't really remember the keybinds

tranquil ridge
#

i just stick to nvim

#

i dont need all the fancy stuff other editors give

#

just syntax highlighting and the vim keybinds

dim root
#

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

eager sleet
#

ok

eager sleet
shadow elk
#

my favourite

soft quiver
#

h

shadow elk
#

h o/

wide totem
#

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

keen burrow
#

u evil

shadow elk
feral quail
#

i did have to make "small fix"

#

or "see changed files"

keen burrow
#

Smh

wide totem
#

commit: minor fixes (+2,596, -412)
this is my favorite

keen burrow
#

Smhmhmh

#

D:

wide totem
#

i signed off on a pr with 285k edits

feral quail
#

how can one have initial files with 1 deletion?

wide totem
#

anyways my repo now says its written in CSS

feral quail
#

like that implies there was something there before

keen burrow
feral quail
#

how

wide totem
odd sphinx
#

lol

#

i made a bot with css ๐Ÿ˜Ž

#

why is there so much css in there bro

wide totem
#

if you search for modmail and set the language to css my repos come up ;-;

odd sphinx
#

thats why u should split the frontend website to another repo

#

called modmail-site

#

or sometging

shadow elk
wide totem
feral quail
#

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

wide totem
rustic harborBOT
wide totem
#

we merged the site repo into the bot repo ๐Ÿ˜

#

smarts 100%

odd sphinx
#

nice

feral quail
#

lmao

shadow elk
feral quail
#

was just tons of little changes and couldn't be bothered to make them into multiple commits

feral quail
scarlet totem
#

.gh repo python mypy

rustic harborBOT
#

Optional static typing for Python 3 and 2 (PEP 484)

wide totem
feral quail
#

static typing in python

wide totem
#

discord-modmail/modmail#14

rustic harborBOT
feral quail
#

ah yes exactly what we need

#

so how was your april fools this year

scarlet totem
shadow elk
wide totem
#

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

feral quail
#

huh i recently saw poetry pop up here and there but never took the time to figure out what it does

#

what is poetry?

wide totem
#

pipenv but better

#

and not at all like pipenv

feral quail
#

right