#dev-general

1 messages · Page 255 of 1

old wyvern
#

What

#

even

prisma wave
#

?

old wyvern
#

🥲

#

if (expr) return;
{
BODY
}

#

Wonderful

#

Just

#

Wonderful

prisma wave
#

microseconds

old wyvern
#

So thats just like a open block now

prisma wave
#

yugi that is horrible

old wyvern
#

xD

#

yea Im really tired of cleaning this up

prisma wave
#

this is why you always brace your ifs, kids

#

the lexer is exceedingly fast

#

partly because it's the simplest bit

#

but also i wasted loads of time optimising it

old wyvern
#

Then calls me and asks me to rewrite

#

Like wtf

prisma wave
#

🙄

onyx loom
#

i think theres something on the elara gh u can download or smth

old wyvern
#

fuck this

prisma wave
onyx loom
#

o

prisma wave
#

clone the GH repo, and you need go installed

onyx loom
#

fix it then 😠

prisma wave
#

cba

onyx loom
#

fair enough

prisma wave
#

no point when only 60% works

old wyvern
#

yes

prisma wave
#

nice

#

i can build a windows binary if you really want

#

but it's probably easier to just do it yourself

old wyvern
#

And the elara gang grows even further

prisma wave
#

pin this

#

it's kinda basic atm

#

❤️

old wyvern
#

Oh the assembly loop problem from aoc had a non-brute force soln

prisma wave
#

oh really?

old wyvern
#

yea

prisma wave
#

wow

#

what was it?

old wyvern
#

its called the turtle and bunny algorithmn I think

prisma wave
#

Several algorithms for finding cycles quickly and with little memory are known. Robert W. Floyd's tortoise and hare algorithm moves two pointers at different speeds through the sequence of values until they both point to equal values. Alternatively, Brent's algorithm is based on the idea of exponential search.
oh that makes sense

#

if you've got go installed, open a cmd, go into the folder and then you do go run cli.go elara.elr

#

or another file

#

but it's easiest to just edit elara.elr

#

yeah

#

ok, what should i do now?
continue to optimise even though it really doesn't need it
add structs again

#

yeah give it a second, it depends on a few libraries

old wyvern
#

add structs again

prisma wave
#

discord being good?

prisma wave
old wyvern
#

Welcome to the Elara life

prisma wave
#

yes that big error looks correct

#

might not have worked lol

#

try it again?

old wyvern
#

Seems it didnt download the std lib

#

Seems it didnt download the std lib

prisma wave
#

o

old wyvern
#

Check user root

#

Seems it didnt download the std lib

prisma wave
#

it didnt download stdlib

#

that's weird

old wyvern
#

Discord being real slow or what?

#

test

prisma wave
#

yeah it is again

old wyvern
#

That is some damn delay

prisma wave
#

takes like 10 seconds to send messages

old wyvern
#

yup

prisma wave
#

🙄

#

what

#

if field.Default != nil
Default = nil

#

??

#

what's the contents of that folder

#

and inside that?

#

it looks ok

#

so idk why that's not working

#

o ok that's outdated

#

probably because it's using the old release 🙄

#

nice

#

nice

#

it should

#

you should just be able to run it now

#

and it works

#

i hope

static zealot
#

leave

#

why not?

half harness
#

;-;

prisma wave
#

idk

#

that means it's working

#

you said you wanted to play around

#

so

#

¯_(ツ)_/¯

#

make a new .elr file and pass that, or just edit elara.elr

#

the latter is what we do

obtuse gale
#

Read the official elara documentation

#

It's very resource rich

half harness
#

is it possible to convert a jar into exe 😛 just curious

stuck harbor
#

I doubt it

prisma wave
#

with anything

#

it's just a text file

half harness
#

how did you find taht so quickly

obtuse gale
#

Is it that hard to google dkim?

prisma wave
#

hot

obtuse gale
#

Like u

half harness
ocean quartz
#

Googling is a skill

prisma wave
#

try running what?

half harness
#

especially when my computer is so laggy

prisma wave
#

building what

#

how would you do that

#

as far as IJ is concerned, it's just a text file

#

yes

half harness
#

is it possible to change default build.gradle?

#

or make some kind of plugin to do so

prisma wave
#

neither, it's a programming language

obtuse gale
#

So it's female

prisma wave
#

if you say so

#

meh

#

you decide

#

nice

#

this is hot too

#

i got structs working

wanton sentinel
#

Yes

half harness
#

lol

wanton sentinel
#

It's free lol

half harness
#

why 1.8.8

wanton sentinel
#

how tf would i add capes

half harness
#

1.8.9 ftw

wanton sentinel
half harness
#

is it possible to change default build.gradle?
or make some kind of plugin to do so
I can't find anything on google

prisma wave
#
enum class Sex(val name: String) {
  MALE("Male")
  //etc
}```
half harness
#

or

prisma wave
#

change it to what dkim

half harness
#

how do I make a plugin like mc dev?

prisma wave
#

that's an intellij plugin

half harness
#

ik, but do u know any tutorials

prisma wave
#

oh don't use name

#

it won't like that

prisma wave
half harness
#

👀

prisma wave
#

not off the top of my head tho

#

i mean, it's their software + api, there's definitely documentation at least

half harness
#

k thx ill take a look at it in a few horus 😄

#

k thx ill take a look at it in a few hours 😄

#

is mc dev open source

prisma wave
#

yes

half harness
#

I kinda want to just copy it but change the build.gradle 🤣

prisma wave
#

what's the point

#

change it to what?

half harness
#

my own :>

#

to save 20 seconds

prisma wave
#

but what's the difference

half harness
#

wdym

prisma wave
#

what's different about yours

half harness
#

build.gradle also i gtg so ping me if u say anything to me

onyx loom
#

u dont

prisma wave
#

you don't need getters

prisma wave
#

what i mean is

onyx loom
#

just make a field or 'property' in kotlin

prisma wave
#

what's different about your build.gradle

#

that warrants making an entire IJ plugin

static zealot
#

11/10

#

11/10

onyx loom
#

Character.toString

#

what the fuck

static zealot
#

it will sometimes convert wrong or not at all but mostly it will work

hot hull
#

Efe..

#

You're using kotlin, what the fuck are those prints

onyx loom
#

lol

#

also did u use === or was that ij?

#

this is disgusting

#

if (human.gender === Gender.FEMALE) {

wanton sentinel
#

if (human.gender === Gender.FEMALE) {

#

tjere

prisma wave
#

worst thing ive ever seen

onyx loom
#

so?

wanton sentinel
#

It's disgusting

onyx loom
#

enums can still be compared using ==

wanton sentinel
#

but why 3

#

===

prisma wave
#

also it's 2021, might wanna make pronouns + gender a class instead of an enum lol

#

🙄

wanton sentinel
#

why?

#

fit

onyx loom
#

that whole thing is bad

#

but this is just horrifying val name2 = Character.toString(Character.toUpperCase(name[0]))

prisma wave
#

that's definitely the worst part

onyx loom
#

thats what u did?

#

disgusting

#

name[0].toUpperCase()

#

then toString if u need it a string

#

question

#

nvm

prisma wave
#

ask the question

#

coward

onyx loom
#

🙄

#

do u really wanna hear it

prisma wave
#

sure

onyx loom
#

return name2 + name or return "$name2$name"

prisma wave
#

hmmmmmmmmm

#

id say the first

#

tbh

onyx loom
#

yes

#

clearer imo

prisma wave
#

second looks messy

onyx loom
#

probably the only time where concat actually looks good in kotlin 🥲

prisma wave
#

🥲

steel heart
#

AbstractGenderSupplierFactoryFactoryGenerator

onyx loom
#

where are u running it efe

#

where

steel heart
#

MainKt != Main.kt

onyx loom
#

😐

ocean quartz
#

Show your main

#

Pretty sure it's because of args, depending on how you create your project JVM will required the args to detect main
fun main(args: Array<String>)

onyx loom
#

wait ur human?

#

idk

#

ur not human

#

ur like a hamster or smth

half harness
#

How do modules work? Can someone pls breifly explain

#

also kaliber how do you react so quickly?!

ocean quartz
#

Oh

onyx loom
#

jesus

#

i blame my 400 dpi

#

too slow

ocean quartz
#

I see you have Gender in there, you better have all 60+ genders in that enum

#

Hell yeah

#

Damn

#

I prefer passive aggressive wishes

steel heart
prisma wave
#

stack overflow 😔

half harness
steel heart
#

Pretty sure BM can come up with a good WoT

half harness
#

and how it works

prisma wave
#

toString(Any) calls util.Stringify(interface{}) which calls Stringable.String() which calls toString() 😔

#

how

#

ok im confused now

#

should toString be natively implemented or language feature part of stdlib?

ocean quartz
#

Efe my guy, chill

half harness
#

how do you react so quick-

ocean quartz
#

Not about being hard, it's spammy

half harness
#

its hard when ur discord is so laggy

onyx loom
#

get a better pc pls

onyx loom
#

o

lunar cypress
#

you know discord actually ip bans for reaction spam automatically at some point

onyx loom
#

stdlib

prisma wave
#

ok

#

in that case

#

how am i supposed to do a toString for an int 😔

onyx loom
#

KOTLIN

#

u need to go back to kotlin

prisma wave
#

since atm there's no way of checking types lol

#

so i can't do if blah is Int

#

i think it has to be native for now

steel heart
#

if Int is blah

onyx loom
#

null!!

ocean quartz
onyx loom
#

hes right tho bm

#

kekw

#

thatll prob have slow executions

prisma wave
#

right thanks for that

#

*interpreter.Instance: &{%!s(*interpreter.StructType=&{Person [{name 0xc0000551f0 0 <nil>} {age 0xc000055210 0 <nil>}] map[age:1 name:0] 0xc0002533c0}) map[age:50 (Int) name:Dave (String)]}

#

that's long

onyx loom
#

<nil>

prisma wave
#

nil

steel heart
#

nil?

#

null is better

lunar cypress
#

nichts 😳

steel heart
prisma wave
half harness
#

USA best because english > german

lunar cypress
#

because it's from a film

#

the best film

steel heart
lunar cypress
#

Kung Fury

half harness
prisma wave
prisma wave
half harness
prisma wave
#

im actually so surprised that worked

#

it's great

half harness
#

u have to put height

#

and weight

prisma wave
#

6'10

steel heart
#

daveMachine, abusing Dave!?

prisma wave
#

yes

#

dave's going in the dave machine

#

efe machine?

half harness
#

👀

lunar cypress
#

I'm in Berlin rn

prisma wave
lunar cypress
#

just over the holidays tho

#

peepoDetective

prisma wave
#

ugh need int ranges

#

1..10

#

etc

#

yugi hasn't added them yet

#

so

#

🥲

#

we'll have to do it the hard way

static zealot
#

how do you build a jar if you're not using gradle or maven? xD

steel heart
#

Ant user :/

prisma wave
#

upvote dave factory

ocean quartz
#

How much for each dave?

prisma wave
#

$50

#

if u say so

onyx loom
#

daves >

#

both of those statements are false.

hot hull
#

That execution is slow BM

prisma wave
#

yeah im working on it

#

idk why it's so slow

#

actually i probably do

onyx loom
#

INTERPETER

#

compiling = faster

prisma wave
#

well yes

#

but compiler boring

onyx loom
#

im saying u should add a jvm compiler 😔

stuck harbor
#

yeetus

onyx loom
#

elara plugins 😔

prisma wave
#

I think we are getting close to the optimisation limit

steel heart
#

No

#

Needs more optimization

prisma wave
#

Im not sure how much else is possible at this point

steel heart
#

Even tho diminishing

onyx loom
#

until u find out that Go has a .sonic() function that automatically optimises everything

prisma wave
#

😳

#

I wish

onyx loom
#

maybe elara should have this

steel heart
#

Elara has checked and unchecked exceptions ?

prisma wave
#

no

#

Result types

#

Eventually

steel heart
#

Ooo

#

I like that

prisma wave
#

but for now we're just panicking since all the errors are coming from native code

#

Yea they are cool

ocean quartz
#

BM how hard do you think it'd be to make it compile to JVM?

steel heart
#

I’m excited

prisma wave
#

tricky but not impossible

#

at the moment the 2 things holding us back are:
No typer
None of us know enough about the bytecode format

ocean quartz
#

Compiler seems pretty complicated to make

prisma wave
#

yeah

#

i think it will be

onyx loom
#

i would come to isle of wight myself and salute u if u do so

steel heart
#

If it’s hard for BM then it’s next to impossible

prisma wave
#

i'll quote that

onyx loom
#

bet

prisma wave
onyx loom
#

u can wait for me outside the harbour

#

ill come by ferry

prisma wave
#

ok see you there

steel heart
#

Hmm I will be the first ever developer to add flexible elara support

onyx loom
#

no me

steel heart
#

For my plugin

#

No u die

onyx loom
#

o

prisma wave
#

o

steel heart
#

o

#

Yo wtf

#

IntelliJ indexing is finally done after 3H

prisma wave
#

lol

#

ok this is getting better, about 5ms for 50 daves

onyx loom
#

pog

#

we need to be pumping out daves as fast as possible

#

we need to be pumping out daves as fast as possible

#

we need to be pumping out daves as fast as possible

prisma wave
#

of course

#

they're VERY valuable

#

they're VERY valuable

lunar cypress
#

not sure if a compiler is the best idea as long as the language is in this experimental state 😛

prisma wave
#

ugh discord dying again

prisma wave
#

need to make sure it's all possible / working

onyx loom
#

ah ok i thought that was just me

hot hull
#

BM I honestly am looking forward to making a plugin in Elara

onyx loom
#

took me like 20 seconds to send a message

#

and again its shitting itself 🥲

hot hull
#

BM I honestly am looking forward to making a plugin in Elara

onyx loom
#

ah ok i thought that was just me

prisma wave
#

🥲

#

Me too

onyx loom
#

i feel like were pressuring u too much 🤣

prisma wave
#

nah idm

#

even if you held a gun to my head it still wouldnt be ready

#

soo

onyx loom
#

would a gun atleast speed up the process

#

🔫

prisma wave
#

maybe a little bit

#

might shave off a few days

onyx loom
#

man whyd they change the gun emoji in discord

#

before it was like a magnum or smth, was really cool

#

now we have a water gun kek

prisma wave
#

apple changed it ages ago

lunar cypress
#

discord just uses twemoji

onyx loom
#

ye

#

was not very cool 😔

hot hull
#

We need all gun variations

#

This no fun

onyx loom
#

🇺🇸 heres all the variations @hot hull

#

🥲

hot hull
#

Lmao

lunar cypress
#

they took this from us 😡

hot hull
#

Like this just doesn't seem right now..
😔🔫

lunar cypress
#

man I'm procrastinating so hard again

#

what am I doing here

hot hull
#

That's a good thing

lunar cypress
#

no

#

I hate myself

onyx loom
#

dont we all 🙂

#

im also procrastinating, so ur not alone

hot hull
#

Oh don't get me started

#

About hating myself, not the procrastinating part, I'm hella productive

lunar cypress
#

I have an assignment due the day after tomorrow and I can't bring myself to start working on it

hot hull
#

Tell the teacher to fuck off

#

Always works

lunar cypress
#

Yeah great nobody will care

covert silo
#

Someone familiar with residence plugin check minecraft channel please? 🙂

hot hull
#

Nein

lunar cypress
#

At school it usually wasn't a big problem because at least I understood the material so I didn't feel bad for not working on it

#

but this is different

ocean quartz
onyx loom
#

just fail the assignment 4head

#

who needs to do work

lunar cypress
#

I need to get a total of 50% in all of the upcoming assignments

#

And I can't risk missing one tbh

#

2.5/16 on the last one 😂 🔫

onyx loom
#

😬

#

yikes

#

siege

lunar cypress
#

fookin lazer sights

prisma wave
onyx loom
#

not enough recursion fingerguns

prisma wave
#

variable lookup is 20% of the total execution time

prisma wave
#

i cropped the screenshot

#

im genuinely not sure what i can do here

ocean quartz
#

Procrastinating but did manage to make a nice private messages system

prisma wave
#

hot

onyx loom
#

atleast ur procrastinating is being productive

#

mine on the other hand

#

😬

prisma wave
#

nevermind i think i found how to do it, string hashing is slow

#

cache the hashes

#

:))

#

ez

hot hull
#

What's next, cache the hash cache?

prisma wave
#

obviously

#

well

#

after some big refactors

#

im pleased to announce it made pretty much no difference

prisma wave
#

piss

onyx loom
#

piss

obtuse gale
#

golden rain

onyx loom
#

yellow piss 😬

obtuse gale
#

why on earth would google, on guava, make a builder (threadfactorybuilder) that you have to instantiate with new instead of getting a new one from a static method like builder like, y'know, literally every builder there is on guava

onyx loom
#

🌝

obtuse gale
#

you're listening to spitofon

static zealot
#

yo @ocean quartz just a random thing. add support for /msg from console. k. bye

static zealot
#

ugh

#

because you stole my heart.

little hamlet
#

I have
[22:45:28 INFO]: Player is offline.
Error spam in console anyone got any clue why this happening?
I guess there is somehting broken that is trying to find a player and then throws that message. Anyone have ever experienced this?

surreal quarry
#

very cool dave factory @prisma wave

static zealot
#

make one ...

surreal quarry
#

just write one

#

noob

static zealot
#

u sure you ok?

surreal quarry
#

just get it LMAO

static zealot
#

he didn't know about that somehow

surreal quarry
#

smh

static zealot
#

ye... just learn smh

prisma wave
#

It's a bit slow

surreal quarry
#

Thats just cause dave is a bit slow

#

it would be even slower

#

also wont compiling increase speed

#

when that gets added

prisma wave
#

probably

#

Actually definitely

#

The main thing slowing it down right now is that things like variables have to be looked up by name

#

Which can be a very slow process because of recursion, imports etc

#

I've tried to cache it as much as possible

#

But I'm not sure I can do much more

surreal quarry
#

wdym by name like it has to look through the file for where its declared?

#

or i guess the AST maybe

prisma wave
#

let me find an example

#
let recursiveLoop(Int current, Int total, (Int) => Unit fun) => {
    if current == total {
           return
    }
    //blah
}
``` every time this is executed, and because it's recursive, that's pretty often, it has to look through the current "context" to find what `current` and `total` are. 
With a compiler we could optimise it to something much cleverer, but at the moment it has to search by name
#

which is slow

#

and for some reason, this doesn't want to cache

surreal quarry
#

ah yea

#

good reason to keep a compiler in mind i guess lol

prisma wave
#

we're getting there

surreal quarry
#

nice

ocean quartz
static zealot
#

xD

#

just add custom format for console msg

ocean quartz
#

Papi can't parse console right?

static zealot
#

private msg

#

well it can parse null

#

I think

#

but not console

#

only player offlineplayer and null

#

as long as those placeholders accept those types tho

ocean quartz
#

But %player_name% wouldn't turn into console which sucks

#

I can think of a way

static zealot
#

well just custom placeholders and a custom format for that I guess

stuck harbor
#

my first plugin has

#

hold on

static zealot
#

is the easiest option

stuck harbor
#

it has 54 downloads in about a year

static zealot
#

o

stuck harbor
#

but idek why i posted that, i didnt even know java at the time

#

its just a welcome message haha

static zealot
#

I have 3 plugins on spigot. 114, 88 and 65 downloads

stuck harbor
#

gg no re

ocean quartz
#

I legit don't know how my first plugin got 124k downloads

stuck harbor
#

the fu-

surreal quarry
#

148, 76, 14 lol

stuck harbor
#

what was it?

static zealot
ocean quartz
#

Yeah

static zealot
#

its good..

stuck harbor
#

ah that makes sense

static zealot
#

well for what it does

ocean quartz
#

The code is so bad though

static zealot
#

dk if its good as in code

stuck harbor
#

i have citizenscmd on my system so yeet

static zealot
#

well it doesn't fucking matter on spigot lmaoo... ChatControl had like 600k downloads

ocean quartz
#

I wrote it on my first year out of school, i had no idea how to code properly lmao

static zealot
#

and like 7k 5star reviewes

drowsy raven
#

I just bought a product from this guy called @obtuse gale

#

is he a scam??

obtuse gale
#

My first plugin has 2k downloads over the course of 10 months in total and it's absolute shit

stuck harbor
#

🤷

static zealot
#

we don't know of any other incidents from him @drowsy raven

drowsy raven
#

ok

#

he seems legit

static zealot
#

if he did scam he probably would've been banned by now

stuck harbor
#

y'all making good plugins and im making a welcome message

drowsy raven
#

ok!

static zealot
#

in here I mean

drowsy raven
#

were can i find his vouches??

static zealot
stuck harbor
#

yeah lol

prisma wave
#

i suggest you purchase high quality products from me in future 🙂

ocean quartz
#

I've done so many cool things that never became an actual plugin kek

surreal quarry
static zealot
#

like github

#

idk

drowsy raven
#

ok

#

can u get a vouch bot??

stuck harbor
#

the source for my first plugin is literally one class

#

uno

static zealot
drowsy raven
#

oko doki

static zealot
#

I remember there was review-my-server and that was abused as well and removed

drowsy raven
#

oh nvm i just recive my product

stuck harbor
#

im gonna learn kotlin before i start my next project yeet

drowsy raven
#

hes legit

stuck harbor
#

make a bunch of small plugins, then get famous by random chance, and publish an improved amalgamation of these as a premium plugin

#

simple

#

🙂

#

jk thats dumb

ocean quartz
static zealot
#

I mean he can probably find one for like 40 but that's not exclusive

stuck harbor
#

£25 is like 2 coffees in london

static zealot
#

or whatever its called

prisma wave
#

go func() {
fmt.Println()
}()

#

sick of this

ocean quartz
prisma wave
#

had enough

stuck harbor
prisma wave
#

the dave factory cannot become any faster

ocean quartz
stuck harbor
prisma wave
#

maybe

#

SO much recursion

#

i have a plan

#

get rid of the recursion

#

"immutability function purity " who care

#

s

#

let mut everywhere

#

sick of this

obtuse gale
#

Could i get trusted role?

#

ive got a server with 6+ vouches

ocean quartz
#

Uh trusted is the mod role xD

prisma wave
#

YEAH thats right you filthy

#

not putting UP with this any moree

#

4.6ms

#

bnetter

#

still not good

#

2107us for times(Any[], Int) => Any

#

found the culprit

#

too slow

obtuse gale
#

lol

#

FACTS

steel heart
#

Bruh me sitting and trying to figure out why var doesn’t work, used it as a field. I fucking reinstalled jdk and IntelliJ

prisma wave
#

NICE

steel heart
#

Kotlin > java I say no more

static zealot
#

lmaoo

prisma wave
#

YEAH

#

3.8 ms

#

the DAVE factory has been concoured by good old fashioned HARDCODING

surreal quarry
#

NICE

prisma wave
#

2.6 MS !

#

CRIKEY

surreal quarry
#

DAVE

#

have you considered a factoryfactory

prisma wave
#

its quite unpredicatable but ive managed to get it as low as 1.6ms

#

CRAZY

#

no factoryfactrory

prisma wave
#

HALVED the average execution time

#

if that

#

6.98ms average to 2.59ms average

#

BUT WHy stop there?

#

500 daves?

surreal quarry
#

Int.MAX_VALUE daves

prisma wave
#

lets try

#

i think it will stackoverflow

#

it's still not ready for something that powerful

#

oh

#

either the OS or go just sigkills it after a while

#

lol

#

that was underwhelming

#

100000 daves takes just over 1 minute

half harness
#

What is the difference between the Bukkit and Adventure in MF-MSG? All it says is:

Which allows you to use the lib on many other platforms and has all the benefits of using Adventure.

#

but what is "many other platforms"

prisma wave
#

nukkit, sponge etc

#

Adventure also has a nicer api

half harness
#

o

#

thx 🙂

prisma wave
#

oh boy, i made the mistake of comparing elara with python... it's not good... the dave factory in python takes approximately 0.1ms whereas elara takes 1.7

#

😦

half harness
#

👀

prisma wave
#

elara is 17x slower than python

#

like come on

half harness
#

python ftw

#

😐

onyx loom
#

u mean 18x faster? elara fastest language 🙂

prisma wave
#

yes

#

print(executionTime / 18)

#

ez

#

they'll never see it coming

onyx loom
#

how long does dave factory take in jvm

prisma wave
#

im not sure i can be bothered to measure

#

actually

#

1 sec

hallow crane
#

then measure it

onyx loom
#

🙄

prisma wave
#

im guessing a lot faster

ocean quartz
#

print(executionTime - executionTime) Wow Elara is basically instant, 0ns execution time

onyx loom
#

omg

prisma wave
#

incredible!

#

they've clearly done some good optimisations!

#

ok this cant be right

#

this is a really rubbish benchmark but JVM (kotlin) is 16ms?

#

elara faster than kotlin?!?!!?!

stuck harbor
#

haha that must be wrong

#

BM is better than all of jet brains at making a language haha

prisma wave
#

apparently so

lunar cypress
#

Would you believe it I managed to solve a couple of exercises

#

Closing Discord was a brilliant idea

prisma wave
#

Nice lol

lunar cypress
#

No idea for the next proof tho

onyx loom
prisma wave
#

I don't think so, I was only measuring the time it took to create the Daves, not everything else

#

Oh

#

Unless it was because I used a Kotlin script

#

Maybe they're partially interpreted or something

little hamlet
#

Quick question can you do json messages on essentials .propierties file?

obtuse gale
#

No

little hamlet
#

thonking 😕

#

I wanted to change /baltop into json for like go to "click to go to page 2" or something like that

obtuse gale
#

Anyone know a good framework or a semi stable Particle effects class? (1.16 + supported)

little hamlet
#

I could text command it with placeholders but baltop placeholders aint a thing

obtuse gale
#

Yes

#

what do you mean by stable?

#

how do you define stability?

distant sun
#

If a building stays on a big enough base will be stable

forest pecan
static zealot
#

ok please teach me SEMPAI.

#

how?

#

teach me in the way of the force

forest pecan
#

dark magic

static zealot
#

please teach me

forest pecan
#

see that weird arrow which goes down to this line thingy on the top right?

#

Yeah click on it

#

now drag it to 100 other servers

obtuse gale
#

what the fuck

steel heart
#

fuck the what

hot hull
#

Why noone DMing about commissions, what's this heckery

tardy seal
#

@wheat spire I cannot invite you.. + you dont accept friend requests lol

hot hull
#

@tranquil crane U need jesus

tranquil crane
#

lmaooo

#

making examples for my gui library

#
  • also adding animated gradient support to hexutils
#

= complete madness

obtuse gale
#

Could use leather armor to get full RGB on items lol

tranquil crane
#

you have sealed your fate

#

it shall be done.

#

need to get animated gradients working first but it will be done

prisma wave
#

@half harness just checked my vps, the fake requests thing had finally stopped lmao

#

it was on 10 thousand requests

half harness
#

OH myY

#

👍

prisma wave
#

looks like they took the website down or blocked my IP lol

half harness
#

lol

#

I stopped it a while ago because i dont have a VpS

prisma wave
#

yeah same

half harness
#

and then forgot about it

prisma wave
#

i completely forgot it was still going

half harness
#

xD

prisma wave
#

i think they took the website down, it doesnt load at all lol

#

that's good

half harness
#

🙂

#

😮 This discord removed kotlin channel (well I think it's kotlin channel) ¯_(ツ)_/¯

#

(note: above is an image)

prisma wave
#

wtf

#

who do they think they are

half harness
#

lol

prisma wave
#

what discord is this

half harness
#

uhhh

#

||Cortex Development||

prisma wave
#

no idea what that is

stuck harbor
#

this discord must be deleted post-haste

normal talon
#

helpchat ripoff

half harness
prisma wave
#

obviously

quiet depot
#

inv pls

prisma wave
#

^

half harness
#

uhhhhhh

#

im scared

old wyvern
#

^^

half harness
#

😬

#

uhhhhhhhhhh

#

I shouldn't have said anything from the first place

quiet depot
#

found it

half harness
#

NOOOOO

quiet depot
half harness
#

hopefully its a coincidence

#

hopefully

#

hopefullyyy

#

nvm its the same

#

nooo

fervent python
#

hi there

steel heart
#

Hi intellectual guy

prisma wave
#

hi there

obtuse gale
#

hi there

#

I need a kit plugin that works with placeholderapi please help
been looking for days

normal talon
#

essentials kits ?

half harness
#

XD

#

looks like helpchat is abandoned; time to join Cortex 🥲

remote goblet
prisma wave
#

Dead chat

old wyvern
#

😮

lunar cypress
#

ok lemme revive

#

uhm

onyx loom
#

KOTLIN

lunar cypress
#

IntelliJ sucks, Kotlin is Trash, Maven is 10 times better than Gradle, also....

onyx loom
#

😬

#

those are some controversial words coming out of ur mouth

prisma wave
#

oh dear

#

ok where do i start

obtuse gale
#

You don't

#

Someone ban this man

#

Please it's urgent

surreal quarry
#

crusade time

onyx loom
#

yes

prisma wave
#

well to begin let's look at this sentence "Kotlin is Trash"
This is first and foremost, objectively untrue. to find out why, we must look back to kotlin's origins - It was made by JetBrains and designed by Andrey Breslav to replace Java for their IDEs, to speed up development time and reduce maintenance

#

now the only thing that one could use to back up this claim is the lack of tuples in kotlin

#

this is obviously a huge issue

#

as all good languages have some sort of tuple analogy

surreal quarry
#

well to begin let's look at this sentence "Kotlin is Trash"
This is first and foremost, objectively untrue. to find out why, we must look back to kotlin's origins - It was made by JetBrains and designed by Andrey Breslav to replace Java for their IDEs, to speed up development time and reduce maintenance
Thats a good point

prisma wave
#

clojure has lists with little noise and overhead, rust, elara, haskell etc have list literals, and python has... tuples

#

so, what was Andrey and his goons thinking?

#

clearly not much

#

however, fun fact, Kotlin did originally have tuples! they were designed with an absolutely awful syntax though, looking something like this #(1, 2, 3)

lunar cypress
#

Rust has built in tuples as well, not just lists

#

😡

prisma wave
#

so it does

#

i forgot about that

#

even better!

#

rust is now the best language ever made

onyx loom
#

does not having tuples make kotlin trash tho 🤔

steel heart
#

BM btw what’s the point of using an empty object array Object[0] as your lock instead of the instance itself or just a new Object instance?

prisma wave
#

objectively

onyx loom
#

o

prisma wave
#

now, if you're an intelligent person like me, you may be noticing that Kotlin tuples looked very similar to Clojure's lambda expressions! Because clojure doesn't have native currying (as far as I know, bit of an oversight on Rich Hickey's part but im sure he had a good reason), we must often define lambda expressions

#

these are defined like so - #(function param1 %), where % is the equivalent of kotlin's it

#

looks awfully similar to Kotlin tuples, no?

#

so where am i going with this?

#

well, let's compare the 2 languages. Kotlin is very widely used, and very circlejerky. Sounds awfully similar to Clojure... Could it be that these are in fact the same language?

steel heart
lunar cypress
#

peepoHmm

steel heart
#

It doesn’t have to invoke the constructor or smtng

onyx loom
#

well, let's compare the 2 languages. Kotlin is very widely used, and very circlejerky. Sounds awfully similar to Clojure... Could it be that these are in fact the same language?
(absolutely (FUCKING (not)))

prisma wave
#

Now I know what you're thinking, "that's ridiculous!". But hear me out:
Rich Hickey is the designer of clojure and the Benevolent Dictator for Life. Rich Hickey is 2 words.
Andrey Breslav was the original head designer of Kotlin. His name is also 2 words.

#

And trust me, it gets worse

onyx loom
#

:what:

prisma wave
#

The new lead designer of Kotlin, roman elizarov, also has 2 words in his name

#

it's becoming pretty obvious that these are in fact all the same person!

onyx loom
#

i never knew that having 2 words in ur name means that everyone is the same

prisma wave
#

Clojure and Kotlin also both run on the JVM, perhaps because Rich/Andrey/Roman all knew how to make a JVM compiler from designing their previous language!

#

and just to make things even worse, both languages also have a flavour of the language that compiles to JavaScript

#

surely you can see that this isn't a coincidence?

onyx loom
#

man ur really good at getting xp

prisma wave
#

thank you

#

i hope it was worth it

#

feel free to put in requests about other languages

onyx loom
#

please tell me how to talk such nonsense

prisma wave
#

idk

#

just recall a few dumb facts and make dumb comparisons

steel heart
obtuse gale
#

Yeah you suck

steel heart
#

No u

prisma wave
#

what now?

#

pls give suggestions

obtuse gale
#

*hands suggestion over*

prisma wave
#

thanks

#

coming up next, "is haskell just python with different naming conventions?"

#

Ok, to begin, what's the point of this? You might be thinking that Haskell and Python are completely different languages, with completely different paradigms

#

you would be incorrect.

#

Haskell is simply python with slightly different conventions

stuck harbor
#

yeet

surreal quarry
#

I am a professional Haskell, Python and Skript developer and I can confirm that they are all the exact same language with different names.

prisma wave
#

great!

#

ok, to begin, let's look at how both languages execute code

#

Both languages execute code by simply reading down the file and executing each line sequentially. Neither (apart from python kind of) have any analogy of a "main method"

regal gale
#

K

prisma wave
#

This is similarity number one

lunar cypress
#

both assumptions are wrong thonking

prisma wave
#

what ?

onyx loom
#

excuse me are u objecting this man?

prisma wave
#

i assure you that's not true

#

hear me out

onyx loom
#

these statements are all factual.

prisma wave
#

so, let's look at some practical examples. How do we define variables in both of these languages? the answer? It's the exact same!
Python: ```python
name = "Dave"

Haskell: ```haskell
name = "Dave"
#

The similarities are becoming obvious immediately

onyx loom
#

omg

old wyvern
onyx loom
#

these languages copied each other!

surreal quarry
#

They are very clearly the exact same. Anyone who would disagree is insane, clearly.

onyx loom
#

clearly.

surreal quarry
#

clearly.

stuck harbor
#

evidently.

surreal quarry
#

frankly.

stuck harbor
#

thusly.

old wyvern
#

Wanna know what Armstrong found on the moon?

onyx loom
#

absolutely.

stuck harbor
surreal quarry
old wyvern
obtuse gale
#

Not moon stuff?

old wyvern
onyx loom
#

armstrong found gfuel on the moon? 🤨

old wyvern
#

Very probable ^

prisma wave
#

what next? well, the obvious next step is functions. now functions are a little bit less obvious. let's make a simple printing function in both languages:

printInfo age name = putStrLn (name ++ " is " ++ (show age) ++ " years old")
def printInfo(age, name): print(name, "is", age, "years old")
#

now, these are in fact completely different

#

but hear me out!

old wyvern
#

what next? well, the obvious next step is functions. now functions are a little bit less obvious. let's make a simple printing function in both languages:
printInfo age name = putStrLn (name ++ " is " ++ (show age) ++ " years old")

def printInfo(age, name): print(name, "is", age, "years old")
now, these are in fact completely different
but hear me out!

surreal quarry
#

im waiting yugi

prisma wave
#

we can slightly adjust the haskell code to look slightly more like python:

surreal quarry
#

im hearing you out

old wyvern
#

Sure

#

Keep hearing

#

Dont forget to keep your doors unlocked

surreal quarry
#

:yugi:🔫

old wyvern
#

💀

prisma wave
#
printInfo(age name)= putStrLn(blah)

this is already looking better! and of course, haskell only requires (show age) because its Int type can't be implicitly converted to a String

onyx loom
#

wow

#

basically the same

surreal quarry
#

that is quite the same

onyx loom
#

python = haskell confirmed

prisma wave
#

we could also adjust the python, ```python
printInfo = lambda age, name: print(blah)

surreal quarry
#

there are so many ways to make them the same

#

this is incredible

prisma wave
#

now i am not an expert on either language, but i am 100% confident that we could make these look the exact same

#

what this means, is that haskell and python are simply the same language with different conventions

old wyvern
#

Yes, lets rewrite a compiler for haskell with tweaked syntax

#

🥲

prisma wave
#

you want further proof? let's look deeper
The haskell compiler translates Haskell into C, assembly, LLVM bitcode and other formats
there's also a python tool to do this known as Cython!

#

so therefore both languages can be compiled

#

outstanding!

onyx loom
#

damn thats crazy

prisma wave
#

now you might be wondering, if haskell is a functional language, then it wouldn't have classes, mutability, self, etc would it?

you would be correct, but it turns out that none of these are necessary in python either!

#

as Alan Turing proved in 1963, any programming problem is possible to solve without classes and mutability and python

#

therefore, i think the conclusion is pretty obvious

onyx loom
#

u know all languages are the same? this may sound crazy but hear me out:

prisma wave
#

haskell and python are in fact, the same language

obtuse gale
#

@obtuse gale stop crossposting

prisma wave
#

bruh fuck off i only got like 2% progress from that

#

literal scam

obtuse gale
obtuse gale
#

We are all in the same server stop crossposting

onyx loom
#

all languages allow the user to write code, which can then be executed, allowing people to create programs!

#

therefore, all languages are the same!

prisma wave
surreal quarry
#

Can someone write me a skript program

onyx loom
#

yes absolutely i do

#

thank u very much

prisma wave
#

do u want a harvard scholarship

onyx loom
#

yes please!

obtuse gale
#

Okay then

#

It's easy to get one

prisma wave
#

i was gonna apply for one with my clojlin theories but i think you'd be a better candidate

surreal quarry
#

(clo(jlin)) as String

obtuse gale
#

J

surreal quarry
#

code review please

Bukkit.getPlayer(args[0]) ?: null```
prisma wave
#

doesnt work

onyx loom
#

james that is amazing

surreal quarry
#

thanks

#

i worked really hard on it

prisma wave
#
var player *Player
player = Bukkit.GetPlayer(args[0])
if player == nil {
  panic("player is nil")
}```
surreal quarry
#

Bukkit.GetPlayer

#

ew

onyx loom
#

people may say ur wasting 7 characters, making something null when handling the nullability, however, explicitly typing that this can be null can be very useful for people to see nullability in code!

prisma wave
surreal quarry
#

exactly it improves readablility so much

surreal quarry
onyx loom
#

absolutely!

surreal quarry
#

more worried about CamelCase method names

prisma wave
surreal quarry
#

oh what the

#

thats wild

prisma wave
#

ikr

onyx loom
#

bruh

steel heart
#

guava CaseFormat

#

(:

half harness
#

Codedred discord or Cortex

#

which one do you prefer

surreal quarry
#

helpchat

#

thank you for coming to my ted talk.

prisma wave
#

cortex is aids

steel heart
#

No it’s worse

prisma wave
#

ive just spent like 2 hours trying to explain why kotlin doesn't compile to java

#

holy shit

#

that was such a waste of time

old wyvern
#

😂

half harness
#

😂

surreal quarry
#

where why

old wyvern
#

His final argument was "I dont consider kotlin a language"

onyx loom
#

link

old wyvern
#

"Its not coding, its scripting"

#

xD

onyx loom
#

🤣

steel heart
#

Yep he elaborated so sophisticatedly and elegant why kotlin is bad and why java is significantly better.

surreal quarry
#

what discord?

steel heart
#

Joe mama

#

Don’t go there

#

😖

old wyvern
#

Probably not allowed to say coz that would be advert

onyx loom
#

dm pls

surreal quarry
#

lol

old wyvern
#

Its in here

onyx loom
#

i want link

old wyvern
#

Look for piggys messages

#

Theres a link to a repo

prisma wave
#

it's a cesspit

old wyvern
#

oh

prisma wave
#

spigot discord is better

#

at least they're somewhat intelligent in the spigot discord

#

how tf does a discord based on an actually good Java tutorial have so many idiots

#

jesus christ

steel heart
#

Altho lombok

#

They glorify it

prisma wave
#

hi guys

#

join this

#

or face the consequences

surreal quarry
#

kotlin > java