#ot2-the-original-pubsta

652 messages ยท Page 19 of 1

keen burrow
#

It doesn't seem much referenced by the search engines anymore

odd sphinx
#

aw

keen burrow
#

Lol

#

It doesn't resolve

zinc hatch
#

I mean, I have an invite, but it's pretty useless

lucid osprey
#

sendd

median blade
#

sad

lucid osprey
#

sebastiaan....๐Ÿฅฒ

fluid plank
zinc hatch
#

Yes! Julia is quite beautiful.

lucid osprey
#

is it an OOP lang?

fluid plank
fluid plank
mild pumice
#

is this normal

pliant trench
#

woah wtf

pliant trench
mild pumice
#

yep thats real

pliant trench
#

I mean does it use 983 GB ??

mild pumice
#

no thats not real

pliant trench
#

ok

mild pumice
#

if it was then

pliant trench
#

then that's not a problem

mild pumice
#

yep lol

pliant trench
#

just don't mind it

#

๐Ÿ˜ธ

odd sphinx
#

i know all ur addresses

#

i just need to look at pi

#

ezez

round moss
#

per server profile pictures would be a cool feature for discord.

odd sphinx
#

true

lucid osprey
#

agree

keen burrow
#

I prefer being allowed to set temporary nicknames

#

So I don't forget to reset my silly nickname

odd sphinx
#

lol

#

like statuses

odd sphinx
#

fun fact

#

ctrl + K: searches google on ur chromium browser

#

i mean

#

it alread did that

#

but i just found out

#

so

steel eagle
odd sphinx
#

no

steel eagle
#

I dunno it just never set right with me

#

It was funny for a day

#

Then it was like okay yeah

#

Then it just progressively became less funny and more repetitive and annoying

sinful estuary
#

Does the only fans girl come on here still?

#

Shit I meant angelina

steel eagle
#

... What?

sinful estuary
#

I'm never gonna forget this lmao

steel eagle
#

Oh you also double posted...

sinful estuary
#

Oh I thought I took the other one down

nova ember
steel eagle
nova ember
#

I guess that's one way to view it

#

It was a joke, but we turned it into something pretty fun. We're now working on open source projects, like a react+django site, discord bot and programming language. It's a great way to get started with open source

#

There was a time where I felt like I'd had enough of it, but when it calmed down slightly and we started doing some fun projects, I changed me view of it in some way

steel eagle
#

oh boy I just got called by one of those vehicle extended warranty scam calls

#

So I told them I had a 2006 lamborghini gallardo

#

and they didn't hang up

placid patrol
#

lmao

cedar leaf
#

If their computer has entry for it, they will sell it

storm birch
storm birch
#

perhaps the version number is not being incremented correctly? I am not familiar with publishing packages though sadly :C

dim root
#

hmmm

#

how can i fix it then?

storm birch
#

haha, nice Vinam credit too xD neat

#

also: sadly I am not sure

dim root
#

ah alright, lemme google

storm birch
dim root
#

yeah, that's what i have pushed the latest

#

well another push rn

#

piston-cli 1.2.1

storm birch
#

Yes, so it appears to be working

dim root
storm birch
#

what is the issue you are actually having though?

#

It appears to have the most current version and installs correctly on my system

dim root
#

hmmm, i want to push it the pypi automatically whenever i push to the github

#

currently i do it manually

dim root
storm birch
#

Your CD appears to be working, it is just notifying you that the version has not changed since last publish

dim root
#

yeah

storm birch
#

It seems those users may have listed piston-cli as a dependency, I am not familiar with this though

dim root
#

๐Ÿคท nvm, i will just fix that pushing thing, lets see how simple bulma is done

stone glade
#

hey guys if anyone here got a Valentine's u can send them this

dim root
#

fisher i need your addresss!

storm birch
#

LOL

#

I would love that card tbh

stone glade
#

lol

storm birch
#

I cannot vouch for its effectiveness on others though

#

If someone walked up on me on the street and handed me that, they would own my heart LOL

stone glade
#

lol

steel eagle
# stone glade

I frustrate you to no end and never do what you want, or when I do it's incorrectly and doesn't work with everything else?

stone glade
#

huh

#

I'm sorry I don't understand lemon_sweat

steel eagle
#

That's what css is to me

median blade
#

O

hoary drum
#
  1. Woah thanks
#
  1. Whatโ€™s with ur username?
#
  1. WHERE IS JAVASCRIPT
hoary drum
#

lesscss

#

Yโ€™know

limber pollen
#

They're malware

#

and they've been removed from the server

#

Doesn't seem like it on my end, but we're investigating

real forum
#

Ight

rigid echo
#

FB + I == FBI

#

that means that facebook + Instagram == makes FBI

real forum
rigid echo
#

Face + eye == Fbi

dense rune
#

I wouldn't be surprised if they already knew about it tho

steel eagle
#

In the end, most of it is just color variable stuff that's actually changed

#

Which is nice, don't get me wrong, but not the core problem which is layout stuff.

steel eagle
#

speaking of that

#

you hate to see it

dim root
rapid orchid
steel eagle
rocky fossil
keen burrow
#

lol thatโ€™s great

lucid osprey
#

haha nice! el fishre

jovial island
#

Just try to be emphatic

lucid osprey
#

hm?

#

oh lol, the ot name

jovial island
#

hi

#

how is it goin everbody

jovial island
#

yeap

#

love is good bruh

jovial island
#

very problemly

#

๐Ÿ˜„

tranquil ridge
jovial island
#

Geez

jovial island
#

meither

#

bruh

#

I've been coding an app by python

lucid osprey
#

cool

jovial island
#

I got an problem, if I solve this it will be finished

#

But trying to solve that for a few days

#

i m dying

#

::P

#

๐Ÿ˜„

#

๐Ÿ˜›

jovial island
jovial island
#

thanks! @jovial island

#

dou you mind voice chat?

#

may be

#

that would be better

#

I can stream as well

#

by the way

#

it is about sqlite database

jovial island
#

def deleting(counter):

 counter += 1
 print(type(counter))
 cursor.execute("DELETE FROM words WHERE rowid = {}".format(counter))
 conn.commit()
#

########################

#

it does not work

#

pretty simple but idk why it does not work?

keen burrow
#

Don't ๐Ÿ‘ use ๐Ÿ‘ format ๐Ÿ‘ in ๐Ÿ‘ queries

jovial island
#

hmmm

keen burrow
#

Actually, here it is safe

#

But still

#

That's a bad habit

jovial island
#

hmmm

keen burrow
#

You need to make counter global anyway

jovial island
#

I'll try it
thanks!

#

by the way

#

this function gets that counter variable from other python file

jovial island
#

Yeah I already imported

#

Don't pass it in function

#

Use it from global space

keen burrow
#

You should use dotted path when incrementing then

jovial island
#

there only thing

#

let me show you my codes

#

there counter3 variable which is integer

#

I need to pass it to deleting function

#

thats why I ve been giving that to deleting() function as a parameter by format()

#

Actually i do not know what should I do instead of format

#

I'm quite new at programming

#

so I dont know what is dotted path

lucid osprey
#

hey bro

red rampart
#

Lol I'm here now

lucid osprey
#

okay wait a min

#

you see this @red rampart

#

I am in 3rd step

red rampart
#

Okay

#

So what's got you stuck?

lucid osprey
#

and I ran the bot.py and the output is like this

 * Serving Flask app "" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
 * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)
$modbot has connected to Discord!

but in the tutorial they said that a window will be opened and a link will be there
look at here ๐Ÿ‘‡

Notice that small window saying Your bot is alive! if you see it, you successfully created the server! Only the last step remains! Before you go into the last step, make sure to copy the repl.co link you see in that small window's address bar. (https://discordpy-rewrite.thedrone7.repl.co in the picture, it will be referred to as the server link in the rest of the tutorial)
#

for me,no window popped up

red rampart
#

So the window should be in your repl.it window, it's not like a popup

lucid osprey
#

ooh

red rampart
#

See the image above? That url with the basic text?

lucid osprey
red rampart
#

That's what it's referring to

red rampart
#

Yes, yes

lucid osprey
#

okay thankyou

red rampart
#

You got it

#

Hopefully that puts you in the right direction

lucid osprey
#

it does, I thought that image was a normal text editor and the window popped out of nowhere

dusky cliff
#

ankith, you're in cbse 9th grade, aren't you?

lucid osprey
#

I am

#

how do you know

dusky cliff
#

i'm having to study the same thing you are lmao

lucid osprey
#

haha

dusky cliff
#

for sst

lucid osprey
#

study the same thing you are lmao

dusky cliff
#

social studies

#

history, geography, economics, pol sc

#

neither am i in class 9, nor am i in cbse, nor do i have any of those subjects

#

and yet here i am

lucid osprey
#

how did you know I am studying social studies right now wtf

#

wtf is going on

dusky cliff
#

i em spy

lucid osprey
#

my exam is tomorrow, social studies

dusky cliff
#

my exam is on sunday

#

ntse

lucid osprey
#

national talent search exam...

#

I know thatt

runic oak
#

hacker?

dusky cliff
#

ugh its annoying af to study the subjects that I had so happily left behind

lucid osprey
runic oak
#

lol

dusky cliff
#

yes.

#

my eyes are on you

runic oak
#

i dont have a webcam

lucid osprey
runic oak
#

the best way to provide being hacked

dusky cliff
#

didn't say no nothing about camera

lucid osprey
dusky cliff
#

yes

lucid osprey
#

you are old

dusky cliff
#

that's just stress

runic oak
#

im the killer under your beds at the same time:))

lucid osprey
#

LMAO

#

run and catch me

dusky cliff
#

aight gtg
back to my full history syllabus in 4hrs speedrun

lucid osprey
#

hah

#

I need to study economics now

#

and geography is left over

#

yeah speedrun ๐Ÿ˜‚

runic oak
#

then we'll see

#

and an MG

lucid osprey
#

bro my house is in the forest

#

even gps wont work

#

I can hack you using html in powerpoint nokia 3301 be aware!

runic oak
#

im joe biden i'll send the secret service to find your house and destroy your nokia 3301

lucid osprey
#

nokia 3301 is unbreakable brainmon

runic oak
#

yes

#

...or not

lucid osprey
#

US marine corps and SEAL fbi use it for shields

runic oak
#

nuclear weapons?

lucid osprey
#

no, nokia 3301 is from wakanda

#

nuclear weapons are || primitive||

runic oak
runic oak
#

ok

#

do u know how to find out how many messeges i've sent without bot commands and sir lancebot commands

runic oak
#

i want to get verified

lucid osprey
#

from:username

#

you have 132

runic oak
#

but then you see all messages

lucid osprey
#

messages

#

hm?

#

like this

runic oak
#

that are all chats, the botchats too

#

i sent a few messages there

lucid osprey
#

bruv, all messages sent in the server will be shown in that thing

runic oak
#

yay, im now voiceverified

visual sigil
#

i hate how i have to be voice verified

#

i wonder who was the genius that thought that was a good idea ๐Ÿ™„

tranquil ridge
#

it is a good idea

vague steeple
#

it's certified troll protection

runic oak
#

yeah, but its trigger

real forum
keen burrow
#

You know what

#

It is just against the line limit

dusky cliff
#

there's still loads of potential in the __import__("math") yk

lucid osprey
#

omg

real forum
#

Lol yeah

#

I'm following the pep8 song rly well right?

lucid osprey
#

yes 100%

rotund granite
#

hey have you seen american psycho

lucid osprey
#

I 'avent

dusky cliff
#

__import__(__builtins__.__dir__()[6][3]+__builtins__.__dir__()[7][0]+ __builtins__.__dir__()[6][7]+__builtins__.__dir__()[14][1]) can replace __import__("math") for example, and the only thing I touched is builtins >:)

pliant trench
#

woah what the heck is this

#

__import__(__builtins__.__dir__()[6][3]+__builtins__.__dir__()[7][0]+ __builtins__.__dir__()[6][7]+__builtins__.__dir__()[14][1])

dusky cliff
#

maffs

#

#bot-commands message

pliant trench
pliant trench
#

maffs.. hmm

urban sun
brave mica
#

I feel for u

ripe fiber
#

nerds

nova ember
#

Also, line length

odd sphinx
#

the amount of formatting errors u made

ripe fiber
#

these are the most boring people in vc

odd sphinx
#

ight

nova ember
#

Though if Iโ€™m gonna show you something practical from this, itโ€™s called the zen of python

#

!zen

clever salmonBOT
#
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

dusky cliff
#

acc pycharm

odd sphinx
#

depends on the formatter

#

yes

#

7

#

for 2 lines

#

kinda much dont u think>

real forum
dusky cliff
#

5, if I reduce to one line

odd sphinx
#

wait

#

how do i use this tho

#

do i just paste it in the interpreter?

real forum
#

you copy and paste it

#

yeah

odd sphinx
#

ight

real forum
odd sphinx
#

can u link it?

#

u should make an esoteric script that writes this esoteric helloworlds

#

that would be next level

nova ember
odd sphinx
#

bruh

#

omg im so blind

brave mica
#

Omiowah

odd sphinx
#

wait

#

it doesnt work

dusky cliff
#

rip

odd sphinx
#

this is the output

#

am i missing something>

#

i just copied all ur code

real forum
#

are you using python 3.9?

odd sphinx
#

no

#

3.8

dusky cliff
#

does work for me

odd sphinx
#

hmm

#

OH IT WOKED

#

damn thats impressive

real forum
#

lol

odd sphinx
#

so this is the part that prints it all out?

real forum
#

yeah kinda

odd sphinx
#

interesting

#

i love the variable naming convention

#

absolutely readable

real forum
#

all it does it eval("__import__('__hello__')")

dusky cliff
#

bruh.

odd sphinx
#

lol

real forum
#

but using chr

odd sphinx
#

very interesting

real forum
#

ty ty

dusky cliff
#

I let pycharm do its thing with the formatting

#

can't say it's better now

odd sphinx
#

lol

real forum
#

lol

odd sphinx
#

at some point the formatter shouldve given up

dusky cliff
real forum
#

LMFAO

odd sphinx
#

bruh lmao

#

whys it named csharp

real forum
#

^

dusky cliff
#

dunno

odd sphinx
#

damn

#

this code has confused the reader, the formatter and hastebin

dusky cliff
#

y u no use my import math lemon_sentimental

odd sphinx
#

thats quite the feat

real forum
#

It was longer

nova ember
#

The hastebin uses auto-detect for finding the language. The issue is that it does a terrible, horrible, utter useless job at detecting the right language

real forum
#

Just look how I defined ______

dusky cliff
#

you didn't even replace the __import__("math") with anything lmao

nova ember
#

Weโ€™ve been thinking about just making the default .py, considering that weโ€™re a python community. Iโ€™ll shine a light on that idea internally

odd sphinx
#

bro u made my vscode freeze @real forum

#

its trying to format

dusky cliff
#

F

real forum
#

Lol

#

Nice

#

Do I show my compsci teacher LOL?

#

Rn we are doing python in class so it would be appropriate

odd sphinx
#

lol

#

u should

real forum
nova ember
#

@real forum @odd sphinx done

real forum
#

cool

steel eagle
#

all 11 are false positives

#

thonk half of them are pyinstallers, half of them are nuitka executables, and one of them is a crypto miner that I installed willingly

teal harbor
#

What did you scan for that took so long? ๐Ÿ˜ฎ
Also cool pfp

steel eagle
#

oh it's still going...

#

about 5TB of files on spinning disks.

#

and thanks

teal harbor
#

Oh my, I wish I had that many files

steel eagle
#

no

#

you don't

teal harbor
#

(I know :P)

steel eagle
#

I'm trying to wane down on some of it

#

I have about 1TB of raw video files that need to be edited and published

fluid heron
#

pubji mobol

#

is anyone here

drifting venture
#

To work or not to work

iron sinew
#

not being empathetic ;-;

hoary drum
#

Can I propose a name?

fluid plank
odd sphinx
#

lol

mint abyss
#

I dont know where to ask this but is there good documented api to get bitcoin price in local currency stuff like that?

runic oak
#

sorry idk about bitcoins and other virtual money

odd sphinx
#

mr. helplock

lucid osprey
#

lol

#

is it supposed to be a parody of mr.hemlock

frigid pollen
#

Who tends toward being a helpful chap.

tranquil ridge
#

the helpers

lucid osprey
#

he sets up camp in vc

nova ember
lucid osprey
#

hii

rigid echo
#

hi

odd sphinx
#

bruhhhh

#

vim on vscode is epic

dusky cliff
#

the keybinds?

odd sphinx
#

yes

#

and if u turn on smooth cursor

#

and smooth page scrolling

#

its very nice

wet spindle
#

i like nuggets

stone glade
#

Is there any use for JavaScript other than frontend?

copper tartan
#

I love this otname

storm birch
#

I was just coming here to say this, actually

copper tartan
#

With stuff like React Native, you can more or less write mobile apps.

#

Discord uses a lot of JS as it runs on Electron, so you can write desktop applications

#

Basically the webstack has found its way into every corner of software development

#

so yeah, you can do a ton of stuff with it. Although many will say that you shouldn't do those things with it, and they might be right, but I don't really have a horse in that race.

#

use whatever solves your problem.

stone glade
#

thanks a lot lemon!

#

well, my goal is to be something like a backend dev, for applications, websites, etc, so I thought django would be good for that

#

but, if I wanna use django, idk if JavaScript would come in handy, I thought of learning Python, C#, and Java, but I'm not sure

viral hare
#

all those languages have some backend web lib

stone glade
#

which one would be the best?

viral hare
#

idk ive used a few

#

they all good in their own ways

#

like ive used django and flask

#

pretty nice

#

but rn im using nestjs which is basically nodejs

#

its nice in its own way too

stone glade
#

nice!

viral hare
#

so...

#

although ive never really touched java backend

stone glade
#

hm

viral hare
#

i would assume its somewhat like asp idk

stone glade
#

e

#

well

#

idk

viral hare
#

i wanna say once u konw one

stone glade
#

still not sure tbh

viral hare
#

u know them all

stone glade
#

wait really?

viral hare
#

basically they are structured the same way

#

take in http request

#

handle the request and make request to database

#

and do some logic and return the data

#

well at least that was my impression going from python to javascript

stone glade
#

nice

#

is JavaScript somehow similar to Java or csharp?

#

or python?

viral hare
#

eh ive done some java

#

and javascript has some similarities

stone glade
#

alright! thanks!

viral hare
#

but honestly if u know python u can do javascript with no problem

stone glade
#

nice!

#

I thought they were completely different

viral hare
#

tbh i have never formally learned both

#

i just googled when i got stuck

#

and read what stuff did

stone glade
#

oh nice

viral hare
#

yeah

#

thing is some ppl read like this thick book before they get started

stone glade
#

s t a c k o v e r f l o w

quasi plaza
#

every programmer at one point in their life:
ok lets go to stack overflow
hmm ok cool code now lets copypaste it

jovial island
#

i forgot how to do it tho

jovial island
#

Code is an art because good artists borrow and great artists steal

dusky cliff
#

how inspirational

worldly shadow
#

matrix isnt a shonen

jovial island
#

Some differences I could think of right now are brackets, indentation, and keywords when declaring a variable

dusky cliff
#

Yeah

jovial island
#

Did you know the first programming bug recorded was a moth?

solemn panther
jovial island
#

Indeed

tranquil ridge
#

what is a moth? (in computer terms)

solemn panther
tranquil ridge
#

oh lmao

jovial island
#

Oh

#

Unfortunately

lucid osprey
#

what is this

jovial island
#

The term is used to refer to technical errors and problems at least as early as the 19th century, predating the commonly known story of a moth being caught in a computer.

jovial island
#

๐Ÿ‘€

#

I respecfully retract my citation

lucid osprey
#

๐Ÿ˜†

#

I love this meme

lucid osprey
#

could you not ask in all channels lol

keen burrow
#

!warn @jovial island I have just told you that we canโ€™t help with that and the next thing you do is post it in all 3 off-topic channel? Please re-read over our #rules.

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied warning to @jovial island.

jovial island
#

Is there a list of all the help commands like the new "!default-dict"? @ me

dusky cliff
#

@jovial island

neat light
#

You can also run !tags in #bot-commands

dusky cliff
#

ouh

jovial island
glass gyro
#

Hello

merry cobalt
#

Hi I like turtles!

#

Do you like turtles?

real forum
lament kestrel
fluid plank
storm birch
#

I grossly disagree with this title

#

sleep is for the weak

fresh carbon
#

sleep is both

#

like

#

I hate it

#

but it's so nice

storm birch
#

I love it, I just can never get it, so I need to hate on it

fresh carbon
#

sleep is one of those things where you don't want to do it for ages but then you eventually do, and while you're doing it it's nice, but then after you're just as tired

#

sadge

#

or at least for me

fresh carbon
slow shale
#

I hate sleeping

#

Feels like a waste of time

fading pumice
#

E

steel eagle
#

@fading pumice please don't spam

fading pumice
#

I just said E tho

steel eagle
#

.. Exactly

#

And you did it in all 3 channels

fading pumice
#

OK sorry

#

There is literally like 38 channels and 36k people in this server but me saying e is going to break the system

rigid echo
fading pumice
#

Sorry

steel eagle
#

Bruh why did you ping me for that

rigid echo
fading pumice
#

I didnt

steel eagle
#

Anyway, rules and guidelines are there for a reason

#

You're also way low on that membership number

#

We've got about 150k members

fading pumice
#

So does that help?

exotic ingot
#

sleep is the most overrated thing ever

steel eagle
#

Negative

#

Sleep is like nectar from the gods

exotic ingot
#

we do it like 25 years in our lifetime

#

is sleep productive?

earnest valve
#

sleep can reverse entrophy

exotic ingot
fading pumice
#

OK u need it tho

dusky cliff
#

sleeping is just dying
but not

exotic ingot
#

where did you steal that from

real forum
exotic ingot
#

but it's not productive

#

per se

earnest valve
#

its not profitable because it always in debt

real forum
#

It's not productive in the time that you are sleeping, but it gives you like 14 hours of productivity(if you get 8 hours of sleep) so overall it's worth it

exotic ingot
#

a redbull only takes like 3 minutes to drink

#

and it gives you a few good hours of energy

real forum
#

Right but you crash after, and end up getting sleep(or almost getting sleep) after it

exotic ingot
#

just drink nother one

earnest valve
#

sponsored by redbull

exotic ingot
proper python
#

2am programming is the best

#

no comments all spaghetti code

robust kayak
#

Especially with music

#

Some lofi makes it nice

proper python
#

and then the next day you get a fun puzzle

#

trying to reverse engineer your own coe

#

all the code feels familiar, but not like you wrote it

#

like getting in a car accident for the 3rd time

robust kayak
#

Ummm okay

proper python
#

"genocide does have a point"
-mr. funnyman

exotic ingot
lucid osprey
#

same here

exotic ingot
robust kayak
#

like?

exotic ingot
#

genocide

robust kayak
#

what is "tough guy music"

#

o

exotic ingot
#

psa

robust kayak
#

okay

exotic ingot
#

that kinda stuff

#

fat nick & shakewell is the best duo

#

ever

robust kayak
#

I listen to hip hop so now i am a gangster

exotic ingot
#

pouya is also nice

exotic ingot
robust kayak
#

Ye u best be Me AnD mY hOmIeS fInNa PuLl Up

#

ride with a blixky

exotic ingot
#

we finna

#

pull up

#

and

#

shoot you?

proper python
#

holy shit i wish i was at the legal age to drink

robust kayak
#

I'm guessing ur not from the States?

exotic ingot
proper python
#

drunk programming sounds

robust kayak
#

America is special

proper python
#

like a lot of fun

exotic ingot
#

it sounds terrifying

robust kayak
#

Blixky is like slang for a gun

proper python
#

nah man, turns something very boring into something that you can laugh at

exotic ingot
#

imagine you just write os.system(rm -rf /) in a fit of anger

proper python
#

HAHHHAA

exotic ingot
#

because you cant get something right

#

cus ur drunk

proper python
#

but like

#

on windows

robust kayak
proper python
#
  • not using terminal
robust kayak
#

im still learning

proper python
#

oh wait

#

thats right

exotic ingot
proper python
#

but yeah, not on linux

robust kayak
#

Oh in cmd prompt?

exotic ingot
#

yes

#

well

#

depends

robust kayak
#

what happens if i due it?

proper python
#

every file on your computer gets deleted

exotic ingot
#

yes

proper python
#

ooh wanna brick your computer?

robust kayak
#

Force deletion?

exotic ingot
proper python
#

you know how to delete system 32?

exotic ingot
#

and there is a warning

proper python
#

its just so poggers

robust kayak
#

it doesn't let u

exotic ingot
#

it does

robust kayak
#

System 32 gives u a warning or it is blocked

proper python
#

actually pretty sure the rm rf is outdated

exotic ingot
#

cacls C:\Windows\System32

robust kayak
#

But im not trying to figure it out

proper python
#

a bit longer command now is required

exotic ingot
#

linux and windows commands are different lmao

proper python
robust kayak
#

o

#

Aye

proper python
#

pretty sure

robust kayak
#

i just learned something

proper python
#

never tested it for myself

robust kayak
#

2 things

exotic ingot
#

I learned what f strings are

#

lmao

proper python
#

wut

robust kayak
#

I'm not that advanced yet

#

but ive seen it

proper python
#

there's more than one kind of string?

robust kayak
#

like F(hfslhflsfhs)

proper python
#

wtf are those

robust kayak
#

No clue

exotic ingot
#

so like instead of using +

#

you use an f string

proper python
#

oh

#

you mean those

#

like so you can do

#

print(f'{x} is not the same as {x + 1}')

#

yeah ik about those

exotic ingot
#

yea

proper python
#

really useful in printing data

robust kayak
#

When is a time I would use it?

proper python
#

whenever you would want to put a variable in the middle of an output statement

#

which helps if you have a lot of debug output statements

robust kayak
#

if u don't mind

#

can u show me like an example?

proper python
#

given that x is an int and is defined

#

so like

robust kayak
#

Okay, im starting to figure it out

#

thank u

exotic ingot
#

git outta here

proper python
#

bruh

robust kayak
#

i like doubles

proper python
#

get yo double quote ass outa here

#

you too bud

#

why make it harder for yourself????

robust kayak
#

It isn't

#

LOL

proper python
#

you gotta hold an extra key and then press '

exotic ingot
#

I like using ' for chars

proper python
#

fair

robust kayak
#

"'"

proper python
odd sphinx
#

na the mods are right

proper python
#

yeah, the mods are right

#

they just spelled overrated wrong

#

dummies (:

odd sphinx
#

k

keen burrow
#

!otn s sleep is

clever salmonBOT
#
Query results

โ€ข sleep-is-overrated
โ€ข sleep-is-underrated

keen burrow
#

Hahaha

exotic ingot
#

what

keen burrow
#

We have both sleep is overrated and underrated in the name pool

exotic ingot
#

ohh

proper python
#

hey how's the weather for others?

#

its below freezing here in texas

#

which yeah, im in the desert, its night

exotic ingot
#

partially cloudy

#

rather cold

#

overall crap

proper python
#

but there were white trees during the afternoon

#

it rained

#

then it went below freezing

#

all the hanging droplets froze

exotic ingot
#

YEEEEEEEEE HAWWWWW

proper python
#

it looked so cool

exotic ingot
#

damn that looks neat

proper python
exotic ingot
#

the tree is melting

odd sphinx
#

lol

lucid osprey
#

!otn s hello

#

you can atleast make search option available for non mods yk

keen burrow
#

Part of the fun is that you canโ€™t see the name pool

lucid osprey
#

I agree

keen burrow
#

But if you are curious, we have no otn with โ€œhelloโ€ in it

lucid osprey
#

๐Ÿง

#

fwiw I was checking if it was working for non mods so a chose a random word lol

pallid meteor
#

ngl sleep is actually underrated

odd sphinx
#

ikr

#

!otn hello-world

lucid osprey
#

I need to find vulnerabilities within this bot

#

and once I do,

keen burrow
#

What bot?

lucid osprey
#

this server bot lol

keen burrow
#

๐Ÿ‘€

#

I hope that you will communicate the breach through @vapid maple instead of exploiting it

lucid osprey
#

lol what

#

I'll fix it myself (which is what any programmer would do)

keen burrow
#

Well, we donโ€™t want to open a public PR

lucid osprey
keen burrow
#

We can work together in order to make sure that you are properly credited and develop the fix if you reaaally want to lol

#

You wonโ€™t find any breach, we have too talented coders anyway lemon_smug

lucid osprey
#

cause my server bot has an exploit which the owner doesnt know, and I made myself the owner using it

#

there is even a secret command that the owner doesnt know, I use it when hes offline

#

$make_me_owner

odd sphinx
#

uh

#

thats kinda not good

lucid osprey
odd sphinx
#

bruh

odd sphinx
#

epic

lucid osprey
#

lol I aint gonna misuse power

dusky cliff
keen burrow
#

Hmm

dusky cliff
#

how many names are there in all?

keen burrow
#

1 out of 800^2 I believe

#

With my poor math understanding

#

800 or so

#

937 exactly

dusky cliff
#

brb

odd sphinx
#

it should be ^2

#

that i know

#

so thats 1/640000

#

0.00015625%

#

my math is not very good btw

#

ahhh

jovial island
#

But I think that the fact that there are 3 off-topic channels aren't considered

odd sphinx
#

true

#

oh wait theres a total of 937

#

names

limber pollen
#

(1/937)ยฒ is the probability I think

#

Except used names are marked in the DB and only get reused after a full cycle

#

So everyday, that probability increases, until one gets marked and it becomes impossible unless the next day is the start of a new cycle

odd sphinx
#

hmm

#

so the same names dont come up until all of them are used

limber pollen
#

Correct

dusky cliff
#

I think

#

because either one will come one some arbitrary day, and the probability of the other coming on the same day is (1/936)*2, considering there are two other ot channels

jovial island
#

It would be 935 / (937 C 3)

odd sphinx
#

C?

dusky cliff
#

P

jovial island
#

Combinations

#

No, C

odd sphinx
#

right

dusky cliff
#

how C

odd sphinx
#

so all the combinations of names?

jovial island
#

Think about having 4 ot names

#

It would be 2 / 4 C 3

#

Which you can easily compare manually

dusky cliff
#

if there are 4 names in the pool
we can have 4*3*2 ways of getting the names innit

jovial island
#

Sleep is overrated, I need to solve math

#

Let x, y, z, a be the names and x and y be the ones we need appearing together

There are 4 possible ways of having them appear

x, y, z
x, y, a
x, z, a
y, z, a

Out of these, only 2 contain x and y making the probability 1/2 which holds true with the formula

#

n-2 / n C 2

#

Taking order into account doesn't matter

dusky cliff
#

but the bot can select both
y, z, a
and
a, y, z
can't it

jovial island
#

Does it make a difference?

dusky cliff
#

doesn't it?

jovial island
#
x, y, z  - 6 cases
x, y, a   - 6 cases
x, z, a  - 6 cases
y, z, a  - 6 cases
#

Hence, 6 + 6 / 24

open crane
#

hello guys

dusky cliff
#

ah

#

gotcha

jovial island
#

How will be k OT names be accounted for?

#

We want 2, we can have 3 at one go, we have 937 to pick from

#

Or are we not ๐Ÿ˜…

#

!e

import math
print((935 / math.comb(937, 3)) * 100)

Its pretty low lmao

clever salmonBOT
#

@jovial island :white_check_mark: Your eval job has completed with return code 0.

0.0006841255507210683
dusky cliff
#

how is this flawed

because either one will come one some arbitrary day, and the probability of the other coming on the same day is (1/936)*2, considering there are two other ot channels

#

(this gives around .2%)

#

what dumb assumption have I made here

jovial island
#

That there are only 2 OT channels

dusky cliff
#

nah there are 3, any one can get one of the two reqd names, then the other reqd name can occur in the other two channels

odd sphinx
#

uh

#

ok

jovial island
#

Oh

#

Youre almost there

#
In [6]: (1/937 * 1/936) * 6 * 100
Out[6]: 0.0006841255507210685
#

You just failed to consider permutations

dusky cliff
#

1/936+1/935 maybe

merry cobalt
#

only visible to u

#

well steakbot in this server can.

jovial island
#

Can it?

#

Ah

merry cobalt
#

yup

odd sphinx
#

oh

merry cobalt
#

typ /

odd sphinx
#

i thought everyone can see it

jovial island
#

your legs and arms become string cheese for an hour, wyd?

merry cobalt
#

pretty neat stuff

jovial island
#

#bot-commands message is that not visible to you all?

merry cobalt
#

no

tranquil ridge
#

what

#

its perfectly visible to me

dusky cliff
#

it is to us ยฏ_(ใƒ„)_/ยฏ

merry cobalt
#

@jovial island use /steak here

#

in this channel and u will see the msgs

#
Only you can see this โ€ข Dismiss message```
jovial island
#

#bot-commands message

#

that shit raw

merry cobalt
#

someone said its part of /slash but should be easy to grab that part of code

#

n use

jovial island
#

discord.py doesn't support slash commands iirc though

odd sphinx
jovial island
#

I think I remember joe saying SteakBot is written in js

odd sphinx
#

u can just use the discord api directly right?

merry cobalt
#

would still be great if he could share some codes for that part

#

@grim seal

jovial island
edgy nebula
merry cobalt
#

am so clueless, guess i will have to wait for slash commands to be released officially for discord.py

#

but the message type is nothing new with slash commands also

#

cause clyde bot uses it for long time ago

#

i dont know - am confused, but really would like to have that

edgy nebula
#

Clyde is part of discord itself

#

At least I think so

edgy nebula
#

They don't like it a lot, and say a lot of stuff would have to be reworked to add slash command support

merry cobalt
#

we need joe to clerify how he made it ๐Ÿ˜„

edgy nebula
#

Did he make it?

keen burrow
#

I donโ€™t think the steakbot is in Python

#

Of course joe made it haha

dusky cliff
edgy nebula
#

It isn't hard to make it in python though

#

You'd just need a webserver

merry cobalt
jovial island
#

Wasnt there a package dedicated to it as well?

odd sphinx
#

yea

edgy nebula
jovial island
edgy nebula
grim seal
#

y'all want steakbot code?

merry cobalt
#

yes!

grim seal
#

well hm

#

no

merry cobalt
#

we wanna know how the messages is being sent visible only for u

dusky cliff
#

lmao

edgy nebula
grim seal
#

because steakbot is js

#

but

#

i have another slash commands thing in python

merry cobalt
#

does it also do "only visible for u"?

edgy nebula
#

Yeah the visibility is what I want to know as well lmao

grim seal
#

yes

merry cobalt
#

awesome thanks Joe!

#

mucho apreciatio!

grim seal
edgy nebula
#

Is this Microsoft functions like GCPs cloud run?

merry cobalt
#

yeah now i just need to figure out how to do this without azure

edgy nebula
#

I'd made a flask app and ran it on GCP app engine

#

Should probably use cloud run/cloud functions or whatever it is called

merry cobalt
#

would be great if you just could add flags in discord.py

open crane
#

but i dont really know python,im new

#

i hope i can learn it

grim seal
#

Azure Functions are serverless Python (or any other language really) code

grim seal
#

Dice roller on Azure

edgy nebula
#

How do you pick between these services

grim seal
#

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

odd sphinx
#

he uses his dice roller

grim seal
edgy nebula
#

Understandable

odd sphinx
#

lol

edgy nebula
#

I have only ever used GCP I need to try the others too sometime

grim seal
#

I actively avoid anything Amazon/AWS

edgy nebula
#

Fuck bezos

keen burrow
#

Well

edgy nebula
#

But I hear AWS is like super good ๐Ÿ˜ญ

keen burrow
#

Bezos is no more

odd sphinx
#

yea

keen burrow
#

Well, at least he isnโ€™t the CEO anymore

edgy nebula
#

Makes it sound like he died

merry cobalt
#

do you think discord.py will ever add those ephemeral flags?

odd sphinx
#

andy jassy

odd sphinx
#

has the transition happened yet?

keen burrow
#

Hmm someone should update the page

#

I think it has

odd sphinx
#

hm

merry cobalt
#

Write he bizzy being a super villian

keen burrow
#

ah no, not yet

odd sphinx
#

oh lol

merry cobalt
dusky cliff
keen burrow
merry cobalt
#

cloudify

odd sphinx
#

lol

edgy nebula
merry cobalt
#

mycloud

dusky cliff
#

ourcloud

merry cobalt
#

icloud

edgy nebula
#

Cloud Run
Cloud Build
Cloud SQL
Cloud Functions

merry cobalt
#

nintendocloud

#

its like spotify, after that many went ify in end of names

#

ify==money maker elonKEK

fluid haven
#

@peak sonnet the result of that calculation is definitely 11.25

fluid haven
#

169 - 25 = 144, sqrt(144) = 12
-3**2 = 9
9/16 = 3/4
12 - 3/4 = 11.25

dusky cliff
#

it's * not -
12*3/4

fluid haven
#

O yes, you are right, 9/16 is 0.56 something, it's sqrt(9/16) that is 3/4th aka .75

#

You take the sqrt of 9 and 16, those are 3 and 4, and simplify into .75

#

@peak sonnet if you really doubt it you can always enter the equation on wolfram alpha

#

.wa sqrt(169 - 25) - sqrt(((-3)**2)/16)

rustic harborBOT
peak sonnet
#

im so confused