#dev-general

1 messages ยท Page 211 of 1

steel heart
#

too bad

hot hull
#

@ocean quartz That's illegal

ocean quartz
#

I will use this method in more than 1 clas
@obtuse gale Why?

#

Seems like a lack of SRP right here

#

Single responsibility principle

#

?solid

compact perchBOT
ocean quartz
#

Check the first one

#

It always does final @NotNull instead of @NotNull final

umbral mica
#

I mean technically that's correct

prisma wave
#

@ocean quartz why must you do this to me

ocean quartz
#

Well correct but not my preference

#

And because it's beautiful

prisma wave
#

No

#

Change it

#

To either Null or nil or empty or something

ocean quartz
#

It's not gonna be like that, was just a joke xD

prisma wave
#

Phew

ocean quartz
#

It's ugly

obtuse gale
#

like blitz

umbral mica
#

:blobpinged:

heady birch
#
@PathVariable final int number
final @PathVariable int number

Take your pick

ocean quartz
#
@NotNull final Type name

for parameters

@NotNull
private final Type type;

For fields and

@NotNull
public Type getType();

For methods

heady birch
#

Yeah well my way is more reliable

ocean quartz
#

How is it anything about reliability? It's preference

heady birch
#

It just is. And I have a medical condition so you cant ask that

umbral mica
#

I mean style-wise I usually stick annotations on the same line as params fields etc. Methods & classes are on a different line tho ofc

heady birch
#

I think my preference is multiple in parameters with spring mainly

public String someRoute(final @PathVariable("varA") String varA,
                        final @PathVariable("n") int number) {

}

vs

public String someRoute(@PathVariable("varA") final String varA,
                        @PathVariable("n") final int number) {

}
obtuse gale
#

I prefer ```java
public String someRoute(final @PathVariable("varA") String varA,
@PathVariable("n") final int number) {

}

heady birch
#

Put that in showvase

obtuse gale
#

no

prisma wave
#

(varA: str, number: i32) -> str

#

๐Ÿ™‚ ๐Ÿ‘ โœ…

ocean quartz
#

Me wondering why i am getting this error and then realizing this is Java and being sad

hot hull
#

Kek

ocean quartz
#

Actually it's missing one comment thonking

surreal quarry
#

damn

#

thats awesome

remote goblet
#

How similar is c++ to java

ocean quartz
#

Not much

#

It's actually quite different

prisma wave
#

C++ is pretty much only similar in terms of basic syntax

#

It's very different

ocean quartz
#

@steel heart and since it was your idea @heady birch don't miss use showcase

steel heart
#

Tbf I want annotations nearest the param or object or whatever

#

Easier to read

steel heart
#

They are JEALOUS

heady birch
#

@ocean quartz Maybe we should add a "polls" channel for genuine "polls" so people can "vote"

ocean quartz
#

Can always ask Cube

obtuse gale
#

squircle

#

BARRY STFU

steel heart
#

Collaboration channel would be nice

heady birch
#

What would it do

steel heart
#

Find collaborators obviously

dusky drum
#

okay so guys i have issue with JavaScript if i have array of some stuff

var images = ["1.jpg", "10.jpg", "11.jpg", "12.jpg", "13.jpg", "14.jpg", "15.jpg", "16.jpg", "17.jpg", "2.jpg", "3.jpg", "4.jpg", "5.jpg", "6.jpg", "7.jpg", "8.jpg", "9.jpg"];

images.sort();

it doesnt get sorted:

ocean quartz
#

Store the numbers only, sort it then append the .jpg

dusky drum
#

hm

#

any idea why php cant sort it either?

#

i've tried like 3 sorts in php and none of them could sort it.

ocean quartz
#

Don't think any language will sort it the way you want, because to a string 10 is right after 1

dusky drum
#

oh.

#

i see

#

thats gona be hard to do then huh

#

hehe

#

got it working

#

๐Ÿ™‚

#

nvm

#

its still broken

distant sun
#

Split the string and compare the numbers?

obtuse gale
#

Split the string and compare the numbers?
@distant sun wouldn't work like you think if it's JS KEK

#

FUJCKING STUPID languaage sorts an array of NUMBERS alphabetically

tranquil crane
#

sorting numbers.. alphabetically

obtuse gale
#

who tf thought it was a great idea to implicitly cast EVERYTHING into a STRING

#

omg

distant sun
#

Well but you can still make your own sorting method, dont you?

obtuse gale
#

yes

#

I hate js

#

to death

distant sun
#

How do I decline someone's role request?

tranquil crane
#

say no

obtuse gale
#

๐Ÿ˜ญ

#

pls

distant sun
#

Gn

obtuse gale
#

๐Ÿ‘‹

steel heart
#

Gm

obtuse gale
#

๐Ÿ‘‹

tranquil crane
#

Ge

obtuse gale
#

๐Ÿ‘‹

ocean quartz
obtuse gale
#

hot

onyx loom
#

very hot

prisma wave
#

๐Ÿ˜•

onyx loom
#

RUST

prisma wave
#

rust ๐Ÿ˜Ÿ

regal gale
#

I might feel like it's Lua somehow

#

But I am certain that it's still in C++

#

Hold up a second.. just realized that's Basic coding language

onyx loom
#

ok

prisma wave
#

elara is on fire

onyx loom
#

๐Ÿ”ฅ

prisma wave
#

@normal talon why downvote D:

onyx loom
#

๐Ÿ˜ 

#

crusade?

prisma wave
#

yes

#

rally the troops

onyx loom
normal talon
#

Why?

#

here u go upvote

#

pls don't cry ๐Ÿ˜ฆ

prisma wave
#

thanks

#

๐Ÿ™‚

onyx loom
#

better ๐Ÿ™‚

prisma wave
#

:elaramoon:

regal gale
#

Now where's my communist emote

distant sun
#

sup

heady birch
#

@distant sun making the extension

prisma wave
#

@onyx loom you were asking about jvm times vs native, while this isn't a very fair comparison (since elara is more optimised), a recursive factorial function in Elara vs Frigga is about 11ฮผs vs 400ฮผs

obtuse gale
#

optimised
You brit :0

#

Or Canadian

#

Hmmm thonking

#

Brit

#

Totes

prisma wave
#

Yep lol

ocean quartz
#

Oh was going to ask why "optimised" was a brit giveaway and realized it's with s and not z lmao

prisma wave
#

yeah Americans use z we use s

#

S is much better

hot hull
#

I use both

prisma wave
#

๐Ÿฅถ

obtuse gale
#

I use the 3 of them

ocean quartz
#

The only problem i have with differences like this is that english has no vocal rules, so s can sound like s but also z in words that are very similar

#

In my language s will always sound like z if it's following a vowel and sound like s if following a consonants

prisma wave
#

Yeah it could sound like either

obtuse gale
#

Speaking of either, how do you pronounce that? . _.
like ee-ther or I-ther?
I'm stupid don't look at me

ocean quartz
#

Both are correct, i do the first

obtuse gale
#

. _.

#

English sucks

prisma wave
#

either is correct

#

I usually say ee-ther

obtuse gale
#

either is correct
Hahahaahaahahaahaahahhahhahahhhahahahahahahahahahahahahhahahahahahahahahahhaahahahahaahahahhhahahahahahahahahhahahhahh

#

Gif or gif

prisma wave
#

Gif

obtuse gale
#

Totes

ocean quartz
#

BM important question, how do you pronounce "schedule"?

prisma wave
#

sk-ed-yool

#

or yule

#

Americans say shed-yule I think

ocean quartz
#

Ooo interesting a had a brit in my class that pronounced it shed-yule
And nah, the way you say it is the american way

prisma wave
#

oh

#

Maybe it's regional

#

Everyone I know irl would say it the way I do

#

I think

ocean quartz
#

Probably yeah, north of england speaks weird af

prisma wave
#

I'm confused now lmao

#

North ๐Ÿฅถ ๐Ÿฅถ

ocean quartz
#

the ones from london also speak so weird

prisma wave
#

Most British accents are weird

prisma wave
#

python is faster than elara ๐Ÿ˜ฆ

static zealot
#

you're not suppose to say that...

#

you're suppose to lie

prisma wave
#

it's true though ๐Ÿ˜ญ

static zealot
#

we don't like the cold hard truth

prisma wave
#

tbf python probably actually optimises its code

#

but still

#

๐Ÿ˜ฆ

onyx loom
#

elara #1 fastest language is a lie? ๐Ÿ˜ฆ

prisma wave
#

No

#

It's just misleading

#

We count from 0 and elara is 1

#

๐Ÿ™‚ ๐Ÿ‘

umbral mica
#

LOL

prisma wave
#

Trust me as soon as we switch to rust it will be different

#

Go is probably the problem

heady birch
#

Elara is literally rust

prisma wave
#

no fn

#

No lifetimes

#

No &mut

heady birch
#

You could build a converter that takes elara code, converts it to rust then compiles

prisma wave
#

Therefore rust but better

heady birch
#

True

#

Also jvm would be nice

prisma wave
#

JVM is planned

#

We're just using an interpreter for now to make sure everything will actually work in practice

onyx loom
#

We count from 0 and elara is 1
@prisma wave ๐Ÿ˜‚๐Ÿ˜‚

#

elara very fast then ๐Ÿ˜ณ

prisma wave
#

Exactly

#

Second fastest language ever

#

Hard to believe that we could beat C and Assembly but it's true

onyx loom
#

๐Ÿค”

prisma wave
onyx loom
#

๐Ÿ˜Ÿ

heady birch
#

@pallid gale Still waiting for emoji leaderboard. emoji top 10 emoji users. emoji most used emoji per user. emoji top 10 emojis.

#

emoji most reacted emoji on message

#

The Emoticon "emoji"

onyx loom
ocean quartz
#

Does it make sense for an optional property to have a default value? thonking
Instead of being empty by default

prisma wave
#

the default value should be optional

#

I guess

ocean quartz
#

Hmm fair yeah
I guess i can make it default to the value but then if deleted after it doesn't regenerate

prisma wave
#

yeah that makes sense

ocean quartz
#

@obtuse gale What do you want? xD

obtuse gale
#

no u

remote goblet
#

@ocean quartz are you able to alter the pathfinding of an pre existing entity like a villager mochasit

#

I can't cast org.bukkit.entity.Villager to EntityCreature or EntityCreature

#

i also constantly bother you cause i know you know some nms

obtuse gale
#

Wouldn't you need to cast to a CraftEntity (probably CraftVillager, idk) and get the handle from there?

#

Yea

#

EntityVillager nmsVillager = ((CraftVillager) villager).getHandle();

remote goblet
#

thank

#

forcing a villager to move

#

is fuckin fast

#

what

obtuse gale
#

lmao what

remote goblet
#

Idk this villager just nyooomed

#

lemme send a video of it

obtuse gale
#

lmao

#

AntiVillagerBitching ahahah

#

cool name

remote goblet
obtuse gale
#

he said no

#

> Villager disagrees

remote goblet
#

EntityInsentient#navigation.a(BlockPosition) no work sadcat

#

New awful plan

obtuse gale
#

what's the plan ๐Ÿ‘€

remote goblet
#

Well making an entity walk to another entity works

#

but doesnt work for block position

obtuse gale
#

invisible armor stand

remote goblet
#

yes

obtuse gale
#

I believe you can spawn the armor stand without it showing for that split of a second

#

uuuh

remote goblet
#

I may of found a way to fix it

#

nope nevermind

obtuse gale
#

T World#spawn(Location, Class<T>, Consumer<T>)

#

the consumer will run before it gets added to the world

#

so you can setInvisible(false) or whatever

remote goblet
#

BlockPosition straightup dont work when making an entity walk somewhere

obtuse gale
#

lmao

remote goblet
#

Can i just show you how fast these villagers fuckin nyooom

ocean quartz
#

You might wanna remove some of their other AI so they don't stop randomly and stuff

remote goblet
#

Probably but eh

obtuse gale
#

ahahahahaha

remote goblet
#

I wrote this code in the most

#

garbage way i could

#

as its almost 4am and i am exhausted

obtuse gale
#

yeah later tonight you won't even know wtf you wrote

remote goblet
#

but it functions

obtuse gale
#

insentient

#

lmao

ocean quartz
#

Heh, late night is when i write the best kek

obtuse gale
#

> right

#

Right...

ocean quartz
#

See

obtuse gale
#

oic

#

damn boy I like this blue

#

I'm proud of myself

remote goblet
#

Matt how bad is that code from a scale of 1-10

#

I wish I could still have your blue fefo

obtuse gale
#

it's smooth

#

and nice

remote goblet
#

On the positive side

#

I know like

#

Some NMS

obtuse gale
#

at least you got something out of it fingerguns

remote goblet
ocean quartz
obtuse gale
#

Reinventing yaml

ocean quartz
#

Not really xD

ocean quartz
#

I'll leave maps for tomorrow dios

obtuse gale
#

Rec-

#

Recur-

ocean quartz
#

Wont be needed

#

You know what, let me do that right now kek

tranquil crane
#

what's you making?

#

yaml but not really?

ocean quartz
#

It's yaml, just a lib to handle it, similar to ConfigMe, it has null safety, optional, bean properties, and keeps comments

tranquil crane
#

o ok

#

beans mm

ocean quartz
#

Oh yeah ;p

tranquil crane
#

anything that keeps yaml comments is a win

viral skiff
#

Anyone know how to install fivem in pterodactyl panel? i don't have experience with it so i need someone to help me out.

ocean quartz
#

Aight time to go get unconscious

obtuse gale
#

Same lol

#

Oh man I like this blue c:

ocean quartz
obtuse gale
#

Fancy

prisma wave
#

Are you using snakeyaml @ocean quartz ?

dusky drum
#

Matt i want this, when release?

#

XD

heady birch
#

Path comment locale would be nice

prisma wave
#

en_FR

heady birch
#

en_GB_north

#

en_GB_south

onyx loom
#

๐Ÿคฃ

prisma wave
#

en_GB_yorkshire

#

๐Ÿฅถ

onyx loom
#

en_GB_isle_of_wight

prisma wave
#

๐Ÿ™‚ ๐Ÿ‘

#

yer a gurt caulkhead gettin nippers somewhen

onyx loom
#

that is very understandable

prisma wave
#

indeed

#

rough translation: "you are a big person from the isle of wight who is having children at some point"

#

Lol

onyx loom
#

๐Ÿ‘

errant geyser
#

en_GB_yorkshire
U wot

#

My grandparents are from Yorkshire, easily understandable

#

They just say weird things

#

Like "lookya" rather than "look"

onyx loom
#

exactly

#

thats not understandable

prisma wave
#

West country accent is the worst

quiet depot
#

aus accent >

onyx loom
#

hot fuzz

#

a piece of british history

frail glade
#

Oh lord, I remember seeing that for the first time.

#

Good times.

prisma wave
#

an absolute masterpiece

ocean quartz
#

@prisma wave Yeah snake yaml

#

@dusky drum I think i can release a snapshot soon but no ata for when it'll be fully ready

#

Path comment locale would be nice
@heady birch What would this be?

heady birch
#

locale

dusky drum
#

Oke matt!

#

cant wait!

prisma wave
#

how you doing comments then?

ocean quartz
#

I only use it to read, writing is done manually

hot hull
#

@prisma wave U got a min?

prisma wave
#

for what?

hot hull
#

Some reflection help

#

I'm trying to change a private field boolean to true, however the class is abstract so I'm kinda lost

prisma wave
#

what's the problem?

hot hull
#

Caused by: java.lang.IllegalArgumentException: Can not set boolean field net.minecraft.server.v1_8_R3.Entity.invulnerable to java.lang.Class
Code:

final Entity nmsEntityArmorStand = ((CraftArmorStand) entity).getHandle();

try {
  final Field invulnerableField = Entity.class.getDeclaredField("invulnerable");
  invulnerableField.setAccessible(true);

  System.out.println("Initial Value: " + invulnerableField.get(Entity.class));

  invulnerableField.setAccessible(true);
  invulnerableField.setBoolean(nmsEntityArmorStand, true);

  System.out.println("Finished Value: " + invulnerableField.get(Entity.class));
} catch (final NoSuchFieldException | IllegalAccessException ex) {
   ex.printStackTrace();
}
#

(exception being throw on the first access of the field)

#

oop wait I'm sm0ll brain

obtuse gale
#

why are you calling setAccessible twice lmao

hot hull
#

Stop judging me, I've not messed with this shit in months ;C

#

I've fixed anyhow

obtuse gale
#

also

#

"Can not"

#

what the f

#

lmao

hot hull
#

huh?

obtuse gale
#

looks odd

#

but that's out of the question anyhow reversed_fingerguns

hot hull
#

You look odd smh

obtuse gale
#

๐Ÿ˜Ÿ

hot hull
#

Now how do I convert a CraftArmorStand to a normal one, my brain

obtuse gale
#

Why are you doing that shit with nms

heady birch
#

This is objectively wrong.

obtuse gale
#

entity.setInvulnerable(true)

hot hull
#

1.8

#

:c

obtuse gale
#

lol

#

LOL

heady birch
#

Upgrade to 1.12

obtuse gale
#

LAFF

heady birch
#

We dont provide support for 1.8 Have a Nice day ๐Ÿ™‚

hot hull
#

Ah yes let me go tell the person who's paying me to do this to update everything to 1.12

#

Cause that's how shit works

static zealot
#

Upgrade to 1.12
even 1.16.3 if you can

hot hull
#

Fucking monka brains

static zealot
#

๐ŸŒ

steel heart
#

1.8 is godly

#

Give me a reason not to use 1.8

hot hull
#

There is none

#

However I still wanna know how to cast this back

obtuse gale
#

I mean the value should be reflected onto the bukkit armor stand

steel heart
#

Imagine using reflection

obtuse gale
#

I don't see why you should cast back thonking

#

You are changing the value on the nms entity reference itself, taken straight from the cb entity

hot hull
#

Oh yea meaning I can just reference my old entity correct?

obtuse gale
#

supposedly

#

lol

hot hull
#

shup up weeb

#

Stop bully

obtuse gale
#

n ou

#

oof

steel heart
#

Basically frosty has 4head

obtuse gale
#

and i 1eye

hot hull
#

My brain ain't working today

obtuse gale
#

i1i

steel heart
#

Mad sus

obtuse gale
#

aye

#

i

#

eye

steel heart
#

ima vote you

obtuse gale
#

lmao the z

hot hull
#

Not to toot my own horn, but I've been working on a custom minions plugin and I gotta say, this shit is fucking awesome

frail glade
hot hull
#

Like bruh the minions can even have cosmetics

#

It's fucking dope

frail glade
#

You going to show a video or what

hot hull
#

Soonโ„ข๏ธ

static zealot
#

public or privatE?

onyx loom
#

soonโ„ข๏ธ thonk

hot hull
#

private Blitz

static zealot
#

thought so xD

frail glade
#

You talk mad game for a dude that won't even showcase his project /s

ocean quartz
#

OS Frosty

static zealot
#

ye just OS it under another github name xD

#

he'll never notice it

ocean quartz
#

Today i dive into the bean properties dios

frail glade
#

Wahoo!

ocean quartz
#

Tbh i could just use gson for it

frail glade
#

Have fun playing with TypeTokens.

ocean quartz
#

Ikr xD

frail glade
#

Not even sure how I managed to mess it up but apparently GSON was messing with my TypeToken stuff to serialize and deserialize a list of UUIDs, and it would throw an "UnsupportedOperationException" whenever I tried to add a UUID to an "Abstract List" (Literally set it to be an ArrayList on both ends for testing) and I just changed everything to a Set and it started working again.

hot hull
#

Don't you love it when you make an invulnerable armor stand and then you can't remove it with /killall all -.-

onyx loom
#

๐Ÿ™‚

obtuse gale
#

killall sucks

#

minecraft:kill ftw

hot hull
#

And how am I supposed to get it's uuid..

obtuse gale
#

/minecraft:kill @e[type=armor_stand,limit=1,sort=nearest] ๐Ÿ‘Œ

hot hull
#

Not a valid type :bruh:

obtuse gale
#

wat

#

what version you on

#

OH 1.8

#

AHAHAHAH

#

yeah good luck with pre 1.13 commands :kekw:

hot hull
#

lol

obtuse gale
#

there was this site

#

uuuh

#

@e[c=1,type=ArmorStand]

hot hull
#

I'll try

#

Ayy worked

obtuse gale
heady birch
#

Yes gson is known for this

#

If only you had used Jackson

hot hull
#

@remote goblet "Ah yes I just started with NMS so I decided to go mess with the hardest things"

#

Great thinking

remote goblet
#

it's not that hard

hot hull
#

It's not, just tedious

obtuse gale
#

> just tedious
As you properly experienced last night

remote goblet
#

if you know how to do it

onyx loom
#

das cool

#

gj ori

remote goblet
hot hull
#

The fucker sprinting for his life tho

onyx loom
#

๐Ÿคฃ

#

the faster the better

remote goblet
#

Yeah they fuckin nyoooom

heady birch
#

๐Ÿ™

remote goblet
onyx loom
#

still terrible bitrate

remote goblet
#

its x2 better

#

its 5000 bitrate instead of 2500

heady birch
#

gradients are my thing

remote goblet
#

my gradients are better

hot hull
#

So close to having this finished

remote goblet
hot hull
#

Ofc you stole it from Esophose

remote goblet
#

Well yeah

#

I suck at java bear_laugh

#

Oh jesus lord

static zealot
#

wtf~?

onyx loom
#

have u tried not sucking

gentle wren
#

Does anyone know why it updates for that certain user, but not for other users?

remote goblet
#

suck a dick kaliber :)

static zealot
#

delete that ayresia

onyx loom
static zealot
remote goblet
#

okay brb

heady birch
#

Saturation and looping ๐Ÿ™‚

gentle wren
#

My bad, thank you @static zealot

heady birch
#

But certainly not enterprise grade

remote goblet
#

simply stole it from that

heady birch
#

GradientFactory.createRainbowGradient();

remote goblet
#

HexUtils.colorify();

heady birch
hot hull
#

"colorify"

remote goblet
#

colorify

onyx loom
#

String.color() ๐Ÿ™‚

heady birch
#

non stateful/text tied gradients

remote goblet
#

Int.color

hot hull
#

Integer.color()

heady birch
#

true enterprise decouplement

hot hull
#

Smh Ori

remote goblet
#

:)

#

Color.string()

heady birch
#

the fact you could take the gradient system and "plop" it into any standard "awt" project

onyx loom
#

enterprise solutions

heady birch
#

Like ecloud

#

Until the "suits" came in and said we had to make it RESTful

hot hull
#

I bought him a balloon @frail glade

remote goblet
#

okay what random ass plugin do i make now

frail glade
#

Ooo fancy

hot hull
#

It's all abstract so I can easily add new cosmetics and minions

#

However fuck EulerAngles

#

Took me an hour to get this balloon right

onyx loom
#

lol

remote goblet
#

if the slayer minion moves his arm down does the balloon move with it

hot hull
onyx loom
#

cute

#

very cool

hot hull
#

He also has a rave suit

#

sec lemme upload a gif

heady birch
#

Make AJ Tracey skin

hot hull
#

No clue what that is

onyx loom
#

โ˜น๏ธ

prisma wave
#

Make AJ Tracey skin
@heady birch lmao

prisma wave
#

Dinner guest is fire

onyx loom
#

๐Ÿ™‚

hot hull
frail glade
#

Very nice.

hot hull
#

Played around with having it animated, but it's just hella buggy cause it sometimes doesn't update the pose

#

So might need to do it with NMS to see if that helps

heady birch
#

@frail glade

frail glade
#

Hmm?

heady birch
#

would kite board open source be good idea

static zealot
#

ye

#

for me at least

#

xD

frail glade
#

I think it would, yeah.

hot hull
#

Y'all can't handle that enterprise code.

ocean quartz
#

Always OS imo

hot hull
#

The amount of shit I'd love to os but can't :(

onyx loom
#

just do it 4Head

static zealot
#

ye just give me free code please.

hot hull
#

That's also the reason why some shit is private, cause people would just Ctrl c and ctrl v

#

Like bruh take it as an inspiration, not a copy paste

static zealot
#

who'd do that? I'd never

umbral mica
#

I wish @compact perch could be open source lol, I'm curious to see how the automod works

hot hull
#

Cube says barry is a mess

umbral mica
#

Given how little d.js I know, don't really care lol

onyx loom
#

barry just smart

#

no code involved

hot hull
#

Barry coded himself

frail glade
#

This Discord is so active that he just uses all the messages to neural network train his AI based on what people say they need help the most with.

#

Wait wtf

umbral mica
#

I'd be interested to see if Syscraft bot's AI could actually be decent at support lol

frail glade
#

My messages just edited unedited and reditied

hot hull
#

You good Glare?

#

Seems like you had a stroke

frail glade
#

Looks like a new keyboard big

#

Bug

onyx loom
#

dont blame the stroke on ur keyboard

frail glade
ocean quartz
frail glade
#

Lol

hot hull
#

Lol

onyx loom
#

Lol

static zealot
#

Lol

prisma wave
#

Lol

heady birch
#

Lol

obtuse gale
#

Lol

steel heart
#

Lol

remote goblet
#

Lol

ocean quartz
#

Oh god

obtuse gale
#

Matt you FOOL

steel heart
#

You ruined it :/

ocean quartz
#

I mean it started because of my post, i can stop it ;p

prisma wave
#

@onyx loom clojure moon

obtuse gale
#

LOclock3

prisma wave
#

๐ŸŒ

hot hull
#

You goddam idot how dare you!!!!1!!

heady birch
#

funnycube to integrate sars photo uploading into barry

prisma wave
#

1973

#

lisp machine

heady birch
#

magic now

#

detects date from EXIF

prisma wave
#

ELIF

#

developers will be like ew functjonal programming is gross I like Java streams btw

#

every developer born after 1997

#

cant ๐Ÿ˜…

clear bramble
#

hey >.>

obtuse gale
#

canned knot

clear bramble
#

I hate java streams

prisma wave
#

But do you think functional programming is gross

clear bramble
#

I think it's beyond my understanding in most cases, when you're talking about langs like haskell

prisma wave
#

Not necessarily Haskell

#

Haskell scares even me

clear bramble
#

haha

prisma wave
#

But in general

#

Map.fold.reduce

clear bramble
#

I use functional stuff in js all the time

prisma wave
#

๐Ÿ‘ โœ…

steel heart
#

Pure Functional programming ewww

prisma wave
#

print :: IO

clear bramble
#

pure functional scares me so much

steel heart
#

Like fine sometimes itโ€™s really handy

#

But it can get very nested and stuff

clear bramble
#

yo

umbral mica
#

callback hell

clear bramble
#

have yall seen that youtuber who just makes rants

prisma wave
#

F#

clear bramble
#

about how object oriented programming is the worst thing ever created?

steel heart
#

No itโ€™s not

clear bramble
#

ik but he's like

#

REALLY adamant about it being the devil's work

steel heart
#

His argument is flawed

clear bramble
#

it's hilarious

heady birch
#

new_list()
add(list, item)

prisma wave
#

๐Ÿ˜

steel heart
#

He is like lol we can use switch instead of inheritance

clear bramble
#

ya his name is Brian Will

steel heart
#

Just what the fuck dud

prisma wave
#

Golang

heady birch
#

Rust does it pretty well

steel heart
#

Youโ€™re mentally not good then

heady birch
#

Special enum

prisma wave
#

let mut list = []
list = list + 3

#

Homoiconic

clear bramble
#

homoiconic == gay icon?

prisma wave
#

[] List<Any>

steel heart
#

[]<>{List(Any: Object)}

prisma wave
#

dev general started off as "kotlin good java bad" and now it's just nonsensical rambling

clear bramble
#

I've wanted to look at kotlin for a while now but I've never gotten around to it

prisma wave
#

don't bother

steel heart
#

It started by devouring Development

#

Didnโ€™t it?

prisma wave
#

It's lacking many "modern" features

onyx loom
#

kotlin good java bad

prisma wave
#

Such as print function and &'a mut

steel heart
#

Java decent kotlin good Elera superior python decent C# good

prisma wave
#

๐Ÿ‡ฒ

clear bramble
#

smh my head if you're not using clojure for everything do you really even qualify as a human being?

onyx loom
obtuse gale
#

lmao

prisma wave
#

smh my head if you're not using clojure for everything do you really even qualify as a human being?
@clear bramble well said

onyx loom
obtuse gale
onyx loom
#

๐Ÿ‘

prisma wave
#

(defn main [] (println " "))

steel heart
#

No

#

Pls

prisma wave
#

ร”

clear bramble
#

I can't send images but

#

1058 results for "clojure"

obtuse gale
#

imgur

clear bramble
#

jesus

steel heart
#

int main() {
return Fefo.LOL_VALUE;
}

onyx loom
#

10k for kotlin ๐Ÿ™‚

prisma wave
#

Say what you like about Clojure but it's really very similar to elara

steel heart
#

Clojure is too functional

prisma wave
#

That's the point

steel heart
#

Itโ€™s almost illegal

obtuse gale
#

almost?

prisma wave
#

Not really

umbral mica
prisma wave
#

FP just needs a different mindset

steel heart
#

Like who likes side effect free

clear bramble
#

elara mitten out here making an actual real programming language, tryna show me up with my shitty JS-interpreted LISPlike scripting lang

prisma wave
#

It's only difficult because we're all used to imperative programming

#

LISP?

steel heart
#

Anyone tried Deno?

prisma wave
#

Sign me up ๐Ÿ˜ ๐Ÿ™‚

clear bramble
#

it's slow af tho

#

but I've got modules working and stuff

prisma wave
#

I would suggest you adopt "Go" for your interpreter

#

or "rust Lang"

steel heart
#

Deno is awesome

clear bramble
#

I don't think you understand how much I'm using js lang features, it's basically just a wrapper for JS with different syntax

prisma wave
#

every day there is a new spigot fork and js runtime made

clear bramble
#

I was really surprised to find out about PrismarineJS

prisma wave
#

Ok well now it can be a wrapper for Go with different syntax ๐Ÿ™‚

clear bramble
#

like, who does that?

prisma wave
#

Strange people

steel heart
#

New spigot fork lol

#

Relatable

hot hull
#

I cracked my phones protective screen :(

onyx loom
#

get a new one 6head

hot hull
#

20$, cba

clear bramble
#

so can I bring up a random fun fact

prisma wave
#

no

clear bramble
#

oh

prisma wave
#

Just kidding

#

Yes

clear bramble
#

lol

prisma wave
#

As long as it's fun

clear bramble
#

this always seems to blow someone's mind, idk

hot hull
#

If it's not fun you're getting banned

#

So choose wisely

prisma wave
#

I agree

#

As helpful role I have the power to ban people

clear bramble
#

the # in c# is just two ++'s from c++ stacked on top of each other

onyx loom
#

o

prisma wave
#

๐Ÿ˜ณ

onyx loom
#

c# = c++? ๐Ÿ˜ณ

clear bramble
#

it's c++++

hot hull
#

That's it, @distant sun ban this man

prisma wave
#

I'm on it ๐Ÿ‘

clear bramble
#

Hey I'm a woman

prisma wave
#

!ban @clear bramble

steel heart
#

No

prisma wave
#

consider yourself banned

distant sun
#

?

clear bramble
#

nOOOOOOO

onyx loom
old wyvern
#

That might be cโ™ฐโ™ฐ coz + isnt long enough

prisma wave
#

elara mitten claims another victim

ocean quartz
steel heart
#

Peril is the most geniousest person here, yโ€™all got deefficienses or smtng

hot hull
#

Time to start addressing everyone as an apache attack helicopter so I don't accidentally offend anyone

clear bramble
#

that sentence gave me brain cancer

#

yikes

prisma wave
#

@ocean quartz recursion ๐Ÿ™‚

ocean quartz
#

It isn't xD

heady birch
#

yes , commonly H64

hot hull
#

It's a dif method tho idots

obtuse gale
#

IDOTS

ocean quartz
#

It's just a joke btw

clear bramble
#

wha

obtuse gale
#

hahaha

#

very funny matt

onyx loom
#

thanks for clearing that up matt

prisma wave
#

It is the year 2022, slight_smile has been outlawed

obtuse gale
#

๐Ÿ‘

hot hull
#

๐Ÿ™‚

clear bramble
#

๐Ÿ™‚ shoot me

heady birch
prisma wave
#

no it's not 2022 yet

hot hull
#

Oh damn Niall

prisma wave
#

showcase

old wyvern
#

๐Ÿ™‚ shoot me
@clear bramble
We dont do american here

steel heart
clear bramble
#

LOOOOL

surreal quarry
steel heart
#

IntelliJ is bad

#

Like really bad

prisma wave
#

we live in a society when "elara" gets more upvotes than 'aeroplane,'

#

๐Ÿฅฒ

old wyvern
#

IntelliLara

heady birch
#

๐Ÿ˜ญ

old wyvern
#

ElaraJ

clear bramble
#

Niall what did you say? I can only see *******

old wyvern
#

IntelliEl

surreal quarry
#

elara should have its own ide

ocean quartz
#

Yeah was gonna say it makes more sense to be IntelliEl

old wyvern
#

ayy

#

xD

surreal quarry
#

Intelara

clear bramble
#

Ineltelarliaj

old wyvern
#

IntelliEl 2021 confirmed

onyx loom
#

Elaraland

#

ElaraCharm

prisma wave
#

import elara/ide

ide start
ide open "main.el"

steel heart
#

Elera Earth

clear bramble
#

Elara.js

old wyvern
#

ElCharm

surreal quarry
#

ElaraStorm

prisma wave
#

No

old wyvern
#

Elarn

clear bramble
#

Elara Dungeons

old wyvern
#

Elarm

surreal quarry
#

elara discord api

prisma wave
#

yes

surreal quarry
#

we need one

prisma wave
#

Ok

onyx loom
#

elaracord

surreal quarry
#

make it a part of the standard library :)

prisma wave
#

I'll make one

#

Ok

normal talon
#

learning java is one thing but implementing it is a another thing (sad moment)

prisma wave
#

Have you seen calculator

clear bramble
ocean quartz
#

Since the Jetbrains IDEs are kinda puns, probably would be called ElAra

surreal quarry
#

i did see calculator

steel heart
#

Eleracraft

prisma wave
#

thanks

steel heart
#

@normal talon I pray with you

normal talon
#

๐Ÿ™Œ

old wyvern
#

Since the Jetbrains IDEs are kinda puns, probably would be called ElAra
@ocean quartz
The Now

clear bramble
#

I don't wanna go to work today

surreal quarry
#

we should make the elara discord api wrapper before the language is finished

#

as a fun challenge

clear bramble
#

I have to teach python, using turtle library, using trinket, which is so restrictive and I barely know how to use it

ocean quartz
#

El ara ara

prisma wave
#

I will make a discord API

onyx loom
#

TURTLE

old wyvern
#

What we do def need is something similar to JNI so anyone can add native stuff from specific languages that it will be transpiled to

prisma wave
#

ENI

clear bramble
#

๐Ÿข

onyx loom
#

i learnt that in like year 9 ๐Ÿฅฒ

old wyvern
#

Actually I guess as long as we allow interop thats not needed

prisma wave
#

doing computer science in year 9 ๐Ÿฅฒ

steel heart
#

Make a brister mitten api also pls

clear bramble
#

yeah but I never really did python tho? I just did ruby/java/js in school and I've only scripted a few things with python outside of it

surreal quarry
#

doing computer science in the womb

#

built different

prisma wave
#

Make a brister mitten api also pls
@steel heart what would it do

old wyvern
#

The only thing I had before uni was a bit of c++

#

With turboc++, the best of the best

onyx loom
#

@steel heart what would it do
@prisma wave get pinged

old wyvern
#

๐Ÿ™ƒ

prisma wave
#

ok

steel heart
#

It would presumably control you bm

prisma wave
#

๐Ÿคจ

steel heart
#

Or make us able to clone you

#

Se we can have more Elera minded ppl

prisma wave
#

there are more effective ways of spreading the Elara message

steel heart
#

Everyone could have their personal bm

old wyvern
#

There are no Elara minded people, Elara is the people

#

Only Elara exists

prisma wave
#

@old wyvern I don't think namespaces & import declarations are parsing properly

clear bramble
#

okay someone needs to explain to me why @steel heart keeps saying "elera" and not "elara"

steel heart
#

Good point

prisma wave
#

I made a demo file and it doesn't work

#

@clear bramble good question

old wyvern
#

Havent added those yet alex

#

I just had the basic syntax up to prepare the typer

steel heart
#

Elera is nicer in my opinion

onyx loom
#

There are no Elara minded people, Elara is the people
Only Elara exists
"Yugi" - 2020
write this down for the history books

old wyvern
#

The interpretter wasnt really initially planned remember? xD

prisma wave
#

Ah true lol

#

Fair enough

#

the infix parsing will be easier in an interpreted language tbf

steel heart
#

Is elara compiled?

old wyvern
#

Should be

#

Isnt currently

prisma wave
#

It will be

surreal quarry
#

Elara should be taught in schools

steel heart
#

LETS FO

#

Go

prisma wave
#

Go

#

๐Ÿ™‚

surreal quarry
#

lang tm

old wyvern
#

Go Land

prisma wave
#

But yeah I guess it should look like this?

#

With the parser

old wyvern
#

mhm

#

Ill get those up tonight

prisma wave
#

awesome

#

btw, again with the infixes - we could make it so you can only use it for the actual function arguments?

#

so list.map some-function rather than list map some-function

#

then there's no ambiguity

#

it's just optional commas & parens

old wyvern
#

Sure

prisma wave
#

Great

#

that solves the biggest problem

#

I don't think there's much else to consider?

heady birch
#

I have a proposal:

let print-twice = (String message) => {
    print message
    print message
}

to become:

let print-twice = (message: String) => {
    print message
    print message
}```
prisma wave
#

possibly

#

idk

#

maybe just message String

#

Idk, personally I'm torn - we're using name: Type for variable declaration but I think Type name looks better for structs and parameters

#

And then it's inconsistent

onyx loom
#

name: Type

prisma wave
#

everywhere?

onyx loom
#

ye

prisma wave
#

hmmmmmmmm

frail glade
#

Hmm so it looks like that uptime server placeholder bug has leaked into other placeholders on the server stuff too 3dthink

steel heart
#

F

lavish notch
#

Might there be a better version of Java to use for MC servers?

For example, 1.8 paperspigot idling (with various plugins) is at 785MB RAM usage.

prisma wave
#

I mean newer versions will likely be more efficient

#

But bear in mind that the JVM reserves ram I believe, and might not actually be using all of it

heady birch
#

also kiteboard will east up ram like theres no tomorrow ๐Ÿ™‚

lavish notch
#

Bruh

prisma wave
#

Rewrite it in rust :)

steel heart
#

Niall give me kiteboard

prisma wave
#

can I have a discount since we're both rust appreciators

heady birch
#

I'm joking ๐Ÿ˜„ It shouldn't use too much

steel heart
#

Same

prisma wave
heady birch
#

Might open source at some point so you could just mvn package

lavish notch
frail glade
#

Is there an actual reason I'm missing here for these to be Integer.toString() vs String.valueOf()?

umbral mica
#

Wait niall are you the KB dev?

prisma wave
#

@frail glade they do the same thing afaik

heady birch
#

Yeah

frail glade
#

Bothers me that these are the only ones diff from the others, haha.

steel heart
#

String.vakueOf is shorter

prisma wave
#

@lavish notch I mean, it says how to reduce lag if that's a problem

lavish notch
#

The flags did nothing

#

I already tried them

prisma wave
#

@heady birch Niall/KiteBoard

Contributors:
Niall
knightzmc

๐Ÿ™‚ ๐Ÿ‘

steel heart
#

I think Integer.toString only takes an int @frail glade

#

So it would emphasize more on whatโ€™s going on

frail glade
#

Hmm, okay.

#

Apparently we already had a PR open to fix these placeholders. Currently having them tested and if it works, I'll merge that and get a release going for the Server Expansion.

lavish notch
#

@prisma wave Using the suggest flags, RAM usage spikes to 2GB D:

prisma wave
#

Unless you're having lag I wouldn't worry about it

#

As I said I'm pretty sure the JVM reserves more ram than it needs, so ram usage isn't necessary accurate

umbral mica
#

Aight y'all making me curious, lets see what this kotlin stuff is

prisma wave
#

jokes aside it's a pretty nice language

umbral mica
#

I was looking through the website & I'm starting to see what y'all like about it

#

like the null system makes a lot more sense

#

plus extending classes looks fucking fun

prisma wave
#

yeah that's probably the main reason to use it

umbral mica
#

the stynax kinda wack though ngl

#

name : Type

prisma wave
#

you get used to it

umbral mica
#

but java interop so meh I'll give it a shot

steel heart
#

Corountines

umbral mica
#

also apparently you can do kotlin to native?

frail glade
#

Literally never used Corountines yet

umbral mica
#

so that seems neat

prisma wave
#

Yeah although it's in early stages

steel heart
#

I mean corountines is nice

prisma wave
#

coroutines*

steel heart
#

Oh sry

#

Itโ€™s a confusing name

umbral mica
#

this has got to be the slowest project generation I've ever had lol

prisma wave
#

gradle loading?

umbral mica
#

yeah gradle downloading all the deps

prisma wave
#

yeah it'll take a while at first but then quick obviously

umbral mica
#

yup

#

gradle go brr

#

no packages in the default project? interesting

prisma wave
#

packages aren't as strict as they are in java

umbral mica
#

wait is kotlin not a semicolen lang? how'd I miss that lol

prisma wave
#

so the default package is less of a problem

#

it's optional semicolons

umbral mica
#

hmm

#

I have mixed feelings on optional semicolons lol

steel heart
#

Sometimes those are undoubtedly redundant

prisma wave
#

99% of the time semicolons are unnecessary

steel heart
#

for loops in java needs them

prisma wave
#

I mean as a line terminator

steel heart
#

Oh yeah true

#

Then like 101%

umbral mica
#

HOLD UP

#

kotlin has js-style templates?!

#

โค๏ธ

prisma wave
#

string interpolation yeah

#

I assume that's what you mean

umbral mica
prisma wave
#

yep

umbral mica
#

fuck kt is pulling ahead of java

steel heart
#

Iโ€™ve always said that whogontellha

prisma wave
#

it's definitely more feature rich

umbral mica
#

I'm not a fan of the "magic functions" tho

surreal quarry
#

magic functions?

umbral mica
#

idk what to call them

surreal quarry
#

example?

steel heart
#

mutableMapOf or?

umbral mica
#
System.out.println("Hello world");
``` vs ```kotlin
println("Hello world")
prisma wave
#

I wouldn't say they're magic

surreal quarry
#

you mean like not registered to a specific class

umbral mica
#

like in java it makes sense, they're a method on the ConsoleStream class or whatever

prisma wave
#

the term is "top level"

umbral mica
#

yeah exactly james

prisma wave
#

i.e not part of a class

surreal quarry
#

yea i love those lul

umbral mica
#

idk I find it weird

prisma wave
#

they're just functions that aren't part of a class

#

since kotlin isn't as strictly OOP

#

they're usually the equivalent of utility functions

surreal quarry
#

dont they compile to static functions?

prisma wave
#

yeah

surreal quarry
#

like FilenameKt.topLevelFunction()

#

in java

umbral mica
#

so you can define your own top-level methods too?

prisma wave
#

yeah pretty much

#

and yes

surreal quarry
#

yea

umbral mica
#

hmm ok thats better then

prisma wave
#

if you ctrl + click you can see the definitition

ocean quartz
#

You can also set the file name with an annotation

surreal quarry
#

really?

prisma wave
#

println() in particular is just an alias of sout

ocean quartz
#

Yeah

prisma wave
#

yeah @file:JvmName iirc

umbral mica
surreal quarry
#

interesting

prisma wave
#

kotlin has a lot of keywords

umbral mica
#

yeah I noticed that while I was looking through the docs

#

ok just for shits and giggles lemme try tossing one of my simple jda bots into that kotlin converter I know idea has

ocean quartz
#

Pretty cool

surreal quarry
#

yea ive never seen that before

prisma wave
#

it's only really useful for interop

heady birch
#

Will your config library be in Kotlin or Java

ocean quartz
#

Java

surreal quarry
#

well yea thats what its cool for lol

prisma wave
#

yeah kinda stating the obvious there lol

heady birch
#

I do not like this Matt Monopoly