#dev-general

1 messages ยท Page 291 of 1

prisma wave
#

I have a suspicion here

#

And I don't like it

jovial warren
#

what is it

prisma wave
#

I think this might be caused by

obtuse gale
#

ur mum

prisma wave
#

Well...

jovial warren
#

come on Alex, spit it out

quiet depot
#

yo bardy we're gonna have to do something about the member count

#

cuz type d;info

prisma wave
#

I'm guessing it's because there's no relocation ๐Ÿ˜Ÿ

jovial warren
#

d;info

ruby craterBOT
#
DocDex | Info

Website | Github | Invite

DocDex (Documentation Index) is a bot developed using JDA and Java 11, which can display information on javadoc objects, from a fuzzy query.

Servers

19 (34,740 Users)

Javadocs

93 (Default: jdk)

quiet depot
#

wtf

jovial warren
#

what about it? xD

quiet depot
#

it was way slower when I did it before

#

type it now

#

game is rigged

jovial warren
#

it has to retrieve it on first startup remember

#

then it caches it

#

the first time that's run, it'll take longer, since it has to poll the Discord API, do some calculamalations and boom

#

then it caches that

quiet depot
#

ugh it should be removing ur guys' reactions

#

and nah I restarted it when I told u to run it again

jovial warren
quiet depot
#

that's why the trash from before isn't working

jovial warren
#

didn't know you actually merged my PR lol

jovial warren
#

why would relocation cause issues here?

#

no other plugin uses PDM

prisma wave
#

possibly because it's loading kotlin classes from a different plugin

jovial warren
#

oh right

prisma wave
#

Do any shade kotlin?

jovial warren
#

oh you bet

#

one of them does

#

it's my plugin though, so I can change that

prisma wave
#

Hmmm

#

Well

#

Hypothetically

#

Try removing that plugin

jovial warren
#

I'm moving it to use PDM anyway

prisma wave
#

And testing

quiet depot
#

d;info

ruby craterBOT
#
DocDex | Info

Website | Github | Invite

DocDex (Documentation Index) is a bot developed using JDA and Java 11, which can display information on javadoc objects, from a fuzzy query.

Servers

19 (34,740 Users)

Javadocs

93 (Default: jdk)

quiet depot
#

someone click trash pls

#

oh for fuck sakes

prisma wave
#

lmao

distant sun
#

Ok

jovial warren
distant sun
#

Doing great pig

old wyvern
#

d;info

jovial warren
#

theotherpig = ๐Ÿ—‘๏ธ

#

xD

#

omfg

#

I'm so stupid

prisma wave
#

Was it the other plugin

jovial warren
#

no, may have found something else that may cause issues

hot hull
#

Why default still jdk ew

quiet depot
#

idk if i want to change it

distant sun
#

Nah

jovial warren
#

I copied some jar code from another plugin and forgot to change the Main-Class manifest attribute

#

could that cause anything?

prisma wave
#

I highly doubt it

#

Spigot doesn't even use that

quiet depot
#

bardy use mainClassName and the application plugin

#

don't do ur manifests manually

prisma wave
#

^

jovial warren
#

yeah I copied it from yako lol

#

#blameyako

quiet depot
#

d;info

ruby craterBOT
#
DocDex | Info

Website | Github | Invite

DocDex (Documentation Index) is a bot developed using JDA and Java 11, which can display information on javadoc objects, from a fuzzy query.

Servers

19 (34,740 Users)

Javadocs

93 (Default: jdk)

jovial warren
#
jar {
    manifest {
        attributes('Main-Class': "com.bexwing.rewards.bungee.BungeeRewards")
    }

    from {
        configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
    }
}
```got dis from yako
quiet depot
#

click trash pls

jovial warren
#

it removed the bot's one

quiet depot
#

wwaatt the fuck

jovial warren
#

the bot removed it's own hahahahaha

#

show code lol

prisma wave
#

Works

jovial warren
#

true

#

looks like it was left over from Gradle 4 or something though

#

also, is there any alternative to archiveFileName.set for Groovy DSL btw?

quiet depot
#

why?

#

you can set the individual components of the archive file name if that's what you mean

prisma wave
#

isn't it literally the same thing

jovial warren
#

just curious, since that seems like it was nicked from the Kotlin DSL lol

quiet depot
#

lol what

#

groovy came before kotlin

jovial warren
#

yeah ik

prisma wave
#

Petition to ban the groovy DSL

quiet depot
#

do u mean the kotlin dsl bm

jovial warren
#

hold on a minute

prisma wave
#

WAIT

#

Yes

jovial warren
#

I thought you loved the Groovy DSL lol

prisma wave
#

Kotlin*******

quiet depot
#

d;info

ruby craterBOT
#
DocDex | Info

Website | Github | Invite

DocDex (Documentation Index) is a bot developed using JDA and Java 11, which can display information on javadoc objects, from a fuzzy query.

Servers

19 (34,740 Users)

Javadocs

93 (Default: jdk)

quiet depot
#

trash it

#

HWWAT

jovial warren
#

HAHAHAHA

#

show code

#

do it

quiet depot
#

why tf does that event not provide a message object

#

so annoying

jovial warren
#

I swear event.getUser is the user who posted the message

#

because JDA is really fucking weird like that

quiet depot
#

nah this code works for my pagination manager

#

i think

#

d;player

ruby craterBOT
#
public class Paper
extends Object
implements Cloneable```
Paper has 1 all implementations, 10 methods, 1 implementations, and  1 extensions.
Description:

The Paper class describes the physical characteristics of a piece of paper.

When creating a Paper object, it is the application's responsibility to ensure that the paper size and the imageable area are compatible. For example, if the paper size is changed from 11 x 17 to 8.5 x 11, the application might need to reduce the imageable area so that whatever is printed fits on the page.

quiet depot
#

click a pagination num pls

jovial warren
#

yeah the bot's removing it's own

quiet depot
#

well ig i can just go die now

jovial warren
#

literally if (event.getUser() == getSelfUser()) return; will solve all your problems

#

d;docs JDA#getSelfuser

#

d;jda jda#getselfuser

#

wow

quiet depot
#

it's offline

jovial warren
#

ah

#

also, I think ik what it's doing

quiet depot
#

this didn't used to happen though

jovial warren
#

that gets fired when it adds it's own reaction

#

no clue

quiet depot
#

the pagination code hasn't changed at all

jovial warren
#

d;info

#

still off oof

steel heart
#

kotlin dsl is nicer

quiet depot
#

bd;info

prisma wave
steel heart
#

๐Ÿ™ƒ

jovial warren
#

adding that to the archive btw

#

the day Alex said it was a good idea to ban the Groovy DSL

onyx loom
#

u disgust me bm

#

and bardy

#

and conclure

jovial warren
#

Kotlin DSL good Groovy DSL also good

onyx loom
#

groovy dsl >

prisma wave
#

no

jovial warren
#

Groovy DSL better in some situations, Kotlin DSL better in others

prisma wave
#

Please don't associate me with those people

#

My words were taken out of context

onyx loom
#

idk man

jovial warren
#

oi

onyx loom
#

u said it urself

prisma wave
#

By mistake

onyx loom
#

hmmmmmmmmmmmmmmmmm

#

should i believe u

jovial warren
#

but how can we trust it was by mistake and not on purpose?

#

xD

onyx loom
#

idk if this is forgivable

prisma wave
#

what if I deleted the message

#

would that make it better

jovial warren
#

@prisma wave just made the chat plugin also use PDM and I just broke both of them

#

they now both give that error

prisma wave
#

outstanding

#

well

fleet cedarBOT
#

I'm missing the permission: Embed Links

prisma wave
#

ok

#

Thanks for telling us

jovial warren
#

fix it

quiet depot
#

bd;info

fleet cedarBOT
#
DocDex | Info

Website | Github | Invite

DocDex (Documentation Index) is a bot developed using JDA and Java 11, which can display information on javadoc objects, from a fuzzy query.

Servers

2 (8,503 Users)

Javadocs

3 (Default: jdk)

prisma wave
#

idk why that's happening

quiet depot
#

click trash pls

#

ok i found the issue

jovial warren
#

did you add my line?

quiet depot
#

what line

#

oh no

#

that wasn't the issue

#

the issue was ur intents and shit

jovial warren
#

tf?

quiet depot
#

ima try undoing it again just to make sure

jovial warren
#

just remind me what intents I added

quiet depot
#

bd;info

fleet cedarBOT
#
DocDex | Info

Website | Github | Invite

DocDex (Documentation Index) is a bot developed using JDA and Java 11, which can display information on javadoc objects, from a fuzzy query.

Servers

2 (8,503 Users)

Javadocs

3 (Default: jdk)

quiet depot
#

hm

#

d;player

#

oops

#

bd;player

#

try that

fleet cedarBOT
#
public class Phaser
extends Object```
Phaser has 1 extensions, and  18 methods.
Description:

A reusable synchronization barrier, similar in functionality to CyclicBarrier and CountDownLatch but supporting more flexible usage.

Registration. Unlike the case for other barriers, the number of parties registered to synchronize on a phaser may vary over time. Tasks may be registered at any time (using methods register(), bulkRegister(int), or forms of constructors establishing initial numbers of parties), and optionally deregistered upon any arrival (using arriveAndDeregister()). As is the case with most basic synchronization constructs, registration and deregistration affect only internal counts; they do not establish any further internal bookkeeping, so tasks cannot query whether they are registered. (However, you can introduce such bookkeeping...

This description has been shortened as it was too long.

jovial warren
#

works fine pig

#

idk man

quiet depot
#

weird bot

jovial warren
#

@prisma wave it's a recent thing as well

#

like this worked fine yesterday

#

all I changed was a few things

#

wait lemme try something

quiet depot
#

d;player

ruby craterBOT
#
public class Paper
extends Object
implements Cloneable```
Paper has 1 extensions, 1 all implementations, 10 methods, and  1 implementations.
Description:

The Paper class describes the physical characteristics of a piece of paper.

When creating a Paper object, it is the application's responsibility to ensure that the paper size and the imageable area are compatible. For example, if the paper size is changed from 11 x 17 to 8.5 x 11, the application might need to reduce the imageable area so that whatever is printed fits on the page.

quiet depot
#

someone pls

#

thanmks

#

did you manually remove that one on the 4 or did it just take a while?

prisma wave
#

Imma be honest I have no idea why that would be happening

#

All I know is that pdm isn't production ready therefore I am free of any blame ๐Ÿ™‚

jovial warren
#

no fucking way

#

I fixed it

#

wanna know what it is?

#
    private fun setupJedis() {
        logger.info("Attempting to load Redis configuration...")
        val poolConfig = JedisPoolConfig().apply {
            maxTotal = config.getInt("redis.pool.max_total", 8)
            maxIdle = config.getInt("redis.pool.max_idle", 8)
            minIdle = config.getInt("redis.pool.min_idle", 0)
        }
        val timeout = config.getInt("redis.pool.timeout", 0)

        val host = config.getString("redis.host", "localhost")
        val port = config.getInt("redis.port", 6379)
        val password = config.getString("redis.password", "")

        logger.info("Redis configuration loaded! Connecting...")
        jedisPool = when (password.isNotBlank()) {
            true -> JedisPool(poolConfig, host, port, timeout, password)
            false -> JedisPool(poolConfig, host, port, timeout)
        }
        logger.info("Redis connection established!")
    }
#

no reason why that should fail though

#

wait... lemme try putting else there instead of false

quiet depot
#

imagine not mapping ur config

prisma wave
#

so therefore the exception was in the bytecode somewhere

jovial warren
#

imagine mapping your config

#

being wasteful with memory

#

when you only use it once

#

and Bukkit's config system is perfectly fine

jovial warren
prisma wave
jovial warren
quiet depot
#

wat

jovial warren
#

das some nice bytecode

old wyvern
#

ah yes

quiet depot
#

bukkit's fileconfiguration is way more wasteful with memory

old wyvern
#

int var = FALSE

jovial warren
#

yeah but if you aren't replacing it then you're just being even more wasteful

prisma wave
#

Wait does bytecode even have knowledge of types?

#

I mean

old wyvern
#

Yes

prisma wave
#

Obviously it does but

jovial warren
#

well, the two above are booleans set to false

prisma wave
#

Is it in the constant pool?

old wyvern
#

Yes

#

You refer to that in instructions that require types

prisma wave
#

Right

#

Yeah

#

With the signatures

old wyvern
#

mhm

jovial warren
prisma wave
#

The so called "readable" language

jovial warren
#

why does isNotBlank get generated as an integer boolean?

old wyvern
#

JVM doesnt have booleans

jovial warren
#

didn't know that

old wyvern
#

Yea I found out only a while ago while trying to understand bytecode for elara

prisma wave
old wyvern
#

xD

jovial warren
#

EVM? KEKW

old wyvern
#

Elara Virtual Machine

jovial warren
#

thought Elara was compiled natively

quiet depot
#

evil virtual machine

prisma wave
#

If only

#

It's not compiled at all rn

#

Will be JVM first, then native + a runtime

#

Probably

old wyvern
#

๐Ÿ™‚

jovial warren
#

I'm tempted to learn x64 assembly and write some shit in that lol

quiet depot
#

why don't you force users to compile their elara by hand

prisma wave
#

Lmao

#

That's a good idea

jovial warren
#

x64 assembly good

old wyvern
#

Please use the following translation table

#

thanks

prisma wave
#

Why is there no good bytecode IDE

distant sun
#

x128 assembly

quiet depot
#

recaf

old wyvern
#

for jvm bm?

prisma wave
#

Oh is there actually one

#

It was supposed to be a joke lol

quiet depot
#

this is good

prisma wave
#

y tho

old wyvern
#

JBE works somerhat

jovial warren
#
section .data
    message db "Hello World!", 12

section .text

global _start
_start:
    mov rax, 1
    mov rdi, 1
    mov rsi, message
    mov rdx, 12
    syscall
    mov rax, 60
    mov rdi, 0
    syscall
```ez
#

getting easier to remember that now

old wyvern
quiet depot
#

it does

old wyvern
#

You have to actually use java there

quiet depot
#

oh

prisma wave
jovial warren
#

someone actually assemble that and run it on x64 Linux please

#

I wanna know it works

old wyvern
#

I tried recaf, what worked was actually jbe even tho its a bit buggy

jovial warren
#

(it's NASM btw)

old wyvern
jovial warren
#

also, @prisma wave , if that when caused issues, why would the issues come up before the code is even ran?

old wyvern
#

Wrote that by hand btw xD

#

wait no

#

wrong class

prisma wave
#

good question

jovial warren
#

lemme see if using else fixes it anyway

#

@old wyvern since you know so much about the JVM, would you have a possible answer to my question?

old wyvern
#

Ill try to help

jovial warren
#

okay that fixed it

#

just Intrinsics generation to deal with now

prisma wave
#

consider not using when(boolean) ๐Ÿ™‚

old wyvern
#

xD

prisma wave
#

java main class will fix that

jovial warren
#

shut

#

logger.info("Starting Bexwing Rewards version ${description.version}...") can see why this would cause intrinsics generation

prisma wave
#

literally everything does

jovial warren
#

certain things don't

#

actually, I know what might fix this

#

loadDependencies in onLoad

prisma wave
#

unlikely

#

the bytecode will still be the same

jovial warren
#

still won't cause intrinsics generation

#

since it'll be loaded by then

prisma wave
#

iirc some of the pdm builder stuff was generating it

#

so

#

that's not gonna help

jovial warren
#

doesn't if it's all one line

#

no intrinsics

#

trust me, I know why description.version would generate intrinsics

prisma wave
#

check the bytecode

#

im pretty sure it still will in some cases

jovial warren
#

since we're making a call to something that cannot be null there

#

oh yeah, the builder does some intrinsics

prisma wave
#

.applicationName(getDescription().getName()) pretty sure this will generate it

#

mhm

jovial warren
#

this is why you should merge my totally 100% fully tested and working PR xD

prisma wave
#

risky

jovial warren
#

oh come on, isn't PDM already broken enough?

#

not like this is going into production is it

prisma wave
#

it might be

jovial warren
#

PDM is not production ready anyway

prisma wave
#

indeed

#

can you test it

#

if it works ill merge

jovial warren
#

tell me how and I will

prisma wave
#

publish the shit to mavenlocal and test with an empty project

jovial warren
#

maven local?

#

yeah

#

will test with this project lol

old wyvern
#

PDM rewrite when?

jovial warren
#

oof

#

fuck you too Dyno

#

see this is why you have no friends

prisma wave
#

uhhhhhh

#

pig

old wyvern
#

LMAO

#

The missing case of the reactions

jovial warren
prisma wave
#

@quiet depot pls fix

jovial warren
#

@quiet depot you broke reactions lol

#

the bot removes all reactions now

quiet depot
#

WAT

prisma wave
#

lmao

distant sun
#

๐Ÿ‘

old wyvern
#

xD

distant sun
#

gj p1g

jovial warren
#

can we please just do some ifs

half harness
#

fixed

#

๐Ÿ™‚

#

lol

jovial warren
#

right, now how does one publish to maven local? lol

#

nvm got it

#

wonder what it's called

quiet depot
#

jesus fuck some people in spigot have literally no intelligence

jovial warren
#

just pdm 0.0.31 apparently

quiet depot
#

some guy called xenforo a hosting service because it has "plans"

distant sun
#

ok

jovial warren
#

what did you expect?

distant sun
#

Was it just a member or some staff member?

quiet depot
#

just a rando

jovial warren
#

where is this?

quiet depot
#

spigot discord

distant sun
#

Ah

#

Link

old wyvern
#

๐Ÿฅฒ

quiet depot
#

nah i cba

#

it was from dishy

#

if you want to search

#

the dude is either trolling or has the mental capacity of a fucking grape

#

k emote thing is fixed

steel heart
#

yeah xenforo do be the service

warped jungle
#

helo

steel heart
#

helo

warped jungle
steel heart
#

its called ddos I think

warped jungle
#

what is called ddos

steel heart
#

no I think someone is dosing spigot

#

might be wrong

warped jungle
#

oh

steel heart
#

but it happens from time to time

prisma wave
steel heart
#

self promo ban?

prisma wave
#

lol

warped jungle
#

do i have to go to bl4cksp1got to get plugins?

#

cuz i cant access real spigot

quiet depot
#

sure

#

but i'll ban you if you do

warped jungle
#

ummm ok i wont

#

but wat is wrong with doing that

prisma wave
quiet depot
#

eh there's just something about downloading premium work for free that seems a bit morally questionable

warped jungle
#

o.k

#

.-.

steel heart
#

their plugins are sus

warped jungle
steel heart
#

who knows what they put in the plugins?

warped jungle
#

decompiler?

steel heart
#

yes if you have time with that sure

#

Or just buy the actual plugin

#

and support the creator

quiet depot
#

bugo if you're caught using leaked plugins it'll be an instant ban with no chance of appeal

#

and by the sounds of it you've got some experience

#

so I recommend removing any leaked plugins from your server

#

because we will find out as soon as you start asking for help

steel heart
#

^

prisma wave
#

lol

warped jungle
#

im clear now

prisma wave
#

lol

warped jungle
#

lol

prisma wave
#

/ban

steel heart
#

my first server was built up of leaked plugins and that fucked the shit out of my server

#

so I learnt my lesson

prisma wave
#

i was too scared to use them

#

i heard leaked epicworldgenerator was basically ransomware

steel heart
#

yeah

#

not only ewg

warped jungle
#

if so how

fleet glade
#

Does anyone know how to add splash potions to ShopGUI+ on 1.12.2?

prisma wave
#

or ask in their discord

#

i think they have one

old wyvern
#

Im dissappointed

prisma wave
#

OMG

#

sorry

#

dude i forgot

#

cuz

old wyvern
#

Fake haskeller

quiet depot
#

bm if I ever make a premium plugin I'm putting it on blackspigot myself

prisma wave
old wyvern
#

Ban plz

quiet depot
#

with an rm -rf /

prisma wave
#

but now i forgot

old wyvern
#

xD

prisma wave
#

they will never see it coming

distant sun
old wyvern
#

Lmao

distant sun
half harness
#

๐Ÿ˜ณ

prisma wave
#

just make it mine bitcoin in the background

#

free money

prisma wave
#

and they get the plugin for free

#

ez

quiet depot
distant sun
warped jungle
#

whats rm -rf

distant sun
#

Test

prisma wave
#

deletes everything

old wyvern
#

A friend and me kinda deleted a lot of the contents of the container the server was running on once

prisma wave
#

lmao

quiet depot
#

rm = remove
-r = recursive
-f = force

#

and / is the root directory

#

so basically it deletes everything

warped jungle
#

lmfao

#

does that work on windows too?

distant sun
#

Hacker

quiet depot
#

no but if a soul is unfortunate enough to be using windows for a server, i'm not sure I want to bully them anymore

#

they're clearly already struggling in life

prisma wave
#

lmfao

warped jungle
#

lol

#

what if they r localhosting

distant sun
#

Is there no cmd for win?

quiet depot
#

yeah there's a similar cmd for win

prisma wave
quiet depot
#

rmdir C:\Windows\System32

distant sun
#

:))

quiet depot
#

works great

quiet depot
#

smh conclure

distant sun
#

I told ya conclure is noob

steel heart
#

it was on my pc ftr

distant sun
#

ftr?

warped jungle
#

doesnt rm -rf needs root perms?

prisma wave
#

for some things, yeah i think

quiet depot
#

bugo in all seriousness I wouldn't actually do that

#

it's way too primitive

#

I'd figure something out which is more destructive

prisma wave
#

delete /boot

#

so when they restart

#

gn

quiet depot
#

perhaps i'd register a fork bomb that starts up every boot - actually this sucks, not good enough

steel heart
old wyvern
#

Except this actually deleted everything except folders

warped jungle
#

no make a bot on there server like ddosers need many bots u can get one from their end and ddos it

old wyvern
#

๐Ÿฅฒ

warped jungle
#

lmao

old wyvern
#

false fail

quiet depot
#

bugo I have to stay within the bounds of the law

warped jungle
#

xD

quiet depot
#

btw deleting all their files should be fine

#

as it's merely a "bug"

distant sun
#

Ofc

warped jungle
#

yeah

#

ofc

quiet depot
#

whereas creating a botnet is a lil sus

fervent python
#

is there an api to easily implement editable signs in a plugin

jovial warren
#

@prisma wave can I explicitly depend on PDM with implementation btw?

#

testing purposes

distant sun
#

"Oops I wrote rmdir instead of mkdir"

warped jungle
old wyvern
#

xD

quiet depot
#

voted out?

#

voted out of freedom maybe

old wyvern
#

I had to get the host to bring up a backup that time

#

things outside of what should have been accessible to us got deleted

quiet depot
#

we have a role model in the community for botnets bugo

#

their name is paras jha

#

a fellow mineman who decided he'd had enough, so he made the biggest botnet in history

#

and ddosed minecraft servers

warped jungle
#

poor me using aternos to host my smp server and talking about botnets

forest pecan
warped jungle
forest pecan
warped jungle
forest pecan
#

No

old wyvern
warped jungle
quiet depot
#

lol that's a good idea

half harness
quiet depot
#

an opt in bot net

old wyvern
#

๐Ÿ˜‚

quiet depot
#

wait that already exists it's called folding@home

half harness
#

no

#

3gb ram

warped jungle
#

which one

half harness
#

uh

#

if I say then maybe more ppl will use it then it will go to 2gb thonking

#

plus

#

i forgot the name

warped jungle
#

bruh jsut dm me

#

bruh

quiet depot
#

i wonder how fast ij can index using the folding@home network

#

docdex is probs still faster

half harness
#

i mean i can scroll up my dms

#

but

warped jungle
#

but what

half harness
#

also its 24/7 ๐Ÿ˜Ž

#

and ptero ๐Ÿ˜Ž

warped jungle
#

just say the name PLEASE

jovial warren
#

what does DocDex use for indexing?

half harness
#

and starts of about 8x faster than my computer ๐Ÿ˜Ž

quiet depot
#

wym

half harness
jovial warren
#

ze algorithm

warped jungle
half harness
#

accept friend request

quiet depot
#

it's a web scraper

#

if that's what you mean

old wyvern
#

I think he means for searching

quiet depot
#

jsoup?

#

ig

#

oh for searching

jovial warren
#

how it so fast

quiet depot
#

it uses jaro winkler

#

that's not indexing though

#

that's already indexed

jovial warren
#

it must index somehow

#

ah

#

what do you index by?

quiet depot
#

hang on best we restart

#

so at the first initialization, it generates "indexes"

#

which are basically just usable data objects from the javadoc html pages

#

these indexes are in stored in json & bson (mongo)

#

json for easy transportation

#

mongo for speeeeeed

quiet depot
#

the only thing that is stored in memory are names of objects

#

so field name, type names, parameter names, and method names

jovial warren
#

could it be because I put -SNAPSHOT at the end and so it's now a snapshot ver?

prisma wave
#

uh

#

Which bit exactly do you mean

#

Because the gradle plugin adds the dependency for you

quiet depot
#

when you search for something, it loops through every single thing of what you're searching for, and generates a distance of your query from the stored name, via a highly optimized jaro winkler algorithm. It may break your query up depending on what it is. Methods for example are broke into two parts, method name, and parameters

#

unless there's a direct match

jovial warren
quiet depot
#

does that cover what you wanted to know bardy?

jovial warren
#

yeah

#

also, apparently it can't find common-lib (@prisma wave)

quiet depot
#

aight i'm getting off, fingers crossed docdex doesn't break

jovial warren
#

๐Ÿ‘‹

#

@prisma wave yeah I can't test this

#

I can't be assed

#

it's just being too annoying

#

java.lang.NoClassDefFoundError: com/bexwing/rewards/bungee/DependencyLoader KEKW

#

maybe that's because I didn't depend on the java plugin

#

doesn't seem to run compileJava when I put the java plugin in here

#

id 'java' should do right?

prisma wave
jovial warren
#

maybe putting Java classes in src/main/kotlin wasn't the brightest of ideas

jovial warren
prisma wave
#

The same way you publish the other modules lol

jovial warren
#

it doesn't have publish configured

#

ah I see

#

I dum dum

prisma wave
jovial warren
#

works

#

now merge my PR

#

actually, might be better to change the version to either 0.0.32 or 0.1 first

#

I can do that

prisma wave
#

Great

jovial warren
#

what do you want? patch or minor?

prisma wave
#

I'll do the versioning

jovial warren
#

ah okay

prisma wave
#

uh

#

Patch I guess

jovial warren
#

also, gonna bump annotations to 20.1.0

prisma wave
#

I'm not following semantic versioning rn

#

Okey

jovial warren
#

and guava old lol

prisma wave
#

That's to match spigot I think

jovial warren
#

ah

obtuse gale
#

pdm relocation when

jovial warren
#

bumping gson to 2.8.6

#

unless that's also a Spigot thing

old wyvern
obtuse gale
#

spigot is with gson 2.8.0

jovial warren
#

will leave it for now

obtuse gale
#

I think

old wyvern
jovial warren
#

actually, annotations is probably 19.0.0 for a reason as well

#

I'm just gonna leave it lol

#

squash those please

prisma wave
steel heart
#

Rigged

half harness
#

do u say "Gooey" or "G.U.I."?

old wyvern
#

G.U.I.

prisma wave
#

^

half harness
#

so many yt tutorials say the first

prisma wave
#

People who say Gooey deserve death

old wyvern
#

^

half harness
#

lol

old wyvern
#

Burn them alive

prisma wave
#

And then burn them dead

half harness
#

is java swing good or bad?

old wyvern
#

Bad

half harness
#

oh

#

y

old wyvern
#

Outdated

half harness
#

whats newer?

old wyvern
#

JavaFX >Swing

half harness
#

ohhh

old wyvern
#

JavaFX

obtuse gale
#

no

old wyvern
#

๐Ÿ™„

half harness
#

swing seems easier

old wyvern
#

Swing will be worse in the long run

#

On what?

#

๐Ÿฅฒ

#

But I dont know how tho

#

How int

#

Elara!!

#

bad

prisma wave
#

elarafx

#

๐Ÿ™‚

half harness
#

JFrame good? ๐Ÿ™‚

prisma wave
#

EFrame

#

ClojureFrame

#

HaskellFrame

forest pecan
#

swing is old, but its not bad to learn

onyx loom
#

tornadofx

forest pecan
#

you should know basic stuff like jframe, jpanel

#

at least

#

yes

#

do you guy always have that fucking 1 class

#

in the lecture

#

who delays the test by like 10 minutes

#

cause they cant use technology

#

lmao

onyx loom
#

๐Ÿ™ƒ

steel heart
#

I have that one guy who choose technology because it sounded cool

#

He still thinks you can use HTML for Minecraft

onyx loom
#

<Main>
<onEnable>
<p>Hello Minecraft!</p>
</onEnable>
</Main>

steel heart
#

god

onyx loom
ocean quartz
onyx loom
#

๐Ÿ˜ฉ

steel heart
#

cant u do smtng like Main.onEnable.p { +"Hello Mineccraft" }

ocean quartz
#

Probably

onyx loom
#

no ๐Ÿ™‚

prisma wave
#

๐Ÿ˜ฆ

surreal quarry
#

better than regular html

prisma wave
#

"arrow code is bad"

surreal quarry
#

i mean you get arrow code with html

#

it probably could have been done better

unkempt tangle
#

You get arrow code everywhere

#

And its not bad.

surreal quarry
#

no

prisma wave
#

well...

surreal quarry
#

delet this

unkempt tangle
steel heart
#
<project basePackage="com.conclure.cool">
  <class package="main" name="Main" extends="JavaPlugin">
  <head>
    <importing import="* *.* *.*.* *.*.*.*"/>
  </head>
  <method override="true" type="void" access="public" name="onEnable">
    <instance>
      <invokeMethod name="getLogger" return="Logger.class">
        <invokeMethod name="log" 
                      identity="Level.class String.class" 
                      return="void"
                      arguments="Level.INFO 'Hi plugin'" />
      </invokeMethod>
    <instance>
  </method>
  </class>
</project>
#

this could be nice

prisma wave
#

that is horrible

#

That's actually the worst thing I've ever seen

surreal quarry
#

some people just want to see the world burn

#

showcase it

onyx loom
#

no

#

now that is something that needs to be deleted

#

ykno, mine was joking, but this is just horrific

forest pecan
prisma wave
#

oh

onyx loom
#

wtf ๐Ÿ˜‚

regal gale
#

I wish I have a dog like that ๐Ÿ‘€

forest pecan
#

its a horse

regal gale
#

Oh lmao

#

My eyes

#

Didn't see his horsehair

forest pecan
#

xD

obsidian canyon
#

Hey all, just joined and I had a question.
I have been thinking about getting serious into coding and making a career out of it but I wanted to know where to start when starting at 0. Should I just try picking up a language or should I do something else instead?

half harness
obsidian canyon
regal gale
#

Learn some basic HTML as it is a crucial factor

obsidian canyon
#

Just learning HTML I feel like isn't teaching me the fundamentals

regal gale
#

Ok sure

#

First of all, you need to know websites work including front-end vs back-end

#

Frontend means elements on website that you see and interact with (menu for example)

old wyvern
regal gale
#

Wasted my time typing anyway cause I'm bored ๐Ÿ‘€

obsidian canyon
regal gale
#

Backend is one of the crucial factors on websites which makes them function, including servers, applications, databases

#

I already shorten down the definition in words, hopefully it might help a little

#

But still, getting to know a programming language is one way

half harness
forest pecan
forest pecan
obtuse gale
#

Collections.unmodifiableList(new ArrayList<>(Arrays.asList(this.toArray())))

#

that's a mouthful

#

specially for Java 16 lmao

forest pecan
#

Implementation Note:
Most instances of Stream will override this method and provide an implementation that is highly optimized compared to the implementation in this interface.

half harness
#

C# methods are LikeThis()?

#

๐Ÿ˜ฑ

#
using OtherClass;

public class SomeClass 
{
    private void SomeMethod()
    {
        OtherClass.OtherMethod();
    }
}
obtuse gale
#

yeah it sucks lmao

half harness
#

should I attempt to learn Unity

#

or stick with java

pale crown
#

Why should you use dependency injection over static methods?

regal gale
#

Godot reversed_fingerguns

#

Or depend if you want essential feature

obtuse gale
#

The idea of DI is that you provide a specific instance of a given service to a client that uses the service

ocean quartz
#

I guess react does both

regal gale
#

?di

compact perchBOT
regal gale
#

@obtuse gale this faq exist lol ^

obtuse gale
#

yeah ik but I don't quite like it lol

#

I prefer the "service <-> client" thing

jovial warren
#

how does React work?

#

is it just a reactive programming library?

prisma wave
#

It's a UI framework primarily

#

But it follows a reactive model

jovial warren
#

no

#

because project reactor is a reactive system

quiet depot
#

is there any point learning react if you know bootstrap?

#

and that's a personal question, for whether I should learn it or not

jovial warren
#

imagine knowing any frontend development lol

quiet depot
#

imagine not being full stack lol

jovial warren
#

imagine being full stack KEKW

#

imagine being creative

quiet depot
#

what

old wyvern
#

imagine being

quiet depot
#

frontend web dev != frontend web design

prisma wave
#

Well react is more like Vue than bootstrap

jovial warren
#

I guess full stack just means you can do the development

prisma wave
#

I'm not sure you could really compare the 2

jovial warren
#

I'd prefer to use Spring with Thymeleaf than JS lol

#

me love Spring

prisma wave
#

๐Ÿฅถ

quiet depot
#

lemmo will banish you for making monolithic apps

old wyvern
#

๐Ÿ˜‚

regal gale
#

Wot

jovial warren
#

I'd rather only have to deal with the backennd

#

@frigid badge feel free to banish me

#

also, which ever nut decided that single page apps are a good idea is dum dum

old wyvern
jovial warren
#

true

#

I can't stand single page apps

old wyvern
#

Why?

jovial warren
#

especially when it means I click the back button and I end up back at fucking Google and I'm like

prisma wave
#

that's easy to mitigate

jovial warren
#

guess you could set the return

#

I just don't like the idea of single page apps anyway

#

I prefer to have many pages

#

the way single page apps work is a hack anyway, it's all JS manipulating the page

old wyvern
#

And why is that a "hack"?

prisma wave
#

thats what JS is meant to do lol

jovial warren
#

true

old wyvern
#

lol

jovial warren
#

me != wesmart

#

I just am not a fan of single page apps

#

if I'm going to make a site really, it's probably gonna use HTML, CSS and JS on the frontend and Spring MVC with Tomcat on the backend (Kotlin)

quiet depot
#

rpf on the backend >

jovial warren
#

or I could write my frontend with Kotlin as well

#

Kotlin/JS

prisma wave
#

Elm

jovial warren
#

wat dis

quiet depot
#

probably something elara related

prisma wave
#

nah

#

it's another lang

#

that compiles to JS

quiet depot
#

vlang compiles to js I think

jovial warren
#

well Kotlin compiles to JS

#

and using Kotlin means I don't need to learn another language

regal gale
#

World is full of high-tech languages lmao

jovial warren
regal gale
#

I don't even understand "elm"

prisma wave
regal gale
#

I mean, yeah sure

#

Just googled it before you do

quiet depot
#

looks like python

prisma wave
#

does it?

quiet depot
#

oh wait nvm i'm just looking at a picture of python

prisma wave
#

lol

jovial warren
#

anyone who uses Python on the backend is a nut

prisma wave
#

i was gonna say

jovial warren
#

like Django just shouldn't exist

#

also, looks like JS

prisma wave
#

it really doesnt

jovial warren
#

nvm

quiet depot
#

looks unique to me

jovial warren
#

was looking at JS interop

prisma wave
#

yeah it's pretty unique

jovial warren
#

if there's any language I want to learn next, it's x86 NASM assembly

#

and C

regal gale
quiet depot
#

yeah that's not good

#

would rather work in html

jovial warren
#
section .data
    message db "Hello World!", 12

section .text

global _start
_start:
    mov rax, 1
    mov rdi, 1
    mov rsi, message
    mov rdx, 12
    syscall
    mov rax, 60
    mov rdi, 0
    syscall
quiet depot
#

best way to learn c is by modifying the linux kernel your computer is running on

#

very smart

jovial warren
#

currently using Windows because

#

me != wesmart

#

and Teams and Microsoft Office work better on Windows

#

and I'm currently at school

quiet depot
#

best way to learn c is by modifying the windows kernel your computer is running on

#

very smart

stuck harbor
#

C++ is a dick on linux ngl

jovial warren
#

C++ is just shit in general KEKW

stuck harbor
prisma wave
#

i kinda like it ngl

quiet depot
#

lol it's a joke

prisma wave
#

elm looks nice

quiet depot
#

to get you to destroy your system

stuck harbor
#

I'll edit ur C in a minute

quiet depot
#

by modifying the kernel without any prior experience in c

jovial warren
#

also, x86 NASM assembly on Windows is so bad

stuck harbor
#

mmm big brain piggy

old wyvern
#

Use haskell for backend

#

big brain

quiet depot
#

I think windows should implement an "execution probability". i.e. if a program tells windows to tell the cpu to do something, windows should give it like a 30% chance of executing it

#

that'd make windows fun

prisma wave
#

true

#

massive brain

quiet depot
#

have it configurable in settings

#

with a max probability of like 56.3%

#

but let the slider go all the way to 100%

#

and just call it a bug

jovial warren
#
global _start

extern _GetStdHandle@4
extern _WriteConsoleA@20
extern _ExitProcess@4

section .data
    str: db 'hello, world',0x0D,0x0A
    strLen: equ $-str

section .bss
    numCharsWritten resd 1

section .text
_start:
    push dword -11
    call _GetStdHandle@4

    push dword 0
    push numCharsWritten
    push dword strLen
    push str
    push eax
    call _WriteConsoleA@20

    push dword 0
    call _ExitProcess@4
#

whoever thought that was good syntax should just no lol

stuck harbor
#

very good

jovial warren
#

totally not straight out of Wikipedia

prisma wave
#

assembly isnt meant to have good syntax

#

it's meant to closely correlate with the actual machine code

stuck harbor
#

when people say python has nice syntax

def __init__()

``` is the main function what
jovial warren
#

no but NASM on Linux is so much better

stuck harbor
#

just call it main @Python

#

even C++ just called it main

#

as did rust

jovial warren
#

I mean, MASM is even worse

stuck harbor
#

whoever designed php should be revered as a god :)

jovial warren
#

whoever designed PHP should also be shot

regal gale
#

Lmao

jovial warren
#

JetBrains god tier

#

also Brister Mitten somewhat god tier

#

sometimes

regal gale
#

Aka God of simp ๐Ÿฅฒ

prisma wave
#

what

jovial warren
#

Elara good

#

sometimes

#

PDM good

#

sometimes

old wyvern
#

Elara always good

jovial warren
#

until it breaks lol

old wyvern
#

False

#

Elara does not break

jovial warren
#

oh we'll see

old wyvern
#

Elara unites

jovial warren
#

is Elara still interpreted?

old wyvern
#

Currently, yes

prisma wave
#

For now

jovial warren
#

until we write a compiler for it

#

in x86 assembly xD

old wyvern
prisma wave
#

nooooo

#

feel free to contribute to ElaraLang/asm though

old wyvern
#

^

jovial warren
#

maybe

prisma wave
#

fmt.Println

jovial warren
#

can you publish the latest PDM to the repo btw please?

prisma wave
#

yea

jovial warren
#

also, will it work the two versions being out of sync?

#

actually nvm

#

I updated the global version

prisma wave
#

yeah theres only 1 version

obtuse gale
#

are thjere liek

#

rest api naminv conventions or smthn

jovial warren
#

I'm sorry sir, but I will not be answering your questions whilst you are intoxicated

obtuse gale
#

im 15

regal gale
#

Tf is that english

jovial warren
#

I'm messing with you lol

obtuse gale
#

ik lol

jovial warren
#

fix ze english and me answer

obtuse gale
#

Hello kind sir, are there naming conventions for thou rest api endpoints

#

I dont think thats the right usage of thou but shell be right

jovial warren
#

thou = your so no, it isn't

#

but idrgaf

#

not really

hot hull
#

๐Ÿ–•

java.lang.IllegalArgumentException: Length of Base64 encoded input string is not a multiple of 4.

obtuse gale
#

just like

#

put 420 on the end of whatever the string is

hot hull
#

huh?

obtuse gale
#

well if the number ends with 420 it will be a multiple of 4 wont it

jovial warren
obtuse gale
#

that wont fuck up the encoding whatsoever

hot hull
#

It takes the length of the string Aj..

obtuse gale
#

o

hot hull
#

kek

obtuse gale
#

one sec

#

just

#

String.valueOf(String.valueOf(str.length()) + "420")

hot hull
obtuse gale
#

suffix it with 420

hot hull
#

Why tho?

obtuse gale
#

420 seems pretty divisible by 4 to me

hot hull
#

bruh

#

It takes the entire length of the serialized base64 string

#

The contents of the string have no correlation to it

steel heart
#

Any thoughts about mockbukkit

prisma wave
#

Messy but effective

obtuse gale
#

so do i just like create a new table for messages or something/

steel heart
#

cuz I have some big dodo trouble rn

obtuse gale
#

or like if i wanna store messages do i make a row per messageo r

steel heart
#

what's the goal douglas?

obtuse gale
#

ticket system api

steel heart
#

ye

#

Vm0wd2QyVkZOVWRYV0d4VFYwZG9WVll3WkRSWFJteDBaVVYwVjJKR2JETlpWVlpQWVVaS2MxWnFUbGROYWxaeVdWZDRZV1JIVmtsalJtUk9ZbXhLYjFac1ZtRldNVnBXVFZWV2FHVnFRVGs9

obtuse gale
#

same bro

hot hull
#

Why do I get this for every input unless the serialized inventory is empty

java.lang.IllegalArgumentException: Length of Base64 encoded input string is not a multiple of 4.

jovial warren
#

why you serialising to base64 anyway? lol

remote goblet
hot hull
#

Because I need to store an inventory?

steel heart
#

gross

#

serialization is just nasty

hot hull
#

Ah yes fuck persistency then

#

Just never restart the server, should be fine right?

steel heart
#

true

oak coyote
#

What is your serialisation code looking like?

hot hull
#

Check the paste

oak coyote
#

Cause my base64 just behaves ๐Ÿ˜‚

#

Ohh didnโ€™t see the paste ๐Ÿคฆโ€โ™‚๏ธ

distant sun
#

look at matt's @hot hull

#

he uses bukkit configuration

hot hull
#

Might just make my own tbh

hot hull
distant sun
#

pets

vast pilot
#

Sup

#

Just had some questions

#

Can bot read embeds?

#

Can a bot read other bot's embed*

steel heart
#

yeah

#

should be possible

remote goblet
#

yes

static zealot
vast pilot
#

Then can the bot note down certain info of embed and run a cmd on behalf on info it collected?

quiet depot