#dev-general

1 messages Β· Page 520 of 1

prisma wave
#

tabComplete :: Player -> String -> [String] 😌

cinder flare
#

hey do I need a java default: break;

#

it just does that anyways right

prisma wave
#

mhm

#

as in no you don't need it

cinder flare
#

nice

#

hey what's the differences between enhanced and not enhanced switches

#

besides pretty arrow syntax

#

cause IJ suggested I do it for a switch case matching 1, 2

#

does it not have automatic fall through?

ocean quartz
#

It's closer to Kotlin's when

prisma wave
#

yeah it's more like a repeated if / else rather than switch-style semantics

cinder flare
#

so no automatic fallthrough and a pretty bracket enclosing things?

#

sounds amazing

prisma wave
#

mhm

cinder flare
#

I gotta say, I really like brackets

#

It's hard to tell when cases ended cause they just use a colon

obtuse gale
#

ugh I kinda need a TriFunction πŸ₯²

#

C++ templates 😩

cinder flare
#

hey uh, do you need to set like betterlife.warp.* permissions in your plugin

#

or does LP auto expand them

obtuse gale
#

in the plugin.yml?

cinder flare
#

yea

obtuse gale
#

yeah don't do that

cinder flare
#

oop nice

obtuse gale
#

LP will prioritize plugin-defined permissions over wildcards

#

so if you do, then you have to specify all the sub-nodes yourself

cinder flare
#

ah okay and we are not checking for those wildcards

#

so thank god

obtuse gale
#

lol

cinder flare
#

man why did I let this guy write this plugin smh

#

does it really make sense to have separate permissions for muting and unmuting?

obtuse gale
#

uh

#

good question

cinder flare
#

i mean surely not right?

#

if you have the power to punish, you obviously should be able to undo that punishment right

winter iron
#

Anyone know why I can't use my library i published to my maven local?

publishing {
    publications {
        create<MavenPublication>("mavenJava") {
            artifactId = "sentils"
            from(components["java"])
            versionMapping {
                usage("java-api") {
                    fromResolutionOf("runtimeClasspath")
                }
                usage("java-runtime") {
                    fromResolutionResult()
                }
            }
        }
    }
}

thats how im publishing the library and it shows in my .m2 folder fine

#

my dependency is correct too

#

implementation("me.senseiju:sentils:0.1.0")

obtuse gale
#

did you add mavenLocal() to your repositories?

winter iron
#

mhm

#

other repos in the mavenlocal are being picked up fine

#

mine just isnt

cinder flare
#

YOO

#

new switch is a new scope

#

that is exactly what I needed

old wyvern
#

What?

cinder flare
#

new switch syntax

#
switch (potato) {
  case chip -> {
    blah;
  }
old wyvern
#

You can already do that

#

Its just not a expression

#

In older ones

cinder flare
#

i mean I guess you can make arbitrary scopes

#

but this is part of it!

old wyvern
#

Mhm

#

Even in switch cases

cinder flare
#

mmm switch expressions

old wyvern
cinder flare
#

man maybe I'm starting to like Java again

old wyvern
#

😌

#

Now

steel heart
#

Java still needs a lot of stuff which kotlin already got imo

old wyvern
#

Time to switch to haskell

#

And soon to elara

cinder flare
#

yeah but I mean, with the new release schedule, and with Minecraft pushing everyone to the latest versions

ocean quartz
#

Excited for sealed classes in Java

cinder flare
#

what exactly are sealed classes good for?

#

I know it means you can restrict what can extend them right

steel heart
#

Yeah that’s good now just need a native combat adjust feature so 1.8 pvpers can’t say anything

old wyvern
cinder flare
#

so what does that actually like... mean

#

any examplse?

steel heart
cinder flare
#

hmmm okay

obtuse gale
cinder flare
#

I can't think of any time I've ever wanted a pseudo enum with generics

old wyvern
cinder flare
#

I mean is that often a problem?

old wyvern
#

Not always

ocean quartz
#

I can show you an example once IJ decides to stop indexing

old wyvern
#

But its a useful tool

obtuse gale
#

basically a "pre-defined list" of inheriting classes

ocean quartz
#

Ignore the serialization stuff @cinder flare

prisma wave
#

sum type 😌

#

aka tagged union

obtuse gale
#

DeezNuts 😌

prisma wave
#

aka discriminated union

prisma wave
#

P

obtuse gale
#

🀣

ocean quartz
prisma wave
#

i will discriminate you

cinder flare
#

okay so

#

is there a nice way to add commas between items when you're stringifying a list but not add a comma on the last one

prisma wave
#

the real benefit to the sealed unions is that you can do exhaustive pattern matching

cinder flare
#

using an enhanced for loop, that is

obtuse gale
#

String.join(", ", iterable)

prisma wave
#

no need to provide a default case if the compiler can prove you've covered all the cases 😌

cinder flare
#
        StringBuilder sb = new StringBuilder();
        for (String home : listOfHomes) {
            sb.append(home);
            if (i < listOfHomes.length - 1) {
                sb.append(", ");
            }
        }
        String prettyHomes = sb.toString();```
obtuse gale
#

😊

cinder flare
#

this is what I had

obtuse gale
#

lmao

cinder flare
#

well what was there

ocean quartz
#

A true goddess 😌

prisma wave
cinder flare
#

not my code

prisma wave
#

dont care

#

no excuses

old wyvern
#

Hang the witch

prisma wave
#

intercalate ", " listOfHomes 😌

old wyvern
#

😌

prisma wave
#

relieved

cinder flare
#

I'm fixing it just for you!

old wyvern
#

relieved indeed

cinder flare
#

this bad boy is gonna be so clean

#

I keep getting sidelined though lol

#

I see some terrible code and I want to Java 16-ify it

old wyvern
#

Lambdas

#

Now we just need compositions in java

prisma wave
#

Function#compose πŸ₯΄

old wyvern
#

Thats only for a single argument

#

Unless I wanan write curried lambdas myself

ocean quartz
#

intercalate
I can't stop pronouncing the last part like spanish's "CΓ‘llate"

old wyvern
#

That doesnt help

obtuse gale
#

xD

prisma wave
#

cah late

old wyvern
#

Kuh leayte

prisma wave
#

Β―_(ツ)_/Β―

#

english confusing

ocean quartz
#

It's too late now, i'll forever say inter callate

old wyvern
#

πŸ˜”

prisma wave
#

you probably can say that

cinder flare
#

god I am in love with new switch syntax

#

no breaks

cinder flare
#

god it's glorious

old wyvern
#

Reminds you of some other languages?

#

Haskell

#

Case expressions

prisma wave
#

😌

cinder flare
#

yeah or Kotlin

ocean quartz
old wyvern
#

Kotlin bad

prisma wave
cinder flare
#

what year is this

prisma wave
#

F# match n with 😌

old wyvern
#

1342

old wyvern
old wyvern
#
{int, X} = var```
#

😌

ocean quartz
#

Wtf is the objective c headers?

prisma wave
#

😌

old wyvern
#

Pattern matching on drugs

#

Sums up erlang

#

To the point where it just likes crashing if the pattern doesnt match

#

πŸ₯²

prisma wave
#

classic

cinder flare
#

okay so why does converting a keyset of Strings to an array make it an Object[]

#

how does that make sense

prisma wave
#

erasure ig

#

you can safely cast it though

obtuse gale
#

wdym?

#

with toArray?

#

you can do something like set.toArray(new String[0]) which is ugly but does the job lol

cinder flare
#

yeah I just casted it in front cause it seems clearer to me

#

also are permission lookups cheap?

obtuse gale
#

context?

cinder flare
#

doing permission lookups for tab completion

#

like a lot lol

#

worth trying to cache?

obtuse gale
#

nah don't worry

cinder flare
#

okay sick

#

LP is so convenient

#

I feel so relieved that it's handling all this stuff for me lol

obtuse gale
#

Wait until you get to use the LP API 😍 😌

cinder flare
#

wait are tab completions alphabetical lmao

#

nice

obtuse gale
#

Yeah that's a client thing I believe

cinder flare
#

stupid clients

#

var listOfHomes = homeList.keySet().toArray(String[0]);

#

that should work right

obtuse gale
#

Yeah

#

Why an array tho

cinder flare
#

well it ain't

#

cause I access indices

#

can't do that with an unordered set

obtuse gale
#

Also yeah no, new String[0], and consider using an actual List (most collection constructors take another collection to take elements from)

cinder flare
#

consider using a list where?

obtuse gale
#

Instead of an array

cinder flare
#

how would I do that

obtuse gale
#

new ArrayList<>(homeList.keySet()) or something

cinder flare
#

ah okay

obtuse gale
#

STAR

cinder flare
#

what what

obtuse gale
#

Why are you here!!!

cinder flare
#

omg you scared me

#

i thought I had somewhere to be or something

obtuse gale
#

Lol

cinder flare
#

look at all those rainbow brackets!

obtuse gale
#

Also homeList is kinda misleading, it's not a list

cinder flare
#

it is now

obtuse gale
#

They look fancy tho

cinder flare
#

right they are so pretty

ocean quartz
cinder flare
#

ohhh yeah classic number sorting issue

#

guess you gotta make em 01 lmao

obtuse gale
#

Classic JS "number" sorting kek

ocean quartz
#

Gotta love it

cinder flare
#

okay so Server#getOfflinePlayer(String name) is deprecated

#

how am I supposed to go about getting a player referenced in a command?

obtuse gale
#

You can use offlineplayer if bungee ip forwarding is enabled

#

Or you can cache a uuid to name in memory or database

cinder flare
#

oh snap you're right

#

I already have a database entry for every user that's ever played

obtuse gale
#

Idk I’d keep it in memory tbh

cinder flare
#

every player that's ever played?

obtuse gale
#

With redis yes just uuid to string

cinder flare
#

well redis is beyond the scope of my current level of awakeness

obtuse gale
#

Lol it’s very easy try out redisson

onyx loom
#

with that ud also have to update any player name changes

obtuse gale
#

That’s why you keep uuid as the key

#

And update it every time they join

onyx loom
#

yea

obtuse gale
#

Or simply load from database into a map. Same shit

prisma wave
#

thoughts?

onyx loom
#

pog

prisma wave
#

hot

#

a long way to go

#

you have to spend so long explaining the obvious

obtuse gale
#

You like that freedom don’t you brist

prisma wave
#

freedom?

#

how do you mean

cinder flare
#

oh god I don't store their names

#

Just their UUIDs

#

whelp back to deprecated method for now boys

onyx loom
#

the simplest way would be to loop through Bukkit#getOfflinePlayers

#

altho probably isnt the most efficient way going

cinder flare
#

pretty sure that's what the deprecated method does

onyx loom
#

without the mojang query if it cant be found, yea

cinder flare
#

ahhh

frail glade
#

I don't store name either, it's okay.

cinder flare
#

is there not a "search through getofflineplayers without querying mojang" method

onyx loom
#

nope ☹️

frail glade
#

In paper there is

cinder flare
#

grrrr spigot

onyx loom
#
fun String.getPlayer(): OfflinePlayer?
{
    return Bukkit.getOfflinePlayers().firstOrNull { this == it.name }
}

i created a nice extension function just to replace the deprecated one πŸ™‚

frail glade
#

I actually just solved a big issue pertaining to this and tab completions in Guilds last update

cinder flare
#

ah smart Glare back at it again

frail glade
#

Well, not so smart. I was on-demand doing massive amounts of get offline players without caching πŸ˜‚

onyx loom
#

πŸ₯Ά

cinder flare
#

well smart Glare now! for realizing the issue and implementing a top-tier fix

#

Guilds seems to be a pretty solid plugin from what I hear

frail glade
#

Before / After the patch

cinder flare
#

25% holy crap

frail glade
#

400 players in the guild

#

Or something like that

#

Totally was oblivious to it not caching

forest pecan
#

Ahaha those stupid people who use reflection for NMS can suffer now since the new 1.17 uses the different package names

frail glade
#

Mfw server expansion

cinder flare
#

haha

#

supporting only 1.17+ gang where you at

#

It's a real nice day to be us

obtuse gale
frail glade
#

Yeah

obtuse gale
#

that does not necessarily mean "every user that's ever joined" like Bukkit.getOfflinePlayers tho

forest pecan
#

instead of fucking using reflection

frail glade
#

If the cache is not expired, no.

cinder flare
#

if it queries mojang

cinder flare
#

it really brings code together

forest pecan
#

mhm

#

also now that we can pass data directly into the constructor

#

its much faster compared to reflection

cinder flare
#

of course!

#

class org.bukkit.craftbukkit.v1_17_R1.CraftOfflinePlayer cannot be cast to class org.bukkit.entity.Player (org.bukkit.craftbukkit.v1_17_R1.CraftOfflinePlayer and org.bukkit.entity.Player are in unnamed module of loader 'app')

#

excuse me

obtuse gale
#

"it fails" is a bit extreme

cinder flare
#

I can't cast OfflinePlayer to Player?

obtuse gale
#

"if it finds nothing"

frail glade
#

It has a nullable get player method

obtuse gale
#

mhm

cinder flare
#

weird but okayt

obtuse gale
#

OfflinePlayer#getPlayer and null check or if you really want to cast for some reason, OfflinePlayer#isOnline exists

cinder flare
#

if I found them in the list of BukkitOfflinePlayers, surely they must not be null right

obtuse gale
#

Bukkit.getOfflinePlayer will never return null, no

cinder flare
#

getOfflinePlayers

#

I'm iterating through my cache or whatever

obtuse gale
#

oh yeah those will never be null no

#

they are loaded from the world playerdata

cinder flare
#

Objects.requireNonNull here I come

obtuse gale
#

wait wtf are you doing

cinder flare
#
                            for (OfflinePlayer ofp : Bukkit.getOfflinePlayers()) {
                                if (args[1].equals(ofp.getName())) {
                                    sendListOfHomes(Objects.requireNonNull(ofp.getPlayer()), player);
                                    return true;
                                }
                            }```
frail glade
#

That's going to cause problems if a server has had a lot of players on it btw

cinder flare
#

well whatever

obtuse gale
#

uhm yeah you'll probably want to load it at startup

cinder flare
#

literally 0 people use this plugin

obtuse gale
#

lmao

cinder flare
#

i'll fix it if someone actually downloads it

frail glade
#

That's how the Vault expansion started crashing massive servers πŸ˜‚

cinder flare
#

i'm just trying to repair everything okay πŸ₯²

#

yeah but people use the Vault expansion!

#

literally not a single real person has ever used this plguin

forest pecan
#

I will

obtuse gale
#

You see, I had published my plugin on spigotmc with that same expectation

cinder flare
#

no wait

obtuse gale
#

Turns out it now has over 2k downloads

#

πŸ₯²

#

and it's shit

cinder flare
#

this bad boy ain't even on spigotmc emilyy

#

github only

frail glade
#

Life would be so much nicer if the eCloud was designed based on MC version

forest pecan
#

i still havent released to spigotmc either too lol

onyx loom
#

ecloud v2 πŸ₯Ί

obtuse gale
forest pecan
#

does paper have a paid marketplace

obtuse gale
#

won't

#

well

obtuse gale
#

idk what i'm talking about

#

glare knows

#

idk

obtuse gale
#

we told you

cinder flare
#

is Player not a superclass of OfflinePlayer

obtuse gale
#

Player is a *sub-*class of offlineplayer

onyx loom
#

Player is only for online players

obtuse gale
#

Player extends OfflinePlayer

cinder flare
#

a sub

#

well that's not how I thought it was

#

alright well

#

OOP comes in handy a little

forest pecan
#

Lmao protocolib is omega fucked

#

the developers tho if they wake up

#

xD

cinder flare
#

I hope they can unfuck themselves cause they're kind of the backbone of like half the plugins in existence

forest pecan
#

Yeah

#

but its not like you can virgin yourself back am i right

#

/s

obtuse gale
cinder flare
forest pecan
#

correction

#

i meant virgin yourself back

cinder flare
#

there you go

forest pecan
#

lmfao

ocean quartz
#

Can't wait for it to break my plugin and people start complaining, i ain't updating it

forest pecan
#

which one

#

Lol

ocean quartz
#

Citizenscmd

forest pecan
#

Lmao

cinder flare
#

ah classic

#

they seem like the kind of crowd to get on your back about it too

obtuse gale
#

waiting for paper 😩

cinder flare
#

man it can't come soon enough

#

every time I have to wait like 30 seconds for spigot to load my world I regret all my choices

obtuse gale
#

!!!

#

paper is like

cinder flare
#

I just got caught up in all the excitement and now I can't stop

obtuse gale
#

instant

cinder flare
#

I know!

obtuse gale
#

there's a dev/1.17 branch

#

the CI, all failed lmao

ocean quartz
#

Speaking of excitement who of you would like to participate in a plugin development contest? πŸ‘€

obtuse gale
cinder flare
#

yeah I was gonna say

#

sounds kinda spoopy

obtuse gale
#

πŸ™‹β€β™€οΈ

cinder flare
obtuse gale
#

shit that emoji is ugly as fuck

#

what

cinder flare
#

also yes that would be fun

#

would it possibly be team-based?

prisma wave
#

could be cool

#

πŸ‘€

obtuse gale
#

shut up weeb we are not doing haskell

prisma wave
#

team based sounds more fun

#

WHAT

#

i didnt say anything

obtuse gale
#

haskell is BANNED

prisma wave
#

too bad no jvm interop πŸ˜”

cinder flare
#

I mean I wouldn't say banned

#

good luck if you can get it to work though lmao

prisma wave
#

haskell script engine πŸ˜ƒ

obtuse gale
#

lmao

#

HaskellScript

ocean quartz
#

Yeah I'd like it to be solo/team maybe max of like 3 people

cinder flare
#

yea configuration for the plugin is based on Haskript

#

well Matt I think you got the support of the one person who didn't know about it yet, so I'd say job well done

#

Anyone else active on this server wanna chime in?

obtuse gale
lunar cypress
#

ci failed kekw

cinder flare
#

Johnny

obtuse gale
cinder flare
#

would you want to do a plugin development competition

#

possibly in teams

lunar cypress
#

uhh

prisma wave
#

clojure πŸ‘€ πŸ‘€ πŸ‘€ πŸ‘€ πŸ‘€

lunar cypress
#

I'm afraid I wouldn't have time for that

cinder flare
#

hmmm

lunar cypress
#

Or at least I'd have to find time somewhere

frail glade
#

@ocean quartz You up?

forest pecan
#

do existing projects count

cinder flare
half harness
#

lol

static zealot
#

he's pretty down

forest pecan
#

nah

#

he's pretty east

static zealot
#

btw Matt I would 100% participate bcz I'm that good

ocean quartz
prisma wave
#

i was lurking

#

i saw the msgs

cinder flare
#

Ah okay true true, we can assemble the crowds

#

I mean I think it can't hurt

ocean quartz
cinder flare
#

we know all the main bois would participate

forest pecan
#

emilyy, conclure, i

ocean quartz
prisma wave
forest pecan
#

lol

frail glade
#

Yo can you update mg-gui? 1.17 support came out on XMat and I am getting errors.

prisma wave
#

get sxtanna back to join a team

#

😩

ocean quartz
#

Sure thing

cinder flare
#

oh shit yeah wait am I gonna be stuck on like a shitty team or by myself because nobody wants to be my partnert

#

maybe I don't want this lmao

obtuse gale
#

lmao

prisma wave
#

nah

forest pecan
#

/s

prisma wave
#

u can join the best team

half harness
#

kotlin fingerguns

prisma wave
#

gross

#

we will be running full stack clojure and jython

cinder flare
#

oh god

#

web server and all lmao

prisma wave
#

ofc

forest pecan
#

lmao i will just rewrite my media plugin for the contest

#

xD

ocean quartz
prisma wave
onyx loom
#

gojure 😌

forest pecan
#

lol

half harness
#

actually

#

probably not

cinder flare
#

Pulse using this as an unironic opportunity to improve his real plugin

#

WHAT

forest pecan
#

Yes

#

Lmao

cinder flare
#

dkim wtf

prisma wave
half harness
cinder flare
#

why not

ocean quartz
#

Damn, sad

half harness
cinder flare
#

yeah neither do I

#

that's why you join a team

half harness
#

plus

obtuse gale
#

lmao

ocean quartz
#

It's based on a theme

onyx loom
#

gojara 😌

cinder flare
#

and it's based on a theme!

forest pecan
lunar cypress
#

and it's based!

half harness
#

i'm very good at quitting projects in the middle of doing them

prisma wave
#

i want star emily and redempt on a team

half harness
#

and also very good at procastinating 🀑

prisma wave
#

the squad

#

ez win

forest pecan
#

bruh wot

obtuse gale
#

redempt

#

ho

forest pecan
#

not conclure or me

cinder flare
#

redempt

static zealot
cinder flare
#

is he even alive

#

wtf

prisma wave
#

not in this server

#

but yea

forest pecan
#

dead boi

prisma wave
half harness
#

not me πŸ˜”

cinder flare
#

emilyy, myself, and pulse I think would be a slammin team

forest pecan
#

/s

static zealot
#

dw boys. the rest of you can be in my team

forest pecan
#

We all love you dkim

static zealot
#

all of u. no exception

forest pecan
#

❀️

half harness
#

ill make sure to make the plugin part java and part kotlin 🀑

cinder flare
onyx loom
prisma wave
#

i did

forest pecan
#

Kaliber

obtuse gale
#

idk man I kinda wanna be with Star for sure πŸ‘€

forest pecan
#

dont join haskell ganger

prisma wave
onyx loom
#

oh i absolutely would

#

haskell 😌

prisma wave
#

grr

static zealot
#

so no one wants to be in a team with a <@&346970042854014978> and <@&164528648873836544>?

cinder flare
#

oh I thought it was 3 person max teams

forest pecan
#

you will be raped Kaliber

prisma wave
#

idk

forest pecan
#

by monads

static zealot
#

Kaliber for sure will join me

prisma wave
#

if it is then we can kick redempt off :))

half harness
cinder flare
#

hmmm I see

#

well this is really awkward

obtuse gale
static zealot
#

I did.

#

but it didn't work

half harness
static zealot
#

smh xD

half harness
cinder flare
#

wait emilyy are you prepared to vc for this

#

cause this shis it serious

#

NOOOO

half harness
#

ive got no mic, i use kotlin, im lonely πŸ˜”

cinder flare
#

sed has failed me

static zealot
#

yooo wtf is this? xD

half harness
obtuse gale
static zealot
#

I gotta count how many dashes are in there

#

ffs

half harness
static zealot
#

just put in a random number of them. hopefully its fine xD

cinder flare
#

I did s/it/is and it changed my shit instead of my second it

static zealot
#

nope didn'ty work

obtuse gale
#

lmao

#

oh that's a thing right

prisma wave
#

M-x replace-text πŸ™‚

static zealot
#

who the fuck is training AI to read receipts tho?

lunar cypress
cinder flare
#

but yeah dude I can totally get behind emilyy, BM, and I hopping into a VC and slamming out a plugin

cinder flare
forest pecan
#

did you know if you type :shit the poop comes up

obtuse gale
#

yes?

half harness
#

yes

obtuse gale
#

lmao

forest pecan
#

Lol

cinder flare
#

I know I'm certainly putting off logging back in to gentoo because I have to compile my WM lmao

static zealot
#

no?

half harness
#

πŸ’©

forest pecan
#

did discord add this purposely

#

πŸ’©

onyx loom
#

oh yeah i noticed that the other day lol

static zealot
cinder flare
#

lmao

#

that's my shit emoji

forest pecan
#

shitcord

half harness
#

:hankey:

forest pecan
#

im happy that his year i got open campus

#

im not even a junior or senior yet its cause of covid πŸ‘€ πŸ‘€ πŸ‘€

cinder flare
#

you're sophomore

#

how disgusting

forest pecan
#

i am a

#

frosh

#

right now

cinder flare
#

shhh, I am also a sophomore, do not tell anyone

forest pecan
#

but soph next year

cinder flare
#

oh

#

what

#

ah I see

forest pecan
#

i have some friends that are going to be seniors next year 😭

#

i dont want them to go

cinder flare
#

see but I'm about to be a sophomore in college

#

not some plebeian in high school

lunar cypress
#

idk what any of these terms mean

forest pecan
#

I am tall

#

I am no plebian

lunar cypress
#

cope

forest pecan
#

I am taller than my junior friends

#

Lol

obtuse gale
#

star smol

#

:hehehaha:

forest pecan
#

smh

#

star short

obtuse gale
#

Brigadier has SuggestionsBuilder#suggest(String) and SuggestionsBuilder#suggest(int), it's quite possible integer suggestions are sorted numerically

cinder flare
obtuse gale
#

hhhhhhhhhhhhhhhh

lunar cypress
#

I don't know what the fuck a foot is anyway

cinder flare
lunar cypress
#

cute

cinder flare
#

cute?

#

how tall are you mate

ocean quartz
lunar cypress
#

yep that's me

#

I'm 1,92m

onyx loom
#

😳

cinder flare
#

i'm not too tall

ocean quartz
#

Same

cinder flare
#

but tall enough for most purposes

#

and i'm not cursed like my friend who's 6'3 and has a bendy spine lmao

lunar cypress
#

don't call me out like that

cinder flare
#

oh do you have a bendy spine lmao

lunar cypress
#

no

forest pecan
#

you can go suck me

jovial warren
lunar cypress
#

idk what qualifies as a bendy spine

cinder flare
cinder flare
lunar cypress
#

oh no

#

not yet πŸ₯²

cinder flare
#

oop

forest pecan
#

did you shrink

#

πŸ’€

cinder flare
#

no I don't think so

#

I'm just saying you're still lame compared to me

#

despite your 1" advantage lmao

jovial warren
#

gonna be nice when your old enchanting tables get upgraded to "minecraft:enhanting_table" and then the new version is like wtf is this lol

cinder flare
#

what did they used to be

lunar cypress
#

pulse is the toughest 8 grader

cinder flare
#

haha lmao

forest pecan
#

*9

half harness
#

lol

forest pecan
#

I am big man

jovial warren
#

"EnchantingTable" is what "minecraft:enhanting_table" is mapped to in schema version 99

#

I'm implementing data fixers into Krypton lol

cinder flare
#

wait what now

#

did they change the mapping or something

jovial warren
#

wdym

#

schema 99 is old

cinder flare
#

see I have no idea that it is

jovial warren
#

just to put this into perspective, the current world data version is 2724

forest pecan
#

they reverted back to like obfuscated stuff

#

and you have to apply the mappings

#

manually

cinder flare
#

hmmm

jovial warren
#

what

obtuse gale
#

wat

jovial warren
#

man, so many plugins are gonna break on Paper with 1.17 due to them using Mojang mappings I swear

forest pecan
#

It seemed to be like that tho when I used the spigot nms

cinder flare
#

I mean the only thing i had to change about my plugin was the PATH material lmao

#

everything else works fine

forest pecan
#

I had to mainly change the way how i extended packets

jovial warren
#

imagine having to access server internals directly though just to do what you want

forest pecan
#

to differentiate between normal packets and my own

forest pecan
#

i just used a weak hash set

jovial warren
#

imagine having an API that bad

obtuse gale
#

Imagine not using Fabric 😌

cinder flare
#

wtf is a weak hash set

forest pecan
#

you know weakhashmap

#

right

jovial warren
#

a hash set with weak keys?

frigid badge
#

imagine mc at all

obtuse gale
#

a hash set with weakreference keys

cinder flare
#

no I don't know what weak keys are

obtuse gale
#

keys kek

jovial warren
#

a weak reference is one that can get GC'd if it's not used

obtuse gale
#

with weakreferenced elements

cinder flare
#

wouldn't you want that for everything

obtuse gale
#

not necessarily?

cinder flare
#

I guess not for caches

prisma wave
#

imagine needing weak references 😌

cinder flare
#

but for most everything else

forest pecan
#

i have to use a weakhashset cause i dont want to manually remove it if its unused lmao

cinder flare
#

very smart

#

#29 BOIS

#

thank god I am an idiot

#

look at all this xp I'm getting

jovial warren
#

a weak reference will basically count as no reference to the garbage collector, and any object that only has weak references to it at garbage collection time will be dumped

jovial warren
#

MML cross-platform when

forest pecan
#

when i know how to actually use gradle

#

πŸ₯²

obtuse gale
#

lmao

steel heart
#

pulse do be using maven under da hood

forest pecan
#

shut

jovial warren
#

you what

forest pecan
#

with mods like fabric or forge tho, i have much more freedom

#

like i dont have to necessarily use maps, i could just create my own block tbh

#

lol

prisma wave
#

has anyone ever used \f ever

obtuse gale
#

yes

prisma wave
#

why

obtuse gale
#

idk

#

wasn't me though

prisma wave
#

for what purpose

#

i kinda cba to add it to the elara spec

obtuse gale
#

surely someone has used it

prisma wave
#

oh

cinder flare
#

what's it for?

prisma wave
#

it seems really outdated

#

some sort of old fashioned newline i think?

#

i am pretty much copying the java spec word for word

#

but

cinder flare
#

ah form feed

prisma wave
#

some of these characters seem so useless

#

yeah

cinder flare
#

it skips to the start of the next page on printer-based terminals

obtuse gale
#

elara back on track? :o

cinder flare
#

yea dude did you not see

prisma wave
#

we're back in action

cinder flare
#

elara better have really cute switch syntax

prisma wave
#

it will

cinder flare
#

that's the only thing that'll get me to switch

#

(heh)

prisma wave
#

probably like rust's but with haskell

#
match expr 
  a -> blah
  b -> blah
#

or something like that

#

idk

cinder flare
#

ah yea yea

prisma wave
#

havent thought too much about it yet

onyx loom
#

are we keeping =>

prisma wave
#

maybe

#

well kinda

cinder flare
#

are you just making rust but a little different and with no borrow checker

prisma wave
#

it's rust + haskell at this point

prisma wave
#
  • a bit of js and things thrown in for fun
#

and f# / ML

#
let add x y = x + y
``` 😌
cinder flare
#

what parts of JS could possibly be desirable

prisma wave
#

uh

#

the lambda syntax will probably be kinda similar to js's

cinder flare
#

I mean okay I guess

#

I just wouldn't list JS as a major design influence, is all

prisma wave
#

mhm

#

originally it was rust + java + js + kotlin

#

but we realised that trying to make a functional language when you have no idea how FP works isn't the best idea

onyx loom
#

uve been enlightened since then 😌

prisma wave
#

😌

#

man

#

frigga was actually kinda hot

onyx loom
#

lol

prisma wave
#

some of these

#

groundbreaking

onyx loom
#

softwarepantheon tf

prisma wave
#

yeah lmao

onyx loom
#

that went well

prisma wave
#

was gonna be an org of software named after norse gods

#

but like

#

sx didn't move odin over

#

so it kinda died

onyx loom
prisma wave
#

☹️

jovial warren
onyx loom
#

Renamening

#

😌

prisma wave
#

barely "functional", sure

#

but nice

old wyvern
#

How about we rename Elara Org to Stellar

#

Or Celestial

prisma wave
#

hmm

old wyvern
#

And name everything after celestial bodies

winter iron
#

😦

prisma wave
onyx loom
#

not before i steal it!

prisma wave
#

frowning 2

lunar cypress
#

thumbs up

jovial warren
old wyvern
onyx loom
#

yo whats the command to run a clean shadow build with gradle again?

old wyvern
#

gradlew clean shadowJar?

#

just write down the tasks you want separated by space

onyx loom
#

damn i wasnt using the wrapper, ty

forest pecan
cinder flare
ocean quartz
#

Ah, yup, 1.17 breaks mf-gui πŸ₯²

cinder flare
#

Well get on it!

#

I was just about to use it

ocean quartz
#

😫

forest pecan
ocean quartz
#

NBT reflection

forest pecan
#

o

ocean quartz
#

Simple fix i think, just gonna use PDC for 1.14+

cinder flare
#

you weren't already?!?

forest pecan
#

πŸ’€

ocean quartz
#

Nah, since I needed NBT in older versions I had my own NBT lib, and it worked on newer versions so i didn't bother to change lmao

cinder flare
#

hmmm MF-NBT huh

sly turtle
#

K I'm sorry I had to send this to you but now that you have opened it you can't stopped reading this. Hi my name is Teresa Fidlago I died 27 years. If you don't send this to 20 people I will sleep by your side forever. If you don't believe me search me up. Teresa Fidlago. So send this to 20 people. A girl ignored this and her mom died 20 days later. NO SEND BACKS!!!! #copied. Sorry I had to send this. Btw this is not fake search her up on google. Someone send me this and i had to do the same, i’m taking no risk of ignoring this message tell me why this keeps happening. another grandma read this and sent it to 20 people but the internet went of on 19. She was found cut into 5 pieces after 1 day. Make sure you send all 20

Help!!!!!! PLZ what is this plz im sorry if this is bad 😦

forest pecan
#

lmao what

#

Oh

#

copypasta

#

xd

obtuse gale
#

uh please tell me you don't actually believe that is true and this is all a joke

sly turtle
#

wat tat

onyx loom
#

seriously intriguing

cinder flare
ocean quartz
#

Lol

obtuse gale
cinder flare
#

please send your cut up grandma stories in #off-topic

onyx loom
#

or just nowhere please

obtuse gale
#

lmao yea

sly turtle
#

ok

#

sorry

ocean quartz
#

What year is this where people are sending this kinda thing lmao

onyx loom
#

lmao

cinder flare
#

this guy really woke up the day after 1.17 drops and went "shitty copypasta"

obtuse gale
onyx loom
#

🌞

half harness
#

🌞

cinder flare
static zealot
cinder flare
#

man I am so glad I'm in that discord

#

that is a top-tier emote

static zealot
#

only good emotes will come from that server

#

just like

half harness
#

πŸ˜”

static zealot
half harness
#

what server?

static zealot
#

best server

cinder flare
half harness
static zealot
#

come and sit on my couch

half harness
#

pog

jovial warren
#

25 GB/Month free as well pog

prisma wave
# sly turtle K I'm sorry I had to send this to you but now that you have opened it you can't ...

K I'm sorry I had to send this to you but now that you have opened it you can't stopped reading this. Hi my name is Teresa Fidlago I died 27 years. If you don't send this to 20 people I will sleep by your side forever. If you don't believe me search me up. Teresa Fidlago. So send this to 20 people. A girl ignored this and her mom died 20 days later. NO SEND BACKS!!!! #copied. Sorry I had to send this. Btw this is not fake search her up on google. Someone send me this and i had to do the same, i’m taking no risk of ignoring this message tell me why this keeps happening. another grandma read this and sent it to 20 people but the internet went of on 19. She was found cut into 5 pieces after 1 day. Make sure you send all 20

Help!!!!!! PLZ what is this plz im sorry if this is bad frowning

ocean quartz
#

Smh

static zealot
#

We’re a young and dynamic team of messy data-scientists who have failed at being employed on the real market.

#

love it

prisma wave
#

FerΒ·nanΒ·do PΓ³Β·o

jovial warren
cinder flare
#

fernondo Poo

lunar cypress
#

Is it really supposed to be "Fidlago"?

jovial warren
#

I think it's Fidalgo

ocean quartz
#

Yeah lmao

lunar cypress
#

I thought so

cinder flare
#

yeah that sounds more like a real name lmao

#

A CURVA

lunar cypress
#

That is a polish insult

jovial warren
#

just that thumbnail alone gives you the creeps lol

ocean quartz
#

Ah they are Portuguese lmao

lunar cypress
#

I clicked on this one video that kept popping up in my recommended yesterday about "The Wrath of Jodi" or something and now I've fallen into a true crime youtube hole and can't get out

prisma wave
onyx loom
lunar cypress
#

Whatthefuckdidyoujustfuckingsayaboutmeyoulittlebitch

obtuse gale
#

K I'm sorry I had to send this to you but now that you have opened it you can't stopped reading this. Hi my name is Teresa Fidlago I died 27 years. If you don't send this to 20 people I will sleep by your side forever. If you don't believe me search me up. Teresa Fidlago. So send this to 20 people. A girl ignored this and her mom died 20 days later. NO SEND BACKS!!!! #copied. Sorry I had to send this. Btw this is not fake search her up on google. Someone send me this and i had to do the same, i’m taking no risk of ignoring this message tell me why this keeps happening. another grandma read this and sent it to 20 people but the internet went of on 19. She was found cut into 5 pieces after 1 day. Make sure you send all 20

Help!!!!!! PLZ

onyx loom
#

u hEaRd Me !11!!11!1

lunar cypress
#

I will sleep by your side forever
So?

old wyvern
#

K I'm sorry I had to send this to you but now that you have opened it you can't stopped reading this. Hi my name is Teresa Fidlago I died 27 years. If you don't send this to 20 people I will sleep by your side forever. If you don't believe me search me up. Teresa Fidlago. So send this to 20 people. A girl ignored this and her mom died 20 days later. NO SEND BACKS!!!! #copied. Sorry I had to send this. Btw this is not fake search her up on google. Someone send me this and i had to do the same, i’m taking no risk of ignoring this message tell me why this keeps happening. another grandma read this and sent it to 20 people but the internet went of on 19. She was found cut into 5 pieces after 1 day. Make sure you send all 20

Help!!!!!! PLZ

ocean quartz
lunar cypress
#

kekw

prisma wave
#

K I'm sorry I had to send this to you but now that you have opened it you can't stopped reading this. Hi my name is Teresa Fidlago I died 27 years. If you don't send this to 20 people I will sleep by your side forever. If you don't believe me search me up. Teresa Fidlago. So send this to 20 people. A girl ignored this and her mom died 20 days later. NO SEND BACKS!!!! #copied. Sorry I had to send this. Btw this is not fake search her up on google. Someone send me this and i had to do the same, i’m taking no risk of ignoring this message tell me why this keeps happening. another grandma read this and sent it to 20 people but the internet went of on 19. She was found cut into 5 pieces after 1 day. Make sure you send all 20

Help!!!!!! PLZ

half harness
prisma wave
#

😌 😌 😌 😌 😌 😌 😌 😌 😌 😌 😌 😌 😌 😌 😌

steel heart
#

did u refactor ur name

prisma wave
#

Not me

#

Simon

#

Our great lord

steel heart
#

oh no

#

no

#

PLS

#

NOOOOOO

prisma wave
#

The wise people of twitter.com are finally recognising his hard work 😌 😌

onyx loom
#

in reality:

ocean quartz
#

@obtuse gale If we can get enough people i'd like to do it like july or so, when people are on holidays

obtuse gale
#

No

#

Let's keep adding conversations

ocean quartz
#

Oh sure lmao

onyx loom
#

"Support" Role

obtuse gale
#

🌞

prisma wave
#

close enough

old wyvern
#

🌞

forest pecan
#

Does anyone know some good kitchen sink modpacks that are fun to play with friends

#

We played skyfactory 4 already, and it was super fun

half harness
#

kitchen sink?

forest pecan
#

im looking for something not skyfactory or stoneblock

forest pecan
half harness
forest pecan
#

its a term used to describe modpacks that dont really

#

like force you

#

to do stuff

#

like you have the freedom

gusty glen
#

like "grinding"?

forest pecan
#

I mean yeah sure

#

I ended up choosing ftb revelation

#

seems pretty solid

oblique heath
#

like the phrase "everything but the kitchen sink"

obtuse gale
#

funicube

#

i saw that

ocean quartz
#

Ayy, kinda ugly right now, but at least got it working on 1.17, now tomorrow i'll make it better 😩

#

@frail glade πŸ‘€

frail glade
#

Ayy

obtuse gale
#

Rainbow Title 🌚

ocean quartz
#

Shhh

#

I should make mf-gui abstract for fabric πŸ‘€

obtuse gale
#

oh i don't know if i want to mess with inventories on fabric

#

inventories on bukkit scared me enough

#

i kinda want to play with it

ocean quartz
#

Tbh if there was no InventoryHolder bukkit would be horrible

obtuse gale
#

ooh

#

there's an InventoryOwner

#

you can pass the items already :0

#

YO WHAT

ocean quartz
#

Ho ho, i like that
Tomorrow i'll def try it, sounds fun

obtuse gale
#

one thing you can pretty much be guaranteed about working on fabric

#

reference equality

#

there are no "api bridging wrappers" that fuck that shit up

frail glade
#

So getting the ping of a player broke in 1.17 on the Player Expansion. Anyone want to take a shot at fixing it?

obtuse gale
#

because technically there is no api :^)

frail glade
#

Getting the handle and then ping is returning null.

obtuse gale
#

oh bukkit and the new nms mappings

#

fun

frail glade
#

Lol it might have never actually worked in the first place after talking to someone.

quiet depot
#

it did work

frail glade
#

Weird, it's always returning 0 for me.

#

(I'm not on localhost)

#

Oh wait now it works

frail glade
quiet depot
#

I thought you said it doesnt'w ork

frail glade
#

On 1.16.5

frail glade
#

On 1.17 it doesn't

quiet depot
#

o

#

we'll also need to fix it for papi 3

frail glade
quiet depot
#

lel

#

96gb

obtuse gale
#

that's what happened

#

so it's basically the "original" name mojang obfuscated it with

frail glade
#

So even though it's using org.bukkit.Player I need to get it from net.minecraft.world.entity.player.Player;?

obtuse gale
#

it's under eeeee

#

net.minecraft.server.level.EntityPlayer

#

weird location but okay

#

as of today, it's int e

#

but it could change anytime Β―_(ツ)_/Β―

#

although in all fairness, that was always a concern to have in mind

frail glade
#

It's too late for me to have this IDE open. I can give it a fresh pair of eyes tomorrow.

obtuse gale
#

md5 knew about all this and prepared this maven plugin so we can dev using debfuscated jars but when built they are reobfuscated

#

which as you know the paper peeps are doing this paperweight gradle plugin as a gradle equivalent

frail glade
#

Oh, I know how to fix this.

obtuse gale
#

that would make things much easier

frail glade
#

I'll do it when I wake up.

obtuse gale
#

:o?

frail glade
#

A little birdie just told me how πŸ˜›

ocean quartz
#

God bless the paper peeps

visual falcon
# quiet depot 96gb

Yea I logged in and left it running for good 3 hours on accident... came back to the console spamming every 1ms thinking the server was killed but it was just "ping" lol

obtuse gale
#

it's funny

#

looking at the final jar now you can tell what is added and what is untouched

#

simply by looking at the field/method/variable names

visual falcon
#

I also heard JSEngine plugin brings the "Nashorn Script Engine" back not sure if you guys looked into that. I know some plugins I use are switching to that for now.

quiet depot
#

looked into it for PAPI?

#

we're not interested in using nashorn for the js expansion

#

we're using a java binding for v8

visual falcon
#

Ah

quiet depot
#

people have wanted es6 support in the js expansion before nashorn was deprecated

frail glade
#

Okay yeah I should be able to write a fix for that in the morning.

#

It's just late.

#

And I worked for 10 hours today. Don't really want to be at my PC much longer.