#dev-general

1 messages Β· Page 77 of 1

pale shell
#

Eh?

prisma wave
#

to get spigot jars

pale shell
#

i never use that

prisma wave
#

you should

pale shell
#

how come? πŸ€”

prisma wave
#

doesn't need any external websites to work
installs nms into your local repo
isn't illegal
works with any version

heady birch
#

installing into local is extremely useful

prisma wave
#

and yes it is

#

need to make int + int = int right now

#

i'm resolving them all as doubles right now

pale shell
#

😦

#

idk how you guys make those

#

seems so complex

prisma wave
#

this is actually very simple

#

antlr does most of the work

pale shell
#

?

prisma wave
#

antlr

#

then I just convert the generated code into nice wrappers

heady birch
#

Nice

prisma wave
#

it's very nice

#

pretty cool

#

ayy int addition works now

pale shell
#

It hurts how much they've changed the api

#

every method has issues lol

#

I mean i shouldn't complain i brought this on myself :/

prisma wave
#

it has changed for the better

pale shell
#

eh

ocean quartz
heady birch
#

πŸ˜„

prisma wave
#

destroy it

pale shell
#

@ocean quartz i met the creator of that character. πŸ™‚

ocean quartz
#

Burn it
And oh nice, used to what it a lot

pale shell
#

It's based in my town 😎

prisma wave
#

4ms for 2 variable declarations and 3 print calls

heady birch
#

hampton?

prisma wave
#

not bad

pale shell
#

hapton?

#

no lol

heady birch
#

oh

prisma wave
#

reading, lexing and parsing takes like 120ms though 😬

pale shell
#

wanna know a fact about the studio of who made it?

heady birch
#

i thought I knew them

#

began with A

pale shell
#

their original studio burnt down so they had to move to the other side of the city 😦

hot hull
#

Thank you @ocean quartz that img will be used good

pale shell
#

Aardman Animations πŸ˜‰

ocean quartz
#

You're very welcome, i have a bunch of those for every situation

obtuse gale
#

Question:
Basically my current problem is the discord invite manager that shows how many people joined from each invite is kinda a pain in the ass, cos I cant name the invites, and i forget what invites which, what would the best solution be in a bot?

heady birch
#

thats it

pale shell
#

I wish there was a easier way to move my project to 1.14 😬

ocean quartz
#

Imma join you guys in the new language thingy

pale shell
#

I've "updated" to 1.14. Now where's the god damn errors at.

#

Something defo ain't right here. πŸ€” no errors.

prisma wave
#

go for it @ocean quartz

pale shell
#

all working (I think) πŸ˜‰

prisma wave
#

Nice

ocean quartz
prisma wave
#

That's step 1 lol

pale shell
#

Apart from the gui shit

prisma wave
#

I guess maybe step 0.5

ocean quartz
#

More like step 0 xD

prisma wave
#

it's better than nothing

pale shell
#

If i could work out how to sort out menus we should be gucci

prisma wave
#

we have given many suggestions

#

Apply one of them

#

profit

pale shell
#

Would slots work? πŸ€”

prisma wave
#

it's not a very elegant solution but yes

pale shell
#

there's a elegent option?

prisma wave
#

yes

pale shell
#

spigot never has elegent lol. Always rough af.

prisma wave
pale shell
#

Encapsulating is hard?

prisma wave
#

encapsulating the Inventory state is elegant

#

not particularly

#

Conclure literally showed you how to do it

prisma wave
#

yes

pale shell
#

Would that go within the command and stuff?

prisma wave
#

no

#

Inside its own class

#

SRP

pale shell
#

Single Responsibility Principle

#

πŸ˜‰

prisma wave
#

Principle

#

But yes

#

the inventory should be inside its own class

pale shell
#

ah

#

time to rework all the inventories then

prisma wave
#

yes

pale shell
#

and i have a lot of them too 😬

prisma wave
#

then 1 instance per open Inventory

#

Just rewrite

pale shell
#

or use fluency?

ocean quartz
#

Oh boy, time to figure out a lexer

prisma wave
#

use ANTLR for lexing and parsing

#

makes it a lot easier

#

@pale shell that's also an option. Matt has a GUI Lib too

ocean quartz
#

Ooh gonna give it a shot ty

prisma wave
#

np

#

The most difficult part is getting intellij to recognise the generated classes lmao

pale shell
#

I'm just trying matt's lib to see if this works! πŸ˜„

#

oh damn πŸ‘€

#

@prisma wave is it normal for shadowJar to take ages?

prisma wave
#

how long is ages

heady birch
#

no

pale shell
#

27s

heady birch
#

unless your shading in the whole of spigot or something

prisma wave
#

it should take like 10 seconds max

#

and that's with a lot of libraries

pale shell
#

😦

#

am i doing something wrong then?

prisma wave
#

depends what you're shading

pale shell
#

I'm trying to shade matt's thing in

#

now to work out how you do all this 😬

prisma wave
onyx loom
#

das crazy

prisma wave
#

ikr

onyx loom
#

with ur crazy technological advancements, u might aswell work for epic games to fix their launcher

prisma wave
#

they'd better hire me soon

onyx loom
#

i believe

pale shell
#

imagine if intellij actually cached stuff πŸ‘€

prisma wave
#

It does lol

#

Quite a lot even

pale shell
#

i mean, it's not chaching this code?

#

it's going through every single class even tho i changed 1 file

obtuse gale
heady birch
prisma wave
#

Oh yeah I think I've heard of that before

#

Looks decent

lunar cypress
#

yeah me too

#

wanted to suggest it once for a school project but scrapped it

heady birch
#

Looks really nice

prisma wave
#

@topaz bay how are you handling type inference?

topaz bay
#

Β―_(ツ)_/Β―

#

@prisma wave

prisma wave
#

helpful lol

#

my code is a massive mess

#

just assuming everything is an int for now lol

topaz bay
#

gross

prisma wave
#

very gross

topaz bay
#

My type system is at runtime

#

Things only have types once the type is resolved

#

like val one = 1

#

the property one only has a type after the expression 1 is evaluated

#

but when you have val one: Int = 1

#

one is created with the type Int

#

And if the expression 1 doesn't evaluate to Int, you get an exception

#

I would like to have 100% compile time types, even when inferred from expressions, but like... I would have to evaluate them

#

And the parsing system is 1 pass for now

#

So I can do post inference for assigned properties yet

#

can't*

#

Is that enough of an explanation @prisma wave

#

?

errant geyser
#

The staff team are slacking off. I submitted a role request like a week and a half ago to torture you all and you still haven't roasted me yet. Disappointed

remote goblet
#

it took like

#

3 weeks for mine to be reviewed

eager fern
#

@errant geyser dont complain we aint being paid

remote goblet
#

complain :)

eager fern
#

We gonna take as much time as we want

pale shell
#

They're being paid

#

$0.01 a year

eager fern
#

shittt dont expose

pale shell
#

Sorry terfs!

eager fern
#

😦

pale shell
#

Don't wanna cause a Turf war

errant geyser
#

Terfs I will gladly pay you $0.00 to watch you painfully cringe at the quality of my code

eager fern
#

woah

#

Im good πŸ™‚

pale shell
#

woah
@eager fern?

eager fern
#

... wym ???

errant geyser
#

WOAH

pale shell
#

Idk sorry

eager fern
pale shell
#

I'm drunk

#

I had 6 shots of vodka red bull

eager fern
#

o

pale shell
#

You think I know where I am?

errant geyser
#

Honestly tho, I can't wait to get ripped a new one by u all when you finally get around to it. It'll be so funny

pale shell
#

I've been coding while drunk btw ;D

errant geyser
#

Stop now

#

Never a good idea. You'll come back tomorrow like "how does that even work?????"

pale shell
#

Coding while drunk is hella fun ngl

#

@errant geyser that happens when I'm not drunk too

#

I question how 99% of my code still runs

errant geyser
#

Petition to give the staff team speed so they will have to endure my torture now

prisma wave
#

@topaz bay I see, thanks

#

gonna need to do some serious refactoring

topaz bay
#

@prisma wave I would love to see this code

#

I'm gonna put Odin on GH

#

And I need you to not flame me

#

Thank you, that is all.

errant geyser
#

flame him, flame him

obtuse gale
#

@ocean quartz suggestion for your discord command framework thingy your making, if you havent already done it:

@RequiresAdmin

ocean quartz
#

It's going to have a permission base command yeah, so you can set roles and things like that

obtuse gale
#

ah

prisma wave
#

@topaz bay you would love to see mine?

#

Because I'm not sure that's going to happen right now

topaz bay
#

@prisma wave yes

#

do it

pale shell
#

And I need you to not flame me
@topaz bay did you say flame you?

topaz bay
#

@pale shell shut your whore mouth

topaz bay
#

tuple access

#

yayyyy

ocean quartz
#

Nicee that looks good!

topaz bay
#

Theyre also fully evaluated expressions individually

#

So you can do stuff like this

#

And this

#

@ocean quartz

ocean quartz
#

That is fucking awesome! ;o
Damn you're going hard on this

topaz bay
#

oh...

#

my god

#

I just realized..

#

All this shit I added to this language

#

It doesnt even have comments

pale shell
#

@pale shell shut your whore mouth
@topaz bay RUDE!!

topaz bay
#

:D

#

I mean, I'm just sayin

signal tinsel
#

Might add cooldowns to matts framework

#

@Cooldown(1L, CooldownType.PLAYER, "rankup") this is a concept I sent matt

prisma wave
#

That could be cool

signal tinsel
#

I'm probably gonna work on that

#

And just PR it in or smth idk

prisma wave
#

I showed you my spaghetti code please respond

signal tinsel
#

Lol

remote goblet
#

I showed you my spaghetti code please respond
Beautiful

lunar cypress
#

hello

#

you left me on read haha

violet jacinth
#

does anyone know how to compile my java project into a jar on intelliJ?

heady birch
#

Are you using maven

violet jacinth
#

yes

heady birch
#

Maven view on the right

#

Select module expand lifecycle and double click Package

violet jacinth
#

oke thanks

#

and how do i do it in a normal java project?

heady birch
#

Same way

lunar cypress
#

If you don't have maven you can't use maven...

#

"Normal" java projects suck though

#

You should always use a build tool

heady birch
#

Thought he meant normal as in non-MC related

lunar cypress
#

IntelliJ has a built in artifact builder but it's not great

heady birch
#

Open project structure

#

Go to artifacts

#

Press + and select jar

violet jacinth
#

oke thanks great

heady birch
#

@lunar cypress Is it good practice to accept an Optional as a parameter to a method?

pale shell
#

@prisma wave nerd

lunar cypress
#

No @heady birch

heady birch
#

Ok

prisma wave
#

Yes @pale shell

obtuse gale
#

damn webhooks are easy as fuck

#

idk why i thought it was so hard

topaz bay
#

@prisma wave booooo

pale shell
#

uh oh it's Sx run

topaz bay
#

You cheated

#

Write your own lexer and parser

#

Boooooooooo

prisma wave
#

that's not cheating

#

it just saves time

pale shell
#

@prisma wave

prisma wave
#

why make work for yourself

#

y not

#

y

#

there

topaz bay
#

BOOOOOOOOOOOOO

prisma wave
#

elitist

#

just because you made your life harder

pale shell
#

who angered sx

prisma wave
#

me

pale shell
#

well done

prisma wave
#

merci

pale shell
#

I'll let you resolve this then

prisma wave
#

@topaz bay your lexer probably SUCKS anyway

pale shell
#

gonna watch this fight

prisma wave
#

he's not replying

#

this is very dull

#

@topaz bay answer me coward

pale shell
#

@topaz bay answer alex 😠

hot hull
#

lol

pale shell
#

frosty ping sx

prisma wave
#

this probably counts as harassment

topaz bay
#

What

#

The hell

#

It's going on

pale shell
#

alex told me to ping you

prisma wave
#

you have not answered me

#

I said your lexer sucks

#

mine doesn't

heady birch
#

I got one more API decision to make

#

I don't think I have the power

prisma wave
#

unlimited power!

heady birch
#

Can we talk about it?

prisma wave
#

Fine

heady birch
#

GroupUpdater method

#

read notes tell me what you think

pale shell
#

static 😠

heady birch
#

Yeah right

prisma wave
#

Imagine using static methods and not interfaces

heady birch
#

Couldn't be bothered to wire in the GroupUpdater

#

But then this wouldnt need to be static if the logic was in KiteUser.updateGroups()

topaz bay
#

My lexer is clearly supreme

prisma wave
#

Put it in there then

#

I don't believe it is

pale shell
#

@topaz bay i prefer alex's >:)

#

his one actually works

topaz bay
#

Yours is generated spaghetti code

prisma wave
#

well

#

mostly

#

who cares

heady birch
#

yes but doesnt this violate SRP?

topaz bay
#

WHAT?!??

#

Mine fucking works too

prisma wave
#

mine is made by professional language designers

heady birch
#

why should KiteUser have to update its own groups

topaz bay
#

πŸ˜‚ πŸ˜‚ πŸ˜‚

pale shell
#

no it doesnt

#

:)

heady birch
#

when the

prisma wave
#

@heady birch honestly I think either is fine

heady birch
#

I make this decision

prisma wave
#

you are definitely overthinking it

heady birch
#

I can never change it

prisma wave
#

make a UserUpdater interface and wire that into a KiteUser or something

heady birch
#

Actually that brings me to something

#

Since the method is the same for all

pale shell
#

anyone here code in Lua?

heady birch
#

Is it a good practice to use a default void in the interface?

prisma wave
#

Piggy does

#

Lua sucks

heady birch
#

Kind of like Sxtannas traits

pale shell
#

my friend's looking for a lua programmer

prisma wave
#

@heady birch I would avoid it whenever possible

#

Why lua

pale shell
#

gta v

#

fivem

topaz bay
#

I could kill for final methods in interfaces

prisma wave
#

Yes

heady birch
#

Yes

#

I could kill for unthrowable exceptions

#

No

obtuse gale
#

I can code Lua, but i haven't learnt it fully, especially in-built functions

topaz bay
#

@heady birch huh??

heady birch
#

?

topaz bay
#

What do you mean by unthrowable exception?

heady birch
#

joke

#

Bout to make my first javadoc

pale shell
#

πŸ‘

#

πŸ™‚

prisma wave
#

Javadocs bad kdocs good

pale shell
#

kdocs?

#

wadu hek

prisma wave
#

Kotlin docs

pale shell
#

o

#

i didnt know that existed

prisma wave
#

it's a different language so yeah it uses a different doc format

#

a better one too

pale shell
#

but java is better ;D

prisma wave
#

No

pale shell
#

in hell

#

kotlin ftw

prisma wave
#

Right answer

obtuse gale
#

wait kotlin docs is a thing

prisma wave
#

Yes

obtuse gale
#

imagine documenting your code tho

prisma wave
#

Dokka is the engine

#

Kdoc is the format

obtuse gale
#

documenting code is for nerds

heady birch
#

Don't even work

prisma wave
#

What

heady birch
prisma wave
#

Ew maven

heady birch
#

Can't even find anything on (default-cli)

#

Oh

#

Java home wasn't set right or something

rotund egret
#

Finally got TeamCity setup, was a PITA to get setup on https
yeehaw

topaz bay
#

@prisma wave @pale shell

pale shell
#

o

#

you werent joking

frail glade
#

POG

lilac acorn
#
   
     int score = section.getInt("score");
#

this is my plugin error

#

in this code

#

i can help me ?

hot hull
#

Show the error

pale shell
#

@topaz bay that looks hella complex to write..

compact perchBOT
pale shell
#

yeeted

hot hull
#

It's null, so do a null check beforehand

topaz bay
#

joking about what?

hot hull
#

(Well something is null)

lilac acorn
#
    public static boolean isPlayerInList(Player p){
        section = Main.yamlFile.getConfigurationSection(p.getUniqueId().toString());
        if (section == null){
            p.sendMessage(Utils.chat("&fWelcome New Player&b" + p + " &fEnjoy !"));
            return false;
        } else {
            addPlayerToData(p);
            UpdateVisuals(p);
            return true;
        }
    }
pale shell
#

i thought you were joking about making that language

topaz bay
#

?????

#

Do you think I just like... made up all the screenshots I sent?

pale shell
#

yes

old wyvern
#

Odin

#

O.o

topaz bay
#

How...

old wyvern
#

How do you write code for it?

topaz bay
#

Wha...

distant sun
#

Sxlang

topaz bay
#

???

old wyvern
#

Notepad?

pale shell
#

notepad++

topaz bay
#

wdym how do you write code for it?

old wyvern
#

No idea

#

Ill try it out today

topaz bay
#

Thats a terrible idea...

#

Its not complete

old wyvern
#

What all exists rn?

#

I just wanna see

#

πŸ˜‚

topaz bay
pale shell
#

i can drink

topaz bay
#

Theres more that works ofc, but these contain what I was working on

old wyvern
#

I see

pale shell
#

ok, i will not joke around with sx about making crazy things such as coding languages.....

topaz bay
#

@distant sun thats actually a thing btw

#

It was called SxtLang, but close enough

distant sun
#

πŸ™‚

#

I like the pull thing, pretty nice

prisma wave
#

I mean it's no Frigga

topaz bay
#

LMFAO

#

HATTTTEEERRRRR

pale shell
#

No haters @topaz bay

lost edge
#

Good luck for anyone taking AP Comp Sci test!

topaz bay
#

@pale shell alex is a big hater

pale shell
#

@prisma wave is this true

prisma wave
#

No

pale shell
#

@topaz bay yes, but you critise everyone's code

prisma wave
#

I deny these allegations

pale shell
#

I make perfect code everytime

#

always up to date and it all right @prisma wave

prisma wave
#

No comment

pale shell
#

i'm on 1.15.2 😠

hot hull
#

I'm on 1.16

#

Beat that nerd

pale shell
#

not out

#
1.16, the first release of the Nether Update, is an upcoming major update to Java Edition announced at MINECON Live 2019 and set to release in 2020.
#

??????????????????????????????????????????

prisma wave
#

It's in snapshot

pale shell
#

Nether Update?????????

#

we've had that for years

ocean quartz
prisma wave
#

Very nice

pale shell
#

looks cool @grave apex

#

wtf how many matt's are in here lol

ocean quartz
#

Seems like 2, but not for long

topaz bay
#

@pale shell I do that cause I can

pale shell
#

@topaz bay my code's perfect so no need to critise my code.

topaz bay
#

Wrong.

pale shell
#

??????

topaz bay
#

Only my code is flawless and blessed by the gods

#

Look at this simply immaculate piece of code

#

FLAWLESS

prisma wave
#

random println

topaz bay
#

Its there to separate the executions between redos

indigo mesa
#

discord.js anyone? i just want to ask a question

prisma wave
#

Sure

topaz bay
#

IT LITERALLY IS

prisma wave
topaz bay
#

Friga could simply NEVER

prisma wave
#

how does that even work

#

Is it just the previous statement?

topaz bay
#

I...

#

I just fucking showed you how

#

LITERALLY

prisma wave
#

That's not what I mean

#

I mean does it just repeat the previous statement?

#

Or everything?

topaz bay
#

It repeats the entire... (forgive me for this) script

prisma wave
#

Ew

#

Better add goto as well

topaz bay
#

Absolutely not

#

I added redo only because I wanted to do stuff like this

prisma wave
#

Just while true smh

topaz bay
#

Without having to make control flow statements

#

I DONT WANNA

#

Thats the POINT

#

Not yet at least

prisma wave
#

Don't care

#

ugly redo statement

#

To rephrase your original sentence

#

"friga would never"

hot hull
#

@topaz bay You have sinned, and shall be smited by thus gods!!!

prisma wave
#

Because it's a language of class

topaz bay
#

Its barely a language

#

Odin is clearly more mature

prisma wave
#

Not yet

#

You had a few days head start

topaz bay
#

You know what

#

Fuck you

#

I will make control flow

pale shell
#

@prisma wave i think I've moved over to the new system idk if it works tho ;D

prisma wave
#

Good

topaz bay
#

And Im gonna make it like Go

prisma wave
#

good

topaz bay
#

NO WHILE LOOPS

#

ONLY FOR

#

LMFAO

prisma wave
#

find

#

Your loss

pale shell
#

what did i come into

prisma wave
#

Nobody will ever use Odin anyway because it sucks ass

topaz bay
#

WOW

#

HURTFUL

#

WTF ALEX

prisma wave
#

Any language with a redo statement sucks

pale shell
#

@prisma wave what's going on 😬

prisma wave
#

Odin bad frigga good

#

Are push and pull keywords?

topaz bay
#

DUH

#

Thats why theyre green

pale shell
#

Why doesn't Odin + Frigga combine...?

prisma wave
#

no

#

Never

pale shell
#

or not

prisma wave
#

@topaz bay too many keywords just use a function

topaz bay
#

Because that would make Thor

#

And I dont want Thor

prisma wave
#

Nobody wants that

#

Tacky as hell

topaz bay
pale shell
#

I'll make thor.

topaz bay
#

Not too many keywords

prisma wave
#

That's quite a few

#

@pale shell do it

topaz bay
#

Java has FIFTY ONE

prisma wave
#

and all of them are very useful

#

I use strictfp on a daily basis

topaz bay
#

All of these are very useful

prisma wave
#

Just use a function for printing

#

Having at a keyword creates ambiguity

#

What if they want to print to another output stream

pale shell
#

wtf is wrong with this code ffs

#

i made it how it wants it to work yet error

prisma wave
#

It doesn't want anything

#

It's inanimate and unconscious

pale shell
#

?

#

I just don't get where i keep going wrong lol.

prisma wave
#

Code has no concept of desire

pale shell
#

it's that stupid key shit again

prisma wave
#

Fix them the.

#

then

pale shell
#

how..

#

it's not my fault it's made awful

prisma wave
#

What's the error

#

It's not made awfully

#

It expects a consistent format

pale shell
#

java.lang.IllegalArgumentException: Invalid key. Must be [a-z0-9/._-]: Jackhammer

#

wait

#

i know what it is

prisma wave
pale shell
#

or do i

#

I swear i put as lowercase

prisma wave
#

Obviously not

pale shell
#

stupid java deleted my code ;D

prisma wave
#

Java is innocent

#

In this case anyway

pale shell
#

you blaming my perfect code?!

#

how dare you!

prisma wave
#

Very much so

pale shell
#

I sounded like that spoilt brat then lmao

hot hull
#

"then"

prisma wave
#

kek

pale shell
#

I wonder why they want it to be lowercase now

prisma wave
#

They've always been lowercase

pale shell
#

I had it in sentance case and that always worked?

prisma wave
#

Not for a NamespacedKey

#

The name can be anything

#

The keys require a specific format

pale shell
#

lowercase right

prisma wave
#

lowercase alphanumeric without spaces

pale shell
#

😬

#

Minecraft weird.

prisma wave
#

Not really

#

it makes sense to use that format

pale shell
#

hm

#

I don't think i've had a clean run at all yet, lol.

#

Meaning there being no errors coming from my plugin.

#

it fires an error from extends JavaPlugin?? wtf??

prisma wave
#

What error

topaz bay
#

I have settled on loop

#

lol

#

Well that works

prisma wave
#

That's not that bad

topaz bay
#

Except theres no break

#

lol

prisma wave
#

Why not

grand hearth
#

neat

topaz bay
#

Bruh

#

The amount of shit

#

I went through

#

To make this work

#

Code reuse is honestly amazing

prisma wave
#

ew assignment as an expression

topaz bay
#

I should probably add ++ and --

#

Maybe

#

Maybe not

#

lol

prisma wave
#

yes

#

do it

#

very important language feature

topaz bay
#

meh

ocean quartz
#

loop(count++ <= 5) sounds cool

topaz bay
#

ugh

#

I really dont want to though

#

I still dont have comments

#

lol

heady birch
#

Add goto statements

#

Add goto statements

prisma wave
#

Anakin, the goto statement is evil!

ocean quartz
#

Not the goto!

heady birch
#

I havn't used a label in java for a while now 😦

prisma wave
#

good

#

they are an evil thing

heady birch
#

no

#

if im in a nested loop and want to get out I can break label;

prisma wave
#

just don't use nested loops then

heady birch
#

😠

topaz bay
#

I used one of my first actual kotlin labels in odin

#

The expression parsing function is the most complex one in the entire parser

heady birch
#

what do you mean?

ocean quartz
#

Sx, how do you get the lines to show the Sxtanna, Today etc thing? I saw someone else with that enabled but could never find it

topaz bay
#

Its a plugin

#

GitToolbox

#

That feature is called "inline blame"

#

@heady birch ?

ocean quartz
#

Ayy nice, thank you ;p

heady birch
#

I used one of my first actual kotlin labels in odin

topaz bay
#

Its also a plugin for vs code @ocean quartz

#

very useful

#

You also get these little things that show how many commits ahead or behind of what branch your own

#

@heady birch Its the first time Ive had to use a label on an actual flow control statement

heady birch
#

kotlin has labels

#

cool

topaz bay
#

(I could avoid it with refactoring, but I want to keep this function self contained to a certain degree)

heady birch
#

Use kotlin

#

That is my advice

topaz bay
#

huh?

ocean quartz
#

Nice this plugin is pretty cool

heady birch
#

Javadoc is clever

#

like my api?

topaz bay
#

I could kill for setOverride and hasOverride

#

combine that with a getOverride and you have yourself some kotlin friendly code my dude

heady birch
#

@topaz bay Why not setGroupOverride?

topaz bay
#

Is there a different override you can set?

heady birch
#

Well i'm torn between two ways atm

#

Is there a different override you can set?
@topaz bay ?

topaz bay
#

Whats the purpose in specifying "group" override, if you can only override the group?

heady birch
#

Seems better in my opion

#

hasOverride seems alright

topaz bay
#

So then why arent the other methods isGroupEnabled and isGroupOverriden and setGroupEnabled?

#

They all have to do with groups, putting that in each method is redundant

heady birch
#

you got a point

#

but there was setGroup before

#

and just set wouldn't make sense

#

updateGroups replaced setGroup

#

Although i'm not sure wether i should keep it like that

topaz bay
#

I mean... I have no idea whats going on

heady birch
#

getGroup -> get

#

No

#

getGroup -> getType maybe

#

Infact

#

Judge

random flame
heady birch
#

I do not know, sorry

#

I have never used deluxe menu

random flame
#

do u know a better plugin

#

for menus

heady birch
#

No

random flame
#

ok thanks btw

ocean quartz
#

Himo, ask your question there, like what you need help with, people will help if you explain

random flame
#

i did

#

but no one answer

uncut rain
#

Hello does anybody know a cooldown plugin that goes with Papi? I want to add certain items (based on name/lore) cooldowns and it being able to display in a scoreboard or the tablist...

prisma wave
pale shell
onyx loom
#

das crazy

pale shell
#

The sad part is that's how my code actually is tho

#

I'm bad dev pls hire me

topaz bay
#

Do I dare implement this syntax

#

lol

pale shell
#

Whafs that symbol?

#

The 2 >'s

topaz bay
#

Its called a font ligature

#

The actual text is >=

pale shell
#

o.o

topaz bay
#

But the font combines it to that single symbol

pale shell
#

Ooh

topaz bay
#

that one thats green is a symbol in Odin, its the return operator

#

Its unimplemented though

#

@pale shell Do you not use Fira Code?

pale shell
#

No

topaz bay
#

You should.

pale shell
#

Oh?

topaz bay
#

Yes

pale shell
#

Will it make a better dev if that's even possible

#

I'm amazing at coding now so >:)

topaz bay
#

Impossible.

pale shell
#

Impossible??

old wyvern
pale shell
#

What you mean

#

You saying I'm not an amazing developer?

prisma wave
#

Jetbrains Mono > Fira Code

pale shell
#

O hi Alex

#

You should be sleeping

prisma wave
#

@topaz bay I won't lie that seems more of a gimmick than an actual language feature

#

No

pale shell
#

No?

prisma wave
#

Sx summoned me

#

I cannot refuse

pale shell
#

He never

topaz bay
pale shell
#

7 fucking minutes ago Alex

#

That's like 7 years

topaz bay
old wyvern
#

malbolge

topaz bay
#

The power of writing your own parser

prisma wave
#

I don't get notifications from this channel

pale shell
#

Eh?

#

How did he summon you

prisma wave
#

7 fucking minutes ago Alex

#

As in I check it manually

distant sun
#

"when" it's a replacement for "if"?

pale shell
#

?

#

Manually?

topaz bay
#

Yes

#

It is

prisma wave
#

By reading the channel

#

when expressions are nice

pale shell
#

Eh.

#

Notifications?

prisma wave
#

Don't get push notifications

pale shell
#

Why

#

Let us ping you at 4am >:)

topaz bay
#

I could technically even make loop expressions

prisma wave
#

what would they resolve to?

topaz bay
#

A list

prisma wave
#

hm

pale shell
#

Sx, do you ever catch npes?

topaz bay
#

No

#

Thats stupid

prisma wave
#

Just add IntRange + map

topaz bay
#

Thats like the #1 thing you dont do in Java

#

lol

pale shell
#

Eh

#

Alex don't tell him pls

topaz bay
#

@prisma wave absolutely not

pale shell
#

Sx, would you call me a bad dev if I caught npes?

prisma wave
#

@topaz bay why not

#

Loop expressions seem like a gimmick too

#

Functions are much more versatile

topaz bay
#

Dude...

#

Its a toy language

#

Its existence is a gimmick

prisma wave
#

That was not made clear

#

I thought you were taking it seriously

topaz bay
#

I am taking it seriously...

prisma wave
#

Add loop expressions then lol

topaz bay
#

That doesnt mean its not a toy language

prisma wave
#

You know what I mean

#

seriously

pale shell
#

Lemme get some popcorn, this is fun to watch

prisma wave
#

pro language developer seriously

old wyvern
#

lets go back to goto calls

#

down with the loops

#

πŸ’€

pale shell
topaz bay
#

goto was the worst invention of programming

#

second to null

prisma wave
#

goto random()

old wyvern
#

xD

pale shell
#

Sx what about skript

prisma wave
#

you should add metaprogramming

topaz bay
#

I should make a way to interop with java

pale shell
#

Isn't that the worse invention

old wyvern
#
0:   int i = 0;
1:   System.out.println(i);
2:   if(i<5)goto 0;
#

welp

#

java has the goto keyword for some reason tho xD

#

it doesnt work

#

its just there'

#

for no apparent reason

prisma wave
#

lines[0] += "push \"hi\""

#

I think they planned for it originally but never added it

#

const is also a reserved keyword iirc

old wyvern
#

true

topaz bay
#

thoughts?

prisma wave
#

is nextInt static?

topaz bay
#

This would probably create an instance

prisma wave
#

Hm

pale shell
#

static bad

prisma wave
#

How would you do constructors

#

static situational

topaz bay
#

Would probably use the same syntax

#

{}

pale shell
#

I hate using static with a passion now

prisma wave
#

I tried to add Java interop for stdout as a PrintStream earlier

#

Didn't go well

pale shell
#

You guys screamed at me so often I'm worried to use it lol

prisma wave
#

static is situational

#

most people just use it wrong

pale shell
#

If it compiles it should be fine.

prisma wave
#

...

topaz bay
#

Its so easy to use static correctly

pale shell
#

It's easier to make a whole programing language than use static

prisma wave
#

Not really

pale shell
#

If I ever wrote a language, there'd be no static, no npes

prisma wave
#

no null?

pale shell
#

Yep

topaz bay
#

technically, odin doesnt have null

prisma wave
#

static has its uses though

#

Neither does Frigga

pale shell
#

Wait

prisma wave
#

Null causes more problems than it solves

pale shell
#

There's languages that I can use what I won't break everything?!

prisma wave
#

not having null doesn't mean break proof

remote goblet
#

Sxtanna kinda gay ngl

prisma wave
#

it just means different

pale shell
#

Btw, where did the name frigga come from

prisma wave
#

kotlin handles nulls best imo

#

It came from Odin

pale shell
#

Eh

prisma wave
#

I just stole the Norse mythology name

pale shell
#

?

topaz bay
#

Hes trying to be my wife

remote goblet
#

sounds offensive sweat

pale shell
#

Oh okay

topaz bay
#

Tryna make me catch a case

#

LOL

remote goblet
#

lmao

#

Sxtanna

prisma wave
#

FBI open up

remote goblet
#

why is my typing speed so slow

pale shell
#

Alex, if the fbi saw that picture they'd just backaway and not come back xd

remote goblet
prisma wave
#

-_-

remote goblet
#

3 errors

#

pathetic

pale shell
#

You know what I'm referencing?

prisma wave
#

weak

#

yes

frail glade
pale shell
#

Wanna share it with everyone?

prisma wave
#

what now

#

no

pale shell
#

Why not

prisma wave
#

For obvious reasons

pale shell
#

What would Sx say >:)

topaz bay
#

Alex, you wanna see something extra special?

prisma wave
#

Yes

remote goblet
#

He'd tell you to shut up

prisma wave
#

I love special

#

lmao

#

true

pale shell
#

Sx, you should see Alex's holiday photo xd

topaz bay
remote goblet
#

I will always hate that Sx does allman

topaz bay
#

This is how I implemented breaking from a loop

prisma wave
#

that's somewhat disturbing

topaz bay
#

lol

prisma wave
#

why would you do that

topaz bay
#

Why would I not?

remote goblet
#

cause it's disturbing

pale shell
#

Alex the photo has gone :(

topaz bay
#

@remote goblet shut your whore mouth, you dont even know why it would be disturbing

remote goblet
#

:)

topaz bay
#

@prisma wave Its the perfect solution

remote goblet
#

you right

topaz bay
#

It bubbles up through all evaluations in that point

prisma wave
#

Exception handling slow

topaz bay
#

No its not...

prisma wave
#

@pale shell I know

remote goblet
#

I want toast

prisma wave
#

is it not?

#

I was under the impression that catching exceptions is slow

pale shell
#

I have a better photo I could share to Sx >:)

prisma wave
#

he already knows what I look like

#

I don't really care tbh

#

it's just unnecessary

pale shell
#

I was just joking, lol

prisma wave
#

Yeah ik

remote goblet
#

i know aswell

#

duh

prisma wave
#

you got me

pale shell
#

Omg, why you leak his face

remote goblet
#

i'm a rebel

prisma wave
#

it's ok the helmet is still there

#

@topaz bay add something cool

#

I can't think what

#

but something cool

pale shell
#

I thought we weren't sharing it..

topaz bay
pale shell
#

Alex I had a idea >:)

topaz bay
#

Look at that

remote goblet
prisma wave
#

ok

topaz bay
#

The first iteration of that loop took the longest

prisma wave
#

warm up

pale shell
#

I'm gonna Photoshop you as soldier

prisma wave
#

🀨

remote goblet
#

I look like baby :)

topaz bay
#

It did take 600 microseconds, which is way more than the normal 60

#

But this is microseconds

prisma wave
#

needs more optimization

topaz bay
#

So who cares

remote goblet
#

if it's not instant

#

who gives a shit

prisma wave
#

If it's not taking nanoseconds you're doing it wrong

pale shell
#

🀨
@prisma wave

prisma wave
#

mine takes 2ms just for a print call 😳

#

then again most of that is probably the output stream writing

#

idk

pale shell
#

Alex, can I use your language to automate my house

topaz bay
#

Its a fairly complex thing thats happening

prisma wave
#

in theory

topaz bay
#

I would be surprised if it could happen in nanoseconds

prisma wave
#

Hm

#

Why is the last took so much longer?

topaz bay
#

because thats the stop exception

#

But its not really so much longer

prisma wave
#

so it is slow

topaz bay
#

This is in millionths of a second

prisma wave
#

needs more micro-optimization

topaz bay
#

lol

prisma wave
#

the BENCHMARKS

topaz bay
#

Wow ya know...

#

This would technically be micro optimizations

#

Cause ya know... microseconds...

prisma wave
#

Double entendre

topaz bay
#

doo blah en tawn druh

#

lol

prisma wave
#

french is such a romantic language

#

Well

#

entendre means to hear

#

That makes sense

remote goblet
#

french is complicated

prisma wave
#

So is English

remote goblet
#

yes

#

I don't even know english

prisma wave
#

and pretty much any language

remote goblet
#

speaking whore is pretty easy

#

sx does it every day

distant sun
#

French its horrible

remote goblet
#

now i hide

#

because i am about to get murdered

prisma wave
#

@distant sun 🀬 🀬

remote goblet
#

oui

distant sun
#

Oui

prisma wave
#

@remote goblet he's a native speaker

topaz bay
#

how...

#

dare you

#

WOW

#

ALEX

remote goblet
#

RUN

topaz bay
#

OH FUCKING K

#

Whos side are you on bitch

prisma wave
#

OH hecking yes

distant sun
#

Whos a native speaker of french

remote goblet
#

;O

prisma wave
#

i will take both sides

remote goblet
#

Don't swear like that brister

prisma wave
#

Fracking

topaz bay
#

Not even french people are native french speakers

prisma wave
#

fricking

distant sun
#

SxtannΓ‘ ?

remote goblet
#

Nope illegal