#dev-general

1 messages · Page 469 of 1

pale shell
#

?

onyx loom
#

kotlin has been preached here for atleast a year

#

yes, preached. lol

pale shell
#

First i've heard of thonking

ocean quartz
#

Way more

onyx loom
#

exactly

pale shell
#

Interesting

obtuse gale
#

lol I was reading this commend on SO about this "generic" hash function pattern IJ plugs when you create the hashCode method, y'know the pattern:

int res = first.hashCode();
res = res * 31 + second.hashCode();
res = res * 31 + third.hashCode();
// ...
return res;

And I love how it says "no-one really knows why it works well, but it does"

forest pecan
ocean quartz
#

Lmao @obtuse gale

forest pecan
#

minecraft is dumb

ocean quartz
#

What is that for Pulse?

forest pecan
#

the color palette

#

mc uses

ocean quartz
#

I know but for what, maps?

forest pecan
#

Yeah

obtuse gale
forest pecan
#

you know

#

2 + 2

obtuse gale
#

yes

#

I know 2 + 2

forest pecan
#

its 4

#

but

#

no one knows why its 4

#

ok what

#

that makes no sense

#

lmao

prisma wave
#

We know it's 4 because we said it's 4

forest pecan
#

but

#

who said it's 4

#

like originally

obtuse gale
#

well it's 4 because we made the concept of numbers and it turns out and two elements added to another two elements ends up with four elements

#

but what is a number?

#

4 wouldn't be 4 if we never gave it a name in the first place

#

@Bardy 🥲

forest pecan
#

Ah yes

#

the sky is soap

winter iron
#

Anyone logged in 1.16.5 that can log on my server real quick

#

test

#

just need you to accept server resource pack and see if it works

half harness
#

anyone want to help me test bedwars :p

obtuse gale
#

Naa

half harness
#

D:

#

ive been pausing bedwars development for like 2 days now because of no testers ;-;

obtuse gale
#

Sorry, I'm too busy drowning my sorrows

old wyvern
obtuse gale
#

Why did it send twice

half harness
#

is that ur hand

half harness
obtuse gale
#

no dkim that's my thigh

ocean quartz
#

Hand reveal!

half harness
#

hand RefvelA

obtuse gale
#

thigh reveal, Matt

old wyvern
#

Discord images are not working for me at all

half harness
old wyvern
#

lol

obtuse gale
half harness
#

yugi ill dm u the ip 🥰

obtuse gale
old wyvern
#

aight

half harness
old wyvern
#

lol

half harness
#

also yugi ignore the tab

#

its the default configuraiton

old wyvern
#

the tab?

half harness
#

tab

#

tab key

#

tab thing

old wyvern
#

huh?

half harness
#

yk

old wyvern
#

oh

half harness
#

playerlist

old wyvern
#

alright

half harness
#

best domain

old wyvern
half harness
#

iirc thats a free domain

old wyvern
#

Ok why is my discord broken

#

ffs

#

10/10 placeholders btw

half harness
#

😑

old wyvern
half harness
#

5 bugs already

#

;-;

old wyvern
#

Scoreboard is also broken

ocean quartz
#

Hand reveal, next to a giant citrus fruit

old wyvern
#

Glitchy af

half harness
#

fine for me ;-;

#

wdym glitchy?

old wyvern
#

Its jumping for me

half harness
#

like flickering?

old wyvern
#

Yes

half harness
#

jumping?

#

oh ic

old wyvern
#

"Growing and Shrinking" to be precise

half harness
#

lmao

old wyvern
#

Why does the buying from the shop always create a new stack in my inv

half harness
#

another bug

old wyvern
#

Look at yellows name in scoreboard

half harness
#

HEYY FIREBALLS WORK!11 yayyyyyyy

old wyvern
#

a"Tick"

half harness
#

?

old wyvern
half harness
old wyvern
#

broken

half harness
#

but

#

i also need to add autorespawn

#

ima just list bugs here so i dont forget:

old wyvern
#

Death shows respawn menu for 10 seconds

#

or maybe like 3

half harness
#

fine for me

#

uh

obtuse gale
half harness
#
  • shop makes new stack on buy
  • shop ignores amount of items in inventory (iron & gold)
  • upgrade shop has item flags enabled
  • traps have this weird dollar sign in front of it AND IDK WHY
  • no autorespawn
  • i feel like tnt takes forever to explode
  • scoreboard jumping
  • parties won't work
  • quickjoin doesn't work
  • no bed destruction or trap sounds
  • item doesn't go into attacker's inventory on death
old wyvern
#

The 360 no scope god zelda skyrim bridger has been defeaten

half harness
#

;-;

half harness
#

you didn't even kill me

#

:)

old wyvern
#

I didnt even have to

#

🙂

half harness
#

-_-

oak raft
#

game?

ocean quartz
#

Called Suffering™️

forest pecan
#

matt

#

you have a ring?

#

Matt is a girl confirmed /s

old wyvern
#

Hes engaged

#

I think

half harness
#

😮

old wyvern
#

Might be the engagement ring

forest pecan
#

Wait he is?

oak raft
#

Yes 🤣

forest pecan
#

wtf lmao

#

how old is he

old wyvern
#

24

oak raft
#

47

old wyvern
#

25

half harness
#

2

forest pecan
#

24 and engaged? damn

oak raft
#

Ye that's a good age

old wyvern
#

^

obtuse gale
#

Sounds like a nightmare to me

oak raft
#

Matt's doing it right

forest pecan
#

that's very young lmao

#

but the younger the better

oak raft
#

Nah

half harness
#

better than 50 years old

#

or never 👀

forest pecan
#

old man sex

oak raft
#

^

half harness
#

uh

obtuse gale
#

pulse this is not the server

half harness
#

this is the wrong server pulse

ocean quartz
# forest pecan Wait he is?

Dude you were talking about me having kids just the other week when you found out i was engaged and you didn't know again? xD

half harness
#

bad memory 🥲

old wyvern
#

xD

forest pecan
#

must've been the exams

#

i've had lately

#

🥲

lost forge
obtuse gale
#

WHAT

forest pecan
#

I'm used to hearing stories that there are people that are in the late 20's and not being married 🥲

#

there is nothing wrong with being married around 24 or 25 or around that age tho

ocean quartz
#

Hopefully i'll get married next year, if this pandemic doesn't get worse

old wyvern
#

ayy

forest pecan
#

stream the wedding

#

/s

old wyvern
#

Do it

#

room 1

ocean quartz
#

Lmao

forest pecan
#

Yes

lost forge
ocean quartz
#

The stage

old wyvern
#

Yes!

#

xD

ocean quartz
forest pecan
#

I invited an extra guest: my computer

#

for streaming on discord

oak raft
#

Oh wait you’re already married

lost forge
#

Lol

obtuse gale
#

Kinda late but it reminded me of this other one

ocean quartz
#

I have a few other ones as well xD

lost forge
#

I am sure you have tonnes of them Matt haha

ocean quartz
#

Ofc, certified weeb after all

gusty glen
obtuse gale
#

the commit was 9 hours ago lol but yeah I asked him about it uh.. was it yesterday? or the day before?

gusty glen
obtuse gale
#

they are great ❤️

gusty glen
#

is the bukkit item serialization good enough that I can make it part of my lib (sc-cfg), have they fixed that weird bugs that used to happen?

obtuse gale
#

With non-exposed/""unknown"" (internal) NBTs?

#

I believe it's fixed in paper lol

gusty glen
#

okay, does it also serialize the PDC content?

ocean quartz
#

It should

half harness
obtuse gale
#

that's actually something I never thought of

#

I always just show the "hurr durr players only" message and that's it

ocean quartz
#

I normally do player only message

pale shell
#

Bedwars?

ocean quartz
#

Yeah, you hit each other with a bed

pale shell
#

Oh

#

Why

half harness
oak raft
#

what's the point

#

of showing a help message

#

in console

half harness
#

lol

obtuse gale
oak raft
#

Of course it's luck's

#

u just gotta remind me... 🥲

obtuse gale
#

lmaoo

#

nah he closed DMs everywhere after Pulse's "test" message 😂

oak raft
#

LOL

#

I guess pulse was the last straw

obtuse gale
#

@forest pecan consider yourself

#

ehem

#

lucky

oak raft
#

Forget plugins

#

Go become a comedian

ocean quartz
obtuse gale
#

it looks quite nice

#

I tried sticking it in clion

#

grave mistake 🥲

ocean quartz
#

This is how mine looks, I chose must colors, and i love it

obtuse gale
#

some things for whatever reason become straight up "unreadably" dark :(

#

I personally can't be assed to pick colors myself lol

#

that's why I tend to stick with default themes 🥲

old wyvern
#

Ok I swear discord isnt loading images anywhere for me

obtuse gale
#

too much work; not saying it's worthless, hell it really is, but uuugh

old wyvern
#

I thought it was only an issue on pc

#

I guess Im starting to get the same issue I had on git a month ago

#

No images

ocean quartz
#

It is a lot of work yeah, but it was bothering me with the old colors 😩

half harness
#

y no color

ocean quartz
#

Stupid function

half harness
#

uh

obtuse gale
half harness
#

L

#

M

#

A

#

O

#

he might have meant rainbow

ocean quartz
#

Ah, I love people 🥲

old wyvern
#

Lol

ocean quartz
#

There is a comedian that made the same jokes on a standup let me see if i can find it xD

old wyvern
#

Lmao

half harness
#

🤣 🤣

wicked hare
#

hello world

#

so many famillar names wtf

obtuse gale
#

mhm

#

welcome to the helpchat

#

look at that backwards compatibility between 5 MAJOR VERSIONS

old wyvern
#

😌

oak raft
half harness
gusty glen
obtuse gale
#

Nah that's a commit of the license plugin I use, when they upgrade to gradle 7

gusty glen
ocean quartz
#

What is supposed to be nullable here what

obtuse gale
#

I uh.. kinda want to get rid of it

ocean quartz
#

Also why did you make your name lowercase e? 😩

#

Oh wasn't it because there was no available

obtuse gale
ocean quartz
#

Ah yeah, sucks

obtuse gale
#

"Fefo" as a nick and all regarding my identity as a male

ocean quartz
#

How am I supposed to help? It's 5am and i'm astill awake kek

gusty glen
#

I kinda treat SecretX as a persona

obtuse gale
#

Lol

#

I mean in general terms I treat everyone as they/them unless otherwise specified, but you are what you identify as

ocean quartz
gusty glen
old wyvern
pale shell
#

Daily time

gusty glen
#

what do you need

obtuse gale
#

Hold on a second

ocean quartz
old wyvern
#

Yea

obtuse gale
#

Man Java generic wildcards are weird

old wyvern
#

ffs, this single class refuses to load

#

xD

ocean quartz
old wyvern
#

Captures

#

Captures are the devil

obtuse gale
#

Required: capture super of ?
Provided: capture super of ?

#

🥲

old wyvern
#

🥲

obtuse gale
#

If you're referring to "this" class loader

#

Shouldn't you be able to just refer to and use the class "directly"?

old wyvern
ocean quartz
#

Fucc, just found out that you can't do function extensions for a java class like a static method 😩
For example Property.create() doing Property.companion.createExample() doesn't work because Java has no companion, so having Property.createExample() is impossible

#

Fu yole, it's been 4 years

old wyvern
#

Kotlin has annotations to get over those issues

ocean quartz
old wyvern
#

No

ocean quartz
old wyvern
#

Ahh its an extension

ocean quartz
#

Yeah

obtuse gale
#

That's sad

old wyvern
#

It should be PropertyKt.createExample

ocean quartz
#

Property is Java though, which is why I can't

old wyvern
#

No matt I meant another class

#

PropertyKt

ocean quartz
#

Oh

#

Hmm

old wyvern
#

Kotlin should generate that

ocean quartz
#

I might just go the lazy way

old wyvern
#

Can you try if that works?

ocean quartz
#

Can you give me an example? I still don't understand xD

old wyvern
#

Like just calling

PropertyKt.createExample(...)

From your java source

ocean quartz
#

Oh, though that's not what I want Yugi

old wyvern
#

Ah, theres no other way for extensions to show up in java otherwise

#

Do you have access to the Property class?

#

As in, is it from a dependency, or your class?

ocean quartz
#

Let me explain a bit better
I have Property.create() which is Java
In kt, I want to create an extension like Property.createExample() to use in Koltin
But I can't create an extension to be like a static method without a companion

old wyvern
#

ahhhh

#

I misunderstood the question

#

My bad

#

yea

ocean quartz
#

It's alright ;p

#

Did it the lazy way

old wyvern
#

xD

ocean quartz
#

Over worked but looks so nice

#

I love that you can reference companions like that

old wyvern
#

lol

#

matt

#

wait

#

hmm

ocean quartz
#

Waiting xD

old wyvern
#

testing

#

yea no that didnt work xD

#
fun main() {
    Human.test()
}

object TestCompanion {
    fun test() {
        println("Hello")
    }
}

val Human.Companion
    get() = TestCompanion
#

This is what I tried btw xD

ocean quartz
#

It's sad xD
Maybe one day, let's blame Andrey

obtuse gale
#

Classic kt devs

ocean quartz
#

Ikr

old wyvern
#

Andrey bad

#

Simon good

hot hull
#

Cowell?

old wyvern
#

Peyton

gusty glen
#

@ocean quartz how did you publish your libs?

old wyvern
#

Are you asking about publishing to a repo?

gusty glen
#

I mean publishing it like to maven central or something

#

how do I make them available to be downloaded through gradle for anyone

old wyvern
#

For central you need to apply

#

You could host your own repository tho

#

Matts framework is

#

lol

hot hull
#

Imagine not having your own dedi to host repos 🤡

ocean quartz
old wyvern
#

Isnt yours on central matt?

ocean quartz
#

Until a certain version, but I want to move everything to my own repo

old wyvern
#

ah

#

the mattstudios website doesnt show the new repo btw

ocean quartz
#

Yeah haven't updated there
Got a few things i want to change, renaming the libs, packages, changing domain, also making my own wiki, hopefully soon i can finish it
First thing I'll release with everything setup will be the gui lib
Still not sure if it should be dev.triumphteam:gui:version or dev.triumphteam:triumph-gui:version i suck at naming things :weary:

ocean quartz
hot hull
#

just gui Matt

ocean quartz
#

Is that really how he did it?

obtuse gale
#

Yeah lol

ocean quartz
#

Interesting

#

And yeah Frosty i was thinking about just gui as well

hot hull
#

Since everyone knows you're a trump supporter anyways

old wyvern
#

oh btw matt, we hit another issue xD

gusty glen
ocean quartz
#

Fucking trump ruining a nice name 😫

old wyvern
#

xD

ocean quartz
ocean quartz
old wyvern
ocean quartz
#

It's triumph not trump, Frosty just can't read 😩

gusty glen
ocean quartz
#

I got mine from OVH

old wyvern
hot hull
#

@ocean quartz u awake?

jovial warren
#

OVH good

#

Hetzner better :)

onyx loom
#

mzungu best

jovial warren
#

Who?

lost forge
#

Last I heard, OVH was decent.

onyx loom
#

is mzungu down?

jovial warren
#

Noooooooo

onyx loom
#

🙁🙁😭

jovial warren
#

Mzungu!

old wyvern
#

Um... what....

#

They want us to make a vehicle tracking system?

#

This is jumping straight from A to Z

hot hull
#

get gud?

old wyvern
#

🥲

hot hull
#

If you need help do ask, since by the looks of it your professor stoopid

jovial warren
#

lol

old wyvern
#

I would love some help 🥲 , I dont even have any idea where to start, I've messaged a lot of my classmates for but they havent seem to have done it either

#
#

Thats the link given ^

hot hull
#

Oh god

#

Start with some basic image input, add the filter, ???, profit

old wyvern
#

🥲

#

Maybe Im misreading the assignment

#

But idk what else to interpret that instruction as

hot hull
#

Well you need to apply the filter to an image no?

old wyvern
#

Apply kalman filter for vision – based real time vehicle tracking system.

#

I guess

#

ohhh

#

maybe I just need to present an image and an image passed through that filter?

#

uh

hot hull
#

Possibly

lost forge
#

Just go with that.

hot hull
#

I have 18 missing assignments to go finish so cya 🤡

old wyvern
#

lol

hot hull
#

PE ofc

#

Cause our professor is dumb and actually gave us PE assignments during lockdown lmao

old wyvern
#

lmao

jovial warren
#

PE?

#

like physical education?

hot hull
#

Yes lol

jovial warren
#

oml

hot hull
#

Exactly

#

boutta shoot this mans kneecaps out

jovial warren
hot hull
#

They're also delaying so many tests so I probably won't be able to take the last week off, which is sadge

jovial warren
#

oof

onyx loom
#

helpchat needs to do this

old wyvern
#

Ok wait, I think I got what the prof means

#

I think its just to create instructions to apply the filter for that usecase using that link as reference

jovial warren
#

ez 👏

old wyvern
#

hopefully

hot hull
#

Imagine if he gave clear instructions

#

That'd be something

old wyvern
#

she*

#

but ikr xD

hot hull
#

it*

old wyvern
#

aight xD

pallid gale
onyx loom
#

o nice

unkempt tangle
#

Anyone seen senpai?

short adder
#

does someone know java code here?

#

i need help

compact perchBOT
#

There is no time to wait! Ask your question @short adder!

winter iron
#

^

hot hull
#

Ask away

short adder
#

How can i send pic

hot hull
#

?imgur

compact perchBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

short adder
#

ok ill send the picture in a min

lost forge
short adder
#

oh ok

#

im dumb at understanding and dont know how to put my screenshot in #development can someone tell me do i need a link or sum

lost forge
#

Upload them to imgur, then send the link

winter iron
short adder
#

workd

lost forge
#

It works

short adder
#

pack.zip

winter iron
#

then why does it not work when in game

#

like accepting server resource pack

#

to download it

#

it doesnt do it

#

i get the message and all but it just sits at Making request 100%

cinder flare
#

Might have a redirect or something

winter iron
#

The web app is running Ktor in a Docker container being proxy passed by nginx

#

is that the issue

cinder flare
#

i mean i dunno, is that the direct link? like does curling that work?

winter iron
#

Ye

#

curling and using --output works

cinder flare
#

huh

#

then I do not know why that wouldn't work

winter iron
#

If i run the container locally on my pc and use my dev url

#

it works fine

#

so i think it might be nginx

#

but idk why

short adder
#

sadge

lost forge
#

=paste

compact perchBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

short adder
#

?

lost forge
#

An no one is talking in development channel because no one has asked anything

short adder
#

=paste

compact perchBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

short adder
#

oh ok

hot hull
#

This a java 15+ thing or?

old wyvern
#

Thats just string's constructor? or am I missing something? @cinder flare

cinder flare
#

maybe it's just Kotlin

#

but I swear it was also kind of in Java

hot hull
#

probably kotlin

cinder flare
#

well, whatevs

old wyvern
#

Thats just a factory function in a sense

cinder flare
#

i dunno man, read the entire convo we had smiling_face_with_3_tears

short adder
#

oHH this is the most important question

#

which java se is the best for 1.16

hot hull
#

15

short adder
#

am i doing it wrong by using 1.8

cinder flare
#

i mean, Paper won't support Java 8 plugins starting in 1.17

#

so at least go to 11

onyx loom
#

did frosty just not recommend latest?

old wyvern
short adder
#

ummm

#

i think thats why they dont work

cinder flare
#

among other reasons, yeah

old wyvern
#

What* does work golden?

short adder
#

what?

old wyvern
short adder
#

My plugins dont work because im using java se 1.8 not 11+

#

i think so

old wyvern
#

No

onyx loom
#

they do work on java 8

old wyvern
#

Java 8 is the currently suppourted one

#

Paper is making a full switch to Java 11 in the upcoming version

#

Not released yet

#

java 8 should work completely fine, for now

short adder
#

thanks. best information i've had yet

#

those google searches lead me to oracle

cinder flare
#

😬

short adder
#

are there sites that show you in minecraft coding not basic java

hot hull
short adder
#

because then it will be easier for me to understand

onyx loom
onyx loom
short adder
#

ah

old wyvern
#

If you see minecademy, turn away, do not go near that hell hole

jovial warren
#

Lol

jovial warren
steel heart
#

Just use static and you’ll be fine fingerguns

onyx loom
#

whats OOP?

#

never heard of that before

obtuse gale
#

It's when something goes wrong and you go oh oops

steel heart
#

OverengineeredObjectPoop

onyx loom
#

and i oop

obtuse gale
#

If it's small enough of an issue you just oop

hot hull
#

@obtuse gale Stop bullying me nerd

obtuse gale
#

Lmao

hot hull
#

If you're using a non shit IDE it has tab complete

steel heart
#

NetBeans pog

onyx loom
#

ur playing a dangerous game

steel heart
obtuse gale
#

"glorified text editors like Eclipse"

onyx loom
#

ok now that i can get behind

obtuse gale
#

That's way too nice

half harness
steel heart
#

It’s the very essence of life

wicked hare
old wyvern
#

@quiet depot uhh do I have to rerun to create a new container everytime to add a user to reposilite?

#

attach and starting with the interactive flag doesnt seen to work

quiet depot
#

i’ve never used reposilite

old wyvern
#

ah

#

welp

#

Do you know anyone else here who has?

quiet depot
#

no sorry

old wyvern
#

ah alrighty

pale shell
boreal needle
#

you do know gradle uses maven repos too?

pale shell
#

oh ye

quiet depot
#

lol

pale shell
#

but gradle is better

hot hull
#

That makes no sense

pale shell
#

?

#

gradle is better tho?

quiet depot
#

gradle doesn't have its own repository format

jovial warren
#

Gradle does actually have something Maven doesn’t in terms of artifacts: variants

#

a solution to you having different versions of the same artifact targeting different Java versions

obtuse gale
#

when was this added thonking

half harness
#

a long time ago :)

static zealot
#

yeah was there for some time

obtuse gale
#

shows how much I care about managing a guild lol

old wyvern
#

oh btw piggy

#

got it to work

#

had to remake the container tho

#

had to use the i and t tags while creating

ocean quartz
hot hull
#

too late

old wyvern
#

matt

#

check pr

ocean quartz
#

Gotcha let me get out of bed xD

old wyvern
#

xD

hot hull
#

'tis 3:35pm

prisma wave
#

YO

pale shell
#

oh no @prisma wave is here

prisma wave
#

yeah baby

#

I'm here

#

Ready for anything this discord Could throw at me

static zealot
prisma wave
#

oh ffs

static zealot
#

guess you weren't ready for that

prisma wave
#

yeah I guess not ☹️

static zealot
#

wanna sit on my couch and watch anime? ||jk I don't like anime||

#

||but for you I wold do anything weeb||

prisma wave
#

I don't like anime either

#

so

#

no thanks 🤠

static zealot
#

well then we're going to watch something else then.

#

||C||ornHub maybe

obtuse gale
prisma wave
#

Soldier boring

old wyvern
#

anime girl boring

#

If anything, use simon

prisma wave
#

anime girl simon

prisma wave
ocean quartz
#

Cat girl Simon

prisma wave
#

please

winter iron
#

anyone can help me test smth [1.16.5]

#

pls

dawn hinge
#

No

static zealot
#

man I love this warnings yml [16:12:20 WARN]: [NexEngine] ============== DISCLAIMER ============== [16:12:20 WARN]: [NexEngine] > You're running an unknown Spigot fork. [16:12:20 WARN]: [NexEngine] > This plugin is designed to work on Spigot (spigotmc.org) only! [16:12:20 WARN]: [NexEngine] > You won't get any support for any issues unless they persist on regular Spigot. [16:12:20 WARN]: [NexEngine] ========================================

#

unknown Spigot fork. Its fucking Paper. Its spigot but next level you dumb monkey

static zealot
#

opening MC rn to test something as well so I can join and help u if u still need help

winter iron
#

yes plz

static zealot
#

dm IP

cinder flare
#

and why is it such a boomer

obtuse gale
#

that's all I care about

cinder flare
#

wtf how does it do that

static zealot
#

pretty sure its the core for GoldenCrates

cinder flare
obtuse gale
#

you'd be surprised by the amount of "core" plugins that break LP

cinder flare
#

how do they even

obtuse gale
#

I have no idea, 100% likely they mess with the underlying Permissible

#

there's like no other way lmao

obtuse gale
#

okay so

#

what would you guys/gals prefer?

#

private static final byte[] NIL = { };
or
private static final byte[] NIL = new byte[0];

half harness
#

second

dawn hinge
#

second

cinder flare
#

in the first one, is { } a byte literal of nothing?

obtuse gale
#

they are the same thing, both are an array with 0 elements in them

cinder flare
#

ah an array literal

obtuse gale
#

yea

cinder flare
#

the second is more verbose

#

and especially if you were in Kotlin or a modern language with type inference, new byte[0]; is very nice to have

half harness
#

emptyArray() 🙂

prisma wave
#

🙄

#

in really modern languages we just do []

obtuse gale
#

I see I see

#

I guess I'll go with { } then 🙂

cinder flare
#

😠

obtuse gale
#

lol

static zealot
#

someone wants to join my couch? I want to see if dyno finally gives a default role lmao

#

🥲

cinder flare
#

i thought the couch was only for you and your bots

static zealot
#

well I've been finally working on fixing it and allowing others to sit as well but dyno keeps ignoring me and doesn't give the Member roles to newcomers

cinder flare
#

awe man

#

well im always down to chill on a couch if you want me smiling_face_with_3_tears

jovial warren
obtuse gale
#

cool

#

didn't ask

jovial warren
#

also, will a 0 size byte array even allocate any memory? lol

obtuse gale
#

well the object itself

static zealot
#

@obtuse gale internet went down or what?

obtuse gale
#

unless it gets inlined or some fancy bs

static zealot
#

why did you make me play then? 😢

jovial warren
ocean quartz
jovial warren
#

does that even work

#

also, you might as well use Nothing

ocean quartz
#

Works totally fine

winter iron
#

@static zealot 🖕

static zealot
#

lmao @winter iron

winter iron
#

🖕

#

🖕

static zealot
#

hey not my fault you went all in

winter iron
#

I had pair of aces

ocean quartz
winter iron
#

it is what it is

static zealot
#

gonna take the bot's money now

winter iron
#

just got lucky with ur straight

static zealot
#

ad become rich

#

and*

cinder flare
#

boys rust is cracked

#

it knows what type list it is by the first thing you put into it

#

that is just so beautiful to me

lunar cypress
#

welcome to proper type inference

cinder flare
#

how have I gone so long without it I don't know

hot hull
#

What a beauty

lunar cypress
#

if you want to see this even more on crack, look at haskell or ocaml

boreal needle
#

dont say the h word

cinder flare
#

yeah everything being pure let's the compiler do like, a bazillion things right?

boreal needle
#

bm will be summoned

#

:O

cinder flare
#

that's what I read about

lunar cypress
#

This doesn't really have much to do with being pure

cinder flare
#

I just mean Haskell being pure lets the compiler funk stuff around

obtuse gale
cinder flare
#

since referential transparency and all that

boreal needle
# obtuse gale

no hornies in the wholesome family friendly pg block game server!!!!

obtuse gale
#

loll

cinder flare
lunar cypress
#

sure, but afaik there's no need for that in the type inference algorithms they use

cinder flare
#

oh yea

distant sun
cinder flare
#

yea?

#

Rust typing system go brr

obtuse gale
lunar cypress
#

I guess implementing type inference is a lot easier if you can stick to the mathematical definitions

distant sun
#

im talking about the name itself, shut up emilyy

obtuse gale
#

:(

cinder flare
#

i mean it makes more sense than the arbitary C-names we got

obtuse gale
#

I mean it's pretty explicit actually, I prefer it

cinder flare
#

why is short 16 bit?

pale shell
cinder flare
#

just cause C did it

#

i16 makes more sense

static zealot
#

@winter iron guess who won. Smh get good kid || I don't even know how to play poker but it was definitely calculated||

lunar cypress
#

C has short?

cinder flare
#

i think so

#

maybe not

#

well Java did it

obtuse gale
#

I believe it does

lunar cypress
#

if it does you can probably implement short as 64 bit and it will be spec compliant

obtuse gale
#

I believe C has macros for int8_t, uint32_t etc and C++ has actual typedefs for them

cinder flare
#

yeah right

#

C not specifying sizes

#

int might be 32 bit

#

or it might be 3200 bit

obtuse gale
#

in the IC the arduino uno uses (cba looking it up) an int is 16 bits lol

#

it's just platform specific

#

cuz

#

¯_(ツ)_/¯

#

the definition of "word" varies from platform to platform

boreal needle
#

arduino uses various, mostly atmel avr based

#

atmega328p is the "standard"

cinder flare
#

lucyy the electrical engineer dang

boreal needle
#

nah i just know arduinos

obtuse gale
boreal needle
#

before the 328p you had the the 168

#

notably used by the duemilanove

#

or you have the big chonker mega2560

obtuse gale
#

I have a mega...... somewhere lmao

boreal needle
#

i have one of the crap ebay knockoffs

#

also a fuck ton of esp8266s

#

esp <3

prisma wave
#

something truly special

old wyvern
#

😌

half harness
#

lol im in this support discord for a plugin, and like a quarter of the people are asking for help in the api channel :p
then the server owner locked the api channel because no one was asking for api help in there, and then unlocked it again and people are asking in there again 🤣

#

whats with people and the word "api"

#

and he literally put a message in bold at the bottom of the channel to say not to ask if they didn't know what "api" meant

hot hull
#

What the hell

#

Is there seriously no method which get's the current total experience?

half harness
#

i mean theres a /xp command.. so theres gotta be a way

#

maybe bukkit's fault 🤷‍♂️

jovial warren
#

I mean, they store it in the NBT iirc so idk why they don't allow you to retrieve it

hot hull
#

Annoying af

jovial warren
#

also, any of you know how you can rebase without changing the committer?

#

like if I rebase, it'll change all the rebased commits to committed by me

half harness
#

|| doesn't even know what rebase is ||

old wyvern
cinder flare
#

oh god

cinder flare
ruby craterBOT
#
int getTotalExperience()```
Description:

Gets the players total experience points.
This refers to the total amount of experience the player has collected over time and is not currently displayed to the client.

Returns:

Current total experience points

jovial warren
#

what if I told you that I've already done the rebase 🥲

#

and pushed it to origin

cinder flare
#

bruh

jovial warren
#

🥲 🥲

hot hull
#

Exactly my reaction Star

#

It's a dumb system

hot hull
cinder flare
#

what

half harness
#

or what does it do

cinder flare
#

that works

old wyvern
cinder flare
#

i was saying bruh to Bardy

jovial warren
#

okay what the fuck

old wyvern
#

That works frost

jovial warren
#

now I am 11 commits ahead of upstream

#

what

old wyvern
#

I have used that earlier

old wyvern
jovial warren
cinder flare
#

rip LP for Krypton 🥲

hot hull
#

annoying

jovial warren
#

lol

#

is there no salvaging that history now?

half harness
#

can't you rollback git

jovial warren
#

maybe I could interactive rebase and manually remove the commits

cinder flare
#

yeah you can undo

ocean quartz
#

Gitkraken, ctrl + z 😌

cinder flare
#

is gitkraken good?

#

i've just used IJ's git integration all my life and it's been fine

static zealot
#

its good

ocean quartz
#

Very good

jovial warren
#

is there actually no way you can undo this? surely if GitKraken can do it then Git can do it

#

since GitKraken is just calling Git commands under the hood

cinder flare
#

i mean yeah I think there's something like git rollback

jovial warren
#

well this is fucked now

#

there seems to be no info on how to avoid changing the committer on rebase

cinder flare
#

just undo it

obtuse gale
#

Ctrl Z smh

jovial warren
#

had to hard reset to master then re-commit everything (made a patch file for the big one then just manually did the others lol)

onyx loom
#

next time dont be bad

#

(idk what happened)

jovial warren
#

I tried to remove the merge commit that came from me pulling from upstream and ended up with me as the committer for all the pulled commits, then did some stuff to try and fix it and nothing worked

onyx loom
#

ic

#

i do that all the time kek

jovial warren
#

lol

ocean quartz
#

I love how simple Ktor is to keep everything organized

cinder flare
#

ooh what are you using Ktor for?

old wyvern
#

His framework's documentation / git book typa thing

cinder flare
#

now that's cool

#

Matt is just a really cool guy

oak raft
#

He'd be even cooler if he released mf-config angry_fingerguns

cinder flare
#

blitz you mother fucker

oak raft
#

Also star, how did you personally learn Kotlin?

#

Docs?

onyx loom
#

it kind of is released

static zealot
oak raft
onyx loom
#

idk if its on his repo tho

onyx loom
#

there u go

static zealot
#

it is

cinder flare
#

little bit of that, little bit of youtube videos, little bit of converting my current java to kotlin and seeing what happened

oak raft
#

😄

static zealot
#

been using it for a long while

#

but no documentation tho that's all

oak raft
#

I had no idea

cinder flare
oak raft
#

ah shit I need documentation or I'll be lost 😅

static zealot
#

easy peasy tho.

#

similar to ConfigMe since I think it is a fork of ConfigMe

oak raft
#

I haven't heard of ConfigMe

ocean quartz
# old wyvern His framework's documentation / git book typa thing

Actually wanted to ask you, do you think this is a bad idea?
So, there is two ways of going about this
1 - Parsing markdown at runtime with react, a bit annoying to do, a bit less customization
2 - Parse with java and save it to a database to be retrieved with api request
I went with 2 but idk how good it is 😩

ocean quartz
oak raft
#

Hello???? Numbers???

#

Wait

ocean quartz
#

See the profile picture I am eating the numbers

oak raft
#

everyone's numbers are gone

old wyvern
#

That way you dont have to worry about publishing changes to the db

cinder flare
#

WASM go brrr

oak raft
cinder flare
#

also is TriumphBans a possibility?

old wyvern
#

js has markdown parsers in npm right?

cinder flare
#

i need me a replacement for LiteBans asap

static zealot
# oak raft ah shit I need documentation or I'll be lost 😅
object Settings: SettingsHolder {
    @Path("PATH-HERE")
    val settingsOption = Property.create(DEFAULT-VALUE)
}

val config = SettingsManager.from(CONFIG-FILE).confugrationData(Settings::class.java).create``` Pretty much all you need to know. And to get the property its just ```kt
val option = config[Settings.settingsOption]``` and then of course to reload `config.reload()` Idk if you're learning kotlin or what but this is kotlin
ocean quartz
ocean quartz
cinder flare
#

why not 😦

static zealot
#

bcz LiteBans is good enough

cinder flare
#

is it?

#

i hear the api is poopy

static zealot
#

and if you want free then you can go for AdvancedBans

cinder flare
#

or I can make my own bans plugin!!! >:)

static zealot
#

tho LiteBans is not OS

cinder flare
#

yeah true

static zealot
#

time to make BlitzMenus I guess and sell it for 20$ on spigot. It will be a poor copy of DMenus but it uses MF-GUI

old wyvern
static zealot
old wyvern
#

But yea the db way works fine too

oak raft
old wyvern
#

i dont see any loss on either side

static zealot
oak raft
#

No Ban

old wyvern
onyx loom
#

no minecraft

old wyvern
#

Banism

ocean quartz
#

Hmm gonna have to thonking

ocean quartz
# cinder flare why not 😦

I normally make things based on my mood and what I want, never really cared much for banning plugins and stuff

frail glade
#

This is so weird. My IJ still says there's no Kotlin plugin update. I might just have to manually install.

static zealot
#

Matt actually now. What would you say if we'd rewrite DeluxeMenus in kotlin and use your Lib? (Like a personal project of course not public or anything)

onyx loom
#

mf-gui instantly makes it better than dm

cinder flare
static zealot
cinder flare
#

i think so, it seems harder to mess up the formatting

static zealot
cinder flare
#

Rust uses it so that's my whole experience lol

static zealot
#

well you can techincally update each item

ocean quartz
static zealot
#

Sx's syntax?

#

what's that?

frail glade
#

Oh lord

#

It's actually pretty cool.

#

You can draw out the GUIs in the code.

static zealot
#

why have I never heard about that?

#

please link

old wyvern
#

😮

frail glade
#

I don't even know if it's public, is it?

static zealot
#

I don't have his github

old wyvern
#

How does it look glare?

#

Like strings

#

?

#

Does it work like crafting recipes?

ocean quartz
#

Something similar to this

static zealot
#

oh that's actually nice

#

I've seen something similar but it was used for blocks in a chunk in a plugin

old wyvern
#

Where does the checkerboard thing come from xD

onyx loom
#

that sounds like pain

cinder flare
#

bro what

ocean quartz
#

No idea xD
I can definitely see tons of fuckups from people messing with the formating though

cinder flare
#

that looks really hard to maintain

#

we thought YAML was bad lmao

static zealot
old wyvern
#

You could have a close enough k dsl

onyx loom
#

who needs that when u have mf-gui-kotlin anyway fingerguns

old wyvern
#

Speaking of which

#

Imma start working on that pr

cinder flare
cinder flare
static zealot
#

well Idk I kinda like it

#

but yeah idk what ways people will find to fuck that up

frail glade
#

Okay but like, what about Slimjar

static zealot
#

so many ways xD

old wyvern
#

Is that fine?

frail glade
#

Oof

ocean quartz
# frail glade Okay but like, what about Slimjar

We're working on it, we're having some issues with some dependencies, for example if we use everything, gson, asm, for example, it'd be 300kb
So we're thinking of ways to shorten it, like runtime our own dependencies

old wyvern
#

I was trying to fix that which is why the delay

cinder flare
#

wow 300 whole kb

#

so big

frail glade
#

Yeah it's fine. I'm gone this weekend anyways.

onyx loom
#

sir id like to inform u that pdm is only 70kb!

cinder flare
onyx loom
#

pdm good!

frail glade
#

Home

old wyvern
#

Without the deps

cinder flare
#

Oh very cool!

old wyvern
#

lol

onyx loom
#

lol

old wyvern
#

45kb

frail glade
#

Mom is having surgery + it's mother's day on Sunday.

old wyvern
#

ha!

ocean quartz
onyx loom
#

pdm... bad?

cinder flare
#

dude 300kb is literally non-existent

old wyvern
#

The point of the lib is to help further reduce the jarsize, so keeping it minimal is important

cinder flare
#

well yeah but adding 300kb and removing 5MB is quite helpful I think

static zealot
frail glade
#

I mean it's probably fine for the time being. I can still slide under the jar limit if I need to.

onyx loom
#

same

old wyvern
#

I mean once we get it to load asm and gson at runtime, get get down to 45

old wyvern
frail glade
#

If you want to, sure.

onyx loom
#

can we pdm slimjar

old wyvern
#

Alrighty

frail glade
#

Don't do it just for me though since I won't be around to use it right away.

old wyvern
#

Ah alrighty, then Ill try to work the issue out in 2 days

cinder flare
#

i mean honestly, have you embed a little teeny tiny SmolJar that then downloads Slimjar which then downloads everything else

#

not a bad idea

frail glade
#

I won't really make use of it till probably May 20th or later.

old wyvern
#

ahh alrighty

old wyvern
#

It should just download the dependencies itself into a container classloader

cinder flare
#

i mean I'm not even joking

#

actually have a little bootstrapper

onyx loom
#

🤨

half harness
#

when will slimjar be released for stable use 😍

ocean quartz
#

Yugi, I just had a bigbrain idea

old wyvern
#

👀