#dev-general

1 messages · Page 180 of 1

prisma wave
#

groovy is good

#

it's way more flexible than kotlin

#

collection literals fingerguns

jovial warren
#

^ wat?

prisma wave
#

optional parentheses

astral quiver
#

Groovy DSL I just break my head to know what I can but in the DSL

prisma wave
#

also you can legitimately say you know 2 languages if you use groovy dsl

#

rather than kotlin

astral quiver
#

Optional parentheses I don't think is a good choice for a language, it make the code base inconsistent e hard to read

jovial warren
#

^ I agree

#

also, tasks.withType<TaskName> makes more sense to me than just taskName

astral quiver
#

Just to you know, here in my job, in a Flutter project we are defining what goes first

#

The order of the parameters in the component call

#

Like, functions always the last ones

jovial warren
#

Flutter good

#

though dart not so great

astral quiver
#

Currently taskName is supported

jovial warren
#

the idea of Flutter is good, but dart isn't the best

prisma wave
#

dart is fine

astral quiver
#

And I really like, is more simple

prisma wave
#

it's boring

#

but it's fine

astral quiver
#

Yeh, just boring

#

Here we drop Flutter

jovial warren
#

it's a bit like Kotlin and Java combined in to one big mess

prisma wave
#

and JS

astral quiver
#

We work with bluetooth stuffs

#

And write plugins for Flutter?

jovial warren
#

sorry, make that Kotlin, Java and JS

onyx loom
#

also you can legitimately say you know 2 languages if you use groovy dsl
@prisma wave i know two languages 😎

prisma wave
jovial warren
#

I know two languages

#

Kotlin and Java

#

and I can say I know a third if reading Elara's documentation counts lol

onyx loom
#

(even tho i dont know anything in groovy except the regular build script)

astral quiver
#

I know Elara 👈

prisma wave
astral quiver
#

I'm a Big Brain folk

jovial warren
#
let myFunction = () => {
    let hello = "Hello mother fuckers xD"
    print hello
}
#

I is big brain

astral quiver
#

The hard part for me when I was using gradle with groovy is fix bugs in the buildscript

prisma wave
#

huge

jovial warren
#

I swear buildscript isn't even a thing any more

prisma wave
#

although the mut is unnecessary

jovial warren
#

yeah ik

prisma wave
#

and the convention (i think) is gonna be kebab-case

astral quiver
#

Looks that kinda of folks that uses var in Kotlin

jovial warren
#

I'm not lol

astral quiver
#

Val >>>

jovial warren
#

yeah ik

#

I use var very, very rarely these days

#

because 99% of the time, you're setting immutable values anyway

astral quiver
#

Yes, it's very nice to see that when I was writing java I kinda never use final

jovial warren
#

oh when I'm writing Java, I write it like it's Kotlin

astral quiver
#

Kotlin makes me a better developer just because is more friendly to do that right thing

jovial warren
#

I use @Nullable and @NotNull literally everywhere, I make all parameters final and ensure most things are final where they need to be, and I do some other things as well

distant sun
#

Any idea why after updating to last version, IIJ keep freezing and say it runs on low memory?

astral quiver
#

Currently, I do the same, but basically I never use java anymore

jovial warren
#

being able to compress final @NotNull String name = "Callum"; in to just val name = "Callum" is one of the best things ever

#

when I'm writing Java, I always find it really annoying having to constantly press the right arrow key to get to the end of the line to put in a semicolon

prisma wave
#

End key >

jovial warren
#

in Kotlin, we don't worry about those

quiet depot
#

@distant sun have you tried giving it more memory?

jovial warren
#

^

distant sun
#

no but it always run on 1gb

#

or well, 989M according to that indicator

quiet depot
#

well when software gets new features, it also takes up more system resources

astral quiver
#

So folks, I will get out of the bed

#

I develop something

jovial warren
#

I have it set at 8192 because I can lol

quiet depot
#

but ye ig 1g is probs a bit much usage wise

#

my ij is 4gb iirc

astral quiver
#

Today is the day that ASM will kick my ass

quiet depot
#

i think my ij uses 600m

jovial warren
#

I got 32 GB RAM so I'm fine setting it to a maximum of 8192

quiet depot
#

what u using asm for?

jovial warren
#

^ I think he's doing some wacky bytecode editing lol

astral quiver
#

Relocating my script

#

Build

#

From Bukkript

quiet depot
#

wat

jovial warren
#

^

astral quiver
#

I explain in one sec

jovial warren
#

(Bukkript = Bukkit Kotlin API btw if you're confused pig)

quiet depot
#

why tf is it called bukkript

#

sounds like skript

jovial warren
#

that's just what he calls it

#

actually nvm

#

Bukkript is Bukkit Kotlin Script

quiet depot
#

oh

jovial warren
#

no idea what that is

quiet depot
#

sxtanna was doing something like that

jovial warren
#

this is why Kotlin good Java bad xD

quiet depot
#

lel pretty sure bm was also doing something like that with plumber

jovial warren
#

extension functions make this much easier

quiet depot
#

ig every kotlin dev goes through that phase

jovial warren
#

wdym

astral quiver
#

I start this project two years ago

jovial warren
#

the "Kotlin good Java bad" phase?

quiet depot
#

no

#

the phase of making a bukkit dsl

astral quiver
#

But Kotlin scripting was not ready yet

jovial warren
#

I suppose Java is still good, it's just that Kotlin offers a lot more and makes my life a lot easier

quiet depot
#

in kotlin*

jovial warren
#

the phase of making a bukkit dsl
lol

astral quiver
#

Bukkript is not a Kotlin API

jovial warren
#

you should try out Kotlin pig

astral quiver
#

KotlinBukkitAPI is

quiet depot
#

eh idk if I like kotlin

astral quiver
#

Bukkript is a script support for Bukkit

quiet depot
#

looks a bit like a clusterfuck at times, but maybe I’ve just been looking at bad kotlin code

jovial warren
#

it's got very strict nullability, really nice type inference, and extension functions that make your utility classes look like C code

#

like in Kotlin, running in to an NPE is very, very rare

quiet depot
#

I have a decent understanding of what kotlin offers

hot hull
#

Piggy, that's exactly what I said lmao

astral quiver
#

Is very neat, i guess we all recommend it

jovial warren
quiet depot
#

what did u say frosty?

#

I’ve said multiple statements in this convo, I’ve got no clue to which you’re referring

astral quiver
#

Do you folks know about the KotlinBukkitAPI-Tooling?

quiet depot
#

bardy I’ll learn it when I feel the urge

hot hull
#

why tf is it called bukkript
sounds like skript

quiet depot
#

o

#

at this stage though, java is utterly sufficient for my needs

jovial warren
#

bardy I’ll learn it when I feel the urge
cool

astral quiver
#

Bukkript = Bukkit Kotlin script

jovial warren
#

if you like less boilerplate code though, you'll love Kotlin

hot hull
#

I mean if you know java kotlin is pretty much self explanatory

jovial warren
#

^

quiet depot
#

how’d you guys start learning kotlin?

jovial warren
#

say goodbye to many problems like NPEs, wildcard generic horky borkyness, utility classes, getters and setters, and many more other things

astral quiver
#

Bukkript I start 2 years ago but Kotlin scripting API is not that good yet

jovial warren
astral quiver
#

The first, I watch a talk

jovial warren
#

and also got babysat by one of my good friends for a while

astral quiver
#

But after that, the reference was the way to go

quiet depot
#

i don’t have any irl coder friends .-.

hot hull
#

Piggy, I got bullied into it, then I just experimented and became a professional in it (||Disclaimer: I no pro||)

astral quiver
#

Is a pretty good documentation

#

With alot of samples

jovial warren
#

@quiet depot neither do I, he's a friend I met online

quiet depot
#

o

jovial warren
#

his name's kacgal, he used to work at a hosting company

astral quiver
#

My girlfriend codes

quiet depot
#

what host?

jovial warren
#

some swedish company

quiet depot
#

was it an mc one?

prisma wave
#

how’d you guys start learning kotlin?
@quiet depot for me I just converted some Java code and played around with it

quiet depot
#

name seems similar to one of the skynode guys iirc

jovial warren
#

no, just a general hosting company

quiet depot
#

o

jovial warren
#

I'll ask him

quiet depot
#

Might try do my mc challenges in kotlin

#

see if that get’s me anywhere

prisma wave
#

If you know Java it's easy

jovial warren
#

^

quiet depot
#

paradigm shift aint gonna be

#

or more like paradigm addendum

astral quiver
#

In the future you will learn Coroutines and you will love it

jovial warren
#

paradigim shift?

quiet depot
#

cuz kotlin is more than oop bardy

jovial warren
#

yeah true

astral quiver
#

KotlinBukkitAPI uses Coroutines in the commands, is pretty neat

prisma wave
#

Most of the time it's still Oop though

#

With elements of FP

jovial warren
#

in Kotlin, you can kinda write anything anywhere

astral quiver
#

Classes is just one line

#

The meas you probably will not have a package just for exceptions

#

👀

jovial warren
#

like this for example: ```java
public class Main {

public static void main(String[] args) {
    // do thingys
}

}
becomes kotlin
fun main() {
// do thingys
}

astral quiver
#

Kotlin have sealed classes that helps alot with function results

distant sun
#

let's see if it's happy with 2gb

jovial warren
#

args is optional for your main method

prisma wave
#

y'all just listing off every single feature rn

jovial warren
#

but if you want to specify it, you can do it like this: args: Array<String>

prisma wave
#

Might as well copy paste the docs

jovial warren
#

note that Kotlin doesn't have primitive types like Java, so int, double, long, float, char, short and byte (I think I named them all) become Int, Double, Long, Float, Char, Short and Byte respectively

prisma wave
#

I mean

#

It kinda does

#

The primitive wrappers will compile to primitives wherever possible

jovial warren
#

String[] becomes Array<String>

#

also, collections are interesting, as MutableCollection is a thing because Kotlin has the concept of collection immutability built-in

#

listOf("hello", "world") will give you a List<String>, which is immutable
whereas mutableListOf("hello", "world") will give you a MutableList<String>, which is mutable

#

there is no new keyword either

onyx loom
#

y'all just listing off every single feature rn
@prisma wave no, thats just bardy

old wyvern
#

😂

prisma wave
#

👀

jovial warren
#

sorry, I just get really excited when I see people wanting to learn Kotlin lol

prisma wave
#

Not even a multi to capitalise on

onyx loom
#

speaking of which

#

theres still quite a lot of unused multis

#

matt and some others can still spin fingerguns

hot hull
#

@quiet depot You still haven't told me how you add a jar to a libs folder

quiet depot
#

?

#

you drop the jar in

#

and then do configuration name: "jar-name-without-extension" in gradle

#

configuration being implementation, compileOnly, etc

jovial warren
#

this is why one only uses thingys that are in remote repositories

hot hull
#

I will slap you Bardy

jovial warren
#

unless it is illegal to post them on public repos, like NMS, so you just use Maven Local

quiet depot
#

you should avoid maven local for public projects

#

nms is the only thing I can think of where maven local is acceptable

jovial warren
#

^ I agree

quiet depot
#

but for plugins without a repo, prefer a flatfile repository over mavenlocal

jovial warren
#

but frosty likes to be a spesh and use stuff from JARs

#

xD

hot hull
#

What?

jovial warren
#

you did it with FrozenJoin

hot hull
#

Yes because Jitpack is a whore

jovial warren
#

FrozenJoin depends on FrozenActions, which is a publicly available project that wasn't published to a maven repo

#

yeah idk about JitPack

hot hull
#

And I don't plan on updating a maven repo every 5 minutes for small changes

quiet depot
#

not a fan of jitpack

jovial warren
#

Maven Central is even worse because apparently you gotta submit some shit on Sonatype's Jira

hot hull
#

If you wanna build the plugin, FrozenActions is available, GWcmeisterPeepoShrug

quiet depot
#

sonatype

#

maven central

#

these are completely different things

jovial warren
#

I heard that was how you do it

quiet depot
#

o yeah ur right, just looked it up

#

that’s strange

heady birch
#

Haha I just figured out an issue I was having. Yesterday I saw new ArrayList<>(Arrays.asList(...)) and I was like. Huh. why did I write it like that?

jovial warren
#

what was the issue?

#

actually I can see

#

you could just collapse that in to Arrays.asList couldn't you?

prisma wave
#

Arrays.asList throws an exception on add()

heady birch
#

No because the list that returns is not modifiable

#

So yeah spring was removing something from the list and it didn't like it

quiet depot
#

ohhh bardy, sonatype is just one way to get ur stuff on central

#

apparently the easiest way though

foggy pond
#

When submitting a premium resource, do I need to wait for some kind of approval?

hot hull
#

Yes

foggy pond
#

How long does that take? I didn't submit it yet but just to know

jovial warren
#

submitting a premium resource lol

foggy pond
#

Uploading?

#

Call it whatever you want

jovial warren
#

is it open-source? xD

hot hull
#

A couple of days, took a few days for me atleast

foggy pond
#

Alright damn I can't exactly set a release date for the plugin then

jovial warren
#

also I swear you need existing free plugins to submit a premium one

foggy pond
#

Yeah this is totally my first plugin on spigot 🙄

old wyvern
#

Premium takes like a week or two to get accepted

onyx loom
#

@hot hull what premium resource u got

old wyvern
#

Unless you are very lucky ofc

hot hull
#

I don't, it got rejected 😂

foggy pond
#

Whoa why

jovial warren
#

frosty doesn't have any premium resources

onyx loom
#

was about to say

#

and yea why

hot hull
#

"Not enough features" But yea it was hella bare bones

old wyvern
#

You dont existing plugins to post premium

foggy pond
#

Yeah you do

#

You need three resources

old wyvern
#

There are other criteria based on forum posts

jovial warren
#

what were you trying to make premium?

hot hull
#

I deleted 4 of mine

#

Hence why I don't qualify anymore

old wyvern
#

You need like 20-25 forum likes or whatever I think

onyx loom
#

aafk kekw

#

blocker kekw

jovial warren
#

am I the only one here who's never submitted a resource or even made a thread on the Spigot forums?

old wyvern
#

Probably, yes

jovial warren
#

oof

onyx loom
#

i havent fingerguns

#

yet reversed_fingerguns

jovial warren
#

maybe when I get Punishments ready I'll release that

onyx loom
#

ezblocks 😦

jovial warren
#

and that yeah

#

we gotta finish that lol

onyx loom
jovial warren
#

who's page will that go on though?

hot hull
#

clips fingerguns

onyx loom
#

mine Kappa

hot hull
#

Or make an EzBlocks github

jovial warren
#

if it stays on clip's that'll get us the most publicity and the most downloads

onyx loom
#

well he can do what he did for voteparty

#

and just transfer ownership right

jovial warren
#

yeah but it's a team project is what I'm saying

onyx loom
#

were all randos, who cares whos page it goes on fingerguns

jovial warren
#

alright it'll go on mine then xD

#

once I get my age changed lol

#

I was told by Benz to report my own account with details and I did, and I haven't got a response back yet

#

because my Spigot Forums age is still 1/1/1980 lol

hot hull
#

Ah yes more than two of your lifetimes 😂

jovial warren
#

I made my account when I was under 13 alright don't judge

#

and making a second account is against Spigot regulations

#

although according to GDPR, I must have access to remove my personal data from this site if I wish to do so

#

meaning I must have a delete button somewhere

onyx loom
#

u ever do some coding late at night then wake up the next day thinking wtf were u doing

heady birch
#

^ With spring this doesnt seem to happen. Wake up and your like, ah yes back to the beautiful code

onyx loom
hot hull
#

Kali

#

Do you have MC opened :))

onyx loom
#

oh wow

#

ur so lucky

#

yes i do

cinder stag
#

hi, does this work as a global plugins channel?

hot hull
#

Latest?

onyx loom
#

1.14 peepoSad

#

ill open it up

hot hull
#

Wait I might have viarewind on

jovial warren
#

I got latest open

onyx loom
#

its fine

cinder stag
#

may i ask about a non-helpchat related plugin

hot hull
cinder stag
#

ah ok

#

thanks

jovial warren
#

what server we joining? lol

foggy pond
#

I am remaking a PAPI expansion that I made some time ago, which I have lost the code for yikes

jovial warren
#

oof

foggy pond
#

I do not remember though, how I added the plugin the expansion is related to as a library

jovial warren
#

I wonder what's gonna happen to all the legacy expansions when PAPI 3 comes out

foggy pond
#

I do not have my plugin on any repository

jovial warren
#

100% sure about that?

onyx loom
#

i think legacy expansions will still work afaik

#

but itll be eventually phased out after a while id imagine

foggy pond
#

I am pretty sure

#

Nvm I had it on jitpack

#

But what if it is a premium resource, I don't want it to be open source bruVh

jovial warren
#

you can do what Glare does and still have it be premium but open-source it

#

we call that "Freemium"

foggy pond
#

I'm good

onyx loom
#

I don't want it to be open source bruVh

jovial warren
#

and Glare still makes money from it, and his plugins still get leaked even though it's open-source

foggy pond
#

Right I will also have to worry about leaks in the future

jovial warren
#

Freemium is the best way to go imo because it means that they pay for your support

foggy pond
#

But it is so goddamn easy to leak that way

#

If it is open source

jovial warren
#

and like 99% of the idiots who buy things on your store will have no idea about how to compile it from source anyway

prisma wave
#

Leaks are gonna happen whether you try to stop them or not

jovial warren
#

^

foggy pond
#

Yes but if it is open source it will happen way sooner than it would otherwise

jovial warren
#

not necessarily

#

it's less likely to get leaked I think, because it's available for free so what's the point in leaking it

onyx loom
#

people dont know how to compile 🤔

#

unless u have release tags on github, then theres 0 reason to leak a plugin lol

jovial warren
#

and open-source means that other developers can make their own forks and contribute to your plugin much more easily

#

meaning your plugin is more likely to be used on bigger servers, since they can work with it

foggy pond
#

Right

#

I have more specific questions about how leaking works but I cannot ask for help here otherwise I will get banned

#

Very dumb imo but can't do much about it

jovial warren
#

I don't think you can get banned for asking how leaking works

foggy pond
#

Uhh

jovial warren
#

you just get banned for promoting it

foggy pond
#

When it comes down to a certain site yes

jovial warren
#

you mean the one that prefixes Spigot with a word beginning with "b"?

foggy pond
#

Yeah don't even try saying that

#

Cause it is technically trying to go around the bot that prevents you from saying that

jovial warren
#

I know I'll get auto-muted, I've been muted before for it

#

basically, they decompile your code and remove any remenants of buyer checking and then redistribute it

#

if they're a site like DL, they'll replace that code with their own buyer checking to make sure that you can't leak their leaked shit

foggy pond
#

Yeah but I also heard that if you pay $$$ the leaking can be stopped or something, idk if it's true or not

I doubt I'd do it but still

jovial warren
#

I mean, if anyone comes to you for help with leaked shit, you just refuse them

onyx loom
#

oh yea i remember clip saying something like that

jovial warren
#

if they haven't bought your plugin you just don't give them any support

onyx loom
#

he got approached by BS / DL, he pays $$$ and they will remove any leaks from their site kekw

foggy pond
#

That's ridiculous

jovial warren
#

if they compile it from source you also don't give them support

foggy pond
#

How would I verify if someone purchased the plugin though?

#

Like what's the fastest way

prisma wave
#

there's the placeholder thingy

jovial warren
#

there's a buyers list

prisma wave
#

or a buyers list yea

jovial warren
#

I believe Spigot has a built-in buyers list

foggy pond
#

Oh on spigot?

#

Okay so I can just tell them to tell me who they are on spigot

#

And if they are on that list = they bought the plugin

jovial warren
#

yeah, you just ask them to give you their Spigot ID and you search your buyers list

#

or actually no

foggy pond
#

But there isn't any automated way of doing it I assume

onyx loom
#

there is

#

barry is automated

jovial warren
#

@quick lava automates it using the Spigot API

foggy pond
#

Would suck if I was away and they bought the plugin, and they can't get assistance for a day or two

jovial warren
#

probably the one made by I can't remember what her name is

foggy pond
#

Yeah but I can't get barry on my server can I 😂 I'd have to make a discord bot myself

prisma wave
#

mvdw has an api for it i think

onyx loom
foggy pond
#

Who

prisma wave
#

maxim

#

featherboard guy

foggy pond
#

Right right

jovial warren
#

Spiget

prisma wave
#

inventivetalent made spiget iirc

jovial warren
#

inventivetalent made spiget iirc
that's her name

prisma wave
#

yeah not mvdw

onyx loom
#

inventivetalent seems to have made loads of these apis

obtuse gale
prisma wave
#

quite a lot

jovial warren
#

yeah she makes a lot of things

prisma wave
#

pretty sure she has the 2nd highest resource count

onyx loom
#

ya

prisma wave
jovial warren
#

@obtuse gale you gotta wait for that to load in

prisma wave
#

bit outdated I think but might be worth a look

jovial warren
#

wow which one was a bad word

#

Aternos

prisma wave
#

song

#

ha

jovial warren
#

ah okay

prisma wave
#

fun fact

#

lol

jovial warren
#

yeah no one really cares about his shit anyway

prisma wave
#

mongo database

#

hahaha

jovial warren
#

mongo?

#

mongo = dog shit

prisma wave
#

``Mongo-Database` is blocked

#

but without the -

jovial warren
#

haha

obtuse gale
#

Mongo Database

jovial warren
#

mongo database

#

mongo

prisma wave
#

1 word

jovial warren
#

mongodb

prisma wave
#

like a class name

jovial warren
#

MongoDB

#

haha

prisma wave
#

because it's similar to song-bad-a

#

Mongo = Songo

jovial warren
#

lol

prisma wave
#

da = da

jovial warren
#

lol

foggy pond
#

Mongo database

hot hull
#

Now that is comedy

foggy pond
#

It's not

jovial warren
#

"da = da"
well nah no shit sherlock

#

@foggy pond what isn't?

prisma wave
#

high class comedy

foggy pond
#

Whoa

prisma wave
#

lol

jovial warren
#

Sondoga (deliberately spelt wrong) being a banned word is amazing

#

and MongoBatadase (also deliberately spelt wrong) is also comedy

prisma wave
#

evil website

#

poor mongo database though

quaint isle
#

Hi fellow gamers, what's the best way to implement player trails?
Do I just schedule a repeating task that repeats itself every 5 ticks or so, then use Player#getLocation() and World#spawnParticle() relative to the given location or is there a lighter way to implement this?

jovial warren
#

@prisma wave nah fuck mongo

#

that shit can go to hell

prisma wave
#

mongo is alright

jovial warren
#

it is the worst database management system ever created

prisma wave
#

@quaint isle that'll do

#

might be a bit faster if you use packets

#

but ofc that needs nms

astral quiver
#

Is allowed to use PDM in plugins that is sell?

jovial warren
#

NoSQL, uses JavaScript as a query language (JavaScript is bad enough as a programming language), really weird layout (no schemas, a single database)

astral quiver
#

Maybe add support to private repositories em PDM in the future 👀

prisma wave
#

private repos?

quaint isle
#

Oh boy I've never touched packets / nms. Would that make a huge difference regarding serverload?

ocean quartz
#

@astral quiver You might be able to and might not, depends on who reviews your plugin i think, since technically you can't have a plugin download dependencies on run for premium on spigot

astral quiver
#

Repositories that need credentials

prisma wave
#

ah right

#

yeah

#

I can try add that

astral quiver
#

Not prioriority I guess

#

but could be nice

#

to have in the future

jovial warren
#

wow sondoga's site is so bad that it's saying "We are aware of the problems Firefox users are experiencing at the moment. If possible, please use Google Chrome or Chromium Edge"

astral quiver
#

Oh

jovial warren
#

I'm like "I ain't switching to no shitty chrome just for your shitty site to work properly"

astral quiver
#

They will make Firefox folks angry

ocean quartz
#

It had firefox problems since launch, never fixed

prisma wave
#

@astral quiver make an issue if you want and I'll add it to the 1.0 project

jovial warren
#

is it really rocket science to make it work on Firefox?

astral quiver
#

😮

prisma wave
#

lol

#

nice paragraph

old wyvern
#

The major browsers should share a common style parsing

jovial warren
#

oof

astral quiver
#

You got time to review my PR

obtuse gale
#

so ive got a @PostConstruct thing but my current problem is if i autowire it into the class where JDA is made, it tries to get it before jda is built, giving me an unsatisfied dependency error, can I not autowire them in til jda has done its thing or?

old wyvern
#

Making shit compatible for every browser is just

#

Oof

astral quiver
#

is kinda bad code, I guess

old wyvern
#

Some dont have this, others dont have something else

astral quiver
#

but I don't know much about the Gradle Plugin API

prisma wave
#

it's all bad code rn so dw lol

#

it's all a mess

jovial warren
#

@obtuse gale you're not trying to autowire a @PostConstruct method are you

obtuse gale
#

no

#

im tryna autowire the class

jovial warren
#

I was gonna say lol

heady birch
#

That message has been there since I can remember. Also you mentioned the GDPR and right to erasure. Apparently (Sngda)'s database is not capable of that.

old wyvern
#

Is everyone on nitro these days

#

By god

jovial warren
#

@PostConstruct is executed after dependency injection is done, you should know that because you read the documentation @obtuse gale

obtuse gale
#

the class is an @Service so it lets me autowire it in, but since that class depends on jda we need jda to finish first

obtuse gale
#

so whys it giving me a Unsatisfied dependency lol

astral quiver
#

Look this 👀

#

Fuctional is the way!

prisma wave
#

that's a lot of FP

#

👀

astral quiver
#

It's work, okay? lol

prisma wave
#

merged :)

astral quiver
#

already

#

oh

prisma wave
#

is that bad?

astral quiver
#

Nooo

prisma wave
#

alrighty lol

jovial warren
#

oof

prisma wave
#

hopefully it doesn't break anything :)

astral quiver
#

I test here and works fine

#

Yes, hopefully

hot hull
#

Bardy, I fixed the 1.5% java code fingerguns

#

It's now 100% kotlin again

jovial warren
#

wait, my API's not gonna work with Java if it uses suspend functions is it

prisma wave
#

nope

jovial warren
#

@hot hull noice

#

shit

#

what can I do? the methods that are suspending are retrieve in my UserManager, which retrieves users from a database asynchronously

ocean quartz
#

Ayy I have done something cool, an IJ plugin that'll highlight certain words xD

prisma wave
#

lol

#

what's the point?

jovial warren
#

Random.Default depending on use case can either be > or < ThreadLocalRandom.current() > Random()

ocean quartz
#

Just playing around with plugins to learn a bit

prisma wave
#

fair enough lol

astral quiver
#

(1..10).random() >>>>>

ocean quartz
#

Jesus bardy, it's literally just a test who cares about other randoms lol

hot hull
#

Matt, make a plugin which makes everything rainbow

#

k tnx

jovial warren
#

creating new instances of Random = bad idea a mere most of the time

prisma wave
#

every single character should be a diff colour

onyx loom
#

Jesus bardy, it's literally just a test who cares about other randoms lol

prisma wave
#

@jovial warren we all know that

jovial warren
#

¯_(ツ)_/¯

heady birch
#

Generic random would be cool. Random<Integer> just feels kind of cool

#

Probably something rust would do to be honest

prisma wave
#

we can add that to elara

#

Random<Player>

heady birch
#

<T> nextValue(final T lowerBound, final T upperBound) -> T

hot hull
#

Random<Player>(onlinePlayers)

heady birch
#

no

unreal briar
#

SplittableRandom is life

ocean quartz
#

onlinePlayers.random() cuz Kotlin

heady birch
#

Literally rust

#

impl Random for Vec<Player>

unreal briar
#

RandomSelector<T> extends List<T>

#

You have a ThreadLocalRandom

prisma wave
#

AbstractRandomFactory(RandomValueProvider(Bukkit.getOnlinePlayers())).random()

unreal briar
#

and you just add the nextValue, etc

prisma wave
#

@astral quiver 0.0.27 is out with both of your PRs 🙂

astral quiver
#

gg

#

Tkx alot

#

I will test it here

foggy pond
#

Any way to add a branch without doing **ctrl+shift+** or clicking the branches...` button?

#

When I do either of those two it does not do anything

#

Intellij is bugging out

silk kite
prisma wave
#

wow

#

😠

silk kite
#

uh.....

onyx loom
#

LOL

silk kite
#

well I tip my hats for you to creating your own language

prisma wave
#

lmao

#

any suggestions?

silk kite
#

but still......

foggy pond
#

I literally cannot open source my plugin because IntelliJ is broken

prisma wave
#

i will admit the main influence for the function syntax was JS

#

but like

#

python?

#

not so much

silk kite
#

if n == 1 .. no brackets 🤮 🏃‍♂️

onyx loom
#

no brackets good

prisma wave
#

that's not exclusive to python

onyx loom
#

for little stuff

prisma wave
#

rust has it too

#

and the brackets are optional

heady birch
#

Rust has no brackets 🙂 Rust is good language, Also I like the struct based stuff and extend keyword

prisma wave
#

yeah that's our cool gimmick

#

except not a gimmick

silk kite
#

What sort of environment does it run in? Compiled or interpreted?

prisma wave
#

eventually it will be compiled

#

to either native or JVM bytecode, haven't decided yet

#

atm it's interpreted, but not much - the runtime stuff barely exists

quaint isle
#

@foggy pond Can't you just create the branch on github (or whatever repo you are using) and then check it out?

jovial warren
#

@prisma wave say I have a class that has two supertypes: another class and an interface, and both of those supertypes have a value with the same name but different return types, is there a way I can override only one of the values and not interfere with the other?

prisma wave
#

wdym by "value"

#

a function?

jovial warren
#

no it's a value

prisma wave
#

so a property?

jovial warren
#

yes

prisma wave
#

hmm

jovial warren
#

that's what I mean

prisma wave
#

that's gonna be difficult i think

#

not sure it's even possible

#

isn't the compiler throwing an error?

jovial warren
#

IJ is screaming at me

prisma wave
#

Mhm

#

This seems more like poor code structure

jovial warren
#

I'm making an API, and I want the API users to make use of the database entry's ID, but the class that implements that interface is PunishmentEntity, which also extends IntEntity

prisma wave
#

if a class and an interface have 2 things with effectively the same purpose then you're repeating yourself

jovial warren
#

I'm trying to make a database entity from exposed also implement the API's interface

#

unless I call the id in the API interface something different

#

or I just say fuck having access to the ID and be done with it

#

which kinda makes more sense, as you shouldn't be able to customise that

obtuse gale
#

anyone know my unsatisfied dependency problem lol

#

Basically in class A I have a constructor that depends on B, B requires a bean from A, but a new instance of B is being made before the bean is finished in A

hot hull
#

@onyx loom Do you have mc opened by any chance?

onyx loom
#

wow ur in luck!

hot hull
#

Join back, I'm slowly loosing my mind

onyx loom
#

me too sad_fingerguns

#

java hurting my smooth brain

hot hull
#

This fucking shit hurting my brain, actions work 100% when I test it inside the lib, yet just nothing happens when I try to use them in FJ

#

It'll legit be quicker if I put the lib back into FJ itself

#

If I copy files from a dir to another dir, will IJ recognize them, or will they shit itself?

onyx loom
#

?tryandsee

compact perchBOT
onyx loom
#

🌝

hot hull
#

Fair enough

heady birch
#

@obtuse gale Remove the circular dependency

obtuse gale
#

I mean yeah but how

#

Since B needs the bean from A

heady birch
#

Easy way is to just add a setter for the one thats in a circle but its pretty wack way of fixing it

obtuse gale
#

but A needs B, not in the bean

#

wym

heady birch
#
@Autowired
public void setDep(Object o) {
....
}```
obtuse gale
#

one sec

#
@Service
class A @Autowired constructor(
  private val b:B
){

@Bean
fun coolThing():C{
  // Do stuff
  return C
}
}
@Service
class B @Autowired constructor(
  private val c:C
){

}``` this is my problem
foggy pond
#

I was being dumb about github earlier @quaint isle my bad

#

I got my plugin as a dependency, and I got the repository too for it in my pom.xml

#

There is no errors in my pom.xml, or warnings

hot hull
#

hah Kali it worked

foggy pond
#

yet IntelliJ cannot see the the plugin I added as a dependency whatsoever

#
        <dependency>
            <groupId>com.github.klyser8</groupId>
            <artifactId>Karma-Overload</artifactId>
            <version>3.0.0</version>
            <scope>provided</scope>
        </dependency>```
#

No errors or warnings

#

Yet it's as if it does not exist

jovial warren
#

probably because it doesn't

#

and that may sound confusing, but are you sure it knows where to get the dependency from?

foggy pond
#

I gave it the repository

prisma wave
#

send the full pom

#

Make sure the repo URL is correct

foggy pond
#

Okay now it throws an error, even tho it is not highlighted in the code

#

Replaced the Tag with the plugin version

obtuse gale
#

pro gamers use this for variable declaration

#
set {test} to true```
jovial warren
#

@foggy pond have you even looked at the releases tab for that?

#

go to the releases tab and click "get it"

foggy pond
jovial warren
#

that's how JitPack works, yes

foggy pond
#

wa

jovial warren
#

that's your commit ID I believe

prisma wave
#

@obtuse gale delete this

obtuse gale
#

hehe

jovial warren
#

though it's longer than a commit ID and contains invalid characters so may just be JitPack's wacky versioning

foggy pond
#

❤️

#

It works now

jovial warren
#

you're welcome by the way

foggy pond
#

Thank you ❤️

heady birch
#

Wonder what would be a decent way to introduce switchable UI's (not in the sense of basic CSS themes, but like a full UI rewrite) with thymeleaf, allowing the user to "use legacy theme" e.g If you get what I mean

ocean quartz
foggy pond
#

When submitting a premium resource, can I edit the resource's page while I am waiting for approval?

jovial warren
#

probably

hot hull
#

I think you can yes

jovial warren
#

@ocean quartz noice

hot hull
#

(But it's not visible to others)

prisma wave
#

@heady birch different template files and an URL parameter?

jovial warren
#

also am I the only one who puts abbreviations in capital letters in class names

heady birch
#

I used to be but recently stopped because apparently its still convention to follow lowerCamelCase even with abbrevations

hot hull
#

fuckin bullshit

ocean quartz
#

Convention is lowerCammelCase yeah, though it's fucking mess, if you type any you'll see all sorts of implementations

jovial warren
#

I put abbreviations in lower case for the lower part of that, but anywhere else, it's upper case

foggy pond
#

Okay good so I can edit the page n stuff while I am waiting for approval

prisma wave
#

elara wouldn't have this problem

#

Lowercase everything

jovial warren
#

lol

prisma wave
#

let handle-url = blah

hot hull
#

Frosty had never seen such bullshit before

prisma wave
#

let sql-query = blah

jovial warren
#

@prisma wave what about structs?

prisma wave
#

Uh

#

No comment

hot hull
#

Is that a virus I see Matt

ocean quartz
#

Oh

prisma wave
#

Probably upper case

jovial warren
#

I swear if this is a rick roll I'm gonna have you Matt

#

yeah like that

#

I prefer HTML over Html there

#

because HTML looks better

#

fax

ocean quartz
#

Discord is all fucky for me

prisma wave
#

Yea we haven't settled on a proper convention yet but it would probably be PascalCase with uppercase acronyms

ocean quartz
#

Still processing the video lmao

jovial warren
#

oof

#

I trusted it didn't have a virus and just downloaded it anyway lol

ocean quartz
#

The highlight visitor IJ has is awesome

#

if discord wants to send my damn image

#

omg

jovial warren
#

omg lol

#

there we go

#

if it loads lol

ocean quartz
#

Discord is having a stroke

static zealot
#

discord is going crazy xD

#

kk

jovial warren
#

yeah I can tell

onyx loom
#

a fat stroke

ocean quartz
#

Actually @frail glade can you do one of my multi spin now? ;p

onyx loom
#

did fc spin it for u yesterday or nah

#

i cant remember

static zealot
#

xD

ocean quartz
#

Nah, he was offline, still have 2 pending

jovial warren
#

why Glare? because he's the most likely to respond?

onyx loom
#

that moment when fc ignores u peepoSad

#

well the aussies are asleep

jovial warren
#

true

onyx loom
#

and clip aint gonna respond Kappa

jovial warren
#

and clip's probably at work

prisma wave
#

@everyone

loud gyroBOT
#

The 'everyone' mention is disabled so you can't annoy people.

prisma wave
#

Ex

frail glade
#

=multi spin

compact perchBOT
#
New XP Multiplier...
jovial warren
#

oof

ocean quartz
#

Because he's the Waffle King

onyx loom
#

ayyy

jovial warren
#

let's be havin' ya

#

there we go

frail glade
#

POG CHAMP

prisma wave
#

Huge

onyx loom
#

9x PogChamp

ocean quartz
#

Oh noice

#

Thank you!

jovial warren
#

11x xD

frail glade
#

Big brain plays.

prisma wave
#

Ofc it's the moment I leave the house

onyx loom
#

so have u guys heard about that new language?

#

its called elara

prisma wave
#

Damn sounds pretty cool

ocean quartz
#

Good chance for me to pass some people

jovial warren
#

jesus christ Discord must be getting DDoSed or something

#

or Barry's just having a fit too

ocean quartz
#

Gotta pass Mackenzie and Clip

jovial warren
#

lol

#

@lavish notch

#

oof

ocean quartz
#

Why did you ping lol

prisma wave
#

so I hear elara is a multi paradigm language with a focus on functional programming??

#

Sounds pretty cool

jovial warren
#

so he can respond and deny you from overtaking him xD

#

get rekt

onyx loom
#

will happen anyway bardy

#

matt is too strong 😎

hot hull
#

BM is gonna pass me :((

jovial warren
#

then chat more shit frosty

ocean quartz
#

Need about 20k xp

#

So pretty far

jovial warren
#

that's all that pretty much anyone with loads of XP does in here

onyx loom
#

frosty im gonna pass u too 😳

prisma wave
#

not if I have anything to say about it

ocean quartz
#

Is Aboo still alive?

jovial warren
#

maybe

#

he lost his streak I think

onyx loom
#

he typed a couple messages the other day actually

#

but still not much

lavish notch
#

@jovial warren Why'd you ping me?

ocean quartz
#

Frosty type away you're almost passing him

jovial warren
#

@lavish notch read up

onyx loom
#

@prisma wave ur gonna pass frosty, but i aint passing u :(

prisma wave
lavish notch
#

save me reading, give me summary

jovial warren
#

Matt just said he's gotta pass you while this x9 multiplier is on

ocean quartz
#

It's literally just because i said i was gonna pass you in rank

prisma wave
#

@hot hull give me your account details (and credit card details) and I'll get you to #1 :)

lavish notch
#

Oh...

onyx loom
#

lmao

#

an xp boosting service

hot hull
#

(and credit card details)
Ah yes

prisma wave
#

It's a good deal

lavish notch
#

Well... if barry is offline - you can't pass me

prisma wave
#

Trust me :)

ocean quartz
#

Is barry really dead, cuz that's pretty sad

hot hull
#

Nah discord is dying

jovial warren
#

@pallid gale Barry be slacking

onyx loom
#

just discord images and stuffs

ocean quartz
#

Idk if that'll affect the xp or not, but hope discord fixes himself fast

hot hull
#

API fucked as well probably

prisma wave
#

There was a cloudflare outage recently I think, could be part of that

lavish notch
#

@ocean quartz What do you mean you're about to pass me? - You're 14k xp away

#

*16k

hot hull
#

Also quick suggestion, don't make libs in kotlin, shit won't work -.-

prisma wave
#

make them in elara fingerguns

ocean quartz
#

Yeah i know lol

Need about 20k xp
So pretty far

onyx loom
#

elara good

#

kotlin bad

prisma wave
#

so good

onyx loom
#

prove me otherwise

jovial warren
#

@prisma wave I swear there hasn't been an outage in at least a month or so

prisma wave
#

no can do

jovial warren
#

the last outage was that big outage when like 13 datacentres went down due to a faulty router in Atlanta

lavish notch
#

Let me just slide clip like 50$, and he'll hook me up with some juicy xp

prisma wave
#

@jovial warren maybe not I just saw some thing on news a few days ago

#

Might have been really outdated idk

jovial warren
#

it's not clip who made Barry @lavish notch

lavish notch
#

I know.

#

..but he can abuse barry

ocean quartz
#

admin abuse

jovial warren
#

he likely won't though lol

prisma wave
#

I think they should rewrite Barry in elara

onyx loom
#

hes dont it before bardy thonking

prisma wave
#

And by they I mean me

onyx loom
#

i agree bm

ocean quartz
#

i'd do it for $50 why wouldn't he

jovial warren
#

they should rewrite Barry in Kotlin with Spring

prisma wave
#

ha

#

Yeah no

onyx loom
#

elara >

prisma wave
#

Overengineered rubbish

#

^

ocean quartz
#

Barry is perfectly fine the way it is

prisma wave
#

Btw we are currently looking for someone to make :elaramoon:

onyx loom
#

lmao

prisma wave
#

If you are a talented graphics designer let us know

onyx loom
#

u need an elara logo first

prisma wave
#

That will be the logo

onyx loom
#

LOL

heady birch
#

Right what lib should I make and release?

onyx loom
#

elara lib

jovial warren
#

@heady birch wdym?

#

make an NMS lib based off of your adapter system

heady birch
#

Except an nms lib 😐

prisma wave
#

We can't pay but we can add your name to the documentation

jovial warren
#

I should make an NMS lib

prisma wave
#

You will get lots of exposure

#

btw we have the right to remove your name after a week

jovial warren
#

lol

onyx loom
#

🌝

#

a whole week of exposure

heady birch
#

Lol. What would elara lib even do

onyx loom
#

sounds worth it to me

jovial warren
#

wait what kind of Elara lib?

#

like all the built-in stuff?

onyx loom
#

bukkit elara

jovial warren
#

I've always wanted to make built-in stuff for programming languages lol

prisma wave
#

standard lib

#

Yes

#

linked list

#

Print function

#

Fun stuff

jovial warren
#

righty then

#

Kotlin/JVM with a Kotlin DSL build script it is

prisma wave
#

we are also going to make Elara on Rails and Elango

jovial warren
#

lol

prisma wave
#

and Elara Boot

jovial warren
#

how do you make Elara code?

prisma wave
#

3 different web frameworks

#

You don't

jovial warren
#

is it just written in string form?

prisma wave
#

It barely functions yet lol

jovial warren
#

shall I help you with that

prisma wave
#

You can do basic maths and that's about it

#

You can in a few days

#

We're gonna rewrite everything

jovial warren
#

we're gonna need a full compiler and runtime environment

prisma wave
#
  • make a compiler
ocean quartz
#

Is Elara JVM?

prisma wave
#

not sure yet

jovial warren
#

it currently uses Kotlin, but I think it should compile to native

prisma wave
#

Might pull a Kotlin with different compiler backends

ocean quartz
#

That sounds nice yeah

prisma wave
#

We're gonna rewrite everything in Go soon

#

Faster

onyx loom
#

have u used go before

ocean quartz
#

speed

#

Go is actually pretty cool

jovial warren
#

I might design my own language

onyx loom
#

why would u need to do that when elara exists

#

its literally the perfect language obviously

prisma wave
#

A little bit

onyx loom
#

🌚

jovial warren
#

I've always thought of a language that can translate in to other languages using some sort of machine learning, meaning it's fully cross-compatible and interoperable

prisma wave
#

Go is easy to learn

ocean quartz
#

Only problem with Go is the weird symbols it uses

prisma wave
#

They're not that bad

#

Standard pointer syntax

#

Apart from walrus operator

#

Evil walrus

jovial warren
#

pointer syntax?

prisma wave
#

& and * iirc

heady birch
#

How is it

prisma wave
#

Good image

heady birch
#

Just felt like prototyping a possible command layout

jovial warren
#

@CommandMapping?

ocean quartz
#

Does it require the @Required annotation everywhere?

prisma wave
#

gonna need aj's dropbox for this one

heady birch
#

only if the argument is required

jovial warren
#

wait are you remaking KiteBoard's command system?

heady birch
#

could always make it @Optional instead

ocean quartz
#

Might wanna make @Optional instead of required, because you'll have many more required than optional imo

obtuse gale
#

what

heady birch
#

no I don't plan to

jovial warren
#

okay

heady birch
#

What lib hasn't been made yet?

old wyvern
#

Elara lib

prisma wave
#

^

onyx loom
#

E

old wyvern
#

L

onyx loom
#

A

ocean quartz
#

Make a lib maker lib

old wyvern
#

R

jovial warren
#

main.sh literally contains java -jar Elara.jar lol

onyx loom
#

A

old wyvern
#

M

jovial warren
#

lol

#

@ocean quartz that might not actually be a bad idea

#

question is though: how would it work? what would it do?

old wyvern
#

Thats for replit functionality bard

ocean quartz
#

Also what is Elara's file extension going to be?

prisma wave
jovial warren
#

.el?

heady birch
#

.eee

prisma wave
#

Probably

old wyvern
#

Mhm

jovial warren
#

nah .el is already used

ocean quartz
#

how would it work? what would it do?
That's up to you to decide, i do the ideas only

jovial warren
#

^ fair enough

prisma wave
#

nah .el is already used
@jovial warren I'm sure they won't mind

#

It's for a good cause after all

jovial warren
#

it's associated with Emacs

old wyvern
#

.elr maybe

ocean quartz
#

.ara

old wyvern
#

😂

ocean quartz
#

Ara ara

jovial warren
#

.elr yes that's a brilliant idea Yugi

#

actually that's an EPLAN Revised Project

#

just make it .elara lol

old wyvern
#

🤷‍♂️

prisma wave
#

pretty much every extension less than 4 characters is gonna be taken

ocean quartz
#

.ea

glad spear
#

Did I just see a multi spin

prisma wave
#

But who cares about the random file types from 1983

ocean quartz
#

Perhaps

glad spear
#

:)

old wyvern
#

EA?

onyx loom
#

missed alot of it tradie

heady birch
#

I think I over complicated my whole gradients thing. when does anyone actually want an HSB gradient? because you can make a rainbow with just RGB + multiple colours

ocean quartz
#

First and last letter Yugi xD

old wyvern
#

They woukd possibly sue us for no reason

onyx loom
#

ea sports

glad spear
#

Shit

onyx loom
#

its in the game

prisma wave
#

.elaraextension

jovial warren
#

@heady birch I wish I could come and work on KiteBoard lol

old wyvern
#

😂

prisma wave
#

Get that disgusting moon off my message

#

NOW!!

onyx loom
#

no 🌝

ocean quartz
#

Still think .ara is the best

jovial warren
#

oof

prisma wave
#

😡 🤬 😡

#

Mods

#

Admins

#

Please remove these reactions

#

Immediately!

old wyvern
#

Maybe .era

heady birch
#

Perhaps although it would probably need a seperate repo. Then I don't know how you can merge repos in future

ocean quartz
#

Reactions are the law

prisma wave
#

no

jovial warren
#

unless I just created a private fork or something idk

prisma wave
#

This is a targeted attack

#

The full_moon_with_face media doesn't want me to succeed!

jovial warren
#

also @heady birch , I have that source code if you want it btw

prisma wave
#

They are scared about what we can do

jovial warren
#

though I doubt you want me sending the ZIP in here and I don't think you have DMs from server members on

prisma wave
#

Imagine people wanting to DM you

jovial warren
#

ikr

#

I mean, I offered to just put it on a private repo and give him access but he said he wanted a ZIP instead

glad spear
#

I NEED HELP can I dm you!!!

prisma wave
#

guys i need help with my plugin
@obtuse gale person can i come to your house and show you the erorr

heady birch
#

Can you merge a github repo that contains issues and wiki into another one that contains the actual source code

prisma wave
#

oh no

#

no

#

oops

ocean quartz
#

I get some amazing DMs from this discord asking for help

glad spear
#

LOL

heady birch
#

So basically transfer wikis and issues into another REPO

ocean quartz
#

It's wonderful, 10/10 recommend

jovial warren
#

if you clone the code from both repos and push to one, maybe

#

you can add multiple remotes

#

though they have completely different commit history so idk

#

I could just do the Wiki manually if necessary

#

or you could just keep both

heady birch
#

I still have alot of changes to do before pushing the source

jovial warren
#

can I help? 🙂

#

I mean, not to use this as a "I did this for you now you do this for me" kinda thing, but I did spend from Thursday to Monday deobfuscating that plugin xD

#

I'd test doing this myself, but I don't own any repos with issues lol

ocean quartz
#

We all have issues cryingblob

jovial warren
#

I mean GitHub issues you silly goose

prisma wave
#

elara doesn't have issues

ocean quartz
#

yet

prisma wave
#

it came out the metaphorical womb perfect

old wyvern