#dev-general

1 messages ยท Page 557 of 1

steel heart
#

how many keywords does kotlin have

#

Literally

prisma wave
#

Many

jovial warren
cinder flare
#

bro what

#

that looks autogneerated

jovial warren
#

parts of it are basically me going "so, a name for var17... er... no fucking clue, that'll do for now" lol

steel heart
cinder flare
#

wow

#

there's certainly a lot of lines there

#

and a few of em are a little too long apparently!

steel heart
#

๐Ÿคจ

cinder flare
steel heart
#

๐Ÿ˜‡

#

Short screen

#

Thatโ€™s it

cinder flare
#

that's the pastebin experience lmao

#

i have a 1080p 27" monitor

#

i wonder how many columns that is

#

maybe 80

jovial warren
#

80? lol

#

that's more like 160

cinder flare
#

140 i counted ๐Ÿ™‚

steel heart
#

I will pr this to krypton

cinder flare
#

ono

#

wait wtf

#

no lambda in a runnable????

#

pain

steel heart
#

Quality code

#

Ikr

jovial warren
#

lol

jovial warren
steel heart
#

You have triggered my beloved engagement to make fine contributions ๐Ÿ˜ซ

prisma wave
#

You're either a smart fella

obtuse gale
#

Or an intelligent gentleman

static zealot
#

or a dumb hoe

steel heart
#

Or a bakugan nerd

static zealot
#

or a dog eater

steel heart
#

Or a fake pepe

static zealot
#

Or a potato

steel heart
#

Uh I donโ€™t have any others

obtuse gale
static zealot
#

I win! ๐Ÿ…

steel heart
half harness
#

wt

#

f

#

eclipse?

#

or did the user actually compile it like that

steel heart
#

Daily spigot resource upload

prisma wave
#

Oh that's an eclipse moment

steel heart
#

Think itโ€™s jd gui or smtng

#

Lax found it

prisma wave
#

๐Ÿ˜–

steel heart
#

๐Ÿ˜ณ

#

BM

#

Supply me a Haskell girl

#

No nitro so canโ€™t do it myself ๐Ÿ˜ฆ

prisma wave
#

yw

steel heart
#

Oh

#

๐Ÿ˜Œ

onyx loom
#

๐Ÿคจ

steel heart
#

One blocked message Funnying

prisma wave
#

๐Ÿ˜Œ

unkempt tangle
#

Senpaiii

stuck harbor
forest pecan
#

The worlds running out of IPv4

winter iron
#

I like ipv6

#

it looks cool

steel heart
#

ipv69

forest pecan
#

Wait does codemc have repository with all the NMS code

#

Lol it does

old wyvern
#

Wait what

forest pecan
#

The first one

#

Iโ€™m so tempted to use it but itโ€™s illegal lmfao

distant sun
#

Old news

old wyvern
#

@ocean quartz any idea how to get kotlin dsl extensions to work on groovy?

ocean quartz
#

I think you need to use those gradle closures or something like that

old wyvern
#

๐Ÿ˜ฌ

eternal compass
#

just so that people can use it there without buildtoolsing every time

half harness
#

nope, you can go to the repo url and see the jars

eternal compass
#

oh really?

#

lmao

eternal compass
#

I just got this gem

#

not how most people use permissions

half harness
#

๐Ÿคฃ

#

๐Ÿฅฒ

prisma wave
#

๐Ÿ’€

forest pecan
#

Do you think that if i make documentation (but not actual javadocs), it will suffice?

#

I feel like some parts are self explanatory, but I just need to guide my users to what proper classes to use

#

and give a couple examples

cinder flare
#

definitely give some exmaples

#

but you 100% should have full javadocs on every public facing method

#

even redundant ones

paper yacht
#

i just did it

#

custom NMS items added to spigot via reflection

#

they dont show up in inventory (will prob need to substitute the item via protocollib or something), but the server still counts the items when i do /clear

brave summit
#

theres like a tiny white spot on my penis

#

is there a way to fix it

#

and what does it cause

#

fr tho me serious

obtuse gale
brave summit
#

where do i go

forest pecan
#

go to phub

onyx loom
#

for legal reasons i must say to go the doctor, probably

brave summit
#

bru

#

im serious tho

brave summit
#

IM

#

SERIOUS

onyx loom
obtuse gale
#

If you're serious then you would ask a doctor instead of us

brave summit
#

i am a 15 yearold

#

who watched hehtai

#

tell me

#

@everyone

loud gyroBOT
#

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

onyx loom
#

damn thats crazy

obtuse gale
#

Have you tried stroking harder?

#

Might help ^

paper yacht
#

lmao what is going on here

obtuse gale
onyx loom
#

true!

lament horizon
#

Tes

eternal compass
#

I just realized, I don't write code, I just help my IDE write code and assist it with logic and general outlines

cinder flare
#

and that's when you use vim

#

๐Ÿ™‚

obtuse gale
cinder flare
#

when you want less help!

#

i guess you could use notepad++ if you wanted to be weird

eternal compass
#

It was hell

#

Want to find an error? Run it.

cinder flare
#

That's what it's like in the first two classes of Java at my uni

#

Everyone uses NP++ because they don't know how to use an IDE lol

eternal compass
#

Lmfao

cinder flare
#

so they run javac like 15x to get all their syntax errors out of the way

#

it's a real pain

eternal compass
#

Were you one of them?

cinder flare
#

no lmao

#

I've known Java for years

#

I finish the timed tests in 10 of the allotted 110 minutes

eternal compass
#

Lmfao

#

Why'd you learn java?

eternal compass
#

Imagine making syntax errors

obtuse gale
#

I can understand issues with generics, casting, imports (?) and that kind of stuff... but syntax?

eternal compass
#

Well theres no auto formatter in np++ lmao

#

Sooo

obtuse gale
#

I mean formatting's nothing to do with syntax errors

eternal compass
#

If you can't read it its hard to see anything

obtuse gale
#

it helps but it's actually irrelevant

eternal compass
#

Including errors

#

Also- is there some sort of test to determine my skill level with java? I want to see how much I actually know

eternal compass
#

Okay

obtuse gale
#

idk I always feel like I'm constantly improving

eternal compass
#

Same

#

Typescript bottoms out though, its sad

#

Like adding new stuff just takes time now, no googling or anything

cinder flare
eternal compass
#

Ah

#

Same

eternal compass
#

Am I even old enough to have a linkedin acct? ๐Ÿ‘€

cinder flare
#

uh 16?

eternal compass
#

Nope

cinder flare
#

yikers

eternal compass
#

Lol

#

I can legally be on discord though lmao

obtuse gale
#

that says a lot about the s0c13ty we live in

eternal compass
#

Huh?

#

Oh

#

Wait

#

Also do you have a spreadsheet of emoji urls or what :p

obtuse gale
#

๐Ÿ…ฑ๏ธerhaps

#

it's called "unable to pay internationally due to stupid country restrictions" okay? ๐Ÿฅฒ

eternal compass
#

Tough

#

I've never spent a cent on discord myself

#

Never plan to

cinder flare
#

I support them honestly

#

They provide 95% of my online interactivity

#

they deserve a little something for that

eternal compass
old wyvern
forest pecan
#

You can safely relocate Slimjar right?

half harness
#

yes

forest pecan
#

i currently have it not relocated for some reason

#

idk why

ruby dew
ruby dew
eternal compass
eternal compass
ruby dew
#

??

#

Wdym

eternal compass
brave summit
obtuse gale
#

can you for Christ's sake stop pinging me?

brave summit
#

lol ok

obtuse gale
#

lol I did a thing

#

I wanted a sweet gradient from "red" to "slightly less red"

#

ended up with this....

#

I mean it does go from red to slightly less red

#

but not how I was expecting xD

distant sun
#

๐Ÿคฃ

obtuse gale
#

Thats pretty cool ngl, deffo catches the eye xD

#

How did that go again, creepers were made by accident, right?

old wyvern
#

Anyone attended decode with google?

obtuse gale
#

no but you are about to fingerguns

old wyvern
#

What?

obtuse gale
#

idk

#

what is that?

old wyvern
#

idk

obtuse gale
#

lmao

old wyvern
#

xD

obtuse gale
#

this is better

old wyvern
#

Some thing google makes an announcement on or something

obtuse gale
#

oh

old wyvern
obtuse gale
#

kinda like a talks meeting/event sorta thing?

old wyvern
#

I guess yea

obtuse gale
#

seems cool ig

ruby dew
#

E

steel heart
#

E

fleet bay
#

@ruby dew youre such a idiot

#

Lol

ruby dew
#

alr

fleet bay
#

You are saying that you werent mad but why are you commenting things on my yt channel?

ruby dew
#

its good to express your anger

fleet bay
#

You are only making it worse for yourself

#

Weirdo

ruby dew
#

k

#

i dont get mad usually when i have a quality discussion
when you said java was useless i thought you used it long enough to say its useless
but judging from your past conversation and your yt videos
i just think you arent qualified to say that
thats what i mean and i meant to remind you of that
to put it simply,i hate you for your arrogance

#

@fleet bay

fleet bay
#

๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚

#

Arrogance? Wtf dude

#

You are tripping man

ruby dew
#

yeah

fleet bay
#

The discussion was already over

ruby dew
#

you are being arrogant

#

it is

fleet bay
#

Arrogant?

#

๐Ÿ’€

ruby dew
#

how old are you..

#

omfg

#

also to say that java is useless implies that you have used java to every aspect
but the argument you gave to support your stance was very weak

fleet bay
#

Its almost that i am older then you.. youre acting like a child man..

#

Just stop

ruby dew
#

there isnt any languages that are useless

fleet bay
#

๐Ÿ˜ฉ๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ

ruby dew
#

and you litearlly said "every language is useless" yesterday

#

which makes you sound completely stupid
and you still kept directing hate like its the end of your day to not start a drama
and pretended like you knew everything

#

throwing some emojis wont make you look smarter

#

and trying to pull off a chill tone or whatever you call it to shake it off wont work

fleet bay
#

Dude idc

ruby dew
#

if you dont care why bother coming here?

fleet bay
#

You are just saying useless things

ruby dew
#

i think you said useless things before?lol

fleet bay
#

But dont comment on my yt channel again oke

#

Thanks

ruby dew
#

"every language is useless"

#

"java is uselss because website doesnt use java"

#

yeah i wont

fleet bay
#

๐Ÿคฆ๐Ÿฝโ€โ™‚๏ธ

ruby dew
#

this will be the first time and the last time

fleet bay
#

good

ruby dew
#

i am just reminding you of how you should behave

#

ok you sound like a cheeky kid right now

#

i regret having conversation with you..
and have a good day
hope you will learn more about java
to the point where you can use advanced facilities
before going for another discussion
(also admin has chat history and they can see you keep saying idiot to me dont even bother deleting messages)

prisma wave
#

๐Ÿง

#

Hi guys

ruby dew
#

sorry for bringing this stuff here admins
i just feel like properly ending the drama yesterday

prisma wave
#

DMs exist thank you

ruby dew
#

hi

#

he blocked my dm

#

or maybe i havent turned on mutual server
but either way

prisma wave
#

Don't care

ruby dew
#

yeah alr

#

how ya doing

steel heart
#

Sheesh

#

@prisma wave uh mind giving me an awesome explanation for applicative

#

Is that just any functor which takes something and returns something or no?

ruby dew
#

which takes something in and returns something

#

or maybe Function<Optional<Object>,Optional<Object>> which wont throw npe

prisma wave
#

I think it is just a more advanced form of a functor

#

In functional programming, an applicative functor, or an applicative for short, is an intermediate structure between functors and monads. Applicative functors allow for functorial computations to be sequenced, but don't allow using results from prior computations in the definition of subsequent ones

#

Yeah so uh

quiet depot
#

so many words

prisma wave
#

It's basically the same as a functor except it has pure and takes a wrapped function instead of a normal function

prisma wave
steel heart
#

Ah nice

normal talon
#

Lingering potions don't have an entity name ?

remote goblet
#

they're probably classed as splash potions

ocean quartz
#

You're probably looking for

#

d;spigot AreaEffectCloud

ruby craterBOT
#
public interface AreaEffectCloud
extends Entity```
AreaEffectCloud has 28 methods, 1 extensions, and  7 super interfaces.
Description:

Represents an area effect cloud which will imbue a potion effect onto entities which enter it.

normal talon
#

ooh yea

#

I will add that to the next update ..

steel heart
#

You're probably looking for

#

d;spigot UnsafeValues

ruby craterBOT
#
public interface UnsafeValues```
UnsafeValues has 9 methods.
Description:

This interface provides value conversions that may be specific to a runtime, or have arbitrary meaning (read: magic values).

Their existence and behavior is not guaranteed across future versions. They may be poorly named, throw exceptions, have misleading parameters, or any other bad programming practice.

normal talon
#

can someone tell me how to put an entire plugin on the github page without doing copy paste everytime ?

static zealot
#

ugh. make a new github repository (empty one)

#

and it will guide you on how to push from local

steel heart
#

Step 0: use gitlab and not GitHub

static zealot
#

do u really want to die? xD

normal talon
obtuse gale
static zealot
#

I know you have to git init first, then you have to add and commit then you have to set remote or something like that

#

and your main branch

quiet depot
#

my dude

#

it is liek 1 click in gitkraken

onyx loom
#

IJ -> VCS -> Share Project on GitHub

#

hard ๐Ÿ‘

static zealot
#

ok. I'm out. bye

quiet depot
#

bye

onyx loom
#

bye

static zealot
#

bye

#

Welcome!

steel heart
normal talon
#

yea it just create a respitory

strong geyser
#

can someone send me a 1.17 version of Authme, (that works) ?
ping me if anyone has

strong geyser
#

ty

jovial warren
#

if anyone here knows anything about how aquifiers work btw, please lmk lol

distant sun
jovial warren
#

you asking that because I don't know where to put line breaks?

#

lol

distant sun
#

Yes

ruby dew
#

im starting to dislike kotlin after reading this

#

val....reminds me of nasty var in javascript
that caused way too much troubless

jovial warren
#

Kotlin is nothing like JS

#

it's statically typed

ruby dew
#

why val if it is statically typed lol

jovial warren
#

that's just type inference, the compiler is still very strict about what types are what

ruby dew
#

ohh

steel heart
#

Keyword names donโ€™t make a language inherently bad

ruby dew
#

something like auto?

jovial warren
#

the compiler figures out what the type is from context

ruby dew
prisma wave
#

I know another language with type inference

steel heart
#

Well it isnโ€™t

ruby dew
#

type inference is good then

#

like auto keyword

#

let the compiler figure out the data type

prisma wave
#

I know a language with really good type inference

ruby dew
#

which

distant sun
#

oh no

jovial warren
#

don't ask those questions

prisma wave
#

Well

ruby dew
#

i can see that coming but still
i forgot which language was that

prisma wave
#

I will give it to you straight

ruby dew
#

lol

prisma wave
#

I am of course talking about Haskell

ruby dew
#

oh yes haskell

prisma wave
#

Did you know in Haskell you theoretically never have to write a type declaration

jovial warren
#

of course it's Haskell

prisma wave
#

?

jovial warren
#

of fucking course

#

every time

prisma wave
#

??

#

What are you on about

#

I've never mentioned it before??

jovial warren
#

my ass

ruby dew
#

lol this server is so diversed lmao

prisma wave
#

?

remote goblet
#

meh

ruby dew
#

we have got anti java,
kotlin lover,haskell lover what else xd

remote goblet
#

they're all the same

ruby dew
#

?

remote goblet
#

kotlin & haskall lovers usually are very anti java

prisma wave
#

nah

#

obviously

#

if you've experienced heaven you're gonna hate earth

remote goblet
#

its more just two people, intellectuals and java users

prisma wave
#

Well

ruby dew
#

why tf are people here so anti java lmao

prisma wave
#

I wouldn't say kotlin fans are "intellectual"

remote goblet
#

they're classed as intellectuals to understand that java is not that good of a language

ruby dew
#

what makes java bad tho

#

maybe i use c++ all the time so i dont really know much about jav

#

java

prisma wave
static zealot
#

a lot of stuff. but @ruby dew you're really in the wrong channel. lmao. in here a lot of languages get hate. bcz people just switch. you don't understand. I learnt kotlin bcz I was forced by apl mitten. now he keeps telling me I'm dumb for using kotlin and not haskell.

prisma wave
#

precisely

#

I wasn't wrong about kotlin

static zealot
#

but the thing is... he's the dumb one xD

prisma wave
#

I am also not wrong about haskell

#

๐Ÿ˜ตโ€๐Ÿ’ซ

ruby dew
#

lmao

#

so you just hate java because you feel like switching to a modern language

steel heart
#

Haskell without functions when

static zealot
#

every language that he doesn't use is bad

steel heart
#

Lol facts

ruby dew
#

hmm

static zealot
#

you will get used to it. maybe. idk. still ain't used to it

prisma wave
ruby dew
#

im not used to people so anti java all of a sudden lmao

#

like 2 years ago this server still loves java so much

static zealot
#

dw. he still uses java lmao. its just that we're in #dev-general so he can say whatever he wants lmao

steel heart
ruby dew
#

lol

static zealot
#

was going to say; hardware without software when. but yeah. that's in the past. already been made. lmao

ruby dew
#

assembly > all change my mind

steel heart
ruby dew
#

hardware without software is possible
it will be a light switch or some sort

#

or maybe your oven (old ones)

static zealot
#

sure. here:

#

๐Ÿ”ช ๐Ÿคฏ ๐Ÿค ๐Ÿง  trash ๐Ÿ‘ ๐Ÿง  ๐Ÿค•

#

better

steel heart
#

Random blitz stroke

static zealot
#

took your small brain out, threw it in the trash and put a bigger one in

#

is it not obvious?

ruby dew
#

lmao

prisma wave
#

Java bad

#

Kotlin bad

static zealot
#

Haskell bad

prisma wave
#

Haskell bad

static zealot
#

Food bad

prisma wave
#

APL good

static zealot
#

Earth bad

#

APL trash.

ruby dew
#

my life is bad

static zealot
#

don't even know what it is

#

so its trash

prisma wave
#

APL is the best language

ruby dew
#

assembly the best language

static zealot
#

APL = Athletic Propulsion Labs

prisma wave
#

Just wrong

ruby dew
#

perfect control over the whole software

prisma wave
#

Plain qeojf

static zealot
#

so I guess not that bad

prisma wave
#

wrong

ruby dew
#

ok lets just use skript

static zealot
#

APL stands for:
Athletic Propulsion Lab or
American President Lines

errant geyser
static zealot
ruby dew
#

LMAO

static zealot
#

best language to ever be written

errant geyser
#

who let you on the staff team

steel heart
#

I mean Skript is objectively better than anything

static zealot
#

whoever made it is a god

steel heart
#

Heโ€™s the staff team

static zealot
#

jsut bcz you don't know how to use it kotsumag doesn't mean is bad.

#

k? ty.

ruby dew
#

i mean skript is good
dude you use notepad as the IDE
notepad is literally the most underrated ide of all time

steel heart
#

Lmao

static zealot
#

notepad? imagine not using Paint MS ...

ruby dew
#

oh yeah we can do that too

static zealot
#

or amybe paper and feather

#

I've written code with paper and ink for 4 years

#

and it was in C++. fingerguns

steel heart
#

Agony

static zealot
#

hey. good thing is I finally finished, passed the exam and haven't used C++ since. or pen and paper to code. and its been over a year

#

I barely remember anything c++. Just remember that pointers were a pain in the ass.

#

for me at least

ruby dew
#

i learnt c++ out of my own interest
and got into hell myself
havent regretted it tho
its actually fun

static zealot
ruby dew
#

code blocks are good tho
i suck with indents
always mess them up

#

like c++ 98?lol

static zealot
#

I actually think it was named

#

Code::Blocks

ruby dew
#

oh ide

#

i thought you said the pair of brackets

steel heart
#

Indents are pog, just like at python (:

static zealot
#

its white theme. and the version I was using had a windows 98 theme. xD

static zealot
#

you should've seen the computers we had to use them on xD

#

some 2002 PCs with Vista on them, donated by nato or whatever

#

so codeblocks is at version 20.03 rn. But I'm pretty sure we had to either use 10.Something or 08.something

finite junco
#

so confused.. is this helpchat for discord?

static zealot
#

more for minecraft and development

static zealot
#

k.

#

wanderingplace already told me

#

but k

hallow crane
#

Has anyone else seen the source code to CMI and wondered how it works as well as it does

steel heart
#

Called escape timings /s

frail glade
#

Fred, do you have a public instance of your #showcase yet that we could see?

steel heart
#

Thatโ€™s awesome tho

#

My respect for Fred ๐Ÿ“ˆ

half harness
#

uhh anyone know how to bring back the problems tab in IntelliJ?

hallow crane
#

Analyze -> Inspect Code

half harness
#

where's Analyze?

#

nvm

#

TY

#

๐Ÿ™‚

steel heart
#

@SuppressWarnings(new String[]{'A','L','L'})

hallow crane
#

I am looking for a library that allows me to create maps on Item Frames (split over multiple to give the illusion of one large screen) and update that screen with a new image.

Example use case: Create a large screen to display live stock-market ticker graphs. Every time new data is fetched, the old image is replaced with another graph with updated data.

Anybody know of one?

steel heart
#

Maybe minecraftmedialibrary

half harness
obtuse gale
hallow crane
#

is that real

half harness
#

pulse renamed it to EzMediaCore

hallow crane
#

oh lol

hallow crane
steel heart
steel heart
old wyvern
#

Johnny has one as well I think

hallow crane
#

can you link

old wyvern
hallow crane
#

Oh yeah I tried using that

old wyvern
#

It might be old

#

Yea

#

Give pulses one a try

hallow crane
#

it's outdated but that's not the problem

#

It doesn't update on itemframes

#

Or maybe do you know if there's a library that generates a screen from holograms that I can display a buffered image on

old wyvern
#

Holovid?

hallow crane
#

Only for videos :p

#

I'm looking for an image displaying solution (map, hologram, etc whatever) that allows me to call some sort of update method with a new image

ocean quartz
#

Make a video with only 1 frame ๐Ÿ™‚

hallow crane
#

Isn't that going to be resource expensive when I am updating at about 1 frame per second

static zealot
#

so I kinda did something by accident. I moved the terminal in my IJ Out of its fixed place and now I can't get it back there

#

xD

#

please help me

#

oh nvm

#

there was a button for that.

hallow crane
#

Button

#

right

#

yeah

static zealot
#

yeah. usually apps like phtoshop etc. just allow you to drag it back in place

#

that's why I was confused

#

xd

hallow crane
#

True

old wyvern
#

@prisma wave

#

Is it.... Time?... ๐Ÿ‘€

prisma wave
#

๐Ÿ‘€

#

man

#

20th of august

#

i could make that

static zealot
#

o

old wyvern
#

Less go

prisma wave
#

oh

#

there is apparently going to be a theme

#

so perhaps elara won't work

#

but we're a clever bunch

#

we can think up something even better

old wyvern
#

mhm

#

Elara isnt probably something we can finish in 2 days anyway xD

prisma wave
#

probably not lol

#

i guess these are more toy languages

old wyvern
#

mhm

prisma wave
#

also using some library (parsec, antlr, etc) is probably a good idea or we'll be at a bit of a disadvantage

old wyvern
#

Yup

static zealot
#

yugi...

old wyvern
#

Its not loading for me

#

Whats up?

#

oh

#

uh

#

idk what that yup was for

#

where is it?

static zealot
#

doesn't matter

old wyvern
#

oh xD

#

uh

static zealot
#

lmao

frail glade
#

Whelp. It's a shame neither of you can join the language jam. Did you not see the entry requirement?

static zealot
#

it was strange for a sec. I said yup moved to this channel to see what you guys are talking about and I see you literally sent the exact same message 3 seconds early

prisma wave
#

i am in tears rn

static zealot
#

lomao

old wyvern
#

Actually I can release 1.2.5 now

#

Ill do it before sleeping

frail glade
#

Do it and you're cool.

old wyvern
#

๐Ÿ˜Œ

#

Big update to the gradle plugin also coming soon ๐Ÿ˜Œ

frail glade
#

I'll get excited when I see it.

prisma wave
#

LeaderboardCommand class in the leaderboard package or the commands package?

#

trying to package by feature

frail glade
#

If it's by features then in the leaderboard package

prisma wave
#

yeah

#

but then my commands package is really empty

#

ig that's fine

frail glade
#

Commands aren't really features though.

#

At least in the way you are explaining it.

prisma wave
#

yeah

#

right you are

ocean quartz
static zealot
#

was PaperConfig class moved? in 1.17.1 api?

ocean quartz
#

Doesn't seem like it, but i could be wrong

#

PaperLib still uses "com.destroystokyo.paper.PaperConfig"

ocean quartz
#

Starting to look decent ๐Ÿ˜ฎ

quiet depot
#

is that mf-wiki?

cinder flare
#

ooh I am liking it!

ocean quartz
quiet depot
#

wait r we looking at the content of the wiki, or the wiki software itself

#

cuz i was looking at the software

ocean quartz
#

Software

quiet depot
#

is it on gh?

ocean quartz
#

Yeah

quiet depot
#

link pls

ocean quartz
quiet depot
#

thx

static zealot
#

Pretty cool matt. Pretty cool.

old wyvern
#

uhh matt help xD

#

This groovy/kotlin extension bs is so annoying

#

gradle bad!!!

ocean quartz
#

Imma be honest I don't think i ever got it to fully work with Groovy xD

forest pecan
old wyvern
#

๐Ÿฅฒ

old wyvern
#

finally figured it out

#

groovy tries to call call on anything invoked

#

so had to provide a diff functional interface

cinder flare
#

just uh... don't support gradle groovy

#

problem solved

old wyvern
#

Dont think thats a good choice chief

#

Altho, not even call seems to work now

cinder flare
#

lets deprecate gradle groovy

#

gradle 8 -> only kotlin dsl

old wyvern
#

๐Ÿฅฒ

ruby dew
#

im bored just gonna make a library that allows you to mess with offline players inventory and stats

#

is this a good idea?
any existing projects regarding it?

potent nest
#

isn't there a repository where it's about writing bad code?

ruby dew
#

?

potent nest
#

wasn't related to you

steel heart
#

Or the name

potent nest
#

I need to find it

steel heart
#

๐Ÿฅฒ

ruby dew
#

๐Ÿฅฒ

potent nest
steel heart
#

๐Ÿ˜Œ

obtuse gale
potent nest
#

๐Ÿฅฒ

obtuse gale
#

Lmao

potent nest
#

sadly I'm aware of that stuff :p

ruby dew
#

WTF

#

ahahahahahah the code wtf lollll

potent nest
#

Now, should I modify all methods or only a few?

ruby dew
#

add things that cause memory leak and stack overflow

#

lol

potent nest
#

nah

ruby dew
#

this is the best project ever

#

i should download it and run it in my oven

#

i usually play minecraft in my oven

#

hope it doesnt bake my whole cpu

potent nest
#

how is there not a single nested/inner class in the whole project?

obtuse gale
#

Wait you and Johnny go to the same Institute

#

Hot

potent nest
#

yeah

#

Now look at those improvements

obtuse gale
#

What the fuck

potent nest
#

:))

obtuse gale
#

The only good practice there is the try-with-resources instead of a try-finally + close lmao

ruby dew
#
package dev.jaims.terribleplugin.storage

class SQLManager {

    init {
        throw UnsupportedOperationException("Not supported.")
    }

}

LMAO

potent nest
normal talon
#

What was matt's chat dependency called again ?

static zealot
#

matt msg?

normal talon
#

yea

#

I removed it from my bookmarks since I didn't code for like a year

static zealot
normal talon
#

thanks

#

why is my ide so fuzzy

steel heart
onyx loom
#

๐Ÿ˜Ž

normal talon
#

-_-

static zealot
#

nah

#

it should be

#

Programmer at the top

#

and at the bottom

ruby dew
#

should be stackoverflow

static zealot
#

plugin configurator or something like that xD

ruby dew
#

LOL

static zealot
#

or skript user

ruby dew
#

plugin deveoper -> configurator

static zealot
#

there's so many good ones

ruby dew
#

plugin developer -> professional skript user

static zealot
#

I don't really think you can professionally use skript tho

#

xD

onyx loom
#

speak for urself

ocean quartz
#

Code highlight! ๐Ÿ˜ฎ

distant sun
#

e a s y

#

ugly theme but works

ocean quartz
#

Haven't made the theme yet, just needed it to work

distant sun
#

still ugly

ocean quartz
#

๐Ÿ˜Œ

ruby dew
#

there is something that makes me love this doc so much

jovial warren
#

@surreal quarry hey can I add my own linear congruential generator to TP?

distant sun
static zealot
ocean quartz
#

The Matom one dark theme probably

onyx loom
ruby dew
ocean quartz
jovial warren
#
public class LinearCongrentalGenerater {

    public static long MULTIPLIER = 6364136223846793005L;
    public static long INCREMENT = 1442695040888963407L;

    public static long next(long seed, long salt) {
        long temp = seed * (seed * MULTIPLIER * INCREMENT);
        return temp + salt;
    }
}
```nice
#

though I should probably make a long factory for that

onyx loom
#

would that even work?

#

looks like it would overflow, but maybe im underestimating how big long actually is

jovial warren
#

that generator will work

#

the long factory might actually get limited by the size limits of an array

#

which, for those of you who don't know, is Int.MAX_VALUE

#

actually, no

#

fastutil

#

big arrays

#

:wesmart:

prisma wave
#

yeah that looks suspiciously like overflow

#

hmmmmmmmmmmmmmmmmmmmm

jovial warren
#

what looks like overflow? the linear congruential generator?

#

I mean, it's used in vanilla Minecraft

#

ยฏ_(ใƒ„)_/ยฏ

#

though actually, I'm an idiot

#

the increment should be added, not multiplied

static zealot
#

wait what?

prisma wave
#

yes

surreal quarry
#

go for it lol idk wtf it is but iโ€™ll merge it :)

jovial warren
#

a linear congruential generator is a random number generator

prisma wave
#

that sounds like it doesnt fit the ethos of terrible plugin

#

it's not terrible

jovial warren
#

alright then, lemme look up terrible RNG algorithms

prisma wave
#
static int i = 0;
int random() {
  return ++i;
}
#

easy

jovial warren
#

lol

#

nah, I want something that's truly terrible

#

like something that's meant to do a good job and doesn't

#

to further sell the idea that terrible plugin is made by a developer who actually has no clue what they're doing

ocean quartz
#

Changed how the single code block looks

jovial warren
#
public class RANDU {

    private static final int MOD = 0x80000000;
    private static final int INC = 65539;

    public static int v = 123456789;

    public static int next() {
        v = INC * v % MOD;
        return v;
    }
}
```I think that's the algorithm?
static zealot
#

lmao

jovial warren
#
public class RANDU {

    public static int v = 123456789;

    public static int next() {
        v = (65539 * v) % 0x80000000;
        return v;
    }
}
```there we go, inline the constants to cause even more confusion, and always use a fixed starting seed lol
static zealot
prisma wave
#

thats why you look on mcm

#

Oh

#

Nvm

#

Crikey

static zealot
#

xD

prisma wave
#

$20 hr

#

Blimey

normal talon
#

one question, wich one is better to use for mc plugins java or kotlin ?

static zealot
normal talon
#

is java easier to understand than kotlin ?

static zealot
#

idk

#

It might be easier to use but its probably harder to read and understand

ocean quartz
#

Depends on which language you know, if you know kotlin but don't know java, java will be harder
Both are easy to understand when you learn them
Kotlin is slightly easier to learn

static zealot
#

Depends on which language you know, if you know kotlin but don't know java, java will be harder
idk if I agree with this tho. It will be harder bcz you don't know it but it would be not that hard to learn it

normal talon
#

Then I will learn kotlin I guess

static zealot
#

and that is because java has more documentation, and kotlin documentation sometimes just says: "it acts like java's ...something...something..."

#

without explaining.

#

or at least that was the case 1 year ago

ocean quartz
#

I think Kotlin is pretty well documented

#

And I think Kotlin teaches you Java better than Java

jovial warren
#

oh also, @surreal quarry, can I please make TerriblePlayer's methods use randomness as return values?

normal talon
#

Sololearn added kotlin ๐Ÿ™‚

jovial warren
#

e.g. replacing 0 and false returns with generating random integers and booleans lol

ocean quartz
normal talon
#

when I started "learning" java, they didn't

ocean quartz
#

They did, it just wasn't in the main page

normal talon
#

oh

prisma wave
#

u are going to need to know java

#

you are not going to need to know kotlin

obtuse gale
#

Why is this?

prisma wave
#

hm?

obtuse gale
#

It just depends what he wants to do, if he wants to learn android apps

static zealot
#

well. he's doing spigot plugins

static zealot
#

so pretty sure he won't need it

jovial warren
#

especially due to Kotlin's interoperability with Java, and vice versa

prisma wave
#

both work sure

obtuse gale
#

Idk itโ€™s a tricky question just learn them both lol (you somewhat need to)

prisma wave
#

But you should learn java first

static zealot
#

^^^^

obtuse gale
#

Yea at least basics

static zealot
#

I agree with him this time. even tho that's not what he told me 1 year ago

prisma wave
#

imo kotlin is like DLC content, it might be better in some cases but you should complete the base game first

static zealot
#

smh

normal talon
#

thanks for the help guys

#

& girls if there were any here

static zealot
#

u're not that lucky

jovial warren
#

lol

static zealot
#

yeah lmao. u relly think girls will ever talk to you? smh

normal talon
#

-_-

#

I'm a sexy mfcker

jovial warren
#

stfu Blitz

prisma wave
#

and then after kotlin...

#

well

static zealot
ocean quartz
#

Girls are a myth

static zealot
#

in that exact order

prisma wave
#

๐Ÿ˜Œ

#

precisely

static zealot
normal talon
#

you guys go outside sometimes?

static zealot
jovial warren
normal talon
#

I almost talked to a girl on acciedent

static zealot
jovial warren
#

lol

static zealot
#

no girls were anywhere close to you

normal talon
#

You can't say that bruh

#

I work with 3 girls burv

static zealot
#

๐Ÿงข

normal talon
#

kinda chatty

#

nah fact

jovial warren
#

I love talking to girls, I just don't hit off on any of them

static zealot
#

๐Ÿ›‘ the ๐Ÿงข

normal talon
#

yea don't hit them that's wrong apperently

jovial warren
#

okay, maybe I just shouldn't try the slang

normal talon
#

I understood what u said

ocean quartz
#

Ugh it uses Java syntax highlight for Kotlin and Groovy as well ๐Ÿ˜ฉ

jovial warren
#

on a serious note though, is it just me or are girls so, so much better at helping you through emotional problems

normal talon
#

what do u think

ocean quartz
normal talon
#

The boys will be laughing at u

#

those are called whores and HC bitches

jovial warren
static zealot
prisma wave
#

Development general

normal talon
#

if the boys don't make fun of u are they really ur friends ?

ocean quartz
#

If you can't open your feelings to your homies they aren't homies

jovial warren
#

yeah

normal talon
#

In the netherlands it's different

jovial warren
#

I mean, I have a very, very good best friend who I can talk to a lot about my emotions, so I'm kinda lucky like that

#

I guess

static zealot
normal talon
#

yea I have one friend

prisma wave
normal talon
#

but I don't talk about those stuff

static zealot
jovial warren
normal talon
#

I would say I will

prisma wave
#

what if he said it

normal talon
#

I'm almost 20 -_-

prisma wave
#

What would you do

jovial warren
#

lol

normal talon
#

I would eat it

prisma wave
#

Ok good

normal talon
#

I don't like cheese

ocean quartz
#

That's sad

#

Cheese is life

normal talon
#

only melted version

static zealot
#

versiom? is that some type of chese?

normal talon
#

-_-

ocean quartz
static zealot
#

I don't know the type of cheese. If it says on the bag: Cheese I just eat it

#

I Probably ate a few bad things thinking they were cheese bcz it said it on the package

normal talon
prisma wave
remote goblet
jovial warren
#

jesus fucking christ

normal talon
#

Someone should make /cheese command

#

and then let it rain sponges in mc

static zealot
#

I would just chose all the white themes

ocean quartz
normal talon
#
Int indicates an integer (whole number), such as 42.
Double and Float are used to store decimal numbers, such as 12.4.
Char represents a character, such as 'z'.
Boolean has two possible values, either true or false.
#

arent those like java's

prisma wave
#

Similar yes

static zealot
#

they're better. because they're kotlin

#

xD

remote goblet
normal talon
#

irc java had one more right

#

"Z"

#

this string

prisma wave
#

Kotlin has all of the same "primitives" as java

normal talon
#

ooh

ocean quartz
#

String is not a primitive

#

"techinically"

prisma wave
#

Are arrays primitives?

frail glade
ocean quartz
#

Kotlin doesn't know what it wants, Kotlin is like "we don't have primitives"
Also Kotlin

normal talon
#

That is so smart

#

var num: Int = 42

#

so all of this instead of

Int int = 42;

static zealot
#

well

#

you could

jovial warren
#

Kotlin does have primitives, they're just not shown in code

static zealot
#

just do val num = 42

normal talon
#

and it will know it's an int ?

jovial warren
#

also, const = compile-time constant

jovial warren
#

the compiler can figure out it's an integer from the context

#

Java has it as well as of 11

normal talon
#

Explicitly given type is redundant here

#

var age: Int = 3

prisma wave
jovial warren
#

it's warning you that the explicit type is redundant since the compiler knows it's an integer from the context

normal talon
onyx loom
#

what about it

jovial warren
#

maybe that's just for tutorial purposes

static zealot
#

what about it

#

what about it

normal talon
#

I did the same

static zealot
#

what about it

jovial warren
#

the official Kotlin docs (which is what you should be using btw) won't do that

static zealot
onyx loom
#

i dont think its ever required

jovial warren
normal talon
#

kotlin also doesn't require ;

jovial warren
normal talon
#

at the end of every line

static zealot
#

yeah it does not

prisma wave
#

it's never required for variables

normal talon
#

So reading is better

#

hmmm

prisma wave
#

sometimes

normal talon
#

I don't like reading at all they use that in school

prisma wave
#

Reading is more important than writing

jovial warren
#

the only place the compiler needs semicolons is when it can't actually distinguish where one statement ends and the next starts, such as if you put 2 statements on the same line

onyx loom
#

end of enums โ˜น๏ธ

jovial warren
#

and that

prisma wave
#

embarrassing

onyx loom
#

ikr

jovial warren
#

also, ```

Task :server:compileKotlin FAILED
e: java.lang.OutOfMemoryError: Java heap space

#

lol

onyx loom
#

good job

#

how does one manage that

jovial warren
#

this is Krypton

#

it's fucking huge

onyx loom
#

yikes

prisma wave
#
data T = A | B | C deriving Enum

No semicolons needed :)

static zealot
#

k

jovial warren
#

k

#

cool story bro

steel heart
#

m

jovial warren
#

but I don't remember asking

#

lol

steel heart
#

BM what about making the assign operator thing to a ;

prisma wave
#

what

steel heart
#

data T ; A | B | C deriving Enum

prisma wave
#

why

steel heart
#

Why not

prisma wave
#

sadly impossible

steel heart
#

Hpmhph

prisma wave
#

= isn't overloadable

steel heart
#

Oh

#

Would be cool if it was lol

prisma wave
#

Would it tho

steel heart
#

Tho it tho would be tho

#

Btw I need an opinion on this

#

Should I let api users instantiate a class or do I provide a factory which is responsible to do it? Like
ApiObj::new (new ApiObj(...))
or ApiObjFactory::create

normal talon
#
class Rectangle(var height: Double, var length: Double) {
    var perimeter = (height + length) * 2
}

What does double point do in kotlin

steel heart
#

length: Double

#

The colon there?

normal talon
#

yea what does that mean in words

steel heart
#

Itโ€™s to define what type that parameter is

steel heart
#

On what specifically?

#

I mean it course it might a great way to ensure implementation control all instantiations but like yeah idk

prisma wave
#

yeah pretty much

#

If your constructors are pure and don't have any great boilerplate then just use a constructor

#

Otherwise the factory pattern is probably smart

normal talon
#

why are java docs so freaking ugly

steel heart
#

Alright thanks

onyx loom
#

because its old

steel heart
#

Theyโ€™re sexy

onyx loom
#

๐Ÿค”

#

they get the job done

steel heart
#

Ye

#

Kotlin docs are nicer I guess

#

Or whatever itโ€™s called

prisma wave
#

kOtLiN dOcS aRe nIcEr

normal talon
#

yea it's nicer and readble

steel heart
#

yEs

#

tHeY aRe

onyx loom
#

Triumph Docs ๐Ÿ˜Œ