#dev-general

1 messages ยท Page 354 of 1

prisma wave
#

noooooooooooooooo

jovial warren
#

BM you any good at profiling?

heady birch
#

memory safe circle jerk time

jovial warren
#

there's 6,470 non-CPU-profiled classes ๐Ÿฅฒ

#

7,207 total classes

#

yeah something is wrong

#

24 total threads, good to see that's working

heady birch
#

Does it not show you the objects using the most?

half harness
#

memory leaks?

jovial warren
#

Long ๐Ÿฅฒ

#

oh ik where that is

#

FUCK

heady birch
#

Lol

jovial warren
#

and the worst part?

#

nothing I can do about it

heady birch
#

Why not

jovial warren
#

I could put bets on that being all of the heightmap longs

#

chunk storage lol

heady birch
#

Just use an int

#

Half the memory easy

jovial warren
#

and block states

#

1024 block state longs for every section in every chunk

#

so that's (1024 x 16) x ((render distance * 2 + 1) ^ 2)

heady birch
#

Ok lets be real how many blocks have a block state I wonder if their is a way you can reduce that somehow

#

Im probably talking rubbish

jovial warren
#

lemme just do the calculations for the 10 render distance I use on the server

#

right, ready for this?

#

7,225,344

#

it's 16,384 per chunk

#

or am I wrong actually

#

yeah I'm chatting shit

#

it's not 1024

#

it's 4096 ๐Ÿฅฒ

#

so 65,536 per chunk

#

x 441 chunks = 28,901,376

#

yeah...

#

is that a lol?

cinder flare
#

bruh wtf

#

do you really need to have those on hand at all times?

jovial warren
#

if I didn't, I wouldn't load them

#

I mean, I could do what Mojang does, where they have a ticket system, and any chunk that doesn't need to be loaded gets unloaded

forest pecan
#

make sure to use bitwise

#

:)

cinder flare
forest pecan
#

its chunk unloading

cinder flare
#

which seems to be exactly what you need

jovial warren
#

yeah that's basically what it is

#

but I need a lot of chunks loaded at any one time anyway

#

since the client needs them

#

and re-loading chunks when the client moves between them seems a bit inefficient

#

when something you made is in the top 20 for most memory

#

there are 3,682 NamespacedKeys

#

and 3,666 RegistryEntrys

#

right, round 2

#

omfg there's 343,720 namespaced keys now

#

and 339,180 chunk blocks

#

107,136 chunk sections wtf

forest pecan
#

well 16 chunk sections in a big chunk

#

right

#

cause 16x256x16 for chunk

jovial warren
#

16 chunk sections x 441 chunks

forest pecan
#

and 16x16x16 for subchunk

#

yea

jovial warren
#

but that's only 7056

#

something somewhere is getting way over allocated

forest pecan
#

7056 chunks is a lot

jovial warren
#

something's wrong here

jovial warren
forest pecan
#

Oh

#

still a lot

jovial warren
#

yeah but it's very far from 107,136

forest pecan
#

mhm

jovial warren
#

funny how the longs disappear if I run a GC

#

like completely

#

that just proves that they ain't used after that point

#

which means if there's no references then they will get loaded again when another player joins

forest pecan
#

weakreference

jovial warren
#

ah

heady birch
#

@prisma wave what is the current circle jerk language to learn

#

f#?

static zealot
prisma wave
prisma wave
heady birch
#

Hm i dont think I like F# actually maybe

#

module =
type

prisma wave
#

I think you can declare a module like you would a package

#

it doesnt need the =

#

elvis operator in f#

heady birch
#

Okay thats pretty nice

cinder flare
#

looks like a funky regex boi

#

i kinda like it

#

this F# thing is kinda getting to me

prisma wave
#

yea u cant use : in custom operators so i had to improvise

prisma wave
old wyvern
#

bind instead ๐Ÿ˜Œ

#

elvis ew

#

Actually wait

#

nvm

#

xD

#

Completely diff thing

prisma wave
#

yeah cant use bind here

old wyvern
#

Actually does haskell have anything similar to this ๐Ÿ˜ฎ

#

maybe fromMaybe

#

But no operators ig

prisma wave
#

yeah idk

#

infixes ig

old wyvern
#

that would look awkward tho

#

Nothing `fromMaybe` "Hello"

prisma wave
#

yeah true

old wyvern
#
(?:) :: Maybe a -> a -> a
maybeA ?: b = fromMaybe b maybeA
{-# INLINE (?:) #-}
#

That works ig

prisma wave
#

not bad

cinder flare
unkempt tangle
#

Senpai ๐Ÿ˜ญ

#

I need ur welp

#

I dont understand what I am doing

prisma wave
#

ok

half harness
#

why are you saying "welp"

#

?

unkempt tangle
#

cuz its more hopeless

half harness
#

??

unkempt tangle
#

than just saying help

half harness
#

???

#

how-

cinder flare
#

what do you even need help with lol

unkempt tangle
cinder flare
#

and why you gotta be so weird about it

unkempt tangle
#

Why do I have to explain you basic things

half harness
#

yes... very basic

unkempt tangle
half harness
prisma wave
#

(?:) this is just the name of the function. () denotes that it's an operator with special symbols

#

:: this is just the same as : in kotlin

#

Maybe a -> a -> a this is the signature of the (?:) function. In kotlin terms it's Maybe<T>, T -> T

#

although slightly different

jovial warren
#

no players online, 2GB RAM

#

very nice

stuck harbor
#

hehe

jovial warren
#

actually I'm on

#

run GC and that drops hard to like 200 MB

#

but you can have a vanilla server run on like 1 GB with like 5 players or something

prisma wave
#

maybeA ?: b = fromMaybe b maybeA
this is the actual function body. it's basically ```kt
fun ?: (maybeA, b) = fromMaybe(b, maybeA)

prisma wave
#

the types dont need to be specified because we declared them in the previous line

prisma wave
#

{-# INLINE (?:) #-} and this is just some marker to say that it should be inlined

jovial warren
#

man, we need those in Kotlin lol

prisma wave
#

custom operators?

#

yeah

cinder flare
cinder flare
cinder flare
jovial warren
#

(T) -> T

cinder flare
#

Yup still lost boss

jovial warren
#

omfg

#

that's a higher order function

prisma wave
cinder flare
#

don't know what that be

#

oh I seeee

prisma wave
cinder flare
#

still don't know what that be

prisma wave
#

(Maybe<T>, T) -> T

jovial warren
#

(T) -> T is a function that takes T as a parameter and returns T

prisma wave
#

forgot u need parens

cinder flare
#

oh like a lambda

prisma wave
#

yeah

cinder flare
#

ah okay i see

#

that is one condensed boi

jovial warren
#

I swear if you've been using Function<T, R> all this time

prisma wave
half harness
cinder flare
#

I really don't write that much Kotlin

jovial warren
cinder flare
#

I wish I did, I just don't have much reason to

prisma wave
#

haskell > kotlin

jovial warren
#

oh also, I just noticed something

#

@ocean quartz why tf do you use 1.4 line spacing lol

ocean quartz
#

I use the default lol

jovial warren
#

way too fat for me

#

I use 1.2 lol

#

1.2, Fira Code Medium, 15

#

perfect font settings

old wyvern
#

Another awesome one is overloaded strings

#

Allows you to use custom string types like the native one

prisma wave
#

ooh

cinder flare
#

i like ruby

#
5.times
``` is my dream
jovial warren
#

you know that's a thing in Kotlin right?

#
5.times(7) // 35
old wyvern
#

No

cinder flare
#

fucking HUH

#

i like kotlin like, 80% more

#

i didn't even know that was possible

jovial warren
#

Kotlin has operator functions

cinder flare
#

i thought that was the fun ruby way

#

Im so happy righ tnow

jovial warren
#

so Kotlin allows you to override the functionality of all the operators

cinder flare
#

you don't even know

old wyvern
#

But not new ones

#

You can only modify the ones already present in the language

#

Unlike F# and Haskell ๐Ÿ˜Œ

jovial warren
#

e.g. ```kotlin
class MyClass(var value: Int) {

operator fun times(other: Int) = this.value * other

}

#

actually that's a terrible example but you get the point

#

oh also, any suggestions on what I should do about the scheduler?

prisma wave
jovial warren
#

like should I use an executor? coroutine dispatcher? both?

old wyvern
#

Coroutine dispatcher

#

And just add some way for Java to send a runnable to it as well

jovial warren
#

might expose both for compatibility

#

yeah

#

like expose the dispatcher and its backing executor

#

or is that a bad idea

old wyvern
#

Could you actually override the Dispatcher.Main?

#

How does android and javafx provide their own Main dispatchers?

jovial warren
#

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

old wyvern
#

Might wanna check that

jovial warren
#

why would I make my own main dispatcher btw?

old wyvern
#

To make switching between the server thread and user threads easy

jovial warren
#

there isn't really a "server thread" in that way though

#

remember what this is lol

old wyvern
#

What thread pool does it run on?

jovial warren
#

there are many server threads

#

IO

old wyvern
#

so fj common pool

jovial warren
#

I believe IO uses a dispatcher scheduler if it can, or else uses FJP

#

from what I read in the code

old wyvern
#

I mean if you ever wanted safe mutability somewhere ig

#

Thats what android does for its UI

#

You cant change anything on the UI from other threads

#

Just throws an exception if accessed off thread

jovial warren
#

yeah ik

#

oh btw, just looking at LuckPerms, it has an interface called ClassPathAppender, which is for adding JARs to classpath

#

any idea how I could implement that?

old wyvern
#

Link

jovial warren
#

I think it's part of LP's new jar in jar system

cinder flare
#

just be as smart as Lucko and I'm sure life will come easy to you

jovial warren
#

he came up with jar in jar to allow hackery on Java 16 lol

old wyvern
#

wdym hackery?

jovial warren
#

he does what PDM does basically

old wyvern
#

Also why the "jar in jar"?

jovial warren
#

downloads JARs and loads them into classpath

old wyvern
#

ah

jovial warren
#

that's why the LuckPerms folder has a lib folder

#

he made an actually useful PDM basically

#

with relocation

old wyvern
#

๐Ÿคท

prisma wave
jovial warren
#

lol

prisma wave
#

luckos is hardcoded

#

PDM is dynamic

jovial warren
#

I'm saying that PDM is a BTEC LuckPerms lib

old wyvern
jovial warren
#

only British people would get that

prisma wave
prisma wave
#

might be wrong

old wyvern
#

Wait so pdm could still work after java 11?

prisma wave
#

yes

old wyvern
#

Why arent you remaking it yet my guy xD

#

I thought you just gave up coz it wouldnt work after modules got added

obtuse gale
#

that makes it work in a non hacky way

#

whereas before it did things with reflection

old wyvern
#

net/http pretty lit

ocean quartz
old wyvern
#

๐Ÿฅฒ

jovial warren
#

thinking about Java 16 stuff, I wanna see if Krypton will run on Java 16

old wyvern
#

Why wouldnt it?

jovial warren
#

idk, not sure if any of the dependencies use any hackery

old wyvern
#

Java almost always focuses on backwards compatibility

jovial warren
#

yeah but if one of the dependencies is using reflection to access something it shouldn't be then we got problems lol

#

I mean in the context of breaking modularity

old wyvern
#

What such dependency would you be using?

jovial warren
#

idk, Netty? Retrofit? something that uses reflection

old wyvern
#

Retrofit is class generation afaik

#

Netty is jni

ocean quartz
#

What are the Java 16 reflection changes?

old wyvern
#

Lemme check

jovial warren
#

you know how in Java 9 they warned everyone about encapsulation with modules?

#

well as of Java 16, they now enforce that strong encapsulation

old wyvern
#

Oh java 16 got released today?

jovial warren
#

it's now, by default, set to whatever tf

jovial warren
#

wait what?

#

really?

old wyvern
ocean quartz
#

It did yeah

old wyvern
#

Doesnt look like anything affects reflection

#

not sure

jovial warren
#

yeah that's what I said

#

that's what everyone's talking about

#

that's the thing that BM said could be the end of PDM once

#

and what caused lucko to implement jar-in-jar

ocean quartz
#

Yeah that's why i asked

old wyvern
#

I mean I think removing open use of classloaders would be a step back

#

They most likely wont change that

jovial warren
#

the internal class loaders shouldn't be used though

old wyvern
#

A lot of projects depend on them working

jovial warren
#

e.g. the bootstrap, system and application class loaders

old wyvern
#

Those cant be used even rn afaik

jovial warren
#

well, the bootstrap class loader can't be used anyway

#

since it's native

forest pecan
#

maybe someone will find a way

#

๐Ÿฅฒ

static zealot
#

that's an entire post right there

#

probably no one will answer. to much to read

#

lmao

old wyvern
#

It did block that?

forest pecan
#

Yeah

jovial warren
#

oh actually, should I just expose a scheduled executor service for scheduling and be done with it?

#

or can I unfortunately not do that

#

maybe I should just back it with SES

old wyvern
#

wut xD

forest pecan
#

kek

#

link?

old wyvern
#

lol

forest pecan
#

lmaoo

jovial warren
#

oh also, is it worth having tasks bound to plugin instances?

cinder flare
#

i mean that's just how bukkit is

#

I never really considered if that was a good idea lol

forest pecan
#

it's good for debugging

jovial warren
#

would make it easier if I could just use pure SES lol

forest pecan
#

and timing reports shit

#

for plugins

obtuse gale
old wyvern
#

Yea

jovial warren
#

plugin disabling is a very long way off yet

old wyvern
#

Or you could have a separate lifecycle handler and observer

jovial warren
#

like them disabling themselves while the server is still running

old wyvern
#

Let users create new lifecycle handlers and observers if they want as well, tasks die when their initializing lifecycle handler gets the Dead state

jovial warren
#

what

#

how would I do that?

old wyvern
#

You would have a some class that holds a lifecycle state, lets say for eg: "LifecycleOwner" who would know its current state in the plugin's lifecycle. By default you would provide a plugin with a lifecycle owner. To create a new one, the user should have to link it to another lifecycle owner. The lifecycle owner should receive changes to the plugins state like "Initialized", "Dead", "Reload" or any extra states you may have. This state would be passed to all linked lifecycles.
Then you could have a lifecycle observer which can be registered in your "LifecycleOwner" which would be called when any state in the owner changes, so the plugin can make required changes.

So when applying this to tasks, You would take a lifecycle owner when leting users schedule a task, and then you would internally register a LifecycleObserver to that owner. So when the owner goes into the "Dead" state, you can cancel the remaining scheduled tasks...ect...

jovial warren
#

as you can probably tell, I got literally none of that lol

#

what's the actual point in that though?

forest pecan
#

@steel heart

#

feel proud

#

#694661573125472256 message

jovial warren
#

no access ๐Ÿ˜ฆ

forest pecan
#

md5 commented on your github

#

in spigot discord

old wyvern
jovial warren
#

ah right

half harness
#

hm

static zealot
#

Conclure is popular now. he'll forget about all of us in less then 2 hours

half harness
#

why does my 1.8 server take 5 seconds to startup

#

but my 1.16 takes 40 seconds

#

;-;

static zealot
#

because 1.8 sucks

#

my 1.16.5 server takes 7 seconds to start with 20 plugins on it ..

half harness
#

how

static zealot
#

easy

half harness
#

mine takes like 40 seconds with 10 plugins or smth

static zealot
#

just know that plugins usually add a lot to the start time

#

that was a joke but 1.16.5 on paper takes a few seconds to start with no plugin.

#

like 4-5 max

half harness
#
[17:29:45 ERROR]: [CPSCounter] Unhandled exception occured in onPacketSending(PacketEvent) for CPSCounter
java.lang.IllegalStateException: Override onPacketSending to get notifcations of sent packets!
```what does this mean?
static zealot
#

CPSCounter... but CPS don't matter he said

#

lmaoo

half harness
#

?

static zealot
#

nothing

ruby dirge
#

Is JetBrains Academy good? I have github student dev pack aka free jetbrains products.

static zealot
#

yeah

stuck harbor
#

prolly good

#

I use FOSS software all the time tho

#

no jetbrains

static zealot
#

BM recommended it so it must be good ๐Ÿ˜ข

stuck harbor
#

bm doesn't like PHP tho

#

and PHP is great

static zealot
#

PHP sucks

stuck harbor
#

๐Ÿ‘€ controversial opinion there /s

static zealot
#

1 thing that was fixed in the latest windows update and I don't hate is that my pc finally starts in dual screen every time. I don't have unplug and plug back my hdmi cable

distant sun
#

why are chrome extensions so annoying to make smh

ruby dirge
static zealot
#

bcz google sucks

lunar cypress
#

Free open source software software

static zealot
#

software software

stuck harbor
#

shut

#

OOP programming

oblique heath
#

object oriented programming programming

steel heart
#

lol

forest pecan
#

ig i will never be developer

#

๐Ÿฅฒ

ocean quartz
#

Programming Object Oriented Programming

steel heart
#

Object Object Programming

old wyvern
#

FAP
Functional Accountable Programming

steel heart
#

YAML Yugi Accountable Multiparadigm Language

ocean quartz
#

@half harness At it again

forest pecan
#

Pin it

half harness
#

------------__________________________________________------------

ocean quartz
#

Why do you like wet code

onyx loom
#

DRY

half harness
#

i just cba to make a new method

#

for 5 lines of duplicate code

#

that only happens twice

forest pecan
#

i love wet

#

i wet my pants

ocean quartz
#

That's how you create spaghetti code

#

"It's just twice"

#

"Ay only one more time won't be bad"

timber oak
#

Why does noone use VSCode?

#

It's actually good

steel heart
#

cap

timber oak
#

but why

unkempt tangle
#

Matty

#

Do you ahve experience with debugging :c?

ocean quartz
#

Yes

ocean quartz
timber oak
#

I never hear about anyone use it for plugin development

#

Other than one person

steel heart
#

I did once

#

it was a hell in my experience

quiet depot
#

lol

ocean quartz
#

Well because VSCode is not an IDE and it's not for Java lol

quiet depot
#

vscode is garbage for plugin dev compared to intellij or even eclipse

timber oak
#

But with the right extensions it can do the same?

#

I think

#

lol

onyx loom
#

highly doubt that

quiet depot
#

sure, 100x slower with 100x more bugs

timber oak
#

Gradle is still building though?

ocean quartz
#

You can code plugins on notepad, doesn't mean it's good

timber oak
#

Does it still affect build speeds?

quiet depot
#

builds are barely important in an ide

unkempt tangle
#

Can you welp me

ocean quartz
#

It affects a lot of things, VS code is a text editor, it's not exactly made for things like Java

distant sun
#

any idea if there's an api for displaying items texture on a website?

unkempt tangle
#

gdbserver is crashing the game I wanna debug

#

;C

timber oak
quiet depot
ocean quartz
#

Give it a shot, if you like it you use it, it's horrible though

quiet depot
#

ValdemarF trying to use vscode for java development is like hacking together two bicycles, adding an engine, and calling it a car

timber oak
#

ahhh I see

#

lmao

#

I thought you told me to try and do that in vs code lol

quiet depot
#

adding an engine to this and calling it a car

onyx loom
#

same thing

#

its got 4 wheels, thats all that matters!

quiet depot
#

yes, it has 4 wheels, yes it moves, is it a car though? Should it be used as a replacement for a car? Ehh

#

birds are going to shit on you and pebbles are going to fly in your face

#

it wonโ€™t be a nice experience

#

just get a real car

timber oak
#

Lol, I see what you mean I just can't see any examples of when Intellij is better

quiet depot
#

just use intellij

timber oak
#

I used Intellij before, but now vscode

quiet depot
#

if you canโ€™t find anything, then you probably werenโ€™t using intellij anywhere near to its full potential

timber oak
#

Only switched because of the codetogether thing tbh

quiet depot
#

lol

#

thatโ€™s a gimmick

#

coding with people live is not productive

timber oak
#

It's nice to have though

quiet depot
#

it nearly never works out in the real world

old wyvern
#

IJ hascode with me as well

quiet depot
#

yeah ^, also floobits, take your pick

timber oak
forest pecan
#

not for me

timber oak
#

Weird

forest pecan
#

it doesnt mean if its slow for you, its slow for everyone

#

lol

timber oak
#

For me it had like 3 sec delays and it kept going around when writing

forest pecan
#

3 seconds??

quiet depot
#

yugi does code with me have the same issues as floobits? As in you both canโ€™t edit the same file at once

timber oak
#

in code with me

#

In intellij

quiet depot
#

aight

timber oak
#

But where can I learn to use Intellij correctly then?

quiet depot
#

intellij has tips every time you open it, they also make videos on little known features

quiet depot
#

essentially though, the idea is, if youโ€™re doing something manually outside of your ide

#

thereโ€™s a good chance you could automate it inside your ide

old wyvern
#

But thats what bm said earlier

ocean quartz
#

I think i tried it with Gaby and we could edit the same file, but i could be wrong

old wyvern
#

ooh

quiet depot
#

e.g. if youโ€™re dragging a plugin from your build folder into a server, and starting it up via a command

#

you could automate that in intellij

timber oak
#

Problem is that I couldn't get git to work correctly in intellij, and noone was able to help

quiet depot
#

make it all happen from a single button

old wyvern
#

Does it only apply to ij ultimate?

quiet depot
#

yikes

old wyvern
#

I cant find it on the other IDEs

quiet depot
#

yugi did u check out papi 3?

old wyvern
#

Yea just a bit piggy. Had a lot of classwork today

#

Ill go through a bit more tmr

quiet depot
#

ah

pale shell
#

I was told to interview this dev and he said "maven is easier than gradle" thonking

half harness
#

lol

pale shell
#

Idk how that's possible.

forest pecan
#

it depends on the context

#

gradle indeed has a steeper learning curve in general

#

but you can't say something is easier or harder than one another

#

just cause its learning curve is steep

regal gale
#

Welcome back @pale shell

pale shell
#

Hi, @regal gale.

pale shell
#

No.

static zealot
#

oh nvm then

pale shell
#

I don't know anyone.

static zealot
#

oh ok

old wyvern
pale shell
half harness
#

ahhhh i just imported this

#

and

#

oh no

#

why is the text so big

old wyvern
#

Reduce the font from settings if you want to?

half harness
#

intellij isn't responding

#

:p

old wyvern
#

rip

half harness
#

ok its back

old wyvern
#

Personally, I like it at that font size

half harness
#

๐Ÿ‘€

old wyvern
#

Easier to read

static zealot
#

I've set it to 12

#

I think

old wyvern
#

๐Ÿคท

half harness
#

these are my font settings

static zealot
#

the more I see the better for me but not smaller than 12 because that's too small

old wyvern
half harness
#

20?!

old wyvern
#

yea

#

Otherwise I get headaches over long use

half harness
#

ok

half harness
#

um

#

how do i change console font

#

console font is big

#

but editor font is small

#

lol

static zealot
#

I think that's appearance

half harness
half harness
static zealot
half harness
#

xD

static zealot
#

I'm not sure if this is also for console tho

half harness
#

i dont use custom font

static zealot
#

or just the rest

half harness
#

๐Ÿ‘€

static zealot
#

where's that at?

half harness
#

the file

#

yayyy

#

it worked

#

no fonts changed

#

just color

#

this will take some time getting used to

#

lol

#

i might change it back

#

ngl

static zealot
#

xD

half harness
#

where its usually color

#

its gray

static zealot
#

I really like it

half harness
#

and the strings are so vibrant

#

anyways

#

gtg

static zealot
#

idk.

#

bye

half harness
ocean quartz
forest pecan
#

this personally literally has 52k commits

#

for the past year

cinder flare
#

Sounds like someone made a commit bot instead of doing their work lol

forest pecan
#

honestly lmao

#

yea it is

#

its every hour

#

lol

cinder flare
#

the duality of helpchat, either 5 conversations at once or literally silent for hours on end

prisma wave
#

!!

steel heart
#

bruh

#

intellij

#

is

#

trash

#

change my

#

mind

regal gale
#

maven

#

good

cinder flare
#

:)

#

oh are we listing incorrect opinions

#

js good

steel heart
jovial warren
#

What's your name? md_5?

#

Lol

#

Thinking about md_5, I think he had a seizure yesterday lol

#

Result of looking at Conclure's DeluxeAsyncJoinLeaveWhateverTheFuck

onyx loom
#

fantastic plugin ๐Ÿ˜Œ

jovial warren
#

About the first time I've seen md_5 talk in a while lol

#

I still gotta figure out why a 10 render distance (441 chunks) is allocating over 100k chunk sections (16 sections per chunk) ๐Ÿฅฒ

cinder flare
#

Wait where was this?

jovial warren
#

Krypton

#

10 million longs lol

cinder flare
#

md_5 saw krypton?

jovial warren
#

No

jovial warren
#

I think I confused you

#

He spoke about Conclure's DeluxeAsyncJoinLeaveMessage

#

Lol

cinder flare
#

Where?

jovial warren
#

Spigot Discord

cinder flare
#

Ah okay

prisma wave
#

No way

#

Link

cinder flare
#

^

jovial warren
#

Just go in there and search from md_5

#

I'm on mobile, I can't link

prisma wave
#

Oh nvm I found it

#

Interesting response

jovial warren
#

Someone on PC search by messages from md_5 and link it lol

cinder flare
#

im not even in the spigot discord lol

#

anyone got an inv

prisma wave
#

#694661573125472256 message

jovial warren
#

What I meant by md_5 going insane

cinder flare
#

holy shit did Conclure's code inject him with LSD lmaoo

jovial warren
#

Lol

prisma wave
#

What too much async does to a mf

old wyvern
#

bm, what did you use to cross compile go?

#

oh wait

#

I might have got it to work

#

ok yea, weird wasnt working earlier

steel heart
cinder flare
#

eyyyy

#

async make my brain go brrrrrrrrRRR

old wyvern
#

AbstractAsyncConclureProviderFactory

lunar cypress
#

jesus what is that md message lmfao

#

my monitor is not big enough to see exactly which ones you marked

#

The first means exclude from serialisation

#

The second means the state of the variable is shared and updated across threads

#

The third are just random type annotations

pine fox
#

String joinmsg = Bukkit.getPluginManager().getPlugin("").getConfig().getString("join-msg");

#

idk if "" is ok in getPlugin

prisma wave
#

what

pine fox
#

i mean i did .getPlugin("") because i can't just ()

#

should i put my plugin's name?

onyx loom
#

if thats ur plugin then u shouldnt be doing that

prisma wave
#

^

#

You should be using DI

#

If you need to get a different plugin then use the name of it

pine fox
onyx loom
#

?di

compact perchBOT
prisma wave
pine fox
pine fox
onyx loom
#

yup

pine fox
#

ohhh okay ty

jovial warren
#

@NonNls indicates that localisation tools shouldn't localise the annotated string @obtuse gale

#

It contains nothing that can, or should, be localised

#

Oh btw, thinking about JetBrains annotations, is it just me or is @Contract so much cleaner than Kotlin's contract DSL

#

Kotlin contracts are big ew

#

Actually they're not that bad, just the annotations look better

half harness
#

hm so I tried setting up OpenSSH on a windows pc (for using sftp)... but I couldn't get it to work.
When I did ssh Username@localhost, no password worked, including the computer pass. (and I replaced Username).
Anyone have any ideas? (Note: I dont have access to the pc rn, so im just trying to look for ideas)

#

and in the Services, OpenSSH was enabled and running

prisma wave
#

why are you sshing into localhost

half harness
#

later i'd ssh from different pc

#

but for now i want to just do localhost

#

๐Ÿ˜ฆ

gentle crow
#

um.. how come when i type the following in request-free, it says it doesnt meet the guidelines...

[service] Custom Plugin
[request I need a bukkit plugin that implements minecraft manhunt in version 1.1 of minecraftminecraft

half harness
#

you forgot the ]

gentle crow
#

oh my bad

oak coyote
#

Iโ€™ll bump you in a minute

half harness
#

;-;

hot hull
#

Kinky

jovial warren
#

Lol

forest pecan
prisma wave
#

sus????????????

#

when the

obtuse gale
#

a

forest pecan
#

lmao

forest pecan
#

that creates a batch file that runs everytime the computer starts up

#

which runs the backdoor (jar file)

#

and then starts up the server

#

๐Ÿ˜ˆ

prisma wave
#

You're despicable

forest pecan
#

lmao

forest pecan
#

stfu

#

backdoor > your problems

#

obviously

steel heart
#

lol

half harness
#

๐Ÿ˜ฆ

dawn hinge
#

Random jump scare ๐Ÿ˜ฉ

forest pecan
#

yep

half harness
#

just because i feel like ppl wont scroll up

steel heart
#

@pale shell hows life

pale shell
#

ok, i guess..

steel heart
#

long time no see ๐Ÿ˜„

half harness
steel heart
#

ok

#

sorry

#

I

#

go to

steel heart
half harness
#

mhm

prisma wave
half harness
#

but i setup ssh on my own pc that i use every day

#

and it worked fine

#

is it the windows password?

#

like the one to login

#

just making sure

prisma wave
#

did u open the port

prisma wave
half harness
#

well inbound 22 was already open

prisma wave
#

since when has SSH on windows even been possible

half harness
#

๐Ÿคท

#

its possible with openssh

prisma wave
#

if u want to connect to your pc from another why not use RDP

#

The stuff you can do with CLI on windows is extremely limited

#

There's hardly any point

half harness
#

what is rdp?

#

oh

#

i dont want to take over the mouse

#

or anything

prisma wave
#

why not?

half harness
#

bc ppl with be using that computer

prisma wave
#

What's the use case here

pine fox
#

how to connect all args after the first one?

prisma wave
#

what do you need to connect to it for

prisma wave
half harness
#

jsahdyugasd

prisma wave
#

so you're sshing into a Windows machine to do what exactly

half harness
#

to get the files

#

with sftp

#

and run commands like java -jar server.jar

prisma wave
#

weren't you storing the files on the pi?

half harness
#

yes

#

i need to download the files from the computer

#

onto the pi

#

i setup ssh in the pi already

#

so i need to do it to the other computer too

prisma wave
#

No you don't

half harness
#

oh

#

well

#

i dont have access to that pc as much as i do with my own

#

so in case i want to access file

#

i need ftp

#

or sftp

prisma wave
#

Just open the pc to the network?

#

Then you can access the files from another pc

half harness
#

o

#

but what about commands

prisma wave
#

Assuming it's on the same internet connection

#

What about them?

half harness
#

also

prisma wave
#

What commands would you be running on pc A that couldn't be on pc B

half harness
#

how do i zip and unzip

#

idk if thats possible with cmds either

#

but i dont think its possible with ftp

ocean quartz
#

Linux or windows?

half harness
#

windows

ocean quartz
#

Ew

prisma wave
#

there's probably a way

#

7z has a cli iirc

half harness
#

oh

#

then i need cli

#

๐Ÿ˜ซ

prisma wave
#

well... Yeah?

half harness
#

but i can't get ssh to work

#

sooooo

prisma wave
#

No you don't

#

If PC A is open to the network then PC B could zip those files

half harness
#

oh

#

how?

prisma wave
#

File explorer

#

Right click

#

Zip

half harness
#

๐Ÿ˜‘

#

i meant, how do i access those files

forest pecan
#

i did it

#

i added random jump scares

pine fox
half harness
#

nooo bm dont leave meeeeeeeeeeeeeeeeeeeee

obtuse gale
obtuse gale
half harness
#

ic

half harness
#

then use copyOfRange

#

and String.join

pine fox
#

args[] starts from 0 or 1?

obtuse gale
obtuse gale
prisma wave
obtuse gale
#

bitter misten

prisma wave
#

specified

prisma wave
obtuse gale
#

like sql ResultSets

pine fox
#

String.join(args[1]) ?

#

i need the first arg for another thing

obtuse gale
#

That's why I said you should use StringJoiner lol

#
StringJoiner joiner = new StringJoiner(" ");
for (blah blah) {
  joiner.add(blah[blah]);
}
String joined = joiner.toString();
prisma wave
#

๐Ÿคข

#

copyofrange

obtuse gale
#

the fuck you think String.join does..

lunar cypress
obtuse gale
#

bUt It LoOkS gOoD

lunar cypress
#

Arrays.asList(array).subList(1) obviously

prisma wave
#

oh my bad

half harness
#

lol

#

bitter misten

#

help me

#

please

#

๐Ÿ˜ฆ

lunar cypress
#

btw, benchmark saga part 3 (4?): I need to find a sensible way to test removing elements from collections

#

turns out creating a 100 million element array as a base isn't the best idea

hot hull
#

Kek

forest pecan
#

dont click on the mp4 btw

#

you will regret it lmao

prisma wave
forest pecan
#

its the jumpscare

prisma wave
#

i have no idea how to set up a windows network

half harness
#

thanks

prisma wave
#

smh

half harness
#

wait

#

is it possible if its on a different network?

#

or no

#

๐Ÿ‘€

prisma wave
#

probably not

#

its a LAN think i think

half harness
#

:c

#

ok

half harness
#

๐Ÿคจ

#

or a discord bot

prisma wave
#

why would u not do that on the pc ur actually using

half harness
#

wdym

#

oh

#

bc my pc sucsk

stuck harbor
#

ssh and sftp u nerd

half harness
#

i told u before

half harness
#

scroll upp

#

i bumped it like 10 times

#

no one know how to fix?

stuck harbor
#

staaaahhhppp

lunar cypress
#

๐Ÿค“ โ˜๏ธ actually, it's not a gif

#

damn it

#

too slow

stuck harbor
#

shut the actual f-

#

;)

half harness
#

๐Ÿ˜ฆ

#

Anyone know if it's possible to access cmd prompt (windows) from a different computer? without SSH or RAT

jovial warren
#

might just expose an SES for scheduling in Krypton for now

#

Velocity and Bungee's schedulers have just gone straight over my head lol

#

might take a look at CB's scheduler

#

actually no this is a bad idea

unkempt tangle
#

Anyone used gdb?

#
1       /toolchain/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc: No such file or directory.
#

Do I have to setup it?

oak raft
#

no

half harness
#

Anyone know if it's possible to access cmd prompt (windows) from a different computer? without SSH or RAT

#

bump

#

should i just code a rat somehow (just cmd though)

#

๐Ÿ€

unkempt tangle
half harness
#

im literally talking about coding-

#

im not talking about some minecraft bedrock java thingy

#

hm

#

ill have to do some research about this ๐Ÿ˜ซ

onyx loom
#

bro use teamviewer ez /s

half harness
onyx loom
#

did u notice the /s or not

#

cant tell

half harness
#

lol

#

im just saying it

#

ive used teamviewer for this before though

pine fox
#

guys how to export a .jar with IntelliJ? i cant export that

half harness
#
ProcessBuilder pb=new ProcessBuilder(command);
pb.redirectErrorStream(true);
Process process=pb.start();
BufferedReader inStreamReader = new BufferedReader(
          new InputStreamReader(process.getInputStream())); 

while(inStreamReader.readLine() != null){
          //do something with commandline output.
}
```oooo this looks cool @half harness
half harness
#

or none?

pine fox
half harness
#

uh

#

google "How to make an artifact intellij"

onyx loom
#

intellij spigot

ocean quartz
half harness
#

ok gtg

onyx loom
#

wat

half harness
#

for a bit

prisma wave
#

๐Ÿฅด

jovial warren
#

seems like some reading up on Velocity's scheduler has gave birth to Krypton's scheduler

onyx loom
#

๐Ÿง

jovial warren
#

also, I have two variants on all the functions

#

one takes a Runnable as its second parameter (with parameters after it, like Bukkit's schedule methods for example)

#

the other takes () -> Unit as its last parameter

prisma wave
#

gross

jovial warren
#

meaning we can schedule things like this: ```kotlin
scheduler.schedule(this, delay = 0L, period = 0L, TimeUnit.MILLISECONDS) { println("Hello World!") }

prisma wave
#

What's the point of runnable methods

jovial warren
prisma wave
#

Useless

#

The kt functions are compatible with java

jovial warren
#

o

#

I'm gonna keep them for now, can't be assed to remove them lol

prisma wave
#

ridiculous

#

Considering coroutines a scheduler probably isn't that important anyway

jovial warren
#

true

#

actually, I'm gonna remove the runnable functions

#

also, how am I gonna get coroutines working on Java?

prisma wave
#

You don't

#

Pretty much impossible

jovial warren
#

actually why am I bothered about Java compatibility

#

also, I probably want tasks to be bound by plugin BM

#

so just making a custom scope ain't really gonna work

pine fox
#

org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/realkyu/kessential/Kessential has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0
??

jovial warren
#

yeah you can't run a Java 16 compiled plugin on Java 8 lol

#

or maybe 59 is Java 15, can't remember

pine fox
jovial warren
#

if Spigot runs properly on Java 16, I'd be genuinely surprised

#

you can set sourceCompatibility and targetCompatibility in Gradle to make it compile with a different version

pine fox
#

and how can i downgrade

jovial warren
#

what you using?

#

the vastly inferior Maven?

pine fox
jovial warren
#

๐Ÿคฎ

#

try project structure then I guess?

#

might be in there

#

file -> project structure in IntelliJ

#

queue the "I'm using Eclipse" response

half harness
#

lol

jovial warren
#

oh btw, someone with IQ level 3000 might be able to answer this: LuckPerms seems to require a ClassPathAppender, which adds JARs to classpath

#

is there an easy way I can implement that?

half harness
#

sorry, i have only 2 iq

pine fox
#

java: error: invalid source release: 15

jovial warren
#

oof

#

this would be so much easier with a build tool

obtuse gale
heady birch
#

Can you add new blocks with vanilla "data pack"?

obtuse gale
#

LP doesn't have this jar-in-jar system in Velocity and Fabric because their class loaders expose it

jovial warren
pine fox
obtuse gale
#

Go to Project Structure and screenshot the uuh... modules? tab

obtuse gale
#

eeee

#

Ah right, go to Project and set the Language Level (or something similar) to 8

heady birch
#

So what are the best"shaders" to get nowadays

#

Because i am playing on latest snapshot

half harness
#

why does everyone keep asking that

half harness
#

well

heady birch
#

SEUS or Sliders looks good

pine fox
heady birch
#

Do I need good graphics to run these

half harness
heady birch
#

Can I run it on Intel HD Graphics 4000, Lol?

half harness
#

NO

#

no

#

i've tried

#

with intel hd graphics 2500