#dev-general

1 messages ยท Page 559 of 1

barren solar
#

Exactly that

cinder flare
#

But like, what does that give you

barren solar
#

Alright let me make my pro con case here

distant sun
#

jk that's stupid

cinder flare
#

You're still running a standalone spigot jar for your test server, no?

ocean quartz
#

I mean if you shade spigot your plug-in wouldn't even pass the first requirements for premium plugins, being less than 4.5MB

distant sun
#

:))

barren solar
#

Pro:

  • I can link it as a dependency
  • I can immediately know exactly which spigot version it was programmed for without having to go through the troublesome troublesome effort of importing NMS and finding out
    Con:
  • It takes a littleeeeeee bit more space???
distant sun
#

do you shade spigot or nms?

cinder flare
#

What does "I can link it as a dependency" mean

distant sun
#

what

cinder flare
#

And reflection exists for NMS sake

barren solar
#

I shade spigot and like I said only for my ghetto free release plugins. My premiums were properly coded ๐Ÿ˜‚

ocean quartz
#

Have you ever heard of Gradle? It'll be a life saver for you

cinder flare
#

Oh wait you don't use a build tool

distant sun
#

any build tool*

cinder flare
#

That makes a lot more sense

barren solar
#

Well I've maintained the tried and true method of including the spigot.jar in my release.jar since I first learned to program at like 12. I link it as a dependency by right clicking the project in eclipse and adding it to the build path.

cinder flare
#

Dear god

#

An Eclipse user

distant sun
#

poor thing

barren solar
#

I use webstorm for node and web dev and atom for c++ if that makes you happy

cinder flare
#

You use WebStorm but not IntelliJ?

distant sun
#

the ide is your last concern, you should use a build tool - we are not in 1970 anymore - and NEVER shade spigot jar.

cinder flare
#

That is a first

#

Yeah I think I can start to imagine why you might've been denied lol

barren solar
#

Nonono see I didn't do that on the premium ones

distant sun
#

you are right, I don't

cinder flare
#

Your premium plugins use maven/gradle?

barren solar
#

I still used the eclipse build dependence tool, but I didn't include the whole entire spigot jar in the build

distant sun
#

what makes you think that a free plugin shouldn't be done properly, unlike a premium plugin?

cinder flare
#

Dear god

barren solar
distant sun
#

help yourself and learn gradle or even maven

cinder flare
#

Yeah dude, people not being able to build your plugin itself is a real big problem in it of itself

barren solar
#

Of tech

#

Features I think I can implement that others haven't or it's really bad

distant sun
#

pretty sure anyone who looks at your code will stop after they see no build tool

cinder flare
#

Got any git repos of plugins you got denied for?

barren solar
#

As suspicious as it sounds I believe I just deleted them after denial

cinder flare
#

Lmao what

distant sun
#

good now install maven

cinder flare
#

You deleted your entire projects, like from GitHub?

#

You spent hours, if not days making a premium-worthy plugin

#

Only to delete it immediately upon being denied

barren solar
#

No I work off projects from my local machine

cinder flare
#

Oh boy

barren solar
#

Probably days, yes

distant sun
#

F

cinder flare
#

So uh, some pro tips

distant sun
#

for how long have you develop?

cinder flare
#

IntelliJ, Maven/Gradle, GitHub

#

Those three things will get you a long way towards getting a premium plugin accepted

ocean quartz
barren solar
#

According to my Spigot page my earliest plugin was 2015

distant sun
#

wdym? ๐Ÿคฃ @ocean quartz

barren solar
#

But if you count neopets html profile editor... probably like 2012

ocean quartz
#

In the 70's, have you seen the website, looks so bad

distant sun
#

Right, after 6 years the time for a massive improvement has come, TheTealViper

ruby dew
#

my old spigot account got banned because i made a troll plugin that loops for like a million time every tick
and its literally named memory stealer plugin

cinder flare
#

wow, that uh... sounds so funny

ruby dew
#

and it was back in 2017

cinder flare
#

can't believe you got banned! /s

barren solar
#

I've honestly never looked into the java build process and had no clue the eclipse build tools were bad

#

I was under the assumption they in some way just automated the maven/gradle stuff I always read about in every tutorial

cinder flare
#

Well, the fact that they're called the Eclipse Build Tools might've been a warning sign

distant sun
#

hater ๐Ÿคฃ

cinder flare
#

Considering, ya know, a lot more people use things other than Eclipse to make Java stuff

barren solar
#

Nonono they aren't formally called that

#

They aren't called anything

#

It's just a menu in the program

cinder flare
#

They're only in Eclipse ๐Ÿ™‚

distant sun
#

^

barren solar
#

The "Java Build Path" sounds pretty standard across IDE's to me

cinder flare
#

Hmm well

#

You seem to have been misled

distant sun
#

^

#

make yourself a favor and start using proper tools and technologies

barren solar
#

So you're telling me when I reference an external jar into the modulepath section of the program for the eclipse equivalent to intellisense capabilities, it is bundling the whole entire thing into the final build?

#

Final space requirements suggest that is 100% not the case

#

So what is it doing that is so bad

ocean quartz
#

Gradle kts ๐Ÿ˜Œ

cinder flare
#

I do not know, but it is a very poor build tool lol

#

Gradle/Maven do more than just build

#

They also do dependency management

#

So they download the exact same versions of your dependencies and you can choose whether or not to shade and stuff

distant sun
#

imagine not having to always select the spigot jar and just type the id and version

cinder flare
#

It makes your plugins reproducible on any computer with a JDK and an internet connection

#

And they do a bunch of good stuff I presume with the classpath and stuff

#

You can do relocations, etc.

#

But the real moral of the story, is that you don't need Eclipse

#

And I am willing to bet that most people at Spigot are not willing to download Eclipse just to compile your plugin

barren solar
#

What? Why would they be compiling it? You submit the compiled .jar if anything wouldn't they be decompiling it?

#

Also are we spamming literally everyone at 2 AM (my time) or is this normal and people won't get mad

cinder flare
#

If you don't have notifications turned off for this server, you're doing it wrong

#

I guess it's not a big thing with your Spigot review, but it's a big thing for anyone looking at your code or trying to improve it

#

And who knows, it probably does some witchery with the compilation that makes it weird

ocean quartz
#

Pretty sure it's turned off by default after 500 or so members

distant sun
#

even then, who cares ๐Ÿคฃ

ocean quartz
#

Also it's 10am lol

cinder flare
#

Let's just say, there's a reason we all hate Eclipse so much lol

distant sun
barren solar
#

I've always heard that but I thought it was superficial rivalry

cinder flare
#

Oh no

barren solar
#

I didn't know the build process was the disputed part

cinder flare
#

IntelliJ is objectively significantly better

#

A lot of it is the disputed part

ocean quartz
barren solar
#

IntelliJ wouldn't autocomplete for anything when I tried to use it years ago

ocean quartz
cinder flare
#

But Eclipse not using standard build tools is one of the biggest

distant sun
#

matt .. you are using atom one dark

ocean quartz
#

Better theme

#

Best theme

distant sun
#

material oceanic โค๏ธ

ocean quartz
#

Yuck

cinder flare
#

Well that is certainly weird, maybe you didn't have the JDK selected or something

ocean quartz
#

I mean you can use maven/Gradle in eclipse

#

I used it before

cinder flare
#

True, but how many people are actually doing that lol

#

Even this guy isn't

ocean quartz
#

Blame yt tutorials

cinder flare
#

yeaaaa

barren solar
#

I'm running off yt tutorials from 2015 so

#

At least in the (java) build regards

cinder flare
#

Ah, it all makes sense

old wyvern
#

Yt bad?

#

Google bad?

cinder flare
#

shit, keep going!

#

Microsoft bad?

#

Windows bad?!

old wyvern
#

Yess

#

It all originates finally at turing
T

#

Turing bad

#

We need the lambda machine

cinder flare
#

but what about my boy Church

#

yea yea yea

old wyvern
#

๐Ÿ˜Œ

barren solar
#

Okay okay @cinder flare you're gonna like this one. First off the whole repo starts with a single folder everything is in. Then inside the root folder which is a very necessary click not unnecessary at all, I included the holographicdisplays AND spigot jars inside of my .jar. Then to top it off I have 3 util files that aren't used in any way shape or form. Now is that not cool or what.
https://github.com/thetealviper/Spigot_PortalGun

#

Now do I deserve to be #12 in the top spigot authors or what

cinder flare
#

oh my god I hope you're not

barren solar
cinder flare
#

oh boy

#

sir, I think you missed the 100 character line cutoff

barren solar
#

Eclipse has a cool feature called horizontal scrolling ๐Ÿ˜Ž

#

Only pro devs know about it I guess

cinder flare
#

I don't think you know why there's a 100 character line cutoff lmao

barren solar
#

#12 and higher spigot devs only

cinder flare
#

I don't know if you want to go by that metric lmao

#

Vk is #1

barren solar
#

Yeah and that bitch churns out plugins and updates as if it's his form of breathing

#

Nonstop all day every day

cinder flare
#

oh my god you use 8 space indent

#

that's why your code is so arrowy

distant sun
#

space += 8

barren solar
#

I don't choose 8 space indent. I just ask the magic conch (eclipse) and it does what it wants

cinder flare
#

ohh boy lmao

barren solar
#

If it tickles your fancy for web dev webstorm uses a 2 space indent

cinder flare
#

man you are a character

barren solar
#

Star I just want you to feel reassured knowing I applied for dev role and as long as the application handling staff don't see last 20 mins of chat, I should be accepted given my download count credentials.

#

I will be assisting people with questions in this server with the credibility of a role most likely ๐Ÿ™‚

cinder flare
#

I don't think you realize how little that role does lol

#

That's it

barren solar
#

Do you have a spigot/git link so I can see what you've made?

cinder flare
#

Well now, I haven't made very much lol

#

But I do understand a lot more of the theory and contribute to open source projects more than create my own things

barren solar
#

APL buddy I am # 12 on spigot I probably have a lot of pull with those guys who hate me and bully me for "using static incorrectly"

#

My dad owns microsoft

#

What are you trying to say here

pallid gale
#

o

prisma wave
#

oh alright sorry forget I said anything

cinder flare
#

The day you post your "using static incorrectly" code on GitHub for all to see is the day we validate your struggles

#

Or we realize they were right!

barren solar
#

Putting aside the fact I deleted the project (which is questionable blablabla) I feel like my verbally explaining it exactly should foster some credibility

#

Especially the part where I followed up by saying I include the spigot jar in my releases

#

That should also build credibility

cinder flare
#

Anyone can verbally explain away something they did wrong with no proof lmao

#

And that lowered your credibility

barren solar
#

/s

cinder flare
#

Seeing your public code has done that as well

barren solar
#

I'm just so ahead of the curve in terms of tech I can't adhere to conventional standards yunno

#

Life's rough for a guy like me

prisma wave
#

Sorry to hear that

barren solar
#

Thank you for your condolences APL

#

It means a lot

prisma wave
#

No problems

#

What are your thoughts on anarcho capitalism btw?

ocean quartz
#

Lmao

barren solar
#

I'm not asking this as a joke but when you get philosophical what's the difference between being run by a powerful overarching "private agency" and a powerful overarching "centralized state"

cinder flare
barren solar
#

Wouldn't that just be the same system with a different semantic label

prisma wave
#

that sounds based

#

However

#

Well

barren solar
#

It sounds like someone has a hatred against the word government but not the concept of governing

prisma wave
#

If we're getting serious, a centralised state (in theory) gives the people the ability to replace those in power, whereas with a private company there is no such potential

#

I am not an anarcho capitalist btw

barren solar
#

I didn't suspect you were but regardless I think the conversation would be the same because we're just discussing objective facts (at least at this time)

prisma wave
#

Yes I suppose you're right

barren solar
#

Also the definition I see for centralized state just says that it's a government in which executive and legislative power is concentrated rather than being distributed across multiple lower government agencies

#

That sounds a lot like a singular "private agency" but with a different name

cinder flare
#

Not to be that guy, but this sure sounds like an #off-topic conversation to me

barren solar
#

You're right I've just grown so attached to this channel the past 30 mins. My bad.

compact perchBOT
#
Seems things are getting a bit off topic here.

Please either stick to the topic or move over to #off-topic

cinder flare
#

hey see that's what I did ^

ocean quartz
#

Thank you

cinder flare
#

but with my own words ๐Ÿ™‚

ocean quartz
#

Oh yeah Blitz now can do that command as well, don't think i ever seen him use it ๐Ÿฅฒ

static zealot
#

I used it 2 or 3 times at the start

ocean quartz
#

Was off topic for dev off topic as well though xD

barren solar
#

I feel like 30 minutes of roasting my coding practices warrants a solid 5 messages about good old anarcho capitalism but I'm neither judge nor jury

prisma wave
#

lmao

barren solar
#

I'm just cough the # 12 dev on spigot cough but yeah no authority here ๐Ÿ’…

prisma wave
#

๐Ÿคฃ

static zealot
#

12 dev? What does that mean?

barren solar
#

I have posted the 12th most resources out of all devs but they just ambiguously rank as far as the site is concerned

#

I am on the 6th page of most downloaded plugins though so that is actually credible

#

Unless you saw the source code

#

Then you'd delete the resource from the site immediately most likely

hot hull
#

And I made FrozenJoin so I'm already superior

barren solar
static zealot
#

Lmao. Imagine. Not being top 10

#

Plugin

pallid gale
hot hull
#

Pathetic

pallid gale
#

ik

#

sorry

#

will do better

hot hull
#

You should be sorry smh

barren solar
#

Funny while you're here

quiet depot
#

i can hear funnycube's apology from the other side of the country

#

he's very sincere

static zealot
barren solar
#

That image billboard plugin is free now if you don't know

#

I forgot the damn name lol

quiet depot
#

bannerboard?

pallid gale
#

i'm well aware

static zealot
#

@pallid gale while you're here

#

Db update

barren solar
#

Yep that's the one. Ah for sure just thought I'd let ya know in case.

static zealot
#

Please

#

We know

#

Glare was working on actuay making it good

#

XD

barren solar
#

Oh wait funny you're an officially listed contributor to placeholderapi

#

That is wild

ocean quartz
#

Just noticed nine is on page 5 somehow lmao

quiet depot
#

it's almost as if we maintain it

barren solar
#

I thought you only made shitty lil meme plugins

#

Nah I knew funny was involved with the dev team, but I didn't think he contributed

#

Last I talked to him years ago he was just learning how to code

#

And said he couldn't really get the hang of it

quiet depot
#

he still refuses to learn java

pallid gale
quiet depot
#

he went the js route

#

for some unknown reason

barren solar
#

js is better

ocean quartz
#

Sad

quiet depot
#

cube is also proficient in vbscript

distant sun
static zealot
#

Welp. We just got another national alert and it wasn't even 10 minutes and there's a storm outside

distant sun
#

F

static zealot
#

Trees are already starting to fall

barren solar
#

The clear and open structure of how js handles everything behind the scenes just seems superior

#

There is no doubt performance wise it suffers

#

But in graspability and understandability italian chef kiss

prisma wave
#

"clear and open structure"...?

#

hey can i get another buzzword please

barren solar
#

All instantiations are tied to an easily accessible global variable

#

It is both clear and open

ocean quartz
#

So clear you don't even know where values come from or what types they are

prisma wave
#

๐Ÿฅด

barren solar
#

You type in a variable and you get every piece of data associated with it right in front of you

#

prototype vars methods etc

#

Most things default to a legible json output

#

It's just sexy man

ocean quartz
#

๐Ÿฅด

barren solar
#

While you guys are deobfuscating NMS from source code sweating profusely in JS I'd just type the object name and boom everything is accessible clearly and openly

prisma wave
#

damn that's crazy

ocean quartz
#

Obfuscation isn't Java's issue
Also JS can be obfuscated as well

barren solar
#

It was just an example to support my point of the "buzzwords" clearly and openly lol

#

I'm not saying it can't

#

But even when obfuscated, the obfuscated vars and methods are easily accessible

quiet depot
#

you know what's not accessible

prisma wave
#

deez nuts

quiet depot
#

yes

ocean quartz
quiet depot
#

bm i read 1984

static zealot
barren solar
#

In JS if I want to know every method and variable attached to a class I just type the class and boom it spits it out in console, the whole thing.
In java if I want to know every method and variable attached to NMS I have to check source or probably do some reflection stuff which definitely won't be easily maneuvered or pretty.

quiet depot
#

it was a solid eh

prisma wave
#

ive never actually read it

#

so

#

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

quiet depot
#

i wouldn't bother

barren solar
#

Isn't it a highschool standard

static zealot
#

"a sold eh" love it

prisma wave
#

1984 is when bad stuff happens

#

thats all u need to know

barren solar
#

Tell him about the main characters

#

Bad stuff happens to a dancer and dude with heavy ass shackles

#

NOW that's all you need to know

quiet depot
#

wat

barren solar
#

Oh and there are cameras that too

quiet depot
#

i don't remember any dancing in the entire book

#

unless winston and julia did a little boogie at some point

barren solar
#

Oh I may be misremembering

quiet depot
#

i don't recall that though

static zealot
#

the rain is over. welp. that was short.

ocean quartz
#

I want rain ๐Ÿ˜ฆ

static zealot
#

well... do you want it to also take a few trees in the way?

#

bcz this one did

#

tomorrow it will happen again apparently

barren solar
#

When people post pastebin links you convert it to your own domain for this reason:

"Why? - Some other paste services don't have a dark variant and we're all nocturnal."

#

I love that

static zealot
#

we love that as well

lunar cypress
#

1984 is when people praise JS

prisma wave
#

literally

barren solar
#

๐Ÿ˜ 

#

Your guys' custom pastebin clone even has syntax recognition

quiet depot
#

literally just hastebin

prisma wave
#

it's just hastebin lmao

barren solar
#

Oh

#

Well that's less exciting

ocean quartz
#

Syntax recognition fails a lot

prisma wave
#

the syntax recognition is actually really shit

#

yeah

quiet depot
#

and guess what

#

hastebin is js

prisma wave
#

usually ends up calling a java file .properties or something

barren solar
#

You can't blame a foreign API's poor syntax handling on JS

#

I simply won't stand for this bullying of JS he is a good guy

ocean quartz
#

Masochists man

prisma wave
#

ever heard of

static zealot
#

.coffeescript

prisma wave
#

^

static zealot
#

that's also called a lot

#

xD

prisma wave
#

deadest language ever

static zealot
#

it doesn't have yaml or other similar text highlighting

#

so it just calls some random bullshit most of the time

#

it called bash this time xD

ocean quartz
#

How about the E language

barren solar
#

I mean that's what bash functions look like

#

It had an idea

#

Let's get some fortran support up in here

static zealot
#

also you can't select the syntax after yourself. which would be nice

ocean quartz
#

I like Luck's paste

#

You can select the language manually

barren solar
#

I was going to add (when I was under the assumption it was custom) that it is very unnerving that I can't choose which language it thinks it is

#

But all you did was steal the hard work from hastebin

prisma wave
#

fortran fans vs lisp enjoyers

quiet depot
#

steal

#

yes

prisma wave
#

when you steal the open source project

static zealot
#

time to steal luck's paste bin?

quiet depot
#

running software which is meant to be self hosted is stealing

barren solar
#

Those poor poor souls whose work was stolen from their open source repo

#

Do you know how long they probably worked to intentionally make yml formatting come out as bash

#

They worked hard on this API and you pay them nothing

static zealot
#

they didn't ask for anything tho thonk is this sarcasm that I can't understand or are you serious?

barren solar
#

I'm being sarcastic ๐Ÿ˜‚ I accused you of stealing open source and said they worked hard to make it malfunction lol

static zealot
#

yeah. I think you also need to put a /s at the end of your sarcastic takes. bcz you, just like me, are bad at making sarcastic stuff look sarcastic.

barren solar
#

Is accusing people of stealing open source software not a clear signal

#

I refuse to use tone indicators unironically

#

What is this 1984

prisma wave
#

hello based department?

static zealot
jovial warren
#

Hey, @ocean quartz, you know a decent amount about GUIs. I'm just trying to improve the inventory type thing in Krypton to make it a registry, and I was thinking of adding rows and columns properties for each inventory type. However, most inventories don't really have a defined number of rows and columns in a grid pattern, so what should I do? should I leave the rows and columns undefined for those inventories? should I just scrap the rows and columns properties altogether?

quiet depot
#

take a geez at sponge

jovial warren
#

or I could make a new inventory type subclass called GridInventoryType that has the rows and columns properties

quiet depot
#

not actually a fan of sponge's inventory api but iirc they have something for rows & columns

static zealot
#

I love geezing a sponge !

barren solar
#

Can't you just transform all the inventory id ints into your own row and column system

static zealot
#

:ugh:

#

I need to make that an emote. damn. how did I not think about that?

barren solar
#

Universally all invs use a 1d int array as id's so why not treat that as your foundation so you have repeatable row and column allotment

#

If I'm out of line and completely wrong and you @ 'd Matt (asking only for his opinion) sorry lol

#

I'm just here

#

Existing

static zealot
#

u finally said something relatable. damn

sly sonnet
#

:Kappa:

#

ok no nitro emojis angry_fingerguns

static zealot
sly sonnet
#

yeah, thats the thing

#

oh

#

kappa-2 works

ocean quartz
jovial warren
#

yeah probably a decent idea

ocean quartz
#

@prisma wave

prisma wave
#

thank you my dear

#

lovely

lunar cypress
#

ew

normal talon
#

wut is dat

ocean quartz
#

Font ligatures

normal talon
#

I found this in my files

#

is this any good

half harness
#

o it seems very old

normal talon
#

yea 1.10.2

#

idk when that came out

half harness
normal talon
#

oh lol

#

yea so should I delete it ?

forest pecan
#

It literally only give examples lol

obtuse gale
#

Anybody know if i can make a react-bootstrap app auto update in intellij?

static zealot
#

no

#

no I Don't know. that's what I mean.

ocean quartz
#

TIL that Lombok is an island right next to Java lol

prisma wave
#

nuke it

#

isn't kotlin also a place in russia?

normal talon
#

yea an island

ocean quartz
#

An island in the north ish of russia, close to Finland

prisma wave
#

i see what they did there

ocean quartz
#

They posted a 20 minutes video on yt about the story of Kotlin and Andrey (๐Ÿ˜ฉ) was mentioning that it was called "Jet" before, but it was already copyrighted so they went with Java's idea and named it after an island

normal talon
#

you can copyright a island name lol

static zealot
#

well. I will name the language I work on Blaagasgsagasgl. And then name my private island after the language.

rough socket
#

someone pong me here?

ocean quartz
#

$4 lol

half harness
#

also gotta use HTLM fingerguns

#

i don't get why people say like "make a plugin in java" or "website in css and html" when in the end it (at least with plugins, idk about websites) it won't really matter if you use java or kotlin

#

plus can you even make a functioning website with only css and html ๐Ÿค”

forest pecan
#

I mean sure but it wonโ€™t be responsive lol

#

Like all the buttons wonโ€™t do anything

half harness
#

ah

#

does it need JS?

forest pecan
#

Yeah the buttons requires JS

#

To run a specific method or something

ocean quartz
#

Not at all lol

#

You can make a fully functional website with just html and css

half harness
#

o

golden sun
#

Having to do HTML in email's is a fucking nightmare

ocean quartz
#

Ayy looking nice ๐Ÿ˜Œ

prisma wave
#

๐Ÿ˜Œ

ocean quartz
#

Was suffering through a lot of js to make that but then realized you can easily do it through css lol

distant sun
#

nice

gusty fulcrum
#

anyone know why its not possible to add a enchant glow to player heads in 1.17+ ?

distant sun
#

you never could

gusty fulcrum
#

Okay, why is that ?

distant sun
#

yes

gusty fulcrum
#

0.0

ocean quartz
#

Because Mojang didn't feel like it i guess

distant sun
#

although it would most likely look bad

gusty fulcrum
#

okay thank you

humble silo
#

Is it a template or something you can buy?

ocean quartz
#

A wiki I am building, it's open source

humble silo
#

Is it in react or smth?

#

vue

ocean quartz
humble silo
#

oh i love typescript

ocean quartz
#

i don't

humble silo
#

would you rather use js? lol

ocean quartz
#

Well it's better than JS, but still horrible

humble silo
#

would you want to use kotlin then? Is that a pain in react?

ocean quartz
#

I'd rather use Kotlin react, but it was a bit buggy so had to drop it ๐Ÿ˜ฉ

humble silo
#

ah ok, ya ive heard that from a few people before

#

still, ts is better than nothing(js)

distant sun
ocean quartz
#

i'm not using js

jovial warren
#

imagine knowing how to design a website in the first place though

ocean quartz
#

You act like i know ๐Ÿฅฒ

jovial warren
#

well you're better than I am

#

you actually have a working website lol

ocean quartz
#

Literally just copying parts of websites I like the design of and putting it all together ๐Ÿฅฒ

jovial warren
#

I thought that might've been the case lol

prisma wave
#

Design wise it looks very similar to gitbook

distant sun
ocean quartz
#

Yeah mostly inspiration from gitbook

barren solar
#

I went on leetcode for the first time right now and solved the daily problem. I'm looking at the submission chart and I'm seeing numerous solutions where the code is just "return true;". I'm assuming the site makes randomized test cases every check so they just brute force submitted until all test cases happened to be true? Why does the site allow for a solution that is "return true;" or am I confused and it's reasonable

humble silo
#

Anyone else having issues with the gradle kotlin plugin version 1.5.21? 1.5.10 Works just fine but im getting some super weird errors on the newer version

ocean quartz
#

Which errrors?

#

Works fine for me

old wyvern
#

Classic kotlin

humble silo
#

Ill try the new one again and give you the exact thing

#
Could not create task ':base:compileTestKotlin'.
> Could not create task of type 'KotlinCompile'.
   > Could not create an instance of type org.jetbrains.kotlin.gradle.tasks.KotlinJavaToolchainProvider.
      > Could not generate a decorated class for type KotlinJavaToolchainProvider.
         > Cannot have abstract method KotlinJavaToolchain.getJdk().
#

Weird huh

barren solar
# old wyvern Anything that works, goes

But it completely alters the stats page for performance lol how tf does my legit solution compete with Johnny's brute force a billion times submission of "return true;" ๐Ÿ˜‚

old wyvern
#

The testcases are the same across multiple submissions

humble silo
old wyvern
#

Which problem is it @barren solar ?

#

Return true just always seems to work

old wyvern
#

lol

old wyvern
#

First attempt

humble silo
#

2021.1 ultimate

#

though idk if thats the issue

#

Ill try updating

ocean quartz
#

Try updating

barren solar
old wyvern
#

๐Ÿคท

#

Maybe the problem is a trick question

barren solar
#

Not possible because I can think of array setups where Lee wins and Alex doesn't

#

They must have literally by divine intervention of god himself gotten 46 test cases where every single one is true

#

Absolutely ridiculous

old wyvern
#

Give me the example

#

Thing is

#

Alex goes first

#

he can always choose the highest number

barren solar
#

[1,200,1,1]

#

Lee wins

old wyvern
#

No

barren solar
#

[2,200,1,1] sorry there

old wyvern
#

Same result

#

[2,200,1,1]

[2, 200, 1] - Alex 1

[200, 1] - Lee 2

[1] - Alex 201

[] Lee- 3

barren solar
#

Alex wouldn't take 1 in the first step what

#

Alex would take 2

old wyvern
#

Why wouldnt he?

#

Nothing suggests he couldnt do that

#

They play "Optimally"

barren solar
#

He has to make the most optimal decision

old wyvern
#

Not optimal in the same round

#

Just overall

barren solar
#

Well wait does it mean optimally relative to the full game or optimally relative to each turn

#

I feel like that's a very important distinction

old wyvern
#

Full game id assume

#

It only mentions they play Optimally

#

So it wouldnt be per round

#

Its a biased game, whoever goes first wins

barren solar
#

That is ridiculous but far more likely than them intending optimally per turn and ending up with 46 true cases

old wyvern
#

In this case

#

Alex

humble silo
#

Omg this is so cool

#

Im loving that

ocean quartz
old wyvern
#

๐Ÿ˜ฎ

frail glade
#

Hot.

humble silo
#

It makes things look so bad!

old wyvern
#

Meh, better than burning your eyes out

humble silo
#

lol barely, though stackoverflow light theme is pretty disgusting

ocean quartz
#

I have it reversed, it's off by default, then i choose which pages to turn it on on

old wyvern
#

Now before glare screams at me, matt could you do me a favour?

humble silo
#

well thats ok ig, stackoverflow for example

#

lol

ocean quartz
ocean quartz
old wyvern
#

I have the next update for the lib and gradle plugin ready on the compile-time-resolution branch, could you please merge and publish it? ๐Ÿฅฒ

#

I have a flight in a bit

frail glade
obtuse gale
#

Fancy

old wyvern
#

๐Ÿฅฒ

humble silo
old wyvern
#

Might wanna bump the versions tho

#

1.2.5 for lib and 1.3.0 for gradle plugin I think

frail glade
#

So I change it to 1.2.5 in my gradle props?

old wyvern
#

No I made it a bit easier glare

#

You can now do

implementation slimjar("1.2.5")
frail glade
#

Oh hot.

ocean quartz
old wyvern
#

The props file now manages what repo to implicitly add and if compile time resolution should be used

frail glade
#

Bravo.

ocean quartz
humble silo
old wyvern
#

yup

#

oh wait the keys might be diff for the lib now

#

ill dm you my key

#

I had changed repo to a new vps a month ago

ocean quartz
#

Oh yeah i didn't think about the lib, i never published that one xD

old wyvern
#

lol

humble silo
#

@ocean quartz Still getting the same error ๐Ÿ˜ฆ guess im just gonna have to wait for it to be fixed

ocean quartz
#

Is your project OS by any chance? I could try opening it on mine and see what happens

humble silo
frail glade
#

Also Matt don't forget to make a new Github release for it too pls.

humble silo
#

doesnt really matter anyways

#

ig

ocean quartz
frail glade
#

All good

old wyvern
#

You have permission as well I think matt

#

You have org owner role as well

ocean quartz
#

Oh wait yeah i can nvm

frail glade
ocean quartz
#

Released

#

Did I mess up? Oh shit

old wyvern
#

Nah it seems to be on there

frail glade
#

Yeah I see it in the repo.

#

Sec.

old wyvern
#

Maybe it didnt add the repo

#

๐Ÿคฆโ€โ™‚๏ธ

#

Issue in gradle plugin I guess

#

God dammit

#

You can temp try adding my repo manually glare

#

I'll fix it once I reach home

frail glade
#

Yup that was it.

ocean quartz
#

It should though thonking

old wyvern
#

๐Ÿคท

onyx loom
#

gradle bad

old wyvern
#

gradle is a absolute mystery

ocean quartz
#

We need to make our own build tool, written in Haskell!

old wyvern
#

Yes!!

#

Thats actually an interesting project

ocean quartz
#

It really would

#

God please a better API

onyx loom
#

triumph build tool

prisma wave
#

stop

ocean quartz
#

Tradle

prisma wave
#

stop the monopoly

onyx loom
#

no!

frail glade
steel heart
#

oo delicious

obtuse gale
#

I'm trying to add Particles to Arrows, does anyone know a tutorial or anything?

barren solar
steel heart
#

ok

ocean quartz
#

We should rewrite terrible plugin but instead just a cursed plugin, where it actually is fully functional but the code is as cursed as it gets, like for example

steel heart
#

TerriblePlugin does contain good code snippets occasionally

prisma wave
#

does it though

#

does it really

steel heart
#

you monad

barren solar
#

Funny story. Idk if you guys have ever heard of Wynncraft but they have this bank storage system. Back in the day they had one of the GUI buttons be "search" but when you "searched" it just literally did nothing or the results made 0 sense. So I made a free publicly available open source clone of their plugin with a properly functioning search feature. After that, instead of clapping back with their own functioning search, they just removed the GUI button entirely ๐Ÿ˜‚
Sauce: https://imgur.com/GKDbWLU.png

steel heart
#

Lmao

barren solar
#

It is the only RPG server I can stand playing on. The only downfall is their garbage garbage map system but now they have the light beams to indicate a compass guidance system.

ocean quartz
forest pecan
#

Dead

#

๐Ÿคก

forest pecan
#

Should Executors be stored in some sort of provider class?

#

And be reused

quiet depot
#

really depends on the use case

forest pecan
#

Hm ok

#

It seems actually in my case im using different types of executors and i dont have to store them in a provider for now at least

quiet depot
#

wym providers

#

guice providers?

#

just store it as a field

forest pecan
#

Nah like a singleton

quiet depot
#

well it depends on the use case

#

generally i store them as a constant

#

but if you needed to shut the executor down at runtime, then youโ€™d want a more mutable solution (or di, any method which ultimately results in a fresh executor)

forest pecan
#

Ic

hot hull
#

I love this guy saying no mods on every showcase

barren solar
#

They factually function without mods

#

I think it's pretty cool to have made what was mod-only functionality before I made it

obtuse gale
#

Plugins are server sided mods :d

barren solar
#

Common mc culture would consider "mod" to imply modded client

hot hull
#

Nah I mean it's basic shit pog

#

Still cool, but basic

barren solar
#

The portal used some fancy linear algebra and spacial matrix transformations

#

I would definitely claim that is not basic

hot hull
#

bAsIc

barren solar
#

Back when I made the quarry plugin, I was one of the first to implement additional custom blocks with "custom" hit boxes

#

At least that I knew of

hot hull
#

Show source, I'm in a flamming kind of mood

barren solar
#

It's public source but I don't want to get roasted by someone with bad intent

hot hull
#

Nah I mean constructive criticism

barren solar
#

I like getting roasted for fun but I feel like you're malicious

obtuse gale
#

Nah Frosty's cool

#

get it?

hot hull
#

Brb, work ๐Ÿคก

obtuse gale
#

Frosty, cool

#

I'm such a comedian

#

I should be hired by AdultSwim

barren solar
#

[as]

hot hull
distant sun
#

So I got this laptop from work and when I try to connect my monitor through a HDMI cable, the image quality of the monitor is kinda poor, like 720p, any way to fix this?

#

๐Ÿ–• @obtuse gale

obtuse gale
#

Lmao

static zealot
#

don't get a second monitor if you're not cool like me smh.

distant sun
#

I don't think the specs are the problem tbh

#

And no, I'm not flexing something that I don't even own.

cinder flare
#

did you set the resolution right?

#

in nvidia control panel

distant sun
#

yup it is working now

static zealot
distant sun
#

ty star

barren solar
static zealot
#

I yes. Boss. Give me laptop. I Will do a lot of work. I will watch GTA V videos.

distant sun
#

idk I just needed a hd video

static zealot
#

=joke

compact perchBOT
#
Hey son,

So, I heard this pun about cows, but itโ€™s kinda offensive so I wonโ€™t say it. I donโ€™t want there to be any beef between us.

abstract kraken
#

I'm trying to backup Nexus so i can update the docker container, in the documentation it says there should be a folder named sonatype-work but it's nowhere to be found. I found that there are blob storages which are apparently used by some repositories in the Container. Can i just backup those and replace the default blob storage in the new docker container or am i missing something?

oak coyote
distant sun
#

wasn't there a way to start minecraft using a cli, without a gui?

#

not with the default client

steel heart
#

java -jar

#

Or no?

obtuse gale
#

nogui at the end

cunning oriole
#

someone check my request xd

ocean quartz
#

Done I have checked it

cunning oriole
#

oof

steel heart
hot hull
#

@cunning oriole Mate, 3$ doesn't even grant you the perk of opening an IDE, let alone fixing a plugin

cunning oriole
#

fixing one bug bruh

hot hull
#

Let's say it's a 5min fix, good, what if it's spaghetti code and you spend an hour looking for that damn bug, what a waste amirite

sly sonnet
#

20$/h and imma do it

ocean quartz
#

Which requires tons of debugging, it's already hard on your plugin, can you imagine other people's plugins?

hot hull
cunning oriole
#

you can't judge the code without even looking at it

sly sonnet
#

yes u can

#

@prisma wave right?

prisma wave
#

uh

hot hull
#

Well it's a spigot plugin I'm guessing, so the chances are 90% that the code is utter dogshit

#

If not higher

quiet depot
#

nice upgrade @distant sun

sly sonnet
quiet depot
#

can you use it for non work stuff?

static zealot
#

he clearly already does xD

#

GTA V RTX moments. that's clearly for work

quiet depot
#

idk

ocean quartz
quiet depot
#

maybe he was told to test whether the laptop could watch youtube videos and run discord

static zealot
#

nothing unusual. we all have to watch GTA V moments for work

sly sonnet
#

swf content yknow

quiet depot
#

no

#

i don't know

static zealot
#

yeah me neither

sly sonnet
#

ah shit, sfw*

normal talon
#

you have to watch videos poor baby's

#

I just need to show up ๐Ÿ˜Ž

quiet depot
#

ugh the fucking javadocs changed again

#

and docdex is broke

#

why do they keep changing the damn html structure

normal talon
#

only if the javadocs were as good as the kotlin docs ๐Ÿ˜ฆ

prisma wave
quiet depot
#

kotlin docs are even worse iirc

prisma wave
#

depends how you judge it

#

they look better

quiet depot
#

yeah

normal talon
#

yea that is what I mean

quiet depot
#

but iirc they have different formats

normal talon
#

it is more readable I guess

quiet depot
#

not for a machine

static zealot
#

all piggy can think about is DocDex. but problem is he doesn't even update it

quiet depot
#

i don't have time oof

#

and it updates itself anyway

static zealot
quiet depot
#

technological singularity and all that

static zealot
#

xD

normal talon
#

amazong

sly sonnet
#

would it be possible to make a spigot plugin that auto updates to new major versions? thonking1

static zealot
#

yes

sly sonnet
#

like it changes its code by itself etc

oak coyote
#

You can make it download a new jar

normal talon
#

Yea, build a robot that can do all that for u

static zealot
#

I swear to got SkinRestorer or some other plugin used to do that. maybe still does

quiet depot
#

when i get gpt-3 access, it'll be the new docdex

distant sun
normal talon
#

wew they hit 5+mill downloads on spigot

quiet depot
#

who

prisma wave
#

they

distant sun
#

@static zealot I was using that video for testing smh

quiet depot
#

them

#

the party

#

literally 1984

static zealot
distant sun
#

Stoopid

static zealot
#

and yes @sly sonnet seems like skin restorer still has an auto updater

#

according to the config files from github. to lazy to go thru the code

#

ah yes

sly sonnet
prisma wave
#

๐Ÿฅด

sly sonnet
#

no u didnt understand me

#

thats an auto updater

static zealot
sly sonnet
#

i meant that the plugin ports itself to a new version

#

like 1.16.5 -> 1.17.1

static zealot
#

what

#

why?

sly sonnet
#

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

distant sun
#

an auto updater usually reffers to checking if there's a new version avilable for download

static zealot
#

well not this one.

#

this one also updates the plugin

#

bcz they're cool

distant sun
#

Ew

potent nest
#

updating plugins automatically is very bad idea

distant sun
#

^

normal talon
#

yea just have fun coding ๐Ÿ™‚

stuck harbor
#

checking for updates? thats fine with me

#

but automatically downloading them is worse than satan

distant sun
#

Reminds me of CMI lib

jovial warren
#

because you definitely need to shade XSeries and PaperLib in to a Bungee plugin

static zealot
#

xD

forest pecan
#

How many badges do you need

#

Lol

distant sun
#

yes

forest pecan
#

The worst part is they are all inconsistent

static zealot
#

aha aha aha yeah yeah aha yeah aha

onyx loom
#

the more the merrier

ocean quartz
#

Inconsistency is key

hot hull
#

Only one you need

onyx loom
#

hold up, 5.2m downloads wtf ๐Ÿ˜ณ

static zealot
#

they would get 10-100k downloads in minutes

fallen spear
#

i feel like this project is one of those that work fine when developing but goes to shit after publishing

steel heart
#

*my every plugin*

hot hull
#

See it's user error that fucks you most of the time

jovial warren
#

is it just me or does pretty much every large bug in software seem to always be fixable in under 20 lines of diff

distant sun
#

Since when you can't have code blocks in channel topics?

jovial warren
#

what?

#

I swear Discord is very strict about that sort of thing

#

any text box outside of the text box you use to chat is quite restrictive

distant sun
#

I have a channel where I use diff for changelog and I wanted to put the format on the topic so everyone knows what's going on

jovial warren
#

I guess you could just pin it instead

distant sun
#

yeah I did =/

half harness
#

Which one is better:

  • CoroutineScope(Dispatchers.IO).launch {} (in a plugin)

Bukkit.getScheduler().runTaskAsynchronously(plugin, Runnable { runBlocking {

}})

prisma wave
#

๐Ÿฅด

half harness
#

since I want to be sure that it won't run on the main thread

prisma wave
#

neither are great

#

use the Default dispatcher unless you need IO

half harness
#

well

#

im reading from files

#

so

#

is that considered io

prisma wave
#

that is the definition of IO

#

so yes

#

uh

half harness
#

uhhhh

#

|| specifically im reading world region files ||

obtuse gale
#

you definitely don't want to do that async, you might want to copy them sync to another directory first as some sort of snapshot, then read async from that

half harness
#

hmm

#

should I unload the world first? or is that not required

obtuse gale
#

what the fuck are you trying to do

#

if you can unload the world, yes

half harness
#

all generated chunks

#

not just loaded ones

obtuse gale
#

see today's NASA astronomy picture of the day

onyx loom
#

thanks ๐Ÿ™‚

half harness
prisma wave
#

um

#

i need help

compact perchBOT
#

There is no time to wait! Ask your question @prisma wave!

prisma wave
#

i have a question

compact perchBOT
#

There is no time to wait! Ask your question @prisma wave!

prisma wave
#

well

#

so

#

uh

#
 @Override
    public byte @NotNull [] toPrimitive(@NotNull List<T> complex, @NotNull PersistentDataAdapterContext context) {
        //noinspection UnstableApiUsage
        var out = ByteStreams.newDataOutput();
        out.writeInt(complex.size());
        for (T t : complex) {
            out.write(singleType.toPrimitive(t, context));
        }
        return out.toByteArray();
    }
``` i've got this
#

but then

obtuse gale
#

sir

prisma wave
#

i do not care

#

answer my question

obtuse gale
#

i do

#

no

prisma wave
#

how would i fill this in

#

because

obtuse gale
#

NOT configuration help

prisma wave
#

well

obtuse gale
#

fuck off

prisma wave
#

it's dynamic

#

shut it

obtuse gale
#

i don't care

prisma wave
#

oh

#

wait

#

hold up

obtuse gale
#

no

prisma wave
#

i can just assume that each thingy is the same length and divide by length

#

genius

#

absolutely genius

obtuse gale
#

does T encode to a fixed size byte array?

prisma wave
#

it had better

#

or there will be trouble

#

but

#

on a more serious note i have no idea on any other way to do it

obtuse gale
#

might wanna store something like PersistentDataType<PersistentDataContainer, T> or smth instead

#

kinda like in json an array of objects

#

well, an

prisma wave
#

whatttt

obtuse gale
#

and then

#

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

prisma wave
#

how would i do that

#

look

#

i dont need this to be future proof or anything

obtuse gale
#

okay do whatever lol

prisma wave
#

all i want is to take my Point data type and store a List<Point>

half harness
#

since the region file names has the region locations

#

and then i get the chunk locations from the region locations

obtuse gale
half harness
#

i know

#

but i don't know how to figure out if the chunk has been generated ๐Ÿ˜ฉ

#

ok discord send my message plz

#

what

prisma wave
#

on an unrelated note was it you that posted the article about the hashmap infinite loop thread safety thing

half harness
#

but i don't know how to figure out if the chunk has been generated ๐Ÿ˜ฉ

#

there we go

prisma wave
#

if so please provide me with the url

half harness
prisma wave
#

thank you so much

half harness
#

do u think im good enough to apply for developer role

obtuse gale
#

go for it, you lose nothing by applying

prisma wave
#

you lose everything by applying

#

OH CRIKEY

#

dont worry

#

crisis averted

#

i realised there was a big edge case

#

however

#

i also realised that i do not care

obtuse gale
#

lmao

half harness
static zealot
#

that's perfectly fine

#

nothing wrong there

forest pecan
#

Yeah

steel heart
#

Mission successful, I a Java guy was converted into Kotlin in SpigotMC :0

forest pecan
#

๐Ÿฅด

steel heart
#

But this commission pulled me back to Java

forest pecan
#

๐Ÿคญ

#

๐Ÿฅœ

prisma wave
#

Java 16 | 17 > kotlin

#

No joke

#

No circlejerking

#

Just facts

forest pecan
#

Lombok users when they see record

#

๐Ÿคฌ

prisma wave
#

Lombok users in hell

hot hull
#

man increased his budget for how much?

prisma wave
#

Holy shit $3 more

#

That's crazy

steel heart
#

We should make a notorious list of known devs who use Lombok

forest pecan
#

Alright

#

Hertere

steel heart
#

imaginedev

forest pecan
#

ImagineDev

steel heart
#

Jochyoua

forest pecan
#

Lmfao

steel heart
#

Rack

forest pecan
#

Auxilor

steel heart
#

Auxilor

forest pecan
#

Lol

steel heart
#

Yeah lol

#

Unsure if repooper does it

forest pecan
#

Md_5

#

lol

steel heart
#

How did I miss that one lul

ocean quartz
#

Jk jk

forest pecan
#

Yeah he bad

#

He irrevelant

#

๐Ÿคก

#

/s

#

But honestly imagine using Lombok inside an API

steel heart
#

Myes encapsulation with Lombok

#

Best thing ever heard

forest pecan
#

Lol

steel heart
#

At least kotlin provides agility for properties

#

And well flexibility

ocean quartz
#

Can't wait for this feature

private val list = mutableListOf<String>()
  public get(): List<String>
steel heart
#

Ye

prisma wave
#

Meh

#

I feel like that feature is literally only useful in 1 scenario

steel heart
#

List<Yugi | Mitten>

#

Very pog feature

prisma wave
#

ADTs ๐Ÿ˜Œ

#

Another feature basically stolen from certain other languages but still good

woven plaza
#

I was rejected from dev team because I do not use lombok

#

lol

frail glade
#

They're better off without you.

woven plaza
#

second argument was

#

I do not make spaces

#

between code

winter iron
#

I use 5 space tabs

#

๐Ÿ™‚

woven plaza
#

btw

#

kotlin>java

static zealot
#

xD

#

is this Sx disguised?

onyx loom
#

wise words

woven plaza
#

but

prisma wave
#

Hello sxtanna

woven plaza
#

idk how does it look in higher java versions

#

used 8 and 11