#ot2-the-original-pubsta
652 messages · Page 49 of 1
hmmm, in previous years the exit polls have been pretty bang on
Like "I'm voting for Joe Banks" and in reality they vote for Joe Glines
nah, today is local elections and stuff
things like mayor for london, in my area we're electing a police and fire commissioner
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
huh?
not sure what you mean
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
Hello
@vapid maple is p nice
cc @rapid zinc since they use compact mode && on that screenshot
@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?
this is 2nd or 3rd time it is coming
^
you sure?
pretty sure
Hm
bruh wtf
Lmao
yep
hmmmmmmmmm.
😳
How could I not know about this
I check the ot channels everyday.
@rapid zinc crazy
wtf
bruh
🤔
which server even is that.
bastserver
bast fan club server? 😂
Lmao
Suggest more topics here!
Yes
teleportation
unlimited teleportation
then u dont need invisibility
u can just teleport every second
then i teleport slowly
lmao
Yoooooo github had an update
You can now pull commits directly to a fork
Fetch from upstream straight to a fork
No pr needed
you can even fly by just teleporting above every 5 seconds
hence teleportation supreme
oh sorry didn't see this and it's for rust
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
I could do everything this can do with just an iterator and list in python but oh god that is EXPENSIVE (plus memory stack frame limits and whatnot)
@rapid zinc any questions my fellow man of good culture?
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)
are you setting up a modmail bot?
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
No, it does not.
lol
"self" implies you as the user
"bot" implies automation
You know what's against TOS? User automation.
i can't, i give up 🤣
"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
isn't it the first thing you do going on discord for the first time reading tos?
because you should know that the context obviously points to something infringing on TOS
stop blowin your dick off of tos
Is that even supposed to make sense?
🤦♂️
ur teeth dont make sense
if you are in the python server expecting help, and you are breaking the rules, do you expect to get help?
@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.
:incoming_envelope: :ok_hand: applied mute to @bleak cliff until 2021-05-10 08:34 (2 days and 23 hours).
lol
guy left the server lmfao
🤔
I don't think anyone complaining haha
wot on Earth am I looking at
floppus
floppus
floppus
e
two of them
Noice
@grim seal thanks lol
run
what for
🤣
Did they change it?
3 days
what does interstelercus mean?
its a joke, stelercus is the name of a moderator, they just added inter
oh cool
yeah the offtopic names change daily and are always some inside joke, funny play on words or similar
i'm developing a mite too much
nothing wrong if ur enjoying it
@shadow elk May I ask why you don't have the Moderation Team role?
I'm taking a short break from moderation 🙂
Got it. Enjoy the break!
Hah
I've seen someone boost a server around 84 times
The server lost their vanity invite when they stopped boosting though 😔
wtf
lmao
wait
each boost costs $5 right
lmao
that means it cost them $420/month
nice
yeah but imagine paying for that nitro
Don't you?
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
no
sed
not so nice anymore
$10 nitro comes with two boosts
Depends on how many boots you buy
without nitro two boosts is $10
nitro is $10 with 2 boosts
boots are just 10 dollars?
man my boots are 20 dollars
i want 10 dollar boots
I want 10,000 dollars to pay for Bunifu framework
imo if a framework costs 10,000 dollars you should find a better framework
Goddamn it took 5 seconds for their webpage to load
Their prices arent even close to 10k
rip
swas' server
fuckin' mood
Shit this is me
apologies, cat on kb
😂
Oh, sure
why is bast with you?
Omigosh that's the best name of a cat
Oh
lol
interstelercus lmao
Lol
hello im not voice verified and new to this server any idea to quickly get verified?
You can’t really get quickly verified
just use the server normally and ez peezy voice verified
is it just 50 messages and 3 10min parts?
Yes?
!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!*
!e print('what is this')
@olive mauve :white_check_mark: Your eval job has completed with return code 0.
what is this
!e help
@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
ive been trying to deploy 2 apis for like
many days
anyone have experience with docker/traefik
@cyan vine pods bad
yeah i avoided them for ages because of the environment and stuff
i seem to remember watching something about aeropresses being overrated
well, that video was wrong
unless someone said that aeropress is the best possible brewer across all possible evaluation metrics
watch the bripe video https://www.youtube.com/watch?v=tltBHjmIUJ0
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...
"The answer to all your questions are coming. there's not really a good one to any of them."
did you watch his aldi coffee machine video?
yes
that was so fun to watch how miserable he was
This is why we have global warming.
the bripe sounds incredibly ineffecient so far haha
All of the good ideas in this machine are contained entirely within the portafilter.
yeah you have to use a lot of butane apparently
lmao the gadgets he is pulling out of his bag just for the bripe
if he starts grinding beans in the woods i'm going to lose it
I hope you find it.
is he not?
stop making excuses for the poor quality of coffee in your bripe, james
see but I'd be his friend fumbling with the aeropress
the aeropress intro is dank btw: https://www.youtube.com/watch?v=aidvrssMSGo
Head over to https://www.squarespace.com/jameshoffmann and save 10% off your first purchase of a website or domain using code JAMESHOFFMANN.
Win an AeroPress: https://gleam.io/hdwsc/aeropress-giveaway
AeroPress: https://aeropress.com
Watch "The AeroPress Movie": https://vimeo.com/r/3b8z/bnEwdDdtZH
Code "JAMES" should get you 25% off. (This is ...
there's 3 episodes right?
five
oh nice, the aeropress is an anime protagonist
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.
the amount of coffee content this one man can pump out is quite impressive
imagine him having to work an office job with a kitchenette and instant coffee
he works at a roastery
he still does? i thought that's how he started
he doesn't run it anymore and my guess is that he spends more time making videos than he does there.
yeah i imagine he makes decent money from youtube
Hold on
I think the studio might be part of the roastery? I'm not sure.
yeah I noticed as well
I pretty much only wear green irl so Zoom decided that my clothes were a green screen for the universe.
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
i wonder if james hoffmann has tried coffee and coca cola yet
Lol
yes, there's a video of that
Bripe
BRIPE
BRIIIIIPE
ofc there's a video for that, amazing
we just watched the bripe video
!reddit r/bripe
!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.
Oof
i'm impressed how well known this youtuber is lmao
Use r/bripe its totally not ded and isn't modded by me but use it
channel name do-you-bripe
Do you even bripe bro
!otn a strobe's second bripe
:ok_hand: Added strobe’s-second-bripe to the names list.
hahaha
Bruh I hate how this channel got fucked up
@upbeat sandal has been channel name for 3 days
because you can't do your first bripe on camera
Poor modmail
All alone at the top
Is good bot
james hoffmann's youtube comments are always worth a read
Uh joe
yeah
The channel name to interstelercus was changed yesterday. So no, it hasn't been that for 3 days.
The other two were new as of today I believe
yeah
only ot0 got changed
okay and? ¯\_(ツ)_/¯
ot1 and ot2 didn't get changed
Save 25% on your first Native Plastic-Free Deodorant Pack - normally $39, you’ll get it for $29! Click here http://bit.ly/nativehoffmann and use my code HOFFMANN #AD
NATIVE DEODORANT REVIEW #NativePartner #Deodorant
#AluminumFree
Here's everything we reviewed:
Puck Puck: https://puckpuck.me
Hexnub Organiser: https://www.hexnub.com/collections/...
i changed all 3 because it is easiest
the one that was random today will come back next cycle
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
hi joe
any time that a channel successfully changes, it is marked as used
maintenance
pydis api had intermittent availability at exactly around that time
Ah.
was doing some stuff
huh?
Is there a reddit voice channel?
yes
Wtf
i'm an r/python mod
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.
Ah
although that might be related to another thing
Huh
I legit
Have no idea
How in the world my client
Linked #737070066989793332
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
why mongodb?
some of our services, like modmail and forms, use it
fair enough
also tracking latency for ingressing http traffic now which is fun
no, unrelated
Lol censoring a sub domain is funny
Probably Modmail.pythondiscord.com and staff.pythondiscord.com
neither
Lol censoring a sub domain is a pretty good idea in some cases
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
the chart i posted earlier was just ICMP pings to our three nodes for the funsies
Oh
Modmail is nice
I'm self hosting the bot rn to tinker with
Database and log viewer are online tho
it makes sense for unreleased things
Database at mongodb.com and log viewer on heroku 😓
luckily
we now use wildcard certs for pydis.com lol
otherwise it would be quite easy to find it through https://crt.sh/?q=pythondiscord.com
Free CT Log Certificate Search Tool from Sectigo (formerly Comodo CA)
Ignore me while I search for how to sniff subdomains
Ik
ya it's great stuff
I just want to find what isn't released 😄
if you think you find it DM me, I'd be very amused
Including the one that has to be unlocked because of the integration?
Why is there a PayPal.pydis.....
that wasn't the censored one, that's obscure enough through my shit naming LOL
haha, okay
redirect
for donations, lol
They all redirect to rickrolls, trust none of them
lol
Legit why is that not valid
https://pydis.com/.env hmmmm
Rick Astley's official music video for “Never Gonna Give You Up” Listen to Rick Astley: https://RickAstley.lnk.to/_listenYDSubscribe to the official Rick Ast...
@grim seal make ittttttt
lol
were you
i made that in dev-ops
it was pydis.com/admin
but then i got legit complaints from staff because pythondiscord.com/admin is a real site lmfao
the .env one is from a while ago iirc
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
lmao
If we see even 10% of that load during the actual thing I will be shocked
lol
Why did it peak so much?
Interesting is that graph made with python?
nah, pulled from cloudflare
@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
!projects have you tried the projects in !projects?
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.
i never like kindling project ideas like these lists
thank you very much for the link though!
i really do appreciate you trying 🙂
@magic atlas smh
what is ghost and promtail and metabase
https://blog.pythondiscord.com/ interesting
ah ghost is what the blog runs on
and metabasefor storing or visualizing data?

Ghost = blog, promtail = ships our logs into Loki, metabase = https://metabase.com/
The fastest, easiest way to share data and analytics inside your company. An open source Business Intelligence server you can install in 5 minutes that connects to MySQL, PostgreSQL, MongoDB and more! Anyone can use it to build charts, dashboards and nightly email reports.
oh thanks, um i didn't really understand what metabase is used for
It's a reporting tool that sits on top of django+metricity data
interesting
Lets us make cool graphs like this
yeah i saw that
this is my chat history
Metabase is neat
(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)
ahhh yeah excalidraw is great
use it for infra diagrams here as well
uhhh unsure
https://github.com/excalidraw/excalidraw the project is open source though
ah yeah, check the public folder of that repo @dim root, has a few TTFs
superset?, promethers? oh boy what all does pydis use?
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"
well, in the example postgres
we collect metrics like how many services are using the DB, number of queries executed per second, any deadlocks, total numbers of rows processed
different visualisations
oh
@grim seal I'm sorry to bother right now but can you come to #help-pear for a sec?
sir graphs, can you show any context with the two graphs?
I can't right now, no
!remind 15M this
Your reminder will arrive in 15 minutes!
i literally have a section under my bookmarks for pydis techstack
@grim seal
Here's your reminder: this.
[Jump back to when you created the reminder](#ot2-the-original-pubsta message)
metabase:
superset:
just different vis platforms for different types of visualisation
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
lol
@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.
yes please, or maybe just list them out, and how they are connected
i have a good chart for this, one second 🙂
ah im waiting
hello 'veryone.
yo ank
o/
smh, no need of superset then, we have metabase, no need to be joe
help channel messages by hour of day since august 25th 2020
superset has some dope af visualisations tho
one sec
u didn't get it, "no need to be joe"
ah i see, can we do it more filtered? like channels starting with 'help-' if you're storing that info
@jovial island that should just be the help channels, not topical?
that chat is for just the help channels, it's filtered to the 3 categories
yeah, that is the available+in use+dormant help categories
oh category id 3 is help.
because there are private things, lol
it's 3 selections, one ID for each category
oh i see. data is amazing visually sometimes.
agreed
yeah topical are always kinda busy, but help channels are so less at certain times. remarkably less.
last 90 days 😄
wow!
r/dataisbeautiful moment
@dim root
cool thankyou, that is really helpful
maybe pin that in #dev-contrib
it fluctuates so much that it's not really worth pinning it
I've already got several major changes to the above architecture planned
devops aka what-new-graph-service-are-we-using-this-month
major changes, where do you get knowledge of all this stuff from
also could you share the orignal file, discord compressed the quality down
oh it truncated the extesion lol
change it to png
talking with folks, reading docs mainly
docs of?
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
all of this is just a bouncer for me, so i just understand .1 % of it
if there are any components you'd like explaining please ask, I can be more verbose than the descriptions in that diagram
nice
golang headquarters

the internet side
top half
another question, whats the best way to get started with all these?
lmao
poor anand
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
That's a good question. I got started by spinning up a Kubernetes cluster personally around last June and tinkered with it, but most of my experience comes from working on the PyDis cluster
and again, any questions on any of the above let me know 🙂
Oh, Joe, and data, and graphs... Brb, I need to read it because it's always interesting :D
(and hi~)
Hi Nicky
lmao
lol feel free to ask for any unknowns
henlo everyone.
Hello Ankith
*scrolls up and sees joe's novel*
nice pfp 👌
Ty
Hi ankith
.bm 840593559941283860
.bm 840593559941283860
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
👍
Your input was invalid: target_message is a required argument that is missing.
Usage:.bookmark <target_message> [title=Bookmark]
Yeesh you had to send most of them as seperate messages
I sincerely apologise for the inconvenience, lol
Who likes typing things in one message
Things that long
trying to think if I missed anything else
I've only ever done that once on Discord
I might run Scylla at some stage and capture temporary request logs
^
@grim seal blog post when? =P
for our infra and the decision making + research behind it!
bahaha, that is a good title for it
When is the blog going live? Or is it live already?
live but unannounced, only got a post about stats infra on there rn
mmmm, okay. I'll make time during some downtime during PyCon to edit mine and then that can go live
That should be a fun to read one
admins, domain leads, project leads
oh heh
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:
load balancer here is calico right?
another q: What do you mean by "time series counters on graphite"?
no, load balancer is upstream at Linode
it's an IP which then passes TCP conns onto our nodes, which then enter the calico system for that node
graphite is not smart, it just stores a counter like foo.bar being equal to 11, you can increment and decrement and that's about it
how is it used in the stack? doesn't postgres already do that
it's way simpler than postgres
we use it in bot all over the place
https://blog.pythondiscord.com/statistics-infrastructure/ has a lot on the services we use for stats
Isn't it used for the stats site? Graphite
where exactly on the bot?
anything that references self.bot.stats
yes, https://stats.pythondiscord.com/ pulls all data from graphite
Public statistics for the Python Discord server
most of our help channel stats come from graphite
So graphite is just a fancy counter?
pretty much hahahahaha
ah found it
yeah there are all sorts
this is interesting
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
Metricity doesn't track info on specific channels, right?
Just categories?
Well, besides a couple
no, it does channels
that's nice, so graphite in two words is simple postgres
Oh wait
it's timeseries vs. relational
i'm confusing myself
graphite is counters over time, postgres has the concepts of rows, data that isn't integers and relations
ah yes, got it
I for some reason just now thought that metricity was used for the stats site, not Python
metricity feeds into postgres, python into graphite
python queries from metricity sometimes through site
https://www.scylla.ai/ 👀 lol
yeah ik, i said "lol"
Scylla db, not scylla ai
fast writes!!!
Ah yes that's how we'll upgrade moderation on bot
would you guys ever clean data, when it is too much
nice
maybe down the line, but we're currently at ~10GB with only around a years worth of data
that was a super simple resize actually
just edited the manifest to trigger the resize
How much data do you have space for?
and then a
no idea lol
can jagger be used to monitor get requests too?
jaeger is currently monitoring all requests in the cluster
love the username
hey joe :D
joe may i ask what does this mean? the "tag speedrun" and "devops"
I'm surprised there's no such thing as logs.pydis.com
there's https://pydis.com/.env
I know what that link is
wait it doesn't work
I see
stupid embeds
tag speedrun = the policy we have which means that if it's only a tag PR on bot then you only need 1 staff approval (as opposed to 1 core dev + 1 staff/contrib)
devops = if you touch Dockerfile or workflows you need a review from a member of my team
Staff.pydis.com exists. Noice
ah i see. what's a tag pr?
Why is there staff.pydis.com but not admin.pydis.com?
adding tags to @clever salmon
what would we put on admin.pydis.com
ohhh ok
staff.pydis.com will be deleted soon
Isn't there pydis.com/admin
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
Ooh, nice
is that completed?
no
or WIP
wish me luck you guys
very much WIP
didn't see progress in a while
me trying to login with
username: eivl
password: eivl's evil eval
i'm surprised it doesn't work
i just had someone try to break out of a docker container
hoping no success
but if they do oof
lol, there is no username/password auth for pydis site
It's through OAuth2, right?
maybe one admin credential but we don't have it noted anywhere lol
ya
all through oauth2
The login is just there cause Django
just copy the modmail log viewer lol
and things like https://jaeger.pythondiscord.com/ are also OAuth2
no valid credentials for it
Django default
ah
nah, we're good
lol
ik but like it seems like a good starting point
well then contribute to a project that directly benefits you
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
Which PyDis projects are React apps? Stats and Forms frontend, right?
the logviewer is not an upstream project we are interested in pushing resources at right now
u guys are weird ngl
lol
uhhhhhhhhhhhh
sounds about right
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.
I see.
React-router is unnecessarily hard to use imo
yaaaaaa but it does a job
git remote
or being screwed by my own former project management, depending on how you look at it
git remote -v
what was i even thinking
me working with git ^
me_irl and rn
Which is why I will never not use Next for multi-page React apps unless I have to
git is fun
Same
i saw a great article the other day
But it's also a good tool
well yeah if you know how to use it
if you don't uh
configure everything like shit to start
Idk what half the git commands do
this is from uh
But git --help exists for a reason
well i have got familar with git now, so yeah not a problem
lol
In this post I want to explain a new deployment method I came up with while working on drwn.io.
I wanted it to meet a few requirements:
Simple
Based on git tags
Zero-downtime
Easy rollbacks
Creating …
what a great blog post
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?
git reset
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
honestly might just rm -rf .
had sent it to someone else
If you're selling logs joe, can you teach me how to make logs look nice?
bruh ffs
Warnings, errors
what is the recommended way to make a requirements.txt?
And other fancy stuff
what is the recommended way to make a requirements.txt?
lol, still not following
like
http access logs? discord logs?
Just any logs that show things like errors, warnings, anything in any kind of service. Just what makes it look good?
Fancy
each log then has additioal metadata
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
get a raspberry pi!!!!!!!!
I should
One thing I want to do is make a website with a database
But idk what to make
Since I'm indecisive
todo app / blog are my bets
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
Joe i knew you sold logs, but coals too!!!
akarys 99
I took french at school for years
I learnt close to nothing but I was good at the numbers at least lol
oui oui
lmao i frogot all french
pong pong joe
Same
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
huh
ehhhhh
pi is better
my process is generally pi --> dev cluster --> pydis cluster --> prod cluster
for learning new tech
LMFAO
pydis cluster --> prod cluster
sounds like a solid idea
use this server for learning
hi
@grim sealdo u know if @vapid maple errors are connected to sentry?
i'm highly assuming not
why lmfao? lol
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
they are not, but they do get emailed to me
edited a portion of what?
it sends a warning


