#dev-general

1 messages ยท Page 280 of 1

serene cave
#

No its piggy

prisma wave
#

Smh

serene cave
#

its piggy

#

smh

steel heart
#

@forest pecan

#

mad sus

static zealot
#

yeah

forest pecan
#

???

#

im just listening

#

lmfao

static zealot
#

I'm 99% sure its pulse

steel heart
#

hmm

obtuse gale
#

who the fuck is craig

serene cave
#

its piggy

#

smh

static zealot
#

100.99%

serene cave
#

its piggypigglet

old wyvern
serene cave
#

im on my alt

#

๐Ÿ™‚

prisma wave
#

if you're piggy

steel heart
#

piggy acknowledges ?

prisma wave
#

What do you think of let

static zealot
#

imagine being the annoying kid xD

serene cave
#

Idk let

#

i know america

steel heart
#

lmao

prisma wave
#

hmm

#

Your answer is acceptable

old wyvern
#

xD

forest pecan
#

wdym

steel heart
#

nob

serene cave
#

should i take away his passport

#

he doesnt deserve to be here

forest pecan
#

NO

static zealot
forest pecan
#

FUCK U

static zealot
#

liar

serene cave
#

you are the liar

steel heart
#

adolf = craig

#

prove me wrong

serene cave
#

i am amierca

static zealot
#

you responded in 4:52:334 minutes

prisma wave
#

lol

#

he is amierca

static zealot
#

not anymore

serene cave
#

yes i lost my presidency in 4:52:334 minutes

static zealot
#

he's just a grumpy old man now

prisma wave
#

๐Ÿฅฒ

serene cave
#

hey

#

im not old

steel heart
#

adolf trum

serene cave
#

im not as old as america

#

so im not old

prisma wave
#

touche

static zealot
#

nah. you're just dead, reincarnated, dead again and now reincarnated

serene cave
#

i dont practice jesus

prisma wave
#

I practice jesus

static zealot
#

jesus doesn't practice you either

serene cave
#

i practice america

steel heart
#

adolf whats ur surname

serene cave
#

ur mom

steel heart
#

adolf ur mom

#

unique af

serene cave
#

I am the president of the united states

steel heart
prisma wave
#

was*

serene cave
#

**am

prisma wave
#

Don't like it

steel heart
#

deal with it :}

static zealot
#

yes deal with it

serene cave
#

Hey

#

do i need to send you to COPPA

steel heart
#

pls do with all respect

quiet depot
#

hello

steel heart
#

lol

serene cave
#

click reserve a table

#

you get fine dining over there

serene cave
#

are you part of america

quiet depot
#

yes ma'am

obtuse gale
#

๐Ÿฉด

static zealot
#

anyone using JDA. is there a way to check if user is administrator?

#

because I can't seem to find in javadocs

serene cave
#

You would work well for our bacon factory

quiet depot
#

d;jda member#haspermission

ruby craterBOT
#
boolean hasPermission(@Nonnull GuildChannelย channel, @Nonnull Collectionย permissions)
throws IllegalArgumentException```
Description:

Checks whether or not this PermissionHolder has the Permissions in the provided Collection<Permission> in the specified GuildChannel.

Returns:

True, if all of the specified Permissions are granted to this PermissionHolder in the provided GuildChannel.

Parameters:

permissions - Permissions to check for.
channel - The GuildChannel in which to check.

Throws:

IllegalArgumentException - If null is provided

static zealot
quiet depot
#

check if they have

prisma wave
#

Too many mittens

quiet depot
#

d;jda permission%administrator

ruby craterBOT
static zealot
#

oh

#

thanks

steel heart
#

epic

serene cave
#

hey the mitten industry is big in america

prisma wave
#

is it?

static zealot
#

damn IJ taking its time today

serene cave
#

guys i am america

quiet depot
#

hell

#

i own the bacon factory

serene cave
#

but

old wyvern
#

hell, he IS the bacon factory

serene cave
#

cannablism

prisma wave
quiet depot
#

it's not like i'm eating bacon

#

i just own the factory

serene cave
#

but

#

i eat ameriacc

#

so does that mean

#

i am cannibalmism

prisma wave
#

what does ameriacc taste like?

quiet depot
#

fat

prisma wave
#

ah yes

serene cave
#

tastes like diabetes

static zealot
#

wait but I can't run the .hasPermission on User. fuck

prisma wave
serene cave
#

no you dont we have the military

#

we can cover u

static zealot
#

oh I assume I can get a member from a user. will look more

prisma wave
#

oh okay

#

great

quiet depot
#

trump

#

aus vs usa

serene cave
#

i dont know indian

#

sry ma'm

prisma wave
static zealot
#

yeah found it

prisma wave
quiet depot
#

australia versus united states of america

static zealot
#

Guild.getMemberById

#

there's more nut just by id

serene cave
#

hey

#

america is fatter

#

america squash australia

#

ez calp

onyx loom
#

australia good usa bad

quiet depot
#

butt

#

we have drop bears

#

and desert

serene cave
#

but our butt fat

prisma wave
#

Literally any country is better than usa

steel heart
#

wow

old wyvern
#

xD

serene cave
steel heart
#

objection

serene cave
#

i have missle

#

you want missle

prisma wave
#

ok :)

serene cave
#

missle go boom boom

onyx loom
prisma wave
#

obviously

old wyvern
#

Lee

quiet depot
#

is mars going to have countries

old wyvern
serene cave
#

no but the america does

quiet depot
#

they should let the internet name them

#

country mccountryface

serene cave
#

america

prisma wave
#

That always goes well

#

Federated States of HelpChat

old wyvern
#

First one being Musk-at

serene cave
#

hey

quiet depot
#

should copy america over

#

but instead of states having names

#

america 1

#

america 2

#

america 3

serene cave
#

yes

quiet depot
#

all the way to 50

serene cave
#

I agree

prisma wave
#

Maybe we should leave america behind

old wyvern
#

^

prisma wave
#

would anyone miss them?

steel heart
#

yes

serene cave
#

hey

#

you would miss the missles

prisma wave
#

would we though

serene cave
#

yes

steel heart
#

not rly

old wyvern
#

Fake news

quiet depot
#

is google going to create a new service called google mars

steel heart
#

lol

old wyvern
#

o.o

serene cave
#

they should make

#

google america

quiet depot
#

yes

prisma wave
#

Yes

old wyvern
#

Maybe we should consider moving to one of Jupiter's moons

#

Like...

prisma wave
#

Good idea!

serene cave
#

hey indian man

prisma wave
#

But which one?

serene cave
#

play some music for me

old wyvern
#

ELARA

prisma wave
#

:O

quiet depot
#

chEif

#

hate to break it to you

#

but elara aint it

#

the moon

onyx loom
quiet depot
#

not the language

prisma wave
serene cave
#

hey

prisma wave
#

This looks perfect

old wyvern
#

^

#

The perfect abode

#

Peace

prisma wave
#

sounds great

#

idk what ur on about pig

serene cave
#

hey

#

pigs are smart

old wyvern
#

Elara should be used on the ship to transfer humans to their new world

quiet depot
#

should've called elara imperfect spheroid

serene cave
#

make america great again

quiet depot
#

trump ur probs gonna die in the next 4 years

#

ever thought about that?

prisma wave
#

lmao

old wyvern
#
import elara/space/ship

let ship = Ship()

ship.launch()
prisma wave
#

๐Ÿคข

#

Wait

#

Wrong emoji

old wyvern
#

๐Ÿ˜ฎ

prisma wave
#

๐Ÿ˜ *

old wyvern
#

^

prisma wave
#

although

#

ship.launch clearly has side effects ๐Ÿ˜ฉ

serene cave
#

i will die when america dies

#

we are best friends

old wyvern
quiet depot
#
let launch() => {
  // todo: launch
}```
old wyvern
#

Cant be pure piggy

#

you cant change the ship's state in that function

prisma wave
#

launch :: Ship -> IO ()
๐Ÿฅฒ

old wyvern
#

MONADDDS

serene cave
#

import elara/space/america

let ship = America()

ship.launch()

prisma wave
#

Love it

serene cave
#

see donald trump can use twitter to code the nasa

quiet depot
#

yeah tf why don't we just move america

prisma wave
#

america.launch() ๐Ÿ™‚

old wyvern
#

xD

serene cave
#

hey

#

do i need to send you to coppa

prisma wave
#

america.location = void

serene cave
#

hey

#

shush

#

dont say that

prisma wave
#

sorry ๐Ÿ˜”๐Ÿ’•

static zealot
#

:smiling_face_with_3_tears:

serene cave
#

im going to fire the missiles

old wyvern
#
let eval(Country c) => {
   if c.name == "America" => None
   else => Some c
}
serene cave
#

3

#

2

#

0

#

fire

old wyvern
#

MoNaDs

prisma wave
#

๐Ÿคค

old wyvern
#

๐Ÿ˜‹

serene cave
#

yea you better be drooling on the missile

#

cause its comi ng towards u

#

!!!!

prisma wave
serene cave
#

intersdsaurting words of cashdice

prisma wave
serene cave
#

wait a minute

#

@ symbol gives me option

#

what if i

#

oh shit

compact perchBOT
#
๐Ÿ”จ The hammer has been swung.

@serene cave Banned!

serene cave
#

NOononooOo

#

lmfao

static zealot
#

?

serene cave
#

Ahm

#

I meant

#

i am america

static zealot
#

did you just annoy him Piggy?

#

I was like who the hell writes in all channels xD

prisma wave
#

i am america

old wyvern
#

This is america

prisma wave
#

๐Ÿ™ƒ

forest pecan
#

i am

#

america

steel heart
#

lol

old wyvern
#

xD

forest pecan
#

lmao we are all america

steel heart
#

I KNEW IT

forest pecan
#

what?

prisma wave
#

we are all america on this blessed day ๐Ÿ˜Š

forest pecan
#

i was just saying we were all america

steel heart
#

yugi is donald trump

old wyvern
#

Dammit

#

you found out

#

๐Ÿ˜ฌ

steel heart
#

at last

prisma wave
#

o

serene cave
#

Yep

#

its me

#

Im Yugi

#

I was the one

old wyvern
#

deffo

serene cave
#

See

prisma wave
#

I never knew Donald trump knew so much about Monads

old wyvern
#

I have 4 hands

serene cave
#

hes typing

steel heart
#

lol

serene cave
#

but im now

old wyvern
#

Actually artificially grew two arms and attached it to myself to type as 2 persons today morning for my new personality, i.e, trump man over here

serene cave
#

Yes im Yugi

#

see

#

im not typing at my other account

#

right now

#

i am typing on this one

steel heart
#

true

serene cave
#

hes capping he aint got 4 lims

#

he just tryjing to make up a story

forest pecan
#

yo

#

trumps got a chill man

serene cave
#

the fuck you say to me you little bitch

static zealot
#

Pulse you ran out of content?

#

xD

forest pecan
#

isn't that from ninja or smthing

#

lmfao

serene cave
#

im tyler blevins

static zealot
#

seems like everyone is dead. so bye

steel heart
#

no

serene cave
#

hey

#

@static zealot

#

stay awake

#

in class

#

this is america calss

old wyvern
#

gn peeps

static zealot
#

nah I ain't going to sleep. I'm learning to use JDA. xD

serene cave
#

hey

#

i am the law

steel heart
#

no

obtuse gale
#

Set<User>
}

class User{
Long id;
Set<Ticet>
#

How would I find all tickets by ID of user with sprong

serene cave
#

you dont

forest pecan
#

very funny

obtuse gale
#

conclure, pulse

forest pecan
#

Hey

obtuse gale
#

๐Ÿ‘‹๐Ÿฟ

forest pecan
#

Yeah

#

they all here

#

fefo too

obtuse gale
#

thats where he went

forest pecan
#

Mhm

copper kayak
#

yoo

forest pecan
#

Hi lol

copper kayak
#

sup.

regal gale
#

Hi pink bois

forest pecan
#

Oh dam you boosted already

#

nice

copper kayak
#

im the 30 booster lmao

#

LVL3

forest pecan
#

yeah sick

#

when you are a booster you can ask a mod

#

for a xp booster

copper kayak
#

whts dat?

forest pecan
#

basically its a global xp booster

static zealot
#

=multi

compact perchBOT
#
Your XP Multiplier:
forest pecan
#

where everyone gets boosted xp when they chat

#

and stuff

copper kayak
#

cool

#

so also sorry i was kindof being a btch in the other server i am just lowkey mad at the fact thaty its taken about a year and ahalf to just contact a java developer who could help make my plugin for free or even for pay...

static zealot
#

hmm how do you make a player delete their own message with JDA?

forest pecan
#

nah its fine

#

tbh you had the right to be upset there

#

spigot discord is like a war zone

copper kayak
#

i mean lowkey true

#

dat

forest pecan
#

Yea

copper kayak
#

oh btw you develop plugins yea? can i pitch an idea to you?

#

also in pm's of course

forest pecan
#

Yeah I do

#

I'm busy with a current media plugin atm

#

but you can still pitch me an idea

#

if u want

copper kayak
#

tysm!!!!

obtuse gale
#
public static String FromInteger(@NotNull Integer Integer) {
    if (Integer == null) throw new IndexOutOfBoundsException("Number");
    String String = java.lang.String.valueOf(Integer.toString()).toString();
    return java.lang.String.join("", new StringBuilder(String).toString().split(""));
}
steel heart
#

die lol

obtuse gale
#

No

#

Bruh

#

@obtuse gale hi c:

#

Fefo\

#

hi human

#

imagine\nif escape codes worked in discord

#

lol dumcord works as it pleases

#

you can use escape codes for " cahracters

hallow crane
#

who is expert in PDM

obtuse gale
#

what's the question

hallow crane
#

Im getting an error

obtuse gale
compact perchBOT
#
FAQ Answer:
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait

Source

hallow crane
#

I didn't ask to ask

#

I asked if someone was an expert in pdm

#

because BM is offline

half harness
#

ยป Give the helpers some details

obtuse gale
#

@surreal quarry fingerguns

#

show whole exception

#

?paste

compact perchBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โ€ข HelpChat Paste - Usage
โ€ข Hastebin

obtuse gale
#

show heretere you aren't using HDL

hallow crane
#

what is HDL

obtuse gale
#

another dependency loader

surreal quarry
#

wait whats the pdm issue

#

im not an expert but i might be able to tell you the issue

hallow crane
#

not anymore, im trying hdl

surreal quarry
#

gross

#

you should use pdm fingerguns

hallow crane
#

kidding, I thought I fixed it but I didnt

surreal quarry
#

also i think the whole exception was relevant

hallow crane
#
[21:25:22 ERROR]: Could not load 'plugins/MyPlugin-2.0.0-SNAPSHOT.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: my/plugin/code/api/thing/ClassThatNeedsToBeLoaded
#

The line I gave is the only relevant line because the rest of the information in the exception doesn't provide any new information

#

It's just tracing back to the java classloader

surreal quarry
#

thats not a pdm issue

hallow crane
#

Yeah, that code is being loaded through PDM

#

Apparently not though, since it's not being downloaded

surreal quarry
#

send your build.gradle

hallow crane
#

it's big

#

?paste

compact perchBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โ€ข HelpChat Paste - Usage
โ€ข Hastebin

surreal quarry
#

thats fine

surreal quarry
#

im gonna assume that the pdm 'blah' is actually the right dependency and the repository is correct even though you have removed it.
when you build, look through the whole build log and see if pdm gives an error about the dependency not being found

hallow crane
#

yeah repos correct. all builds fine

#

It did

#

Wait

#
No repository found for dependency Artifact{groupId='this-is-the-blah', artifactId='blah', version='1.0.0-SNAPSHOT', repoBaseURL='null'}
surreal quarry
#

yea

hallow crane
#

Although, there is a repo, and it does work

#

how do I specify

surreal quarry
#

without having the link to the repo and the actual dependency i can't help much further unfortunately

#

you don't, if the dependency is in a repository you have listed, it will find it

#

@hallow crane your maven repo is empty

#

there's no artifacts published here

hallow crane
#

I just cleared about 2 minutes ago to try and re-publish

surreal quarry
#

well thats why it can't find the repository

#

you don't actually have the dependency published

hallow crane
#

The error was happening before I cleared it

#

lemme run the job and try again

surreal quarry
#

The only time i've ever experienced that message is when my repo is down or i haven't published the dependency

hallow crane
#

job slow

hallow crane
#
Execution failed for task ':pdm'.
> java.lang.StackOverflowError (no error message)
surreal quarry
#

weird

#

could you run your build with --scan and send it

hallow crane
#

Yeah

surreal quarry
#

hmm

#

im not sure why thats failing

hallow crane
#

Repo looks all good. But after debugging I can confirm it's happening on my personal repo dependency

surreal quarry
#

maybe wait for BM

#

ive never seen that

hallow crane
#

alright, thanks for taking a look

surreal quarry
#

yea sorry

#

if i had more time i would look at the pdm source but im a bit busy

obtuse gale
#

ngl hdl looks kinda cool

hallow crane
#

big disagre

#

HDL looks fine but i dont like how u have to define in code

copper kayak
#

photoshop

fervent python
#

except that

#

oh wait wrong channel fuck

surreal quarry
#

yea pdm's design is much better

steel heart
hot hull
#

@quiet depot Is there an IJ setting so it always generates the class as final?

quiet depot
#

@hot hull look at file templates

hot hull
#

Gucci, thanks

jovial warren
#

is that actually a thing?

#

wow IntelliJ likes to make your life easier

obtuse gale
#

can i make it so the json that it produces is formatted nicely instead of just one line

#

or is that not good for whatever reason

quiet depot
#

d;gson gsonbuilder#setprettyprinting

ruby craterBOT
#
public GsonBuilder setPrettyPrinting()```
Description:

Configures Gson to output Json that fits in a page for pretty printing. This option only affects Json serialization.

Returns:

a reference to this GsonBuilder object to fulfill the "Builder" pattern

obtuse gale
#

jackson

quiet depot
#

no

#

maybe

#

probably

#

but idc

#

use gson

#

it's better

obtuse gale
#

well im using this with spring

quiet depot
#

with a will there's a way

stuck harbor
#

jsckson bad

obtuse gale
#

im not even touching jackson im just returning a Set<Thing>

stuck harbor
#

i used to use jackson

#

very bad

#

google gson butter

quiet depot
#

btw aj when i say gson is better

#

purely subjective

steel heart
#

thing is, gson makes everything so ridiculously easy

#

let alone it's undeniably sophisticated

jovial warren
#

thought of creating a standalone queueing system and was thinking of using Spring for the standalone queue server, is that a bit overkill?

#

also, converting from Kotlin DSL to Groovy DSL is annoying lol

stuck harbor
#

mhm

steel heart
#

kotlin dsl is better

#

nocap

jovial warren
#

if you pick Kotlin and Gradle in Spring Initializr, it gens you a Kotlin DSL project

steel heart
#

ye

jovial warren
steel heart
#

lol

#

I mean both are good

jovial warren
#

I usually use Groovy DSL though

steel heart
#

I prefer kotlin dsl as it's more pedantic

jovial warren
#

all that @prisma wave "DSL bad" has got to my head I think

stuck harbor
#

lol

prisma wave
#

kotlin dsl sucks

steel heart
#

wow dude

#

it does not

prisma wave
#

it's ugly

steel heart
#

thats the main reason why I learnt kotlin

prisma wave
#

why...

steel heart
#

because it's fucking nice

prisma wave
#

it's really not

#

the kotlin language is nice

#

but that's hideous

steel heart
#

not at all

#

look

#

how disgusting

#
void setup(String... names) {
    names.each {
        include(":$it")
        findProject(":$it")?.with { itt ->
            itt.projectDir = file("modules/${it}")
            itt.name = "${rootProject.name}-${it}"
        }
    }
}
#

in groovy

#

would look significantly more pretty in kotlin I think

jovial warren
#

someone tell me how kotlinCompile works in Groovy DSL lol

#

I seem to not be able to remember

#
kotlinCompile {
    kotlinOptions {
        freeCompilerArgs = ["-Xjsr305=strict"]
        jvmTarget = "11"
    }
}
```I got dis but it says it can't find `kotlinCompile`
steel heart
#

Idk I just use kotlin dsl

#

you need the gradle plugin

#

if you dont already have it

jovial warren
#

yeah I have it

steel heart
#

uhm

#

then that's weird

jovial warren
#

I think Spring Initializr wasn't designed to be used in a module context

steel heart
#

yeah

stuck harbor
#

mmm jvmTarget

steel heart
#

-Xjsr305

#

is that the google annots?

jovial warren
#

something Spring puts there that's actually kinda useful

#

lemme just remind myself of what it does

steel heart
#

ok sure

#

remind me as well

jovial warren
#

-Xjsr305=strict employs strict nullability apparently

steel heart
#

mhm

#

sounds good

jovial warren
#

String is yeah

#

java.lang.String

#

Integer is the class form of the primitive type int

#

because it doesn't need to be

#

you know how a string actually works right?

#

String is just a frontend for an array of characters

obtuse gale
#

String is just a char[] with some fancy methods

#

Just like Integer is an int with fancy methods

jovial warren
#

if you learn C, you'll find out how this works

#

is String final?

steel heart
#

imagine if we could inject classes into java.lang

#

lol

jovial warren
#
if (answer == "yes") {
    answerToQuestion = "yes"
} else {
    answerToQuestion = "no"
}
jovial warren
steel heart
#

or rather create ones

#

and then just forcibly put them into java.lang

#

meaning

#

no imports

jovial warren
#

you can create classes in java.lang

#

just create classes with the package java.lang

steel heart
#

I am pretty sure a LinkageError or smtng will be thrown if it finds a class with that package

jovial warren
#

the JVM doesn't differentiate between the JDK and your custom java.lang class

#

yeah it probably will

#

to the JVM, all classes are in the same space

obtuse gale
#

Why is java.lang implicitly imported thonk

steel heart
#

I wonder why

jovial warren
#

it's not

#

certain classes are

obtuse gale
steel heart
#

Every class in java lang is iirc

#

Think it's stated in oracle docs as well

jovial warren
#

what I meant is the package isn't imported, the classes are

#

:wesmart:

#

ffs god damn you cube

obtuse gale
#

Well yes I know, that's what I meant

#

But why

steel heart
#

wait

#

I thought fefo was BM

#

lol

#

bruh

obtuse gale
#

LMAO

hot hull
#

How could you have mistaken that..

#

BM has a smexy color, where as Fefo doesn't

steel heart
#

the ...Mister Britten typoing

#

thing

obtuse gale
#

=joke

compact perchBOT
#
Hey son,

Why don't you find hippopotamuses hiding in trees?
They're really good at it.

jovial warren
#

ffs

prisma wave
jovial warren
#

yeah

#

pointers weird

prisma wave
#

nah it kinda makes sense

#

you cant tell the string length tho ๐Ÿ˜ญ

#

without \0

prisma wave
obtuse gale
#

An array isn't an array, an array is just a pointer to the first element in the array

#

Boom

prisma wave
#

true

hot hull
#

Damn you spigot and your shitty config stuff

regal gale
#

๐Ÿ‘€

hot hull
#

@ocean quartz How fucked would it be to add a auto update on an interval function to mf gui

distant sun
#

runnable and call update() ?

ocean quartz
#

Didn't want to mess with it because of how easy it is to do it yourself and how hard it is to implement internally

steel heart
#

hmm could set up an internal scheduler using a scheduledexecutorservice to just schedule tasks then the given command would be wrapped into BukkitScheduler#runTask or smtng

forest pecan
#

wtf

#

im getting Cannot resolve method 'send'

#

but the method is clearly

#

define in the class

#

with public visibility

#
    public void send(final int[] data) {
        long time = System.currentTimeMillis();
        long difference = time - lastUpdated;
        if (difference >= delay) {
            lastUpdated = time;
            ByteBuffer dithered = type.ditherIntoMinecraft(data, videoWidth);
            library.getHandler().display(viewers, map, width, height, dithered, videoWidth);
        }
    }
                player = new VLCJIntegratedPlayer(getPlugin().getLibrary(),
                        file == null ? extractor.getUrl() : file,
                        player.getWidth(),
                        player.getHeight(),
                        callback::send);

Constructor is correct, callback is:

ItemFrameCallback callback = new ItemFrameCallback(getPlugin().getLibrary(), null, 0, 5, 5, player.getWidth(), 0, dither);

but this part of VlCJIntegratedPart constructor:

--> callback::send

Tells me this error: Cannot resolve method 'send'

#

what the fuc

steel heart
#

that does send return

#

and what is the last param of new VLCJIntegratedPlayer(getPlugin().getLibrary(),
file == null ? extractor.getUrl() : file,
player.getWidth(),
player.getHeight(),
callback::send);

obtuse gale
#

Vlcjwhatever constructor?

steel heart
#

kekw

obtuse gale
#

Is it an IntegerArrayConsumerVoidSupplier?

forest pecan
#

Which?

#

the callback?

obtuse gale
#

Yeah

forest pecan
#

well that's full code

#

including the callback

steel heart
#

Callback#send

forest pecan
#

oh oops

steel heart
#

you may wanna send that class as well

forest pecan
#

yea

#

i sent the wrong one

#

lmao

#

i dont understand

#

is intellij just being gae

obtuse gale
#

Does it compile though?

forest pecan
#

well intellij wont compile if theres an error

steel heart
#

which line do u use the

new VLCJIntegratedPlayer(getPlugin().getLibrary(),
                        file == null ? extractor.getUrl() : file,
                        player.getWidth(),
                        player.getHeight(),
                        callback::send);
``` ?
obtuse gale
#

False

obtuse gale
forest pecan
#

for me i cant run any shit

distant sun
forest pecan
#

i have to fix all errors

#

before i can run it

#

or do you mean like compile like maven clean package

#

or gradle build

obtuse gale
#

Not all the time, if IJ is being stupid it's IJ being stupid but gradle/maven will still run regardless

steel heart
#

using both gradle and maven???

forest pecan
#

no

#

just examples

forest pecan
#

its inside my command class

#

its huge

#

here you go tho:

steel heart
forest pecan
#

line 80 and 86

obtuse gale
#

I think I know what the issue is

distant sun
#

how did I forgot about method reference in cases like toArray(Object[]::new) lol

forest pecan
obtuse gale
#

You're trying to use a ternary to return either a File or a String

#

file == null ? blah : file

#

That's a no no

forest pecan
#

thats not it lmfao

#

i have constructors

#

for both cases

#

and also the error

obtuse gale
#

That is it

forest pecan
#

only highlights the method reference

distant sun
#

^

#

you need an if / else

obtuse gale
#

Believe me that is it

distant sun
#

It makes sense in your head but not for java

obtuse gale
#

The return type of a ternary has to be one only

distant sun
#

big brain fefo

obtuse gale
#

And when you mix crap like that it will tell you the wrong stuff

forest pecan
#

that was it lmao

obtuse gale
#

Mhm

forest pecan
#

although it gives the wrong error

#

like wtf who gives a method not found error

#

for this

steel heart
#

well IJ does that in several other scenarios

#

when you got multiple errors, it will point out other weird stuff as well

quiet depot
#

jesus fuck that was not worth the effort

#

finally replaced strings with byte arrays

#

saved about 30mb with 3 javadocs loaded

forest pecan
#

30 megabytes?

quiet depot
#

of ram

forest pecan
#

oh

distant sun
#

strings from your code or?

quiet depot
#

see those byte arrays

#

they used to be strings

prisma wave
#

ahh we did the same optimization in elara

distant sun
#

nice p1g

quiet depot
#

they're all ascii too

#

kinda wack how troublesome it is to integrate your own hashing function into hash maps/sets

#

had to use trove4j in the end

forest pecan
#

What is @NonNls

#

lmao

quiet depot
#

d;nonnls

ruby craterBOT
#
public interface NodeList```
NodeList has 2 methods, and  1 implementing classes.
Description:

The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. NodeList objects in the DOM are live.

The items in the NodeList are accessible via an integral index, starting from 0.

See also the Document Object Model (DOM) Level 3 Core Specification.

quiet depot
#

where's it from

steel heart
#

its jetbrains annots

forest pecan
#

import org.jetbrains.annotations.NonNls;

quiet depot
#

o i need to add those to docdex

steel heart
#

yeah

#

google jsr305 also

forest pecan
#

If a method parameter is annotated with NonNls, the strings passed as values of this parameter are not reported as requiring localization. Also, if the parameter of a property setter method is annotated with NonNls, values of that property in UI Designer forms are never highlighted as hard-coded strings.

steel heart
#

would be epic

forest pecan
#

yeah

quiet depot
#

which is 305

#

is that findbugs?

forest pecan
#

add the whole maven central repository

#

lol

steel heart
#

yeah

#

the findbugs thing iirc

quiet depot
#

well conclure

compact perchBOT
steel heart
#

ok sure bud

#

should I mention both?

quiet depot
#

yes pls

steel heart
quiet depot
#

make sure to read the top post in that thread

#

there's crucial information u need to provide

forest pecan
#

Wait Processing is in here

steel heart
#

ye I c ๐Ÿ‘

quiet depot
#

yeah someone asked for it cuz they wanted to use the bot in their college server, and their college uses processing

forest pecan
#

processing was the lib i learned before i learned java

#

well

quiet depot
#

I learnt greenfoot

forest pecan
#

do you get the average projects like

#

"make a circle!"

#

"color it red!"

quiet depot
#

no

forest pecan
#

something like that at the beginning

#

lmao

quiet depot
#

greenfoot is for games

forest pecan
#

oh that was for me

#

Yeah

onyx loom
#

greenfoot ๐Ÿ™„

#

had to do that for secondary school

quiet depot
#

feels bad lol

onyx loom
#

very

quiet depot
#

I was teaching kids how to use greenfoot in primary school

onyx loom
#

primary school ๐Ÿคจ

forest pecan
#

i find that a lot of high school programming classes are actually horrible

onyx loom
#

yes

forest pecan
#

they don't teach static abuse and how its bad ;^)

#

or that stuff

quiet depot
#

@steel heart thx

#

@obtuse gale did you have any luck messing with docdex's algorithm?

forest pecan
#

What the fuck is my math teacher telling me

#

???????

#

just

#

literally

#

square root

steel heart
forest pecan
#

and make right side 1 and -1

quiet depot
#

why the fork conclure?

#

u planning on adding something?

obtuse gale
#

And it's not even 12 yet ๐Ÿฅฒ

quiet depot
#

what bug?

obtuse gale
#

Lemme reference an issue

steel heart
#

uhm no, I just thought something could look slightly better

obtuse gale
quiet depot
#

ah yeah

obtuse gale
#

Was always dismissed as "make sure the user has all the privileges blah blah"

quiet depot
#

that issue sounds familiar

#

did it exist in 2017?

#

I think that's when I last used luckperms

obtuse gale
#

Mm if it used the same method to check for tables existence then yes lol

#

I literally had to change one thing from one line lol

#

But it took a long while to debug because it was someone else who had the issue, and then I was able to repro

hallow crane
#

That issue is a luckperms issue, I've seen it happen to perfect systems

surreal quarry
#

Now the issue is no more

hallow crane
#

fix?

surreal quarry
#

Because of changing a null to a getContents() fingerguns

#

Fefo PRed a fix

hallow crane
#

ah nice

random cove
#

so... can whoever coded Barry add a streak leaderboard?

prisma wave
#

lol

steel heart
#

Barry coded Barry @random cove

old wyvern
#

Sentient

jovial warren
#

anyone here know how Thymeleaf works?

#

I'm trying to do the simplest thing (use <link> to add external CSS to a webpage) and it just doesn't work

#

I tried th:href="@{css/master.css}" in the link (what I found on Google) and still nothing

digital mortar
#

I need help, on armor it displays Armor toughness, i want to remove that effect ๐Ÿ™‚ any help?

remote goblet
#

Add the HIDE_ATTRIBUTES Item flag @digital mortar

digital mortar
#

but will that remove the effect?

remote goblet
#

no

digital mortar
#

ah but is there a way to remove it?

remote goblet
#

i assume so

digital mortar
#

if you find out can you @ me? ๐Ÿ™‚

remote goblet
#

Change the attribute modifier armor_toughness bingShrug

#

if we're talking editing it in spigot plugin

digital mortar
#

im not editing im just wondering if any of you figured it out ๐Ÿ˜›

remote goblet
#

pretty much yeah

digital mortar
#

i want to disable it bc armor takes forever to break lel

remote goblet
#

yeah well that would be your way to go

ocean quartz
#

@hot hull Did you see my reply?

hot hull
#

Nein

ocean quartz
#

Didn't want to mess with it because of how easy it is to do it yourself and how hard it is to implement internally

hot hull
#

Ah I see

#

Well I mean yea, fair enough

static zealot
#

what do you call a person that made a request? My brain is dead rn.

prisma wave
#

requester

static zealot
#

ah is requester fine?

prisma wave
#

probably

static zealot
#

ty

half harness
winter iron
#

Any hosting recomendations for servers in US-East or around that area like canada

heady birch
#

IRequestContextOrigin

#

Factory.newXXX
IllegalArgumentException: There are no employees!

hallow crane
#

gamestop ^

winter iron
#

Would i be good running a small network on OVH VPS?

half harness
#

isn't ovh expensive?

half harness
#
public void getNull() {
    return null;
} 
public void variable = getNull();
```:P
hot hull
#

void method dkim..

half harness
#

๐Ÿคฃ

surreal quarry
#

you had one job

onyx loom
#

๐Ÿฅฒ

winter iron
#

if u go for a dedicated server then i think its a bit pricy

#

but thats to be expected

static zealot
#

dedicated servers are nice tho

surreal quarry
#

Brister Brister

winter iron
#

Ye

#

i do want to get a dedi in the future

#

but right now i think the VPS is enough

static zealot
#

I mean if its small network you can go for cheaper dedis. Piggy gave me link to a store that sells old OVH servers.

#

don't remember the name tho

winter iron
#

๐Ÿ˜ฆ

static zealot
#

found the message

#

soyoustart

winter iron
#

in terms of RAM, does going from DDR3 to DDR4 affect server performance

#

massively?

half harness
#

not massively

winter iron
#

wtf are Xeon D processors

#

i aint even seen them before

static zealot
#

idk.

winter iron
#

Damn that GAME-3 dedi looks really nice

static zealot
#

I personally host at OneProvider. they're cheaper but not that good.

winter iron
#

What about using SSD's over hard drives

static zealot
#

it will improve quite a bit for open world gamemodes

#

like survival

winter iron
#

ye thats what i was thinking

#

we have 2 servers

#

mine is basically just a small map

#

and my friends is towny

obtuse gale
#

That one is a very drastic improvement

static zealot
#

its a dedi

#

for an mc server

#

not a personal pc

winter iron
#

hmm

obtuse gale
#

oh

onyx loom
#

far better yes

#

amd literally dominates intel with their threadripper/epyc lineup

#

threadripper is more for workstation than servers tho

#

nvidia lol

static zealot
#

no amd did not win anything.

#

only money. because that's what they want just like intel

#

they're not the hero in this story

onyx loom
#

all companies want money?????????

static zealot
#

yeah but people start treating them like they're some kind of heroes for beating the "GIANT" that is intel

#

please do your research. Just because they have a few cpus that beat intel's at performance/cost doesn't mean they're all better

lunar cypress
#

AMD are not some sort of underdog

static zealot
#

not everyone will buy an i9

#

or whatever the amd alternative is

#

for that

lunar cypress
#

AMD's CPUs are definitely better right now

#

overall

static zealot
#

yeah newer ones.

onyx loom
#

its great that there is competition within the consumer market now

static zealot
#

yeah. that's what I want to hear but when consumers start threating them as heroes

#

that dissapears

lunar cypress
#

no company should be worshipped, full stop

onyx loom
#

i dont think anyone is worshipping them here

#

all efe said was that amd currently has the better products, lol

static zealot
#

and I reacted like this because I've seen people that actually worship them like heroes. it goes same for nvidia

lunar cypress
#

I just wanted to note that

static zealot
#

in my opinion no one should have the power (money) that some have

lunar cypress
#

that should be common sense

static zealot
#

yeah I'm afraid its not for everyone.

#

welp anyways. its time for sleep. gn

wind patio
#

uh, who do I contact for dev role if I have a private repo on github?

obtuse gale
#

@quiet depot I think

prisma wave
#

oh right

#

yeah

static zealot
#

anyone awake for some COC?

half harness
#

awake?

#

It's 5:39 pm for me*

static zealot
#

well for you

half harness
#

tru

ocean quartz
#

Dkim, there is a thing called time zones

static zealot
#

but you're not the center of the universe

#

and not that important either

half harness
#

what time is it for u

static zealot
#

1:40 am

half harness
#

๐Ÿ‘€

static zealot
#

so if anyone wanna join I ain't pinging because I know people sleep

#

wait its only 10:40 for BM so @prisma wave @onyx loom

#

@ocean quartz you're going to sleep or can you play?

half harness
#

i afk

obtuse gale
onyx loom
#

indeed it is

#

but not playing

static zealot
#

I was

#

but then I came back

lunar cypress
#

welp anyways. its time for sleep. gn
๐Ÿค”

static zealot
#

Yes. and I wake up from the sleep I never went to

prisma wave
#

yeah soz cba rn

#

tomorrow

ocean quartz
copper mason
#

Hello, I am trying to redirect a vanilla minecraft command to another command in my plugin

#

Is this possible and, if so, how would I go about doing so?

frigid badge
#

plugin commands automatically have a higher priority than vanilla commands iirc

copper mason
#

Alright so lets say I want to overwrite /locate village to point to the nearest outpost I pick

#

I just register a command for /locate

#

?

surreal quarry
#

Assuming Lemmo is correct, yes

#

just write a command with the name locate and it will override the default

copper mason
#

Thanks to both of you. No idea how happy that makes me ๐Ÿ™‚

surreal quarry
#

np

surreal quarry
#

@wind bolt

wind bolt
#

Merged

#

Lol

surreal quarry
#

lol

forest pecan
#

Sometimes you must face harsh reality

surreal quarry
#

gets banned for abusing the bot

forest pecan
#

lmao

#

"Don't abuse our bots features or commands."

#

its not abusing if its true ๐Ÿฅฒ

wind bolt
#

@surreal quarry for some reason

#

It doesn't recognize my local packages anymore

surreal quarry
#

wdym local packages

#

like things in mavenLocal

#

?

wind bolt
#

No

surreal quarry
#

then wdym local packages

tender cargo
#

is it still possible to make python discord bots play music from youtube?

#

i watched like 5 videos from 2020 around January and it all said that YouTube dll or something was discontinued so they cant anymore. is this true?

regal gale
#

Would you prefer:

if (statement) {
  //stuff
} else {
  //another stuff
}```
or ```java
if (statement) {
  //stuff
}
else {
  //another stuff
}```
hallow crane
#

a

shut tide
#

i need help

compact perchBOT
#

There is no time to wait! Ask your question @shut tide!

hot hull
shut tide
#

my mc launcher i snot working

hot hull
#

Reinstall it Dante

shut tide
#

i did

#

and nothing

#

it wont laod

#

at all

jovial warren
#

or even worse, c...```java
if (statement)
{
// stuff
}
else
{
// other stuff
}

obtuse gale
#

allman bad

jovial warren
#

I agree

jovial warren
#

alright then, mine is D

jovial warren
obtuse gale
#

sx did ditn he

jovial warren
#

I think he probably still does

hot hull
#

Sx did yes

jovial warren
#

sxtanna uses allman in Kotlin

#

allman and Kotlin are 2 things that do not go together

#

especially because the official conventions are based around K&R OTBS (one true brace style)

#

also, anyone who writes these as well ```java
if (statement)
// stuff

#

it should be on the same line or in braces

#

also, don't you just hate it when someone submits a PR to a project you're a collaborator on and they change all the formatting to their own style?

#

and you just sit there like

distant sun
#

true

#

k&r and 4 spaced indent is the only style that should be accepted

jovial warren
#

just reviewing a PR for Iridium Skyblock and this guy's turned single-line if statements into these```java
if (statement) {
return;
}

distant sun
#

Im not a fan of single-line if statements

#

I like my braces

jovial warren
#

yeah I don't mind them, but it's piss annoying when someone starts unwrapping them for no reason