#dev-general

1 messages ยท Page 247 of 1

jovial warren
#

actually yeah that won't work, since this method is used in other places

#

I am using join

#

but JUnit still can't seem to see the error that clearly gets thrown in the console

prisma wave
#

i think as a workaround you could probably use get(), check for ExecutionException and rethrow

lunar cypress
#

^...yeah

#

Rethrow the cause

jovial warren
#
try {
    final Player player = tmp4j.getPlayer(-1).get();
} catch (final ExecutionException | InterruptedException exception) {
    // then what here?
}
```like this?
lunar cypress
#

Or map it to some distinct value in the case od an exception

#

You're not interested in InterruptedException

#

And throw the cause

jovial warren
#

no but it has to be caught there

lunar cypress
#

No it doesn't

jovial warren
#

with get it does

#

because get throws it

lunar cypress
#

You need to declare the method to throw generic Throwables anyway

prisma wave
#

assertThrows will take a lambda that throws Throwable, so yeah ^

#

assuming you're using that

jovial warren
#

how do I use that method?

prisma wave
#

what are you currently using?

#

if not assertThrows

jovial warren
#

just @Test(expected = IOException.class)

prisma wave
#

oh

#

just add it to a throws declaration on the test method then

#

i guess

#

throws Throwable

jovial warren
#

to the method signature?

#

and then use get?

#

because I've done that and it seems to have done nothing

static zealot
#

I have a plugin that's more of a core. Like I have a lot of random stuff it does. would it be ok if I just went ahead and split all the functionalities into packages? RN I have package for commands, utils etc. but what if I had it for example teleport - commands - utils - listeners somethingelse - commands - utils - listeners
does this sound bad?

jovial warren
#

yeah you could do

#

make a common module with common thingys in it, then have all the other modules depend on that

prisma wave
#

you're kind of describing packaging-by-feature

static zealot
#

yeah basically this ^

#

and yeah I was thinking of a "common" thing but didn't know how to name it.

#

well if that's something that's not going to get me killed when showing I'm going to do it

jovial warren
#

also, is it just me or is it really triggering when you create new modules in gradle projects and forget to remove version "whatever" from the kotlin("jvm") plugin in the plugins block to avoid it getting an error and not generating your sources folders?

prisma wave
#

sounds like a DSL problem if you ask me

#

groovy dsl people never have that issue

jovial warren
#

lemme see

onyx loom
prisma wave
#

or maybe it's because you're explicitly adding kotlin to each module

prisma wave
#

LOVE IT

#

nice meme

onyx loom
#

thanks i worked really hard on it

jovial warren
jovial warren
#

yes that is it

prisma wave
#

you can probably not do that

jovial warren
#

is one not supposed to do that?

prisma wave
#

if your root module is adding the kotlin plugin

#

idk

#

try without it

#

the kotlin thing just means add the plugin and make a source root anyway

jovial warren
#

it doesn't fail, but it doesn't create any source roots

#

which is exactly what I want it to do

prisma wave
#

i mean, is it that hard to do it manually?

#

obviously isn't ideal, but better than it not working at all

jovial warren
#

maybe I can just create my project without the Kotlin plugin, then add it in the modules

#

also, naming schemes for modules?

#

some use projectname-modulename, some set the group ID to com.example.projectname, and others just leave everything as it is and name the module name, well, the module name

#

oh actually, I just reminded myself of something

#

you know the EFI system partition right?

#

do I need one per drive or just one?

prisma wave
#

probably just 1?

jovial warren
#

guess I should probably delete the one on my other drive then

forest pecan
#

bruh

#

why is this part of my start up log

#
29.12 23:41:10 [Server] INFO World 'world' disabled
29.12 23:41:10 [Server] INFO World 'world_nether' disabled
29.12 23:41:10 [Server] INFO World 'world_the_end' disabled
#

????

#

server isnt shutting down KEKW

compact perchBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

obtuse gale
#

Requested by: dkim19375

half harness
#

ik

#

it looks better without the command

compact perchBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
โ€ข HelpChat Paste

forest pecan
#

its a shockbyte server kek

#

the weird thing is

#

it has 7 gigabytes of memory

#

but it takes slower to load

#

than my server at home which is 6 gigabytes of memory

#

prolly cpu

#

Ohhhh

#

im stupid

#

lmfao

#

its the dynmap message

#

pretend that didnt happen

#

:^)

half harness
#

๐Ÿค”

prisma wave
#

not recorded, but the script is prepared

half harness
#

๐Ÿ‘€

#

whos Johnny

prisma wave
#

bruh

#

@lunar cypress you hearing this shit

#

lol

half harness
#

๐Ÿ˜ฌ

#

rip im not on the list

#

๐Ÿ˜‚

#

how do you do that

#

that looks cool

prisma wave
distant sun
#

Nice @prisma wave

prisma wave
half harness
prisma wave
half harness
#

voice reveal

distant sun
#

Yeeey

prisma wave
#

I've talked in VC before

distant sun
#

Hc channel?

prisma wave
#

Probably

distant sun
#

Noike

lunar cypress
#

Oy and welcum tu the java tutorial bruv

prisma wave
#

wow

distant sun
#

:))))

prisma wave
#

I sound nothing like that

distant sun
#

1-0 JohnnyJayJay

#

Oy

lunar cypress
#

Sorry, briticist slip up

prisma wave
#

lmao

#

Can someone link the HC channel

#

Nvm I found it

#

Wow only 3 subs

distant sun
#

Who wants a biscuit?

prisma wave
#

๐Ÿฅฒ

distant sun
#

Link @prisma wave

prisma wave
#
#

Admins had better do an @everyone for this

#

Or I'll be very upset

distant sun
#

No cover image, shame on you @pallid gale

#

Lol

prisma wave
#

funny mitten

lunar cypress
#

The fact that the last one is not a 3 dimensional object puts me off

prisma wave
#

smh

ocean quartz
#

Since when there is a yt channel?

onyx loom
#

@prisma wave maybe add boolean type to slide 15? also, instead of saying the program will break, say it wont compile as u discussed what compilation was in lesson 1

#

looks good tho, except no mention of final ๐Ÿ‘€

prisma wave
#

Hmm

#

I did think about both of those, I think booleans are probably better to introduce later along with ifs

#

Because otherwise they seem pretty useless

onyx loom
#

ah yeah that makes more sense then

prisma wave
#

And yeah, I said "it will break" to try and be more generic since in something like Python it actually would break

quiet sierra
prisma wave
#

i might try and mention final but I'm not sure if that will make it too tricky or not tho

onyx loom
#

maybe

prisma wave
#

It's kinda tricky to imagine how someone totally new would find it lol

quiet sierra
#

And that might be enough to force me to drop all of my sql tables again

prisma wave
#

Since this is super basic stuff

onyx loom
#

i feel like the lesson focuses on the the fact that variables can be reassigned, so adding final may seem counter-intuitive

prisma wave
#

Yeah you might be right, idk

onyx loom
#

now if this was kotlin, it would be a different story :kek:

prisma wave
#

obviously

onyx loom
#

val EVERYWHERE

quiet sierra
#

Smh so many sql errors

prisma wave
#

Val and var, easy

#

I'll probably mention final and var a few lessons later just because they're not very useful right now

#

like I don't wanna include a ton of info just for the sake of it, it should all seem useful

wind bolt
onyx loom
#

i guess so

#

getting that sweet spot so where the information is useful but not too much information at once is tricky

prisma wave
#

Yeah it is lol

#

Hopefully when we release people will give detailed and thoughtful feedback

#

because that always happens

onyx loom
#

yes

#

constructive criticism

distant sun
#

"You suck"

prisma wave
#

๐Ÿฅฒ

surreal quarry
#

"You suck, constructively"

prisma wave
#

Much better!

cloud cosmos
#

Good evening
I would like some information if possible, about the "Guilds" plugin in version 1.12?
Am I in the right place?

ocean quartz
quiet depot
#

thereโ€™s a few more differences than 1 package, but yeah they share a lot of code. I need to rename that api package to common and move all the framework stuff into there

surreal quarry
#

@prisma wave is there any way to fix PDM's illegal reflecitve thing on my end or nah

prisma wave
#

You could fork and do the thing it needs

#

But I don't think so

#

Not without forking

surreal quarry
#

alr lol

prisma wave
#

You could always PR fingerguns

surreal quarry
#

ill see if i can figure it out but i dont really know whats wrong xD

prisma wave
#

It's to do with the reflection that it does with URLClassLoader to load in classes

#

I think

#

Java 9+ (maybe?) Doesn't like a certain way of doing it

surreal quarry
#

yea i guess

obtuse gale
surreal quarry
#

loll im reading that exact commit trying to figure out whats going on

obtuse gale
surreal quarry
#

looks simple enough to implement

#

i might PR this so i can be a proud PDM contributor

obtuse gale
prisma wave
#

I would recommend you do that

obtuse gale
#

he would

#

but he won't

prisma wave
#

โ˜น๏ธ

obtuse gale
#

:frowning3:

surreal quarry
prisma wave
#

NEVERMIND

surreal quarry
#

?

prisma wave
#

Hot

surreal quarry
#

true

prisma wave
#

you are factually wrong!

obtuse gale
#

:c

#

ok

surreal quarry
#

git commit -m 'untested, should work fine'

prisma wave
#

๐Ÿ˜ณ

surreal quarry
#

i need to set my IJ to allman

#

i may have accidentially reformatted the file

prisma wave
#

Disgraceful

quaint isle
#

Hey folks,
quick question regarding the use of the this keyword because Stackoverflow is giving me mixed signals :D

Do you use it only when neccessary in order to keep the code clean and readable or do you use it excessively to make more clear what's an instance variable and what's not?

surreal quarry
#

you can do either, i only really use it when i have to but others might disagree

prisma wave
#

I don't put much thought into it

#

If it reads better with this, use it

#

I guess

surreal quarry
#

BM how would i test that this works? never really made / tested gradle plugins lol

prisma wave
#

Ehh

quiet depot
#

bm link pls

prisma wave
#

Resting it is kinda ass

quiet depot
#

im on pc now

prisma wave
#

Ok great

#

@surreal quarry there's a few unit tests, just try running them

surreal quarry
#

kk

prisma wave
#

The jda one probably won't work

quaint isle
#

(thanks for sharing your thoughts regarding the usage of this @ James and Mr. Mitten ๐Ÿ’•)

prisma wave
quiet depot
#

oof

#

bm

#

i need edit

#

not actually sure how to request edit perms

surreal quarry
#

they all passed except for the twitch one lol
Unexpected exception thrown: java.lang.NoClassDefFoundError: ch/qos/logback/core/spi/AppenderAttachable dont think the stuff i added is gonna cause that tho so ill pr and let you look over it tomorrow

prisma wave
#

Yeah some of the tests break

#

Ty for adding, will look in the morning

#

1 sec piggy

surreal quarry
prisma wave
#

Ok added you

quiet depot
#

thx

onyx loom
#

piggy about to introduce AbstractFactoryFactoryPipelineImpl real quick

prisma wave
#

๐Ÿฅฒ

quiet depot
#

I will also try to release 1-2 episodes per week, usually about 10-15 minutes long each

#

I wouldn't say that

#

don't make any promises about the continuation of the series

#

shit happens

#

you may lose interest

#

your computer may explode

#

we may be enslaved by ai

#

who knows

#

but you can't promise that

onyx loom
#

๐Ÿ˜ฌ

surreal quarry
#

people break promises all the time fingerguns

#

also he did say "try"

prisma wave
#

Good point

#

Yeah I mean

#

That seems like a reasonable schedule

#

Write up a script / slides during the week and spend a few hours recording over the weekend

#

But yeah

#

Idk

quiet depot
#

When Java was made, the most common languages were C and C++

#

was that fact checked?

obtuse gale
#

Was Java made?

ocean quartz
#

It was born

quiet depot
#

java was released in 1995 or something

#

might've been 1999

#

no

#

1998

prisma wave
#

It was absolutely not fact checked

onyx loom
#

a painful birth ๐Ÿ˜ซ

prisma wave
#

I'm just pretty hopeful that I'm right

quiet depot
#

yikes i was off all 3 times

#

1996

onyx loom
#

probably

prisma wave
#

lol close enough

ocean quartz
#

Wait Java was released when i was born

onyx loom
#

o

#

matt boomer

quiet depot
prisma wave
#

Wow python is 5 years older than java

quiet depot
#

yea

prisma wave
#

Kinda surprising

surreal quarry
onyx loom
#

the fall of Lisp in the late 80s is beautiful.

ocean quartz
#

Damn bm was right

quiet depot
#

cool

surreal quarry
#

lol

quiet depot
#

still one of the most popular languages on GitHub

#

one of the most popular languages period.

onyx loom
#

what is Ada, never heard of it

quiet depot
#

i've heard of it

#

no clue what it is

#

Ada is a structured, statically typed, imperative, and object-oriented high-level programming language, extended from Pascal and other languages

ocean quartz
#

2019

half harness
prisma wave
ocean quartz
wind bolt
#

oof

half harness
# ocean quartz Why does player util have multiple classes?
    public enum inputTypes {
        VALID_USERNAME, VALID_UUID, INVALID_USERNAME, INVALID_UUID, INVALID
    }
```and ```java
    public inputTypes getInputType() {
        if (uuidOrPlayer.matches("^\\w{3,16}$")) {
            Player player = Bukkit.getPlayer(uuidOrPlayer);
            if (player != null) {
                return inputTypes.VALID_USERNAME;
            }
            return inputTypes.INVALID_USERNAME;
        }
        if (uuidOrPlayer.matches("[0-9a-fA-F]{8}(?:-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}")) {
            UUID uuid = UUID.fromString(uuidOrPlayer);
            Player player = Bukkit.getPlayer(uuid);
            if (player != null) {
                return inputTypes.VALID_UUID;
            }
        }
        if (uuidOrPlayer.matches("[0-9a-fA-F]{32}")) {
            return inputTypes.INVALID_UUID;
        }
        return inputTypes.INVALID;
    }
```.. I don't feel like remembering exactly what it is
quiet depot
#

PRECOMPILE YOUR REGEXES

prisma wave
#

You copy pasted that didn't you

half harness
#

I probably will never use that method tho

half harness
#

wdym

half harness
#

i copied and pasted the regexes

quiet depot
#

private static final Pattern COOL_REGEX_PATTERN = Pattern.compile("blah blah");

prisma wave
#

Did you write that yourself?

half harness
#

huh?

half harness
#

afaik

prisma wave
#

Oh lol

half harness
#

;-;

prisma wave
#

Why would you need that?

quiet depot
#

where is says "blah blah", put your regex

half harness
#

but i have it anyways

ocean quartz
#

Kinda odd for an util class, but okay

half harness
#

took me a while to make it

prisma wave
#

Well at least fix the enum name

half harness
#

what should i rename?

prisma wave
#

UpperCamelCase

half harness
#

o

#

k

surreal quarry
#

InputTypes lol

half harness
#

done

prisma wave
#

That looks suspiciously stateful for a util method too

quiet depot
#

bm why isn't my link on slides going blue

#

slide 6

prisma wave
#

Add a space?

quiet depot
#

ah

half harness
#

whats stateful

quiet depot
#

bm

#

why main?

#

why not HelloWorld

prisma wave
#

Idk

#

should probably change that

quiet depot
#

yep

#

how do you generate these code blocks

surreal quarry
#

very sexy site

prisma wave
# half harness wdym

I can't see the full code so can't confirm, but it's weird that this "util method" isn't static, and is using uuidOrPlayer which is declared elsewhere

ocean quartz
#

now.smh

half harness
#

i made static too

prisma wave
#

where's uuidOrPlayer coming from?

#

Shouldn't it be a parameter?

half harness
#

its a param in static

#

but in case im lazy I made a constructor

#

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

#

also why can't I use System

prisma wave
half harness
#
package me.dkim19375.dkim19375core;

import org.bukkit.command.CommandSender;

public class TestClass {
    public static void testPrint() {
        TestClass.
        System.out.println("TESTING");
    }
    public static void testPrint(CommandSender sender) {
        sender.sendMessage("TESTING");
    }
}

```full class
prisma wave
#

because of the TestClass.

half harness
#

oh

#

๐Ÿคฃ

prisma wave
half harness
#

im so stupid

half harness
prisma wave
#

Yes

half harness
#

๐Ÿ˜

#

nooo

prisma wave
#

You're either doing something VERY bad or something fine

#

I want to make sure

half harness
#

uh

#

uhhhh

prisma wave
#

For everyone's wellbeing ๐Ÿ˜Š

half harness
#

uhhhhhhhhhhhhhhhhhh

quiet depot
#

bm what's ur carbon config

half harness
#

afk for 2 minutes

ocean quartz
#

Someone needs to register the TLD .smh

prisma wave
#

one dark, Jetbrains mono, no window decorations, max font size I think

#

Make sure to select Java highlighing, the Auto detects it as something else

#

Probably C#

quiet depot
#

do I have to do this in ij?

#

or can you do it in sublime

prisma wave
#

Do what?

quiet depot
#

generate the img with those settings

prisma wave
#

Oh there's a website

#

That's what I used most of the time

#

Idk, might be a sublime plugin too

quiet depot
#

oh okie

half harness
#

i just made constructor so I can do ```java
PlayerUtils pUtils = new PlayerUtils(someUUIDStringHere);
Player p = pUtils.someMethod(); // Yay no params!

quiet depot
#

fira code > jb mono

half harness
#

@prisma wave

prisma wave
#

vomiting_face

#

Please

#

Never do that

#

Under any circumstances

#

Ever

half harness
#

y

#

wuts so bad

surreal quarry
#

jetbrains mono >

prisma wave
#

Util classes are supposed to be stateless, and should always have a private constructor

half harness
#

๐Ÿ˜ญ

ocean quartz
half harness
#

whyyyy

#

so basically my whole project should be static

prisma wave
#

If it's all utils yes

surreal quarry
#

lol

half harness
#

because thats what my project is - utils

#

okay

prisma wave
#

Then yes

surreal quarry
#

i thought your project was a core plugin tho

prisma wave
#

Static is fine for utils

#

More than fine actually

half harness
prisma wave
#

Non static utils are gross

ocean quartz
#

Fira code medium specifically is ๐Ÿ‘Œ๐Ÿผ

quiet depot
#

what's your bg colour bm?

prisma wave
surreal quarry
quiet depot
#

the default seems different than urs

half harness
prisma wave
#

The default one dark theme one

#

Hmm

surreal quarry
prisma wave
#

obviously different?

surreal quarry
#

commands, event listeners, etc

prisma wave
#

Or subtly?

half harness
#

I just put everything so I wouldn't have to put stuff in utils package

quiet depot
half harness
#

basically a utils package

#

but i dont have to make it every time

surreal quarry
#

thats different than a core plugin lol

prisma wave
#

Oh

surreal quarry
#

i thought this was a core plugin

half harness
#

i didn't mean like that

#

I just meant a "utils" plugin project

prisma wave
#

Maybe Dark Reader changed it?

quiet depot
#

darkreader is off

half harness
#

not like Multiverse-core type

prisma wave
#

I think I had it on

#

lol

#

Try with on

quiet depot
#

yep

#

lol

ocean quartz
half harness
#

ITS NOT A plUGIn

#

i cant t

#

is dark reader a extension to change sites to dark?

#

im assuming

#

๐Ÿ™‚

prisma wave
#

Yea

obtuse gale
quiet depot
#

ew

half harness
#

๐Ÿคฃ

quiet depot
#

unsupportedoperationexception

#

use an assertionerror

obtuse gale
#

why tf would that throw an assertion error

#

doesn't make any sense

quiet depot
#

that's what assertion errors are for

#

d;assertionerror

ruby craterBOT
#
public class AssertionError
extends Error```
Description:

Thrown to indicate that an assertion has failed. The seven one-argument public constructors provided by this class ensure that the assertion error returned by the invocation: new AssertionError(expression)
has as its detail message the string conversion of expression (as defined in section 15.18.1.1 of The Javaโ„ข Language Specification), regardless of the type of expression.

obtuse gale
#

it isn't asserting anything

quiet depot
#

yeah that description was bad

#

2 secs

obtuse gale
#

constructing the utils class is an unsupported operation

quiet depot
#

there is an assertion

#

the assertion is that the programmer has made it impossible to instantiate that class

obtuse gale
quiet depot
#

so if that class is instantiated, the assertion is broken

#

therefore an error

half harness
surreal quarry
#

the make the constructor private fingerguns

obtuse gale
#

how I just

#

y'know

prisma wave
obtuse gale
#

throw new Throwable();

quiet depot
#

u'll just have to do the images bm

surreal quarry
#

throw FuckYouException("Stop trying to instantiate my class");

prisma wave
#

I'll update the images if you want, or just use yours

#

No one will notice

quiet depot
#

i'll notice

#

so u do it pls

half harness
#

lol

#

looks nice

quiet depot
#

wtf

#

edge

#

fuck off

#

use chrome

half harness
#

๐Ÿ˜ฆ

#

its the same thing

#

but faster

#

and my computer sucks

surreal quarry
#

dont care use chrome

half harness
#

....

quiet depot
#

yeah honestly dkim that all sounds like a you problem

#

just use chrome

surreal quarry
#

edge = eclipse of web browsers

half harness
quiet depot
#

safari = netbeans

obtuse gale
#

brave :D

surreal quarry
half harness
quiet depot
#

why do you have synapse on your task bar

#

like just leave that shit idling

#

you don't need a window open

prisma wave
half harness
#

i just got my mouse

#

:>

quiet depot
#

oo

#

what mouse?

#

I got a new mouse too

#

razer viper ultimate

obtuse gale
#

ur mum

quiet depot
#

yes well

#

yes

half harness
#

razer viper

#

i should have gotton model o

prisma wave
half harness
#

razer viper cannot drag click or double ๐Ÿ˜

quiet depot
#

model o?

half harness
#

glorious model o

quiet depot
#

wtf

#

model o has holes in it

prisma wave
quiet depot
#

ur only getting half a mouse

prisma wave
#

whatever that is

quiet depot
#

yes

#

please explain

half harness
#

uhhhhhhhhhh

#

where you drag ur finger and you get 50 cps

#

๐Ÿ‘

quiet depot
#

what

#

so an auto clicker built in to the mouse?

half harness
#

no

#

its from friction or whatever

#

look up "bedless noob drag click" on youtube

#

he also has like a billion BLC cosmetics

quiet depot
#

blc?

half harness
#

๐Ÿ™„

surreal quarry
#

badlion?

prisma wave
#

I might be wrong here but isn't anything above 20CPS gonna be unnoticeable anyway

half harness
#

Badlion Client

quiet depot
#

wtf

#

literally just use an auto clicker lol

half harness
#

(you forgot about bridging)

prisma wave
#

I mean the server's only gonna be processing 20/s max no?

half harness
half harness
#

well

#

hasiudhiusahd

#

still

prisma wave
#

jeez all these terms

half harness
#

higher cps = better

obtuse gale
#

suuuuuuure

prisma wave
#

Trying so hard to make MC PvP interesting ๐Ÿ˜”

surreal quarry
#

does tickrate limit cps

half harness
#

godbridge = bridging without strafing or shifting

quiet depot
#

ok, what about the other issue

#

double clicking

#

as far as I'm aware

half harness
quiet depot
#

every mouse on the market allows you to click once, then twice

#

i.e. a double click

half harness
#

๐Ÿ˜ 

quiet depot
#

but your terms seem to be skewed, so please tell me, what is a double click

half harness
#

double click = click mouse twice if u do correctly

prisma wave
half harness
#

n o

quiet depot
#

do what correctly dkim?

surreal quarry
#

idk what if you click twice in 1 tick

#

wouldn't that be getting 40cps?

obtuse gale
half harness
#

so butterfly clicking can get you like 25 cps

quiet depot
#

auto clicker can get you like 200 cps so use auto clicker kthxbye

half harness
#

and it showed a difference

#

a big one

obtuse gale
#

I'm wasting my time reading dkim's messages

half harness
#

ok

#

didn't force you

prisma wave
#

Ig it would depend on the action? The server can only process so much stuff per second ofc

half harness
#

i dont get it either ยฏ_(ใƒ„)_/ยฏ

prisma wave
#

MC PvP is just spammy clicking and laggy playermodels anyway don't @ me

half harness
#

no its not- but ok

#

laggy playermodels huh?

#

wut

#

woah

#

was it laggier

#

or smth

#

๐Ÿ‘€

ocean quartz
#

Mc always had laggy hitboxes

quiet depot
#

dkim go play rust for a good pvp experience

half harness
#

what is rust

quiet depot
#

a game

half harness
#

im in a bedwars game though

quiet depot
#

cool

half harness
#

39 stars fingerguns

prisma wave
#

you hit someone on Hypixel like 20 times and they get the knockback a second later

#

it's laggy and boring

half harness
#

thats ur ping-

obtuse gale
#

yeah bm it's all your fault

ocean quartz
#

How can you so passionately ignore it's flaws xD

half harness
#

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

prisma wave
#

Im sure it's fun but I just don't find mc PvP interesting at all

obtuse gale
half harness
prisma wave
#

Nor do I understand deliberately playing on 6 year old versions just to get this "amazing pvp"

half harness
#

I have no idea how I have around 400 more wins than kills

quiet depot
#

bm shouldn't separate lessons be in different slides projects

prisma wave
#

probably

#

I'm just not sure I want my Google slides cluttered with 300 projects and I cba to make a new Google account

quiet depot
#

okie

half harness
#

wuts cba

surreal quarry
#

cant be asked

quiet depot
#

arsed/assed

half harness
#

oh

#

I thought it was that but it sounded weird

#

and I can't be asked to make a new Google account

quiet depot
#

it's can't be arsed/assed

#

not asked

onyx loom
quiet depot
#

but like ur getting scammed

onyx loom
#

all the new "gamer mouses" do it

quiet depot
#

if I buy a mouse, I'm wanting the whole mouse

half harness
#

model o = best mc mouse

quiet depot
#

not half the mouse

#

same with the soccer mums that wear those half hats

onyx loom
#

not if u want less weight

quiet depot
#

go back to the shop and get the rest of your fucking hat idiot

prisma wave
onyx loom
#

yes it is

prisma wave
#

I'd be surprised if it made an actual difference

onyx loom
#

g pro x mouse achieves same weight as these mouses with holes

ocean quartz
onyx loom
#

it probably does

prisma wave
#

noticably though?

onyx loom
#

it allows u to flick faster, glides across ur mousepad smoother etc

quiet depot
#

my mouse weighs 74g, these holy mouses typically eight ~50g

onyx loom
#

i cant speak from experience

quiet depot
#

there's no way 20g is making a noticeable difference

prisma wave
#

Me neither

half harness
#

can someone reply & ping me?

prisma wave
#

yeah I don't think it would

onyx loom
#

pig. not until u use a g502 kek

quiet depot
#

g502 aint for me

#

i like ambidextrous mice

onyx loom
#

yh its shit i think

#

everything about it is bad

prisma wave
half harness
#

noo

#

like

quiet depot
quiet depot
half harness
#

OH

#

thx

onyx loom
#

?

half harness
#

๐Ÿ™„

quiet depot
#

@prisma wave You should have a lesson about modifiers

#

and also cover fields

steel heart
#

I love gson

obtuse gale
#

ikr

ocean quartz
#

Google's son

quiet depot
#

fixed it now

#

check it out

old wyvern
#

Alrighty

ornate socket
#

Hey, does anyone have some good sources to learn java from?

obtuse gale
#

d

#

how do i level up

ornate socket
#

You write stuff

ocean quartz
#

?learn-java

compact perchBOT
#
FAQ Answer:

Start with this -
https://docs.oracle.com/javase/tutorial/java/concepts/index.html
Breeze through this skipping stuff that doesn't seem relevant like bitwise operators-
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/index.html
and then hit this
https://docs.oracle.com/javase/tutorial/java/javaOO/index.html

They're the first three from this larger thing - https://docs.oracle.com/javase/tutorial/java/index.html
Which you should definitely go through overall. But those three should be enough for slightly better understanding of wtf is happening here without feeling like a huge time sink
That one is a small part of this larger site - https://docs.oracle.com/javase/tutorial/index.html
wherein "Essential Java Classes" and "Collections" also have good useful stuff

obtuse gale
#

i'm new to java but lmao i do "". and literally all the nodejs methods i can think of come up

static zealot
#

its a plugin

#

well it allows developers to display data in other plugins that support PlaceholderAPI as well

#

well

#

so for example I have an economy plugin but I want to display the balance in a scoreboard for example. usually you'd either have to make your own scoreboard and hook into the economy plugin or find a scoreboard plugin that already hooks into that economy plugin

#

well because of PAPI you don't need to hook into all possible plugins existing out there. plugins can simply add PAPI support and add placeholders for others plugins that support PAPI to use them

#

so instead of basically having to use code to hook into other plugins to get data you have an easier way

#

idk if this is the best explanation but its 1 way of seeing it

#

its basically a way to make server makers life easier

obtuse gale
#

it's basically a easy one destination way to use placeholders of other plugins

#

you downloads hooks by using /papi ecloud download <plugin name>

prisma wave
old wyvern
#

When is part 1 release?

prisma wave
#

Hopefully today

#

Ima record it today but it might not be ready for release

old wyvern
#

Ah

prisma wave
#

Also need a thumbnail so I'll probably ask cube

distant sun
#

are there any chances that the issue I face with publishing my lib to maven could be caused by the project itself?

#

I swear I use the same build.gradle as other 10 people and it does not work ..

jovial warren
#

Well I'm fucked

static zealot
#

o

static zealot
#

๐Ÿ˜ฎ its available and only 12$

distant sun
#

nvm, 1000 usd for 10 years

static zealot
#

not expensive

distant sun
#

ikr

tacit cave
#

hello i have a question

#
public class EntityListener implements Listener {
    private final Main main;
    public EntityListener(Main main) {
        this.main = main;
    }

    /**
     * Scheduler
     */
    public void entitySchedule() {
        main.getServer().getScheduler().scheduleSyncRepeatingTask(main, () -> {
            for (World world : main.getServer().getWorlds()) {
                for (Entity entity : world.getEntities()) {
                    if (entity instanceof Player) {
                        return;
                    } else if (entity instanceof Wolf || entity instanceof Horse) {
                        // only removes wild wolfs and horses
                        Tameable tameable = (Tameable) entity;
                        if (!tameable.isTamed()) {
                            this.removeEntity(tameable);
                        }
                    } else if (entity instanceof Villager) {
                        return;
                    } else {
                        this.removeEntity(entity);
                    }
                }
            }
        }, 0, 10 * 20);
    }```
#

how can i execute this schedule

#

cuz i cant execute it in main class

#
public final class Main extends JavaPlugin {
    private EntityListener entityListener;
    @Override
    public void onEnable() {
        this.loadListener();
        this.getLogger().info("--------------------------------");
        this.loadScheduler();
    }

    @Override
    public void onDisable() {
        this.getLogger().info("--------------------------------");
    }
    private void loadListener() {
        new EntityListener(this);
    }
    private void loadScheduler() {
        entityListener.entitySchedule();
    }
}```
#

it just say "(Is it up to date?)
java.lang.NullPointerException: null"

quiet depot
#

=paste

compact perchBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
โ€ข HelpChat Paste

tacit cave
#

answer my question please

static zealot
#

xD

distant sun
#

do what piggy said lol

quiet depot
#

I won't answer your question, I'm busy, ask in the correct channel and wait patiently for an answer from the community.

distant sun
#

pig do you have experience with maven publish through gradle?

quiet depot
#

not really

static zealot
#

yesn't

quiet depot
#

check papi repo tho

distant sun
#

I did ๐Ÿ˜ญ

#

but it doesn't want to work for me smh

static zealot
#

well of course it doesn't want to work for you... you underpay

tacit cave
static zealot
#

well now you'll have to wait for someone with the knowledge and time to answer.

distant sun
#

why are github packages such a big fail smh

frigid badge
#

they aren't

#

all you guys know are selfhosted applications

#

ofcourse those have more features

distant sun
#

how so smh @frigid badge

#

at least the maven service is annoying ๐Ÿ˜ฆ

frigid badge
#

github packages is fine

distant sun
#

-.-

#

e x p l a i n

frigid badge
#

what's wrong with it?

#

as in comparison with other public repo hosting & package hosting

quiet depot
#

behind auth

#

that's what's wrong with it

distant sun
#

Maybe I do smth wrong then fml

#

if it is as good as you say

frigid badge
#

it could be better but I can say the same of all other public package hosting platforms (which also do repos)

distant sun
#

yes but is GITHUB which is known for being good ๐Ÿ˜ฆ

frigid badge
#

that it's behind authentication is not the best I agree but just get used to it

#

I've never even used packages without authentication

#

besides a mc plugin

#

y'all just spoiled

#

;p

quiet depot
#

central bruh

distant sun
#

noob

frigid badge
#

iknow but they don't have repo hosting

#

I'm talking about repo hosting in combination with packages

#

since I don't use the seperate services

#

nor do I even do java at this point

#

because 'java too bloat' smh

#

with their gay c#

distant sun
#

:)))))

frigid badge
#

nah but in my opinion github packages isn't so bad

distant sun
#

which was the other option, python? :))

#

or asembly

#

๐Ÿคฃ

frigid badge
#

;p

distant sun
#

pseudo code

frigid badge
#

that's what you call python

distant sun
#

๐Ÿคฃ

#

yaml on steroids

frigid badge
#

lmao

distant sun
#

that's what it is tho xD

frigid badge
#

this shit makes no sense, this method is throwing an exception, and if I comment out all the code inside the method it still throws an exception

#

fucking magic

distant sun
#

lovely, right?

lunar cypress
#

@prisma wave you could add animations to the slides

#

so that the text appears over time

distant sun
#

I'm trying to setup this library so I can publish it to a repo for 3 days now and it doesn't want to work smh

prisma wave
#

yeah that's a good idea

distant sun
#

$this ๐Ÿคข

frigid badge
#

I am going crazy

distant sun
#

ah, php ๐Ÿคข

#

@frigid badge what do you use github packages for?

#

use/used

frigid badge
#

I've only used it like twice

#

but the new ecloud uses it for example

distant sun
#

docker or which service?

frigid badge
#

but the exact same as github packages is azure artifacts and repo shit

frigid badge
#

but I've used maven once as well

distant sun
#

at this point idk if it's my project or github packages which doesnt work

frigid badge
distant sun
#

flex

#

tty later lime

#

cya ๐Ÿ‹

frigid badge
#

bai

old wyvern
#

@prisma wave

prisma wave
#

i've seen that

#

it's beautiful

old wyvern
#

๐Ÿ˜‚

#

Why use a programming language when you can just use your text editor macros

prisma wave
#

amazing

onyx loom
#

haskell cult

prisma wave
#

it's a very good point

lunar cypress
#

lol that's a kotlin dude

#

just realised

onyx loom
#

what a cultured man

obtuse gale
#

the fuck

lunar cypress
#

Multi-level generics

#
interface Foo<T> {
  void bar(Predicate<? super T> p);
}```
```java
Foo<? super String> f = ...;
prisma wave
#

Horrible

distant sun
#

? super ! super .

jovial warren
#

just had to do a clean install of Windows oof

prisma wave
#

ok, first episode recorded

#

gonna do a bit of editing since i made some dumb slip ups

#

"if you've installed java 11 correctly it should look like this"
"openjdk version 1.8"

surreal quarry
#

loll

jovial warren
surreal quarry
#

what channel is it going on?

prisma wave
#

helpchat one afaik

#

i'll probably put it on mine too though

jovial warren
#

what you recording now?

prisma wave
#

java course

surreal quarry
#

copyright issues probably if you post it twice

prisma wave
#

not if i own it

#

๐Ÿ™„

jovial warren
#

you know you have to manually make copyright claims right?

surreal quarry
#

doesn't youtube automatically flag that stuff

#

i feel like ive heard they do but that might be wrong

jovial warren
#

youtube doesn't just automatically see your video somewhere else and make a claim

surreal quarry
#

nvm then lmfao

jovial warren
#

that would make it so bad that some creators just wouldn't upload any more

surreal quarry
#

true true

quiet depot
#

I thought that was exactly how it worked bardy

surreal quarry
#

i figured if it saw your video content being exactly the same as another video it would alert the original poster at least

jovial warren
#

afaik, large corporations have companies that use bots to claim on their behalf

surreal quarry
#

oh maybe thats what im thinking about

lunar cypress
#

Youtube has a system for it (content id) but it doesn't waste all its resource on every single video

#

You have to enable it yourself

#

So no, there is no issue and even if there were, bm is the owner of the videos

steel heart
#

@quiet depot oo can we add bot now?

quiet depot
#

almost

#

just finishing up some essential features

steel heart
#

๐Ÿ‘๐Ÿ‘

#

Appreciated

frank jacinth
#

hey

lunar cypress
#

@quiet depot you could use slash commands, that way others wouldn't even need to invite the bot

#

And still use it

quiet depot
#

could

#

won't

lunar cypress
#

Why not

quiet depot
#

not waiting the minimum of 3 months for jda to implement them

lunar cypress
#

Bruh jda

quiet depot
#

it's not jda's fault

#

discord rushed the api

#

jda doesn't want to provide a bad user experience so they're taking their time

lunar cypress
#

The only thing you need to integrate them is one event for now

#

More or less

surreal quarry
#

yea gaby they just added it recently

prisma wave
#

ive not seen a bot that actually supports them yet

surreal quarry
#

none of the api wrappers support it afaik

#

so you would need to manually make the json requests or whatever

distant sun
lunar cypress
#

I'm currently implementing it for discljord

quiet depot
#

I believe discord.js has a similar stance on the matter as jda

#

not 100% sure

prisma wave
#

so

distant sun
#

nice

ocean quartz
#

Why Piggy?

quiet depot
#

spigot api is gplv3 right

#

and spigot is lgpl

#

is that correct?

ocean quartz
#

I am not sure, Bukkit is gpl3

quiet depot
#

yes, the api, bukkit

#

but craftbukkit/spigot is lgpl afaik

#

is that true?

ocean quartz
#

Let me try finding out

quiet depot
#

because if that's not the case then I'm wrong

ocean quartz
#

LGPL yeah

quiet depot
#

okie

#

bukkit is an api, it does not stand alone

#

craftbukkit is the software you're extending via plugins

#

for plugins to inherit gplv3, they have to be extending a covered work

#

they're not extending a covered work

prisma wave
#

I would say that extending JavaPlugin constitutes extending the API, but I guess you could make a decent argument either way

quiet depot
#

not necessarily

#

in the way that plugins use bukkit, gplv3 classifies them as an aggregate

#

which means they are not required to inherit the license

ocean quartz
prisma wave
#

hmm

#

well if that's the case, that's a shame

quiet depot
#

not the whole story

#

you could be right

lunar cypress
#

2 licenses then?

quiet depot
#

however personally, I don't see plugins as an extension to the api

lunar cypress
#

Not unusual

quiet depot
#

if they were extensions, would they not add additional api?

#

yet they don't

#

they merely use the api

#

the same way you can use guice, or commons lang

ocean quartz
#

That is true yeah

quiet depot
#

there is still hope however, while I haven't seen anything on it, it's plausible that an implementation of a gplv3 covered works makes the implementation by nature, gplv3

#

I did a quick ctrl + f and nothing came up on that

#

but it may be worded differently

#

although i cba to find out

#

also

#

go nuts

#

o shit i forgot to make the paginations multi threaded

ocean quartz
prisma wave
#

interesting

quiet depot
#

no because extensions of lgpl aren't required to be lgpl

#

there's no aggregate clause

ocean quartz
#

Oooh okay that makes sense

prisma wave
#

aww

quiet depot
lunar cypress
#

๐Ÿ‘

#

Can it handle overloaded methods yet?

quiet depot
#

not yet

#

soonโ„ข๏ธ

#

gonna work on the list of bugs on github tomorrow

steel heart
#

Iโ€™ve added it to several servers lol

quiet depot
#

if I get through them I'll probably start on overloaded methods

obtuse gale
#

Owo

prisma wave
#

should i try and edit out all the bits where i say "uh" before starting a sentence

#

or keep them there

quiet depot
#

remove

prisma wave
#

ok, ill try and make it sound natural

quiet depot
#

unless it's way too much effort

prisma wave
#

nah hasn't been so far

half harness
#

its gonna sound like you cut the video every 2 seconds

prisma wave
#

wow

#

๐Ÿ™„

#

im not that bad

quiet depot
#

dkim me and cube were playing bedwars earlier and were smacking everyone

half harness
#

okay

quiet depot
#

and neither of us need no double click drag shit

half harness
#

ik

#

THATS FOR BRIDGINGG_ _

quiet depot
#

what's wrong with bridge eggs

half harness
#

bedwars = skill

#

;-;

#

i lose bedwars because i suck at it

#

but I always win duels

#

๐Ÿ™‚

quiet depot
#

me and cube started winning once we switched to 1.12

#

hypixel hella laggy on upper versions

half harness
#

1.12?!

#

why not play on native?

#

You can't even blockhit!

quiet depot
#

u don' tneed to

heady birch
half harness
#

plus bridging on 1.13+ is so hard

quiet depot
#

niall see my message below it

#

i mean me or cube could never bridge like the sweats do anyway

#

regardless of version

half harness
#

doesn't mc have its own license?

quiet depot
#

our ping is too high

half harness
#

o

half harness
#

no ninjabridge/speedbridge?

quiet depot
#

idk what that is

#

i can't even nerd pole dude

half harness
#

๐Ÿคฎ

#

speed

#

bridge

quiet depot
#

if I try to nerd pole hypixel will teleport me off and i'll take fall damage

half harness
#

o

#

whats ur ping?!

#

5 seconds?

quiet depot
#

idk probs ~300

#

that's what it usually is for na servers

half harness
#

๐Ÿคฎ

#

thats high

#

I have like 30

quiet depot
#

perks of living next to the datacenter

half harness
#

lol