#dev-general

1 messages ยท Page 568 of 1

obtuse gale
#

toolbox is minimal

wind patio
#

sounds about right

#

how the space should be managed

#

๐Ÿ˜ฉ

cinder flare
#

man you got a lot going on there

#

how do you have so much stuff on your windows install drive

wind patio
#

Next > Accept > Next > Install fingerguns

static zealot
#

Lmao

wind patio
#

Honestly I'm just too lazy to change installation directories

#

And when I ran into issues where the app wouldn't work from a different drive

#

That didn't help the lazy issue

#

Well now I have 2021.1.2 and 2021.2 and 2020.3, .2, .1 is nowhere to be found

ocean quartz
#

Light theme aaaah

wind patio
#

lol

#

didn't think toolbox had dark theme

cinder flare
#

ofc bro

sterile python
#

Bonjour qui vient de France ? ๐Ÿ‡ซ๐Ÿ‡ท๐Ÿ‡ง๐Ÿ‡ช

steel heart
#

Si muy baguette

prisma wave
sterile python
prisma wave
#

I do not understand

pallid gale
#

Just going to ruin the party and remind you all of the #rules

prisma wave
#

I was getting to that

steel heart
#

La Rรฉvolution

sweet cipher
#

You forgot Vive

steel heart
#

Why did I say this

onyx loom
#

big brain

steel heart
#

Guy wanted to use spigots number conversions class in another project

humble silo
#

Aww, how did you know?

steel heart
half harness
#

lol

#

smh codacy

#

every time I make a new commit I always get that email

#

๐Ÿ˜”

eternal compass
#

Smh Microsoft edge

half harness
#

-_-

#

my bw plugin is very messy

ocean quartz
#

Complexity is your favorite

simple viper
ocean quartz
#

No need to mention it in 2 channels lol

simple viper
obtuse gale
#

new plugin soon:tm:

#

simple enough for me to not do any maintenance ever ๐Ÿ˜Œ

eternal compass
obtuse gale
#

Something I was surprised to not find out there already

#

Chat filtering based on complete regex pattern matching & full replacement support

#

Not that I spent a lot of time trying to find one that did but the few ones I found were.. lacking lol

hardy dew
obtuse gale
#

It sounds like something that.. should have been done already

#

The few plugins I found were either just replace with a single char (repeatedly) or entirely cancel the chat event, super basic stuff

ruby dew
hot hull
sturdy swan
#

Ello

ocean quartz
#

Heyo

static zealot
#

Hell

#

o

hot hull
#

Hell

#

no

static zealot
#

why? ๐Ÿ˜ฆ

jovial warren
#

lol

prisma wave
#

i am guessing PersistentDataContainers aren't thread safe

old wyvern
#

๐Ÿ˜Œ

prisma wave
#

well i just got a concurrentmodificationexception

#

so

#

darn

onyx loom
#

๐Ÿฅฒ

#

when in doubt, treat nothing as thread safe in bukkit!

prisma wave
#

yeah

#

still annoying though

#

i want my optimisations

prisma wave
#

๐Ÿ˜ก

steel heart
#

I know I should return an empty collection instead of null if the return type is a collection, should I go with a new HashMap or the EmptyMap from Collections?

potent nest
#

depends

prisma wave
#

the empty map is immutable

#

new hashmap is not

steel heart
#

Yeah

potent nest
#

^

prisma wave
#

so yeah it depends

steel heart
#

Maybe an Optional<Map<,>> instead ?

potent nest
#

please not

steel heart
#

Okay lol

prisma wave
#

it probably depends

old wyvern
#

Do you mutate the received Map?

potent nest
#

that would indicate that the map might not exist, but an empty map is totally valid in almost every case

prisma wave
#

if you're like, reading some value from the config and it's not present then null / Optional.empty seems valid, but if you dont want to handle that case then an empty map is probably fine

steel heart
static zealot
#

so yesn't

steel heart
#

Ok

old wyvern
static zealot
#

exactly what it sounds like

steel heart
#

As of now I donโ€™t but I probably will in the future

old wyvern
#

Umm

#

Would this really be a good use for records?

#

Intellij keeps suggesting record for some reason

prisma wave
#

probably not

#

yeah

#

it's annoying

old wyvern
#

Ah I so its just broken

steel heart
#

Yeah you could probably remove the weak warning label for it

old wyvern
#

Alr, ill turn that inspection off

static zealot
#

just to double check but persistent data containers were added in 1.14?

steel heart
#

Yeah

static zealot
#

k. ty

prisma wave
#

oh dear

onyx loom
prisma wave
#

aand the entire vps has crashed i think

#

oh no it's just completely run out of threads somehow

#

what

stuck harbor
#

lol

#

wha

#

how does one run out of threads

#

are u mining some cpu-bound crypto?

prisma wave
#

i dont know

#

thread pool gone wild

old wyvern
#

Oh it is an issue in paper itself?

prisma wave
#

probably not

#

i think i had just submitted a few thousand long running tasks to an executor service which caused it to die

onyx loom
#

pro developer moment

prisma wave
#

๐Ÿ˜Ž

#

yeah it's using Executors.newCachedThreadPool() which doesnt have a max number of threads apparently

sonic jungle
#

Is 1.17.1 DeluxeChat released?

#

Or Developer working on this?

half harness
simple viper
#

I am making a pluginto do a farming overhaul. And so far i have nerfed farming but now i need a benefit to farming. If anyone has any ideas please let me know. These are the current changes i have made.

-- You cant breed the same family together
-- If you dont take care of crops they dont grow
-- If a plant is inside, it doesnt grow (Must have natural light)

I just need benefits to farming, and breeding
Anyone got any ideas?

obtuse gale
#

You can't breed the same family together

There are some states over at NA that would like to have a word with you

steel heart
#

lol

ocean quartz
static zealot
#

did you guys know that every book is just a remix of the dictionary?

old wyvern
#

Did you know that every song is just a remix of the alphabet song?

static zealot
#

nah

#

it is not

#

but did you know that the number of people older than you only goes down but never up?

cinder flare
#

until we invent cloning!

static zealot
#

well. that already exists. but I'm talking about what's public knowledge here

hot hull
#

but did you know that Blitz is a noob

static zealot
old wyvern
#

Java Unsafe be like: Please dont use me, no please

C# Unsafe be like: Here you go, pointers, reference and whatever the fuck you want. Im C++ now bitch

steel heart
#

lmao

#

accurate smiling_face_with_3_tears

obtuse gale
#

If it compiles, it works, right?

gusty glen
obtuse gale
#

It's Java

#

Okay it'll work

surreal quarry
#

?paste

compact perchBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
โ€ข HelpChat Paste - How To Use

obtuse gale
#

?paste

compact perchBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
โ€ข HelpChat Paste - How To Use

surreal quarry
#

also methods are lowerCamelCase in java

obtuse gale
#

Okay

#

here:

#

Code on top error on bottom

surreal quarry
#

and this should be in #development so lets go there before we get started

obtuse gale
#

Ohj

#

not dev

surreal quarry
#

yea dev-general is just like chatting about dev stuff, development is support

hasty saddle
#

Hey guys

#

Why does spigot clear my public static List<UUID> on every reload?

static zealot
#

well. first of all. why are you doing a reload? and second of all bcz reload is meant to re... load?

#

reload is meant to act as a restart without actually stopping and starting again. which is just dumb and should never be used

hasty saddle
#

Hmm yeah but I thought a reload would never clear variables which are already defined outside the onEnable

#

I know but I want test all cases (make it safe to use)

static zealot
#

ugh pretty sure it completely unloads the plugin and then loads it again so it would probably clear most things

hasty saddle
#
public static List<UUID> vanishedPlayers = new ArrayList();

I just wrote it like that

static zealot
#

reload will never be safe. xD

hasty saddle
#

Ok and so isn't there any way to store the vanishedPlayers that they're back on reload? (I know I could create a temporary file but that'd be shit)

#

xDD

#

Ok nvm there's no other way than creating a file xD

static zealot
#

yeah probably

hasty saddle
#

xD

static zealot
#

never heard of reload saving stuff

hasty saddle
#

Hmm ok then I think it was just a "Hirngespinst"

obtuse gale
#

reload is like restarting without restarting

#

it's hideous

hasty saddle
#

xD

static zealot
#

exactly what I said.

#

he said he wants to make it safe for all cases. but /reload will never be safe no matter what you do xD

obtuse gale
#

yeah, reload (tries to) fully unloads the classes

#

I don't think there's a way without writing to a file

hasty saddle
#

Is there any way to detect a reload?
Because I want to inform all vanished players that they're not invisible anymore

static zealot
#

well you could listen for the command event but I Don't think that is called when the console does it

reef maple
#

Btw can I as a dev put a /plugin reload to make my plugin reload the configs without problem ?

static zealot
#

yeah

#

most plugins do it right

#

not all tho xD

reef maple
#

Sexcellent

hasty saddle
#

How long is https://api.spigotmc.org/legacy/update.php?resource= taking to update?

obtuse gale
#

I think it's like 2 or 3 hours max

hasty saddle
#

Ok thank you ๐Ÿ™‚

nimble salmon
#

@static zealot

static zealot
#

@static zealot

#

strange. he's not answering

#

maybe he's not home rn

nimble salmon
#

๐Ÿฅฒ

#

Can u help me wit smt

static zealot
#

depends. what is that smt?

nimble salmon
static zealot
#

ugh. if its that important then sure I guess

obtuse gale
#

not worth making your code work with a reload :3, just restart

steel heart
#

blugman

static zealot
#

lmao @prisma wave

prisma wave
#

bro im gonna have to make a github repo for this or something

#

then u can just PR it

half harness
#

(args[0] = command btw, this is using servercommandevent/playercommandpreprocessevent)

#

๐Ÿค”

steel heart
#

uh

#

looks like a wise counter move on all the reloading fanboys

steel heart
#

now disable plugman if its enabled UNLIMITEDPOWER

half harness
#

lol

#

but i have plugman on my test server

steel heart
#

given no dcevm j16

#

I guess its fine

half harness
#

i just use plugman to disable plugins

#

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

#

since most of my plugins use slimjar anyways

#

which errors with plugman

steel heart
#

holy shit

#

slimjar maven

#

I completely forgot

half harness
#

;-;

half harness
steel heart
#

get rid of groovydsl

half harness
#

nooo

steel heart
#

yes

half harness
#

groovy ๐Ÿ˜‹

steel heart
#

noo

#

b

half harness
#

b

steel heart
#

u nob

#

groovy dsl

#

kotlin dsl>groovydsl

#

objectively true

half harness
#

๐Ÿคจ

steel heart
#

I can pr it even

half harness
#

uh

steel heart
#

FOR U

half harness
#

;-;

steel heart
#

YES

#

if u reject then u're just a fool

half harness
#

so

#

what are pros

#

of kotlin dsl

#

also why does slimjar hate my bw plugin

#

this is my second attempt (first one was a couple weeks ago) and it still won't work ;-;

#

and i use it on other plugins with no issues

steel heart
#

kotlin dsl is strongly typed

#

literally

#

just that should be enough

#

groovy hints types

#

sure

#

not as good as kotlin dsl

#

and its better supported in intellij

half harness
#

๐Ÿค”

half harness
steel heart
#

shadowJar.dependencies.exclude dependency("com.blah:somea")

#

dependency would become gray underlined

#

cuz intellij and groovy just sucks together

#

yes dkim

#

its trivial

#

consider the job done @half harness

half harness
#

what

#

no

#

wai

#

t

steel heart
#

bruh

ocean quartz
#

@prisma wave or @cinder flare is Emacs any good for CLI? Nano is kinda shit and i don't like vim

prisma wave
#

Ehhh

#

I don't think so

#

You can do remote development but as far as I know it's mostly a graphical tool

#

There's a terminal mode iirc though

#

there's also pico as a nano alternative but I've never used that so can't vouch

ocean quartz
#

Sadge

#

I normally just use sftp and edit the stuff on vscode, but disabled root login and can't edit etc files on normal user
not smart enough to figure that stuff out so, judge me

prisma wave
#

๐Ÿฅด

#

I usually use vim on the terminal cuz emacs (well, doom emacs) uses vim keybinds anyway

steel heart
#

hi brister

prisma wave
#

Hello

steel heart
#

u r gloves

prisma wave
#

mittens

ocean quartz
#

I really dislike cli, specially for editing shit ๐Ÿ˜ฉ

prisma wave
#

I don't think vim is that bad with a bit of practice

ocean quartz
#

Pretty annoying the way the keybinds work

prisma wave
#

If you're gonna do longer edits you could login, sudo cp the file to somewhere that isn't protected, sftp it and then copy back

#

But that's a lot of effort

prisma wave
ocean quartz
#

It's not about remembering, just don't like how they work

prisma wave
#

Fair enough

#

idk then

ocean quartz
#

I'll just suffer with nano ๐Ÿ˜ฉ

#

Not like i use it that much

prisma wave
#

Maybe you can use Emacs with "remote development" or in the terminal but I've never tried either

#

Yeah

#

Most of the time it's quick edits

#

Not the end of the world

obtuse gale
#

nano is "fine"

#

"just fine"

#

vim is a true chainsaw, but just as one, you have to know how to use it properly to get the best out of it

cinder flare
#

vim is where it's really at

#

i use doom emacs so I can get vim keybindings

ocean quartz
#

Eh, i'll stick to nano

rustic crescent
#

anyone have a deluxejoin that works on 1.17

onyx loom
#

use frozenjoin instead

steel heart
#

triumph-join

ocean quartz
#

๐Ÿ˜ฉ

rustic crescent
#

link?

steel heart
rustic crescent
#

thanks ๐Ÿ˜„

#

ive been stressed for a min!

ocean quartz
#

They made installing Ptero panel so much easier damn

eternal compass
ocean quartz
#

Yeah 1.x is super easy

steel heart
oak raft
#

Each crewmate is making a plugin

#

It's on topic

steel heart
#

How about no

oak raft
#

How about

#

Sub > dub? fingerguns

#

Ok I'm gone now

steel heart
#

How dare you

ocean quartz
#

Speak the truth*

onyx loom
#

what they up to

oak raft
half harness
#

heres the text if the image is too small

In most cases using a spread operator causes a full copy of the array to be created before calling a method. This has a very high performance penalty. Benchmarks showing this performance penalty can be seen here: https://sites.google.com/a/athaydes.com/renato-athaydes/posts/kotlinshiddencosts-benchmarks

The Kotlin compiler since v1.1.60 has an optimization that skips the array copy when an array constructor function is used to create the arguments that are passed to the vararg parameter. When type resolution is enabled in detekt this case will not be flagged by the rule since it doesn't suffer the performance penalty of an array copy.

Noncompliant Code ```kt
val strs = arrayOf("value one", "value two")
val foo = bar(*strs)

fun bar(vararg strs: String) {
strs.forEach { println(it) }
}
**Compliant Code**kt
// array copy skipped in this case since Kotlin 1.1.60
val foo = bar(*arrayOf("value one", "value two"))

// array not passed so no array copy is required
val foo2 = bar("value one", "value two")

fun bar(vararg strs: String) {
strs.forEach { println(it) }
}

#

should i just disable the pattern?

simple remnant
#

Hello! I have a question. I am making a small minigame based on 2 player fights each other. But i don't know how to set spawn for each player. I mean i have set the spawn location and command (/setspawn1 for first player and /setspawn2 for second player), but i don't know how to spawn first player on spawn1 and second player on spawn2 can someone help me ?

surreal quarry
distant sun
#

Good to hear lol

ocean quartz
half harness
#

oh

#

so can i disable the warning?

ocean quartz
#

Actually nvm it still copies the array lmao

half harness
#

oh

forest pecan
#

Holy shit I just came from camp and havenโ€™t touched a PC for 11 days

#

And I had my SIM card taken

onyx loom
#

welcome back?

static zealot
surreal quarry
ocean quartz
#

when an array constructor function is used to create the arguments
Only applies when creating the array inside, existing arrays will still copy

surreal quarry
#

oh i see

ocean quartz
#

Kinda dumb that it copies it though, i wonder what the limitation is

prisma wave
#

i guess to preserve immutability

#

but

#

that doesnt make much sense

#

arrays are mutable

#

wait

#

okay so varargs preserve the mutability of an array

#

so why do you need to copy it

#

that makes no sense

ocean quartz
#

Yeah, in Java you can just pass an array to it, idk why Kotlin needs to copy

prisma wave
#

maybe in kotlin varargs cant modify their arguments

steel heart
#

Does kptlin have object destruction or whatever itโ€™s called?

ocean quartz
#

It does yeah

prisma wave
#

oh no they can

#

so

#

what

steel heart
prisma wave
#

or

#

apparently not

#

what the hell

#

why would you make that a feature

#

why does passing an array to a vararg function copy it

#

this is not the result you'd expect

ocean quartz
prisma wave
#

it's different to every other type of collection

steel heart
#

Oo

ocean quartz
prisma wave
#

i dont get that

#

why would you make arrays behave differently to every other indexed mutable collection

#

AND differently to java

old wyvern
prisma wave
#

because it's different to the equivalent in java

#

and it's different to the equivalent with a List

old wyvern
#

Imagine if there wete more arguments

old wyvern
#

Can you not pass just an array for varargs in kotlin?

prisma wave
#

you have to spread it

obtuse gale
#

smear

old wyvern
#

Ah thats bad

prisma wave
#

๐Ÿ’€

ocean quartz
old wyvern
#

๐Ÿ˜Œ

#

Kotlin bad

#

H...

ocean quartz
#

a...

prisma wave
#

s...

old wyvern
#

k...

ocean quartz
prisma wave
#

l...

half harness
#

p..

prisma wave
#

fuck you

half harness
#

:)

surreal quarry
#

ban?

prisma wave
#

if i could

half harness
#

๐Ÿฅฒ

prisma wave
#

u are lucky

ocean quartz
surreal quarry
obtuse gale
prisma wave
#

๐Ÿ’€

surreal quarry
#

brister clapping hands

prisma wave
#

yep

distant sun
#

On chrome dev tools, is there any way to start debugger though a combination of keys?

ocean quartz
empty flint
#

Heyo guys, been a while. How are you all doing?

static zealot
#

spiderman

distant sun
#

doesn't seem to work Matt

static zealot
#

yes

half harness
#

uhh what exception do i use when something bad happens? and I want to stop the code

#

and it isn't important enough to have its own exception for

old wyvern
#

Depends on what happened exactly

half harness
#

rn im just using it to unload the world... and codacy spotted it that I use RuntimeException.. and.. well..

To be fair, I think I wrote it about 4 months ago.. ngl I didn't even know I've been learning kotlin for that long https://i.imgur.com/qJcEkDY.png

old wyvern
#

IllegalStateException maybe

half harness
#

hm, alr

obtuse gale
#

AssertionError ๐Ÿ‘€

forest pecan
half harness
#

i forgot the issue with the other time, but for this one an error occurs whenever I use slim 'blah in dependencies {}.. something along the lines of "method not found" i think ๐Ÿค”

old wyvern
#

did you apply the plugin properly?

half harness
#

o

#

oh wait

#

huihwaiudhadhwujihadiqoidjpoaqkd

old wyvern
#

lmao

half harness
#

it works now ๐Ÿ˜’

old wyvern
#

great!

half harness
#

๐Ÿค”

#

still relocates correctly tho

ocean quartz
#

Groovy at it's best

half harness
#

but it doesn't happen with shadowjar sad_fingerguns

old wyvern
#

What plugin version are you on?

#

1.3.0?

half harness
#

yes

old wyvern
#

Did you check the updated readme?

half harness
#

uh

old wyvern
#

implementation slimjar("1.2.6")
Do you have this in your dependencies block? ^

half harness
#

๐Ÿ˜ฎ no more in alpha/beta/whatever?

old wyvern
half harness
#

๐ŸŽ‰ ty

old wyvern
#

๐Ÿ’ฏ

half harness
#

๐Ÿ’€

old wyvern
#

Show the full stacktrace

half harness
#

thonking I just put in --stacktrace and no error

#

nvm

old wyvern
#

Probably has to do with compile-time resolution, you can disable it if you want

old wyvern
#

But having it should make downloading a lot faster

half harness
old wyvern
#

Hmm, Ill look into the issue,
Meanwhile, adding slimjar.default.resolution.compile_time = false to your gradle.properties file should disable this feature

half harness
#

alr

static zealot
#

@half harness wanna play a few games?

half harness
#

ok

#

first time ive noticed this

#

๐Ÿค”

#

AAH

#

FREELOOK

static zealot
#

what's that?

half harness
#

FREELOK IS DISABLED D:_ _ _ _

static zealot
#

what?

half harness
#

D:

static zealot
#

enable it then?

half harness
#

no lunar disabled it

#

like

#

on hypixel

static zealot
#

ah

#

why?

half harness
#

;-;

#

oh it happened 2 days ago

static zealot
#

oh. hypixel finally banned it? damn

half harness
#

i think it was banned for a while tho

#

lunar kept removing and adding it

#

but i guess now it's permanent

#

plus the rules are 100% clear

#

which is why they kept adding/removing it

#

i think

static zealot
#

are not is what you meant to say?

half harness
#

wdym

static zealot
#

why would they keep adding/removing it if the rules were 100% clear?

half harness
#

also if i log in to bedwarspractice.club freelook is enabled ๐Ÿ˜Ž

half harness
#

ohh

#

i see what u meant

static zealot
#

yeah. that's what I was saying

#

x

#

d

half harness
#

join bedwarspractice.club :))

static zealot
#

wait. bedwarspractice.club? what's that

half harness
#

a practice server i think

#

its been a really long time

#

since i went on

#

it has ur favorite command fingerguns

static zealot
#

well I Don't want to practice. smh

half harness
#

oh

sweet cipher
#

Are you guys playing bedwars?

static zealot
#

or do u have like a winstreak you want to keep?

static zealot
sweet cipher
#

Oh

#

Can I join you if you are?

static zealot
#

so. dkim. what are we playing?

half harness
#

u can choose

  • dkim bedwarsโ„ข๏ธ
  • hypixel bedwars
static zealot
#

well... that's an easy choice. hypixel bedwars

half harness
#

ok

half harness
sweet cipher
#

Ok

static zealot
#

what's your nickname @sweet cipher ?

sweet cipher
#

HeroBrineGoat

half harness
#

o

prisma wave
#

fucking bukkit man

#

why

#

why

#

why

#

AFAFAF

static zealot
#

why not

#

is the correct question

prisma wave
#

why does Bukkit.getPlayer return null in PlayerQuitEvent

#

shouldn't the event get called before any processing happens

half harness
onyx loom
#

bukkit ๐Ÿ’€

prisma wave
#

we love predictable api's

#

all the other events get called before anything actually changes but apparently this one doesnt

#

and guess what

#

the documentation doesnt mention it at all!!

static zealot
#

I remember when I was dealing with the same shit xD

sweet cipher
prisma wave
#

uh

#

basically because im doing the actual logic in another class

#

and the only thing that class can take is a UUID (well, custom player object)

#

and im not changing the whole api just for 1 thing

#

because im not a beta bukkit cuck

#

i make the rules here

ocean quartz
static zealot
sweet cipher
static zealot
#

actually it is #D9D9D9

#

nvm

prisma wave
#

nothing!

#

๐Ÿ˜„

cinder flare
prisma wave
#

stfu

obtuse gale
#

๐Ÿ˜

#

Best of HelpChat!!

urban sleet
#

I love best of helpchat

prisma wave
#

me too

#

i think this one has got to be my favourite

#

actually no

#

this takes the cake

#

aw man theyre all so good

sweet cipher
#

What happened to Vision?

#

Did they leave the discord?

prisma wave
#

account got deleted i think

#

i wonder what that means

sweet cipher
#

Oh

#

That's sad

#

Discord was intimidated by the SQL GC

prisma wave
#

clearly

#

why have none of the great minds thought of this before

sweet cipher
#

I have no clue

#

I guess nobody will ever be as smart as Vision

prisma wave
#

and nobody ever will be

sweet cipher
#

True

prisma wave
#

maybe he "committed suicide"

eternal compass
prisma wave
#

oh

#

really ?

sweet cipher
#

Maybe his brain exploded from being too smart

sweet cipher
prisma wave
#

my reliable source says otherwise

eternal compass
#

Oh wait then deleted the acct

#

Lame

prisma wave
#

@simple kiln

sweet cipher
#

#bot-commands message

prisma wave
#

i think theyre gone

#

truly a great loss

sweet cipher
#

The greatest loss of our generation

prisma wave
#

actually this one comes pretty close

onyx loom
#

barry the new president 2024???

prisma wave
#

i hope so

surreal quarry
#

why is java so ugly

prisma wave
#

it's not

#

you're ugly

surreal quarry
#

wrong

obtuse gale
#

True

reef maple
#

Hi, did Apache change Base64.decodeBase64() function ? The argument was a String before but now it needs a byte[] '-'

prisma wave
#

why use apache

#

java already has base64 stuff

#

๐Ÿ˜Œ

surreal quarry
#

why use bristerlib:tmitten:

reef maple
#

Because he is SOLDIER

prisma wave
#

true

#

so true

reef maple
#

... I don't know for Apache, it came by default I guess ? ^^'

#

Yes it import automatically from apache and not java itself :/

prisma wave
#

sad

reef maple
#

Anyway, I'll import import java.util.Base64;

#

Thank you ^w^

lean kiln
jovial warren
static zealot
lean kiln
#

thats so cool

vivid sleet
#

Exactly that, thanks @static zealot

#

One texture to cover the GUI, and some buttons can be additional items.

wind patio
#

can anyone explain this version abomination

#

Installation Folder:
2020.1.1
Product info:
version: 2021.1.2, dataDirectoryName: 2021.1
Toolbox:
installed: 2021.2, manually installed 2021.1.2

static zealot
#

my assumption is that you first installed IJ 2020.1.1 and that's what the folder name stayed. the rest seem fine to me

wind patio
#

also

#

in %AppData%/Local/JetBrains

static zealot
#

that's where the apps store data. I guess that one updates with the version.

#

but the installation folder doesn't. which makes sense

wind patio
#

been trying to make some space on my main ssd

#

and intellij won't collaborate with it's versions out of nowhere

#

or I don't really understand their naming (versioning) scheme

humble silo
wind patio
#

mistake number 1

#

kotlin

humble silo
#

you tell yourself that

wind patio
#

I am a mistake in this world myself, already know that

ocean quartz
#

Imagine thinking like that lol

ocean quartz
wind patio
humble silo
ocean quartz
#

Was talking about the Kotlin comment

wind patio
#

๐Ÿ˜ฉ

#

alright, ima just skadadle

#

have a nice evening

humble silo
ocean quartz
#

Night ๐Ÿฅฒ

humble silo
#

๐Ÿ”ช

wind patio
ocean quartz
#

This guy on this yt video is unironically coding in np++

wind patio
#

not worse than our professors requiring students to write code on paper during exams back like 6-7 years ago

ocean quartz
#

Well, i had to do that as well, it's actually not bad

wind patio
#

not something I would like to experience

#

though I could see how it could filter people who actually know and understand

static zealot
#

and what you have to understand is that whoever corrected it also cared about missing ; in the code on paper

#

or stuff like that

ocean quartz
#

It's pretty common, actually helps with understand how your code works

wind patio
#

not sure on the correct time, just generally a while back

static zealot
#

idk but for me it was one of the shittiest experiences ever

ocean quartz
#

I did C on paper so wasn't pleasant but not terrible as a way to learn though

static zealot
#

like 3 hours I was just double checking to not have missing , or " or ; etc.

wind patio
#

I mean, I could do it right know, without many problems

#

but I don't see me doing it back then

#

when I was just first learning OOP1

static zealot
#

same. but its just the fact that the score from that exam matters for the uni you go in and you have to not miss anything on paper...

#

and for unis, same shit

#

like I Understand that it helps you understand, bcz it helped me too but what you have to understand is that exam can shape people's career since for a lot of uni it is very important and I have to make sure I'm not missing a ; bcz I have to code on paper ....

#

that's pretty shitty if you ask me

wind patio
#

basically handicapping yourself to learn better

static zealot
#

like we were more stressed about not missing a ; than actually writing good or working code

ocean quartz
#

Wouldn't be an issue if it was Kotlin on paper ๐Ÿ˜Œ

static zealot
#

bcz some of the teachers that corrected that stuff are so shit that they can't even let that slide.

static zealot
#

we didn't really have a choice at all xD

#

it was C++ for everyone

ocean quartz
#

Sadly

static zealot
#

like what you have to understand is that actual teachers are correcting those exams, and some don't even know how programming works so they'd just go and write the code in an actual program and if it runs and does what it is supposed to, its fine, otherwise it is not

#

like there were instances where 30 points were missed bcz of 1 missing ;

#

like how stupid can you be? and you're a fucking teacher

#

if I'm not allowed to use a program to write the code, they shouldn't be allowed to use one to test it either

wind patio
#

no semicolon? can't compile, broken, flawed, non-working code

#

code no make sense at all, -1

static zealot
#

yeah. since it was missing a semicolon it was basically not compiling and they didn't even bother adding it or anything to at least see if the student knew what he was doing. they just didn't give him the points at all

hallow crane
#

Hey @old wyvern I am getting a slimjar error

[17:31:01 ERROR]: [org.bukkit.craftbukkit.v1_17_R1.CraftServer] Could not resolve dependency : Dependency{groupId='net.kyori', artifactId='adventure-bom', version='4.9.0-SNAPSHOT', snapshotId='20210820.154058-12', transitive=[]} initializing SpaceChat v2.3.1-SNAPSHOT (Is it up to date?)
dev.spaceseries.spacechat.lib.slimjar.resolver.UnresolvedDependencyException: Could not resolve dependency : Dependency{groupId='net.kyori', artifactId='adventure-bom', version='4.9.0-SNAPSHOT', snapshotId='20210820.154058-12', transitive=[]}
    at dev.spaceseries.spacechat.lib.slimjar.downloader.URLDependencyDownloader.lambda$download$0(URLDependencyDownloader.java:75) ~[SpaceChat-2.3.1-SNAPSHOT.jar:?]
    at java.util.Optional.orElseThrow(Optional.java:403) ~[?:?]
    at ...```
wind patio
#

we had to turn off, legit unplug our second monitors if we had them last semester during covid

eternal compass
#

you're never gonna use a comma in your life from now on lol

#

ruined you

static zealot
#

you don't understand. that guy literally couldn't get into uni bcz of that

eternal compass
#

oh no

static zealot
#

like 30 points from 100 is a lot

eternal compass
#

thats

#

thats awful

static zealot
#

but the thing is, you have a chance to go and complain or whatever and other teachers are supposed to correct and test... it was 4 teachers in total

wind patio
#

aye let's ruin some teens life by making him not able to get into a university since he missed a semicolon, what a dumbass

static zealot
#

and they all didn't give them any points

#

bcz its 2 teachers first

#

and then another 2 after the results were given and you made a complaint or whatever is called

wind patio
#

I mean, if everything else was still graded, then yeah, fair enough

#

but not looking at everything else due to some minor error is quite ridiculous

static zealot
#

like. good actual teachers don't give a fuck about that missing ; or would take 1 point from the total. but that's all...

#

bcz the code was great

wind patio
#

I mean, rules are rules, but there are morals as well

static zealot
#

the thing is, that unfortunately a lot of teachers here should not be teachers. there's teachers that got like 6.5 in their exams and they teach others...

hallow crane
#

Who can I ask about SlimJar issues

wind patio
#

It's easy to miss such a small thing when you're writing an exam, are stressed out because you know it might ruin your chances to get into a university or something

static zealot
#

1 year I had a teacher that we used to teach... like she was supposed to teach use about hardware and also HTTP, CSS, JS ... we taught her...

wind patio
#

classic

static zealot
#

like in 4 years we had 3 different teachers for that subject

#

first 2 was a guy who was giving girls higher grades for no reason and would grade us based on our notebooks and why we have written during class...

wind patio
#

memorize things in head - bad

#

write - good

static zealot
#

one time 2 of us stayed after class to finish something we were working on and literally caught a girl in our class cry and get a 10 for no reason. I Literally went to him and I was like "What about us?" and gave him an upset look and we both got a 10

#

he didn't realise we were still in class

#

xD

#

he left that year lmao

wind patio
#

lol

static zealot
#

and then the teacher that didn't know shit came

#

the other guy came back 1 year later but didn't teach our class anymore

#

yeah. that guy was a bit

#

idk what a good word was for him

#

is*&

#

he was accused of doing things to girls. like touching and stuff

#

that's why he left

ocean quartz
static zealot
#

and when I said "For no reason" we all knew the reason xD

hallow crane
#

I see it in maven central

#

but slimjar doesn't

ocean quartz
#

Bom is a tricky one to deal with

hallow crane
#

any particular reason?

ocean quartz
#

Yeah, it's empty

hallow crane
#

Uhh

static zealot
#

it says 96% off.... who the fuck pays 800 for that?

wind patio
#

heading to bed

static zealot
#

good night

hallow crane
#

How do I fix it

wind patio
#

u2

static zealot
#

yeah I'm gonna watch a movie as well and go to sleep. gn

ocean quartz
#

Wait for Yugi

hallow crane
#

Alright...

static zealot
#

who I should mention hasn't been around for over 24 hours

hallow crane
#

Yeah

static zealot
#

he's been a busy boy xD

#

well. good night

hallow crane
#

I understand the wait and I am fine, but I also have some deadlines to meet. If there's any way I can help to speed up the process, I can do that.

obtuse gale
#

๐Ÿ˜ข goodbye my friend

ocean quartz
#

Apply for OS license!

obtuse gale
#

Yeah it's more likely I get an OS license than me getting back to uni PepeLa

prisma wave
#

Luckperms contributor

forest pecan
#

flex the 1k star repo

south furnace
#

is

#

there anyone her

#

please

#

i really need help with discord

eternal compass
#

and you're not even in the server

half harness
#

lol

obtuse gale
prisma wave
#

Impressive

hard matrix
hallow crane
old wyvern
#

Did you check the updated readme?

#

What you need should be specified in the given example

whole whale
#

hi guys

#

I'm working with playerpoints and deluxemenus

#

but this command seems not working

old wyvern
#

Wrong channel

whole whale
#

Thank you!

#

My bad

hard matrix
#

Does anyone know why .connect is not a known method when trying to send a player to another server? I am trying to make a simple waterfall / Bungee-cord plugin, here is the code its very simple:
https://pastebin.com/pawJtmzi
Thanks!

#

This is the line I am talking about: pluginMessage.connect(player, args[0]);

hollow walrus
#

anyone help with saving a listing?

#
  owner: aa1733ce-0c54-4b42-b966-1b477b696c5f
  uuid: ee85ca19-d585-4423-99f9-0946d402f22a
shop:
  listings:
  - !!me.TahaCheji.data.list.Listing {}
#

im trying to save a listing in a yml file

#

im gunna need it later

#

when i save 1 i cant add another

#

this is how i do it

#
pD.set("shop.listings", shop.getItems());
            pD.save(listingData);```
hollow walrus
#

or how do you get folers in a folder?

hollow walrus
#

because i have a folder and in that folder i have another folder where my yml files are in

hot hull
#

Well yea because you keep overwriting it

hollow walrus
#

then how do i fix that

hallow crane
old wyvern
#

Thats the livrary version

#

plugin version is on top

#

In the plugin block

hallow crane
#

Also, can I remove my relocate stuff in the shadowJar task

#

Or do I have to keep it in both..?

#

maybe

hallow crane
#

oh still says

Could not resolve dependency : net.kyori:adventure-bom:4.9.0-SNAPSHOT:20210820.154058-12 initializing SpaceChat v2.3.1-SNAPSHOT (Is it up to date?)
dev.spaceseries.spacechat.lib.slimjar.resolver.UnresolvedDependencyException: Could not resolve dependency : net.kyori:adventure-bom:4.9.0-SNAPSHOT:20210820.154058-12
old wyvern
hallow crane
#

Okay, thanks.

marble hamlet
#

When I share my screen I have no audio, can someone help?

steel heart
#

Are you developing that?

sweet cipher
#

They are making the next discord

#

All they need to make it work is audio

steel heart
prisma wave
#

oh my god

#

@limpid moth who the hell do you think you are

cinder flare
#

a gamer, obviously

steel heart
#

@prisma wave happy bday!

prisma wave
#

die

steel heart
#

Wow rude

sweet cipher
#

Yeah how dare you shorten it to bday, give him respect, spell the full word.

prisma wave
#

^

steel heart
#

bristermittenday?

prisma wave
#

๐Ÿ˜ฎ

steel heart
old wyvern
#

@steel heart Happy bday

steel heart
#

Actually

#

@old wyvern No

#

Itโ€™s your bday

#

Not mine

#

Happy bday!

prisma wave
steel heart
wind patio
#

Happy natal day, Mister Bristen Mitten. ๐Ÿ˜ฉ

prisma wave
#

please leave me alone

wind patio
#

lol I just saw some raw sql in your about-me page, tell me that's intended

dense dew
#

Happy natal day, Mister Bristen Mitten. ๐Ÿ˜ฉ

prisma wave
#

ah yes

steel heart
#

Happy natal day, Mister Bristen Mitten. ๐Ÿ˜ฉ

prisma wave
#

my website doesnt even seem to be up

#

classic

#

oh nvm

wind patio
prisma wave
#

cloudflare caching

wind patio
#

๐Ÿ˜ฉ

prisma wave
#

soz

#

had to reinstall it the other day

#

i also dont have anything important to say about me

wind patio
#

who does

prisma wave
#

๐Ÿ™ƒ

wind patio
#

hey, so, um, I edit text files by writing funny looking words there and, well, stuff works

prisma wave
#

yeah lmao

#

my github is the only portfolio i need

steel heart
#

"What are monads?"

prisma wave
#

hmmmmmm

steel heart
#

mmmmmmmh

wind patio
#

germ

steel heart
#

๐Ÿ˜ต

old wyvern
steel heart
#

๐Ÿฅฒ

wind patio
#

well, thank you for your PDM, Mister Brister Mitten
finally will relieve some pain of jar shading

steel heart
#

and thanks for knightz api

wind patio
#

cries in 113

prisma wave
#

lmao

#

um

#

someone botted that

wind patio
#

โญ

prisma wave
#

โค๏ธ โค๏ธ โค๏ธ

#

tier 8 at last poggers

static zealot
#

oooo

#

gg

steel heart
#

Gg

prisma wave
#

thanks

static zealot
#

also. 9

#

not 8

#

btw

prisma wave
#

oh yeah

#

lol

#

too bad nobody can see it

#

might just retire from support now

static zealot
#

yeah

compact perchBOT
wind patio
#

๐Ÿ˜ฆ

prisma wave
#

30k ahead already wtf

compact perchBOT
#
Your Current Level Tier

Let's see how far along you are:

Current Tier:

Tier IX

Contains Levels:

80 - 89

static zealot
prisma wave
#

sad

#

you'll probably stay #1 for a long time

static zealot
#

nah. probably not. starting uni soon

prisma wave
#

ah hm

wind patio
#

how does one get a dev role here when all he has is some mediocre plugins

prisma wave
#

oh my

#

well blitz nobody else will overtake us for a long time still

static zealot
#

yeah. probably xD

prisma wave
prisma wave
#

well kind of

#

PPM is a proof of concept

steel heart
#

Lol yeah Ig

half harness
#

๐Ÿ˜ญ

steel heart
#

Itโ€™s sad you removed ur bad ones

#

Or made them private

#

I suppose

static zealot
half harness
#

oh

steel heart
#

Bruh my school starts tomorrow

prisma wave
#

all of the private ones are commissions or things i never plan on working on again

half harness
#

๐Ÿฅฒ

steel heart
#

What hack is this

static zealot
#

damn. that sucks

old wyvern
#

๐Ÿฅฒ

steel heart
prisma wave
#

also i wanted a higher % of haskell on my about me thing so i made a lot of them private ๐Ÿ™ƒ

old wyvern
#

xD

half harness
#

html?!

old wyvern
#

I wanna do something in haskell too

prisma wave
#

HackDex

#

!!

old wyvern
#

But cant find anything useful to actually make

prisma wave
#

or elara v2!!

old wyvern
static zealot
#

how do you send a command as console again? my laptop will crash if I open up the browser rn xd

prisma wave
#

Bukkit.getConsoleSender()

half harness
#

Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "give dkim19375 diamond 1000")

steel heart
#

Make a haskell interpreter in haskell :0

old wyvern
#

I guess yea, hackdex it is

prisma wave
old wyvern
steel heart
#

Bruhhhh

#

๐Ÿคจ๐Ÿคจ๐Ÿคจ

old wyvern
#

I just want to work on something fun and small

prisma wave
#

hackdex doesn't seem small

#

ooh

#

make a lisp interpreter

#

that's fun

static zealot
#

ty @half harness . I knew its in there but couldn't remember the name

prisma wave
#

parsec is really cool

old wyvern
#

True ๐Ÿ˜ฎ

static zealot
#

was looking for sendCommand or something like that

old wyvern
#

hackdex wont have to do anything close to what docdex does

prisma wave
#

i guess so actually

wind patio
prisma wave
#

but hackage api is really poorly documented

#

or at least

#

i couldnt figure it out

#

which might just be a me problem actually

#

but

old wyvern
#

hmm

prisma wave
#

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

old wyvern
#

ill try lisp interpretter in that case

#

But first

prisma wave
#

yesssssssssss

old wyvern
#

we need a name!

prisma wave
#

how about

#

"Lisp"

old wyvern
#

๐Ÿ˜ฎ

#

Genius!

prisma wave
#

Elispra

old wyvern
#

Ellisp

steel heart
old wyvern
#

๐Ÿ˜ˆ Ec-lisp-se

prisma wave
#

๐Ÿ˜Ÿ

steel heart
wind patio
#

I think I wrote there once, but probably didn't go through due to formatting or smt

ocean quartz
#

It went through

wind patio
#

I see. I don't even remember what I wrote lol

#

probably had new and more worthy of showcase projects since

hollow walrus
#

question

#

whats matts gui api

forest pecan
#

Wdym โ€œwhatโ€™sโ€ lol

hollow walrus
#

im creating a market plugin and it takes a lot of guis and i dont want to get the issue with lots of items and

#

i need to create pages

forest pecan
#

PaginatedGui

static zealot
#

so you're asking what's the repository link and name?

#

or what are you asking/

forest pecan
#

Yeah