#dev-general

1 messages ยท Page 465 of 1

onyx loom
#

im going to commit a WAR CRIME

#

get rid of the pfp NOW

prisma wave
#

YEAH MATE

#

No

onyx loom
#

by putting the pfp on u are SUPPORTING anime

prisma wave
#

read the status FOOL

hot hull
#

You are a weeb

forest pecan
#

Frosty how soft are you?

hot hull
#

wdym?

forest pecan
#

softness rating

hot hull
#

rn 10/10

forest pecan
#

lmao

hot hull
#

:3

half harness
#

oh frosty

hot hull
onyx loom
#

dont look too bad

old wyvern
#

uhh

onyx loom
#

destructuring is so nice ๐Ÿ™‚

old wyvern
#

Any idea?

#

oh wait lmao

cinder flare
#

is that supposed to be one sentence but you choose which part has an error?

hot hull
#

as a long?

old wyvern
#

this is straight from google

#
#

xD

#

lit

cinder flare
#

oh I mean it seems gramatically correct to an extent

hot hull
#

Well the first one does

cinder flare
#

apparently it's supposed to be forgiving as opposed to forging according to that link you just sent

old wyvern
#

which there have been โ†’ in which there has been.
This is the mistake apparently

hot hull
#

Shouldn't this have an a in between?

cinder flare
#

ah I see it now

onyx loom
#

no frosty

cinder flare
#

well not necessarily Frosty

onyx loom
#

not in this context i dont think so anyway

old wyvern
prisma wave
#

"in which there has been"?

hot hull
#

It should

cinder flare
#

Our history can be seen as development

old wyvern
#

who tf set these questions

#

jeez

cinder flare
#

That works

onyx loom
#

yeah yugi

#

that was really shitty

cinder flare
#

The other words are just adjectives

static zealot
#

a b c d e f g h i j k l m n o p q r s t u v w x y z

onyx loom
#

unnecessary adjectives lmao

old wyvern
#

Comparing with the sentence from that website, each of those lines have some mistake

onyx loom
#

yeah

cinder flare
#

yeah this was kinda hard even for me, and I speak English very well I'd say and also am quite a grammar nazi lmao

hot hull
#

First one sounds so wrong without that a

old wyvern
#

true

hot hull
#

So y'all must be smoking something

old wyvern
#

Imma just choose the answer from the website

cinder flare
#

I mean it does sound kinda funky

#

but it technically works

#

Like I wouldn't say that, but I don't think it's necessarily incorrect

hot hull
#

I mean I mostly go by how it sounds if it's correct or wrong so kek

half harness
#

๐Ÿ˜ณ

cinder flare
#

DKIM

#

INV

#

NOW

half harness
#

aaaa

#

okay

#

lol

old wyvern
#

"ought to" means "should" right?

hot hull
#

Yes

prisma wave
#

I think so

#

Context?

onyx loom
#

basically

forest pecan
#

depends on where you use it

old wyvern
forest pecan
#

like geographically

onyx loom
#

ought is just a really old word afaik, no one really uses it aymore

forest pecan
#

Yeah

onyx loom
#

thats correct yugi

prisma wave
#

Yeah it's posh word

old wyvern
#

Alrighty, thanks

forest pecan
#

Yugi

#

is this a quiz?

#

or smthing?

#

what is this lmao

old wyvern
#

Soft Skills 2

forest pecan
#

lmao what

cinder flare
#

you could totally say had better as well

#

just not formal

onyx loom
#

had better doesnt make sense here

forest pecan
#

should better

onyx loom
#

if see was seen then yes

cinder flare
#

I think you had better see a doctor

onyx loom
#

tenses

cinder flare
#

totally works

forest pecan
#

again, it depends on where you live too

cinder flare
#

yeah in the south, that is a 10/10 okay phrase

#

american south

onyx loom
old wyvern
#

lol

#

random weird exam

#

We arent supposed to have one

dawn hinge
#

No rules?

old wyvern
#

But they didnt conduct enough internal assignments

dawn hinge
#

Huh

cinder flare
#

they didn't use their soft skills in writing that email lmao

old wyvern
#

lol

ocean quartz
#

Oh no, BM turned into a weeb
These people and their anime profile picture :rolling_eyes:

onyx loom
#

ikr matt

cinder flare
#

hey... wait a minute

onyx loom
#

must SUCK to like ANIME

half harness
#

somethings with bm

ocean quartz
#

Ikr

onyx loom
#

np thats just bms daily mental breakdown dkim

half harness
#

lol

obtuse gale
#

oh no is that Astolfo?

prisma wave
#

Maybe

obtuse gale
#

bm lol you know who that is?

prisma wave
#

Vaguely

old wyvern
#

๐Ÿ˜ฎ

#

weeb mitten confirmed

obtuse gale
onyx loom
#

๐Ÿคจ

ocean quartz
#

Fucking weeb!!

prisma wave
#

ah yes I am aware

obtuse gale
#

lol

prisma wave
#

silence

oak raft
#

yo mr semigroup sir

prisma wave
#

Yo

oak raft
#

who tf is in ur pfp

prisma wave
#

some anime guy

oak raft
#

A GUY!?

obtuse gale
#

yes

#

a guy

#

Astolfo

oak raft
#

๐Ÿฅด

cinder flare
#

oh no bm is astolfo

#

i liked the old one better

onyx loom
#

i prefer soldier ๐Ÿ˜Š

prisma wave
#

everyone's got something to say... ๐Ÿ™„ ๐Ÿ™„

cinder flare
#

i dunno soldier kinda gettin old

prisma wave
#

never anything positive

cinder flare
#

he might have to diversify and become scout or something

obtuse gale
#

I liked the other one more

#

This one doesn't really fit you

half harness
ocean quartz
#

@prisma wave

obtuse gale
#

yes, that's how weebs work

onyx loom
#

lol

prisma wave
#

QQQQQQA

#

I'm not a weeb

oak raft
#

Are you a weeb emily

prisma wave
#

I promise

cinder flare
#

QQQQ

half harness
#

QQQQ

cinder flare
#

man the discord capital Q is kinda nice

ocean quartz
#

Denial is the first symptom

cinder flare
#

Denial?

prisma wave
#

๐Ÿ˜ฉ ๐Ÿคข ๐Ÿคข

#

๐Ÿ˜– ๐Ÿ˜ซ

cinder flare
#

haha

ocean quartz
#

Typing on phone sucks

cinder flare
#

it's okay; we love you matt

long tapir
#

Eyo bois! Anyone good at Java programming or apcsa?

ocean quartz
onyx loom
#

whats up Pezy?

prisma wave
onyx loom
#

one can call us all programming nerds

forest pecan
long tapir
#

I need help with an assignment tommorow lol and itโ€™s hard for me

#

And I need to get a good grade to pass the class

onyx loom
#

๐Ÿฅฒ

prisma wave
#

Under

#

Standavle

#

srandable

#

Stafnabel

#

Standavle

obtuse gale
prisma wave
#

F

#

standable

long tapir
#

Cuz i donโ€™t learn anything in virtual because teachers donโ€™t teach anything

forest pecan
onyx loom
#

lmfao

cinder flare
#

okay what's going on here Pezy

#

hit me with your assignment

#

let's see if we can learn you a thing or two

ocean quartz
#

Rule number one to pass your programing assignment, you have to be rude and arrogant, then you're a true programmer

long tapir
static zealot
#

someone please gift me 5$ so I can boost so I can change my name. thanks

onyx loom
#

no

ocean quartz
#

No

static zealot
#

๐Ÿ˜ญ

ocean quartz
#

Should ask Cube to revoke your nick perms even after boosting!

cinder flare
#

that's just brutal man

onyx loom
#

Semigroup

#

Mitten

cinder flare
prisma wave
#

Semigroup Mitten

#

Trapped

long tapir
static zealot
#

time to spam DM people with discord invites so someone will gift me nitro

onyx loom
#

join an edating server or smth

#

im sure u can get a few simps for saying ur a mod in a discord server

static zealot
#

with 9k people

onyx loom
#

exactly

static zealot
#

but I'd be lying tho

#

I'm just a support member. Not a mod

#

๐Ÿ˜ญ

onyx loom
#

well not mod

#

but u still got this bad boy

static zealot
#

man ya'll going to make me spend 5$ just to change my name?

onyx loom
#

?learn-java

compact perchBOT
#
FAQ Answer:

Online Courses:
Online courses are also great for learning java. Some websites that offer them are:

  • Coursera - Free unless you want a certificate
  • PluralSight - Great courses from what I've seen. Mostly Paid
  • Udemy - Never used them myself but they seem to all or at least most be paid.
    My first ever course was one from Coursera. - I can say it was pretty good at introducing me to the programming world as a whole not just java.

Oracle Docs:
Oracle docs can help a lot at learning and understanding java:

  • Start with this,
  • Breeze through this (skipping stuff that doesn't seem relevant like bitwise operators),
  • Hit this.
    They're the first three from this larger thing which you should definitely go through overall. But those three should be enough for slightly better understanding of what is happening here without feeling like a huge time sink.
    That one is a small part of this larger site wherein "Essential Java Classes" and "Collections" also have good useful stuff

Other services:
Some other cool services that will help you learn java are:

As you can see there are plenty of good ways to learn as long as you're willing to invest the time. Have fun learning!

static zealot
#

I should be paid for my work

#

๐Ÿ˜ข

static zealot
onyx loom
#

its working yes

static zealot
#

oh nice

old wyvern
#

What kind of questions are these xD

onyx loom
static zealot
#

this doruk guy is talking alone I think. oh he left nvm

onyx loom
#

just adding some extra options blitz then ill release

#

do u have any other suggestions for the options?

static zealot
#

not really. just ignorecase and ignorecolors I guess

ocean quartz
frail glade
#

@ocean quartz ????

#

When were you going to tell me???

static zealot
#

now no onw ill

#

one*

ocean quartz
frail glade
old wyvern
#

It just happened

#

xD

ocean quartz
#

I was going to get the it all working before telling you since we need one more update xD

frail glade
#

That's fine. I'm in no rush.

ocean quartz
#

Well technically not needed but will make it easier

old wyvern
#

Theres a change needed in the loader module

static zealot
#

is slimjar the new shadowjar?

ocean quartz
#

Nah

old wyvern
#

Ill update it and push it onto the repo tonight

static zealot
#

oh what is it then

old wyvern
#

xD

#

read blitz

static zealot
#

I don't know how to read

old wyvern
#

damn

static zealot
#

I just use Discord's speaking shit

#

speak message

#

or whatever

#

I never learnt how to read

old wyvern
#

๐Ÿ˜”

static zealot
#

also I'm not typing using a keyboard. I use a vocal keyboard from google

old wyvern
#

Do you use a braille by any chance?

cinder flare
#

blitz just pretend to be a girl

ocean quartz
#

He uses morse code

static zealot
cinder flare
#

it's for blind people

static zealot
#

oh googled it.

#

no I do not

#

use a braille

cinder flare
#

jesus my eyes

old wyvern
#

oh, late SEIZURE WARNING

ocean quartz
#

Lmao

static zealot
static zealot
ocean quartz
#

That's way too much effort to cheat, I'm actually impressed

old wyvern
#

I swear this is a troll

#

xD

static zealot
ocean quartz
old wyvern
#

xD

static zealot
#

also this wasn't my idea. One of my friends that's older did this and everyone in the school found out because they had an inspection and the principal was in the army so they caught them lmao

ocean quartz
static zealot
#

at least that's what he told me

#

idk if its true xD

#

he's like 5 years older than me

#

so I probably believed all of his lies

old wyvern
#

Clearly the best option ๐Ÿฅฒ

#

"raises hand, I disagree with that statement"
"aight, imma head out, ciao"

hot hull
#

Sheesh?

#

blurred out the obvious one ๐Ÿคก

ocean quartz
hot hull
#

Anyhow, I'm caching entries so it's actually speedy af

old wyvern
static zealot
#

Someone kill me please. I'm to scared to do it myself

hot hull
#

lol

static zealot
#

here's the gun: ๐Ÿ”ซ

#

I'm scared that all the things I have to do will hunt me in my grave

ocean quartz
#

Blitz let nature do it

static zealot
#

lmaooo

#

I'll grow a tree as well so I am actually going to leave something good behind

old wyvern
static zealot
#

what the fuck is this test? I actually don't get it

old wyvern
#

xD

#

I have absolutely no idea

#

These options are ridiculous

ocean quartz
#

I hope it's written by one of your teachers because that's a really cool sense of humor

old wyvern
#

Yea it is

#

Or atleast some of it

#

since the first question was almost a straight copy from some book which has a soln on google

static zealot
half harness
#

lol

static zealot
onyx loom
#

smiling_face_with_3_tears

cinder flare
static zealot
#

It checks each word of the sentence for each swear word

cinder flare
#

oh I see

#

but there's only 3 words in that sentence smiling_face_with_3_tears

hot hull
#

It checks the entire text as a combined string with no spaces, and then iterates through each word as an added check

#

(to check for deviations)

grim sorrel
#

let me ask "engine: graal" does it work on java 8 ??

static zealot
static zealot
cinder flare
#

ah that makes sense thanks frosty

#

is it getting pretty good btw?

ocean quartz
#

If it's good enough I'm bundling it on TriumphChat Frosty blurryeyes

hot hull
#

Ah yes, when you only replace the input once

ocean quartz
#

Lmao

distant sun
#

almost got it

hot hull
#

Almost

distant sun
#

word.replace("cunt", "****") very hard

hot hull
#

Oh Yea

#

For some reason if it has multiple of the same swear word it just shits itself

#

Like it just refuses to replace shit

ocean quartz
#

Find all the news for this release in this blog post ๐Ÿ‘‰ https://kotl.in/1.5.0

With #Kotlin 1.5.0, the standard library is getting another upgrade! In this video, we explore the highlights of the new features that will help make you more productive: Unsigned integer types, giving you more options for working with numbers, a more consistent API f...

โ–ถ Play video
frail glade
#

7 jours ago

hot hull
#

jours yes

ocean quartz
cinder flare
hot hull
#

Yes

onyx loom
frail glade
#

Tbh, I was excited for the release but now I have no idea what to do with it.

cinder flare
#

any cool changes?

hot hull
#

lol

onyx loom
#

a new update is always nice

ocean quartz
#

I am excited for the toTitleCase function way more than I should, but it's so useful

onyx loom
ocean quartz
cinder flare
#

well I didn't want to read

cinder flare
ocean quartz
#

Oh yeah, new compiler

cinder flare
#

oooh!

frail glade
#

Hmm, my IJ doesn't say there's an update for it yet.

cinder flare
#

mine already did it like a few hours ago

onyx loom
#

sad face glare

hot hull
#

Same Star

old wyvern
#

Imagine updating ij ๐Ÿฅฒ

ocean quartz
#

"no".toBoolean() // false is actually pretty cool too

onyx loom
#

lol

frail glade
#

Yeah, says my installed is 1.4.32 and the latest is 1.5.0 but there's no actual update to install. Weird.

old wyvern
ocean quartz
#

H

old wyvern
#

Lost elara branch

onyx loom
#

lmao

prisma wave
#

blessed

ocean quartz
old wyvern
#

yea and nah being the boolean literals there

onyx loom
#

same matt

old wyvern
#

๐Ÿฅฒ

ocean quartz
#

Lmao

frail glade
onyx loom
#

โ˜น๏ธ

#

ig u can download it manually ๐Ÿฅฒ

jovial warren
#

I wonder if there's a better implementation of floor than Math.floor, since I've seen complaints about its efficiency before

#

and vanilla does this: ```java
public static int floor(float number) {
int result = (int) number;
return number < (float) result ? result - 1 : result;
}

hot hull
#

Check my world gen

#

Might have a function for that

onyx loom
#

already using a 1.5 feature ๐Ÿ™‚

jovial warren
#

I wonder if Yugi put that in there lol

hot hull
#

nop

#

sec

jovial warren
#

also, no you didn't

#

it's not in your Math

hot hull
#

Oh yea nah I do the same thing

jovial warren
#

going to try and use that anyway lol (the Mojang one)

#

I bet Johnny would know lol

onyx loom
#

1.5 a thicc boi

#

just went from 1.2mb minimized to 1.4mb minimized ๐ŸŒš

cinder flare
onyx loom
#

lowercase stdlib function

cinder flare
#

ahhhh

#

any reason for that?

#

does that mean you can use int now

onyx loom
#

eh

#

i dont think the toUpper/LowerCase functions supported locales before, but now they do

ocean quartz
onyx loom
cinder flare
#

lowercase standard lib?

#

does that mean int vs Int or string vs String?

#

also i did not know there was localization

onyx loom
#

no its a stdlib extension function on a String lol

cinder flare
#

i thought kotlin was just in english

#

oh I see

jovial warren
#

oh btw, would anyone know why certain files in my Git work dir are ignored even though they're not in directories ignored by .gitignore?

#

is there anywhere else (other than .git/info/exclude since I've checked that too) that they could be?

cinder flare
#

did you add them to git

jovial warren
#

I have manually added them now

#

they may have previously been ignored, and may have been committed ignored

ocean quartz
jovial warren
onyx loom
#

late

jovial warren
#

yeah ik Kali, just got home from school like 30 mins ago

onyx loom
#

ha

cinder flare
onyx loom
#

school ๐Ÿฅฒ

cinder flare
#

i was confused

ocean quartz
#

Oh okay xD

jovial warren
onyx loom
#

ikr

jovial warren
#

especially because I'm probably going to fail English ๐Ÿฅฒ

onyx loom
#

ouch

#

lets not fail english bardy

#

make sure u remember all of the 10 poems word for word please :kek:

prisma wave
#

or just don't do GCSEs ๐Ÿ™‚

onyx loom
#

i wish

boreal needle
#

ive still got my anthology

boreal needle
#

*16 iirc

onyx loom
#

yikes

jovial warren
#

we've done Poetry now though

#

we did that ages ago

ocean quartz
boreal needle
#

i dont have to do anthology :D

hot hull
#

lucy go fix your shit

#

your github actions don't work

boreal needle
#

what actions

#

i have a lot of actions

prisma wave
#

Fix your status too

#

Scum

boreal needle
#

my status is perfectly fine tyvm

hot hull
#

ลŸcum.

cinder flare
#

__s__cum

boreal needle
#

also frosty, you havent actually triggered the action yet

cinder flare
#

lmao

jovial warren
#

2 days before I break up

#

why

cinder flare
#

what's on may 25

#

and who are you breaking up with

hot hull
boreal needle
#

did you read the pr

jovial warren
#

we finish on the 27th of May this year because all the exams were moved forward because COVID

cinder flare
#

oh is that a way of saying school is out?

hot hull
jovial warren
#

yeah we say that we break up from school

cinder flare
#

oh I see

#

what's on may 25 tho

jovial warren
#

what do you say?

cinder flare
#

school is out lol

jovial warren
boreal needle
# hot hull No :3

Set up to build and upload a jar file whenever you manually create a release (easily changable to commits if wanted)

cinder flare
#

or "we're finally free from this cruel torture"

jovial warren
#

we'd never say that over here

boreal needle
#

"school's out" is such an american americanism

jovial warren
#

ikr

cinder flare
#

school breaking up is such a bri ish bri ishism

static zealot
#

:what:

frail glade
#

@ocean quartz Just finished watching the video. Sounds like some cool changes.

hot hull
#

I was going to say something, but I'm not going to

frail glade
#

Why bring that up in the first place then?

onyx loom
#

๐Ÿฅฒ

hot hull
#

:what:

static zealot
#

oh unsigned

#

that's nice

jovial warren
#

stable unsigned types is like god tier

#

and so is stable inline classes

static zealot
#

oh and Unsigned int is not actually going to be 0 - 2B which does make a lot of sense. it will be 0 - 4B

obtuse gale
#

indeed

onyx loom
#

mc server economies go brrr

static zealot
#

lmaoo

#

IDK Man but having 4B in a mc server is like nothing

onyx loom
#

unsigned Long ๐Ÿ˜ณ

static zealot
#

10000 QBQBBBQQ is when you feel at least a bit rich

#

I remember a server that had something like that lmao

jovial warren
ocean quartz
cinder flare
#

are unsigned types that useful?

static zealot
#

1 quintillion billion quintillion or whatever

ocean quartz
obtuse gale
onyx loom
#

java doesnt have unsigned does it

static zealot
obtuse gale
onyx loom
#

oof

jovial warren
frail glade
#

Okay something with shadow in 7.0 changed and it's annoying. It's lowercasing my jar names.

static zealot
#

oh shadow 7.0 is out?

onyx loom
#

lol

#

idk why but since ive updated to kotlin 1.5 (or atleast today) im getting 2 jars when building, 1 uber jar and 1 smol jar

#

kinda annoying but i can deal with it

frail glade
#

I fixed it but not the way I wanted to.

quiet depot
#

i need to go to bed

obtuse gale
#

lmao

frail glade
#

archiveFileName Is not properly pulling anymore. It's taking it from the settings.gradle file

frail glade
#

And ye

static zealot
#

good night

quiet depot
#

thx

#

gn

frail glade
#

Kali, are you using shadow?

frail glade
#

The jar sizes between 1.4.32 and 1.5.0 are actually a lot less than I had expected.

onyx loom
#

yeah glare

prisma wave
#

Is that

frail glade
#

With shadow, I set the archiveFileName variable and it only produces 1 jar.

static zealot
jovial warren
static zealot
#

@prisma wave put it in your album

onyx loom
#

im using it too glare

prisma wave
#

๐Ÿฅฒ

frail glade
#

Have you tried a clean build?

jovial warren
#

actually yes

#

sorry, thought that said application.mainClassName for a minute haha

frail glade
#

Matt, when is the new version of slimjar going live?

jovial warren
#

which should not be used any more in favour of application.mainClass

onyx loom
#

clean build didnt do anything for me ๐Ÿฅฒ

static zealot
#

oh they finally added % [mod]

onyx loom
#

eh

jovial warren
#

to Kotlin?

static zealot
#

or was that always there?

#

ye

cinder flare
#

Kotlin didn't have mod?

jovial warren
#

they've always had mod

cinder flare
#

no way

jovial warren
#

the operator function is rem

static zealot
#

oh well I never bothered to check xD

jovial warren
#

did you even read what mod is for?

static zealot
#

I know what it is for

#

well I assume its the same as C++

#

xD

ocean quartz
frail glade
#

Yugi wake up

obtuse gale
static zealot
#

huh ?

#

yeah a % b

obtuse gale
#

remainder

old wyvern
frail glade
#

Awesome.

ocean quartz
#

@old wyvern Yeah, the shadow didn't publish it for this version ๐Ÿฅฒ

old wyvern
#

rip

ocean quartz
#

Time to figure how to fix it

prisma wave
cinder flare
#

hmm

#

that doesn't look like an integral to me

#

not enough integration by parts and u substitution

prisma wave
#

Close enough

jovial warren
#

seems like the new path stuff is in stdlib-jdk7, however I don't seem to be able to access it, any ideas?

#

like it just doesn't seem to resolve at all

#

guess I have to manually depend on it huh

ocean quartz
#

Why you using jdk7? thonking

oak raft
#

What else is there to use

cinder flare
#

jdk 7 ๐Ÿคก

boreal needle
#

i struggle on 8

#

idk how you can sanely use 7

frail glade
#

The jdk7 stuff is downloaded with the new 1.5.0

#

Looks like it's from org.jetbrains.kotlin:kotlin-stdlib-jdk8

half harness
#

what does that contain?

#

thats not in the normal stdlib

frail glade
#

Actually I wonder if I actually even need these.

#

Those just add crap from JDK 7 and 8 to regular.

#

Actually, my jar size goes up a lot if I remove it.

cinder flare
#

weird

frail glade
#

Ahh so those automatically add in the latest 1.5.0 lib.

#

Whelp, I just saved myself 23kb.

distant sun
#

anybody having problems with iij taking A LOT to index?

boreal needle
#

nope

hot hull
#

It's been taking longer than usual recently Gaby

jovial warren
#

you need JDK 7 for the Path extensions

#

also, just had to replace all of my own Path extensions with the Kotlin ones ๐Ÿฅฒ

ocean quartz
#

It's so ugly though

jovial warren
#

kept a few though, either because Kotlin doesn't have them or I needed different behaviour

#

I'm not using the divide shit Matt

#

just I have a few other extensions, like openChannel, which calls FileChannel.open, createTempFile, which calls Files.createTempFile, and a few other things

ocean quartz
#

Path("folder") / "file.yml" who thought this would be good ๐Ÿ˜ฉ

distant sun
#

would be a bad idea to remove the content of a yaml file using a FileOutputStream or whatever instead of setting all keys to null?

jovial warren
#

I have my own createDirectories, createDirectory and createFile so that I can catch any thrown errors and just return this instead of having to handle errors elsewhere

distant sun
jovial warren
#

and I also have my own list because listDirectoryEntries is too long
and I have my own InputStream.copyTo because I want to be able to copy to a Path instead of having to turn it into an OutputStream myself

ocean quartz
jovial warren
distant sun
#

still waiting for ij to finish smh

lunar cypress
#

Path("folder").resolve("file.yml") is really not that difficult to understand

steel heart
#

I see some stuff where its like this:
Path("folder").resolve("file").resolve(".yml")

jovial warren
#

just saying that you can see their thinking

#

e.g. Path.of("/") / "home" / "bombardygamer" / "Documents" / "hello-world"

#

I think that's actually pretty nice tbh

ocean quartz
#

I find it quite ugly

jovial warren
#

I mean, is it really that different to /home/bombardygamer/Documents/hello-world that you'd see in the terminal?

steel heart
#

its readable imo

jovial warren
#

I'd argue it's more readable than Path.of("/").resolve("home").resolve("bombardygamer").resolve("Documents").resolve("hello-world")

lunar cypress
#

Path.of("/").resolve("home/bombardygamer/Documents/hello-world")

jovial warren
#

also, guess what I found

#

fucking finally Kotlin

#

jesus christ

#

still think that not having sealed classes be abstract by default like what Java does might not be that bad of an idea

steel heart
#

why enforce abstract in the first place

jovial warren
#

yeah I've come to realise that's not a good idea

#

since especially for me, it'd mean that I'd need to follow a pattern like making an AbstractX sealed class and then having both implementations extend that

distant sun
#

iij can be so annoying

half harness
#

intelliintellij

steel heart
#
public static final sealed interface $ {}
#

pog

jovial warren
#

you what

#

I refuse to believe Java now has sealed interfaces

steel heart
#

it has I think

jovial warren
#

oml it does

#

man why does Kotlin suck so bad at sealed stuff

#

why can't we have permits

#

why can't we have it be non-abstract

steel heart
#

lmao first time java might be somewhat better than kotlin

#

or no

#

kotlin is still vastly better

prisma wave
jovial warren
#

Kotlin has some very questionable design choices, but it's definitely superior in terms of the amount of features it has compared to Java

steel heart
#

indeed

prisma wave
dawn hinge
#

Photoshopped!

prisma wave
#

Yeah I had to give the JVM guy some more muscles

ocean quartz
#

Average Haskell can't even hug someone

prisma wave
#

You were saying?

ocean quartz
#

That's the form of the weakest, I'm talking about average

prisma wave
#

Oh my bad

quiet sierra
#

kotlin bad java good

oak raft
#

java jeff lmao

#

get out of here with that

quiet sierra
prisma wave
boreal needle
#

theyre kinda cute ngl

prisma wave
#

Because they use haskell

#

increases attractiveness by 302.62%

cinder flare
#

very true

prisma wave
#

On average

cinder flare
#

CoC bot made everyone who uses it 80% cuter

boreal needle
#

you use haskell but are a weeb tho

prisma wave
#

I'm not a weeb

boreal needle
#

so clearly its not true in 100% of cases :P

boreal needle
cinder flare
#

for all we know, you could be a weeb lucyy

boreal needle
#

never watched an anime in my life

#

:D

cinder flare
#

i just see a generic gradient pfp

boreal needle
#

its almost as generic as i am

cinder flare
#

hmmm

boreal needle
#

and as all my code is

#

let me see

#

what do we have

cinder flare
#

hmmmm

boreal needle
#

ripoff minimessage

#

ripoff brigadier

#

ripoff essentials

cinder flare
#

sounds useful!

oak raft
#

wait @half harness EWWWW

#

KOTLIN?!

half harness
#

lol

cinder flare
#

im making ripoff essentials too

half harness
#

@oak raft yes

oak raft
#

how tf am I supposed to fork now

#

I don't know kotlin

half harness
#

๐Ÿฅฒ ๐Ÿ˜ข ๐Ÿ˜ญ

oak raft
#

ok how do I delete a fork

half harness
#

like a regular project

cinder flare
#

do yourself a favor Remence and learn kotlin bro

half harness
old wyvern
#

do yourself a favor Remence and learn haskell bro

half harness
old wyvern
#

๐Ÿ˜Œ

half harness
prisma wave
boreal needle
#

yeah ok weeb

old wyvern
cinder flare
#

lmao

#

poor bm

#

he tries so hard

oak raft
old wyvern
#

Does yugioh even count tbh?

prisma wave
#

literally haven't

cinder flare
#

is that what your name is from yugi

#

i never knew

oak raft
#

what would I use with haskell

old wyvern
prisma wave
cinder flare
old wyvern
#

My username was created by Sir Simon himself

#

thanks

cinder flare
#

probably not too many things you can actually do with it though

prisma wave
#

hey

boreal needle
#

which isnt exactly a bad thing ngl

oak raft
cinder flare
#

well Kotlin will help you with this plugin

oak raft
#

I wanna learn rust too

cinder flare
#

haskell will just broaden your mind

prisma wave
#

Kotlin won't really teach you much new stuff

cinder flare
#

rust is kinda cool

prisma wave
#

Apart from an introduction to FP

ocean quartz
half harness
#

kotlin > haskell > java

old wyvern
cinder flare
#

dude kotlin and haskell are barely comparable

old wyvern
half harness
#

yesterday i was writing in java and forgot how to make a constructor

prisma wave
#

Hrypton coming soon btw

cinder flare
#

yeah I know but I mean for a normie, it's quite the challenge compared to Kotlin/Java

boreal needle
#

hukkit when

prisma wave
#

god yes

ocean quartz
#

Fukkit

cinder flare
#

As the lord Simon said himself, Haskell is quite useless

old wyvern
#

You can do anything you can do in Java in haskell

old wyvern
#

lmao

cinder flare
#

i have lmao

#

he draws the whole chart

#

it's pretty funny

prisma wave
#

Haskell used to be useless until the GLORIOUS monad update 1.3

old wyvern
#

Saying haskell cant do much is pretty much throwing away the Church-Turing thesis

cinder flare
#

ah I see

ocean quartz
cinder flare
#

okay fine I'll say this Yugi

old wyvern
#

Start as useless

#

Move towars useful

cinder flare
#

Haskell does not have the libraries most people need to make anything useful

cinder flare
#

and most people don't have the requisite knowledge to create something usesful

old wyvern
#

Have you actually had a look at what it has

#

lol

cinder flare
#

There's Spigot support for Haskell?

prisma wave
#

stdlib is bigger than Kotlin's

prisma wave
old wyvern
cinder flare
#

I don't think so

old wyvern
#

Theres spigot suppourt for Ruby?

#

Then whats your point?

#

lol

cinder flare
#

my point is that Kotlin is directly applicable to what he wants to do

#

and Haskell is, sadly, not so much

old wyvern
#

Im talking* about general usability

prisma wave
#

waaaaaaaaahhhhh just use jni LOSER

cinder flare
#

I'm not lmao

old wyvern
#

ah alrighty

ocean quartz
#

Kotlin for Haskell wen

cinder flare
#

I know there's tons you can do with Haskell

#

but it is quite a bit more difficult for most people than imperative languages since they don't understand them

#

and there's significantly less developed libraries for specific stuff

#

is there a Discord lib for Haskell?

old wyvern
#

Yes

#

lmao

cinder flare
#

oh nice

ocean quartz
#

Let's write a HaLVM compiler for Kotlin, written in Haskell

prisma wave
old wyvern
#

I made a discord bot remember?

#

lol

cinder flare
#

yeah that's what I was thinking

cinder flare
#

but I totally would not put it past you to make the discord integration yourself lmao

old wyvern
#

I used the one that just seemed easy

#

Calamity seems to be the most powerful

cinder flare
#

it has a cool name that's for sure

old wyvern
#

But the README page was... a bit.. yea

prisma wave
#
main = do
    putStrLn "Input a String"
    line <- getLine
    putStrLn ("you inputted: " ++ (reverse line))

"Imperative logic" :slight_smile:

old wyvern
#

But apparently that readme example is not correct

cinder flare
#

you forgot a quote

prisma wave
#

don't care

#

deal with it

#

PR or shut up

cinder flare
#

PR your discord sample code? smiling_face_with_3_tears

old wyvern
cinder flare
#

ah very nioce

old wyvern
#

PR to hasklash ๐Ÿ˜Œ

prisma wave
#

needs more nomads

#

Amonads

#

Monads

old wyvern
#

xD

cinder flare
#

nomads

#

traveling code bois

prisma wave
#

instance (Show a) => Show (IO a) where

static zealot
#

There was once a kid. And that kid had parents. And the parents had parents and the parents of the kid's parents had a dog. That dog was cool

half harness
#

very nice

steel heart
#

pog

hot hull
#

wat

onyx loom
#

@static zealot send help

static zealot
#

huh

static zealot
onyx loom
#

this doesnt sound good ๐Ÿฅฒ

#

im adding it to ecloud now

static zealot
#

oh

static zealot
#

this is the best I have

onyx loom
#

sure

static zealot
#

btw

onyx loom
#

better than what i have ๐Ÿฅฒ

static zealot
#

I hope input and match bot can have placeholders

#

right?

onyx loom
#

all of them can

static zealot
#

ok good

onyx loom
#
        val (option, input, checkAgainst, outputIfTrue, outputIfFalse) = params.split(',')
            .map { PlaceholderAPI.setBracketPlaceholders(player, it) }
            .takeIf { it.size >= 5 } ?: return null```
this is so sexy
#

like omg

#

i love kotlin

static zealot
#

wait what?

#

why split by ,

#

split by _ please

#

oh wait nvm

#

here

#

1 second please

onyx loom
#

it would break setting the placeholders i think

#

sure

static zealot
#
        val (option, input, checkAgainst, outputIfTrue, outputIfFalse) = PlaceholderAPI.setBracketPlaceholders(player, params).split("_")
            .takeIf { it.size >= 5 } ?: return null```
#

won't this work?

onyx loom
#

possibly

#

ill see

static zealot
#

parse the bracket placeholders first then split

#

better imo

onyx loom
#

yea

static zealot
#

bcz , will be used more than _

#

as input/match/output I mean

onyx loom
#

ah nah it wont work

static zealot
#

man rewriting from compiled code is so trash

onyx loom
#

because destructuring stuffs

static zealot
#

๐Ÿ˜ข

static zealot
#

oh wait I've still used it there but yeah I hope you used params

#

instead

onyx loom
#

nvm yeah

#

thats the issue ๐Ÿ˜‚

#

fixed it as u were saying that

static zealot
#

copy paste Karen

onyx loom
#

๐Ÿฅฒ

static zealot
#

hey I don't blame you lmao. I do it all the time. ๐Ÿฅฒ

#

but for real now. Compiled Kotlin code sucks ass

onyx loom
#

agreed

static zealot
#
                    Iterable $this$forEach$iv = (Iterable)players;
                    $i$f$forEach = false;
                    Iterator var5 = $this$forEach$iv.iterator();

                    while(true) {
                        while(var5.hasNext()) {
                            Object element$iv = var5.next();
                            Player player = (Player)element$iv;```
onyx loom
#

its so bad

static zealot
#

this is a Bukkit.getOnlinePlayers().forEach {}

#

...

onyx loom
#

whats this for anyway

static zealot
#

its one of the projects I lost

onyx loom
#

๐Ÿฅถ

static zealot
#

and it broke so now I need to rewrite

#

my past mistakes are catching up with me

ocean quartz
static zealot
#

lmao

#

what it does

#

is for example

#

if I set a variable

onyx loom
#

mandatory clojure joke is already obfuscated

static zealot
#

it sets it as var# = THIS

#

then my actual variable name

#

for example palyer = var#

old wyvern
static zealot
#

and a bunch of var# = false for no reason

#

xD

#

they're never used again

#

but they exist

old wyvern
#

Do I hear anti functional voices?

onyx loom
#

why ๐Ÿคฃ

#

thats so stupid

static zealot
#

yeah idk but that's what it does for absoltely every thing

#

also yes now I don't use 2 Catches. Just one with Exception. Idk if its better or not

#

you can see it in the player example as well

#
                            Object element$iv = var5.next();
                            Player player = (Player)element$iv;
                            int var8 = false;```
#

is it not enough that I have to translate from java to kotlin? Do I really deserve all this punishment? ๐Ÿ˜ญ

onyx loom
static zealot
#

oh and the null checks. oh god. I don't even want to think about that anymore

old wyvern
#

Why are you referring to decompiled sources anyway?

static zealot
#

bcz its a project I lost when I restored windows to factory settings

#

and I really don't remember what I did in there and don't want to miss a thing

old wyvern
#

Dont you have it on git?

#

or anything, like maybe onedrive? idk xD

hot hull
#

He big dumb

cinder flare
#

blitz is rebuilding a project from his own compiled code lmao

static zealot
#

nope. didn't use any of them before. Now I use both xD

#

I have like a 7 months old copy on github but believe me its not even close to what I had when I lost it

half harness
hot hull
#

What's the plugin Blitz

static zealot
#

its a core for my survival server. Just a bunch of random stuff you can't find in public plugins xD

#

well some I did find so I just didn't bother remaking them so now it will be like half the size

hot hull
#

I'd hope frozen join was built into that

static zealot
#

but still

#

frozen join? I literally have 1 join message for new players, 1 join message for people that have already ocnnected and a leave message xD

#

and also people can toggle them off if they don't want to see them

hot hull
#

That's no excuse!

static zealot
#

alr. still not going to use it. Its just useless for me.

onyx loom
#

frosty crying rn

hot hull
#

Just you wait when I make it for krypton

#

You gonna cream your pants

static zealot
#

๐Ÿ˜ฎ

obtuse gale
jovial warren
#

really considering relicensing the server side of Krypton under LGPL

distant sun
#

iij is annoying btw guys

hot hull
#

You've said it already yes

distant sun
#

hourly reminder

oak raft
#

True eclipse better

jovial warren
old wyvern
#

ElaraStorm better

oak raft
#

Elara storm when ๐Ÿ‘€

distant sun
#

stfu bbg

steel heart
jovial warren
#

lol

steel heart
#

but

#

malloc is right

hot hull
onyx loom
#

๐Ÿ˜Œ

#

java at its finest

steel heart
#

EnumSet#contains?

jovial warren
#

may or may not be relicensing Krypton under LGPL rn

oak raft
#

What tf are the |s

onyx loom
#

OR operator

oak raft
#

Ok but why are they spaced like that

hot hull
jovial warren
#

bcos Frosty

onyx loom
#

better than all in 1 line lol

steel heart
#

@forest pecan

hot hull
static zealot
#

bcz u really want to get banned ๐Ÿ˜ข

onyx loom
#

what happened to the other 3

#

o

#

this mans got a polygamy going

#

L

forest pecan
#

lol

#

what happened

steel heart
forest pecan
#

why ping me

#

@steel heart

steel heart
#

here pulse

obtuse gale
#

@forest pecan

forest pecan
#

oh

#

lMAOO

#

that

steel heart
#

needs to be implemented in media lib

#

๐Ÿ˜„

forest pecan
#

Yes

#

FunctionalInterface for those that only have one method right

obtuse gale
#

That have one unimplemented method

forest pecan
#

wait what

obtuse gale
#

default methods are a thing

#

Take a look at Predicate for instance

forest pecan
#

well yea

obtuse gale
#

It's a functional interface (boolean test(T t);) but it has default methods

forest pecan
#

ic

#

i only have one method anyways lmao

#

yea it has one method and other methods are all default

steel heart
#

I still wait for @FunctionalInterface to be applicable on abstract classes meeting the SAM requirement

jovial warren
#

the only requirement for it to be SAM compliant is for it to have a single abstract method

jovial warren
forest pecan
#
package com.github.pulsebeat02.minecraftmedialibrary.frame;

/**
 * A callback interface for map data. Useful for creating custom callbacks. MinecraftMediaLibrary
 * uses this for itemframe callbacks to achieve quick changes.
 */
@FunctionalInterface
public interface FrameCallback {

  /**
   * Sends data for map packets to the players.
   *
   * @param data to send
   */
  void send(final int[] data);
}

#

this is correct usage

#

right

jovial warren
#

yes

#

because you have a:
single
abstract
method

forest pecan
#

Ic

jovial warren
#

and because it's a functional interface, it can be used as a lambda argument

obtuse gale
#

Or method reference fingerguns

old wyvern
#

lambda

#

๐Ÿ˜Œ

obtuse gale
old wyvern
#

Also yea, method references have an advantage