#dev-general

1 messages · Page 215 of 1

ocean quartz
#

Memory in Java disgustedjiro

prisma wave
#

I heard java 16/17 will have a memory api or smtng
@steel heart doesn't it already?

#

that's what Unsafe is

steel heart
#

I have no idea someone mentioned it in spigot discord

#

Might richify or smtng

prisma wave
#

I think they are working on value types

heady birch
#

MemorySegment

empty flint
#

@steel heart Nope doesn't work with EventExecutor either

#

[18:34:29] [Server thread/WARN]: org.bukkit.plugin.IllegalPluginAccessException: org.bukkit.plugin.IllegalPluginAccessException: Unable to find handler list for event org.bukkit.event.Event. Static getHandlerList method required!

prisma wave
#

interesting

empty flint
#

Can't register a lsitener for abstract Event classes

steel heart
#

No you can’t listen to all events obv

#

But you can handle all of them

empty flint
#

Hm aparently you can't listen to all events, you have to specify which events you want to listen to specifically
@empty flint
You can
@steel heart

Bruh...

steel heart
#

Yeah my bad

empty flint
#

But you can handle all of them
@steel heart How do you handle them when you can't listen to them?!

steel heart
#

EventExecutor ?

#

?docs

compact perchBOT
empty flint
#

I just tried it dude

#

You need a listener to use the executor

empty flint
#

unless you have a listener for each Event that you can listen to and point it at the same executor, you can't do it

#

and at that point what the fuck would I need an executor for?!

steel heart
#
class A implements Listener, EventExecutor {
  public void execute(Listener listener, Event event) throws EventException {
    if (event instanceof PlayerEvent) {
      event.doSomethinr();
    }
  }
}```
#

Then register the same instance both as listener and event executor iirc

empty flint
#

did just that

steel heart
#

Send what you did then?

empty flint
#
class Executor() : EventExecutor, Listener
{
  override fun execute(listener: Listener, event: Event)
  {
    println("executing event: ${event.eventName}")
  }
}
steel heart
#

And how did you register it?

empty flint
#

pluginManager.registerEvent(Event::class.java, executor, EventPriority.MONITOR, executor, BlockyDebug.instance)

#

which of course does not work as I found out because you can't register for the Event class

#

because it has no HandlerList

hot hull
#

Do I sense static

#

oh wait it's kotlin

#

eeeee

empty flint
#

idk, do you?

steel heart
#

Wth

empty flint
#

Wth
@steel heart yes...?

steel heart
#

I mean it’s good it doesn’t work but that’s odd, worked for me last time I tried

empty flint
#

afaik they changed it in 1.13 or something

#

at least that's what I read

steel heart
#

Hmm interesting

#

I might have to do a revision in EventBuilder as well then

empty flint
#

but yeah... If I knew how to generate classes and inject them into the classpath, I could do that by just browsing through all subclasses of Event, but I don't, so I can't

steel heart
#

I wish spigot had mixins

#

Or like any bytecode manipulation api by standard

prisma wave
#

but yeah... If I knew how to generate classes and inject them into the classpath, I could do that by just browsing through all subclasses of Event, but I don't, so I can't
@empty flint bytebuddy or cglib + org.reflections / classgraph. They're both pretty big though so maybe not the best option

#

you could probably make a compiler plugin to do it

forest pecan
#

asm (:

#

why nobody talking about asm these days

prisma wave
#

I completely forgot about asm lol

#

Iirc that's the most widely used one

#

Right?

forest pecan
#

yes

empty flint
#

Or what I could do is write an ant script or something similar that creates the files I need

forest pecan
#

one of the popular ones

empty flint
#

as actual kotlin class files

#

before compilation

#

or maybe in groovy even

#

as a build task

#

yeah...

ocean quartz
#

Asm is great 🥺

heady birch
#

When I hear ASM why do I think of assembly

prisma wave
#

once again my attempt at debugging has led me to dodgy porn sites

#

😕

light venture
#

mhm good old cyebrsluts

#

Hold on

#

ThinkSpin

The searches which have came up will be based on your cookies

#

exposed

prisma wave
#

no

#

not true

light venture
#

yes

#

very true

prisma wave
#

no

light venture
#

dont lie to me

#

we both know u like local cybersluts

prisma wave
#

i spoke to the ceo of google and he said that is not true

light venture
#

call me on +0649512263

#

we can cdicuss price later.

#

dicuss

#

discuss

prisma wave
#

😬

light venture
#

Please enter a valid credit card.

prisma wave
#

no

light venture
#

Yes.

prisma wave
#

😨

light venture
#

Are you older than 18

No
Proceeds to take you further into the site and says you have passed the test.

prisma wave
#

Are you prepared to see HOT SINGLES in your area?

hot hull
#

@light venture Fucking weak, not even a number starting with 069

light venture
#

sorry sir

#

ahaha

hot hull
#

BM, ah yes that ad, hot singles in your area, 2km away and you check the location and it's in the middle of a forrest reversed_fingerguns

light venture
#

rofl

prisma wave
#

there are 463 singles waiting in the forest for you!

light venture
#

all hanged on trees

prisma wave
#

🥶

#

they werent hot enough for the job

light venture
#

rofl

#

love thsi channel

hot hull
#

Jesus

light venture
#

frosty the serial killer

empty flint
#

kotlin.reflect.jvm.internal.KotlinReflectionInternalError: Unresolved class: class org.hotswap.agent.watch.nio.AbstractNIO2Watcher$1

Anybody have an idea what that might be?

#
        classes
            .filter {Event::class.isSuperclassOf(it.kotlin)}
            .forEach {
                println(it.name)
            }
#

occurs when executing this piece of code

prisma wave
#

looks like hotswap agent is interfering (obviously), maybe it gets removed from the classpath after hotswapping or something

#

if it's still working you can probably ignore it

empty flint
#

it's not unfortunately

#

that piece of code breaks and I need it

prisma wave
#

hmm

empty flint
#

to print all the class names

prisma wave
#

wrap in a try/catch and ignore while debugging?

empty flint
#
classes
            .filter { it.name.startsWith("org.bukkit.event") }
            .filter { Event::class.isSuperclassOf(it.kotlin) }
            .forEach {
                println(it.name)
            }
#

this solves it

#

pre-filtering the superclass/subclass filter

#

interesting

#

wonder what causes that

prisma wave
#

I presume it.kotlin is the source of the problem

#

probably to do with all of the JVM hacks that hotswapagent does not working with kotlin

empty flint
#

maybe, yeah

#

it is a Class in this case

#

doesn't really matter now

#

Do you have an idea what the best way to use kotlin reflection and the bukkit api would be in order to generate .kt files automatically before compilation? Like in a gradle task?

#

I am using gradle with groovy to build my project though, I don't know how to combine the two exactly

#

Or if that's even a good idea

prisma wave
#

i'm not sure how possible that is

#

codegen is possible, but i'm not sure if it can access classes from dependencies or not

#

You may want to look into KotlinPoet, that's a pretty nice library for generating kt files

empty flint
#

I will take a look, thank you!

#

@prisma wave is it possible to write a gradle task in a task.gradle.kts file and use it from a groovy build.gradle skript?

prisma wave
#

I believe so

heady birch
steel heart
#

Logger can be static, why try-catch exception? Maybe make that string a constant?

ocean quartz
#

Will setPlaceholders ever throw?

modern agate
#

Anyone have any ideas why none of my plugins or world is not generating?

#

It's on a bungee server so I cant even connect to it.

ocean quartz
#

That looks like a vanilla server no?

modern agate
#

Spigot.

#

Atleast it should be.

obtuse gale
#

that 100% is a vanilla server lmao

ocean quartz
#

There is no spigot for 1.8.9

modern agate
#

Ahhh.

heady birch
#

Will setPlaceholders ever throw?
@ocean quartz Yes lol. That's why I built that whole expansion detection thing

steel heart
#

Unless you have a real reason to catch it, don’t

ocean quartz
#

I mean it'll only "throw" on errors right? If that's the case there isn't really a reason for that

steel heart
#

You’re still printing the stack trace

heady birch
#

Yeah so they know what to go off or whatever

steel heart
#

Bruh

#

It automatically prints

heady birch
#

If I don't print it we get the whole "no stacktrace cant fix it" thing

steel heart
#

then wrap it instead

heady birch
#

Wrap?

steel heart
#

Just printing it won’t do any difference

#

Yeah create a KiteboardExpansionException that extends RuntimeException and throw new KiteboardExpansionException(exception);

#

I can’t see any other reasons why you would catch such a generalized exception

#

If it’s not for wrapping to tell anyone where the original exception came from

heady birch
#

🤨 I am catching it because this happens often and 100% of them time it's caused by the placeholder EXPANSION- and it gets sent to me when it should go to the expansion author.

steel heart
#

I mean do it if you feel like it benefits you I guess

heady birch
#

Well it prints:

[KiteBoard] *********************************************
[KiteBoard] FAULTY EXPANSION: Vault
[KiteBoard] CONTACT AUTHOR: clip
[KiteBoard] *********************************************

To help the user I guess

steel heart
#

Ok

heady birch
#

Is that all you have to say for your self !!

steel heart
#

Well, what do you want me to say?

heady birch
#

Idk sorry, excuse me

steel heart
#

The code isn’t bad, in my opinion very solid and good

heady birch
#

🥰

steel heart
#

But can’t review on spigot since I don’t have the resource groda_susp

heady birch
#

100% Solid code

steel heart
#

Yeah it’s nice

#

Wish I took the effort to make my code clean as yours lol

forest pecan
#

Just to verify

#

PacketPlayOutEvent is the packet I want to use if I want to send only a specific player a glow packet for a specific entity

steel heart
#

Probably

#

Tbf I have no idea on all these PacketPlayOutInMiddleEventGloeSquid

forest pecan
#

Lol

#

I can’t wait to make nms version handling

obtuse gale
#

PacketPlayOutInEventActionInteractJoinEventOut

forest pecan
#

;)))))

#

You guys think we should only support 1.15 and 1,16

#

For the plugin at least for now

obtuse gale
#

my maven is being stupid

#

ugh

forest pecan
#

Lol

#

You wanna know why I removed support for versions below 1,15 in the npc lib

obtuse gale
#

okay what the fuck

#

I literally deleted the files from the local repo

#

and it's grabbing it still.. from somewhere

#

You wanna know why I removed support for versions below 1,15 in the npc lib
sure ig lol

steel heart
#

Yeah

#

Like fuck 1.8 users

obtuse gale
#

🤣

forest pecan
#

Besides that lmao

obtuse gale
#

fuck 1.12 users?

forest pecan
#

BuildTools wouldn’t work for me so I couldn’t make 1.14.4 build

steel heart
#

Yep

forest pecan
#

So then I’m like

#

Fuck it

#

I’m removing 1.14 and below

steel heart
#

Yeah

forest pecan
#

Lol

obtuse gale
#

lol

forest pecan
#

Fuck java 8 server owners

#

Fuck 1.8 Minecraft users

steel heart
#

Wait dude

forest pecan
#

Fuck all

steel heart
#

I use java 8

forest pecan
#

Server owners

steel heart
forest pecan
#

I meant server owners who are lazy to update their java

#

More precisely

#

xD

#

Not you

steel heart
#

Yeah I guess

#

Would be nice to utilize the new java features dancing_parrot

obtuse gale
#

like

#

how hard is it to enforce latest LTS

#

ffs

steel heart
#

Basically very hard

obtuse gale
#

yeah

#

like

#

change binaries

#

woooo

steel heart
#

And probably it’s obnoxious as well

forest pecan
#

Smart casting

#

😍

obtuse gale
#

lol

steel heart
#

I heard it’s not good for performance

#

:/

ocean quartz
#

Smart casting?

steel heart
#

In java at least

ocean quartz
#

I wouldn't call that smart casting

steel heart
#

¯_(ツ)_/¯

forest pecan
#

Lazy Casting

#

Lol

steel heart
#

Auto casting

ocean quartz
#

if (obj instanceof String text) is more like reassigning than smart casting
Kotlin has it though

if (obj is String) // obj IS String
steel heart
#

Yeah

forest pecan
#

Should I try out

#

Kotlin

ocean quartz
#

Yes

steel heart
#

Definitively

forest pecan
#

Ok I definitively will

#

Definitely idk how to spell

steel heart
#

It’s tremendously good

#

They’re synonymous but one is more emphasizing

ocean quartz
#

Once you do Kotlin you don't want to go back

forest pecan
#

So it’s a drug?

steel heart
#

Worse

ocean quartz
#

And coroutines ahegao

forest pecan
#

Lol

steel heart
#

Java is a nimcompoop ngl

onyx loom
quiet sierra
#

Having a weird issue where spawning lightning strikes has the effects but the strike itself isn't showing

prisma wave
#

Smart casting
@forest pecan java already has smartcasting... smh

quiet sierra
prisma wave
onyx loom
#

lmao

#

🌝

forest pecan
#

Lol

prisma wave
#

interface Player extends Throwable

#

🙂

errant geyser
#

Thats because Spigot is garbage

light venture
#

@quiet sierra you better update that windows sir

quiet sierra
#

Been like this for a week

onyx loom
#

do u ever turn ur pc off?

quiet sierra
#

I do

#

I just don't click the update version

onyx loom
#

lol

static zealot
#

yo Illusion

#

I don't get it

quiet sierra
#

A custom entity

#

That has a PathfinderGoal

#

That plays particles and smites all nearby entities

#

Could be a boss idea

static zealot
#

oh I see

light venture
#

god damn update and restart before i smite you

quiet sierra
#

Lolno

light venture
#

lollater

quiet sierra
#

I kinda gtg

#

uH

light venture
#

ha then restart

quiet sierra
#

bite an onion

light venture
#

yuck

quiet sierra
#

vitamins

light venture
#

i’ll bite you 🧛‍♂️

static zealot
#

hellllllllllllllll

#

o

light venture
#

hola senior citizen

onyx loom
#

is it just me that checks for updates like every day?

quiet sierra
#

I also did update my work laptop but it prompted an update legit 5 mins later

light venture
#

😂

onyx loom
#

keep it up to date and it wont happen 🙂

#

although that shouldnt happen anyway, gj microsoft

light venture
#

we love microsoft

forest pecan
#

Does the MIT license prevent someone from just copying your work, rebranding and selling at shady prices?

#

I don't want other people to be essentially "scammed" or "ripped-off" for something which is already open source and accessible by the public

ocean quartz
#

MIT is basically, take the code and do what ever you want with it

ocean quartz
forest pecan
#

the description is misleading kinda

#

in some ways

obtuse gale
#

I don't want other people to be essentially "scammed" or "ripped-off" for something which is already open source and accessible by the public
The best alternative to that would be imo GNU GPL v3

#

It allows for private use, but any public distribution has to be open source

ocean quartz
#

Tbh you're kinda forced to do GPL or GPL compatible stuff, if it's Bukkit related

forest pecan
#

Yeah true

obtuse gale
#

lol bukkit is a maze full of licenses

forest pecan
#

its a gray area

ocean quartz
#

Nah, bukkit is officially GPL, so anything you do with it has to be GLP compliant

#

Thank Grum for it

light venture
#

mhm hmm

forest pecan
#

when i mean gray area, i meant more like some authors dont even do open source

#

which is annoying

ocean quartz
#

Yeah, the thing is, you can do what ever just because no one will take you to curt over a plugin kek

forest pecan
#

the sad truth

obtuse gale
#

Nah, bukkit is officially GPL, so anything you do with it has to be GLP compliant
Take into consideration that (depending on what your plugin uses from Bukkit) you are also including a lot of licenses from other libraries as well

ocean quartz
#

Yeah

#

Though most will be GPL compliant

distant sun
quaint isle
#

Hey epic gamers! I have a bunch of domains mydomain.com and anotherone.net

Is it fine to use "mydomain" and "anotherone" as ftp / ssh usernames or is that considered a security risk?
As far as I understand, it is not disclosed whether a username exists via ftp / ssh, is that correct?
Obviously I'm using strong passwords.

prisma wave
#

it would be easier to guess, but as long as you have strong passwords (and potentially a honeypot) you're probably fine

#

Obviously consider SSH keys if possible

dusky drum
#

noni install fail2ban 🙂

steel heart
#

2FA PepeJedi

dusky drum
#

idk if thats on ssh

#

nvm it is possible XD

steel heart
#

You know what

#

FuCk TyPe ErAsUrE

forest pecan
#

lmfao

#

generics have that

steel heart
#

? capture of ? super T extends S<capture ? extends T>

#

Like bruh

forest pecan
#

WtF

steel heart
#

When you get Provided I,O Required I,O

forest pecan
#

my brain is trying to unravel this

#

what does that even mean lmfao

obtuse gale
#

Required type: ?
Provided: ?

forest pecan
#

makes sense

static zealot
#

fuck

obtuse gale
#

lol

forest pecan
#

is broken

static zealot
#

discord broken

#

😦

#

half not

obtuse gale
#

half not

half harness
cold prawn
#

agian"?

dusky drum
#

why is like when i do
if(args.isNotEmpty()){ args.removeFirst()}

throws error?

#

java.lang.UnsupportedOperationException
at java.util.AbstractList.remove

obtuse gale
#

Unmodifiable list

#

Totally

ocean quartz
#

@dusky drum what is args?

hot hull
#

It would appear it's some sort of list

dusky drum
#

fixed apparently it yes just didnt want to work

forest pecan
#

My github was forking a bunch of shit for no reason

#

probably because I keep misclicking

ocean quartz
forest pecan
#

faq's actually help a ton from my experience

#

they help prevent you from losing your brain to people who are like

#

when is going to be the next update

#

how much longer?

#

where to start code?

#

why legacy not supported?

hot hull
#

where to start code?
Basement

forest pecan
#

start code while still a fetus

obtuse gale
#

what the fuck

#

no

forest pecan
#

ok that sounds a bit nasty actually i didnt mean to use that word lmfao

#

lmfao

prisma wave
#

no

#

absolutely wrong

forest pecan
#

elara good

#

elara god

prisma wave
#

well

#

let > var / val / int

#

and no semicolons is nice

#

also it fast

steel heart
#

Will it handle callback hell as well?

prisma wave
#

of course

#

not sure how yet

steel heart
#

Yo fr

prisma wave
#

but it will

steel heart
#

Could be with generics

blazing walrus
#
[code=elara]

let efefury = "uno card"
print("@efefury" + efefury)

[/code]

@obtuse gale

steel heart
#

Considering flatMap or that concept (:

prisma wave
#

flat-map according to elara naming conventions 🙂

steel heart
#

Ah yes sorry

blazing walrus
prisma wave
#

optional semicolons 🙂

blazing walrus
#

👏

prisma wave
#
let result = executor.spawn {
  do-something-heavy()
}

result.when-complete {
  print("yay")
}```
#

elara

#

uh

#

yes

#

"" for string literals

remote goblet
#

I still hate the -

prisma wave
#

🙄

#

let us have our gimmicks

#

let

#

lol

remote goblet
#

no its stupid

prisma wave
#

how come

#

it's not that much different to underscores

remote goblet
#

No underscores either

#

you fuckin demons

prisma wave
#

smh

#

not everything can be camelCase

remote goblet
#

its like a pain in the ass to type

prisma wave
#

possibly

remote goblet
#

the -_ button specifically is very annoying to press

prisma wave
#

only because you're not used to it

remote goblet
#

and i dont wanna get used to it

prisma wave
#

😦

onyx loom
#

id rathe use -
for some reason i use caps lock instead of shift for uppercase letters kek

ocean quartz
#

Same

#

For the caps lock, i don't like -

steel heart
#
let handlableFuture = executor.common.supply {
  thread.current.sleep(1000)
  return "lol"
}

handlableFuture
  .handle { context ->
    if (context.has-error)
    print(context.error)

    context.result { it ->
      print(it)
    }
  }```
#

Or smtng perhaps lol

prisma wave
#

hm

#

that seems like callback hell could happen easily lol

steel heart
#

or maybe more specific like handleError, handleResult etc

prisma wave
#

And yeah, i'm still not sure i like the - or not myself lol

#

hmm possibly

#

we've not really thought it through that much

#

maybe something like kotlin has

frigid badge
#

the - is ugly

#

period

prisma wave
#

maybe

steel heart
#

Easier to type

#

or compared to =

frigid badge
#

might as well start using -> for accessing members

steel heart
#

or uppercase

prisma wave
#

tbf the only reason I chose it was because repl.it competition said the language should be unique lmao

ocean quartz
prisma wave
#

good point

frigid badge
#

yup

#

exactly

steel heart
#

I mean it can be good thing which could have the same function as . for indexing methods

prisma wave
#

wdym

steel heart
#

Ok nvm

#

Anything will do so as welll

frigid badge
#

he probably means it's good since you want to change 'optional' to e.g. 'double' rather than the entire create

#

however that use case is relatively small

#

compared to wanting to change the 'create' / the whole thing

prisma wave
#

yeah generally I think you'd want to change the whole thing

#

I guess if we decided to stick with - for whatever reason, it could be mitigated with a plugin

#

@old wyvern

#

@errant geyser thoughts?

steel heart
#

Yeah like a compiler feature

#

But it’s useless now when I think of it

ocean quartz
#

For me is just that i like to simply double click copy and paste to use again, or to rename or delete, which wouldn't work with -

steel heart
#

Or rather ide feature

hot hull
#

Anyone wanna do a knock knock joke with me?

#

knock knock

onyx loom
#

absolutely not

hot hull
#

Do it.

#

It'll be worth it

onyx loom
#

WHOS THERE?

hot hull
#

where when

onyx loom
#

what why how

hot hull
#

Bruh

#

You suck

onyx loom
#

🌝

hot hull
#

knock knock

onyx loom
#

whos there

hot hull
#

where when

onyx loom
#

where when who

hot hull
#

my place, tommorrow, you and me

#

😏

onyx loom
#

i didnt know u swung that way frosty

#

i respect it tho.

hot hull
#

Ultimate pickup line if you ask me

onyx loom
#

nah

frigid badge
#

frosty rn

ocean quartz
hot hull
#

Kali, gimme something better then.

prisma wave
#

clojure without parentheses

#
defn main [& args]
  println "Hello"
``` indentation based 🙂
hot hull
#

Leave.

lavish notch
#

(Java, Spigot Plugin Development)

How do I wait for a line of code to finish executing, before executing the next line?

steel heart
#

synchronization

ocean quartz
surreal quarry
#

are you like running a task and you want it to complete before you continue?

ocean quartz
hot hull
#

Lol

steel heart
#

Use CompletableFutures or the callSyncMethod from the BukkitScheduler

#

Perhaps

ocean quartz
#

Should make a plugin written entirely with emojis

steel heart
#

Or just a Future maybe HanShrugGif

surreal quarry
#

Should make a plugin written entirely with emojis
you wont :)

ocean quartz
#

Is that a challenge?

obtuse gale
forest pecan
#

🤮

#

It looks like one of those

#

math problems where its like applying

obtuse gale
#

LMAO

forest pecan
#

a special symbol

#

like those problems

#

you know right

obtuse gale
forest pecan
#

its like
a ❤️ b = a + b

#

What is 60 ❤️ 9

obtuse gale
ocean quartz
forest pecan
#

imagine your interviewer gave you that

#

with no context

heady birch
#

Well I mean.......... typedef 🙂

ocean quartz
#

I'd quit the interview kek

forest pecan
#

Kekw

prisma wave
#

@lavish notch it always will wait unless you're dealing with async stuff

steel heart
#

You can achieve weird code execution order by using a lot of functional interfaces iirc

prisma wave
#

clython 🙂

steel heart
#

Jython

obtuse gale
#

JavaScript

#

🙂

hot hull
#

Lol

obtuse gale
#

okay gamers

#

debate time

forest pecan
#

My comment 🤯

#

Who deleted my comment 🤯

obtuse gale
#

<T> @Nullable Collection<T> or @Nullable <T> Collection<T>?

prisma wave
#

staff know how to separate the good from the bad 🙂

#

first one

obtuse gale
#

good boy

steel heart
#

For god sake

#

It’s not the type that is Nullable

forest pecan
#

its not the type, its the actual variable shitty thing lol

obtuse gale
#

as if the compiler cared lol

prisma wave
#

no @harsh kettleable in Gojure 🙂

#

noiqd

#

qdq

#

foiqiuhfqoij

#

sorry

forest pecan
#

XDDDD

prisma wave
#

change your name dude

obtuse gale
#

LOL

steel heart
#

.

obtuse gale
#

CONCLURE

prisma wave
#

lol?

forest pecan
#

CONCLURE

#

fuc

compact perchBOT
obtuse gale
#

(╯°□°)╯︵ ┻━┻

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

obtuse gale
#

(╯°□°)╯︵ ┻━┻

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

forest pecan
#

(╯°□°)╯︵ ┻━┻

obtuse gale
#

😤

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

forest pecan
#

(╯°□°)╯︵ ┻━┻(╯°□°)╯︵ ┻━┻(╯°□°)╯︵ ┻━┻(╯°□°)╯︵ ┻━┻(╯°□°)╯︵ ┻━┻(╯°□°)╯︵ ┻━┻(╯°□°)╯︵ ┻━┻(╯°□°)╯︵ ┻━┻(╯°□°)╯︵ ┻━┻

steel heart
loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

forest pecan
#

(╯°□°)╯︵ ┻━┻

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

obtuse gale
#

(╯°□°)╯︵ ┻━┻

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

obtuse gale
#

NOOO

hot hull
#

(╯°□°)╯︵ ┻━┻

obtuse gale
#

(╯°□°)╯︵ ┻━┻

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

#

┬─┬ ノ( ゜-゜ノ)

normal talon
#

Every one really down voting mitten

prisma wave
#

ikr

#

so mean

steel heart
#

No but stop with these imaginary languages

hot hull
#

It's wat u deserve

prisma wave
#

modern society

plane / minecraft build / "art" - 3000 thousand upvote
gojure - 6 downvotes 😦

obtuse gale
#

it makes me ancri

#

(╯°□°)╯︵ ┻━┻

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

forest pecan
#

😠

hot hull
#

Me angy

#

Fix now

obtuse gale
#

wat

steel heart
#

Ansi

#

Bruh r u old?

#

UTF ffs

#

UTF 64 nocap lol

forest pecan
#

Bruh r u old?
@steel heart I am 😢

steel heart
#

Stfu

forest pecan
#

sTfU

obtuse gale
#

lol

forest pecan
#

lol

obtuse gale
#

how old

forest pecan
#

Old as your mom

#

too old

steel heart
#

She/he is like 12 years old

#

Nocap emoji_36

forest pecan
#

im not 12 lmfao

obtuse gale
#

-1

forest pecan
#

im 29 :Kapp:
@obtuse gale

prisma wave
#

i

steel heart
#

-1

#

Ez

obtuse gale
#

e^i

forest pecan
#

that means you arent born yet

obtuse gale
#

e^-i

#

-e^-i

prisma wave
#

i^i

forest pecan
#

According to Conclure

#

my age decreases

#

as I go older

steel heart
forest pecan
#

said i was 13

#

and now 12

#

lol

steel heart
#

The specimen is like 12 years old I guess

obtuse gale
#

idk

#

uuuh

steel heart
#

(Pulse)

prisma wave
#

1..100

obtuse gale
#

idk

#

how old are you

prisma wave
#

I know

#

Of course

forest pecan
#

Yes i am completely legal to have discord

#

at 12 years old

hazy cape
#

Hey i have a question, i want to change ranks of the player of my server, but i only know how to create "command /rank", please can somebody help me to create a command "/rans <player>", to open a custom gui please. Ty.

prisma wave
#

Your age is

#

steel heart
#

(-1)^(1/2)
Σ(λ^ λ)
λ=0

forest pecan
#

#

#

obtuse gale
hazy cape
#

ok ty

steel heart
#

It’s cosine

#

Obv

forest pecan
#

3.14159265359
@obtuse gale terminated number

obtuse gale
#

no shit sherlock

#

lmao

forest pecan
#

its not pi tho cause pi has infinite

#

digits

#

lol

#

its just a decimla

#

i cant sepll

#

Lol

obtuse gale
#

younger than me

#

I'm fucking old

#

;~;

steel heart
#

You’re like 937473736

obtuse gale
#

937473737

forest pecan
#

69?

#

too much hmmm

#

Damn

#

the oldest human was 122

#

you must uh

#

have very good health

steel heart
#

Pls no

forest pecan
steel heart
#

You’re by definition 12 as well

forest pecan
#

happy birthday

steel heart
#

Hoax

#

You’re 12

forest pecan
#

No

steel heart
#

Change my mind

forest pecan
#

Im actually

steel heart
#

Ok pulse you can be 13 I guess

forest pecan
#

No

#

Im actually

#

2

#

Let me guess doggo age

umbral mica
hot hull
#

I can't actually remember how old Conclure is

steel heart
#

Executors.run(() -> User.get("_11"))
.kill();

#

Now it’s dev related (:<

forest pecan
hot hull
#

Property get invalid

steel heart
#

It’s actually higher if you don’t count all the people who tends to shoot themselves

forest pecan
#

That became dark

#

lmfao

steel heart
#

GC.clear(wtf);

forest pecan
#

a ❤️ b = a + "is" + b

steel heart
#

ab

forest pecan
#

Conclure ❤️ gay

steel heart
#

I can’t live with that s (

#

ga y != gay

forest pecan
#

Boom

#

how does it feel

#

to delete the space

#

I crushed all your life dreams

#

by pressing delete

#

😮

#

sout(delete)

#

oh wait

steel heart
#

Fub

forest pecan
#

Kekkkkk

hot hull
#

┬─┬ ノ( ゜-゜ノ)

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

forest pecan
#

(╯°□°)╯︵ ┻━┻

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

steel heart
forest pecan
#

Wait

#

WhAt tHe FucK

#

iS tHat

forest pecan
#

I like how the dude next to him

#

just rises up

#

and is like

steel heart
#

Lmao

forest pecan
#

"wtf?"

hot hull
#

Take this stupid bot

#

(ノಠ益ಠ)ノ彡┻━┻

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

hot hull
#

┏━┓┏━┓┏━┓ ︵ /(^.^/)

forest pecan
#

hm

hot hull
#

┻━┻︵ (°□°)/ ︵ ┻━┻

umbral mica
#

:spam:

steel heart
#

Epicness

forest pecan
#

UwU

#

@obtuse gale

steel heart
#

@obtuse gale emoji_36

forest pecan
#

Im lovin it

steel heart
#

Same

forest pecan
steel heart
#

Better than oracle themselves

forest pecan
#

WhY aRe mY gIfs

#

nOt sh0wing

steel heart
hot hull
#

@obtuse gale Why is it all exposed

#

Aaaaaaaaaa

forest pecan
#

static abuse

#

<33333

#

i read his/her code now

#

and i cant understand a thing now cause its so cmplex

#

lmfao

hot hull
#

Not even static abuse in the ss, just exposing fields, this ain't kotlin boyo

steel heart
#

Fr but my code is worse

#

Ngl

forest pecan
#

i have the worst code

#

just saying

#

lol

#

I'm a boomer

hot hull
#

Someone should go judge my potato code reversed_fingerguns

forest pecan
#

i'm going to fork potato

forest pecan
#

in the ponclure organization

hot hull
#

I can't

#

Bye

forest pecan
steel heart
#

Lol

steel heart
#

Thought that was something else first lol

hot hull
forest pecan
#

kekw

hot hull
#

Imagine embeding the image shitty discord

forest pecan
#

lol

obtuse gale
#

CONCLURE

#

FFS

prisma wave
#

I go run some errands and come back to this...

steel heart
obtuse gale
#

NO

ocean quartz
#

@obtuse gale Ikr i hate when people ping

obtuse gale
#

I should delete that fucking branch

steel heart
#

Ok @ocean quartz I think @obtuse gale likes it though

obtuse gale
#

that's it I'm deleting that stupid branch

ocean quartz
#

Ok @ocean quartz I think @obtuse gale likes it though
@steel heart Think so?

steel heart
#

@ocean quartz according to my calculations
∛λ=Yes

obtuse gale
#

@steel heart I hate you ❤️

distant sun
#

@steel heart please tell me that is not your IDE 🤢

steel heart
#

What

runic flume
#

With my github packages, I published it and added it to my project. When I use a method, the parameters are all messed up

#

How do I fix this?

lavish notch
#
sellGUI.generateFiles();
sender.sendMessage(configReloadedMsg);

the first line is async, the second isn't. How can I make the second run after the first has complete?

steel heart
#

CompletableFutures

obtuse gale
#

CompletableFuture :^)

steel heart
#

:^)

lavish notch
#

How do I use that?

steel heart
#

@runic flume what’s the issue?

runic flume
#

look the abstract void onExecute

#

it has proper naming

#

for paramters

steel heart
#

Fefo can u give an example, on phone

runic flume
#

But when I add the repo/depen to my project and implement/extend the class, the paramter names are fucked up

steel heart
#

It’s autogenerations by the ide

obtuse gale
#

Fefo can u give an example, on phone
@steel heart same lol

steel heart
#

Yeah how are you adding it?

#

Hope it’s either implementation or api

obtuse gale
prisma wave
#

how can you unit test functionality based on random numbers

runic flume
#

Just with regular GitHub packages

#

I published my lib for commands etc, to a GitHub package

#

Added te repository and dependency to my proejct's pom.xml like any other maven thingie

steel heart
#

Then some weird ide setting

runic flume
#

hmm

obtuse gale
#

can you

steel heart
#

you’d use whenComplete though

obtuse gale
#

like

#

delete the embed?

foggy pond
#

What is that commands library called

#

Matt something

#

I am trying to look for the documentation of that online but I can't find it

obtuse gale
#

?mf

compact perchBOT
foggy pond
#

Oh nice thank you

obtuse gale
#

you’d use whenComplete though
eeeh depends

steel heart
#

generateFile()

#

I mean he might alr have handled that but ye

prisma wave
#

does anyone else's IJ have a 10 second lag spike when editing material constants or is that just me

steel heart
#

I have experienced that before

prisma wave
#

quite annoying

runic flume
#

Nehh not for me

#

Try to dedicate some more ram to IJ?

#

idk

prisma wave
#

possibly

obtuse gale
#

does anyone else's IJ have a 10 second lag spike when editing material constants or is that just me
yeah same

#

Try to dedicate some more ram to IJ?
didn't work for me :((

#

so I turned it down again :kek:

prisma wave
#

weird lol

#

only been happening recently for me

obtuse gale
#

same

#

don't know what's up

steel heart
#

I use IntelliJ community from 2016 which for reason is significantly better

runic flume
#

wut

quiet sierra
#

Anything past 2018.3.6 is bad

runic flume
#

Works perfectly for me

obtuse gale
#

Ultimate Settings

#

epic

runic flume
#

lol

steel heart
#

Odd flex

onyx loom
#

does anyone else's IJ have a 10 second lag spike when editing material constants or is that just me
@prisma wave lol bad pc

prisma wave
#

😦

bitter jackal
#

Donde puedo encontrar deluxechat

#

para 1.16.2

ocean quartz
regal gale
#

Second: english 👀

ocean quartz
obtuse gale
#

super(this)

ocean quartz
#

Nah super(something, new Something(this))

obtuse gale
#

I mean it makes sense lol

ocean quartz
#

Yeah, but it's annoying

obtuse gale
#

Put it in a supplier or something

#

And then .get

#

Ez workaround

ocean quartz
#

I don't think this will work the way i want 😩

#

Regretting using reflection now

ocean quartz
#

Found a way around it PogW

pseudo matrix
#

Anyone have a bot like the Barry bot with levels and badges and such?

steel heart
#

No Barry and only Barry is Barry

prisma wave
#

import elara/barry

barry.run()

hot hull
#

You gotta stop BM

prisma wave
#

No

#

Coming soon
C++lojure
JavaF#
OdinCaml

lavish notch
#

So, I've added the B-Stats graph to my plugin page on SpigotMC, but the data is shows doesn't match up to the b-stats page - any ideas for what I've done wrong?

prisma wave
#
let String[] arr = {"Hello", "World"};

System.out.printfn arr |> Arrays.stream |> Stream.map String.capitalize |> String.join " ";

Javaf# 🙂

#

public static fn main(args: Arr<&'a str>) {
  System.out.println!(&"Hello World".unwrap().as_ref());
}

Rava / Just 🙂

lavish notch
#

Brister, do you any ideas about my issue above?

#

Oop- never mind, I guess it was just my impatience

prisma wave
#

yeah I was gonna say it's probably just caching

dusky drum
#

okay so c# question
I have date in format 010107(mm,dd,yy) and time in format: 120000 (hhmmss)
how can i convert that to actual datetime class

sharp knoll
#
int mmddyy = 010107;
int hhmmss = 120000;

int year = 2000 + mmddyy % 100;
int month = (mmddyy / 100) % 100;
int day = mmddyy / 10000;

int hour = hhmmss / 10000;
int minute = (hhmmss / 100) % 100;
int second = hhmmss % 100;

DateTime date = new DateTime(year, month, day, hour, minute, second);
#

@dusky drum

dusky drum
#

interesting

#

i get year 2008 XD

#

i belive my machine can have wrong dating then or something idk

sharp knoll
#

wait really?

dusky drum
#

ye

#

idk why tho

sharp knoll
#

weird

dusky drum
#

idk why this is 08

frigid badge
#

why do you have mmddyy and hhmmss seperate anyway

#

like where do you get those values from

obtuse gale
#

Wait Mackenzie is shopgui+ author? woo

hot hull
#

No lol

obtuse gale
#

Yes lol

hot hull
#

wdym yes lol, he's not

obtuse gale
#

I mean yeah anyone can do that right there, but how likely is it they will for something like.... bstats.?

hot hull
#

His plugin ShopGuiPlus SellGUI

obtuse gale
#

oh

#

disappointment

hot hull
#

You idot

obtuse gale
#

yeah fucking kill me already

lavish notch
#

I'm not talented enough to make such a good plugin lol

prisma wave
#

Kotlin + Python?

onyx loom
#

lmao

prisma wave
#

Haskell is PRACTICAL and MODERN

#

PRAGMATIC

obtuse gale
#

aaa yes

#

Java

#

Runs on 3 billion devices

#

3 billion devices run Java

onyx loom
#

java devices run on 3 billion

obtuse gale
#

"Jotlynthon" sounds like some sort of British sport lmao

normal talon
#

Does anyone know a software / system where the system automatically call people or something ?

prisma wave
#

JoT lin thon

normal talon
#

that is a language

#

`elara mittenToday at 14:12
public def main(String[] args: Array<out String> : Unit :
System.out.print(f'Hello $args[0]');
}

Jotlynthon 🌚

Last one, I promise`

prisma wave
#

It is

#

a good language I must say

steel heart
#

Bruh

normal talon
#

I'm looking for software not languages xd

forest pecan
#

Don't use Junit on plugins right

steel heart
#

Depends

prisma wave
#

I use junit quite often

forest pecan
#

(╯°□°)╯︵ ┻━┻

loud gyroBOT
#

┬─┬ ノ( ゜-゜ノ)

obtuse gale
#

I mean unit testing is.. for.. individual units

forest pecan
#

Can you even do junit testing on minecraft plugins?

prisma wave
#

Yes

forest pecan
#

like make a dummy player

prisma wave
#

MockBukkit can do that

obtuse gale
#

for that matter just throw the plugin into the server and do the thing lol

prisma wave
#

But I usually try and decouple code to avoid needing it

#

Yeah

forest pecan
#

I just usually yeet it into the plugins folder

#

lmfao

prisma wave
#

Imagine not spending hours making a test suite to test stuff that already works

steel heart
#

MockBukkit can do that
Lol someone even uses that?

forest pecan
#

Bro i can't

#

this kid is asking me

#

how to add maven repo for spigot api

#

into online ide

normal talon
#

with brain

steel heart
#

Lmao

forest pecan
#

xD

#

Just write the spigot api yourself

#

line by line

#

inside the ide

#

lol

prisma wave
#

Lol someone even uses that?
@steel heart only when absolutely necessary

#

It kinda sucks ik

forest pecan
#

kinda hacky 👀

prisma wave
#

Adventure users, is it a viable alternative to bungee chat api in 1.8?

#

Because the 1.8 ComponentBuilder sucks

tranquil fable
#

Not really, you can probably find a api but thats it except legacytext

steel heart
#

Hmm I haven’t used adventure api but probably not

prisma wave
#

Un

#

Hm*

#

Idk why it's so hard to append a BaseComponent to a ComponentBuilder

#

I guess I'll just use reflection

steel heart
#

Lol

obtuse gale
#

Adventure users, is it a viable alternative to bungee chat api in 1.8?
Because the 1.8 ComponentBuilder sucks
@prisma wave as an overall experience, I do tell it is a better API, the component building is more "predictable", it has build-in translatable component argument replacement, it has recursive components text replacement, it has minimessage with gradients support

#

and you can very easily create hover events 👀 you just TextComponent#asHoverEvent()

prisma wave
#

That sounds good but seems like overkill for my requirements

agile turret
#

Hashtag @prisma wave 4 admin

#

he has half a billion messages here the guy deserves it

prisma wave
#

I literally just need to append a few BaseComponents together

obtuse gale
#

I mainly switched to it because of this
> the component building is more "predictable"
it makes more sense, you can specify individual components' colors/decorators, nested components don't "leak" their colors/decorators onto the parent component, I had to make a lot of workarounds with bungee's componentbuilder to make that work (with a lot of hacky whacky formatretention bs)

#

> recursive components text replacement
and this too

#

lol

#

had to make even more hacky whacky workarounds with bungee chat api to recursively replace something as simple as a {0} argument

#

holy shit my brain hurt that time

prisma wave
#

Yeah the bungee API sucks

#

But I'm not sure it's worth switching everything over for a simple task

obtuse gale
#

try it out

#

with the bunge api I had to make 12 utility methods to make component building easier lol

#

with adventure, only 2

#

besides

#

with adventure I don't have to do fucking this

#

=paste

compact perchBOT
#
HelpChat Paste

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

obtuse gale
prisma wave
#

🥶 good point

obtuse gale
#

So yeah, I'm comfortable with a few extra kB lol

#

only to replace {0} arguments lmao

round pier
#

Hmm, I want to get my main class instance into another class, but it's a superclass (Pretty rusty, think thats what you would call it) that I'm gonna be making a lot of instances of and want to store instances of, and that's really one of the reasons I don't want to do the method where you pass the main instance into the constructor, is there a different way of doing it? I know I could make a static instance of the plugin but I hear that's not the preferred way.

frigid badge
#

wait are you sure that it's a super class?

#

hopefully not of your main class right..

#

could use a dependency injection library like guice or dagger or whatever else that's on the market. And otherwise you'll need to use manual DI or a singleton for example

#

but why do you need your main class in another class, like what does it need from the main class?

prisma wave
#

Dagger 🤮

frigid badge
#

any dependency injection library is ew

prisma wave
#

Guice 🙂

#

What are your thoughts on Gojure btw

frigid badge
#

just learn go