#dev-general

1 messages ยท Page 502 of 1

quiet depot
#

if you go that route you may aswell just use allman

#

it's basically the same thing

cinder flare
#

allman no

#

bad

#

allman needs to go sit and think about what they've done

#

and how they ruined like, 1/3 of C#'s semantics

quiet depot
#

2 arguments per line

#

fits in the margin

cinder flare
#

but also, it's a lot harder to read

quiet depot
#

mine?

cinder flare
#

in a one-per-line system, you just go down

#

yea

forest pecan
#

but what if String was something like DeluxeAsyncJoinPlugin

quiet depot
#

what about now with syntax highlighting

cinder flare
#

in that, since the args are variable lengths, you need to read all the way until a comma to find the next one

#

okay the colors help

quiet depot
#

that's ok though

#

the point is that it's before the margin MOST of the time

#

it doesn't have to be perfect

forest pecan
#

then what do u do

#

like 1 argument per line?

#

but 2 arguments

#

if possible

quiet depot
#

no if it's only like 10 chars over I just go over

#

I only do 1 per line if it's super super long

#

which can happen with guice injections

forest pecan
#

ic

quiet depot
#

margin isn't a strict rule

#

it's just a guideline

lunar cypress
#

Well then you just have a strict margin with extra steps

pale shell
forest pecan
#

?

#

whats worng with themes

#

i use a theme

pale shell
#

๐Ÿ˜ 

forest pecan
#

i also have a background picture

pale shell
#

default IJ ftw

forest pecan
#

Yeah no

ocean quartz
#

Atom one dark best

onyx loom
#

im sensing a lot of allman hatred rn

forest pecan
#

I use the basic dark theme + background picture

onyx loom
#

care to elucidate?

pale shell
#

look at it, it's amazing

forest pecan
#

you are using a theme

#

its the dark theme

#

lmao

pale shell
#

no

forest pecan
#

Yes it is

pale shell
#

but its built in

forest pecan
#

Its not, you install it at first

#

i have the exact same theme

pale shell
#

no??

onyx loom
#

?????

pale shell
#

what??

onyx loom
#

thats the default IJ dark theme

ocean quartz
#

It's even called Darcula lol, it's a theme

pale shell
#

its installed by default??

forest pecan
#

Unless I am referring to a different theme

ocean quartz
#

Being default doesn't mean it's not a theme

forest pecan
#

^

pale shell
#

wot

#

Matt, you had a KitKat today?

ocean quartz
#

Default IJ comes with 2 themes, Classic Light and Darcula

prisma wave
#

oooooooooooooooooooooooooooo

#

game of the year 2021

#

Mark my words

forest pecan
pale shell
#

wait... bm is a console gamer?

prisma wave
#

absolutely not

#

It's on pc too

cinder flare
pale shell
#

oh no he's a console gamer

#

yep >:)

forest pecan
cinder flare
#

why

forest pecan
#

absolutely gross

pale shell
#

it works

cinder flare
#

and it's not like it's a new arraylist

pale shell
#

:))

cinder flare
#

that bad boy is persistent

#

have you heard of arrays perchance?

forest pecan
#

bad code

pale shell
#

oh dear did i trigger everyone by accident?

ocean quartz
cinder flare
#

yea

quiet depot
#

isn't horizon made by microsoft

pale shell
#

should I OS this bad boy to trigger ya'll all?

onyx loom
#

forbidden west will only be on ps4/ps5 afaik

prisma wave
quiet depot
#

yes

pale shell
#

I also catch a NPE.

prisma wave
quiet depot
#

didn't know there was another horizon game

cinder flare
prisma wave
old wyvern
forest pecan
#

Jump off a cliff

pale shell
cinder flare
#

cliff -> you

old wyvern
#

We have a another matt now?

ocean quartz
#

An amazing game

forest pecan
#

Also wtf

#

no final

#

????

old wyvern
#

oh they left

quiet depot
#

does it cost money

pale shell
#

you guys are funny

old wyvern
#

or not

forest pecan
#

Frank you have no final

ocean quartz
forest pecan
#

u stoopid

quiet depot
#

matthew this essay you're typing better be fucking good

cinder flare
old wyvern
#

xD

pale shell
#

how can i commit this code without leaking the login code

prisma wave
cinder flare
#

get a way to get the login code like a config or something

ocean quartz
#

Inb4 it's just "Hey"

prisma wave
#

but yes absolutely amazing game

quiet depot
#

what do u do in it

old wyvern
#

Separate those as environment variables or a config file an exclude them

quiet depot
#

is it like ark or rust

cinder flare
#

or uh, command line args are really easy

prisma wave
#

Nah

pale shell
old wyvern
#

true

prisma wave
#

Action RPG I guess, not really survival

quiet depot
#

skyrim?

prisma wave
#

although you have hunting and traps and stuff

#

Yeah skyrim with robots

ocean quartz
pale shell
#

I almost wrote the command line args in but i thought no point

ocean quartz
#

I love the game, I hate the stupid bugs

quiet depot
#

I like playing ark with friends

#

not public servers tho

pale shell
#

fudge it, lets os this bad boy, 2 secs.

old wyvern
#

William Andrean Shakespeare!

ocean quartz
#

Oh yeah i don't like public servers either, just play like co-op with my fiance

quiet depot
#

have u played crystal isles map?

#

not the official one

#

the old community one

#

it's so good

#

best map ever

ocean quartz
#

Not yet

old wyvern
#

Oh shakespeare is back

old wyvern
#

When do we get our illyad?

quiet depot
#

if it's still possible to install the og version, definitely give it a try

#

it's a really good map

#

has so much cool shit

dull ruin
#

Hi Guys.

I want to know your opinion as a developer (new or experienced) regarding the difficulty & effort to start making our own functional plugin & make it works smoothly (well optimized not causing lag)

I run a minecraft server with my friend as a hobby & side hustle. i came to the point that plugin devs keep asking for $ for a bug fix or small feature request (adding notification when received something) and it starts troubling me.

So i have this in mind while configuring our server that i should start making my own plugin. I want to know what i'm facing ahead. I have very minimal programming experiences, and a very little knowledge as of now. Also is are taking paid courses worth the money? I dont mind spending some $ to speed up the learning progression.

Ty in advance.

prisma wave
#

Oh my

cinder flare
#

holy

ocean quartz
#

The best map imo was extinction, and just because of 2 things, the orbital supply drops were awesome, gave something important to do, and the snow owl is the best creature

old wyvern
#

functional plugin

quiet depot
#

extinction...

old wyvern
#

YES

quiet depot
#

what season pass is that?

old wyvern
#

YES

#

H

quiet depot
#

I only have the original season pass

old wyvern
#

A

quiet depot
#

guys please don't bring circlejerk into this

#

answer the question seriously

old wyvern
#

ok ๐Ÿฅฒ

ocean quartz
#

Was the supposed "last" dlc before they started milking it more

prisma wave
quiet depot
pale shell
#

should I do the token from args[0] ?

ocean quartz
#

This one

cinder flare
#

yeah just reading the javadocs and stuff once you know enough Java, you should easily be able to make some nice stuff

old wyvern
#

Try coursera

#

PluralSight is godly

prisma wave
ocean quartz
#

I didn't like the titans too much but the small things were pretty nice

quiet depot
#

too hard to find

cinder flare
#

or looking at the source code of others' plugins (not Odin's)

quiet depot
#

not worth the effort

cinder flare
cinder flare
# pale shell WHAT

after what you just showed me, I don't think you can be trusted as a source of teaching

pale shell
cinder flare
#

oh no

#

those kids need help

pale shell
#

my code was worse back then

#

i use to put all the code in 1 file

#

ONE FILE

dull ruin
quiet depot
#

not sure sorry, I've never done an online course

prisma wave
quiet depot
#

gian has said some good things about the tim buchalka course on udemy

old wyvern
pale shell
#

no i mean, I used to put listeners and commands and it all in one file @prisma wave

old wyvern
#

The instructor for that course was just blant

cinder flare
#

is there a haskell course

#

on pluralsight

old wyvern
#

Yes

#

2 courses

cinder flare
#

ooh hoo hoo

old wyvern
#

2 parts of the same course

#

I took that

ocean quartz
old wyvern
#

Its pretty great

compact perchBOT
old wyvern
#

Search for Haskell Fundamentals Part 1

forest pecan
#

๐Ÿ˜ก

#

Who delete

old wyvern
#

Theres also lots of resources for Java

old wyvern
#

And some for kotlin

quiet depot
#

=faq delete main

compact perchBOT
#

@quiet depot, Deleted: main from the FAQ list!

cinder flare
#

oh no!

prisma wave
#

Noooooooooooooo

quiet depot
#

I'm realling not a fan of the trolling when people are asking for legitimate help

onyx loom
#

end of an era ๐Ÿ˜”

prisma wave
#

yes this is not an appropriate time

#

it is only acceptable when people are being annoying

old wyvern
#

Bm trying his hardest not to get demoted ๐Ÿฅฒ

#

xD

pale shell
#

Lemme just sort out this token thing in this bot then i'll let you guys roast me ok?

forest pecan
#

wait what

quiet depot
#

it's acceptable when you're talking to friends

#

people you know

old wyvern
#

He has fallen to the corrupted side

#

sad

forest pecan
#

i was just trying to see if it worked

quiet depot
#

not when rands are being annoying

forest pecan
#

I didnt know someone asked

#

cause i saw challanges

ocean quartz
#

I never said anything about it when you guys used to do it, but now that you are staff you should definitely not use that wiki anymore, if someone asks in the wrong place guide them to the right one

prisma wave
forest pecan
#

i wanted to see if ?main still existed

old wyvern
#

They deserve to learn the truth!!

forest pecan
#

Wait what

pale shell
#

my gosh this takes so long

forest pecan
#

Piggy are you talking to me

#

or the staff

prisma wave
#

you can do it on my behalf yugi

quiet depot
#

anyone who it's relevant to

prisma wave
#

I bestow the responsibility onto you

cinder flare
#

staff getting reprimanded for pulse's actions ๐Ÿฅฒ

pale shell
#

ban pulse

forest pecan
#

๐Ÿ˜ฑ

quiet depot
#

I wasn't really addressing staff specifically

#

was mainly pulse

#

but anyone who it applies to should take note

pale shell
#

Just ban pulse my guy

cinder flare
#

oh yeah that was Matt sorry

forest pecan
#

piggy why wont you use the forum

quiet depot
#

what forum

#

I use spigot all the time

forest pecan
#

my thread

quiet depot
#

that's th eonly forum I use

hot hull
#

jesus fuck, so many support

quiet depot
#

I think we have 11 support members now

cinder flare
#

hehehe

ocean quartz
cinder flare
#

we're spreading

old wyvern
#

Dammit where are these gifs when you want them

cinder flare
ocean quartz
#

Ah yeah

prisma wave
#

o wait I can do =faq add now

#

As soon as pig goes offline

#

the return of ?main

cinder flare
#

hahah

old wyvern
#

xD

old wyvern
#

That last messages im very confused about on whose side hes on

ocean quartz
#

Piggy, can faq be an image?
This should be one for when people don't explain what they need help with

quiet depot
#

prefer to link them to an appropriate question asking resource

#

stackoverflow has an excellent one

old wyvern
#

Was there a x y problem faq here?

quiet depot
cinder flare
compact perchBOT
#
FAQ Answer:

Based on your question, we think you may be having an "xy problem", which is where you ask about your attempted solution rather than your actual problem.
Please read the following and re-explain your original problem so we can better assist you: https://xyproblem.info/

old wyvern
#

Or was that some other discord

#

ah

#

yup

ocean quartz
#

Oh yeah i remember that one

old wyvern
quiet depot
#

@forest pecan your second paragraph, where you talk about poor youtube tutorials

#

youtube tutorials in general are usually poor, regardless of topic

old wyvern
#

Stanford professors with youtube courses ๐Ÿฅฒ

quiet depot
#

yeah idk about those

#

never watched them

#

ik mit has a bunch of online courses u can do

old wyvern
#

A lot of ones on edx are hosted on yt

#

but unlisted I think

quiet depot
#

speaking of which it's insane how many of my friends don't recognise famous universities

#

none of my friends recognised the name "MIT"

old wyvern
#

lol

prisma wave
#

what

quiet depot
#

just randomly came up in conversation recently

prisma wave
#

Literally the best uni in the world

quiet depot
#

yeah idk

#

like usually I'm the ignorant one on irl things, because I don't keep up with the news or use social media (apart from discord) or anything

old wyvern
#

Tell that to sheldon!

quiet depot
#

was shocked that they didn't know such a famous uni

cinder flare
#

they've obviously never contributed to open source projectsz

quiet depot
#

it might be because prestigious universities don't really matter in australia

#

a university is a university

#

your education will probably be decent regardless of where you go

prisma wave
quiet depot
#

unlike in america where it varies

cinder flare
#

i mean all unis are pretty dec I'd say

#

and most of the time it really doesn't matter where you got your degree from, only that you got a degree

quiet depot
#

oh

#

I heard that it's a real mixed bag in america

cinder flare
#

well like community colleges yeah

#

but universities are usually all not terrible

quiet depot
#

idk if we have community colleges

#

we might but we might not call them that

#

never heard them being called that

jovial warren
quiet depot
#

no

#

@forest pecan how could naming ur class main break another library

cinder flare
#

probably relocation

old wyvern
#

Shoudnt matter as long as package is unique

quiet depot
#

^

forest pecan
#

university lectures

#

๐ŸŒš

onyx loom
#

the whole "Main" argument imo is useless

forest pecan
#

its because people are ignorant

#

and karens

quiet depot
#

no it definitely has merit

forest pecan
#

I use the "wall of text" method

#

to scare off the karens

pale shell
cinder flare
#

pulse using paper-writing strategies

forest pecan
#

Yes, because I have to write essays like every week

#

So I wanted to blow some steam off

quiet depot
#

for english?

forest pecan
#

Yes

quiet depot
#

feels bad

pale shell
#

anyone wanna roast some code

old wyvern
#

Sure

forest pecan
#

That's why my thread about some tiny topic is so huge for some reason

quiet depot
#

this doesn't even follow essay structure though

pale shell
#

just don't mind the name

forest pecan
#

it doesn't, its freely formatting

onyx loom
#

sure its bad and whatnot, but like if u guys are in a support channel, the first thing i see sometimes is dOnT uSe MaIn, people are there for help, not to be told why a class name is bad. the issues should be solved first before any bad practices in general

half harness
old wyvern
half harness
#

handles it all for you ๐Ÿ˜

pale shell
#

my commits are now verified

forest pecan
#

cause they should already know basic stuff like that

#

first before

forest pecan
#

but anyways sure

#

Yeah I agree

quiet depot
#

I disagree with the whole "learn java" thing

prisma wave
quiet depot
#

I say help them learn java

quiet depot
#

not by linking

#

by explaining

old wyvern
# pale shell wot

the compile dependency configuration is deprecated, use implementation instead

pale shell
#

just learn java

forest pecan
#

It came mainly from spigot discord, as a lot of us came from there

quiet depot
#

no it didn't

forest pecan
#

the learn-java thing

quiet depot
#

it's been around for a lot longer than the spigot discord has existed

#

it's not from spigot

forest pecan
#

True

quiet depot
#

it's not even unique to helpchat

forest pecan
#

for modding too

#

though, in an enviornment that you are asking questions about an API (and specifically states in the discord channel to NOT ask Java questions), mainly referring to spigot discord channel help-development

#

Then, yes, I would be extremely pissed

#

doenst apply to hc

#

tho

half harness
#

the majority of people won't want to delay their plugin for a few months to learn java

forest pecan
#

Exactly

#

then the few who remain strong continue to be one of the best coders

cinder flare
#

i feel bad for their plugins then

half harness
#

i was lucky and didn't get ?learn-java spammed ๐Ÿ˜Ž

quiet depot
#

I learnt java through plugins

forest pecan
#

Its not good..

half harness
forest pecan
#

just going to point out

cinder flare
#

see i just had a policy of not asking questions until I had tried for like, half an hour at least to solve it by myself

old wyvern
quiet depot
#

it's a perfectly fine way of learning java

prisma wave
#

I try to avoid saying it, although it's very frustrating when someone doesn't understand the most basic concepts so you can't actually explain what they're doing wrong

forest pecan
#

^^

cinder flare
#

usually you can figure it out yourself as long as you know a teeny bit of java

#

yea what BM said

prisma wave
#

I'd only really say "learn blah" if they're struggling to understand the most basic explanation

half harness
forest pecan
#

We meet like 50 of these kids each day

quiet depot
#

there's also the issue that some people are just incapable of coding from the start

#

people who struggle with logic shouldn't code

old wyvern
#

That seems to be under your package

half harness
#

java is a very complicated language (although once you learn the basics its sorta simple)

forest pecan
#

that want a custom plguin

pale shell
#

you know the featherboard guy?

forest pecan
#

Nial?

old wyvern
half harness
pale shell
#

he wrote the spigot thing

prisma wave
#

I mean that class in particular

pale shell
#

and i implemented it

prisma wave
#

if(false)

half harness
#

java ๐Ÿคข

old wyvern
#

Im talking about your implementation

quiet depot
#

if you're not a logical person you're going to struggle with coding

old wyvern
#

a non-private mutable field

#

very bad

prisma wave
#

surely that won't work

#

There's no way that works

half harness
#

@pale shell remove the gradle folder from gitignore, it should be committed as well (don't confuse it with .gradle, .gradle should be stayed ignored)

quiet depot
#

idk if you can learn logic or not

#

but it's definitely needed to code

forest pecan
#

u can

old wyvern
#

Unless he mutates that at some very random place

#

god knows

prisma wave
#

yeah unless it gets mutated thats definitely not working

quiet depot
#

please stop embeds

pale shell
#

sorry

#

idk how to stop them posting

quiet depot
#

<link>

pale shell
#

?

quiet depot
#

yes

#

no spaces

pale shell
#

ok

quiet depot
#

also need a protocol at the front

cinder flare
#

or just delete them

prisma wave
#

Nice

half harness
#

wtf

forest pecan
#

*emilyy

cinder flare
#

emilyy's just built differnt

#

don't ask

half harness
#

OH

#

ez

prisma wave
#

wtf

cinder flare
#

hmmm

#

dkim have you considered learning discord-style markdown

#

hurry where's the FAQ

prisma wave
#

AAAAAAAAAAAAAAAA

cinder flare
#

oh nOOO!

onyx loom
#

?discord-style markdown

prisma wave
#

Could not find main
Did you mean main

#

yes

cinder flare
#

yes

old wyvern
#

uh

prisma wave
#

We are waiting for the perfect moment

old wyvern
#

I thought maxim was one of the people who knew what he was doing

prisma wave
#

And then we do a little trolling

half harness
cinder flare
old wyvern
#

lol

prisma wave
#

Allows it to be set from another plugin or something I'm guessing

old wyvern
#

Look at that entire library bm

prisma wave
#

yeah it's a bit weird

prisma wave
#

Although 3 years old, so that's kinda an excuse

jovial warren
#

but he wrote some proper donkey code into EZBlocks

old wyvern
#

Yea i guess so

pale shell
#

I gotta get shit done asap

#

anyone here good at writing enchants

onyx loom
prisma wave
pale shell
#

I know you have the api thing but i need someone to write some what i can use with UPC.

#

ultraprisoncore has it's own enchant system and all you gotta do is write the enchants and that's what i need

cinder flare
#

dude imagine being cool enough to have like, 5 pinned messages in #development

#

what a cool guy that bister mittren is

prisma wave
#

yeah I wanna be like him when I grow up

old wyvern
#

xD

pale shell
#

shame that cool guy bm doesn't accept money anymore kekwhat

onyx loom
#

ill happily take it

pale shell
#

If you can legit help get these things done the moneys there for you. Being serious

prisma wave
#

what are you talking about

pale shell
#

I need to hire someone to get some things coded asap.

onyx loom
#

what needs to be done

prisma wave
#

Yeah hire kali

#

I have terraria to be playing

onyx loom
#

no dont

cinder flare
#

he needs an entire server implementation written in Kotlin within the day

onyx loom
#

im just asking ๐ŸŒš

pale shell
#

It's a bunch of plugins, i'd rather take it to dms because I don't wanna fill up this chat.

onyx loom
#

sounds like effort

prisma wave
#

Well the chat is very busy right now

cinder flare
#

yeah sounds like free advertising to me

prisma wave
#

you're interrupting about 4 different conversations rn

onyx loom
#

i was gonna make a couple contributions to private mines the other day actually

pale shell
#

Well, moneys there for you, up front and on going.

prisma wave
#

more information required

onyx loom
#

but i decided against it because i saw u needed UPC to build it, so didnt wanna fuck anything up if i were to change something lol

prisma wave
#

understandable

#

what do prison cores even do

pale shell
#

I need to get a basic enchant system sorted out and also I need to get some sort of basic robots system created

prisma wave
#

I am going to make MittenPrisonCore

onyx loom
#

idk see what ultraprisoncore does

pale shell
prisma wave
#

what does that mean

onyx loom
#

probably combines autosell and and like ezrankspro into 1 lol

pale shell
prisma wave
#

yeah definitely worth $20

onyx loom
#

๐ŸŒš

prisma wave
#

prison core plugin Speedrun

onyx loom
#

any% or 100%

pale shell
#

I need to get a enchant system and also a rankup system made which works together.

#

How much would that cost?

prisma wave
#

min%, publish it on mcm for $30 with the minimum possible effort

prisma wave
pale shell
#

Name it

onyx loom
#

10000$, 50% upfront ๐ŸŒš

prisma wave
#

150

cinder flare
pale shell
#

Ok, I'll sort it.

cinder flare
#

how have you not used that more

prisma wave
#

Good question

pale shell
#

@prisma wave Are you really busy with comissions at the moment?

prisma wave
#

haven't made anything public that's actually good

onyx loom
#

MittenDependencyManager

prisma wave
#

not in the slightest

#

haven't done any commissions for a while

half harness
#

hire me ๐Ÿฅฐ /s

pale shell
#

Would you be able to take some comissions? Serious question.

prisma wave
#

Yeah hire dkim

pale shell
#

dkim you can be hired also

#

I'm not joking I need this done asap

half harness
#

what do you need done?

onyx loom
#

can vouch for dkim he built me hypixel in 2 days good dev

prisma wave
#

I will do 150 for the enchant and rankup

half harness
#

im busy with like 5 projects

#

lol

pale shell
#

I need to get a enchant system built mainly

cinder flare
prisma wave
#

However I may give up on the commission at any time to play more terraria

pale shell
#

bm, if we were talking real numbers how much would you be looking for

prisma wave
#

150 is real numbers

pale shell
#

Wew

prisma wave
#

Maybe 100 but if I'm charging $15/hr that seems reasonable

half harness
#

what

pale shell
#

I didn't realise enchants were $100+

#

hm

cinder flare
#

bm provides only the best work

half harness
#

hire me, i go for 10x cheaper

#

๐Ÿฅฒ

pale shell
#

dkim you can work with bm if you want

cinder flare
#

and constantly makes haskell references while coding, which is worth $5 / hour alone

old wyvern
#

15$? Isnt that less than minimum wage?

#

๐Ÿฅฒ

pale shell
#

bm can i just dm you for a bit

cinder flare
half harness
#

i tend to do about $0.40/hour

pale shell
#

I got some questions

half harness
#

waay under minimum wage

old wyvern
#

Oh ๐Ÿ’€

half harness
old wyvern
#

Dont so such commisions lol

half harness
#

don't judge my money choices

old wyvern
#

Work on portfolio projects instead

#

Stupid autocorrect

half harness
onyx loom
#

minimum wage is like ยฃ7/hr here too

prisma wave
#

Yeah

pale shell
#

ยฃ8/9

half harness
#

ive done a couple with this server owner before

#

but i left the server

prisma wave
#

Although that translates to like $13

old wyvern
#

Ah

pale shell
#

dkim do you have a portfolio at all

half harness
#

no

#

i dont do many comissions

#

so i dont need a portfolio for now

old wyvern
#

By portfolio project, I just meant something to show a potential employer

cinder flare
half harness
#

lemme stay young ๐Ÿ™‚

old wyvern
#

Speaking of which, I mayy just score another gov internship

onyx loom
#

anyone get this EVERY time they open IJ now?
before it would only pop up if i were to clone a repo or smth, but then once ive loaded the gradle project, it would never show up again?

old wyvern
#

๐Ÿ˜Œ

onyx loom
#

its SO annoying

half harness
#

at least u dont have to invalidate cache daily

onyx loom
#

get a BETTER pc

half harness
#

consider yourself lucky ๐Ÿ‘€

prisma wave
#

Just use emacs smh

cinder flare
onyx loom
#

oh i had that for a while before, havent had it in a while now tho

half harness
#

lol

onyx loom
#

i think ive only had this since updating to 2021

half harness
#

hi gaby

distant sun
#

Can an Object... contain null values? I'm asking because when doing a null check for varArgs[i] the IDE says it will always be false.

prisma wave
#

Yes

half harness
#

at least in kotlin yes

#

so im assuming yes for java

prisma wave
#

it should give you a reason as to why it will always be false

distant sun
#

"unable to find cause"

pale shell
#

bm there's some things i wish your system had that would make me wanna use it more:

  1. Ways to add and remove x amount from a certain enchant
  2. A way to disenchant enchantments
half harness
#

IJ being bad

distant sun
prisma wave
#

Second wouldn't be impossible

#

And the spigot example stuff is, as it says, an example. It's not an API or library or anything

pale shell
#

yeah

#

I just don't know how to do it that's all, so seeing an example would help

jovial warren
jovial warren
#

that first @NotNull is for the elements, and the second is for the array itself

#

e.g. @Nullable Object@NotNull[] means a not null array of nullable objects

gusty glen
#

poor soul

hallow crane
#

?

arctic juniper
half harness
onyx loom
#

@ocean quartz can i see ur colour scheme in IJ? wanna mess around with some colours myself and wanna take some inspiration xd

ocean quartz
#

Also @cinder flare @jovial warren @static zealot I made some small changes to it, there were a few things in Kotlin specifically that had no color since it was a bit old

onyx loom
#

was looking just for an image xd

ocean quartz
#

o

onyx loom
#

nvm just gonna copy urs ๐Ÿ˜‚

jovial warren
#

Matom OneDark on top catvibing

half harness
#

imo the label @transaction is too dark

ocean quartz
#

That's not a color I pick

half harness
#

o

#

i thought you made the color scheme

ocean quartz
#

The color changes based on the bracket

half harness
#

oh

#

is it the same for methods?

static zealot
#

@quiet depot they just told me to use something else xD

ocean quartz
half harness
#

i meant the method colors, like install()

ocean quartz
#

No, that's default

static zealot
#

just going to use it directly in the dedi (going to make multiple folders that go to each server's path so I Don't get lost)

#

I really hope it won't mess anything up

#

well its been some amazing 2 hours smiling_face_with_3_tears

#

now all I have to do is end them on a high note (the suislide)

jovial warren
#

jesus this font size lol

static zealot
#

yeah its huge

#

19

#

18*

#

or something

#

I set it to 12

#

usually

jovial warren
#

I use 15 with line height 1.2

half harness
#

jeez

#

i use 12

jovial warren
#

man how

half harness
#

i use the default line height

static zealot
#

ugh you have bad eyes + we have small screens xD

half harness
#

nah i have a relatively large screen

ocean quartz
jovial warren
#

nah 12 is just mad

#

like actually crazy

onyx loom
#

12 good

half harness
#

no its not

onyx loom
#

12 + 1.3 line height

half harness
ocean quartz
static zealot
#

wait where the fuck do I import this again? FIle -> Settings what next?

half harness
#

how

ocean quartz
static zealot
#

I enabled it too

half harness
onyx loom
jovial warren
static zealot
#

but forgot to reenable here

half harness
#

how do i enable it

jovial warren
#

no it's not

onyx loom
jovial warren
#

that is too small

ocean quartz
#

Font size depends a lot on monitor and distance from screen

half harness
jovial warren
#

yes it is

ocean quartz
#

It is 12 is too small

#

Even 14 is too small

half harness
#

what

#

sometimes i use 11

ocean quartz
#

I like it big ahegao

onyx loom
#

im using 12 on a 27" lol

jovial warren
#

I have a 21" 1920x1080 monitor lol

#

yeah you have a 27" monitor that's why

#

I have a 21" monitor that's about a metre away from me

ocean quartz
#

Mine is 23'' 1080p
I normally use 16/18 depending on what i am doing

onyx loom
#

a metre? ๐Ÿคจ

jovial warren
#

actually maybe about 2-2 1/2 feet

onyx loom
#

u on the other side of the room?

jovial warren
#

that's my desk

#

so about 2 feet away usually

half harness
#

for me about 1.5 feet

jovial warren
#

1 foot away from my monitor is too close lol

#

it's pretty much the reason why I wear glasses

half harness
#

lets meet tomorrow at 12 noon

jovial warren
#

turns out that maybe sitting a foot away from your monitor for hours straight every day for like 4 years straight will give you bad eyesight

half harness
#

lol

jovial warren
half harness
#

what

#

no dont give me ur address thonk

jovial warren
#

how else are you gonna come to my house

half harness
#

dkim face reveal and voice reveal in one

jovial warren
#

you can do that in room 1

half harness
static zealot
#

@half harness btw did you find how to zoom in/out with ctrl+wheel?

half harness
#

im not on pc rn

static zealot
#

if not its just FIle -> Settings -> Editor -> General

#

ah alr

#

that's it tho ^

half harness
#

oh

#

thx

static zealot
#

wait am I going crazy? I swear to god when I ctrl + clicked on Sound for example it didn't decompile the code but rather it used to have it all (messages etc.)

#

damn I'm bad at saying stuff

#

xD

half harness
#

uh

jovial warren
#

hey @ocean quartz can you please give parameters a better colour lol

static zealot
#

so for example when you pressed on Sound here

#

it would open the Sound class from bukkit.

static zealot
#

but it was not decompiled before

#

now it is.

half harness
jovial warren
half harness
#

or api?

jovial warren
#

probably inherited from One Dark tbh

ocean quartz
#

Yeah that's default from one dark

static zealot
#

and spigot api

half harness
#

๐Ÿคจ

#

do you have mavenLocal in repositories?

onyx loom
#

im confused at what ur saying blitz

#

what does shift click do

static zealot
#

idk I'm just going crazy

#

just finished 2 hours of math

#

so yeah makes sense

onyx loom
#

isnt that what ctrl+click does tho, the decompiled stuff is just IJ being stoopid

#

shift+click does nothing for me

static zealot
#

ctrl

#

I Corrected myself

#

2 message down I think

#

let me also edit that one

#

but what I mean is that it didn't use to be a decompiled class

#

I might just be going crazy. don't mind me please xD

jovial warren
static zealot
#

wait matt did you change the color of method parameters?

jovial warren
#

no I did

static zealot
#

oh

jovial warren
#

trying to find a colour that looks cool and doesn't conflict

#

actually harder than you'd think

static zealot
#

it is

#

I Know

#

believe me I've tried xD

jovial warren
#

too deep

static zealot
#

yeah

jovial warren
#

pastel pink looks kinda nice tbh

static zealot
#
  // args
  private List<String> args;``` DMenus is the gift that keeps on giving
#

lmao

jovial warren
#

what

#

why

steel heart
#

Yo why doesnโ€™t every function get inlined

#

Any sane reason behind this

prisma wave
#

File size

#

And negligible difference most of the time

lunar cypress
#

yep. function calls are not expensive on the jvm

#

If the code in question gets hot many vms can inline it at runtime

#

also this would break dynamic dispatch

#

and all dynamic access to a function

pale shell
#

Would anybody here be able to help with some coding? I gotta have a way to set a certain type of blocks in a players mine using the privatemines plugin but I don't know how to, I have a blocks.yml file and I need to get it from there.

lunar cypress
#

This is #dev-general, do you think anyone here actually writes code?

pale shell
#

yes

#

I moved it over to the big boy channel

distant sun
#

@NotNull final List<@NotNull Pair<@NotNull String, @NotNull String>>
Annotations for everyone

potent nest
#

should swap the first notnull with final

jovial warren
#

anyone wanna see something cursed btw

hot hull
#

No

jovial warren
#

value.toLong() and ( 0xFFFFFFFF shl 21 ) == 0L -> writeMedium( ( ( value and 0x7F ) or 0x80 ) shl 16 ) or ( ( ( ( value ushr 7 ) and 0x7F ) or 0x80 ) shl 8 ) or ( value ushr 14 ) md_5 coding be like

distant sun
#

tf is this

oak coyote
#

md_5 coding

hot hull
#

You deserve a bullet to the kneecaps

jovial warren
#

this is one of the cases for writing var ints that I'm stealing from Velocity

pale shell
forest pecan
#

"a"

pale shell
half harness
#

only 5 spelling errors

#

gg

pale shell
#

ty ty

gusty glen
forest pecan
#

you know, that code would look significantly better without all the bitwise word shit

static zealot
#

he was attempting to obfuscate the code xD

forest pecan
static zealot
#

lmao

onyx loom
pale shell
#

I went to add XItemStack into the project and it now requires like 20 other classes????????

old wyvern
#

How do you even manage to get that many compile time errors

prisma wave
#

just shade it lmao

pale shell
#

just shade it?

static zealot
jovial warren
#

value.toLong() and (0xFFFFFFFF shl 28) == 0L -> writeInt((((value and 0x7F) or 0x80) shl 24) or ((((value ushr 7) and 0x7F) or 0x80) shl 16) or ((((value ushr 14) and 0x7F) or 0x80) shl 8) or (value ushr 21)) ๐Ÿฅฒ

static zealot
#

not again

#

please

#

spare us the pain

jovial warren
#

lol

static zealot
#

๐Ÿ˜ฎ

forest pecan
#

@jovial warren

pale shell
#

wait

#

WAIT

old wyvern
pale shell
#

you can shade xseries??????

old wyvern
#

Yes?

pale shell
#

dude my iq = 0

#

thought ya'll knew that by now

static zealot
#

nah. its probably negative at this point

jovial warren
#

(((value and 0x7F) or 0x80) shl 24) or ((((value ushr 7) and 0x7F) or 0x80) shl 16) or ((((value shr 14) and 0x7F) or 0x80) shl 8) or (((value ushr 21) and 0x7F) or 0x80) jesus fucking christ

static zealot
#

||gottem||

jovial warren
#

lol

pale shell
#

one for @prisma wave WEEB

old wyvern
#

I mean it literally asks you not to extract the classes into your project in the README

#

xD

pale shell
#

Oh.

#

I promise i didn't just skip over that

prisma wave
onyx loom
#

๐ŸŒš

pale shell
#

same

old wyvern
#

Simply bring forth your dyslexia when you hear a mention of documentation

#

ez win

#

๐Ÿช™

prisma wave
#

Cheating

pale shell
#

I gotta work out how to fix this

gusty glen
#

where in the luckperms is located the code for redis?

jovial warren
pale shell
#

um bm

jovial warren
#

it's in common

pale shell
#

you know you said to push the latest code

#

like commit then push in one go

jovial warren
#

oh no

prisma wave
#

wat

jovial warren
#

what did you do

gusty glen
pale shell
#

do smaller commits right

#

yes?

#

well um

#

I forgot to commit my work for the past week or so LOL

onyx loom
#

๐Ÿฅฒ

#

phat commit incoming

old wyvern
#

๐Ÿคฎ

gusty glen
#

๐Ÿคข

pale shell
#

just a couple LOL

onyx loom
#

oh u have committed

old wyvern
#

You have made commits

onyx loom
#

just not pushed

pale shell
#

yes

#

but i forgot to push

onyx loom
#

thats fine then ig

prisma wave
#

Nothing wrong with that

old wyvern
#

mhm

pale shell
#

i mean i forgot to push my bad

#

fat push incoming whenever i remember too

gusty glen
#

i use github desktop ๐Ÿฅฒ

prisma wave
#

That's probably what you should be doing

#

keep master for stable stuff, don't push until something is working (or use separate branches)

pale shell
#

I have a question but i'm scared it'll be dumb

onyx loom
#

hm thats an interesting way of looking at it tbh, makes sense

forest pecan
onyx loom
#

i usually just push the latest changes to master straight away ๐Ÿฅฒ

onyx loom
#

broken or not

pale shell
#

in the Util class, I have 1 error left before it's a clean file saying SonarLint: Add a private constructor to hide the implicit public one. Can someone please explain what i'm doing wrong and how to fix?

prisma wave
#

Add a private constructor

old wyvern
#

^

#

Because Util classes shouldnt be constructed

#

enforce it

pale shell
#

I fixed it, thank you!

half harness
prisma wave
old wyvern
#

Piggy does that I think

forest pecan
#

Like i dont understand. Don't you already assign it final

#

and it should be null already?

pale shell
#
    private Util() {
    }
#

this good or bad?

old wyvern
#

Why is it names just "Util"

#

Be specific

prisma wave
old wyvern
#

Name it what the util is for

pale shell
#

that's what the file name is?

half harness
#

name is bad

#

constructor is good

half harness
old wyvern
half harness
#

StringUtils

prisma wave
#

class Class

pale shell
#

ask bm

old wyvern
#

Be specific when naming stuff

forest pecan
pale shell
#

bm wrote this

old wyvern
forest pecan
#

its papi3

#

you have to be added to see it

prisma wave
#

It was a long time ago and I was lazy

old wyvern
#

xD

forest pecan
#

i think some people can see it like bm and yugi

pale shell
#

๐Ÿ˜ 

half harness
#

EntityUtils

#

etc

onyx loom
#

i can ๐Ÿ˜Š

forest pecan
#

Yea

#

but kaliber

#

that code

old wyvern
#

Whats validity are you asking about pulse?

forest pecan
#

i dont understand, am i being stupid or something?

onyx loom
#

yea i dont get it either yugi

old wyvern
#

result = ((Component) method.invoke(object, context));

half harness
#

should i add tests for my library?

old wyvern
#

Understand what?

half harness
#

or just the actual program?

old wyvern
#

Yes

forest pecan
#

but final Component result;

old wyvern
#

tests

prisma wave
old wyvern
#

Thats fine

half harness
#

same with spigot plugins

old wyvern
#

Use a mocking framework

half harness
#

actually lemme commit some stuff

old wyvern
#

like Mockito

half harness
forest pecan
#

cause by default its null?

#

or am i like 2 iq rn

#
            final Component result;

            if (contextRequired) {
                result = ((Component) method.invoke(object, context));
            } else {
                result = ((Component) method.invoke(object));
            }

pale shell
#

fixed it btw!

old wyvern
#

Heres an example with PowerMockito

old wyvern
#

its assigned once in each possible branch

#

Both cannot happen

forest pecan
#

im just not sure cause I thought it was assigned on the spot at declaration of final Component result

#

it would be defaulted to null

pale shell