#ot2-the-original-pubsta
652 messages Β· Page 22 of 1
there is a realpython article
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 π
Ah
thanks @round moss
I missed the livestream #announcements
@jovial island please do not post a message into every off topic channel, stick to just one
even in python general
ah, its everywhere
oh lol u deleted it haha
Name's cursed
I've tried to run vscode on a raspberry pi but it hangs. Every time.
Rasp 3
@agile quartz
Two different formats, why is it so surprising that they store different amounts of data
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
@echo fern mind accepting my request for something in the dms?
What'd that be?
a curious combinatorics problem
Why not just ask somewhere like #algos-and-data-structs or an offtopic channel? (or maybe the Mathematics discord, depends on the problem)
No like
I have a code
that isn't really working?
And I was curious what mistake I might've made
nice
i like pringles i think the name of the channel does too
Depends on the flavor
o.o thats cool

oh... i like pizza pringles and the offtopic channel name doesnt
150 lines of code written on a phone = 150,000 lines written on a PC
!otn a pizza-pringles
:ok_hand: Added pizza-pringles to the names list.
It wiiiillllll
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
Are you a software dev?
and Iβd have 150k lines
Am not
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
Ah yes
Am not working yet 
can anyone help me download free version of VM ware?
plzz send the link in dm
not the trial edition
Hello
here
I just started. I am taking an intro to programming class and we are using python
not all librerise
cool
college ?
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
i prefer c++ for games
the main merit is performance. Python is sometimes just too slow to run some game logic
py is to lets say not suited for games in my opinion
but that won't matter if you are just making snake or similar
and snake in pygame/arcade is much easier than in cpp
I'm currently reading a book for pygames Coding Games in Python by Carol Vorderman, Craig Steele, Claire Quigley, Daniel McCafferty
i was taliking aboat inidi games in unity
The thought of unity makes my head spin. It looks so complex
I do like unity, but the tutorials are god awful
I want to make simple 2d games in python, just to get the basics of python down
no money to spend
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
Good news is I know how to draw, so I don't need to hire an artist lol
and I watched like 2h of tutorials and made some simple games
Did it help ypu get better
any recommendations?
actually no. No tutorial I found was good enough that I actually want to recommend it
I tried to follow brackeys but it seems more about specific things than complete tutorials
.
its a powerfull tool
@fierce sphinx would you say c++ is easy to learn like python?
it is not
nope
oh... XD
yeah
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
python is def one of the easier languages to learn
yep
you will find C++ tutorials which just start with a C tutorial
agree
even though if you try to write C in Cpp, you are guaranteed to fail
always start at py
Rust is not good for gamedev
and go for hdml
lol
I have tried 3 libraries and none of them worked well
Any other tips for python 2d game dev?
I haven't learned classes yet, currently, I have learned to define functions and while loops
and don't try to do FRP
write
meaning don't make a def update(oldstate): return newstate
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.
loop it all and brake
make a function that plays your game once, then put that function in a loop and make it return whether it should play again
oooooo
I did put my function in a while loop, but I think where I put it caused the problem
yeah
I'd post it here, but this isn't coding help chat
can u send the code?
Sure, I'll DM
k
Also I am using pygame w/ pyzero
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
put loop at the start and brake where u wanna stop
should I put it before I define my function or after?
after
: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).
lol
your mama got got
Your mama got no voice lol
Okay, now I am at the part that confuses me the most that I tend to over think.
your mama got goblined
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
back
Hi!
i put phone my keyboard
Nope, I don't got it. Every time the user inputs yes, the game just keeps looping as if the player lost
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
yo why the red/green color scheme?
someone here?
what's up?
Seems like chocolate Pringles should be a thing too
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
@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. π΅οΈ
π³
ummmm Can u make it clear a bit
About what a plural system is? π΅οΈ
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. π΅οΈ
π I still didnt get it
What specifically don't you get? π΅οΈ
oooh ok now I get it the presence of two or more distinct personality states
it that it?
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. π΅οΈ
but how is that possible π³ I have only seen those in movies
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. π΅οΈ
I actually had more questions but I dont wannna take much of your time
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. π΅οΈ
It's actually confusing for me, maybe it's cause of my nature hehe I dont make much friends a solitary lifestyle
π
so umm do u want to take it to the DM or r u fine with it here?
Oh, DMs aren't necessary. π΅οΈ
I'm relatively open about this stuff in general. π΅οΈ
ok ummm 1st Q: do you umm know when Layla comes out of u
Please forgive me if I ask smthing stupid π
Well it's not so much "coming out". When a system member assumes control of the body, that is called "fronting". π΅οΈ
ahhh
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. π΅οΈ
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 π€
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. π΅οΈ
Well, yes. π΅οΈ
π€ This is very interesting to hear, it's my first time
so whats with the Spider and detective
Oh, we just chose those. π΅οΈ
oh just for fun?
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. π΅οΈ
ohh
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. π΅οΈ
So umm when does she come out like umm fronting as u said
is there a time or smthing like that
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). π΅οΈ
π€« ohhh
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. π΅οΈ
We're co-conscious and share memories, so she can see it. π΅οΈ
π dang it
Actually, come to think of it, I think she's capable, but just has a harder time doing it than I do. π΅οΈ
ohh
so how do u feel when there's a person living inside u
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. π΅οΈ
Nope, we graduated high school in 2011 and only tried university for one semester in 2012 before dropping out. π΅οΈ
Age-wise, maybe. π΅οΈ
so at what age did u came to know about this
Oh, we didn't find out until just last year. π΅οΈ
π± really
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. π΅οΈ
If u guys knew about this before u could have shared ur homeworks, less boring that way innit
Well we always did since we're co-conscious. π΅οΈ
π€©
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. π΅οΈ
ohhh
so tell me who is the calmest one
u or her
That'd be me. π΅οΈ
Uh, none of us. π΅οΈ
π awwww
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. π΅οΈ
ohhh
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.) π΅οΈ
oh a third person too
Yes, so far as I know we only have three members. My girlfriend is also plural and has... 6, if I counted right. π΅οΈ
so where r u guys from, only say the country (privacy concerns)
Oh, United States. π΅οΈ
ahhhhh
6 is a pretty big number
so how did ur parents take it when u said about this
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. π΅οΈ
and u told meeeee wow I feel so great π
π
Well it's easier to come out on the Internet. π΅οΈ
π hmmm yah
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 π
@royal fulcrum well it's nice talking with u Emmy and say hi to Layla for me too
and also maybe Alex too
Okey dokey π΅οΈ
E: I'm going to try doing it this way instead. Maybe it'll be easier to understand....
hehe π
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.
nah I don't think it's weird, I should try it too it seems fun lol
like yelling at someone and saying, well bro that wasn't me
E: Please don't do that. That's highly insensitive and perpetuates ableist stereotypes of plural folks.
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
: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).
E: Oh, PluralKit just creates a "PluralKit" role to handle that if I understand what you mean. The reason it wasn't added to this server when we asked about it, as I understand it, is because this server generally self-hosts bots and there are barriers of some kind to self-hosting PluralKit because of architectural issues or something.
Seems like they could code one :P
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
It might only need one webhook, but I'm not sure
aww I'm sorry abt that and I was just joking
I guess there's only one way to test
I can't, unfortunately
why not
I'm on a phone
lemon do you like pineapple pizza
damn
think you mean rest of the fucking owl
@royal fulcrum oh hey it's nice to see plural folks here βΊοΈ
@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
I don't know much about it
whats with the new logo this time?
check out #changelog
ah i see, ty
alright, it was there on the black repo so i got to know what i wanted
Sleep is a human construct
and one that benefits humans
the idea of one meal a day is also a human construct
The idea of not eating is also a human construct
lmao
ok gg gotta speedrun my homework 6h
byeee
it-- its pretty
the idea of create an otn is a human construct
:ok_hand: Added this-is-a-human-construct to the names list.
? @fluid plank
julia has a ? operator. if true return @fluid plank
i double pinged myself wtf
lol
!otn a i-submitted-this-name
rats so its only staff π¦
Yes
Who has heard @lemon pep8 song?
But you wonβt be able to use it as it
Letβs not spam that in all 3 off-topic channel, please
Ok sorry
How? Why? WHAT?
how do I own an extensionless domain?
I have no idea what is the procedure for registering a tld, but it probably involves a lot of money
iirc you gotta be a domain name registar
like, you have to become one of those
which explains why google probably got into domains
so they could have https://blog.google
Hmm I worked for 3 weeks at a company that had a custom tld
They werenβt in IT at all
akarys should have a off topic name adder lead
Haha
lol
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
lmao
i did not mean the most off topic names, i meant the one who added them
@echo fern congrats on helper!
Yeah ik, i just meant something else, not related to your msg
o ok
you gonna say this in all off topic? π€£
yes
low effort copy pasta?
yup
Hi there
I have a question
is it possible to code arduino nano with python instead of c/c++?
Check out micropython and circuit python, as well as the #microcontrollers channel
okie ty
i am sure it is but i would not recommend it
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
β¦.. its obviously possible.
o?
you'll have to compile for everything, but you could use cpython or cython (iirc)
why is it obviously possible tho
because you can compile python to c
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
from what ive read its not a good idea to compile c++ stdlib into arduinos
well to get python into an arduino it seems there is gonna be alot of patching
and weird fixes to get it to work
i couldn't even figure out how to use arduino's own language for arduinos lol
lmao just read data sheet and write the assembly
"arduino's own language" is just C++ with a default imported lib iirc
do ya wanna? i could help
well their ide doesnt exactly give u much controll
wym
it's probably more that I don't have any motivation
they basically wrap ur code in a setup and an infinate loop
but idc that it will execute garbage instructions if my program ends
thanks for the offer though!
I might just take you up on it in the future :P
:P
Does anyone know how to open a password protected .zip file without the password
they said that their brother encrypted their game files π so its a bad reason
lol
@honest cedar how far you got?
>bros dont believe that im hackerz man
>open command prompt
>"tree C:/"
>profit
Oof
Nothing other than brute-forcing is possible, though
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: []
code?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
.topic
.topic
Suggest more topics here!
okay, so they go very different kek
== true is the worst shit to see in any language
your statement == true
it seems f1re, f1red his logo
huh
@rigid echo what do you mean "re"?
@rigid echo what am i using for what?
I mean the ss you showed me so can you tell me that web of that docs
LOL oh I know this I was literally confused because you have used black mode lol np
there
place your bets now how long will i last
3:23:14
@nova ember how boiled are u
He is
Yep!
is rolling release equal to having latest apps?
just latest point releases
all are point releases in official repos in Arch.
@pliant trench and thats a point release
what
sigh
@rigid echo maybe keep the silly jokes in the off topic channels?
@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
how are you trying to run it
what DE are u on?
i guess he didnt add the config and shortcuts yet
i3
flameshot gui
sadsu. edit your i3 config π
i3 is a tiling window manager and is geared towards manual configuration, just edit the config and assign a key to use flameshot
lol
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
:/
$mod+Ctrl+s probably case sensitive
no
u forgot exec
π
bindsym $mod+Ctrl+s exec --no-startup-id flameshot gui -c
maybe u dont have a clipboard manager or u dont have a notifier
without a clipboard manager, u cant save screenshots
then how did u get a screenshot of that?
u sure u reloaded ur configs?
u need to reinitialize i3 or reload it by $mod+Shift+r
Ik
and?
can u just tell me what version are you using?
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
sigh
the versions are irrelevant like i said
i3 version 4.19.1 (2021-02-01) :copyright: 2009 Michael Stapelberg and contributors
Flameshot v0.8.5
Compiled with Qt 5.15.1
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
ah, v0.9.0 is still in beta
sad. i read the issue. just downgrade
fedora is semi rolling release. kinda weird it is more bleeding edge than arch lol
not
https://github.com/flameshot-org/flameshot/issues/1368#issuecomment-782668590 and based on this, yeah the package maintainer might have borked it
pretty sure fedora has a website for packages which u can check the information including its maintainers
like arch
or any distro
someone actually put the wrong version on the repo lol @fluid plank
still the same result installing using flatpak!
how is it possible
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:
fine ig
what other images might look cool as ascii?
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
Bro?
Mods...?
@blissful coral whatβs up?
@nova ember Sorry- didn't mean to bring attention to you or anything... but ^^
If thereβs something you think mods should be aware of, Iβd always recommend DMing @vapid maple
I was referring to this - but not sure what action exactly mods can take
Sending a DM to @vapid maple never hurts. Weβd rather get one too many messages than one too little
k
i dont see whats wrong with it
yeah. but it doesn't feel very right either
Kinda looked like he had a remote connection...maybe hacked someone? dunno
yea i got ratted i clearly stated it
looks like that guy has control of his pc
@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.
- 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.
Are you also working on the command logic by any chance?
Your hierarchy checks
Your bot doesnβt check if the ctx.author is higher than them in the role hierarchy
im checking for perms
that will raise an error that I will also be checking soon enough, so once again, its not a big deal
but like hierarchy matters tho. With that someone can kick someone higher than themselves role wise.
Oh, that too
I see it
Won't throw an error
check if the author is above the user they try to kick.
if its tryna kick someone who is higher in the hierarchy then the bot
Is the bot a private bot?
No than the author
Ex a mod tries to kick an admin
look, if yall are gonna bitch this hard, open an issue.
The command will work even though the person they are trying to kick is higher than them.
Yeah i got that
itβs just constructive criticism 
Ok cool
alright now once again, yall can either stop bitching, or open issues, as I wont remember then rn
I understand that, but once again, yall are being rather rude about it, so i will consider it bitching.
ok so like i just got here, and from what i've seen, the only person being rude is you. 
also if yall cant tell, rn is really not the time to have an argument w/ me, as im in a really shit mood
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. 
its alright, im just really in a bad mood, so you probably didnt say anything rude but I took it as rude anyways.
u on those days? or nah
Wym
||im talking about hormones and stuff haha.||
That's what I assumed, but no, I don't get those bc I have testosterone β’οΈ in me
i see ,okay π
Testostone
Fuck
Hehe
I haven't been here in awhile
You indeed have not.
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
So that succs but at least I don't have sanctions anymore
I'm slightly worried about you lol
Roleplay server
lol
You would be right too
this is crucial information
Yes
Well I hoped as much
What did u think?
I thought that
Uh huh. Keep on going
There is nothing else for me to say lol
What did u think
Bro take some fucking context my god
Why are we getting heated here
But I don't understand
What I meant was stop egging her on itβs annoying
Discord is made for users 13+. People 13 plus are normally able to see swear words.
I am sorry to both of u. Gtg
Eh Iβve seen moderators say you shouldnβt use such language
I mean
just personal preference I donβt
If you call someone a fuckhead that's different from saying oh fuck
whats happening here ??? lol
what language is that 
there are enough words in english to get my point across other than cursing
I've made it very clear that I'm not in a good mood today, and I really don't need you nitpicking everything I say. Please get off my dick, thanks!
do the people you're interacting with know that?
Ahh yes true, but sometimes you just need to get the point across!
I am sorry. I started this. Its my fault
@weary rover can you leave her alone?
No it's not, don't worry about it
i mean alright. its just everyone doesn't magically know when you're having a bad day xd
I'm just not in a good place atm(day wise)
@fluid plank >.>
i need a pat emoji that doesnt have hearts smh my head
OK. I just ask ppl to try to get them to not swear but I totally understand. Swearing does release stress if done very rarely
I am sorry if I was annoying
I mean at the same time, swearing is part of some people's(like me) regular vocab, so it's not rly realistic to ask them to just not swear
I used to swear a couple months ago and I stopped
Again. I understand. I'm just saying I like to ask ppl. I usually don't expect it especially online
Used to swear like a sailor
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
Yeah you say it too much it loses its meaning
Yeah
That's completely fair
anyone here familiar with linux de's?
specifically Plasma 
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 
change it in general keybinds
still lurking? yes. yes i am
Pls answer my question in #game-development
Always lurkingβ’οΈ

okβ’οΈ
TMβ’
TMtmβ’οΈ
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??
betting that its just one guy that was looking up snakes for a slides presentation
lmao
but i searched specifically for the programming language o.o
but is google differentiating?
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
@toxic viper congratulations on the mod role! you werent a mod before right?
I was an Admin, then I picked up the mod role too
Haha thanks
could it be ctrl + q ?
!paste
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.
UwU
now i just gotta figure out where that keyboard shortcut lives
cool
pls stop posting in every channel
What?
Sorry for the miss understanding
all good
how long does it usually take for a lancebot command suggestion to be approved?
Anything in particular that youβre referring to?
And to answer the question, weβre all volunteers around here. Sometimes, people are more available. Sometimes not
@wheat aurora which ext do you use for git?
oof, it's on my other computer.
!remind 12H which vscode git extension I use
Your reminder will arrive in 12 hours!
!remind 12h see above
Sorry, you can't do that here!
- right click
- "copy message link"
in 12 hours
idk what the link of @wheat aurora's reminder will be yet
haha, I'll be sure to ping you when it reminds me.
yee
also
does not vsc have git built in??
i don't use any sort of extension for it
welll

o
especially being
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
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
i type a commit message and click le check (or hit ctrl + enter)
so
you'll need to clone the repo
which i assume you've already done
which repo
then you make and commit whatever changes or stuffs
the repo that has your code
on the remote server
i have two repos involved here
what are the two repos

or that's how we can refer to them anyways
no, me/repo is nowhere
remind me what you are trying to do and what you have already done
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.
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
edited
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
they're stored on the server, and git has it saved as person/repo
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
yes
do you know the url of me/repo
ok
i click le 3 dots
i click le add remote
i enter the url of me/repo
i then click push
et voila
smh
this is assuming i have person/repo open in vsc
yeye
that should be it
this guy tho
ofc this is all also possible with the git cli utility

somehow this isn't working
this server is behind a firewall, which could be blocking this
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
hmmm
oki
huh?
recently put out an issue to make a hangman game command
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
!code @jovial island
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.
no one likes gnome here?
gnome is nice but it is still bloat
how did we get here bros
Ok
@wheat aurora
Here's your reminder: which vscode git extension I use.
[Jump back to when you created the reminder](#ot2-the-original-pubsta message)
because the reminder was made in this channel 
!remind 2m goto study in 2 minutes
Sorry, you can't do that here!
fuuu
!remind 2m @lucid osprey goto study in 2 minutes
Your reminder will arrive in 2 months!
lol
helper role smh
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
It's certainly going to be interesting to reflect on this year in a decade
I wonder if this discord will still exist
no according to my python crystal ball
And if so, who will still be here
it will have a rouge owner in exactly 6 years and 32 days /s
lol
@wheat aurora turns out im the one pinging you π
I'm pretty sure that would just ping you lol, if it's going to mention somebody else it has to before the expiration
otherwise it's part of the content
so it would be in an embed and not ping
yes, I know... I just didnt bother fixing it XD
Sorry, you can't do that here!
rip
Your reminder will arrive in 10 seconds!
@neat light
Here's your reminder: test // @dusky cliff.
[Jump back to when you created the reminder](#ot2-the-original-pubsta message)
wait I am just reading this timeline thing, so eivl and hemlock were admins in the other server?
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
and how do you even convince all members of the other server to leave the server and join this one
hmm
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
hah
afaik it started off as a partnership, but this server benefited much more from it and this server grew while the other one didn't, so they eventually decided to merge into this one, and made the other one read only with redirects to here
ohk
It still exists?
also one thing which is interesting is this
These have been deleted since they are stored only for review
spooky
The dyep server hasn't been deleted (last time I checked), but it's read only, so... it might as well be.
Hmm , invite link lets have a quick peak.
inb4 delete
wait we can search and it will pop up right
nooo
I thiiink that's referring to messages stored when the !clean command is used, we log them initially in case we need to take a look back at something and add details to an infraction, but we don't store them forever.
Don't quote me on that
k.
Joe would be the person to ask if you have questions about that sort of stuff
he's our data master
I didnt get my weekly dose of graphs from joe π₯²
he has been inactive the whole day bruhh
or token messages, probably
@grim seal where are you
You mean messages from people who have leaked their bot tokens? We don't store/log the full token for anything like that anywhere
lmao you dont trust the system I feel.
those messages deserve to be deleted forever.
what are you doing
delete fast
bruv
it's fake ig
^
I hope
fakeee
#python-discussion message or else this message would be shown ooo
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!
the bot doesnt check if the token is valid
oh
no ik
TOKEN_RE = re.compile(r"([\w\-=]+)\.([\w\-=]+)\.([\w\-=]+)", re.ASCII)
wow
OwO
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)
smh
it does try
smh this apparently pinged all moderators
henlo
henlo
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
duck pond is staff internal starboard
um ok
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
how would i get a bell curve given the distance from a start point and the distance to the end point?
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
hey everyone you can suck my d||orito|| all day long
either I messed up, or these giant peaks are within 2 local stds from the average 
oh, right. I need to exclude the central point itself
oh yes, now this is some good filtration
heh
this looks like a fun game



