#ot2-the-original-pubsta

652 messages · Page 49 of 1

wide totem
#

Lie at the exit polls

#

Or lie before the election

grim seal
#

hmmm, in previous years the exit polls have been pretty bang on

wide totem
#

Like "I'm voting for Joe Banks" and in reality they vote for Joe Glines

grim seal
wide totem
#

(Joe glines a different Joe who yall should look up anyhow)

#

But imo Joe > Joe

grim seal
#

when is our next gen election actually

#

ah, 2nd may 2024

wide totem
#

Today

#

Oh

grim seal
#

nah, today is local elections and stuff

#

things like mayor for london, in my area we're electing a police and fire commissioner

wide totem
#

Crazayet

grim seal
#

nah, we have a general election every 5 years

#

we had the last one in 2019

#

but they have been a bit more frequent in previous years due to the Fixed-term Parliaments Act 2011

#

2/3 majority vote in Commons triggers an electionn

wide totem
#

Ah

#

Bruh why

#

@grim seal pls bug discord admins

grim seal
#

huh?

grim seal
wide totem
#

Ugly

grim seal
#

lol

#

post on reddit or discord feedback

#

hahahahahaaha

wide totem
#

bro

#

how can i change my default programs for specific files?

#

windows

#

ugh

#

what if i want to batch replace all files that open with one file to another

#

@grim seal

#

TIL git alters history

#

anyways i'm gonna figure out how to undo commits in the usa branch of the world to 2016 now

west robin
#

Hello

wide totem
#

@vapid maple is p nice

#

cc @rapid zinc since they use compact mode && on that screenshot

rapid zinc
#

@jovial island

Vec<UnsafeCell<Option<Result<HashMap<&dyn Hash, Arc<Mutex<BTreeMap<'static str, &'b mut [u64; N]>>>>, Arc<Box<dyn Error>>>>>>
#

christ

#

what

#

is this for?

#

It's a list, of unsafecelled? dicts of btrees of strings to ints?

lucid osprey
#

OMMGGG my ot name came

#

this is awesome!!

dim root
#

this is 2nd or 3rd time it is coming

wide totem
#

^

lucid osprey
#

you sure?

wide totem
#

pretty sure

languid osprey
#

Hm

languid osprey
#

Lmao

dim root
lucid osprey
#

hmmmmmmmmm.

wide totem
lucid osprey
#

How could I not know about this brainmon I check the ot channels everyday.

wide totem
#

@rapid zinc crazy

lucid osprey
odd sphinx
#

bruh

lucid osprey
#

🤔

languid osprey
#

So many pings

#

I'm dying on the inside

lucid osprey
#

which server even is that.

odd sphinx
#

bastserver

lucid osprey
#

bast fan club server? 😂

languid osprey
#

Lmao

lucid osprey
#

.topic

rustic harborBOT
#
**If you could have any superpower, what would it be?**

Suggest more topics here!

languid osprey
#

Hm

#

Fli

lucid osprey
#

invisibility.

#

oh ye flying.

languid osprey
#

Yes

odd sphinx
#

teleportation

#

unlimited teleportation

#

then u dont need invisibility

#

u can just teleport every second

lucid osprey
#

bruh then how can you see stuff.

#

you're moving around too much.

odd sphinx
#

then i teleport slowly

dusky cliff
#

lmao

wide totem
#

Yoooooo github had an update

#

You can now pull commits directly to a fork

#

Fetch from upstream straight to a fork

#

No pr needed

tranquil ridge
#

hence teleportation supreme

odd sphinx
#

u just arrive at ur destination

#

instead of flying

#

which takes at least 1 second

jovial island
rapid zinc
#

Ik but like

#

what application

jovial island
#

I never meant leave a man of culture hanging

#
Vec<UnsafeCell<Option<Result<HashMap<&dyn Hash, Arc<Mutex<BTreeMap<'static str, &'b mut [u64; N]>>>>, Arc<Box<dyn Error>>>>>>```
#

unsafe rust

#

@rapid zinc

#

it takes what I need from both a btreemap and a hashmap for vectors it's also dynamic and mutable with static strings

#

again thou rust

#

not python

#

rust is speed

#

but complicated speed

#

python is slow but god speed to type

#

trying to combine them

jovial island
#

@rapid zinc any questions my fellow man of good culture?

rapid zinc
#

Hm

#

I feel like

#

you should be using an enum here

#

Or a custom struct of some sort

jovial island
#

I certain should use enumerate IF i was doing this in python but again it could be done without and alot more lines of code

#

a list and iterator(should be one that is built in but making one is always an option just not a good option)

dim root
rapid zinc
#

No, I mean a rust enum

#

What you should do, imo:

struct BlendMap<T> {
  HashMap<&dyn Hash, T>: map,
  BTreeMap<'static str, T>: tree,
}
#

The write get/set that query them in order

#

Not sure why you need a vec of them honestly

#

But that's more what I was trying to ask, is why you need to nest all of them

#

Seems a bit too cookie-cutter out of stdlib components when most issues require a custom struct or enum inside them that "hides" the types

bleak cliff
#

yo i have a problem with my self bot

#

can anyone help me

dusky cliff
#

with your what

#

no

#

self bot against tos

bleak cliff
#

..

#

since when

#

wtf

bleak cliff
#

of what it does

hazy laurel
final crow
hazy laurel
#

"self" implies you as the user

#

"bot" implies automation

#

You know what's against TOS? User automation.

bleak cliff
#

fam u can call it wahtever

#

the script matters

#

the fuck

hazy laurel
#

No, it does not

#

If you're automating your user in any form

#

You're self botting

bleak cliff
#

FAM

#

YOU DONT KNOW THE SCRIPT

#

IT CAN BE CALLED SELF BOT

#

BUT ITS NOT

#

omfg

final crow
hazy laurel
#
"Automating normal user accounts (generally called "self-bots") outside of the OAuth2/bot API is forbidden, and can result in an account termination if found."
#

Mate if it's not a self-bot the simple solution is not call it a self-bot

final crow
#

isn't it the first thing you do going on discord for the first time reading tos?

hazy laurel
#

because you should know that the context obviously points to something infringing on TOS

bleak cliff
#

stop blowin your dick off of tos

hazy laurel
#

Is that even supposed to make sense?

final crow
bleak cliff
final crow
#

if you are in the python server expecting help, and you are breaking the rules, do you expect to get help?

lucid girder
#

@bleak cliff We're not going to help with selfbotting.

#

!tempmute 755442337815199885 3d Selfbotting is against ToS. No need to be rude to others that are stating the rules. Take some time to cool off.

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied mute to @bleak cliff until 2021-05-10 08:34 (2 days and 23 hours).

odd sphinx
#

lol

neat moth
#

guy left the server lmfao

dusky cliff
#

🤔

lucid osprey
#

o ye.

hazy laurel
crisp vessel
hazy laurel
#

wot on Earth am I looking at

dusky cliff
#

floppus

hazy laurel
#

floppus

tranquil ridge
#

floppus

median blade
#

e

wide totem
daring jay
#

Noice

wide totem
#

@grim seal thanks lol

hazy laurel
#

run

grim seal
pliant trench
#

fuk windows

#

deleted my grub config :/

grim seal
#

I don't recall directing you there

#

lol

#

maybe i did

#

oh well, you're welcome

wide totem
#

😂

pliant trench
#

?

#

what's so funny

odd sphinx
#

🤣

keen burrow
#

Did they change it?

wide totem
keen burrow
#

That’s pretty sad

#

Don’t you have two weeks before loosing your url though

wide totem
#

they only got it yesterday

#

which means someone had been unboosting

jovial island
#

what does interstelercus mean?

cerulean panther
daring jay
jovial island
#

oh cool

idle comet
#

yeah the offtopic names change daily and are always some inside joke, funny play on words or similar

wide totem
#

i'm developing a mite too much

viral hare
#

nothing wrong if ur enjoying it

daring jay
#

@shadow elk May I ask why you don't have the Moderation Team role?

shadow elk
#

I'm taking a short break from moderation 🙂

daring jay
#

Got it. Enjoy the break!

wide totem
#

its back again

keen burrow
#

Hah

wide totem
#

@keen burrow that guy boosted 20

dusky cliff
#

damn

#

someone really likes modmail huh

scarlet totem
#

I've seen someone boost a server around 84 times

#

The server lost their vanity invite when they stopped boosting though 😔

tranquil ridge
#

wtf

dusky cliff
#

lmao

#

wait

#

each boost costs $5 right

#

lmao

#

that means it cost them $420/month

#

nice

tranquil ridge
#

nice

wide totem
#

if u have nitro it costs less

tranquil ridge
#

yeah but imagine paying for that nitro

daring jay
#

Don't you?

tranquil ridge
#

i got it as a gift lol

#

but my point was if you paid for the nitro for discount wats the point

#

it would get higher than original price

#

lol

wide totem
#

no

dusky cliff
wide totem
#

$10 nitro comes with two boosts

daring jay
wide totem
#

without nitro two boosts is $10

wide totem
#

never would be more

daring jay
#

Boots are 10 dollars.

#

And it reduces to 7 with nitro

#

Right?

wide totem
#

nitro is $10 with 2 boosts

tranquil ridge
#

boots are just 10 dollars?

daring jay
#

Idk

#

I don't want to do math

tranquil ridge
#

man my boots are 20 dollars

wide totem
#

nitro, 10

tranquil ridge
#

i want 10 dollar boots

wide totem
#

with two boosts

#

that's $10

random meadow
#

I want 10,000 dollars to pay for Bunifu framework

mint lintel
#

imo if a framework costs 10,000 dollars you should find a better framework

sinful sun
#

Goddamn it took 5 seconds for their webpage to load

#

Their prices arent even close to 10k

lime drum
soft quiver
scarlet totem
#

yes

#

I think they stopped boosting after a couple weeks lol

wide totem
#

fuckin' mood

languid osprey
#

haha

#

ironically, I put a lot of effort into README's :P

jovial island
wide totem
#

lol

#

ooh

#

i found another bug in @vapid maple

#

😏

jovial island
#

Oooh

#

What

wide totem
#

++++++++++++++++
@round moss I saw that

jovial island
#

Wowie, a vanity link

#

We know what you did @round moss

round moss
#

apologies, cat on kb

wide totem
#

😂

jovial island
#

Oh, sure

wide totem
#

why is bast with you?

jovial island
#

Omigosh that's the best name of a cat

wide totem
#

no i mean @rapid zinc

#

they cat

jovial island
#

Oh

wide totem
#

lol

hollow heart
#

interstelercus lmao

languid osprey
#

Lol

olive mauve
#

hello im not voice verified and new to this server any idea to quickly get verified?

worn sluice
#

You can’t really get quickly verified

#

just use the server normally and ez peezy voice verified

olive mauve
worn sluice
#

Yes?

olive mauve
#

is there any way i can see how many messages i have sent?

#

!e

clever salmonBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code
block. Code can be re-evaluated by editing the original message within 10 seconds and
clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an
issue with it!*

olive mauve
#

!e print('what is this')

clever salmonBOT
#

@olive mauve :white_check_mark: Your eval job has completed with return code 0.

what is this
olive mauve
#

!e help

clever salmonBOT
#

@olive mauve :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | NameError: name 'help' is not defined
grim seal
terse totem
#

ive been trying to deploy 2 apis for like

#

many days

#

anyone have experience with docker/traefik

upbeat sandal
#

@cyan vine pods bad

cyan vine
#

yeah i avoided them for ages because of the environment and stuff

upbeat sandal
#

or just... the flavor

#

try using an aeropress or something

cyan vine
#

i seem to remember watching something about aeropresses being overrated

upbeat sandal
#

well, that video was wrong

#

unless someone said that aeropress is the best possible brewer across all possible evaluation metrics

cyan vine
#

probably james hoffmann

#

but he hates everything

upbeat sandal
#

no? he just made five videos about the aeropress

#

and he likes the bripe

cyan vine
#

interesting i shall watch those

#

he was working on some gadget of his own i think

upbeat sandal
#

You too can Bripe: https://www.briping.com
This was just meant to be some fun, mostly at my expense. I would love to hear from other fellow Bripe enthusiasts though....

Music:
"love we both know (with The Field Tapes)" by Red Licorice
Elevate your videos with record-label quality music from Musicbed: http://share.mscbd.fm/jimseven

Links:

Pa...

▶ Play video
cyan vine
#

that looks great

#

watching immediately

upbeat sandal
#

"The answer to all your questions are coming. there's not really a good one to any of them."

cyan vine
#

did you watch his aldi coffee machine video?

upbeat sandal
#

yes

cyan vine
#

that was so fun to watch how miserable he was

upbeat sandal
#

This is why we have global warming.

cyan vine
#

the bripe sounds incredibly ineffecient so far haha

upbeat sandal
#

All of the good ideas in this machine are contained entirely within the portafilter.

#

yeah you have to use a lot of butane apparently

cyan vine
#

lmao the gadgets he is pulling out of his bag just for the bripe

upbeat sandal
#

they come with the bripe.

#

except the hand grinder. I guess.

cyan vine
#

if he starts grinding beans in the woods i'm going to lose it

upbeat sandal
#

I hope you find it.

cyan vine
#

oh he's reaching for a grinder lmao

#

a random passerby could think he's doing drugs

upbeat sandal
#

is he not?

cyan vine
#

stop making excuses for the poor quality of coffee in your bripe, james

upbeat sandal
#

see but I'd be his friend fumbling with the aeropress

cyan vine
#

there's 3 episodes right?

upbeat sandal
#

five

cyan vine
#

oh nice, the aeropress is an anime protagonist

upbeat sandal
#

people have been asking him to make an aeropress video for like two years

#

so he made five. I think it's almost an hour of content total.

cyan vine
#

the amount of coffee content this one man can pump out is quite impressive

upbeat sandal
#

over an hour, actually.

#

yes

#

he's the only youtuber I support on patreon

cyan vine
#

imagine him having to work an office job with a kitchenette and instant coffee

upbeat sandal
#

he works at a roastery

cyan vine
#

he still does? i thought that's how he started

upbeat sandal
#

he doesn't run it anymore and my guess is that he spends more time making videos than he does there.

cyan vine
#

yeah i imagine he makes decent money from youtube

wide totem
#

Hold on

upbeat sandal
#

I think the studio might be part of the roastery? I'm not sure.

wide totem
#

This channel name

#

Has not changed

#

In two days

upbeat sandal
#

yeah I noticed as well

wide totem
#

:d

#

I really hope it didn't remove a few of the ones I submitted

upbeat sandal
#

here's the time that I was actually interstelercus

wide totem
#

Because it tried to change them and then didn't

#

But still counted them

upbeat sandal
#

I pretty much only wear green irl so Zoom decided that my clothes were a green screen for the universe.

wide totem
#

Since the bot was never tested to not have perms to edit this channel

#

My theory is an admin changed bot perms on this channel when they changed the channel name but didn't reset them

#

Idk why u would need to change channel perms because that's never been needed but idk

cyan vine
#

i wonder if james hoffmann has tried coffee and coca cola yet

upbeat sandal
wide totem
#

BRIPE

#

BRIIIIIPE

cyan vine
#

ofc there's a video for that, amazing

upbeat sandal
#

we just watched the bripe video

wide totem
#

!reddit r/bripe

clever salmonBOT
#
Command Help

!reddit
View the top posts from various subreddits.

Subcommands:

!reddit daily [subreddit=r/Python]
Send the top posts of today from a given subreddit.
!reddit top [subreddit=r/Python]
Send the top posts of all time from a given subreddit.
!reddit weekly [subreddit=r/Python]
Send the top posts of this week from a given subreddit.

wide totem
#

Oof

cyan vine
#

i'm impressed how well known this youtuber is lmao

wide totem
#

Use r/bripe its totally not ded and isn't modded by me but use it

cyan vine
#

channel name do-you-bripe

wide totem
#

Do you even bripe bro

cyan vine
#

bripe in the woods

#

on to aeropress #2!

upbeat sandal
#

!otn a strobe's second bripe

clever salmonBOT
#

:ok_hand: Added strobe’s-second-bripe to the names list.

cyan vine
#

hahaha

wide totem
#

Bruh I hate how this channel got fucked up

#

@upbeat sandal has been channel name for 3 days

cyan vine
#

because you can't do your first bripe on camera

wide totem
#

Lmao

#

I just sent a dm to modmail

#

With the ?r at the beginning

#

Because of habit

median blade
#

Poor modmail

wide totem
#

Ikr

median blade
#

All alone at the top

wide totem
#

Is good bot

cyan vine
#

james hoffmann's youtube comments are always worth a read

wide totem
#

Uh joe

grim seal
#

yeah

wheat aurora
#

The channel name to interstelercus was changed yesterday. So no, it hasn't been that for 3 days.

wide totem
#

The other two were new as of today I believe

grim seal
#

yeah

wheat aurora
#

only ot0 got changed

wheat aurora
#

ot1 and ot2 didn't get changed

cyan vine
grim seal
#

i changed all 3 because it is easiest

#

the one that was random today will come back next cycle

wide totem
#

Do u know if the ones it tried to edit in for today and or yesterday were marked as used?

#

I've been watching for sir ram and others

cyan vine
#

hi joe

grim seal
#

any time that a channel successfully changes, it is marked as used

wide totem
#

Ah so it marks after the edit

#

Cool cool

#

What happened to make it go wrong?

grim seal
#

maintenance

wide totem
#

Wdym

#

Did the bot go down at exactly 00 UTC?

grim seal
#

pydis api had intermittent availability at exactly around that time

wide totem
#

Ah.

grim seal
#

was doing some stuff

wide totem
#

Yeah

#

Huh.

grim seal
#

huh?

wide totem
#

Is there a reddit voice channel?

grim seal
#

yes

wide totem
#

Wtf

grim seal
#

???

#

we're partnered with r/python lol

wide totem
grim seal
#

i'm an r/python mod

wide totem
#

Yes

#

That's a discord beta bug ig

#

Allows linking channels that u don't have access too

#

Anyways I mean #reddit didn't update.

grim seal
#

probably same reason

#

our entire stack went into funky mode

wide totem
#

Ah

grim seal
#

although that might be related to another thing

wide totem
#

Huh

#

I legit

#

Have no idea

#

How in the world my client

#

But I can only recreate it with that channel

#

I THINK it's because I can view #reddit but if I type the R it still links since that channel exists and such

#

#Announcements

grim seal
#

all cooking on gas again now

#

stable as a rock

cyan vine
#

why mongodb?

grim seal
#

some of our services, like modmail and forms, use it

cyan vine
#

fair enough

grim seal
#

also tracking latency for ingressing http traffic now which is fun

wide totem
grim seal
#

no, unrelated

grim seal
#

neither

wide totem
cyan vine
#

pydis must give you so many ideas for projects to tinker with. i'm kinda jealous. i am trying to come up with a project and all i can think of is a basic to-do list with an api or whatever

grim seal
#

the chart i posted earlier was just ICMP pings to our three nodes for the funsies

wide totem
#

Oh

#

Modmail is nice

#

I'm self hosting the bot rn to tinker with

#

Database and log viewer are online tho

grim seal
wide totem
grim seal
#

luckily

wide totem
#

Ignore me while I search for how to sniff subdomains

grim seal
#

our old certs

#

our new certs 🙂

#

even if you find it it's locked behind discord oauth

wide totem
#

Ik

wide totem
#

I just want to find what isn't released 😄

grim seal
#

if you think you find it DM me, I'd be very amused

wheat aurora
wide totem
#

Why is there a PayPal.pydis.....

grim seal
wheat aurora
#

haha, okay

grim seal
wide totem
#

I mean why do you need paypal

grim seal
#

for donations, lol

unreal sigil
#

They all redirect to rickrolls, trust none of them

grim seal
#

lol

unreal sigil
wide totem
#

@grim seal make ittttttt

wide totem
#

I was there when Joe made that

grim seal
#

lol

#

were you

#

i made that in dev-ops

unreal sigil
#

the .env one is from a while ago iirc

wide totem
#

Soon enougj

#

First public mention of it

grim seal
#

oh yeah it was around before then

#

I made it 16th March

#

my cloudflare stats make me sad

#

laundmo and vco ruined my caching percentage

#

spot the lads

unreal sigil
#

lmao

wheat aurora
#

If we see even 10% of that load during the actual thing I will be shocked

grim seal
#

lol

rugged portal
#

Why did it peak so much?

grim seal
#

we were playing around with stuff

#

send a lot of requests

rugged portal
#

Interesting is that graph made with python?

grim seal
#

nah, pulled from cloudflare

cyan vine
#

@grim seal or anyone if you have any ideas for cool toy projects that are relatively small i would find it really helpful since i'm kind of stuck

cerulean panther
clever salmonBOT
#

Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

cyan vine
#

i never like kindling project ideas like these lists

#

thank you very much for the link though!

#

i really do appreciate you trying 🙂

hollow heart
#

@magic atlas smh

dim root
#

ah ghost is what the blog runs on

#

and metabasefor storing or visualizing data?

torn shadow
grim seal
# dim root what is `ghost` and `promtail` and `metabase`

Ghost = blog, promtail = ships our logs into Loki, metabase = https://metabase.com/

polar urchin
dim root
vague shadow
dim root
#

interesting

vague shadow
dim root
#

yeah i saw that

vague shadow
#

this is my chat history

grim seal
#

Metabase is neat

dim root
#

(excalidraw is neat, i did my whole school project with that, and got to know it cuz of you since u used it in the morning to explain in vc)

grim seal
#

ahhh yeah excalidraw is great

dim root
#

is excali's font open sourced?

#

it is really scrappy

#

perfect for griff-ify

grim seal
#

use it for infra diagrams here as well

#

uhhh unsure

#

ah yeah, check the public folder of that repo @dim root, has a few TTFs

dim root
grim seal
#

lol

#

superset is similar to metabase, it visualises data in our databases

#

prometheus is primarily for devops metrics, every 30 seconds it reaches out to Postgres, redis and so on to collect metrics like "how many clients are connected"

dim root
#

connected to?

#

and why is superset needed, when you have metabase

grim seal
#

we collect metrics like how many services are using the DB, number of queries executed per second, any deadlocks, total numbers of rows processed

grim seal
dim root
#

oh

tawdry salmon
#

@grim seal I'm sorry to bother right now but can you come to #help-pear for a sec?

dim root
grim seal
clever salmonBOT
#
Sure.

Your reminder will arrive in 15 minutes!

tawdry salmon
#

Thanks anyway :)

dim root
#

i literally have a section under my bookmarks for pydis techstack

clever salmonBOT
grim seal
#

superset:

#

just different vis platforms for different types of visualisation

dim root
#

ah, which one do you like?

#

a lot

grim seal
#

our tech stack is so fun!! i should write about all the tools we use somewhere

#

uhhhh

#

not super long, we use docker so some things are just plug and play

#

superset was probably the hardest to setup

dusky cliff
#

lol

grim seal
#

this is our superset deployment

jovial island
#

@grim seal visualization will be more interesting if you see time wise, for example, in my time zone b/w 12 to 4 pm there is drastically low traffic in help channels, they even fall to just 5 open channels at a time.

dim root
grim seal
jovial island
#

ah im waiting

lucid osprey
#

hello 'veryone.

jovial island
#

yo ank

lucid osprey
#

o/

dim root
grim seal
#

help channel messages by hour of day since august 25th 2020

#

superset has some dope af visualisations tho

#

one sec

dim root
#

u didn't get it, "no need to be joe"

jovial island
#

ah i see, can we do it more filtered? like channels starting with 'help-' if you're storing that info

wheat aurora
#

@jovial island that should just be the help channels, not topical?

grim seal
vague shadow
grim seal
#

yeah, that is the available+in use+dormant help categories

jovial island
#

oh category id 3 is help.

grim seal
#

because there are private things, lol

grim seal
jovial island
#

oh i see. data is amazing visually sometimes.

grim seal
#

agreed

jovial island
grim seal
#

last 90 days 😄

jovial island
#

wow!

dusky cliff
#

r/dataisbeautiful moment

grim seal
#

@dim root

dim root
grim seal
#

it fluctuates so much that it's not really worth pinning it

#

I've already got several major changes to the above architecture planned

wheat aurora
#

devops aka what-new-graph-service-are-we-using-this-month

grim seal
#

lmfao

#

it hasn't changed for a while now!!!

dim root
#

major changes, where do you get knowledge of all this stuff from

#

also could you share the orignal file, discord compressed the quality down

grim seal
#

oh it truncated the extesion lol

#

change it to png

grim seal
dim root
#

docs of?

grim seal
#

well

#

for kubernetes internals, kube docs, otherwise docs of whatever component i'm changing

#

we're at a stage now where monitoring is pretty solid (though, I need to look into shipping kubernetes events to loki)

#

so I'm focusing mainly on networking and specifically ingresss

dim root
#

all of this is just a bouncer for me, so i just understand .1 % of it

grim seal
#

if there are any components you'd like explaining please ask, I can be more verbose than the descriptions in that diagram

grim seal
edgy nebula
#

pydis A B and C? 😳

#

where have you hidden these two other pydises

grim seal
#

golang headquarters

edgy nebula
hazy laurel
#

Alternate realities o_o

#

here's a simultaneous spike within them, as well

dim root
#

top half

#

another question, whats the best way to get started with all these?

median blade
#

poor anand

grim seal
# dim root the internet side

well, starting at the top internet ingress and egress is just network traffic entering and leaving pydis infrastructure

Calico is the service that sort of glues our servers together into one virtual LAN, it means that our three nodes can communicate with one another on a private network (it uses wireguard under the hood). so Pod Alpha in PyDis A might have IP 10.1.1.1, when Pod Bravo in PyDis B wants to speak to Pod Alpha then it reaches out to the IP and Calico routes it to the correct service.

CoreDNS is the DNS server for the whole cluster, so when a service looks up discord.com it returns the IPs for Discord, but also if a service wants to communicate with another service in order to avoid hardcoding IPs each server gets assigned a DNS record, like postgres.default.svc.cluster.local (breaking that down, it's the postgres in the default namespace, it's a service so svc and then cluster.local is just the root domain for the cluster).

#

Traefik brings all traffic into the cluster over HTTP, no traffic enters without passing through Traefik, it handles all the HTTP(S) traffic..

#

so when you request pythondiscord.com, first it goes to Cloudflare who then route it to our load balancer, then the load balancer picks the least congested node and forwards it there, that Node then figures out where Traefik is and pushes it through Calico to the Traefik instance

#

Traefik then evaluates it's rules and figures where to forward that on, so for pythondiscord.com that's our site service, so Traefik makes a HTTP request there and streams the request and response.

#

It also handles the mTLS, mutual TLS, as I said in the diagram, so that is an agreement between Traefik and Cloudflare that unlike a typical web connection where just the server (e.g. pythondiscord.com) presents a certificate, the client also presents one. So when you connect to pythondiscord.com first the Traefik server says "here is the certificate for pythondiscord.com" but then also says "can I have your certificate?", Cloudflare then provides a Cloudflare certificate authorising them as a Cloudflare PoP and so we let the traffic through.

#

That means that there is no way to establish an SSL connection with us unless you present a certificate that I've authorised.

#

Finally, Jaeger is the last one that you picked out on that diagram. Jaeger is a service for distributed tracing, so it shows something like this for all HTTP traffic passing through

#

That allows us to pinpoint request latency by figuring out which routes are the slowest and which stages of those requests make them slow.

#

I think that's about all the components you picked out in that diagram

grim seal
#

and again, any questions on any of the above let me know 🙂

tribal tinsel
#

Oh, Joe, and data, and graphs... Brb, I need to read it because it's always interesting :D
(and hi~)

daring jay
#

Hi Nicky

grim seal
#

Henlo Nicky

#

ya in retrospect I wrote a bit of an essay there lol

daring jay
#

It's quite interesting

#

If only I understood half of those abbreviations

languid osprey
#

lmao

grim seal
#

lol feel free to ask for any unknowns

lucid osprey
#

henlo everyone.

daring jay
#

Hello Ankith

lucid osprey
#

*scrolls up and sees joe's novel*

lucid osprey
daring jay
#

Ty

languid osprey
#

Hi ankith

dim root
#

.bm 840593559941283860

daring jay
#

.bm 840593559941283860

dim root
#

I will go though it in morning, when I get time

#

Wee, that amazing explaination

#

I will look into these separately and reach out if something is above my understanding

grim seal
#

👍

rustic harborBOT
#
In the future, don't do that.

Your input was invalid: target_message is a required argument that is missing.

Usage:.bookmark <target_message> [title=Bookmark]

wide totem
#

Yeesh you had to send most of them as seperate messages

grim seal
#

I sincerely apologise for the inconvenience, lol

daring jay
#

Things that long

grim seal
#

trying to think if I missed anything else

daring jay
#

I've only ever done that once on Discord

grim seal
#

I might run Scylla at some stage and capture temporary request logs

wide totem
#

Idk

#

Not me

#

Tbh

wide totem
wheat aurora
#

@grim seal blog post when? =P

grim seal
#

for what @wheat aurora

#

I WROTE a blog post

#

It's golden

wheat aurora
#

for our infra and the decision making + research behind it!

grim seal
#

oh lol

#

trial and error as a service

wheat aurora
#

bahaha, that is a good title for it

#

When is the blog going live? Or is it live already?

grim seal
#

live but unannounced, only got a post about stats infra on there rn

wheat aurora
#

mmmm, okay. I'll make time during some downtime during PyCon to edit mine and then that can go live

grim seal
#

poggers

#

we'll also have Chris' one at some point

wheat aurora
#

That should be a fun to read one

grim seal
#

admins, domain leads, project leads

median blade
#

@keen burrow hmmmmmm

#

Why is your status changing with RPC : 👀

#

Or is it

#

Hmm

keen burrow
#

Mhm?

#

I'm changing it manually lol

median blade
#

oh heh

clever salmonBOT
#

Hey @surreal coral!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

dim root
#

another q: What do you mean by "time series counters on graphite"?

grim seal
#

it's an IP which then passes TCP conns onto our nodes, which then enter the calico system for that node

grim seal
dim root
#

how is it used in the stack? doesn't postgres already do that

grim seal
#

it's way simpler than postgres

#

we use it in bot all over the place

daring jay
#

Isn't it used for the stats site? Graphite

dim root
#

where exactly on the bot?

grim seal
#

anything that references self.bot.stats

#

most of our help channel stats come from graphite

daring jay
#

So graphite is just a fancy counter?

grim seal
#

pretty much hahahahaha

dim root
#

ah found it

grim seal
#

yeah there are all sorts

dim root
#

this is interesting

grim seal
#

it's nice to be able to add stats on bot while maintaining our no-db on bot architecture

#

graphite requires no backend changes, as soon as the first metric is reported it's just there

daring jay
#

Metricity doesn't track info on specific channels, right?

#

Just categories?

#

Well, besides a couple

grim seal
#

no, it does channels

daring jay
#

It does?

#

Oh

grim seal
dim root
grim seal
#

not really simple postgres

daring jay
#

Oh wait

grim seal
#

it's timeseries vs. relational

daring jay
#

i'm confusing myself

grim seal
#

graphite is counters over time, postgres has the concepts of rows, data that isn't integers and relations

dim root
#

ah yes, got it

daring jay
#

I for some reason just now thought that metricity was used for the stats site, not Python

grim seal
#

metricity feeds into postgres, python into graphite

#

python queries from metricity sometimes through site

dim root
grim seal
#

uhhhhhh

#

no

dim root
#

yeah ik, i said "lol"

grim seal
daring jay
#

Scylla db, not scylla ai

grim seal
#

fast writes!!!

scarlet totem
grim seal
#

lol

#

hmmm i need to resize the graphite volume

#

lo

#

l

dim root
#

would you guys ever clean data, when it is too much

grim seal
grim seal
#

that was a super simple resize actually

#

just edited the manifest to trigger the resize

daring jay
#

How much data do you have space for?

grim seal
#

and then a

grim seal
dim root
#

can jagger be used to monitor get requests too?

grim seal
#

jaeger is currently monitoring all requests in the cluster

pastel nest
#

love the username

grim seal
pastel nest
#

hey joe :D

grim seal
#

henlo

pastel nest
daring jay
daring jay
#

I know what that link is

pastel nest
#

wait it doesn't work

grim seal
#

logs for what

#

we have logs just not in a separate service

daring jay
#

I see

pastel nest
#

stupid embeds

grim seal
daring jay
daring jay
grim seal
#

adding tags to @clever salmon

pastel nest
grim seal
daring jay
grim seal
#

yes

#

but not a subdomain

#

staff has a use right now

#

it's used for log viewing for anti-spam

#

but we're moving that

#

is that project public

#

yes

daring jay
#

Ooh, nice

dim root
#

is that completed?

grim seal
#

no

dim root
#

or WIP

wide totem
#

wish me luck you guys

grim seal
#

very much WIP

dim root
#

didn't see progress in a while

pastel nest
wide totem
#

i just had someone try to break out of a docker container

#

hoping no success

#

but if they do oof

grim seal
#

lol, there is no username/password auth for pydis site

daring jay
#

It's through OAuth2, right?

grim seal
#

maybe one admin credential but we don't have it noted anywhere lol

#

ya

#

all through oauth2

daring jay
#

The login is just there cause Django

wide totem
grim seal
grim seal
daring jay
wide totem
#

i've seen what the modmail log thingy looks like

#

its pretty nice

#

just copy it

pastel nest
grim seal
#

nah, we're good

wide totem
#

lol

grim seal
#

we have some stuff we want to do

#

and the modmail logviewer is falling apart

wide totem
#

ik but like it seems like a good starting point

wide totem
grim seal
#

I had to fork it once because it just was absolutely broken, Docker image wouldn't even start

#

lol, that's exactly why we're writing logcord

daring jay
#

Which PyDis projects are React apps? Stats and Forms frontend, right?

wide totem
#

no i mean

#

contribute to the logviewer

grim seal
#

the logviewer is not an upstream project we are interested in pushing resources at right now

wide totem
#

u guys are weird ngl

daring jay
#

Why is it weird to want to have fun

#

By making your own stuff?

grim seal
#

lol

grim seal
#

sounds about right

daring jay
#

You could say, I'll never make a Discord bot because it already exists. I'll just contribute to an existing one. But you still make a Discord bot.

grim seal
#

there are like

#

some things that we don't maintain

#

that are probably react

daring jay
#

I see.

grim seal
#

mTLS is so nice

#

what a lovely tool

daring jay
#

React-router is unnecessarily hard to use imo

grim seal
#

yaaaaaa but it does a job

daring jay
#

It does.

#

But I would much rather use something built for multi-page apps

wide totem
#

whats a git command to list all remotes

#

i'm currently screwed

scarlet totem
wide totem
#

or being screwed by my own former project management, depending on how you look at it

grim seal
#

git remote -v

wide totem
#

tl;dr i fucked my self with this

#

YEAH JUST A BIT

wide totem
#

what was i even thinking

dim root
#

me working with git ^

wide totem
#

me_irl and rn

daring jay
grim seal
#

git is fun

daring jay
grim seal
#

i saw a great article the other day

daring jay
#

But it's also a good tool

wide totem
#

if you don't uh

#

configure everything like shit to start

daring jay
#

Idk what half the git commands do

wide totem
#

this is from uh

daring jay
#

But git --help exists for a reason

dim root
#

well i have got familar with git now, so yeah not a problem

wide totem
#

this is how bad i was

dim root
#

lol

grim seal
#

what a great blog post

wide totem
#

two months ago i updated this shit

#

now, i'm actually gonna figure out how the fuck to git it

#

i shouldn't do it

#

but i think im gonna scrap the commits from two months ago

#

and rollback to the old code

#

then apply my new edits

#

if i can figure out how the fuck to do that

#

someone able to help me figure out how the fuck to do that?

#

or even just to get these edits correct

#

anyone, please?

scarlet totem
#

git reset

dim root
#
git remote add upstream https://github.com/Shivansh-007/piston-cli.git
# fetch and get contents of upstream remote you added up
git fetch upstream
# checkout to v3 branch on **your** clone
git checkout v3-piston-api
# Reset the branch to upstream main, and forcefully remove all changes on the branch
git reset --hard upstream/v3-piston-api
# Push the changes to your branch
git push origin v3-piston-api --force
wide totem
#

honestly might just rm -rf .

dim root
#

had sent it to someone else

daring jay
#

If you're selling logs joe, can you teach me how to make logs look nice?

grim seal
#

lol

#

what type of logs

daring jay
#

Not physical logs

#

Like, online logs for stuff

wide totem
#

bruh ffs

daring jay
#

Warnings, errors

wide totem
#

what is the recommended way to make a requirements.txt?

daring jay
#

And other fancy stuff

dim root
#

is there any library/tool to render a log file in browser or cli?

#

in a pretty way

wide totem
#

what is the recommended way to make a requirements.txt?

grim seal
#

from what?

#

i mean, manually? through poetry? pip freeze?

grim seal
#

like

#

http access logs? discord logs?

daring jay
#

Just any logs that show things like errors, warnings, anything in any kind of service. Just what makes it look good?

grim seal
#

hmmm

#

I use grafana loki

daring jay
#

Fancy

grim seal
#

each log then has additioal metadata

daring jay
#

That's some nice detail

#

I need to make something where I can screw with all the million different technologies I've wanted to try

#

But idk what that would be

grim seal
#

get a raspberry pi!!!!!!!!

daring jay
#

I should

grim seal
daring jay
#

One thing I want to do is make a website with a database

#

But idk what to make

#

Since I'm indecisive

grim seal
#

todo app / blog are my bets

daring jay
#

I'm making a blog rn, but it isn't using a database

#

It's rendering from markdown files

#

Maybe I'll make a todo app

#

Thanks for the suggestions!

#

Hmmmm

#

I'll would probably deploy with supabase and vercel

#

Maybe

jovial island
#

Joe i knew you sold logs, but coals too!!!

dusky cliff
#

akarys 99

daring jay
#

You know French?

#

nice

dusky cliff
#

I took french at school for years
I learnt close to nothing but I was good at the numbers at least lol

viral hare
#

lmao

#

counting is good enough

dusky cliff
#

oui oui

viral hare
#

lmao i frogot all french

grim seal
#

hmmm

#

log fiiiile

grim seal
#

not that I know

#

of

dim root
#

ah ok, do you any how to render loguru's log file in terminal, i am writing a cli tool, and and want to render the log file when someone adds --logs flag

wide totem
#

like you do!

grim seal
#

huh

#

ehhhhh

#

pi is better

#

my process is generally pi --> dev cluster --> pydis cluster --> prod cluster

#

for learning new tech

wide totem
#

LMFAO

#

pydis cluster --> prod cluster

#

sounds like a solid idea

#

use this server for learning

shrewd burrow
#

hi

wide totem
#

@grim sealdo u know if @vapid maple errors are connected to sentry?

#

i'm highly assuming not

grim seal
#

the whole point of running such a bonkers infra here is so that we can have a test env which is not critical but is well funded with room for experimentationn

#

it's a super neat resource to have

grim seal
wide totem
#

??

#

yw

#

i really hope you guys edited a portion of it

grim seal
#

edited a portion of what?

wide totem
#

since ?? sends a fricking error

#

its annoying

grim seal
#

it sends a warning

wide totem
#

yes

#

its annoying

grim seal
#

ah yeah

#

that doesn't propagate to my emails

wide totem
#

lol

#

ngl tho the modmail bot is fricking amazing

#

even if it does have its bugs.….

……it has so many less bugs than my bot

grim seal
#

it is pretty nice

#

we might eventually fork / write our own, but it's been very nice

wide totem
#

eh

#

i'm gonna be making some prs to it