#ot2-the-original-pubsta

652 messages · Page 114 of 1

cedar turtle
#

i have evidence that hsp is mean

#

he has banned 158 people

#

see i told you

dusky cliff
#

get ready to be 159th

cedar turtle
#

no one beleived me

remote widget
dusky cliff
#

lol

cedar turtle
#

this perosn is racist

#

it a jok pls no ban me

dusky cliff
#

:hmmm:

cedar turtle
#

hmm

remote widget
#

Wait whats that?

cedar turtle
#

there are notes wtf?

#

wot is notes

remote widget
#

Then first unban 31 people (:

dusky cliff
jade bolt
echo fern
#

hsp be grinding that k/d

remote widget
#

😂

dusky cliff
#

chris has like 7k bans to his name in the last year

jade bolt
remote widget
#

I'm damn sure eivl has the largest number of bans

cedar turtle
#

noobs

dusky cliff
#

admittedly most are automated

cedar turtle
#

i have infinite d/k ratio

jade bolt
remote widget
#

Isn't he the oldest admin here?

#

Idk

jade bolt
#

possibly

dusky cliff
jade bolt
#

age or time here :/

remote widget
#

Oldest as in, the first admin or smth, ofc after the founders

#

Not talking about age but time

cedar turtle
#

techinaclly wouldnt joe be oldest admin

dusky cliff
#

yeah probably

jade bolt
#

I'm the youngest discord user, I'm under 13 :)

#

jkjk pls no ban

cedar turtle
#

me resisting a joe mama joke

remote widget
#

Resist

fresh yarrow
#

No

jovial island
#

I still have it xD

#

@fresh yarrow dekkkkkkriellll!!!

remote widget
remote widget
jovial island
remote widget
#

s. m. h.

jovial island
#

lmao

remote widget
#

Stop. Calling. Me. Huni.

jovial island
remote widget
#

hunter*

jovial island
remote widget
#

Yea

jovial island
#

naww

remote widget
#

yaaaaa

jovial island
#

naawwwwwwwwwwwwwwww

remote widget
#

Smh I hate that name huni

jovial island
remote widget
#

s.m.h.

#

w h y y o u d o t h i s t o m e

fluid plank
#

@dusky cliffare u a friend or a foe?

remote widget
#

Lmao

#

He is mean 👀

dusky cliff
#

more of a median guy

remote widget
#

He is neither a friend, nor a foe to anyone

jovial island
remote widget
#

Yea, that can also be used but meh

fresh yarrow
remote widget
#

Lmao everyone wants u to sleep

fresh yarrow
#

Ok

real forum
#

I'm almost guaranteeing you that there are more "hsp"s than "return Hunter if python == js"s

dusky cliff
fresh yarrow
#

joe likes playing forza
cool

real forum
#

It's someone else that's on his Xbox or something

fresh yarrow
#

oh shit

tranquil ridge
real forum
#

Ohh

#

Mb, it's early

dusky cliff
#

imagine making spelling mitsakes

dusky cliff
#

Huh?

remote widget
real forum
remote widget
real forum
#

Right

#

There are more people with hsp in their name here

remote widget
#

Ah

#

My name is unique yk

real forum
#

Than with "return Hunter if python === js"

#

Speaking of unique, it's so unique that it's incorrect!

remote widget
#

Fax

real forum
#

Yes

fresh yarrow
dusky cliff
remote widget
#

Hahahahahahahaha

fresh yarrow
#

hahaha

wheat rock
#

else block wants to know your location

real forum
fresh yarrow
#

we are unstoppable

dusky cliff
#

i dont go to university

remote widget
real forum
#

Ohh

#

Wait hsp you're like... 17

fresh yarrow
wheat rock
#

yes

remote widget
#

BTW hsp, change yours to return hsp lol

dusky cliff
#

i barely even go to school

real forum
#

Right?

dusky cliff
#

yes

wheat rock
#

coaching supremacy

fresh yarrow
real forum
#

Smh go to school, don't skip

remote widget
#

Don't return hunter everywhere

real forum
#

I'm on my way to school rn

dusky cliff
#

haha im totally not in a class rn

remote widget
#

One is enough to make y'all mad

fresh yarrow
real forum
#

And I hate it

wheat rock
#

indeed

dusky cliff
#

this is just a random zoom window i have open

#

haha

remote widget
#

🤣

wheat rock
#

online coaching okay

real forum
#

Online school doesn't really count as class

remote widget
#

Indeed

real forum
#

It's just... time spent doing things you won't remember tmrw

fresh yarrow
#

I closed it though

remote widget
#

Rip

#

Was gonna vid call u, @wheat rock

wheat rock
real forum
#

Not really

remote widget
#

@real forum can I send a friend request to you? 👀

fresh yarrow
real forum
#

No, sorry

wheat rock
#

hm

real forum
remote widget
real forum
#

Ohh

#

Yeah I would probably just block you because I don't know you

remote widget
fresh yarrow
#

I'll be in a lesson by then :D

remote widget
#

Haha it's fine... Ik those random DMs and friend requests

remote widget
fresh yarrow
pliant trench
#

i have that issue too

remote widget
#

O then nvm

real forum
#

Yeah I used to get them a lot when I had a PFP of me in some servers

pliant trench
#

maybe it's not even an issue

wheat rock
#

lmao i too have this

#

does not seem like a bug , discord did some changes

pliant trench
#

basically i have like 10 ppl popped up there

wheat rock
#

we are good friends since long time

remote widget
#

Yes

wheat rock
#

@median blade well you too are here incident_investigating

median blade
#

im famous

fresh yarrow
wheat rock
#

i dont know on what basis does it display if they dont lie in friend list 🤔 and if its not a bug

pliant trench
#

you have replied too many messages from his ig

jovial island
tranquil ridge
wheat rock
#

concerning

median blade
wheat rock
#

oh

tranquil ridge
wheat rock
#

i am 90% sure you accepted his request

remote widget
#

U know

tranquil ridge
#

i dont

median blade
remote widget
jade bolt
#

should i press dis

jovial island
tranquil ridge
jade bolt
#

yey

remote widget
jovial island
remote widget
jovial island
remote widget
#

thendontlieaboutthatandtellthetruth

pliant trench
#

stop making hash codes

remote widget
pliant trench
#

i aint gon read that

remote widget
#

whyudothistome🥺

jade bolt
remote widget
jade bolt
remote widget
jade bolt
#

nodatswatumeant

remote widget
#

Uhhhh, earrape

jovial island
#

nvm its so bad

remote widget
#

Lmao

jovial island
#

rip my ears

remote widget
#

Hahaha there's a reason it's named earrape

jovial island
remote widget
#

I mean, I listened to an earrape once...

jovial island
#

lmao

remote widget
#

Like long ago

#

Uhhh, I wasn't able to hear properly for the rest of the day

remote widget
jovial island
#

many of them are guys so uhhh, sure

remote widget
#

Lmaoo

#

What uwuness 👀

jovial island
remote widget
#

Good thing u at least didn't forget about that

remote widget
#

I mean, u did forget every other thing

jovial island
remote widget
#

stuffs*

#

U know what am talking about very well 👀

jovial island
remote widget
#

👀

#

@brazen jacinth someone who's making GTA 69 👀

brazen jacinth
#

@grim seal do you like playing forza

remote widget
#

Did u just...

#

Ping the owner for no. reason.

brazen jacinth
#

whaaaaaaat

brazen jacinth
#

to ask if joe put this otn name or another staff member put it

#

without asking joe if he likes forza first

remote widget
#

Okay I'll shut my mouth up

brazen jacinth
remote widget
#

Lmao

brazen jacinth
#

to run it you'd need an RTX 42069

grim seal
#

I didn't create the otn, it's because I played it for ages last year and my status was almost always "Playing Forza"

remote widget
#

Lmao

jovial island
remote widget
#

what

#

stating the facts oki

stone heron
#

Hello guys

#

Who can play Terraria with me ?

viscid bluff
#

Joe as in Joe Mama?

jovial island
#

is there a complete list of statically and strongly typed programming languages anywhere? 😖

languid osprey
#

All of them?

jovial island
#

like the top 50 ish?

#

if there even are 50 of those lol

#

there is a whole swarm of dynamically typed languages

languid osprey
#

There's quite a lot of statically typed ones too

round moss
#

all the ones important enough to be on wikipedia

jovial island
#

which statically typed language would be your pick

round moss
#

probably kotlin

jovial island
#

over scala?

#

obviously there is no wrong answer, just want your opinion

round moss
#

scala has a number of fairly annoying issues

#

whereas kotlin is mostly just java with less boilerplate

#

sure, it has its own idioms, but you can mostly ignore those

jovial island
#

i want to know about

round moss
round moss
#

I should probably give scala another chance with 3

rich crater
jovial island
#

@remote widget Good Morning hun

remote widget
#

Hi ash

jovial island
remote widget
#

Just playing skribbl

#

showing my god level drawing 👀

jovial island
#

cute

remote widget
#

no

jovial island
#

nice drawing

remote widget
#

no one was able to guess the word tho 👀

jovial island
remote widget
#

none can guess my words since I do abstract art 👀

jovial island
remote widget
#

lmao either way no one understands it

jovial island
remote widget
#

Meh

icy hollow
#

hi

remote widget
#

Hi

gray plover
remote widget
gray plover
#

i don't see anything that JS would familiar to python

#

even indentation

remote widget
#

👀 true vs True

gray plover
#
#python
if 0 == 0:
  print("yes")
else:
  print("no")
//javascript
if (0 === 0){
  console.log("yes")
}
else{
  console.log("no")
}
#

crap i don't know how to do else in js lol

jovial island
#

That's pretty much the correct way to use JS's else, no worries

gray plover
#

but it is completely different

remote widget
#

Haha ik ik

gray plover
#

from the meaning of == in python

remote widget
#

It is meant as a mere joke bruv

gray plover
#

or you don't know

remote widget
civic flax
remote widget
civic flax
#

lol

#

You don't meaning of the word

remote widget
#

Bro, concatenation means adding something in front of something

#

The plus operator is used for concatenation

sinful sun
#

thats pre*pending

#

concat means add together, i dont think position is specified

#

usually its at the back

civic flax
#

Basically

if ( 1 === "1" ) {
 return "false";
}
return "true"
remote widget
civic flax
#

This is ofc false

#

But

#

When you add ==

remote widget
#

That's also used for comparing, but it goes type conversion

civic flax
#

It will also consider the string "1" to be 1

remote widget
#

Yea

civic flax
#

Yes

remote widget
#

Nvm, I get what u mean. But your choice of words is wrong

civic flax
#

concatenation? is then?

remote widget
#

The word concatenation is wrong

civic flax
#

Oh wait

sinful sun
remote widget
#

👍

civic flax
#

I get it

#

But what i meant to say is that == is equality operator

#

It will consider if for example 0 == "0"

#

while === if it's not the same then it's obv return false

#

:)

remote widget
#

What does that meme mean tho

civic flax
#

Mouse eating a python ofc

#

It usually the other way, But today It's a revolution

remote widget
#

Hahaha

jovial island
daring jay
#

The difference is that it does implicit type coercion

#

Which means it's almost always a bad idea

civic flax
#

I forgot that coercion word

#

I thought it was concatenation

civic wharf
#

amd is looking pretty good these days?

#

I have an intel but if I bought a pc I might get AMD

#

anyone use recent AMD processor

slate leaf
#

Yup

#

I have a Ryzen 5 3600 for my PC, and my wife has a Ryzen 7 5800X

#

No complaints to far

median blade
round moss
#

the new motherboards may offset any saving you might make with such a processor

#

but I don't follow prices too closely

remote widget
slate leaf
#

Only the best

remote widget
#

Try overclocking it and not frying it up

slate leaf
#

Nah, its fine as is

median blade
median blade
remote widget
slate leaf
#

No pain

carmine herald
rich crater
fresh yarrow
civic wharf
#

hello

digital bane
#

:3

carmine herald
#

:3

remote widget
dull ridge
slate leaf
dull ridge
#

lmfao

carmine herald
#

wait 94 makes u 16 right do ur math duh

molten viper
jovial island
#

He means to say he was born in 1994 that makes him 28y/o

jovial island
#

What??!?!

#

I think they were just joking about 16

jovial island
jade bolt
#

reminds me of an episode of c&h

versed wigeon
vital nest
#

Cheese is technically cheesey

#

goodnight

civic plank
vital nest
#

🤣

#

I liked that one

versed wigeon
jovial island
#

Hmm

remote widget
proper rune
#

@jovial island @vernal pivot

jovial island
#

hey bro

proper rune
#

was this the one with you guys?

jovial island
#

wanna play again

proper rune
#

sure, send me a link

jovial island
#

wait u r way too ahead of me

proper rune
#

ok i started

jovial island
#

@vernal pivot

proper rune
#

go

jovial island
#

wait lol

proper rune
jovial island
#

@proper rune @vernal pivot start a new game bro and send here

proper rune
#

ok

jovial island
#

yes

proper rune
#

@vernal pivot you here bro?

jovial island
#

he had sent link in general

proper rune
jovial island
#

wait bro

#

@vernal pivot join bro

proper rune
#

dont wait for him, you join

jovial island
#

ok bro let;s play @proper rune

proper rune
#

i did a bit bad on this one

jovial island
#

lol same

#

@vernal pivot

#

let's start agaim bro

proper rune
#

ye start

jovial island
#

i wanna go to 70 wpm atleasy

proper rune
#

waiting for you to join

jovial island
#

wait lemme gather few more players bro

proper rune
#

fast, i have to go back to studies

jovial island
#

yes bro

#

@pastel arch @proper rune

jovial island
pastel arch
#

kk

proper rune
#

ok wait

#

@pastel arch @jovial island

pastel arch
#

demn

jovial island
#

lol i was ahead of u @pastel arch

#

my fastest was 46

#

wanna play again?

#

@pastel arch @proper rune

pastel arch
#

nope

#

not my cup of tea ig

jovial island
#

okk lol

proper rune
#

hahaha

jovial island
#

happens

#

this guy is too fast

proper rune
#

i know what it feels like, played against some guys who crushed the shit out of me

jovial island
#

prolly amongst the fastest typers

proper rune
#

i came last with 114 wpm, and they got 140 wpm +

proper rune
jovial island
#

that's quiet impressive

#

bye anyways

proper rune
#

cya man

opal sapphire
#

@dusky cliff what is this dogs name

dusky cliff
#

idk

opal sapphire
dusky cliff
#

very well

opal sapphire
wheat rock
#

lmao

median blade
#

lol

#

📸

jovial island
#

what was this chat...

jovial island
pliant trench
proper rune
pliant trench
#

ye i just realized

proper rune
#

Later if you want it’s 12:30 am for me now

pliant trench
#

oh sht go sleep lol

#

american/canadian btw?

proper rune
gusty basin
#

Heya, I need a little bit help on something
I'd like to edit the "hosts" file on my android (11) and I found this https://www.modmy.com/how-modify-hosts-file-your-android-device after looking around the internet. It works for a while but then a software update rewrote the hosts file and made the method not working anymore (/system/etc/ is made to read-only).
I literally just need to edit the hosts file just so I can access websites that my stupid ISP decided to block and throttle because of government regulation and other unknown reason (even reddit and github).
Other methods I found must have my android rooted first which is kinda a hassle.
Is there an alternative or better way of achieving this (preferably without needing to root)?

jovial island
#

hello

civic plank
remote widget
#

Just stating the facts =D

civic plank
#

i like finding these cool siri/google assistant easter eggs

remote widget
#

Cool!

#

But yea, that one was literally an eye opener for me which made me realize my life is a damn mess lmao

civic plank
#

hey atleast you are working towards your career, cant be that big of a mess lol

remote widget
#

Meh who says

civic plank
#

imo, if you are being even a tiny bit productive everyday and working towards a goal, you are in the process of making your messy life better

remote widget
#

Haha I try to do so

jovial island
#

If you wanna play with hosts file directly I think you need a root for that.

#

If your government is more of a totalitarian regime rather than a carebear I would suggest getting a VPN as well.

wind sphinx
#

hello, anyone have used fiddler?

gusty basin
# jovial island If your government is more of a totalitarian regime rather than a carebear I wou...

Kinda funny that you assume it's a "totalitarian regime" because i mentioned reddit and github. reddit other porn website is blocked because "PoRn BaD, ThInK oF tHe ChiLdReN" and also because the majority of population is muslim and they "despise" pornography. Other than that's it's not really totalitarian or dictatorial at all. While for github, it's just throttled for this one specific ISP idk why.

upper peak
#

uh

gusty basin
upper peak
#

oh ic

#

blocks github
doesnt block discord

gusty basin
#

Before I was using "Hosts Go" app on the playstore to "modify" the hosts, but it got memory problem. somehow 1gb of ram after 1 day of turning it on

gusty basin
upper peak
#

what the actual

#

thats tuff

gusty basin
#

idk the details, more like the gov forced the ISP to reroute traffic from banned website to a page that basically says "hey, you're entering a website that contains pornography, gambling, and/or anything that we deem evil and that's a no no"

gusty basin
abstract tapir
limber pollen
#

and fwiw, not when you can figure it out pretty easily based on context

jovial island
#

@remote widget kawaii

remote widget
jovial island
remote widget
#

Okay

jovial island
#

@remote widget kawaii

remote widget
#

No thanks

remote widget
fresh yarrow
remote widget
#

as usual

jovial island
remote widget
jovial island
remote widget
#

Okay okay

jovial island
fresh yarrow
#

Okimii hasn’t noticed I still have contributor roles

#

Lmao

zealous hazel
gusty basin
zealous hazel
#

the second one

gusty basin
#

kinda meh, as long as you can control yourself and not get addicted to it

zealous hazel
#

exactly the problem, its made to addict people

gusty basin
#

wellt thats why i said as long as you can control yourself

zealous hazel
#

yea

#

wait there's chat delay here?

#

like slowmode

#

but not in ot1

#

interesting

#

average monke to monke convo

jovial island
wheat rock
#

sme

zealous hazel
jovial island
#

Understandable, have a nice day

carmine herald
#

you cant just go like "oh its addictive" because then literally anything you do in life that makes you feel good is addictive, so do you ban enjoyment?

#

the answer is yes, thats the exact logic such regime would follow lol

carmine herald
fluid plank
carmine herald
#

but theres several places already in the world so just pick your favorite i guess

civic wharf
#

what's more fun than a barrel of monkeys?

#

...an INFINITE barrel of monkeys

#

that is how I imagine this off topic chat was created..

zealous hazel
#

well i like writing in a journal, it makes me feel good, but do i get addicted to it? no

#

i do write it when i feel like it

#

and being productive

#

it makes you feel good

#

but you certainly dont get addicted to it

#

and saying that the hub brings about enjoyment is like saying overeating sugar is great because its sweet

zealous hazel
carmine herald
#

positive feedback loop

digital bane
# zealous hazel no no you cant traffic me and my brothers like that /j

The infinite monkey theorem states that a monkey hitting keys at random on a typewriter keyboard for an infinite amount of time will almost surely type any given text, such as the complete works of William Shakespeare. In fact, the monkey would almost surely type every possible finite text an infinite number of times. However, the probability th...

zealous hazel
#

its like interesting stuff to think

#

nvm

#

i love it

digital bane
#

So very smart people lol

zealous hazel
#

beautiful

#

like the concept is infinitely thinkable

#

like he must have typed an entire library full of "your mom" jokes

languid garden
#

Hey i need to know how to use stegnatography to hide a code inside an image and when omage opened by someone it pastes a code inside the browser console , pls this is the imformation i required for my project if u know pls help

jovial island
languid garden
#

Sorry sorry

jovial island
# languid garden Sorry sorry

you have asked in #data-science-and-ml now please give it some wait. the question is quite specific, so i would suggest you to wait a lil bit. also share the work you have done so far w/ people regarding this thing.

languid garden
#

@jovial island i have done almost nothing cuz just embeded a script in an image which is not working i dont know how to make a code functional in image, like i needed to make a image on which i can get info how many of then have clicked and checked my image

jovial island
#

what exactly are the intentions here?

#

like @digital bane mentioned this would be browser hijack exploit for all we know.

#
make a image on which i can get info how many of then have clicked and checked my image

these words concern me

languid garden
#

I also wanted to clarify that only

#

Like youtube has a features of views

#

I want to create a feature of views of my inage

#

Image*

jovial island
#

youtube is an online platform, both are different things. you can make a site to count how many people come there, its not wrong.

languid garden
#

I know that then that would be phishing

#

If i create website and who will visit my website to see a image

jovial island
#

phishing is a different thing.

languid garden
#

Ik

digital bane
jovial island
#

so you want to share people some image, which will run a script(without them knowing) and do something like update on server how many people have seen it?
nah this seems like harmful to me.

languid garden
#

@digital bane so the final solution is to implement an exploit?

digital bane
#

It might be flagged

jovial island
#

i can ask a mod to verify if its even allowed here, but given what you want to do, i dont think it should be.

languid garden
#

No i wont do illegal thing like exploits

#

Any other way!? Just wanted to know views

digital bane
fresh yarrow
#

wrong channel

jovial island
#

sending an image which runs script, no that is totally unethical.

languid garden
#

@jovial island i just knew to implement script, cant we do that without implementing script

jovial island
#

not any method that i am aware. which are ethical. and i dont do unethical stuff.

languid garden
#

yert ok

jovial island
#

aight.

languid garden
#

@jovial island the real case for which i need is that to know a algorithm of a malicious gif file gathering everyone's ip who clicked on it btw i tried to investigate the method btw failed cuz after converting into hex cant understand what the lang or characters are

#

Nvm bye

jovial island
#

alr. bye.

remote widget
#

Y'all r in the wrong channel :(

digital bane
#

change channel on TV to tune to the right channel

remote widget
remote widget
#

@faint wing
Related to your question in the help channel, yes u can run multiple bots. But u'll need to install something like puffer panel/pterodactyl panel to do so since if u run multiple bots on the same IP, they gonna get ratelimited too

edgy apex
#

today i saw a guy that forked firebase's demo chat app, called it X-Cord, and said it was his

sinful sun
#

lmao

edgy apex
#

that's not even the worst part

#

he asked me to deploy it on vercel

#

he's acting like he knows ReactJS

#

when all he really did was fork firebase's demo app, changed a few strings

wary trout
#

hello

#

am GD

#

why there is no channel for suggestions and feedback

wary trout
#

ok

sinful sun
#

You just got here and you have suggestions already?

full haven
#

obviously

zealous hazel
#

obviously

compact anvil
#

obviously

jovial island
#

wrong channel

zealous hazel
#

obviously

jovial island
#

guys i think im in the wrong channel lol

civic plank
jovial island
#

😦 don't worry putin, you can still use Scala

civic plank
#

lul

gaunt jacinth
#

@tepid turret anything you want in particular?

grim beacon
#

👋

#

hopefully this discussion doesn’t start breaking rules 🤪

night geyser
#

Python 😃

grim beacon
#

movie hacking is so accurate!

#

You can totally get the password to a country’s whole database in 5 seconds without a brute force (or some sort of algo)!

night geyser
#

But i can grab io addresses and passwords too with my Arcane
But i do it when i need it and when i am allowed

#

I am just 13 years old
Not 18+

grim beacon
#

||this might start going against the rules about now||

#

^^

night geyser
#

Maybe

grim beacon
#

Hopefully your hacking is ethical

night geyser
#

Yes

#

I'm not black hat

grim beacon
#

Are you sure grabbing IPs and passwords is ethical though?

night geyser
#

I learned it by myself

night geyser
grim beacon
#

Oh ok

night geyser
#

I always first wait for someone's permission

grim beacon
#

you have stuff on GitHub?

night geyser
#

It looks like command prompt but it's Arcane

night geyser
#

😑

grim beacon
#

Interesting 🧐

night geyser
#

And idk how to use github

#

Ok so i connected to bot's client
I added bot's token
Then i can access to a bot and do whatever i want with that bot

grim beacon
#

BRO

#

💀💀

night geyser
#

Tommorow
But i am still making Arcane

grim beacon
#

This is a true 🗿moment

night geyser
#

Tommorow because right now i turned off my laptop
I am on phone now
If i didn't turned off my laptop now my dad will hit me with iron bat
For real
Because now is 11:55pm

grim beacon
#

💀💀

night geyser
#

Nah i'm not tired
My parents just think that it's too late for using laptop

#

😑

#

Tommorow i will acces the bot again
And i will show it

grim beacon
#

😮

night geyser
#

NO

#

I am on phone now

#

Look

#

Wanna know when i started programming?

#

When i was 4 years old

grim beacon
#

🧐

night geyser
#

?

#

Anything okay?

grim beacon
#

Sadge

elfin vine
#

I come with terrible news @knotty anvil. Your ratelimiter is not cancellation-safe.

clever salmonBOT
#

rin/gateway/ratelimiter.py lines 25 to 27

async def __aexit__(self, *_: Any) -> None:
    await asyncio.sleep(self.per)
    self.semaphore.release()```
elfin vine
#

This needs to be try:/finally:. Even if the task was cancelled during sleeping you want to release the semaphore worst case scenario.

knotty anvil
#

Ah this is the gateway limiter got me scared for a second thinking it was the rest one

elfin vine
#

Haha 😅, sorry... a locked lock is still a bad lock 😬

knotty anvil
#

I see, in the case asyncio.sleep gets cancelled it raises an error and that stops the semaphore from being released

elfin vine
#

Yup 👍

knotty anvil
#

At least it's not the rest ratelimiter

#

It was a pain making that concurrent with bucket limits

elfin vine
#

Let me look at that and I'll let you know 😅

knotty anvil
#

If I touch it again it will probably break

clever salmonBOT
#

rin/rest/ratelimiter.py lines 125 to 126

await semaphore.acquire()
await route.event.wait()```
knotty anvil
#

😔

elfin vine
#

You also await further down as well. It'll be fixed if you just use async with semaphore though

clever salmonBOT
#

rin/rest/ratelimiter.py lines 145 to 146

resp = await self.rest._request(method, self.endpoint, **kwargs)
data: dict[Any, Any] | str = await resp.data()```
elfin vine
#

Shouldn't this be also be async with? Doesn't aiohttp want you to close the request? What if reading fails, you still want to close the response

knotty anvil
#

your supposed to close the request 👁️ 👁️

#

I haven't been doing that at all

#

Only the session

#

I fixed the gateway ratelimiter, do you want to be co-authored?

elfin vine
#

No-no don't catch CancelledError!

knotty anvil
#

Just the try-finally?

elfin vine
#

If you do that, now it won't propogate and the task will continue as if it wasn't cancelled.

knotty anvil
#

Ah right cause it will silence it?

elfin vine
knotty anvil
#

Ok that has been fixed 😔

elfin vine
knotty anvil
#

Do you want to be co-authored?

elfin vine
#

I understand if you want to hold me accountable 😅

knotty anvil
#

The try-except syntax is so ugly imo 😔 I've been trying to avoid it at all costs

elfin vine
elfin vine
knotty anvil
elfin vine
knotty anvil
#

Since this is still all under the 50/1s global ratelimit

clever salmonBOT
#

rin/rest/ratelimiter.py line 153

self.loop.call_later(resp.reset_after, semaphore.release)```
elfin vine
#

That will release one "token" / increase it by once.

clever salmonBOT
#

rin/rest/ratelimiter.py lines 158 to 164

if resp.ok:
    _log.debug(
        f"{resp.status}: {method} ROUTE: {self.endpoint} REMAINING: {resp.uses}"
    )

    route.event.set()
    return data```
knotty anvil
#

oh that is a massive over-sight

elfin vine
#

So- I assume the point is that you acquire from the semaphore until you deplet the ratelimit, then release all tokens?

elfin vine
#

I think you should just use call_later each time and schedule it for when the bucket resets. If you didn't receive the time the bucket resets, then release immediately

knotty anvil
#

For the issue regarding the amount of tokens released, I would have to release X-Ratelimit-Limit times right?

elfin vine
knotty anvil
#

Since the amount of threads for the semaphore is set to X-Ratelimit-Limit

#

There are some issues with the HEAD request as well, like depleting gateway/bot causing startup times to be higher

#

For any other endpoint I've tried I haven't had HEAD request using a limit in the request though

elfin vine
knotty anvil
#

I'll have to refactor & fix this later, concurrent ratelimiter was a good idea at first but now there is a few undefined behaviours

#

It would be quite easier just to use locks though, but I'm weighing my options

elfin vine
#

The way to fix what we just discussed, with how you want it, would be like this:

try:
    resp = await self.rest._request(method, self.endpoint, **kwargs)
except:
    semaphore.release()
    raise

self.loop.call_later(resp.reset_after, semaphore.release)

# The semaphore now has a scheduled release so you don't need to care about any other issues.
# You can await as much as you want to...
data: dict[Any, Any] | str = await resp.data()
#

@knotty anvil note that I am suggesting this instead of async with semaphore

knotty anvil
#

So then here I'd just need to handle clearing the buckets asyncio.Event to stop it being used if depeleted instead of handling both the semaphore and the event

#

What about the global ratelimit? Keep it as is?

elfin vine
knotty anvil
#

What are the cases discord says otherwise?

#

I've had some issues with deleting messages with gather and what not

elfin vine
elfin vine
# knotty anvil What are the cases discord says otherwise?

I believe modifying the channel name and topic. That's a known subratelimit that's not revealed in headers, you'll just encounter it and be asked to deal with it. The event allows you to immediately stop all requests (not in-progress of course, but that are about to be sent). Otherwise you'd have to have an "iffy" loop that tries to acquire all last semaphore tokens.

elfin vine
knotty anvil
#

I'm not sure really how to address that I suppose

#

All I know for sure is you could make a list of 50 coroutines then gather them at the same time, I did not take into account time per requests or anything

elfin vine
#

You could do it with sleeping instead.

#

Keep a count, a "last reset timestamp" and a lock.

#

Acquire the lock, try to increment the counter - if it goes over the limit then sleep for last_changed + 1 - current_time (I recommend using perf_counter()) and then set the counter to 0 or 1 (depending on whether you use val > 50 or val = 50) as well as update the last_changed

clever salmonBOT
#

library/wumpy-gateway/wumpy/gateway/utils.py lines 81 to 91

async with self._lock:
    if self._reset is None or self._reset < time.perf_counter():
        self._reset = time.perf_counter() + self.PER
        self._value = self.RATE - 1

    elif self._value <= 0:
        await anyio.sleep(self._reset - time.perf_counter())
        self._reset = time.perf_counter() + self.PER
        self._value = self.RATE - 1
    else:
        self._value -= 1```
elfin vine
#

In my explanation I increment the counter, but here in the code I decrement it. Doesn't matter which you choose to use.

#

I need to port (copy lol) this to the REST ratelimiter too, but I haven't ran into that issue yet lol.

#

50 req/s is like... a lot 😬

knotty anvil
#

Alright I will take this into account when I get free time to fix the rest ratelimiter

#

Currently occupied with doing my first contribution to the python bot

elfin vine
#

Yay, excited to see that! Good luck, I'll probably head to bed 😅

remote widget
#

Damn who's griff 👀

daring jay
remote widget
#

He do be a Chad

daring jay
#

wrong person

#

ugh

#

there

remote widget
#

Gotta stay away from pissing him off, in case he one shots the hunter too 👀

marble meadow
#

Can I ask what I assume to be a very basic understanding question of forks and branches on Github here?

remote widget
#

Sure

marble meadow
#

If 'Project A' has a fork, which has a Branch, and that Branch has a commit, how do I tell if the commit is up to date with the parent branch? (if I'm phrasing that incorrectly please let me know and I can provide links)

#

Or are commits by definition not up to date with the branch because they will inevitably be merged into the branch?

#

It might be easier to include links. This is the fork https://github.com/iangray001/ESPUI and this is the branch https://github.com/iangray001/ESPUI/tree/times - if I download the branch (which it says was updated on Jan 20), does it include the updates to the master fork, which it says was updated two days ago? I'm assuming not - if I want the updates to the branch and the fork I would have to fork it myself and merge the branch into my new fork?

remote widget
marble meadow
#

So it shows that it's 25 commits behind the "Project A" parent project but doesn't say anything about being ahead of or behind of the forked project.

remote widget
#

Wym ahead or behind the forked project? The A project won't show anything that it's behind or ahead of ang of it's fork

marble meadow
#

So in the screenshot I'm looking at a branch of the fork, but it's referencing how many commits it is behind the parent project and not behind the fork... right?

remote widget
#

Yes

marble meadow
#

Ok I think I've got it figured out, thanks for answering

gleaming estuary
#

#bot-commands

sturdy relic
#

@jovial island

jovial island
#

Yo

sturdy relic
#

i know the two native languages in Norway, English, German

jovial island
#

Swedish, norwegian , Sami, German?

#

And Danish ig

sturdy relic
#

i understand Swedish and Danish

jovial island
#

Woah 😮

sturdy relic
#

Finish is evil gibberish, no way i know anything there.

jovial island
#

Man fr Finnish is kinda tough ig

jovial island
sturdy relic
#

but swe and dan are for free, I nativly understand around 50% of everything they say, and i can guess from context to around 75%

jovial island
#

👀 u can speak only Sami , english?

#

And German?

sturdy relic
#

I only speak Norwegian and English, i could probably speak German if i practised it some, but i have not used German since my school days

#

I can read German though

jovial island
#

pithink hmm understandable

#

Do y'all have norwegian as ur primary language or English?

sturdy relic
#

we have Norwegian and "new-Norwegian" as the common language

jovial island
#

New Norwegian is Sami?

sturdy relic
dire sedge
#

i only speak Dutch and English i also only understand those languages although i do understand a very little bit of german i would not count it as understanding it

sturdy relic
#

its just what it says on the tin, a new form of norwegian

jovial island
sturdy relic
#

Many wars have been fought over norway in the past

#

so the language has change a lot

jovial island
#

On this language issue?

sturdy relic
#

the Norwegian i speak is a mix between old Norse and Danish

#

so we made a new language called new-norwegian

jovial island
#

So y'all have 3 langs now? Norwegian, Sami and "new - norwegian"?

sturdy relic
#

with historical routes to only norway

sturdy relic
jovial island
#

👀 3 langs with same routes

sturdy relic
#

but only the ethinic Samer, speaks Sami

jovial island
sturdy relic
dire sedge
jovial island
#

This guy knows a lot of langauges

sturdy relic
#

if i had a foreign movie, and only Dutch subtitles, i would manage to enjoy the movie

jovial island
sturdy relic
# jovial island Dang

with up to 90% understanding, but that is because movie subtitles are very abridged

dire sedge
jovial island
#

So you know norwegian, new Norwegian, dutch , German , swedish , danish, english

sturdy relic
jovial island
#

Yah

#

Dude they are 7 Languages

sturdy relic
#

dutch in written form, i have no idea what they are saying 😄

jovial island
#

Woahhhh

dire sedge
#

tbh i hate dutch so many things make no sense at all

jovial island
#

Lmao

sturdy relic
#

i aslo know a lot of programming languages as well 😄

jovial island
jovial island
#

I dunno why am I on a break from workout session and here 😮

sturdy relic
#

😄

dire sedge
# jovial island How many languages do u know?

dutch my native language and English and a very little bit of german because i had to learn german for 2 years at school trust me it is hard to learn something when you aren't motivated

jovial island
#

I guess west is colder than norway

dire sedge
#

the only reason i didn't fully fail at german was because i once asked the teacher to give me a usable grade if i would help him clean up at a place where we where for school

sturdy relic
#

Pascal, perl, awk, bash, VSB, Java, Python, PHP, Javascript, Ruby, Elm, Typescript, Dart, ... and im missing one or two more I think... ahh.. Lua... and still some more

jovial island
#

Man idk why tf are people using Fahrenheit it makes no sense

#

I hate us for this

dire sedge
jovial island
jovial island
#

This guy knows a lot of langauges

dire sedge
#

i always use kelvin or Celsius if the temp is under -100c i try to use kelvin

jovial island
#

Yup 👀 but i don't think so it gets any colder than -20 °C in Europe

dire sedge
#

not everything is about that temp

jovial island
#

Hmm 👀

sturdy relic
jovial island
#

Wtf is this viable?

sturdy relic
#

im from the north 😄

jovial island
#

Norway is the most coldest country in Europe but -40 😮

sturdy relic
#

it also means the sun never sets during summer

#

and the sun never rises during winter

sturdy relic
#

winters in the north of norway are hard

jovial island
jovial island
dire sedge
#

i really want to go to the north of norway in winter i've never really been in cold places and i think it would be beautiful in the night to just rent a good camera or something like that

sturdy relic
#

but we do get nice to look at auroras 😄

jovial island
sturdy relic
jovial island
dire sedge
sturdy relic
jovial island
#

Lol more expensive than new york???

sturdy relic
#

but the food are more expensive

dire sedge
#

but that would also depend a lot on how you go there

jovial island
jovial island
sturdy relic
sturdy relic
remote widget
sturdy relic
#

after you have learned 3-4 languages it gets very easy to pick up a new one

remote widget
#

Oh

sturdy relic
#

like, very easy

#

but the three four first ones are hard

#

the second one is even harder

#

because you think you already knew how to program

remote widget
#

Ikr

jovial island
sturdy relic
jovial island
#

Yup also coz it's a very popular fest in England

sturdy relic
#

you can watch this @jovial island

#

filmed close to where i grew up

jovial island
#

Oh no!
Steve you can't do that!

#

Everyone help!
Call police
Steve commit crime 😭😨

remote widget
#

Sad

naive finch
#

Moon weak

#

Griff strong

vague shadow
remote widget
languid osprey
#

I bet I could half shot the moon

remote widget
#

one shot the whole moon*

brazen jacinth
#

sqrt(2) shoot the (moon / pi)

#

ez

carmine herald
#

shoot the moon with half a button press
but first we need to talk about parallel universes

fresh yarrow
#

I hate my life

#

lmao I keep laughing during a take

spiral ember
#

Hey @grim beacon mind if we take it here?

grim beacon
#

ok

#

TS should be relatively easy since I know some c# and rust, right? And I should also learn JS before TS?

#

thats the last thing i sent

spiral ember
#

Not really, TS is an extension of JS so learning TS = learning JS

#

On the flip side, learning JS =/= learning TS

grim beacon
#

ye

spiral ember
#

So if you ask me there's no point in not learning TS first

grim beacon
#

so just start with TS?

spiral ember
#

Of course yeah

grim beacon
#

ok

spiral ember
#

The way I learned TS was by working with Next.js

#

They provide excellent support for TS and you get to work on a fun project while you're at it

grim beacon
#

ok

#

thanks for the info

#

just wanted some confirmation

grim beacon
#

yeah i used that to learn some JS

languid osprey
#

Since all js is valid ts

grim beacon
#

could i learn JS and write the code in a TS file?

limber pollen
grim beacon
#

ok thanks.

#

hopefully i stick because although i want to learn c#, rust, and TS, I keep jumping around and don't fully commit to one so I can learn it

remote widget
spiral ember
#

Things like typing obviously

brazen jacinth
#

is this a typo

#

ah fuck, my screen switched to night light mode

#

it hurts

grim beacon
manic shale
#

fun fact

spiral ember
#

That will help you a lot

#

It's also very similar to python, syntactically

manic shale
#

💀

spiral ember
#
function someFunction(x: number, y: string) {
  console.log("something");
}
brazen jacinth
#

approximately 25 million red bloodcells if you're an average adult, every minute

manic shale
#

heres something sort of silly i wanna tell you guys right now

#

ive literally wrote a hellishly-big chunk of codes for newbies like me and eventually solved all the errors that stops programs from running

#

and then im getting severe skill issues on small things

#

bruh moment

grim beacon
#

i am used to the c#, rust, and even python way of static typing

#

that part shouldn't be hard to me

spiral ember
#

then you won't have any trouble 😄

grim beacon
#

yep

#

rust uses the same way python does it

fn some_func(x: i32, y: i32) -> i32 {
  // code here
}
#

c# just makes you declare the type before the param

#

public void foo(string x, int y)

lofty loom
#

Philosopher Joe

manic shale
#

true

daring jay
#

doesn't TS use braces?

spiral ember
#

wait

daring jay
#

or is this some magic

spiral ember
#

oops i uh

daring jay
#

oh okie

spiral ember
#

my brain has stopped functioning apparently

daring jay
#

I was thinking that was some other lang

#

no worries

spiral ember
#

oh no i'm just dumb

#

well okay i was kind of saying how it was very similar to python so i think i got myself confused

brazen jacinth
#

back to introvert solitaire

digital bane
#

They elect leaders like Trump

#

The philosopher king is a hypothetical ruler in whom political skill is combined with philosophical knowledge. The concept of a city-state ruled by philosophers is first explored in Plato's Republic, written around 375 BC. Plato argued that the ideal state – one which ensured the maximum possible happiness for all its citizens – could only be br...

#

So a Philosopher Joe king according to deep thinking Plato is ideal

lofty loom
#

A Philosopher joking?

digital bane
#

Plato be sad but lol

digital bane
carmine herald
#

why dont you elect Deez

digital bane
lofty loom
digital bane
#

Our democracies are mostly a parody of the OG classic greek city anyway mostly

remote widget
#

lemon_pensive all this philosophy hurts my brain cells

digital bane
remote widget
#

🍋

digital bane
#

There is the average joe that on average dont think too deep https://en.m.wikipedia.org/wiki/Average_Joe

The terms average Joe, ordinary Joe, Joe Sixpack, Joe Lunchbucket, Joe Snuffy, Joe Blow, Joe Schmo (for males) and ordinary Jane, average Jane, and plain Jane (for females), are used primarily in North America to refer to a completely average person, typically an average American. It can be used both to give the image of a hypothetical "complete...

carmine herald
#

joe snuffy uwu

remote widget
#

No uwu

#

uwu bad

digital bane