#ot2-the-original-pubsta

652 messages Β· Page 22 of 1

olive kite
#

hello fellow programmers,

any good guide on decorators?

found some videos online but i'm struggling to understand

round moss
#

there is a realpython article

uncut sail
#

I mean my old laptop from 2012; vscode ran absolutely fine on there while I could barely get visual studio to start. I don't think too many people will need to run an full-blown IDE on a raspberry pi πŸ˜›

wide totem
#

Ah

olive kite
#

thanks @round moss

lucid osprey
fluid plank
#

it can run on a raspberry pi

#

barely

round moss
#

@jovial island please do not post a message into every off topic channel, stick to just one

round moss
#

ah, its everywhere

fluid plank
#

oh lol u deleted it haha

pastel nest
#

Name's cursed

wide totem
#

I've tried to run vscode on a raspberry pi but it hangs. Every time.

#

Rasp 3

#

@agile quartz

echo fern
#

compare the MediaInfo

#

likely you recoded it into a different codec or something

sinful sun
#

Two different formats, why is it so surprising that they store different amounts of data

echo fern
#

technically they are both container types, so I believe you can have the same data in the same codec, in either mp4 or mkv files

vague sinew
#

@echo fern mind accepting my request for something in the dms?

vague sinew
echo fern
#

Why not just ask somewhere like #algos-and-data-structs or an offtopic channel? (or maybe the Mathematics discord, depends on the problem)

vague sinew
#

No like

#

I have a code

#

that isn't really working?

#

And I was curious what mistake I might've made

fluid timber
#

150 lines of code py_guido

odd sphinx
#

nice

fallen bramble
#

i like pringles i think the name of the channel does too

keen burrow
#

Depends on the flavor

fallen bramble
fluid timber
fallen bramble
neat light
#

150 lines of code written on a phone = 150,000 lines written on a PC

keen burrow
#

!otn a pizza-pringles

clever salmonBOT
#

:ok_hand: Added pizza-pringles to the names list.

keen burrow
#

It wiiiillllll

neat light
#

That's a good thing lol

#

I'm saying it's more of an achievement haha

fluid timber
#

Oh yeh

#

Dedication

#

Road to 1,000 lines

keen burrow
#

I wonder how many line of code I ever wrote

#

Probably not 150k

#

I could make a program printing the name of each member of this server

fluid timber
#

Are you a software dev?

keen burrow
#

and I’d have 150k lines

keen burrow
fluid timber
#

I mean what's your work relating to coding

#

Sorry my explanations are bad

#

F

neat light
#

I once made a calculator generator which created some code that was probably over 150k lines lol

#

The sort of

if a == '1' and b == '2' and op == '+':
    print('answer is 3')

repeated with a ton of numbers sort of thing

keen burrow
#

Ah yes

keen burrow
fluid timber
#

I'm proud of line 33

jovial island
#

can anyone help me download free version of VM ware?

#

plzz send the link in dm

#

not the trial edition

#

Hello

fierce sphinx
#

here

jovial island
#

Hi your mama! How long have you used python?

#

or been coding I should say?

fierce sphinx
#

2 years

#

thenk u

jovial island
#

I just started. I am taking an intro to programming class and we are using python

fierce sphinx
#

not all librerise

jovial island
#

So far it's going well, but now I want to learn to make video games, and learning how to display images to the screen versus text is alot more diffcult.

#

Yeah, I go to penn state

fierce sphinx
#

i prefer c++ for games

jovial island
#

I'm in the IT Associates program, so It's just a required class

#

Really? How come?

round moss
#

the main merit is performance. Python is sometimes just too slow to run some game logic

fierce sphinx
#

py is to lets say not suited for games in my opinion

round moss
#

but that won't matter if you are just making snake or similar

#

and snake in pygame/arcade is much easier than in cpp

jovial island
#

I'm currently reading a book for pygames Coding Games in Python by Carol Vorderman, Craig Steele, Claire Quigley, Daniel McCafferty

fierce sphinx
#

i was taliking aboat inidi games in unity

round moss
#

those are in C#

#

not in C++

fierce sphinx
#

yeah

#

right

jovial island
#

The thought of unity makes my head spin. It looks so complex

round moss
#

I do like unity, but the tutorials are god awful

jovial island
#

I want to make simple 2d games in python, just to get the basics of python down

fierce sphinx
#

no money to spend

round moss
#

when trying to learn gamedev in haxe, I read one page and mostly knew how to do things. I still don't actually know how to use unity

jovial island
#

Good news is I know how to draw, so I don't need to hire an artist lol

round moss
#

and I watched like 2h of tutorials and made some simple games

jovial island
dusky cliff
round moss
#

actually no. No tutorial I found was good enough that I actually want to recommend it

dusky cliff
#

I tried to follow brackeys but it seems more about specific things than complete tutorials

fierce sphinx
#

.

round moss
#

so I just gave up on unity

#

haxe ftw

fierce sphinx
#

its a powerfull tool

jovial island
#

@fierce sphinx would you say c++ is easy to learn like python?

round moss
#

it is not

fierce sphinx
#

nope

jovial island
#

oh... XD

fierce sphinx
#

yeah

round moss
#

C++ is one of the more annoying languages to learn due to just how ancient it is and just how different it is from 20years ago

dusky cliff
#

python is def one of the easier languages to learn

fierce sphinx
#

yep

round moss
#

you will find C++ tutorials which just start with a C tutorial

fierce sphinx
#

agree

round moss
#

even though if you try to write C in Cpp, you are guaranteed to fail

fierce sphinx
#

always start at py

round moss
#

Rust is not good for gamedev

fierce sphinx
#

and go for hdml

dusky cliff
#

lol

round moss
#

I have tried 3 libraries and none of them worked well

jovial island
#

Any other tips for python 2d game dev?

round moss
#

use classes

#

not globals

jovial island
#

I haven't learned classes yet, currently, I have learned to define functions and while loops

round moss
#

and don't try to do FRP

fierce sphinx
#

write

round moss
#

meaning don't make a def update(oldstate): return newstate

jovial island
#

Still trying to figure out how to use loops to restart my game back to the beginning. It could be going better, I'm afraid.

fierce sphinx
#

loop it all and brake

round moss
#

make a function that plays your game once, then put that function in a loop and make it return whether it should play again

jovial island
#

oooooo

fierce sphinx
#

when

#

?

jovial island
#

I did put my function in a while loop, but I think where I put it caused the problem

fierce sphinx
#

yeah

jovial island
#

I'd post it here, but this isn't coding help chat

fierce sphinx
#

can u send the code?

jovial island
#

Sure, I'll DM

fierce sphinx
#

k

jovial island
#

Also I am using pygame w/ pyzero

fierce sphinx
#

i hope i can help u

#

cuz all the messges

#

so they cant see

jovial island
#

Oh okay, here it is: ```from random import randint

game_is_on = True
apple = Actor("apple")
score = 0
def draw():
screen.clear()
apple.draw()

def place_apple():
apple.x = randint(10, 800)
apple.y = randint(10, 600)

place_apple()

def on_mouse_down(pos):
global score
global game_is_on
if apple.collidepoint(pos):
print("Good Shot!")
score = score +1
print(score)
place_apple()
game_is_on

else:
    print("You missed!")
    while game_is_on:
        ans = input("Do you want to play again? \"Yes\" or \"No\"")
        

        if (ans == "No"):
          game_is_on = False
          quit()
        elif (ans == "Yes"):
            print("Restarting Game")
            game_is_on = True
     ```
#

I think I need to move my while loop

fierce sphinx
#

put loop at the start and brake where u wanna stop

jovial island
#

should I put it before I define my function or after?

fierce sphinx
#

after

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied mute to @fierce sphinx until 2021-02-18 17:40 (9 minutes and 59 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).

jovial island
#

lol

odd sphinx
#

your mama got got

viral hare
#

got gged

#

by the bot

jovial island
#

Your mama got no voice lol

#

Okay, now I am at the part that confuses me the most that I tend to over think.

odd sphinx
#

your mama got goblined

jovial island
#

If the user clicks the screen and misses the apple, then they get a message that says they missed and asks them if they want to play again. If the player types in Yes, the game restarts. If the player types in "No", the game quits.

#

I managed to get the game to quit, but when the player types in yes, it doesn't restart

#

wait, I might have figured it out

fierce sphinx
#

back

jovial island
#

Hi!

fierce sphinx
#

i put phone my keyboard

jovial island
#

Nope, I don't got it. Every time the user inputs yes, the game just keeps looping as if the player lost

fierce sphinx
#

who u asking?

#

no

#

still not

#

apperently i have to be here 4 3 days

#

and itws mt firest

#

first

#

that a shame

#

u good

proper python
#

yo why the red/green color scheme?

somber belfry
#

are you referring to the server icon?

fierce sphinx
#

someone here?

somber belfry
#

what's up?

lament kestrel
#

Seems like chocolate Pringles should be a thing too

barren garden
#

Has anyone used ubuntu 20 on raspberry pi 4? I can't connect to my home wifi - it keeps asking me for password, while raspberrypi os works fine

royal fulcrum
#

@carmine viper (shifting over to here because this one's dormant): Ok, well, this is clunky (I much much prefer PluralKit), but what my display name and signatures are trying to convey is who is fronting and therefore who is saying what. We're a plural system. πŸ•΅οΈ

carmine viper
#

😳

carmine viper
royal fulcrum
#

About what a plural system is? πŸ•΅οΈ

carmine viper
#

yah

#

also r u two sisters or something? with same account

#

πŸ€”

royal fulcrum
#

It just means there are multiple people in one body. This can happen from things like DID, OSDD, or tulpamancy (though origin is not always clear). πŸ•΅οΈ

#

In our case, I'm pretty confident it's a case of undiagnosed OSDD. πŸ•΅οΈ

carmine viper
#

😞 I still didnt get it

royal fulcrum
#

What specifically don't you get? πŸ•΅οΈ

carmine viper
#

oooh ok now I get it the presence of two or more distinct personality states

#

it that it?

royal fulcrum
#

I don't like the reference to members of plural systems as "personality states", as psychiatrists have referred to members of DID systems. A system member is more than just a "personality state". But they're referring to the same thing, yes. πŸ•΅οΈ

carmine viper
#

but how is that possible 😳 I have only seen those in movies

royal fulcrum
#

It depends on how one became a plural system. πŸ•΅οΈ

#

In the case of disordered plurality (like that which is caused by DID or OSDD), trauma is a common cause. Such a system is known as a traumagenic system. In the case of tulpamancy and other non-traumagenic systems, it's usually a result of meditation to intentionally split one's consciousness into multiple separate consciousnesses. πŸ•΅οΈ

carmine viper
#

I actually had more questions but I dont wannna take much of your time

royal fulcrum
#

It can also result from accidentally making a fictional character you have great attachment to a real person in your own headspace. But no members in our system are fictives, so I can't speak on that topic. πŸ•΅οΈ

#

No worries, I'm not short on time. πŸ•΅οΈ

carmine viper
#

It's actually confusing for me, maybe it's cause of my nature hehe I dont make much friends a solitary lifestyle

#

πŸ˜…

carmine viper
royal fulcrum
#

Oh, DMs aren't necessary. πŸ•΅οΈ

#

I'm relatively open about this stuff in general. πŸ•΅οΈ

carmine viper
#

ok ummm 1st Q: do you umm know when Layla comes out of u

#

Please forgive me if I ask smthing stupid πŸ˜‚

royal fulcrum
#

Well it's not so much "coming out". When a system member assumes control of the body, that is called "fronting". πŸ•΅οΈ

carmine viper
#

ahhh

royal fulcrum
#

When I'm fronting, as I am now, I control the body's actions and words. When Layla fronts, she does. Some systems can cofront or blend, in which case multiple system members control the body at once. πŸ•΅οΈ

carmine viper
#

so she has the same memory as urs?

#

"Some systems can cofront or blend, in which case multiple system members control the body at once" - can't this create conflicts of action or mind πŸ€”

royal fulcrum
#

Different systems are different in these regards. In our case, we are co-conscious and sometimes co-front, but more typically only one of us is fronting.
Sharing memory is possible with some systems, but not all. In our case, we have shared memory. In the case of DID systems, memory which is not shared is very common. πŸ•΅οΈ

carmine viper
#

πŸ€” This is very interesting to hear, it's my first time

#

so whats with the Spider and detective

royal fulcrum
#

Oh, we just chose those. πŸ•΅οΈ

carmine viper
#

oh just for fun?

royal fulcrum
#

They're arbitrary emojis we picked to sign our posts with for differentiation. Originally on Mastodon, but we later also started doing that on GitHub and some other places. πŸ•΅οΈ

carmine viper
#

ohh

royal fulcrum
#

I would actually much prefer to use PluralKit, but when we suggested that we were told that there were architectural issues with setting that up here. πŸ•΅οΈ

carmine viper
#

So umm when does she come out like umm fronting as u said

#

is there a time or smthing like that

royal fulcrum
#

Well, generally speaking, any system member will have "triggers" that cause them to either front or stop fronting. I have a pretty firm grasp on our fronting triggers but I'd rather not say (that one's a bit personal). πŸ•΅οΈ

carmine viper
#

🀫 ohhh

royal fulcrum
#

It's also possible for some system members (not all) to consciously push themselves out to the front. I'm capable of that. I don't think Layla is. πŸ•΅οΈ

carmine viper
#

" I don't think Layla is" hope she dont read that

#

πŸ˜‚

royal fulcrum
#

We're co-conscious and share memories, so she can see it. πŸ•΅οΈ

carmine viper
#

😞 dang it

royal fulcrum
#

Actually, come to think of it, I think she's capable, but just has a harder time doing it than I do. πŸ•΅οΈ

carmine viper
#

so how do u feel when there's a person living inside u

royal fulcrum
#

I'm not sure if I can explain that, and it can vary from system to system. For example, some systems have a headspace where different members can interact, but in the case of our system, we don't. πŸ•΅οΈ

carmine viper
#

πŸ₯΄ ahhh ummmm

#

umm so r u a student?

royal fulcrum
#

Nope, we graduated high school in 2011 and only tried university for one semester in 2012 before dropping out. πŸ•΅οΈ

carmine viper
#

oh so u r like a big sister to me

#

πŸ˜‚

royal fulcrum
#

Age-wise, maybe. πŸ•΅οΈ

carmine viper
#

so at what age did u came to know about this

royal fulcrum
#

Oh, we didn't find out until just last year. πŸ•΅οΈ

carmine viper
#

😱 really

royal fulcrum
#

We're a median system, so the differences from singlets (people who aren't plural) are subtle enough that it can be hard to notice. Like, it's all we ever knew, so it was never weird to us. πŸ•΅οΈ

carmine viper
#

If u guys knew about this before u could have shared ur homeworks, less boring that way innit

royal fulcrum
#

Well we always did since we're co-conscious. πŸ•΅οΈ

carmine viper
#

🀩

royal fulcrum
#

In truth I probably was usually the one to actually do homework if we did it at all. Before I existed we mostly just kind of never did our homework. πŸ•΅οΈ

carmine viper
#

so tell me who is the calmest one

#

u or her

royal fulcrum
#

That'd be me. πŸ•΅οΈ

carmine viper
#

i thought u would say that πŸ˜’

#

so who loses their temper quickly

royal fulcrum
#

Uh, none of us. πŸ•΅οΈ

carmine viper
#

😞 awwww

royal fulcrum
#

Layla is far more likely to simply dissociate and stop fronting if she's distressed. In my case, I'll get angry, but it's very rare that I lose my temper. πŸ•΅οΈ

carmine viper
#

ohhh

royal fulcrum
#

Alex (third member who almost never fronts) has only ever been panicking while fronting so far as I can tell. (Xe last fronted when someone decided to put us down for being plural and denied that aspect of us.) πŸ•΅οΈ

royal fulcrum
#

Yes, so far as I know we only have three members. My girlfriend is also plural and has... 6, if I counted right. πŸ•΅οΈ

carmine viper
#

so where r u guys from, only say the country (privacy concerns)

royal fulcrum
#

Oh, United States. πŸ•΅οΈ

carmine viper
#

ahhhhh

#

6 is a pretty big number

#

so how did ur parents take it when u said about this

royal fulcrum
#

That's not that large, some systems can have hundreds or even thousands of members (though in those cases members are almost always fragments). πŸ•΅οΈ

#

Oh, we haven't told our parents yet (or any of our family members for that matter). Just haven't felt comfortable enough to come out yet. πŸ•΅οΈ

carmine viper
#

πŸ˜‚

royal fulcrum
#

Well it's easier to come out on the Internet. πŸ•΅οΈ

carmine viper
#

well maybe u should say it, we have a quote here that when translated it says "Secrets don't hide forever"

#

there's an add on with it too, but i forgot πŸ˜…

jovial island
#

Eh, I kinda agree

#

Partly disagree though

carmine viper
#

hey wnb u were spying on us??

#

πŸ˜‚

jovial island
#

Nah, I just got here

#

Don't worry πŸ˜…

carmine viper
#

@royal fulcrum well it's nice talking with u Emmy and say hi to Layla for me too

#

and also maybe Alex too

royal fulcrum
#

Okey dokey πŸ•΅οΈ

#

E: I'm going to try doing it this way instead. Maybe it'll be easier to understand....

royal fulcrum
#

E: I know, it looks silly. On the plus side though it's exactly what I would type if I were able to use PluralKit.

carmine viper
#

like yelling at someone and saying, well bro that wasn't me

royal fulcrum
#

E: Please don't do that. That's highly insensitive and perpetuates ableist stereotypes of plural folks.

jovial island
#

No intention to offend, but wouldn't PluralKit not work with every server?

#

For my first impression, PluralKit needs webhooks, and I think webhooks need some type of permission from the server

clever salmonBOT
#

:incoming_envelope: :ok_hand: applied mute to @fallen bramble until 2021-02-19 04:18 (9 minutes and 59 seconds) (reason: newlines rule: sent 21 consecutive newlines in 10s).

royal fulcrum
wide totem
#

Or you could

#

Idk exactly how PK works. Not sure if the api needs a webhook for every channel

#

Which if it does, that's why they probably don't have it

#

Imagine every public channel here having a web hook, that's around 100 webhooks

jovial island
#

It might only need one webhook, but I'm not sure

carmine viper
wide totem
jovial island
wide totem
#

why not

jovial island
#

I'm on a phone

slow valve
#

lemon do you like pineapple pizza

proper python
#

how tf do people make art

#

art is hard

dusky cliff
odd sphinx
#

damn

dusky cliff
#

think you mean rest of the fucking owl

wide totem
#

What did it say

#

r/rtfo

#

?

merry rose
#

@royal fulcrum oh hey it's nice to see plural folks here ☺️

dim root
#

@lucid girder i have a question about black code formatter, lemme know when you are free. thanks!

#

never found the issue

#

it was there in their repo

normal reef
#

whats with the new logo this time?

somber belfry
normal reef
#

ah i see, ty

dim root
proper python
#

Sleep is a human construct

odd sphinx
#

and one that benefits humans

rich rampart
#

the idea of three meals a day is a human construct

#

one is enough

vast mountain
#

the idea of one meal a day is also a human construct

keen burrow
#

The idea of not eating is also a human construct

lucid osprey
#

lmao

lucid osprey
#

ok gg gotta speedrun my homework 6h

rigid echo
fluid plank
#

it-- its pretty

fluid plank
keen burrow
#

Do you mean that..

#

!otn a this-is-a-human-construct

clever salmonBOT
#

:ok_hand: Added this-is-a-human-construct to the names list.

keen burrow
#

? @fluid plank

fluid plank
#

i double pinged myself wtf

keen burrow
#

lol

wide totem
#

rats so its only staff 😦

hidden lintel
#

is it possible to have an extensionless domain name?

keen burrow
#

Yes

vague granite
#

Who has heard @lemon pep8 song?

keen burrow
#

But you won’t be able to use it as it

keen burrow
vague granite
#

Ok sorry

hidden lintel
#

how do I own an extensionless domain?

keen burrow
#

I have no idea what is the procedure for registering a tld, but it probably involves a lot of money

wide totem
#

like, you have to become one of those

#

which explains why google probably got into domains

keen burrow
#

Hmm I worked for 3 weeks at a company that had a custom tld

#

They weren’t in IT at all

tranquil ridge
keen burrow
#

Haha

odd sphinx
#

lol

dim root
#

eivl has the most off topic names

#

and today in my english exam i got my self confused with the spelling of evil

#

and wrote eivl

#

but at end moment changed it

wide totem
#

lmao

tranquil ridge
#

i did not mean the most off topic names, i meant the one who added them

dusky cliff
#

@echo fern congrats on helper!

dim root
tranquil ridge
#

o ok

pliant trench
#

hmmmmm

lucid osprey
#

you gonna say this in all off topic? 🀣

uneven yarrow
#

yes

viral hare
#

low effort copy pasta?

lucid osprey
#

yup

zealous tide
#

Hi there

#

I have a question

#

is it possible to code arduino nano with python instead of c/c++?

round moss
zealous tide
#

okie ty

broken summit
#

actually

#

i'm not entirely sure it is

#

although the odds are high that someone made a compiler for it

#

but i still think it is a bad idea

wide totem
broken summit
#

o?

wide totem
#

you'll have to compile for everything, but you could use cpython or cython (iirc)

broken summit
#

why is it obviously possible tho

wide totem
#

because you can compile python to c

broken summit
#

i suppose that's true

#

i don't like the idea though

#

i don't like it much at all

#

the physicality of a microcontroller and the abstractness of python don't go hand in hand, at least in my mind

viral hare
#

from what ive read its not a good idea to compile c++ stdlib into arduinos

broken summit
#

no it is not

#

i still think it is a bad idea

#

to use python for arduino

viral hare
#

well to get python into an arduino it seems there is gonna be alot of patching

#

and weird fixes to get it to work

dusky cliff
#

i couldn't even figure out how to use arduino's own language for arduinos lol

viral hare
#

lmao just read data sheet and write the assembly

broken summit
#

"arduino's own language" is just C++ with a default imported lib iirc

broken summit
viral hare
#

well their ide doesnt exactly give u much controll

broken summit
#

wym

dusky cliff
broken summit
#

ah

#

ight then ig

viral hare
#

they basically wrap ur code in a setup and an infinate loop

#

but idc that it will execute garbage instructions if my program ends

dusky cliff
broken summit
#

:P

honest cedar
#

Does anyone know how to open a password protected .zip file without the password

odd sphinx
#

no

#

its password protected for a reason

wide totem
odd sphinx
#

lol

wide totem
#

@honest cedar how far you got?

proper python
#
>bros dont believe that im hackerz man
>open command prompt
>"tree C:/"
>profit
jovial island
#

Nothing other than brute-forcing is possible, though

knotty anvil
long zealot
#

hallo

#

can someone help me with this

#

at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []

proper python
#

code?

jovial island
wide totem
#

.topic

rustic harborBOT
#
**What is your earliest memory of Easter?**

Suggest more topics here!

wide totem
#

.. this

#

opens form

#

.topic

rustic harborBOT
#
**What is the title of the last book you read?**

Suggest more topics here!

wide totem
#

.topic

rustic harborBOT
#
**What is your favourite place that you have visited?**

Suggest more topics here!

wide totem
#

okay, so they go very different kek

proper python
#

== true is the worst shit to see in any language

dusky cliff
#

your statement == true

broken summit
#

/= True

pliant trench
#

it seems f1re, f1red his logo

odd patio
#

Hi

#

Imma buy a MacBook Pro with joe Biden’s money lmao

pliant trench
#

huh

zealous tide
#

Hector the spider

merry rose
#

@rigid echo what do you mean "re"?

rigid echo
#

I mean are

#

lol @merry rose

#

I mistyped it I was typing quick

merry rose
#

@rigid echo what am i using for what?

rigid echo
#

I mean the ss you showed me so can you tell me that web of that docs

rigid echo
pliant trench
#

there

proper python
#

place your bets now how long will i last

lucid osprey
#

3:23:14

fluid plank
#

@nova ember how boiled are u

nova ember
#

Oh no

#

Why am I boiled

lucid osprey
#

I thought you were a cucumb....

keen burrow
#

He is

pliant trench
#

ya'll like rolling release

#

?

keen burrow
#

Yep!

pliant trench
#

is rolling release equal to having latest apps?

fluid plank
#

all are point releases in official repos in Arch.

pliant trench
#

here

#

Release Release date
GCC 10.2 July 23, 2020

#

it's a release

fluid plank
#

@pliant trench and thats a point release

pliant trench
#

what

fluid plank
#

sigh

merry rose
#

@rigid echo maybe keep the silly jokes in the off topic channels?

pliant trench
#

@fluid plank do you have flameshot installed?

#

unfortunately i can't run flameshot

#

ig i'm using the older version

#

are you using v.0.9.0 ?

#

with qt v5.15.2

tranquil ridge
#

how are you trying to run it

fluid plank
fluid plank
pliant trench
pliant trench
fluid plank
#

sadsu. edit your i3 config πŸ™‚

pliant trench
#

why?

#

edit what

fluid plank
#

i3 is a tiling window manager and is geared towards manual configuration, just edit the config and assign a key to use flameshot

#

lol

pliant trench
#

bro, i can't run it

#

I already have bindsym $mod+ctrl+s flameshot gui

#

but it doesn't do anything

#

i tried running flameshot gui on the terminal but nothing happens

#

:/

fluid plank
pliant trench
#

no

fluid plank
pliant trench
#

ah yea

#

i forgot to type it

#

it's there in the config

fluid plank
#

πŸ™‚

pliant trench
#

:/

#

I just forgot to type it in the chat

fluid plank
#

bindsym $mod+Ctrl+s exec --no-startup-id flameshot gui -c

fluid plank
#

without a clipboard manager, u cant save screenshots

pliant trench
#

that's all

fluid plank
#

u sure u reloaded ur configs?

pliant trench
#

vm

#

i'm on vm

#

lol

fluid plank
#

u need to reinitialize i3 or reload it by $mod+Shift+r

pliant trench
#

Ik

fluid plank
#

and?

pliant trench
#

can u just tell me what version are you using?

fluid plank
#
exec --no-startup-id flameshot
bindsym Print --release exec --no-startup-id flameshot full -c
bindsym $mod+Print --release exec --no-startup-id flameshot gui  
bindsym $mod+Shift+Print --release exec --no-startup-id flameshot full -c -p ~/Pictures/Screenshots
#

versions are irrelevant

#

youre on fedora

pliant trench
#

tell me pls

#

just wanna know

fluid plank
#

sigh

#

the versions are irrelevant like i said

#

i3 version 4.19.1 (2021-02-01) :copyright: 2009 Michael Stapelberg and contributors

pliant trench
#

i3 version?

#

u serious ?

#

is that flameshot ?

#

or i3

fluid plank
#

Flameshot v0.8.5
Compiled with Qt 5.15.1

pliant trench
#

Flamshot v0.9.0
Compiled with Qt 5.15.2

#

not irrelevant

fluid plank
#

are u sure that your bindings is not interfering with the host OS? the versions here are irrelevant, the commands for flameshot has not changed since

pliant trench
#

ah, v0.9.0 is still in beta

fluid plank
#

fedora is semi rolling release. kinda weird it is more bleeding edge than arch lol

pliant trench
#

lol

#

not true

#

i opened an issue

#

they said, it's what they wanted

fluid plank
pliant trench
#

mhm

#

it's interesting

#

and how can we check the package maintainer??

fluid plank
fluid plank
#

like arch

#

or any distro

pliant trench
#

someone actually put the wrong version on the repo lol @fluid plank

#

still the same result installing using flatpak!

#

how is it possible

clever salmonBOT
#

Hey @proper python!

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

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

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

https://paste.pythondiscord.com

proper python
#

fine ig

proper python
#

what other images might look cool as ascii?

safe bison
#

keep this ima reset my pc thanks mods

#

keep this ima reset my pc

#

this is all my proof

#

i have his ip aswell from wireshark

#

hes a dumb ratter

full marlin
#

Bro?

blissful coral
#

Mods...?

nova ember
#

@blissful coral what’s up?

blissful coral
#

@nova ember Sorry- didn't mean to bring attention to you or anything... but ^^

nova ember
#

If there’s something you think mods should be aware of, I’d always recommend DMing @vapid maple

blissful coral
# safe bison

I was referring to this - but not sure what action exactly mods can take

nova ember
#

Sending a DM to @vapid maple never hurts. We’d rather get one too many messages than one too little

blissful coral
#

k

dark thistle
blissful coral
#

Kinda looked like he had a remote connection...maybe hacked someone? dunno

dark thistle
full marlin
#

looks like that guy has control of his pc

small shore
#

@real forum your mod cog is kinda poor. It has no command logic. No check for hierarchy. It doesn’t have the bot.has_permissions decorator so if the bot is missing permissions it will throw a discord.Forbidden exception instead of the generic BotMissingPermissions. Also you don’t take advantage the .kick/.ban attr that discord.Member object has.

#

sorry if that came off as a bit rude. Just wondering if it’s like old code or something.

real forum
#
  1. Im not really a fan of using member.kick or member.ban, as ctx.guild.kick/ban just looks cleaner and more readable for me, and 2) im working on a missing permissions error in my custom error handler, so its not a big deal.
small shore
#

Are you also working on the command logic by any chance?

real forum
#

wym

#

define command logic

small shore
#

Your hierarchy checks

#

Your bot doesn’t check if the ctx.author is higher than them in the role hierarchy

real forum
#

that doesnt matter

#

I have checks for perms

wide totem
#

Uh

#

I mean

real forum
#

im checking for perms

wide totem
#

It can't kick if it has perms but not a higher role

#

Wtf are ferms

real forum
small shore
#

but like hierarchy matters tho. With that someone can kick someone higher than themselves role wise.

wide totem
#

Oh, that too

#

I see it

#

Won't throw an error

#

check if the author is above the user they try to kick.

real forum
#

if its tryna kick someone who is higher in the hierarchy then the bot

wide totem
#

Is the bot a private bot?

wide totem
#

Ex a mod tries to kick an admin

real forum
#

look, if yall are gonna bitch this hard, open an issue.

small shore
#

The command will work even though the person they are trying to kick is higher than them.

real forum
#

Yeah i got that

small shore
#

it’s just constructive criticism ACMAniSweat

wide totem
#

Ok cool

small shore
#

Sorry if it came off as me being rude or something.

real forum
#

alright now once again, yall can either stop bitching, or open issues, as I wont remember then rn

weary rover
#

pointing out a security flaw isnt "bitching" btw :l

real forum
#

I understand that, but once again, yall are being rather rude about it, so i will consider it bitching.

weary rover
#

ok so like i just got here, and from what i've seen, the only person being rude is you. oogh

real forum
#

also if yall cant tell, rn is really not the time to have an argument w/ me, as im in a really shit mood

small shore
#

Yeah I’m sorry about that. I didn’t mean to make myself come off as rude. I just wanted to point out a couple things I saw with the example bot you suggested in #discord-bots. Sorry again. ACMAniSweat

real forum
real forum
fluid plank
#

||im talking about hormones and stuff haha.||

real forum
fluid plank
#

i see ,okay πŸ‘Œ

heady schooner
#

Testostone

real forum
heady schooner
#

Hehe

fading pumice
#

I haven't been here in awhile

real forum
fading pumice
#

Yeah

#

I was off invading Saudi Arabia in another server. Then I won. Then I got bullied by the international community

#

So I withdrew my troops and paying Saudi Arabia even tho I won

fading pumice
real forum
#

I'm slightly worried about you lol

fading pumice
#

Roleplay server

odd sphinx
#

lol

fading pumice
odd sphinx
fading pumice
#

Yes

real forum
#

Well I hoped as much

fading pumice
#

What did u think?

real forum
#

I thought that

fading pumice
real forum
#

There is nothing else for me to say lol

fading pumice
#

I believe in u

#

Come on

fading pumice
real forum
#

Bro take some fucking context my god

fading pumice
#

Idk. I'm not smart

#

Also pls don't swear

full marlin
#

Why are we getting heated here

real forum
#

We aren't

#

I'm just saying, It's really not that hard to understand lol

fading pumice
#

But I don't understand

full marlin
#

What I meant was stop egging her on it’s annoying

real forum
fading pumice
full marlin
#

Eh I’ve seen moderators say you shouldn’t use such language

real forum
#

I mean

weary rover
#

and it was a little hostile.

#

.. again

full marlin
#

just personal preference I don’t

real forum
#

If you call someone a fuckhead that's different from saying oh fuck

fluid plank
#

whats happening here ??? lol

weary rover
#

what language is that oogh

full marlin
#

there are enough words in english to get my point across other than cursing

real forum
weary rover
#

do the people you're interacting with know that?

real forum
fading pumice
#

I am sorry. I started this. Its my fault

full marlin
#

@weary rover can you leave her alone?

real forum
weary rover
#

i mean alright. its just everyone doesn't magically know when you're having a bad day xd

real forum
#

I'm just not in a good place atm(day wise)

weary rover
#

i need a pat emoji that doesnt have hearts smh my head

fading pumice
#

I am sorry if I was annoying

real forum
full marlin
#

I used to swear a couple months ago and I stopped

fading pumice
#

Again. I understand. I'm just saying I like to ask ppl. I usually don't expect it especially online

full marlin
#

Used to swear like a sailor

fading pumice
#

I used to swear in Gr.3 cause I didn't know what it meant

#

After that fiasco

#

I stopped

#

Entirely. Unless someone is being extremely stupid

#

Then I swear and its super effective

full marlin
#

Yeah you say it too much it loses its meaning

fading pumice
#

Yeah

real forum
#

Mmhm

#

That's why I don't use it that much, but enough to display strong emotion

fading pumice
weary rover
#

anyone here familiar with linux de's?

#

specifically Plasma oogh

#

i keep accidentally hitting a keyboard shortcut that closes discord

#

it's either a discord crash (wouldnt surprise me tbh) or a keyboard shortcut that does the same as alt+f4 ooogh

median blade
#

change it in general keybinds

fluid plank
#

still lurking? yes. yes i am

pearl pebble
nova ember
weary rover
lucid osprey
#

okℒ️

weary rover
#

TMβ„’

lucid osprey
#

TMtmℒ️

weary rover
#

discord best software.

vapid merlin
#

I checked search frequency for a bunch of different coding languages in the US for something, and I just have to ask what the hell is North Dakota’s obession with Python??? Like WOW.... do you see that??

proper python
#

betting that its just one guy that was looking up snakes for a slides presentation

vapid merlin
#

but i searched specifically for the programming language o.o

weary rover
#

but is google differentiating?

vapid merlin
#

yes it is

#

have you used google trends

#

if you type Python for example you have an option of a raw search term, the animal and the programming language

lucid osprey
#

@toxic viper congratulations on the mod role! you werent a mod before right?

toxic viper
#

I was an Admin, then I picked up the mod role too

lucid osprey
#

ohk

#

when I checked last time it helper and an admin but not a mod

#

gg

toxic viper
#

Haha thanks

lucid osprey
#

anyone wanna chit chat

#

🀣

odd sphinx
#

ctrl + w

#

wait no it doesnt work

#

lol

fluid haven
#

control + q is a close command in plasma

#

control + alt + esc is force close

fluid plank
#

!paste

clever salmonBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

weary rover
#

tyy owo

broken summit
#

UwU

weary rover
#

now i just gotta figure out where that keyboard shortcut lives

fading pumice
#

cool

full marlin
#

pls stop posting in every channel

fading pumice
#

What?

full marlin
#

not you

#

some guy got banned bc he was posting on every channel

fading pumice
#

Sorry for the miss understanding

full marlin
#

all good

proper python
#

how long does it usually take for a lancebot command suggestion to be approved?

nova ember
#

And to answer the question, we’re all volunteers around here. Sometimes, people are more available. Sometimes not

wide totem
#

@wheat aurora which ext do you use for git?

wheat aurora
#

!remind 12H which vscode git extension I use

clever salmonBOT
#
Okay.

Your reminder will arrive in 12 hours!

wide totem
#

!remind 12h see above

clever salmonBOT
#
Noooooo!!

Sorry, you can't do that here!

wide totem
#

mfw

#

well that's gonna be hard af to find

broken summit
wide totem
#

idk what the link of @wheat aurora's reminder will be yet

broken summit
#

ooooooh

#

i suppose that's true

#

we'll just have to hope that they ping you lmao

wheat aurora
#

haha, I'll be sure to ping you when it reminds me.

broken summit
#

yee

#

also

#

does not vsc have git built in??

#

i don't use any sort of extension for it

wide totem
#

welll

broken summit
wide totem
#

idfk how to use it

#

at all

broken summit
#

o

wide totem
#

especially being

broken summit
#

if you happen to open a folder which has a git repo in it there will be a lil tab on the navbar at the left with a git icon

#

and you can make commits n stuff

#

actually i think it is there all the time

#

third one down

#

i click

wide totem
#

I have a remote server that has my code
I have my server
The code that I want to push needs to go to a different repo
than the one I originally gitted it from with git clone
I've never authed anything

broken summit
#

i type a commit message and click le check (or hit ctrl + enter)

broken summit
#

you'll need to clone the repo

#

which i assume you've already done

wide totem
#

which repo

broken summit
#

then you make and commit whatever changes or stuffs

#

the repo that has your code

#

on the remote server

wide totem
#

i have two repos involved here

broken summit
#

what are the two repos

wide totem
#

yeah, and I've already made my changes

#

first one person/repo
mine repo me/repo

broken summit
wide totem
#

or that's how we can refer to them anyways

broken summit
#

so

#

person/repo is on the server

#

and me/repo is local

#

yes?

wide totem
#

no, me/repo is nowhere

broken summit
#

fshnfjksdbjk whot

#

what is it then

wide totem
#

its only on github

#

I haven't done anything with git involving it yet

broken summit
#

remind me what you are trying to do and what you have already done

wide totem
#

I have a remote server that has my code which was orginally cloned from person/repo using git clone
Then I have my local computer
I made a bunch of edits locally with that code.
And I want to push it to me/repo

That's all that I've done so far
Never have used any authentication keys for git yet or anything, and I'd perfer to not put a key on the remote server.

broken summit
#

where did you make the edits

#

as in

#

on which machine are they stored and in which repo

#

by "push to a new repo" do you mean create a new repo which has the changes you made

#

or do you mean push to a preexisting repo

#

because the former is just cloning

#

and the latter is just pushing

broken summit
#

i cannot milk the necessary information i am seeking from that single word

#

oh ok

#

so the latter then?

#

so

#

let me make sure i've got this right

wide totem
broken summit
#

there is a repo, person/repo

#

there is another repo, me/repo

#

you have made changes to stuff on person/repo

#

and now you with to push those changes to me/repo

wide totem
#

yes

broken summit
#

do you know the url of me/repo

wide totem
#

and me/repo is a clone of person/repo

#

yeah

broken summit
#

ok

#

i click le 3 dots

#

i click le add remote

#

i enter the url of me/repo

#

i then click push

#

et voila

wide totem
#

smh

broken summit
#

this is assuming i have person/repo open in vsc

wide totem
#

yeye

broken summit
#

that should be it

wide totem
#

this guy tho

broken summit
#

ofc this is all also possible with the git cli utility

broken summit
wide totem
#

somehow this isn't working

broken summit
#

o.o?

#

how so

wide totem
wide totem
broken summit
#

hmmmmmm

#

idk

#

i am not that experienced with servers and all

#

i just know how to push and pull from my own personal github repos qwqqq

wide totem
#

lets see

#

hmmmmmmmmmmm

broken summit
#

hmmm

wide totem
#

yeah idk

#

i ended up cloning the repo on my pc and copying it

broken summit
#

oki

wide totem
#

ur just gonna do me dirty like that git

#

what the hell did I even commit to

broken summit
#

huh?

wide totem
#

idk

#

Imma go sleep

proper python
jovial island
#

keys = open("newtext.txt", "w")

k = range(1, 10)
for h in k:
keys.write(str(h))
keys.seek(113)

#

How to get this code to print me numbers 1- 9 in lines to my text file or can I put second write command under one This code is created to write a text file, but now it print me any text

pliant trench
#

!code @jovial island

clever salmonBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

pliant trench
#

no one likes gnome here?

fluid plank
#

gnome is nice but it is still bloat

proper python
#

how did we get here bros

fading pumice
#

Ok

clever salmonBOT
#

@wheat aurora

It has arrived!

Here's your reminder: which vscode git extension I use.
[Jump back to when you created the reminder](#ot2-the-original-pubsta message)

lucid osprey
#

haha

#

how is it that the notification comes to ot channel?

#

ello

somber belfry
lucid osprey
#

!remind 2m goto study in 2 minutes

clever salmonBOT
#
Naw.

Sorry, you can't do that here!

lucid osprey
#

fuuu

somber belfry
#

!remind 2m @lucid osprey goto study in 2 minutes

clever salmonBOT
#
You're the boss!

Your reminder will arrive in 2 months!

somber belfry
#

umm

#

lol

dusky cliff
#

lol

lucid osprey
#

wtf

#

2 months

#

ok gg

#

thanks

wide totem
somber belfry
#

do you want me to delete it?

lucid osprey
#

no

#

it will be really funny, seeing the random ping by the bot

#

actually I made a reminder for 10 years or something, to like get a job.hah

real forum
#

It's certainly going to be interesting to reflect on this year in a decade

#

I wonder if this discord will still exist

wide totem
#

no according to my python crystal ball

real forum
#

And if so, who will still be here

wide totem
#

it will have a rouge owner in exactly 6 years and 32 days /s

broken summit
#

lol

wide totem
#

this is in jest-ish

#

more like- someone's security would be hacked

wide totem
neat light
#

otherwise it's part of the content

#

so it would be in an embed and not ping

somber belfry
dusky cliff
#

isn't there something with //

#

to mention others

#

!remind 1m test // @neat light

clever salmonBOT
#
No way, JosΓ©.

Sorry, you can't do that here!

dusky cliff
#

rip

neat light
#

I don't think that's a thing...

#

!remind 10s test // @dusky cliff

clever salmonBOT
#
Okay.

Your reminder will arrive in 10 seconds!

lucid osprey
#

wait I am just reading this timeline thing, so eivl and hemlock were admins in the other server?

neat light
#

They were definitely in dyep (do you even python) before here and moved over, i'm not sure if they were both admins there

#

that was before my time haha

lucid osprey
#

and how do you even convince all members of the other server to leave the server and join this one

neat light
#

they might have been, I think eivl was... i'm not sure about hem, I don't know why I think that though because I was never there

lucid osprey
#

hah

neat light
lucid osprey
#

ohk

lucid osprey
#

also one thing which is interesting is this

#

These have been deleted since they are stored only for review
spooky

neat light
dim root
#

Hmm , invite link lets have a quick peak.

dusky cliff
#

inb4 delete

lucid osprey
lucid osprey
neat light
#

Don't quote me on that

lucid osprey
#

k.

neat light
#

Joe would be the person to ask if you have questions about that sort of stuff

#

he's our data master

lucid osprey
#

I didnt get my weekly dose of graphs from joe πŸ₯²

#

he has been inactive the whole day bruhh

lucid osprey
#

@grim seal where are you

neat light
lucid osprey
#

those messages deserve to be deleted forever.

wide totem
#

well lets check

#

ODA2asdfafasEasdfadfaM2NDI3.sdfasdfh_wuibfYgqkk_PJYTy7ltNqI

lucid osprey
#

what are you doing

lucid osprey
#

bruv

dusky cliff
#

it's fake ig

wide totem
#

^

dusky cliff
#

I hope

wide totem
#

aaaaaaaaaaaaaaaaaaaaaaaa.aaaaaa.aaa_aaaaaaaaaa_aaaaaaaaaaa

#

smh

lucid osprey
#

fakeee

dusky cliff
#

haha smort regex

#

didn't fall for fakes

lucid osprey
lucid osprey
#

oh wait nvm

wide totem
#

heck

#

copied a real token then regened it three times

clever salmonBOT
#

Hey @wide totem! I noticed you posted a seemingly valid Discord API token in your message and have removed your message. This means that your token has been compromised. Please change your token immediately at: https://discordapp.com/developers/applications/me

Feel free to re-post it with the token removed. If you believe this was a mistake, please let us know!

somber belfry
#

the bot doesnt check if the token is valid

lucid osprey
#

oh

wide totem
#

no ik

lucid osprey
#

wow

broken summit
#

OwO

neat light
#

And it does other checks to see if it is potentially valid

(cls.extract_user_id(token.user_id) is not None)
and cls.is_valid_timestamp(token.timestamp)
and cls.is_maybe_valid_hmac(token.hmac)
wide totem
#

got it

wide totem
somber belfry
#

ah, I was wrong

#

thanks

wide totem
#

πŸ‘

#

I asked about this system before lmao

wide totem
grim seal
broken summit
#

henlo

grim seal
#

questions on data?

#

ask away

#

I am on mobile right now but can write up a small explanation of any questions or wait like 10 minutes and I can write up a longer one

dusky cliff
#

what is the duck_pond

#

*furnish me with data about duck_pond

grim seal
#

duck pond is staff internal starboard

dusky cliff
#

um ok

grim seal
#

lol

#

alright am back

#

yeah so the messages stored for review are used for !clean and spam triggers

#

which is useful

#

like

#

we need to look at those to assess whether it was legit or not

#

but after that they are useless

proper python
#

how would i get a bell curve given the distance from a start point and the distance to the end point?

echo fern
#

if by "bell curve" you mean a normal distribution, they never fall to zero, so I dunno what you mean by start and end points

viral hare
#

maybe they mean the 3sigma widths

#

like the 99.7 confidence interval

polar jetty
#

hey everyone you can suck my d||orito|| all day long

echo fern
#

either I messed up, or these giant peaks are within 2 local stds from the average pithink

#

oh, right. I need to exclude the central point itself

#

oh yes, now this is some good filtration

worn sluice
#

heh

proper python
#

this looks like a fun game