#ot1-perplexing-regexing
1 messages ยท Page 536 of 1
yespease
uh no she gets blown to bits
oh :/
yeah the author thought ||killing Prim|| would make Katniss stronger
but it really doesn't do anything
Yeah
it would be like if JK Rowling just decided to kill Ron at the end of Harry Potter
the Snow one?
Yeah
Yeah, its decent
that book shouldn't exist tbh
Lol
if Collins just gave him a few pages in the book to flesh out his backstory
the Snow book wouldn't exist
she's obviously just doing it for clout
it's like the GOT prequels
literally no one cares
prequels in general do not impress people anymore
interestingly enough, she actually thought of doing that
like it was a cool hollywood trick like 5 years ago
yep
I don't like how they made Ron act in the movies
tbh, i only understood a lot of the backstory about the hunger games, b/c my friend explained it
he's really not that stupid
I don't understand why the directors had to make him so stupid
Hermoine is a condescending prick in the movies
Harry is just really cocky
noice
GOT?
game of thrones
good princess goes batshit crazy and murders countless people with fire breathing dragons
the worst part is that the damn original author didn't even finish writing the final book
so like is he gonna stick to that horrible ending or write his own
oh shit he's 72
the new server theme is looking really good
bruh
my todo list:
make that ducking owner cog u binch
the logo is great
beautiful mint i suppose
Very choice of reply.
U got that owner cog yet?
EASIER
shoo
BRO YOU TAP ON THE NAME TO INSERT A MENTION
i have not ๐๏ธ d yet today sorry
pc
Shift click name then
Same way you probably didn't know +:reaction:
ik that
replies
hi
right
Why the logo is green??
maybe saint patricks day
What's that?
Ok Irish Cristian thing
yup
I'd say it's evolved past any religious affiliation and more so has some interesting lore around a leprechaun which may or may not be problematic.
interesting how religious practices blend into cultural practices over time
ye, we have quite a few originally christian things despite christians being a massive minority
days of the week for example, named after the gods from somewhere or other (I think it was greeks or romans?)
yeah, greeks
months too (though some are named after emperors)
mhm... 'bless you' and 'oh god' for example, I'm an atheist and say them all the time
ah good point
I tried typing on one of those split ergonomic keyboard today
Surprisingly not horrific
I mean I typed at a snails pace compared to my normal speed
best split keyboard is two keyboards
one full keyboard per hand
makes you feel like you're crew on the starship enterprise.
'goodbye' comes from 'godbewithye'
hello #help-lemon
5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious or inappropriate. Do not help with ongoing exams. Do not provide or request solutions for graded assignments, although general guidance is okay.
I'm trying to merge a pull request on my GitHub repo but there is no button.
Does anyone know why?
I'm new to this type of stuff
is it on a different branch?
its in the screenshot.โฆ
Right, I'm asking the person if the PR they're trying to merge is on a different branch maybe
I don't know lol. I just ran this command:
and pushed it.
says they are different commit histories
ill pay money for homework
how do you bold text on discord
markdown
but can you do ?this
@vapid nymph yes
what about it
didnt know he made it
He's the current maintainer for it! Ned's great and I'm very glad he's part of this server~
๐ฅด
gotta make sure u hit all the branches
Idk what that means
???
you run your tests with it and it tells you how much of the code is covered by the tests
oh
stuff
coverage.py is a really nice tool
nedbat is happi
anyone here ?
hey i am veera . 
Hi
<h3>Markdown Totally sucks!</h3>
||OK||
||hey||
||๐ฅด||
if anyone trades money for hw, you are banned
can someone do my hw for 10 doll-
omg bannnnnn
damn
gibe mooney I need to finish my homework pls or my teacher make me go brrrr
Lol
branches mean conditional statements.
no ban pls
Fruits are good
Oh nice ot name
imagine paying for homework
Bartleby
Chegg will give your data to your college if they ask for it
i got paid like 25 bucks to help someone with homework once (not here) ๐
Well, isn't private tutoring actually helping with homework for money?
๐จ ๐ applied ban to @tepid pike permanently
yes
they were asking for help
and wtf happened?
self bot ban
I'm not a self bot
Not you lol
r/wooosh
Lol
@twin charm and tbh that was a false ban
You can't handle anything that did not happen in this server
xD
we're joking.
oh ok stops breathing heavily
suggestions are through here #community-meta
you can talk to people in ot and #python-discussion
afaik there isnt.
Wait
i dont see a need of an intro channel just extra moderation lol..
but you can introduce yourself anywhere
The ban message has the ๐จ
But does it only have it when it successfully sends a dm
๐๏ธ
That would be cool
!src ban
Permanently ban a user for the given reason and stop watching them with Big Brother.
1984 flashbacks
tf happened in 1984
I dont get the joke..
given reason and stop watching them with Big Brother.
read more novels kiddo
Big Brother is watching you @edgy crest
no stop i dont wanna get tortured by rats to the point of getting bald and extremely malnourished then given a good life again
haha
๐คฆ
is it a book or smth
I have found a fellow virgin!
just joking, like redditors are virgins joke~
forgive my ignorance ppl
Nineteen Eighty-Four: A Novel, often published as 1984, is a dystopian social science fiction novel by English novelist George Orwell. It was published on 8 June 1949 by Secker & Warburg as Orwell's ninth and final book completed in his lifetime. Thematically, Nineteen Eighty-Four centres on the consequences of totalitarianism, mass surveillance...
Lol
wrong ping
lmao wut
oof
hahaha
sowwy
ahaha
i read that a couple years back
i don't read books
lmfbao?
Noice but sadly Big Brother is still watching you
Can I call FBI for cyberstalking lol
maybe try animal farm too
yeah
noice
similar themes
.uwu th
d
๐ฅด
imma sweep dnd
dicc oweos taste good
wtf
๐
Siw Wancebot banned pewmanentwy by @deweted-usew
๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐ ๐
helP I'm tRApPED In tHe PyDiS bot
I had a question.
I've just started using pipenv and I had a look at the Pipfile.lock and there's hashes in there.
What are these for?
Also, why are there so many?
@haughty fractal Pipfile.lock is not generally for making changes on your own but if you wonder what those hashes are
It has hashes for every release
oh :O
probably hashes of files from the package
https://github.com/aio-libs/aiohttp/tree/master/aiohttp
I wasn't editing it, just having a peek ๐
mhm
hashes for every release don't make sense for pipfile as only one version of the package can be installed
idk but there are alot
actually it's for every release I think @harsh tundra
If you see for flask hashes your Pipfile.lock will have only 2 and https://pypi.org/project/Flask/1.0.2/#files also has 2
Also, I saw this-
Pipfile.lock (fe5498) out of date, updating to (42e523)
Is this a file versioning system, based in pipenv?
If you do pipenv install or pipenv uninstall the Pipfile.lock will update itself
Nah, I was referring to the fe5498 part
hm, interesting. you're right. I checked one of aiohttp's wheel hashes and it is on the list
ok, installing 3.10 ๐
No clue
It is like reference points I think
noice
3.10 is out ๐
no, it's an alpha
yo can someone help me with an arch thing
basically
i was fucking around with ibus
trying to get mozc to work
because i need mozc
at some point
anyway
it didn't work
and so i undid what i had done
or at least i thought i did
but now ctrl + shift + u to enter unicode codepoints doesn't work
and idk why or, more pertinently, how to fix it
https://bbs.archlinux.org/viewtopic.php?id=171531 this topic is the other way around
"I'm running XFCE and there is now a "Language Support" icon in the "Settings" panel (select "Settings Manager" on the main menu.) The Language Support app contains a "Keyboard input method system" selection on Language tab. I changed it from 'IBus' to 'None' and now Ctrl+Shift+u works again." - for you, change it the other way around?
or ibus-setup
so maybe check ibus-setup instead of gui?
is it? lol, I thought it's a command
got it from that thread
https://bbs.archlinux.org/viewtopic.php?id=253297 plasma and some shortcuts not working thread
two solutions there: either delete ~/.config (XD) or remove and add the shortcut again.
it is a command
commands can open guis
commands can do many things
in fact
everything is a command
when you click the little icon it runs a command to start the program
you can run that command yourself
!mute 477282038278389781 2d I don't know why you do that, but you have been told that it isn't appropriate. Please stop.
:incoming_envelope: :ok_hand: applied mute to @undone helm until 2021-03-18 19:54 (1 day and 23 hours).
Ohhh
@plucky ridge that explains why the muted role prevents people from joining the channels
Otherwise, the voice verify role would allow people to talk in them.
nothing like a good exclusionist to ruin your day
What happened
why is reasons returning None? when i do regular queries outside of this code it returns the string
reason = await bot.pg.fetchrow('SELECT reason FROM blacklist WHERE user_id = $1', ctx.author.id)
await ctx.send(f"You have been blacklisted from this bot for {reason['reason']}. Please contact MrKomodoDragon#7975 to be unblacklisted")
None gets returned when there is no such row
psql
exclusionists doing what they do
bruh
!ot
Off-topic channels
There are three off-topic channels:
โข #ot0-psvmโs-eternal-disapproval
โข #ot1-perplexing-regexing
โข #ot2-never-nesterโs-nightmare
Their names change randomly every 24 hours, but you can always find them under the OFF-TOPIC/GENERAL category in the channel list.
Please read our off-topic etiquette before participating in conversations.
read the channel name smh
definitely not my day. I thought I was in general :slaps self:
but read it harder
you got wooshed
ugh
I've been compiling for 9 hours
And it's probably not halfway done
Stupid old ass Celeron CPU
oof
how big is that binary size if ur compiling for 9hrs
how much longer do you think it'll be?
wiki says it's usually a day in low end computers
am compiling a web browser based on chromium
At that point launch a dual xenon cloud computer
The chrome team has clusters to compile their shit in 10 minutes
oh dope
oh god
imagine having a bug
like usually compliation process doesnt recompile stuff whos dependencies don't change
so the second time though is gonna be much faster
I have been to stackoverflow so many times now...
But I have never actually seen the stack overflow's homepage
Sad stack overflow's front end developer noises

this one lol
yes name
what do i put here?
what is that?
oh nvm Microsoft Edge settings
Just use current service provider
@inland wolf ๐ you use Edge?
es
Could pipenv handle project versioning?
๐ค hopefully I don't trigger anyone :/
(example, like npm does?)
Off-topic channels
There are three off-topic channels:
โข #ot0-psvmโs-eternal-disapproval
โข #ot1-perplexing-regexing
โข #ot2-never-nesterโs-nightmare
Their names change randomly every 24 hours, but you can always find them under the OFF-TOPIC/GENERAL category in the channel list.
Please read our off-topic etiquette before participating in conversations.
sad
ok
Suggest more topics here!
back to the place I was before.
Not naively at least
Although poetry has a way to bump project versions
natively?
huh, would random variables at the top of the Pipfile affect stuff? ๐ค
(I use auto-releases with changelogs, and the current action needs a file to bump the versions in.. ๐
)
Not sure, although to keep safe, I wouldn't touch it all that much
Ig I can modify the action to not need a versioning file
Perhaps using setup.py or pyproject.toml would be better
My project also has a __version__ constant at the __init__.py level so that's that
I really should learn automated releases
:) This is cool-
https://github.com/TriPSs/conventional-changelog-action
(It's more appropriate for javascript projects tho*)
lazy changelogs, if you're used to making conventional commits
nedbat's scriv is pretty nice, although I haven't gotten around using it
That looks interesting ๐ค
You mean I cannot just do "fixes" and "asdf" commits?!
"oh, lol, forgot x" commits as well
I tend to overthink commit messages
nah you could do those too, but the fix, feat etc conventional commits help in making the change-log, else it would just ignore the commits
Also, personally I prefer to always use conventional commits, since these give enough context to other people as well as you(from the future) while working on projects
esp. when making reverts, the commits that are properly named, help you in fixing the mess quickly rather than having to look through the entire messy commit history
not using the imperative smfh
You can put DNS-over-HTTPS servers there
Don't know that much about it except "it improves your privacy probably maybe?"
this....
this aged horribly.
.topic
what is that?
.topic
orange or red
cheese
2a953b2 (HEAD -> redesign) Autoformat
85e2ff7 Rename inner header to nav bar and add padding
ce0bfa9 Apply resets to body
7b82330 Add slab serif font to inner header
d73dbe4 Add header centering
d6626f3 Add inner header title and logo
7d0caa3 Add page skeleton
3f77dfa Redesign initial commit.
af2e847 (main) Add missing </body> closing tag
dc9afda (origin/main, origin/HEAD) Change home button position
aa460ad Add lorem ipsum.
9a4bbc4 Add header
2b307bd Autoformat CSS
75d3f93 Add rainbow border on bottom.
ba2c38b Switch arrow to chevron and add rainbow border.
f5c5aa0 Remove unnecessary column
55eb597 Fix navigation arrows disappearing on mobile.
58ea929 Add basic site structure.
1356202 Initial commit.
c7d5b2e Initial commit
short and sweet commit msgs
h-how bad is it?
seriously?
A Johnny johnny meme in 2021?
Cringed
*got deleted instantly*
Why did it get deleted csubi?
maybe the mod deleted it?
.earth
Okay enough programming today , done with the print statement and fixed an integer issue . time for gamessss
I used to play a lot of games, now I mostly learn programming
I used to be like you . I learned alllll the time . I didn't feel tired at all while programming and learning it , but now , um , I realized that learning is enough and I have to work on managing stuff in my source code and practicing the balance between problem solving and syntax . Which makes me tired
I just jump to another language, haha
I used to do that so much
the more I learn the easier Python becomes
But now I realized I should focus on one project at a time , with one language not 100 languages and 100 projects at the same time
Working on C++ at the moment, and it just makes Python more understandable, also makes me appreciate the hell out of its simplicity
python abstracts a lot ๐ฅด
I code a lot
I was like "wtf there are no pointers?"
I do code a lot , like 3-5 hours a day , but I game/do school stuff the rest
What genre of game?
I'm getting less and less time for coding nowadays smh
Well , games that require some kind of building (not fortnite LOL) like I play Minecraft sometimes , and Mindustry if you know it . Other than that , I play Apex Legends and Rainbow 6: Siege too
I โค๏ธ me some Factorio
I love Mindustry more than anything
I do want to look into coding in Minecraft
It's ez in mc
but then I'd need to spend $30 to mess around with coding in Minecraft, haha
Mindustry is like a tower defense game but you are soooo free
you can setup an MC dev env without buying MC
considering its minecraft, in could mean a couple of things here 
playtesting?
are you going to make mods
or
make a computer within minecraft and code on it
I should get into modding
If only minecraft modding wasn't Java
I'd like to monetize the efforts, I have kids who love MC, and I figure if I can make worlds that they like, other kids might like them too
I was interested for a long time, I have ideas that might actually become widely used mods if I follow on them, and it'd be an excuse to use Kotlin/Scala
honestly, java is probably the best language to write mods in
cool
I don't say Java sucks , it's just ... I hate it personally
Though Java is a language I have sworn I'd never learn
lol
I understand why, but kotlin isn't as easy to coremod
and also good god kotlin code compiles weird
This seems to be the general sentiment, so why would I give Larry Ellison any more support?
So he can enter a 2nd superexpensive boat in his superexpensive boat cup?
Doesn't that just mean you'll have to write some parts in Java? Or will having Kotlin code in your project at all be a problem?
mod code can be in kotlin
Kotlin ... I tried to download it but after seeing the syntax and the filesize I regretted ๐
but if minecraft were in kotlin, it wouldn't work well
ah, I see
I've seen at least one mod in Scala, Advanced Generators IIRC
that was quite fun to read
oracle is universally hated I suppose
open computers is scala
til it's possible for us non-staff members to add reactions in #python-discussion
just that it gets removed instantly ๐ฅด
Hey @acoustic moss!
It looks like you tried to attach file type(s) that we do not allow (.mkv). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.
Feel free to ask in #community-meta if you think this is a mistake.
Ffs
Yeah
It's the default format on obs though and i cant be bothered to change it lol
THEN HOW IS THE PAGE LOADING?
Magic?
idk , it fixed after a reload
But how tf am I not connected to the internet when the page loads
the page is cached
pretty sure when you visit a site often it automatically stores the page for faster loading
No , when I reloaded without internet I saw nothing
Try Ctrl+f5
no, i think its alt+f4
yep the / worked
tbf the . is just as important
the . refers to the current directory
i did this
oh okay that works
def _(
__) :return __== (
float
)(
0),_ (__
)
class ___:
def _():
return (
_(0
) )
___._(
)
@ me if youve made worse
@rough sapphire how people code in tv shows
โIโve hacked the mainframeโ
triangulating the ping location
they act like itโs that easy
yeah dude I hacked the pentagon in college
Smh
And then it makes the people who think the movie hacking is cool wanna do cyber security
This code snippet reads a file and writes it to another location. However, the written output is incorrect.
It should be like
correct output
but it actually writes
correct output
END
As you can see, the END is extra and I don't want it there.
What am I doing wrong
what language
@sour forge Maybe the single quotes around the first END?
ruby
let me try
what do you want me to do with the quotes?
Omit them
does not work
second END?
remux
got it working using this
mfs be saying they don't selfbot and then put self.bot = bot in their cogs smh
ikr
what I think they mean is don't use your user token, which you can find by navigating to discord.com/channels/@me/what-is-my-token
are you trolling? I got redirected to the homepage lol
yes, I'm not going to share how to find your token
when you can literally google how
lol
lol
i tried to find it again because i forgot how smh
lol
loo
hot milk
is flying a superpower? ๐ ๐
yes
granted, you gain the superpower to give up your superpower at any time
what is this chat
o
Out of topic
ty
wha- what happens if i try to give up this superpower
You lose it, duh.
Now you don't have an ability to give up your superpower.
well i don't have the superpower anymore so that makes sense
indeed
with great power comes great power to give up power
@rough sapphire crab with hat 
epic am i right

impressed by pyxel so far, feels really nice and simple to use
https://paste.pythondiscord.com/ayedemesak.py
what does it use?
is it a 2d game engine or something
yeah, for retro looking games
o
so you get 16 colors and large pixels
really need to fix the colour choice though
I just went with the default ones
oh my god
what
Hi :D
WOWWWWWWWWWW
o
guys I have a friend that is abusing autohotkey faster than I can learn python
THAT IS EPIC
yea
Lmao
Lmfao
AHK is one of those things a lot of people overuse for commercial stuff, so they contribute.
i mean
didn't know it could make web servers
Lol
yeah no
well, it obviously could make web servers
I think we're hitting the limits of efficient autohotkey
what I didn't know that it was a useful thing
actually, efficient autohotkey was hit a long time ago
wdym there are no limits
wait until you get into compiler editing
Lol
signing in with discord is pretty easy btw, there is a tutorial in the discord api docs
there's a version of autohotkey in the ahk discord which has a @ modifier
editing from source!!!
this guy who wrote a discord bot in ahk and the server is like, under 18
impressive
and the dash is for the bot which has no use
so its all here just for fun
just need somewhere to host it all the time, it currently has a free month on azure
ahk is epic
it is pretty neat
How do I start making an api wrapper
Iโd recommend you to start by laying down the wrapper API, work your way towards the core interaction with the API and then fill in the blanks
Wdym

In order, Iโd recommend you to
- Write down the API you want the wrapper to have
- Lay down the basics of the wrapper API itself
- Start working on interacting with the source API
- Do some fun stuff to be able to work easily with the API models
- Wire up the models to the wrapper API
- Add a bunch of additional bits and pieces
- Profit
last part is very important
the most importantโข๏ธ
can someone give me an md5 hash?
75170fc230cd88f32e475ff4087f81d9
Wdym by models?
For example, if your API is about cats and will send you back a cat structure, you can create a Cat model that has the same data as the cat returned by the API
Basically it is an actual object, using the data from the API
Damn
praw/asyncpraw's models are really intuitive
Hey - anyone know how to build, install and use python packages?
23 reactions
Lol
25 now
HOLY F
lol
.bm 816405055803490395 message that broke records
.bm 816405055803490395 wat is this
What's .bm?
It will send you a bookmark with a link to the message
.blm
Hm
Should add reference support
OH
Hmmmmm I think there is an issue somewhere about it
.bm
Your input was invalid: target_message is a required argument that is missing.
Usage:
.bookmark <target_message> [title=Bookmark]
I shall microwave my milk for better cereal and milk experience
No hot milk with cereals D:
.bm 816405055803490395 famoos
huh
does the message have to be in the same channel as the command?
also why is there steak in the bot channel
yes i love cancer /s
/steak
why
ironic that damn small linux takes a minute to boot lmao
note, I'm in emulated windows
oh okay
probably shoudlve chosen something else for this level
bruh
its both new and old
wtf
that's been set for the internet explorer homepage
lol
.bm 816405055803490395 message that broke records
MORE REACTIONS
inb4 160k reactions
could you imagine
.bm 816405055803490395 message that broke records
oh man I forgot how overwhelming general can get
@scenic blaze itโs like 5 messages per minute
Mhm yeah
I wish my small high school gc was like that
but they donโt even talk anymore if I donโt say anything
which makes me feel really weird
Like Iโm forcing them to talk?
They're maybe busy with other things (life), out of sight out of thought?
My class gc went dead, but we eventually started again and had a meet up
2 years ago?
Well one is pre med and the other is lab sciences
and itโs also midterm season
so I guess thatโs why
But they were hella quiet before that too
I donโt really enjoy one way conversations
I think if they're busy with midterms it's fine
but long term it's not fine / maintainable
it's been going on for a while before too
Have you tried asking them about it?
they just say they're very introverted
and don't have responses to things I say
Yeah
Been there and sometimes it good to let them go / wait
If they start responding again, great
Idk thouch
yoo
So there's two parts to it because it's an api ffs
The client is running on a raspberry pi, and the other part, the api is running on a server with an Intel processor. That's important for the main reason being the processor architecture.
In short, the api is like a snekbox, but runs autohotkey code.
@muted pebble
Oh
why is the api running on another machine?
... Could I just invite you to the server?
is there an equivalent of CC BY-NC-SA for software? i heard that you aren't supposed to use CC for source code
ive learned you got to take it one pringle chip at a time
MIT is the closest i know of
MIT doesn't have the BY nor the NC part of BY-NC-SA
so it isn't really that close at all
then dig up some obscure license ig
oh, non-commercial
hm, take a look at https://opensource.org
kinda hard for me
i take 1-2
it all came from the came you also came from the came
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
what does the - at the end do?
Thereโs an interesting story behind this otn haha
it came from the came ๐
haha
What how important?
the talk in the chats
Well, yes
#organisation is where most of the bikesheeding discussion about the server happen
!server
52 lol
But there are a lot of archived channels
There should all be in your DMs with the bot
Hmm, hold on
It could be
There isnโt a way to do it atm, I can dm you the reason if you want though
Bikesheeding is when you discuss something way more than you should
wtf
And a starboard is usually a channel where posts that got a certain amount of reaction gets relayed to
I have no idea
lol
cuz bike + shedding
Bikeshedding occurs when a development team spends a disproportionate amount of time and effort on a trivial or unimportant detail of a system, such as the color of a bikeshed. This most often occurs because the supposed "trivial" detail is one of the few such things that everyone in the room actually understands.
lol
It was a meme tbh
its called the law of triviality apparently
people were arguing over what color to paint the bicycle shed while the house was not finished. lol
type from:@Nipa_dev#6497 <content> into the search bar
Quite fun story actually
Not sure what the original is, but hereโs an example https://exceptionnotfound.net/bikeshedding-the-daily-software-anti-pattern/
just to ask, anyone want to be my coding buddy?
im making a mini operating system,
python of course,
and might need help.
ping me
if im online
Holy shit this is an extremely convenient update
Raspberry pi imager has gotten an update to automatically configure your pi SD card after flashing the OS
So rather than edit config files I can just put them in the optins
In short, it makes my life a bit easier
#vuejs #reactjs #javascript #java #AI #HTML #CSS ๐
I've been thinking about getting a Raspberry pi or arduino, but then again I'm not sure what I would do with it
prolly to bring traffic ig
...Isn't that advertising?
dude you really are a self bot?
*thinking*
yeah haha

ban \s
we will find out.
We are pretty much fine with it, I believe
doesn't annoy others or contain noisy Unicode so๐คทโโ๏ธ
are you kidding me??? @eager cliff has a FLOWER in their nickname!!! Its completely and utterly against every rule!!!
abnend!
๐
i need to read more chapters of the rust books
I hope theyโre not oxidized
lol
I'm very disappointed of the Rust server for not having a role like "Tetanus victim"
aaaa
xD
I messed up the print formatting, that's why
And Vaccinated
Kotlin has Py-like string formatting โค๏ธ
println("Recieved entity packet: {pos:$pos, vel:$vel, <omitted>}")
it's the LAW.
b-but... 
is that Rust?
kotlin

i'm doing minecraft modding
what are you making in kotlin
no rust allowed
oh
time travel
Minecraft modding in Kotlin???
thinking of making a small android app for a flask app i have
how easy would it be for someone with bachelor's academic experience of java to start with kotlin
yup
wh -why are some in camelCase and some on snake_case ๐ณ
Fabric has templates and some support for it. With Forge it's harder, but also possible I believe (haven't tried yet)
ah, Fabric.
oh boy
๐ฉ
python disease
php is bad, but it's not literally Hitler
wait
wrong law
close enough, lmao
why my projectile not fly and not hit
I think it doesn't get physics for some reason
does Minecraft handle physics, or do you have to do it manually?
time to steal some code from...let's go with ThrownEntity
it does, but I think I didn't inherit from the right thing for it to apply

which I had to, because some MC classes have private constuctors 
i imagine Minecraft's code is a mess now.
ehh, I remember https://unascribed.com/b/2017-10-17-so-heres-how-foamfix-works.html often
People have been wondering what exactly FoamFix does. So, here it is.
"FoamFix".. that sounds familiar.
disableTextureAnimations
Kind: Speedup Incompatibility Risk: MediumThis one's off by default. As you probably know, Minecraft supports animated textures! However, the way they work isn't stellar.
Modern rendering is based on sending data from the CPU to the GPU. They have completely separate areas of memory, so it takes time for them to communicate. So, generally, a game will get all of its data together, shove it on the GPU, and instead of having to describe the shape of everything every frame, it just tells the GPU "you know shape #85745? draw that at 0, 3, 1 with texture #485".
It's a little more complex than that, obviously. Minecraft does this too, for the most part. When the game starts, it takes all the block and item textures and stitches them together into a big "atlas", and then shoves that on the GPU.
So here's the problem. Rather than send animated textures to the GPU, Minecraft keeps them in CPU memory, and modifies the GPU texture atlas every tick, which is to say, 20 times a second. This works great in vanilla, which has around 21 animated textures, but modpacks may have hundreds of these. Uploading all the animated textures every tick in this case is really, really expensive.
A lot of computers handle this fine, but some (like mine) really don't. I get 6 FPS with this option off, and a locked 60 with it on.
So here's the problem. Rather than send animated textures to the GPU, Minecraft keeps them in CPU memory, and modifies the GPU texture atlas every tick

why?
this.setVelocity(this.getVelocity().add(vec3d.x, user.isOnGround() ? 0.0D : vec3d.y, vec3d.z));
huh, interesting
..is that a ternary?
if a player is standing on the ground, their speed doesn't get added to their projectiles
meaning that if you could move fast enough while being OnGround, you could shoot yourself
i mean
yeah, you can.
wait
that's not terribly unrealistic
nevermind, that's only y
when you move faster than the bullet and you shoot yourself.
๐ฅด
now this is funny.
oh dear, I found the hit logic
and the physics
it's in PersistentProjectileEntity ๐ฉ
hmm, protected constuctor
I could inherit from that...
wait, is Kotlin Object Oriented?
screw it, here we go, yet another inheritance change
Kotlin is basically less soul-crushing Java, so yeah.

Hello fuckup ๐
greetings!
helo
hi!
don't you love it when PersistentProjectileEntity.getDamage is double, but LivingEntity.damage needs a float ๐
pick one float kind and stick to it, minecraft
โจ Java inconsistency โจ
well the double issue is Minecraft's fault, but ๐ฅด
bad habits are transferred.
wat
oh it does?
rust have so many integer types
i like Kotlin already. ๐ฅด
check these out, they are very good
https://play.kotlinlang.org/koans/Introduction/Hello, world!/Task.kt
one of the most headache-reducting features of Kotlin is that when you make a class have a variable
it's by default a field with autogenerated getters and setters

not really sure how i feel about getters and setters in general.
but that is probably because i use Python primarily, where you can access any field.

is there actually security benefit to having private fields?
size() for java.util structures ๐ฅด
well, you choose which internal fields
this is true. @acoustic moss
it is just, if getters and setters are intended to be used for private fields that you choose to be accessible by said functions, what is the point of making those specific fields private?

actually maybe i could see some benefit if there needs to be other state changes if you change a field.
you can handle special logic in setters
yeahhhh




35253
128926
