#ot2-the-original-pubsta
652 messages · Page 114 of 1
get ready to be 159th
no one beleived me
First unban 90 people, then ban him (:
lol
hmm
Wait whats that?
Then first unban 31 people (:
my stats
math notes
hsp be grinding that k/d
😂
chris has like 7k bans to his name in the last year
meanwhile me: 0/10/0
I'm damn sure eivl has the largest number of bans
noobs
admittedly most are automated
i have infinite d/k ratio
I'm damn sure eivl for banned multiple times
possibly
wdym oldest
age or time here :/
Oldest as in, the first admin or smth, ofc after the founders
Not talking about age but time
techinaclly wouldnt joe be oldest admin
yeah probably
me resisting a joe mama joke
Resist
No
I also got it for some reason
U said the otherwise the other day tho 🤨
its alright, huni, cant do much about it
s. m. h.
lmao
Stop. Calling. Me. Huni.
hun/honey?
hunter*
nah
Yea
naww
yaaaaa
naawwwwwwwwwwwwwwww
Smh I hate that name huni
ok hun then
@dusky cliffare u a friend or a foe?
more of a median guy
He is neither a friend, nor a foe to anyone
neutral
Yea, that can also be used but meh
Go to sleep
Lmao everyone wants u to sleep
Ok
Idk, you're kinda looking like the mode
I'm almost guaranteeing you that there are more "hsp"s than "return Hunter if python == js"s
wrong
joe likes playing forza
cool
It's not him
It's someone else that's on his Xbox or something
oh shit
yeah there are zero "return Hunter if python == jd"
imagine making spelling mitsakes
Huh?
Huh?
pardon?
Huh?
Morning
Do you know what the mode mode is?
The stats one? Yes
Than with "return Hunter if python === js"
Speaking of unique, it's so unique that it's incorrect!
Fax
🤔
No
Yes
Hunter will not be returned
not anymore
Hahahahahahahaha
hahaha
else block wants to know your location
Go back to your little university hole and don't come back out
we are unstoppable
i dont go to university
India
elif block would like to have a word
yes
BTW hsp, change yours to return hsp lol
i barely even go to school
Right?
yes
we will start an army of return Hunter if python === js
Smh go to school, don't skip
Don't return hunter everywhere
I'm on my way to school rn
haha im totally not in a class rn
One is enough to make y'all mad
smart people exist yknow 😳
And I hate it
indeed
🤣
online coaching okay
Online school doesn't really count as class
Indeed
It's just... time spent doing things you won't remember tmrw
I have a random webex window open
I closed it though
this is basically targetting whole internet resources
Not really
@real forum can I send a friend request to you? 👀
can you vc 🙂
No, sorry
hm
Some online resources can be good
Ik lmao, I just read your About Me, wanted to see your reaction
Sure, I can join a VC in the Akeno server in like 2 hours
okay nice
I'll be in a lesson by then :D
Haha it's fine... Ik those random DMs and friend requests
Offline or online?
offline
i have that issue too
O then nvm
Yeah I used to get them a lot when I had a PFP of me in some servers
maybe it's not even an issue
basically i have like 10 ppl popped up there
Yes
@median blade well you too are here 
wait who is he
im famous
indeed
i dont know on what basis does it display if they dont lie in friend list 🤔 and if its not a bug
you have replied too many messages from his ig
the high demand for me to sleep has got me busy to sleep 
ok
Sleep 👀
true
concerning
we are friends..
oh
i am 10% sure you sent me the request
i am 90% sure you accepted his request
U know
i dont
idk was a long time ago
I am resisting my urge to make a dad joke 🥺
should i press dis
I'm currently finishing my one hour of lonely-justin bieber crying session
sure
yey
Why u crying tho 👀
Can I also do that 🥺
icry4fun 🙃
udontcry4funbutduetoareason
iknowthat
thendontlieaboutthatandtellthetruth
stop making hash codes
addaspacebetweeneachwordandseethemagicofenglish
i aint gon read that
whyudothistome🥺
whostom
why. you. do. this. to. me.
why. you. do. this. tom. epleading. eyes
no. that. is. not. what. I. meant.
nodatswatumeant
Uhhhh, earrape
nvm its so bad
Lmao
rip my ears
Hahaha there's a reason it's named earrape
my very nice friends told me try it so-
first time experience
I mean, I listened to an earrape once...
lmao
I wanna meet those nice friends, we gonna get along good 👀
imagine
many of them are guys so uhhh, sure
nvm, I dont wanna bother Mina again
Good thing u at least didn't forget about that
lol
I mean, u did forget every other thing
what stuff?
idk
@grim seal do you like playing forza
whaaaaaaat
i had a reason
to ask if joe put this otn name or another staff member put it
without asking joe if he likes forza first
Okay I'll shut my mouth up
GTA 69420
Lmao
to run it you'd need an RTX 42069
yeah it's a good game
I didn't create the otn, it's because I played it for ages last year and my status was almost always "Playing Forza"
Lmao

Joe as in Joe Mama?
is there a complete list of statically and strongly typed programming languages anywhere? 😖
All of them?
like the top 50 ish?
if there even are 50 of those lol
there is a whole swarm of dynamically typed languages
There's quite a lot of statically typed ones too
@jovial islandhttps://en.wikipedia.org/wiki/Category:Statically_typed_programming_languages
This category lists statically-typed programming languages.
all the ones important enough to be on wikipedia
what'd be your choice if you were required to target JVM?
which statically typed language would be your pick
probably kotlin
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
whats the annoying issue
i want to know about
@jovial island https://www.lihaoyi.com/post/WartsoftheScalaProgrammingLanguage.html this stuff. It is by no means a deal breaker and the language is usable, but I find I don't need a type system that excessive often enough to put up with them. Some of these are also fixed in scala 3. didn't really try it yet
I should probably give scala another chance with 3
for which purpose? fun or production code?
@remote widget Good Morning hun
Hi ash
Howdyy
cute
no
no one was able to guess the word tho 👀
rip
none can guess my words since I do abstract art 👀
nah you do some other worldly art tbh
lmao either way no one understands it
you're just built different
Meh
hi
Hi
False (your name)
If it was False, I won't have existed
👀 true vs True
#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
That's pretty much the correct way to use JS's else, no worries
JS also has == 😄
but it is completely different
Haha ik ik
from the meaning of == in python
It is meant as a mere joke bruv
or you don't know
^^^
It's for concatenation
Wait what?
Bro, concatenation means adding something in front of something
The plus operator is used for concatenation
thats pre*pending
concat means add together, i dont think position is specified
usually its at the back
Basically
if ( 1 === "1" ) {
return "false";
}
return "true"
"Hi" + "Hi"
That's also used for comparing, but it goes type conversion
It will also consider the string "1" to be 1
Yea
Yes
Nvm, I get what u mean. But your choice of words is wrong
huh
concatenation? is then?
The word concatenation is wrong
Oh wait
i meant generally, prepending is when you add something in front of something else
👍
Yes
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
:)
What does that meme mean tho
Hahaha
production
Yes
The difference is that it does implicit type coercion
Which means it's almost always a bad idea
omg there you go
I forgot that coercion word
I thought it was concatenation
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
Yup
I have a Ryzen 5 3600 for my PC, and my wife has a Ryzen 7 5800X
No complaints to far
if you want best performance for the money go for intel 12th gen
the new motherboards may offset any saving you might make with such a processor
but I don't follow prices too closely
Damn, yr wife got an unlocked processor 👀
Only the best
Try overclocking it and not frying it up
Nah, its fine as is
the board prices are decent
3600 is unlocked
Idk, I just saw the X notation at the end of the processor
oh
pain?
No pain
amd doesn't lock their processors you can always yolo gamble overclock with them
Oh that is cool
Then java is also a fine choice. It's pretty focused and the latest changes make it fun to work with.
hunter warming up to flex
hello
:3
:3
?
i though you were like 16
Nah, that's not what the 94 in my username stands for
lmfao
wait 94 makes u 16 right do ur math duh
so you were born in 1896? therefore being 126 y/o 👀
He means to say he was born in 1994 that makes him 28y/o
What??!?!
I think they were just joking about 16
WHAT
90-kids? 🙃
reminds me of an episode of c&h
confidently incorrect
Too far?
there's a subreddit for it 🤔
Hmm
Oh damn so true in my case
hey bro
was this the one with you guys?
wanna play again
sure, send me a link
ok i started
@vernal pivot
go
wait lol
hehe
@proper rune @vernal pivot start a new game bro and send here
ok
yes
@vernal pivot you here bro?
he had sent link in general
dont wait for him, you join
ok bro let;s play @proper rune
i did a bit bad on this one
ye start
i wanna go to 70 wpm atleasy
waiting for you to join
wait lemme gather few more players bro
fast, i have to go back to studies
send link bro
kk
ok wait
@pastel arch @jovial island
wooo
demn
lol i was ahead of u @pastel arch
my fastest was 46
wanna play again?
@pastel arch @proper rune
okk lol
hahaha
i know what it feels like, played against some guys who crushed the shit out of me
prolly amongst the fastest typers
i came last with 114 wpm, and they got 140 wpm +
definitely not, but id say better than most
wtf
that's quiet impressive
bye anyways
cya man
@dusky cliff what is this dogs name
idk
how is your family doing
very well
👍
lmao
what was this chat...
One of the most normal conversations on Discord
oh can i join
You’re a few hours late my guy
ye i just realized
Later if you want it’s 12:30 am for me now
Australian
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)?
hello

Just stating the facts =D
i like finding these cool siri/google assistant easter eggs
Cool!
But yea, that one was literally an eye opener for me which made me realize my life is a damn mess lmao
hey atleast you are working towards your career, cant be that big of a mess lol
Meh who says
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
Haha I try to do so
Settings -> search "Private DNS"
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.
hello, anyone have used fiddler?
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.
uh
But anyway, I set it to "Private DNS" and use "1dot1dot1dot1.cloudflare-dns.com". It's working for now. Maybe you have other DNS recommendation?
why would they block github?
oh ic
blocks github
doesnt block discord
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
Mate the gov here is scuffed, they blocked reddit but not Twitter which also contains pornography
wait the gov is blocking this?
what the actual
thats tuff
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"
What country?
nice try on getting my security question answer
wat?
You usually don't want to admit that either
and fwiw, not when you can figure it out pretty easily based on context
@remote widget 
Wait what's this
song lyrics 
Okay
@remote widget 
No thanks
Fuck
She do be sleep drunk
Yes
as usual
Hunter, can you not be like that? It's rude
I mean, it isn't in yr hands to sleep or not dude
and that is why its rude
Okay okay
The sole fact of limiting access to free information is totalitarian in itself but I call the lighter variants "carebear". Cloudflare is a pretty good dns indeed. Alternatively you can try google 8.8.8.8 if you like botnets.
muslim or not, child or not, that stuff is messed up
the censorship or the pornography?
the second one
kinda meh, as long as you can control yourself and not get addicted to it
exactly the problem, its made to addict people
wellt thats why i said as long as you can control yourself
yea
wait there's chat delay here?
like slowmode
but not in ot1
interesting
average monke to monke convo
I feel like I need context here
sme
you dont
Understandable, have a nice day
nope it's based and should be allowed, blocking it is totalitarian
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
here is a 🍩 for u
the totalitarian regime would probably try to ban donuts
when will it ban itself? theyre ban happy
probably after they resemble <wont point which country because people are sensitive>
but theres several places already in the world so just pick your favorite i guess
hello @fresh yarrow
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..
nah in the sense that it destroys your life
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
no no you cant traffic me and my brothers like that /j
anything that gives you enjoyment is gonna destroy your life once you get addicted to it
positive feedback loop
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...
yes
man who writes this stuff
its like interesting stuff to think
nvm
i love it
In a 1939 essay entitled "The Total Library", Argentine writer Jorge Luis Borges traced the infinite-monkey concept back to Aristotle's Metaphysics.
So very smart people lol
beautiful
like the concept is infinitely thinkable
like he must have typed an entire library full of "your mom" jokes
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
you need to be patient and not to post in every channel.
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.
@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
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
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*
youtube is an online platform, both are different things. you can make a site to count how many people come there, its not wrong.
I know that then that would be phishing
If i create website and who will visit my website to see a image
phishing is a different thing.
Ik
We can discuss steganography minus the injection of any script into the browsers console or any payload
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.
@digital bane so the final solution is to implement an exploit?
Just dont lol
It might be flagged
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.
No i wont do illegal thing like exploits
Any other way!? Just wanted to know views
Better also to check platform TOS
wrong channel
as i said, you can put it on site given that you explain this in your TOS. and they accept it.
sending an image which runs script, no that is totally unethical.
@jovial island i just knew to implement script, cant we do that without implementing script
not any method that i am aware. which are ethical. and i dont do unethical stuff.
ok
aight.
@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
alr. bye.
Y'all r in the wrong channel :(
change channel on TV to tune to the right channel
Whom to ping to tune this to the correct channel tho? 👀
@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
https://www.oracle.com/cloud/free/
This is what I was talking about before
today i saw a guy that forked firebase's demo chat app, called it X-Cord, and said it was his
lmao
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
ok
You just got here and you have suggestions already?
obviously
obviously
obviously
wrong channel
obviously
guys i think im in the wrong channel lol
😦 don't worry putin, you can still use Scala
lul
@tepid turret anything you want in particular?
Python 😃
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)!
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+
Maybe
Hopefully your hacking is ethical
Are you sure grabbing IPs and passwords is ethical though?
I learned it by myself
I said when i need and when i am allowed
Oh ok
I always first wait for someone's permission
you have stuff on GitHub?
It looks like command prompt but it's Arcane
Interesting 🧐
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
Tommorow
But i am still making Arcane
This is a true 🗿moment
What happened
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
💀💀
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
😮
NO
I am on phone now
Look
Wanna know when i started programming?
When i was 4 years old
🧐
Sadge
rin/gateway/ratelimiter.py lines 25 to 27
async def __aexit__(self, *_: Any) -> None:
await asyncio.sleep(self.per)
self.semaphore.release()```
This needs to be try:/finally:. Even if the task was cancelled during sleeping you want to release the semaphore worst case scenario.
Ah this is the gateway limiter got me scared for a second thinking it was the rest one
Haha 😅, sorry... a locked lock is still a bad lock 😬
I see, in the case asyncio.sleep gets cancelled it raises an error and that stops the semaphore from being released
Yup 👍
At least it's not the rest ratelimiter
It was a pain making that concurrent with bucket limits
Let me look at that and I'll let you know 😅
If I touch it again it will probably break
I am sorry, you do have issues there as well 
rin/rest/ratelimiter.py lines 125 to 126
await semaphore.acquire()
await route.event.wait()```
😔
You also await further down as well. It'll be fixed if you just use async with semaphore though
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()```
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
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?
No-no don't catch CancelledError!
Just the try-finally?
If you do that, now it won't propogate and the task will continue as if it wasn't cancelled.
Ah right cause it will silence it?
Yup! ```python
try:
...
finally:
...
Ok that has been fixed 😔
Yeah, you could've had like except: raise but at that point it would be unnecessary.
Do you want to be co-authored?
Up to you, I don't mind either way.
I understand if you want to hold me accountable 😅
The try-except syntax is so ugly imo 😔 I've been trying to avoid it at all costs
btw here, why are there codepaths where you don't release the semaphore?
Is the point that you're not meant to? If it is, then why when the bucket is depleted do you only release once instead of all acquired "tokens" (how many times it's been acquired).
With a lot of them... yeah I agree, they serve a good purpose though. When directly touching locks, semaphores and sockets you have to be careful
.
What do you exactly mean when the bottom question? I release the acquired semaphore for the bucket then the event, the global is the only other acquired semaphore which the context manager should be handling
https://docs.aiohttp.org/en/stable/client_reference.html
The context manager should be doing that for you
Since this is still all under the 50/1s global ratelimit
The only time you release the semaphore is here:
https://github.com/an-dyy/Rin/blob/master/rin/rest/ratelimiter.py#L153
rin/rest/ratelimiter.py line 153
self.loop.call_later(resp.reset_after, semaphore.release)```
That will release one "token" / increase it by once.
No other codepath / branch (since an if-statement branches of code) will release the semaphore.
For example, a successful request that does not deplet the ratelimit will not release the semaphore.
https://github.com/an-dyy/Rin/blob/master/rin/rest/ratelimiter.py#L158-L164
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```
oh that is a massive over-sight
So- I assume the point is that you acquire from the semaphore until you deplet the ratelimit, then release all tokens?
The thing is, even if you added a release here you would not follow Discord ratelimit, you would only limit in-progress requests
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
For the issue regarding the amount of tokens released, I would have to release X-Ratelimit-Limit times right?
Basically, move this code out of the if-statement
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
Yeah, as I am proposing though you could just call call_later() X-RateLimit-Limit times, for each request. Then you won't have to deal with questions such as "Is there requests in progress?" or deal with how many to release. You just need to release the token you (the task) acquired by scheduling it to be done later on.
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
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
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?
I think that'll fix the issues you've had (other than not closing the AioHTTP https://docs.aiohttp.org/en/stable/client_reference.html#aiohttp.ClientResponse.close)
You'd still have the semaphore and event.
The semaphore respects limits, and the event allows you to immediately notify all other tasks if you've hit the ratelimit (for example sub-ratelimits). Even though the semaphore has like 3 more values, and you thought you had 3 more requests, Discord may think otherwise and that's what the event is useful for.
What are the cases discord says otherwise?
I've had some issues with deleting messages with gather and what not
Your global ratelimit handler should work the same as the gateway one.
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.
Expanding on this, your global ratelimiter only ensures that 50 requests can be in progress at the same time. Not that 50 requests can be made in a second. That's where your gateway ratelimiter differs (although yours looks kind of weird in a sense because it doesn't account for the time it took to make the request).
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
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
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```
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 😬
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
Yay, excited to see that! Good luck, I'll probably head to bed 😅
Damn who's griff 👀
@naive finch
He do be a Chad
Gotta stay away from pissing him off, in case he one shots the hunter too 👀
Can I ask what I assume to be a very basic understanding question of forks and branches on Github here?
Sure
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?
Just change to that branch in that fork and it will show at the top if the branch is latest with all the commits or is x commits behind
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.
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
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?
Yes
Ok I think I've got it figured out, thanks for answering
Oh it’s just pretty outdated
#bot-commands
@jovial island
Yo
i know the two native languages in Norway, English, German
i understand Swedish and Danish
Woah 😮
Finish is evil gibberish, no way i know anything there.
Man fr Finnish is kinda tough ig
😂 not surprised tbh
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%
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
we have Norwegian and "new-Norwegian" as the common language
New Norwegian is Sami?
no
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
its just what it says on the tin, a new form of norwegian
I mean what is the primary language you are being taught in schools
i can read 50% of Dutch
Oh
both

Many wars have been fought over norway in the past
so the language has change a lot
On this language issue?
the Norwegian i speak is a mix between old Norse and Danish
so we made a new language called new-norwegian
So y'all have 3 langs now? Norwegian, Sami and "new - norwegian"?
with historical routes to only norway
yes, three in the country
👀 3 langs with same routes
but only the ethinic Samer, speaks Sami
Ahan
you can compare it to native americans
that is pretty impressive but that is probably a lot because you understand some german
This guy knows a lot of langauges
its closer to norwegian then german, but we speak the words differently, so it only works for written text
if i had a foreign movie, and only Dutch subtitles, i would manage to enjoy the movie
Hmm
Dang
with up to 90% understanding, but that is because movie subtitles are very abridged
i wouldn't. I'd rather have no movie than that
So you know norwegian, new Norwegian, dutch , German , swedish , danish, english
same, but as a interesting discussion detail 😄
and english
dutch in written form, i have no idea what they are saying 😄
Woahhhh
tbh i hate dutch so many things make no sense at all
Lmao
i aslo know a lot of programming languages as well 😄
How many languages do u know?
Yah that 😋
I dunno why am I on a break from workout session and here 😮
😄
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
I guess west is colder than norway
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
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
agreed just use kelvin
It truly is
Celsius makes more sense to me , but both are better than Fahrenheit
Damn it
This guy knows a lot of langauges
i always use kelvin or Celsius if the temp is under -100c i try to use kelvin
Yup 👀 but i don't think so it gets any colder than -20 °C in Europe
not everything is about that temp
Hmm 👀
😂 😂 😂 😂
-40 up north in norway
Wtf is this viable?
im from the north 😄
Woah i though it's not more than -20 😮
Norway is the most coldest country in Europe but -40 😮
-20 is comonly as low as it gets, but remember, the north of norway is above the artic circle
it also means the sun never sets during summer
and the sun never rises during winter
Yah yah -51 👀
winters in the north of norway are hard
Yah lol
They truly are
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
but we do get nice to look at auroras 😄
That is super beautiful, how is norway for a vacation
Or finland 👀
excellent, beautiful and expensive
how much do u think it would cost me for a week
more expensive than something like Italy?
yes
Lol more expensive than new york???
no
but the food are more expensive
but that would also depend a lot on how you go there
Finland is expensive i guess in that case too? 
💸
U know what i actually thought u r from England
i dont know, i dont expect that to be the case.
well, i only write and speak English here, so you could never know
I cannot learn that many languages even in 7 lives, begone only one 
after you have learned 3-4 languages it gets very easy to pick up a new one
Oh
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
Ikr
No it's coz of ur Halloween Pfp
oh.. 😄 the well know Zebracks from Datomir lives in England 😄
Yup also coz it's a very popular fest in England
Photographed july 2020, this time-lapse movie takes you to the islands of Lofoten, Norway.
This far north, if the weather is nice, you'll be able to see the midnight sun in the summer. Because of the alignment of the earth's axis, the sun actually doesn't set for eight weeks during summer in Lofoten.
This is my first attempt of making a 8K vi...
you can watch this @jovial island
filmed close to where i grew up
Sad
thanks
Griff do be a gigachad
I bet I could half shot the moon
one shot the whole moon*
shoot the moon with half a button press
but first we need to talk about parallel universes
Hey @grim beacon mind if we take it here?
I don't wanna go too off-topic in #discord-bots
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
Not really, TS is an extension of JS so learning TS = learning JS
On the flip side, learning JS =/= learning TS
ye
So if you ask me there's no point in not learning TS first
so just start with TS?
Of course yeah
ok
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
https://javascript.info/ I highly recommend this
You can learn ts as you go
yeah i used that to learn some JS
Well, js does have better resources imo, so starting with that is fine as well, ts is a superset, so after that, learning ts will be very straightforward
Since all js is valid ts
could i learn JS and write the code in a TS file?
Definitely
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
I have written and executed Python code in JSON file 👀
You'd have to learn some extras though
Things like typing obviously
ik. i am familiar with static/strong typing
fun fact
💀
function someFunction(x: number, y: string) {
console.log("something");
}
approximately 25 million red bloodcells if you're an average adult, every minute
i see
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
mhmm
i am used to the c#, rust, and even python way of static typing
that part shouldn't be hard to me
then you won't have any trouble 😄
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)
Philosopher Joe
true
That's typescript?
doesn't TS use braces?
wait
or is this some magic
oops i uh
oh okie
my brain has stopped functioning apparently
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
back to introvert solitaire
There is the average joe that doesnt talk so deep and think too deep
They elect leaders like Trump
There is however this concept https://en.m.wikipedia.org/wiki/Philosopher_king#:~:text=The philosopher king is a,Republic%2C written around 375 BC.
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
A Philosopher joking?
Plato be sad but lol
Joking aside with upcoming elections is any candidate even a Philosopher? or a deep thinker
why dont you elect Deez
Yeah I didnt see that coming lol I inserted the Joe to Plato's Philosopher King and turned it into a parody lol
I meant
- Philosopher Joe king
- Philisopher joking
Our democracies are mostly a parody of the OG classic greek city anyway mostly
all this philosophy hurts my brain cells
I am joe and I talk so deep
🍋
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...
joe snuffy uwu
But why bad....
