#dev-general

1 messages ยท Page 433 of 1

distant sun
#

I dont see my string method!

ocean quartz
#

Doesn't work, it'd create it with newLine

half harness
#

only 1.4k gold smh

ocean quartz
half harness
distant sun
#

No need to prove that are noob @ocean quartz

half harness
#

what

#

grammer

#

plz

distant sun
#

Talking to matt, idk what you want.

half harness
#

what is whoed

#

?

oak raft
#

who?

distant sun
#

@ocean quartz fyi imma fork your lib and make it better

ocean quartz
#

Do it

distant sun
#

After you are done with it

#

Brb watching twd โค๏ธ

obtuse gale
#

Yea yeah I like it, is it lore(Component line) or lore(Component... lines)?

ocean quartz
#

There is a list and a varargs one

obtuse gale
#

Aw very nice very nice

#

I'd suggest an Iterable instead of a List though ๐Ÿ‘€

ocean quartz
#

Thinking about adding a ItemBuilder.skull() which would expose the skull only methods
And good point i can change that

obtuse gale
#

I need to learn from my own advises ๐Ÿคก

ocean quartz
#

Actually can't

#

The item meta requires it to be list

obtuse gale
#

AHAHAH

#

What a bunch of cucks

#

No

static zealot
#

wtf is that symbol called again? The one you use for color codes in spigot

#

not & the other one

obtuse gale
#

Section symbol

ocean quartz
#

MD's symbol

obtuse gale
#

Isn't that ยถ or some weird shit?

ocean quartz
#

Yeah ^

static zealot
#

I remember alt+2+1 used to paste this symbol and yeah the name is section indeed

#

but rn alt 2 1 doesn't work

#

oh nvm? now it worked

#

its alt + 21 lmao not alt + 2 + 1

obtuse gale
#

Lol

static zealot
#

ยง

#

yep lmao

hot hull
#

Ctrl + Alt + M

static zealot
#

no thank you that's probably going to break everything

obtuse gale
#

Ctrl + A, Shift + Del, Enter

ocean quartz
#

Should I leave ItemBuilder.etc().addEnchantment(enchantment) or change it to ItemBuilder.etc().enchant(enchantment)? thonking

half harness
#

what is .etc()?

old wyvern
#

Second one

ocean quartz
ocean quartz
hot hull
#

disenchant

old wyvern
#

^

ocean quartz
#

Ah nice time to deprecate more things

hot hull
#

Stop deprecating, just remove it

old wyvern
#

Maybe enchant could be replaced with "withEnchant"

#

That makes more sense with the builder pattern

ocean quartz
#

I think i prefer just enchant

old wyvern
#

Alrighty

obtuse gale
#

I mean, you are creating something, not modifying, why would you want to remove stuff from a builder though?

old wyvern
#

A very very slow one? Kind of

hot hull
#

Why the fuck would you use discord as a database

obtuse gale
#

Not that there is no point, I see it almost as an anti-pattern

old wyvern
#

Slow

#

Ruins the point

hot hull
#

What kinda shit are you smoking efe?

obtuse gale
#

Cheap shit

#

I'd say almost free

old wyvern
#

Just use sqlite

ocean quartz
oblique heath
#

if you're gonna use google suite stuff at least use sheets instead of docs

old wyvern
#

You snorting then?

hot hull
#

Well no shit, do you hear what kinda random shit you been saying lol

old wyvern
#

White stuffs not good for ya

obtuse gale
#

What problem are you trying to solve?

half harness
#

just use ur host

#

i just use a data folder in my rpi for my bot

#

then a serverid.yml

#

um

#

you know that all variables are stored in memory, right?

oblique heath
#

what's the other 99%

half harness
#

rip

#

ig they slept

obtuse gale
#

Or maybe they DIED

#

But you can't know for sure

#

Maybe they did die

#

Who knows

#

He wished

hot hull
#

Wait efe how old are you again?

#

Ah, explains a lot

obtuse gale
#

The horni

#

Why not

ocean quartz
#

I like this so far

obtuse gale
ocean quartz
#

Hmm currently it's glow() and glow(false) xD

obtuse gale
#

lol

#

Well not that one specifically

#

But the 82742 others

ocean quartz
#

Basically, dead inside

obtuse gale
#

So yeah, you horny af boy

ocean quartz
#

I bet Simon Peyton Jones isn't, right @prisma wave

prisma wave
#

Yeah he's the definition of alive

obtuse gale
#

what if I made a candle out of earwax

distant sun
ocean quartz
distant sun
#

no

ocean quartz
#

Yes, i'm not gonna mix them up, that'll get way too confusing

distant sun
#

Why should I shade adventure on 1.12 just for that smh my smh

ocean quartz
#

You won't need if you use the deprecated method .-.

distant sun
#

Fine

#

Fuck adventure

ocean quartz
#

You say that until you try it xD

distant sun
#

Yea, sure

#

Wanna know what is better than aventure? STRINGS

static zealot
#

is it tho? ๐Ÿ˜ข

steel heart
#

true

#

would be cool if we for instance could use "" for creating components

#

but sadly not

distant sun
#

Any idea what this is?
Caused by: java.lang.ClassCastException
[20:13:19] [main/INFO]: [STDOUT]: Negative index in crash report handler (0/25)
[20:13:19] [main/WARN]: Exception loading entity:
u: Loading entity NBT
at aqa.f(SourceFile:1663) ~[aqa.class:?]
at aqe.a(SourceFile:473) ~[aqe.class:?]
at x.a(Util.java:426) ~[x.class:?]
at aqe.a(SourceFile:472) ~[aqe.class:?]
at aqe.b(SourceFile:535) ~[aqe.class:?]
at aqe.a(SourceFile:516) ~[aqe.class:?]
at bqz.d(SourceFile:254) ~[bqz.class:?]
at ecp.a(SourceFile:22) ~[ecp.class:?]
at ecp.a(SourceFile:12) ~[ecp.class:?]
at ecd.a(TileEntityRendererDispatcher.java:128) ~[ecd.class:?]
at ecd.lambda$renderTileEntity$0(TileEntityRendererDispatcher.java:101) ~[ecd.class:?]
at ecd.a(TileEntityRendererDispatcher.java:174) [ecd.class:?]
at ecd.a(TileEntityRendererDispatcher.java:99) [ecd.class:?]
at eae.a(WorldRenderer.java:1815) [eae.class:?]
at dzz.a(GameRenderer.java:1022) [dzz.class:?]
at dzz.a(GameRenderer.java:693) [dzz.class:?]
at djz.e(SourceFile:1048) [djz.class:?]
at djz.e(SourceFile:681) [djz.class:?]
at net.minecraft.client.main.Main.main(SourceFile:215) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_281]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_281]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_281]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

#

Multiple people on my server, including me, have this problem. The error is being spammed tens of times every second and logs become gigantic

steel heart
#

looks like nbt file corruption

distant sun
#

The world?

steel heart
#

hmm idk for sure

distant sun
#

I see smth related to Tiles

obtuse gale
half harness
#

whats so bad about raw strings

obtuse gale
#

It's literally just md5 and his stupid "no breaking changes at all costs" philosophy that keeps pushing them in Bukkit

obtuse gale
distant sun
#

Not the right moment to spark smh fefo

obtuse gale
#

It's not that they are inherently bad, they just aren't a thing in the actual game

#

And as the game evolves, so should the modding platforms

half harness
#

then how does spigot sendMessage send the message with legacy?

#

does it convert?

ocean quartz
# half harness whats so bad about raw strings

Raw strings can hold hardly any data
Components are more complex, where with strings you'd need stupid things like ยงcHello ยงxยงfยงfยง0ยง0ยง0ยง0There
With components it'd be

    Hello        There
      ^            ^
  Color=red   Color=#ff0000

So more data and well organized

obtuse gale
#

CraftBukkit has a converter for that

#

Besides, with components you get a heap bunch of very fancy things I mentioned the other day :P

distant sun
#

Does aventure have a deserializer for doing that with a string?

ocean quartz
#

Yeah

obtuse gale
#

LegacyComponentSerializer

distant sun
#

Json or?

obtuse gale
#

Legacy strings

#

For json it has GsonComponentSerializer

ocean quartz
#

There is all sorts of serializers

#

And if you want human readable to component use my lib ;p

obtuse gale
#

YamlComponentSerializer when ๐Ÿ˜ฉ

distant sun
#

And you can do things like translations using user input (config)?

obtuse gale
#

You can do that, yes, you can register your own translations to use in translatable components

distant sun
#

MHM

#

Ok

#

Component.text still sucks

obtuse gale
#

lol ?

#

import static net.kyori.adventure.text.Component.text; ๐Ÿคค

onyx loom
#

stop drooling fefo

steel heart
#

I mean

#

thats kinda clever

half harness
#

i think

#

maybe

steel heart
#

ok what does that have to do with it all?

distant sun
#

net.minecraft.class_638 cannot be cast to net.minecraft.class_3218 the fuck is this

obtuse gale
#

Looks like Fabric?

half harness
#

what are you doing gaby

distant sun
obtuse gale
#

Uh there was an online tool to remap fabric stack traces

#

I can't remember the name unfortunately

half harness
#

oof

distant sun
#

๐Ÿ˜ฆ

half harness
#

why does sharex screenshot time take like 4 seconds vs lightshot taking like 0.5 seconds ๐Ÿ˜ฉ

#

and the editor takes even longer

half harness
#

lol

distant sun
obtuse gale
#

Gab you gave me an idea

obtuse gale
half harness
#

intellij being mean ๐Ÿ˜ 

prisma wave
half harness
prisma wave
#

Yes

half harness
#

your 5th time

prisma wave
#

what can I say

#

It's a hobby

distant sun
#

trying @obtuse gale

obtuse gale
#

:+1: @distant sun

old wyvern
#

Is slash commands too hard to implement?

prisma wave
#

Considering d.js still doesn't have them they sound like a lot of effort

#

But idk

old wyvern
#

rip

#

Werent you using it day before yesterday with djs?

#

Or was that a separate package?

prisma wave
#

That's not part of the "official" API

#

Just with the websocket and stuff

#

The sending is done with a 3rd party lib

old wyvern
#

ah

prisma wave
#

I do

#

3

#

All brothers lol

#

1 of them is a step brother

#

And then 1 half brother and then 1 normal brother

#

just bad / good luck

obtuse gale
#

likely

old wyvern
prisma wave
#

Same 1 parent, different other parent

#

Same mother in my case

old wyvern
#

Oh isnt that what step brother means as well?

prisma wave
#

Step brother has no biological relationship

old wyvern
#

oh so like adopted?

prisma wave
#

uh idk

#

But usually if someone remarried to someone who already had kids

old wyvern
#

Ahhh

#

ok

#

that makes sense

obtuse gale
#

Both would qualify as step sibling yes

#

We all know bm is adopted tho

prisma wave
#

Oh TIL

jovial warren
#

lol

distant sun
#

why does forge without optifine runs better while near a farm with 100 spawners than fabric with optifine ??

jovial warren
obtuse gale
#

How am I supposed to know

obtuse gale
jovial warren
#

since OptiFine is proprietary, like 0% of mods bother to try and add support for it

distant sun
jovial warren
#

also, might do some cleanups of Krypton's code style

distant sun
#

but at least the file is no longer 10gb

jovial warren
#

kinda got convinced that wildcard imports are a bad idea

#

and I'm kinda starting to like explicit API mode

old wyvern
#

IJ auto adds them at some point

obtuse gale
#

There's a setting for that

jovial warren
#

not if you set it to single names

obtuse gale
#

Somewhere

old wyvern
#

Yea probably

jovial warren
#

editor -> code style -> <language> -> imports

old wyvern
#

I had an issue with that and a projects checkstyle config

obtuse gale
#

I have it set at like 9999 or something lol

old wyvern
#

Just used sublime for it

prisma wave
#

why use wildcards when you could just import Package.Child

sudden steeple
#

hi

jovial warren
old wyvern
#

import Package.Child (functionA, functionB)

jovial warren
old wyvern
jovial warren
#

lol

jovial warren
obtuse gale
#

Sup Jared

jovial warren
#

incoming question about a plugin

sudden steeple
#

how can i get the Chanel id

obtuse gale
#

I mean jawad

prisma wave
jovial warren
#

surprised me

#

right click the channel

old wyvern
jovial warren
#

with developer mode enabled ofc

old wyvern
sudden steeple
obtuse gale
#

@prisma wave please refrain from asking configuration help in #dev-general

jovial warren
#

oh btw, explicit API mode requires explicit visibility and return types

old wyvern
#

Please check it out

sudden steeple
old wyvern
#

Thanks

jovial warren
obtuse gale
old wyvern
sudden steeple
old wyvern
#

๐Ÿ˜–

jovial warren
#

they're gonna circlejerk Haskell to you lol

old wyvern
prisma wave
old wyvern
#

Try haskell, defeat the bardy demon

#

!!!

jovial warren
#

they're gonna tell you how a trash language is somehow "good"

prisma wave
#

Perfect

old wyvern
prisma wave
#

thanks

#

What do you think

jovial warren
#

oml that link actually took me to haskell.org first time

#

what a coincidence

prisma wave
#

It's destiny

#

Now learn haskell

old wyvern
#

It always does bard

#

Probably hardcoded

half harness
#

Can I turn this kt if (blah == null) { stuff() continue } if (blah !is Blah) { stuff() continue } into this: ```kt
if (blah !is Blah) {
stuff()
continue
}

prisma wave
#

great

#

WHAT

sudden steeple
#

sorry

prisma wave
#

๐Ÿ˜– ๐Ÿ˜– ๐Ÿ˜–

old wyvern
#

What did he say?

sudden steeple
#

cool man

prisma wave
#

and then GONE

jovial warren
#

you should add prolog to FP prank

prisma wave
#

Prolog isn't FP tho ๐Ÿฅด

old wyvern
#

Another paradigmn

jovial warren
#

doesn't matter

onyx loom
#

add yaml to fpprank

jovial warren
#

Prolog good

old wyvern
#

Need to learn it a bit before jerking

half harness
#

thx

old wyvern
#

Need the terms

#

๐Ÿ˜Œ

prisma wave
#

indeed

prisma wave
#

it would be unfair to tell people "Prolog good" without prolog knowledge

jovial warren
#

you forgot to add the like 3% chance to get a rick roll BM

prisma wave
#

Absolutely not

jovial warren
#

lol

jovial warren
#

oh no

#

not you as well

ocean quartz
#

Just spitting facts

half harness
#

lol

prisma wave
#

Simon actually has over 30 confirmed kills

prisma wave
sudden steeple
#

Imagine, guys
You have logged into a support server
I asked if I could transfer my discord money to Robox
He told me we have no income and do not do forbidden things
I heard it could be converted and asked
And he told me to express your opinion about the service. I wrote, the thought has worsened Vin 5/10 with respect
He did something that I could not write and delete my opinion about the service
And I told one of the servants why he did this that it was unjust and I expressed my opinion with respect and someone supported me and they silenced me and he
And they said, "You understand the issue," and the supporter said, "You only want praise."
What's wrong with them
what do you think

prisma wave
#

crikey

sudden steeple
prisma wave
#

Sounds like a bit of a cockup

old wyvern
#

Looks like copypasta

obtuse gale
# old wyvern Looks like copypasta

Just add at the end "now that you've read up until here, send this message to 10 people in your friend list or your mom will die in a week"

old wyvern
#

๐Ÿ˜†

static zealot
#

yo on ubuntu how can I see the total storage I have?

cinder flare
#

lsblk

static zealot
cinder flare
#

seems you have 931GB lol

static zealot
#

yeah that's why I'm confused

cinder flare
#

maybe sudo lsblk?

old wyvern
#

df -h

cinder flare
#

might be a hidden drive or suttin

static zealot
#

nah sudo is same. I'm root rn

cinder flare
#

wtf

old wyvern
#

๐Ÿ‘€

static zealot
cinder flare
#

df -h sucks wth

static zealot
#

I have no idea what those overlays are but I don't have 4x914Gb

old wyvern
#

I mean why not just check on your file explorer

cinder flare
#

probs a vps with ubuntu server

static zealot
#

ugh I'm sshd rn

old wyvern
#

ag

#

ah*

static zealot
#

its a dedi

old wyvern
static zealot
#

nope

#

that's all

old wyvern
#

It should show used and available

static zealot
#

ah yeah to the right

#

of it yeah

old wyvern
#

Isnt that what you wanted?

static zealot
#

well yeah but I have 2 TB according to the provider but according to the command I have 1 Tb

#

well actually acording to them its 2x1TB so idk wtf that means

old wyvern
#

Probably sda1 and sda3

cinder flare
#

sda1 is 400 MB lol

old wyvern
#

yes

#

Other partitions take up space as well

#

Add em up

cinder flare
#

the total of all taht is definitely more than 2 terabytes

static zealot
#

yeah I think the overlays are just the same as sda3

cinder flare
#

i think that command sucks lol

old wyvern
#

No star

#

the filesystem

cinder flare
#

okay I don't see why you wouldn't just use lsblk

#

because I have no idea what this command means

#

and why there's 4 overlay filesystems or something

static zealot
old wyvern
#

This just shows diskspace in human readable format

cinder flare
#

lsblk definitely shows it more readable

old wyvern
#

ofc, it doesnt include the info from ds

cinder flare
#

okay well that doesn't matter right now

#

what matters is that blitz only has one drive that's a TB

old wyvern
#

very weird

#

Contact your provider ig

static zealot
#

well the thing is I wanna buy another dedi and this one says 2 x 120 GB. Now with 1 TB I could live but with 120 GB I can't. I need to make sure its 240 not actually 120

#

and I'm worried

lavish notch
#

I would think it's 120?

#

As it could be in a raid configuration.

static zealot
#

well yeah that's what I'm worried about

#

wtf is a raid configuration?

lavish notch
#

whatever that mirror shit is called

static zealot
#

oh so backup or something like that?

old wyvern
#

Multiple disks store parity info

static zealot
#

I see. well I'll email them anyway but I probably won't be getting this

#

well I've mailed them just to be 100% sure and I'll be waiting for 2-3 days now xD

surreal quarry
#

Is it possible with the bungeecord api to create a new server on a specific port as if you entered one in the config.yml and restarted

#

Or how do large servers easily scale up and down? do they just define all the ports in the config, then as they turn on/off their minigame servers, the port is already in the config as a subserver, so they can easily send the player

obtuse gale
surreal quarry
#

Maybe reflection?

obtuse gale
#

I don't remember the name ๐Ÿฅฒ

surreal quarry
#

sad

old wyvern
surreal quarry
#

ElasticCreeper maybe @obtuse gale

#
    InetSocketAddress socketAddress = new InetSocketAddress(ip, port);

    ServerInfo info = ProxyServer.getInstance().constructServerInfo(uuid, socketAddress, "lolhax", false);
    ProxyServer.getInstance().getServers().put(serverName, info);``` time to try this :)
obtuse gale
#

๐Ÿ‘€ @oblique heath

oblique heath
#

๐Ÿ˜Ž

static zealot
cinder flare
#

oh yeah you might be on a RAID 1 there

#

that would make sense as to why they specify 2x1TB instead of just 2TB

lunar cypress
#

Writing benchmark code is so liberating

#

You can just go wild, write the shittiest stuff ever and claim it's all for performance

obtuse gale
#

:p I remember reading this in a SO answer

The optimizing compiler's job is actually to generate the code you would have written if you were an expert on platform-specific optimizations and did not care about maintainability, just performance.

lunar cypress
#

The fun part is you have to fight against compiler and jit optimisations

obtuse gale
#

oh now that you mention that

ocean quartz
#

Well at least they are not using allman in the videos xD

obtuse gale
#

The first one is funny though, because it goes over specifically how spectre/meltdown were able to be a thing (this was before they were discovered), and at the end on the Q&A someone asks about exactly that!

lunar cypress
#

Thanks for the recommendation

obtuse gale
#

Yw

#

man I love watching cppcon talks every now and then, the good ones are awesome

ocean quartz
#

I watch a few Kotlin conf once in a while too, they show so many interesting things in those talks

lost grail
#

Is there an api for deluxechat? I can't seem to find it anywhere

forest pecan
#

lmao hi

lost grail
#

oh whassup lol

ocean quartz
lost grail
#

so theres no maven dependency for it?

ocean quartz
#

I don't think so

humble silo
#

anyone know if there is a way to export a module to another module using jigsaw in java 9? I just want part of my project to be available to java.base and not to anything else

#

nvm figured it out

obtuse gale
#

๐Ÿ™‚

humble silo
#

ikr

#

omg finally it compiles

#

why did that take this long

ocean quartz
#

@obtuse gale I wonder does it matter if i create a LegacyComponentSerializer with the builder every time it's needed or if I should make it a constant

#

God my english in that sentence

sweet cipher
#

lol

obtuse gale
#

Well there's nothing inherently bad in that but it sounds like it should be statically available

#

Unless there's some builder-specific things ofc

#

WHatever that might be

#

e.g. the hex format used

#

But you could probably have a selection of static serializers and choose from those on the fly, idk

ocean quartz
#

Yeah it'd be the same always, hmm
Gonna have to move it to a different class to not mess up for the legacy noobs

forest pecan
#

this is hilarious

ocean quartz
#

They are trying to pull a Forge lmao

cinder flare
#

a whole 5KB lol

half harness
#

finished bw plugin

#

๐Ÿ˜Œ

#

doubt anythings gonna work

#

ill be surprised if the setup actually saves

#

ah i forgot to add bedwars stop logic

#

oops

#

lol

latent junco
#

Hello,
is here someone familiar with NamelessMC, I need apache server config block for /etc/apache2/sites-available
for https of course (not very related to it)

eternal compass
#

I feel acomplished, my test server has 10 plugins in it :p
(They're all by me, they're just also all dumb)

hot hull
#

Sheesh

#

Only 2 pings luckily

cinder flare
#

frosty just a popular boi

hot hull
#

I still don't get why player leave doesn't get triggered on server shutdown

cinder flare
#

probably player kicked or something

ocean quartz
#

Cuz Bukkit

obtuse gale
#

they are kicked after plugins disable I believe

#

so that's an issue ๐Ÿค 

#

so you do all your shit in onDisable lol

ocean quartz
#

Or better

override fun onDisable() {
    Bukkit.getOnlinePlayers().forEach {
        it.kick(Component.text("Fuck you"))
    }
}
cinder flare
#

at least you used adventure! ๐Ÿ˜‰

hot hull
#

Fefo, I'm aware, shitty design tho

#

Players should be kicked beforehand so the plugins can do their shutdown sequence ie. data saving, while not necessarily cramming it into the disable method

cinder flare
#

can you check if the server is shutting down in your plugin?

hot hull
#

@jovial warren Do make sure the above isn't an issue in krypton <3

static zealot
oak raft
#

I thought you were going to bed ๐Ÿ˜

cinder flare
#

oh but I mean stuff like plugman can disable your plugin when the server's not shutting down

#

dude blitz just double-timed me

#

tagged me in two separate channels back to back lol

static zealot
oak raft
#

Ah my bad

surreal quarry
#

blitz no sleep

static zealot
surreal quarry
#

honestly imagine sleeping tho

#

literally 1/3 of your life wasted

static zealot
#

Yeah true. Well 2/3 until age 18

#

Bcz you sleep better and more when you know you have to go to school

ocean quartz
#

Should I rewrite the PersistentGui into StorageGui? And actually have a serializer method on it to allow you to save it? ๐Ÿ˜ซ

surreal quarry
#

Yes ๐Ÿ˜ฉ

ocean quartz
#

Ugh, work ๐Ÿ˜ฉ

surreal quarry
#

Bonus points if it works with triumph config out of the box ๐Ÿ˜ฉ

ocean quartz
#

It probably will give you a base64 string or something like that

surreal quarry
#

ye that makes sense

hot hull
#

Wait y'all haven't gone to sleep yet? I've already woken up :kek:

static zealot
#

Ugh oh shit

ocean quartz
#

Haha sleep

static zealot
#

7 am a just going to sleep

#

Maybe

#

Idk been ssyng that for a few hours

ocean quartz
#

One is unbreakable the other isn't, what

obtuse gale
#

lmao what

lost forge
#

Delete the one that isn't and re-copy paste it and see what happens xD

ocean quartz
#

Found the issue

#

It was Bukkit

#

That was the issue

obtuse gale
#

classic

hot hull
#

Ofc it was

ocean quartz
#

@distant sun Fixed this for you, you better be happy, look at this stupidity

static zealot
#

IsOldShit. Love it

obtuse gale
#

how old is old shit?

oak raft
#

wtf is isOldShit

static zealot
#

1.12

#

Is old

hot hull
#

Anything but latest is old shit.

ocean quartz
obtuse gale
#

no but I mean xD

#

which version does that return true

#

I mean

#

false

hot hull
#

1.12+ I'd assume

ocean quartz
#

Ah anything above 1.11

obtuse gale
#

ah

hot hull
#

Close enough

obtuse gale
#

odd

ocean quartz
#

The method was added in 1.11 for some reason

oak raft
#

So you use VersionHelper to add support for older versions? Is that the standard?

ocean quartz
#

Spigot added ItemMeta$Spigot#setUnbreakable but guess what, they fucking removed it lmao
So much for supporting legacy

obtuse gale
ocean quartz
ocean quartz
obtuse gale
#

lmao nice

#

I mean you can just use the ItemMeta.Spigot method instead lol

#

that's what I'd do but w/e

#

I assume you are compiling against latest

ocean quartz
#

You can't because it's not present in the 1.16 api, and I ain't adding 1.fuck api

obtuse gale
#

lol

ocean quartz
#

d;1.8 ItemMeta$Spigot

ruby craterBOT
ocean quartz
#

d;spigot ItemMeta$Spigot

ruby craterBOT
#
public class ItemMergeEvent
extends EntityEvent
implements Cancellable```
ItemMergeEvent has 1 all implementations, 7 methods, 1 implementations, and  1 extensions.
ocean quartz
#

Yeah removed

hot hull
#

d;spigot ItemMeta#spigot

ruby craterBOT
#
void setGlowing(boolean flag)```
Description:

Sets whether the entity has a team colored (default: white) glow. nb: this refers to the 'Glowing' entity property, not whether a glowing potion effect is applied

Parameters:

flag - if the entity is glowing

jovial warren
#

Lemme bring up the stop code

#

That's the line that disconnects all players

#

Then the plugin manager is shutdown later

#

Or should I say, the ploogin manager

prisma wave
#

๐Ÿฅถ

jovial warren
#

Lol

#

Funnily enough, I never stop Netty myself

#

Netty stops itself

#

So technically, players can reconnect after being disconnected before the server fully shuts down

lunar cypress
#

I let my benchmarks run on my server over the night, and it skipped Clojure data structure addition for some reason lol

hot hull
distant sun
#

@ocean quartz is that ItemNbt thing available to use or?

hot hull
#

Yes Gaby

lunar cypress
#

jmh generates interesting code

obtuse gale
#

You don't need to be Stephen Hawking to know a thing or two about black holes ๐Ÿ˜:smirk:

jovial warren
jovial warren
#

Wanna benchmark some Krypton whack

half harness
jovial warren
#

Also gotta unit test

obtuse gale
#

Unit testing ๐Ÿ˜ฉ ๐Ÿ˜ซ

hot hull
jovial warren
obtuse gale
#

I don't remember the problem

hot hull
#

Imma send my pc specs later, and I need some suggestions in what order to upgrade and to what

quiet depot
#

sounds good frosty

obtuse gale
#

then look in our chat??

#

I don't recall solving that problem specifically

lunar cypress
#

there's a lot of things you can do wrong

prisma wave
#

go bench clojuremoon

old wyvern
#

stack bench ๐Ÿ‡ญ

onyx loom
#

its ok gaby ๐Ÿฅฒ

static zealot
#

gaby, the more reviews you'll get, the better you'll be at ignoring them

onyx loom
#

refresh the page gaby โ™ฅ๏ธ

prisma wave
old wyvern
#

๐Ÿ˜Œ

hot hull
#

bruh I'm boutta drop a -5 review cause you using maven

prisma wave
#

I would like to see how "javavm" performes against out great haskell

hot hull
#

our*

old wyvern
#

๐Ÿ˜Œ

prisma wave
hot hull
#

No

prisma wave
#

nice to meet you!

#

๐Ÿ˜– โ˜น๏ธ ๐Ÿฅฒ ๐Ÿ˜ฉ

hot hull
#

Need to write a hello world so I can add it to my resume

prisma wave
#

go on

old wyvern
#

bm I think I cleaned up most of hasklash to understandable stuff

prisma wave
#

now's a perfect time

#

oo cool

old wyvern
#

Test run begining

#

Then gonna add the new features

prisma wave
#

nice

#

=start I hope

old wyvern
#

Yes

#

And language selection, mode selection as well

#

As well as a scoring system if I can manage to get things working

prisma wave
#

Ooh huge

hot hull
onyx loom
#

it wasnt ๐Ÿ˜ฆ

hot hull
#

Yea she said it was small sad_fingerguns

prisma wave
#

she didn't say anything ๐Ÿฅฒ

#

she is a figment of our imagination

lunar cypress
#

dev general is beginning to drown in self pity again

onyx loom
#

good

quiet depot
#

self pity

#

what where

#

bannable offence

hot hull
#

Ban me already jesus fuck

quiet depot
#

lel

hot hull
#

The amount of times I was supposed to be banned, if any of y'all were in a decision making job, nothing would get done

onyx loom
#

the ideal job would be president then

lunar cypress
#

@donald trump ๐Ÿ˜ฆ

hot hull
#

kek

lunar cypress
#

Where is he

quiet depot
#

@serene cave

quiet depot
hot hull
#

I'd sure hope so

#

2 more days ayy

quiet depot
#

until?

hot hull
#

end of my internship

quiet depot
#

does the end result in a promotion or a haste escort out of the building, which is followed by a ban from entering that building again and using that companyโ€™s services

hot hull
#

neither

#

a phat paycheck

quiet depot
#

oh right interns get paid

#

frosty i think u should sell ur pc

hot hull
#

Why

quiet depot
#

then combine that money and ur paycheck to buy a ps5

half harness
#

ps5 thonking

hot hull
#

But I need the pc for development?

quiet depot
#

nah g

hot hull
#

But I get paid :sadge:

quiet depot
#

but why would u get paid

#

when u can play ps5 fortnite with no one else because no one plays it anymore

hot hull
#

Ah you smoking crack again

quiet depot
hot hull
#

Oh yea right

#

Any easy way of listing all the components?

half harness
#

task manager :)

quiet depot
#

windows?

hot hull
#

Yes

quiet depot
#

use speccy

old wyvern
#

OMG it finally compiles

hot hull
#

pathetic

prisma wave
#

๐Ÿ˜Œ

#

it's like rust, if it compiles it's pretty much guaranteed to work

old wyvern
#

bm

#

does a env variable have to be exported in linux for applications to be able to fetch it?

prisma wave
#

yes

#

Afaik

old wyvern
#

Will they get removed after the shell session?

prisma wave
#

i believe so

#

So you'd put "global" ones in .bashrc or .zshrc typically afaik

old wyvern
#

ah

#

so anything exported is just local to the session

#

I was imagining without export was local, and export added it perm

prisma wave
#

Im not 100% sure on the difference

#

Actually

#

Export might be per user session

#

so it goes away when you logout

old wyvern
#

Ah

forest pecan
#

i went from 3 stars to 10 ๐Ÿ˜ฎ

lunar cypress
#

I'm gonna need someone with decent hardware again to run my benchmarks, to get better results or at least something to compare

quiet depot
#

link

#

i'll run it tomorrow if I remember

static zealot
hot hull
#

benchmarks of what? rendering your sex tape?

quiet depot
#

clojure thing I think frosty

#

unless it's something different this time

lunar cypress
#

I'll clean some stuff up, they will take a couple of hours though just so you know

quiet depot
#

o

#

of 100% use?

lunar cypress
#

Single core

quiet depot
#

ok

lunar cypress
#

Idk if it will run into 100% for you, but for me it does

quiet depot
#

my cooling isn't adequate for a few hours of 100%

static zealot
#

lmao mine is not even for 50% xD

quiet depot
#

why does it take so long johnny?

onyx loom
#

i can do it if u want

hot hull
#

could throw it on the dedi, but It'd probably catch fire

lunar cypress
#

because it's a lot of benchmarks

static zealot
#

if it asn't for the external cooler my laptop would probably mlt

onyx loom
#

got a ryzen 5 3600x if thats good enough

lunar cypress
#

It basically tests all significant operations from all major collections from 4 different libraries

onyx loom
lunar cypress
quiet depot
#

idk kaliber

onyx loom
#

just hmu whenever u want me to run it johnny

lunar cypress
#

for sure

quiet depot
#

do you still want me to run it if kaliber is running it?

#

for reference I have an i7 7700k

lunar cypress
#

The more results the better

quiet depot
#

ok

#

well i'll try

#

but if it gets high temps i'll have to stop

onyx loom
#

i doubt itll overheat

lunar cypress
#

I'll need to write some script to analyse it anyway

#

cba to plough through the, what, >50 results myself

#

also I wanna find out what the hell is going on with the results file containing thousands of null bytes

#

Initially it didn't bother me but now I feel like those are supposed to be the interim results

hot hull
#

@quiet depot If I set the ram frequency to more than it supports, what will happen? Rn it's at 2666

distant sun
#

boom

onyx loom
#

well then u would be over overclocking ur ram

hot hull
#

So if I set it to like 2800 I should be fine yea?

onyx loom
#

maybe

#

then ull playing the game of silicon lottery

hot hull
#

Ah yea nah I'm good thanks

onyx loom
#

meh its probably fine anyway

#

its a minor overclock

hot hull
#

If I set it to 4800 then will it go boom?

onyx loom
#

yes

hot hull
#

hopefully I go boom with it

onyx loom
#

๐Ÿ‘ ๐Ÿ‘ ๐Ÿ‘

#

nah ur pc will just shut off lmao, if it keeps failing to post after, then ull just have to reset the bios

#

and hope that u didnt fuck up the ram in the process kek

hot hull
#

ลŸhame

cinder flare
#

At least it's not your graphics card

#

Ram is easily replaceable and available

hot hull
#

no

cinder flare
#

:(

boreal needle
#

you know how you people all love gradle

#

why

hot hull
#

Because it's superior

boreal needle
#

its actually horrible

hot hull
#

I want some of what you're smoking

prisma wave
#

you are DELUDED

boreal needle
#

ikr

#

idk it just feels weird

#

why do i need to clutter my repo with some wrapper thing

cinder flare
#

Maybe it's cause you're weird

onyx loom
prisma wave
cinder flare
#

To maintain versions between people

prisma wave
#

It's there for a reason

#

Yeah that too

boreal needle
#

maven doesnt have that problem tho

#

what kind of person has a jdk but not maven

prisma wave
#

It means anyone can just clone and build without having anything installed (except a jdk ofc)

cinder flare
#

And you have to install maven to build something

prisma wave
#

And also it's for stuff like CI services too

cinder flare
#

It's quite hard to get my tech illiterate classmates to install maven to build our group projects

boreal needle
#

yeah but i dont have tech illiterate people working with my code

onyx loom
#

i dont even think i have maven installed lmao

#

because yucky yuck

distant sun
cinder flare
ocean quartz
#

Maven and Gradle comes with IJ so doesn't matter too much, the wrapper is more important to make sure you're using the right Gradle version

cinder flare
#

It just makes it easier for everyone and helps eliminate the version mismatch

obtuse gale
boreal needle
#

seems a little overkill imo

prisma wave
#

it's useful

#

trust me

cinder flare
#

Until you have version mismatch issues

prisma wave
#

it means you can clone and it will just work

#

no issues

cinder flare
#

Good luck diagnosing that

ocean quartz
#

Maven never had that issue because the last time maven was updated was like 50 years ago

onyx loom
#

oof

cinder flare
#

Yea he makes a good point

ocean quartz
#

But for real though, has anyone ever seen a project with model version higher than 4.0.0?

boreal needle
#

3.8.1 was released on the 4th of this month

#

they just dont make breaking changes

#

avoiding the issue entirely

cinder flare
#

That's why maven is stuck in time and still sucks

ocean quartz
#

So basically like Spigot

cinder flare
#

You need breaking changes to make improvements

boreal needle
#

the breaking changes lie in plugins

#

which are versioned and updated as part of the pom

cinder flare
#

Still doesn't fix how slow it is

cinder flare
#

Lmao

onyx loom
#

how would u know windows 10 ๐Ÿคจ

onyx loom
obtuse gale
boreal needle
#

files everywhere

#

this wrapper thing

ocean quartz
onyx loom
#

๐Ÿคฃ

boreal needle
#

xml at least makes sense

cinder flare
#

You think XML is good?? ๐Ÿคก๐Ÿคก๐Ÿคก

obtuse gale
hot hull
#

What kinda shit you smoking

boreal needle
#

better than having 3 different ways of assigining values to stuff

#

with only one correct way

onyx loom
#

if groovy really bothers u, theres always a kotlin dsl fingerguns

prisma wave
#

๐Ÿ™„

boreal needle
#

how to get bullied in helpchat 101

onyx loom
#

bet maven doesnt have a kotlin dsl!

jovial warren
#

BM you are clearly outnumbered here

#

Kotlin DSL good Groovy DSL bad

#

facts

onyx loom
#

wrong

#

groovy good

boreal needle
#

alright its time for gradle project #2 with kt

jovial warren
#

gl using Kotlin with Maven

#

it's just terrible

boreal needle
#

idk i like java

jovial warren
#

all the cool kids use Gradle

cinder flare
#

Kotlin dsl good, groovy dsl okay

tranquil crane
#

I just use both dsls and hope for the best

ocean quartz
#

What's so hard about it?

<repositories>
    <repository>
        <id>spigotmc-repo</id>
        <url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>org.spigotmc</groupId>
        <artifactId>spigot-api</artifactId>
        <version>${spigot.version}</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Vs

repositories {
  maven("https://hub.spigotmc.org/nexus/content/groups/public/")
}

dependencies {
  compileOnly("org.spigotmc:spigot-api:1.16.5.$spigot_version")
}
cinder flare
#

Oh no

onyx loom
tranquil crane
boreal needle
#

weird stuff didnt work

#
"https://repo.lucyy.me/repository/maven-" + (version.endsWith("SNAPSHOT") ? " snapshots" : "releases")``` for example
ocean quartz
#

I mean it's totally normal to have issues once you're first trying something, i'm sure everyone here struggled to swap to Gradle, but once you get the hang of it it's awesome
You just need to learn it a bit like any other technology

boreal needle
#

yeah i am really trying

cinder flare
boreal needle
#

oop

#

that wasnt a copypaste

#

it flat out just refused to work though and fell back to a file

jovial warren
#

I'm thinking of doing something I haven't done in a bit

cinder flare
#

Is that in groovy

jovial warren
#

gonna jump in general and screen share Krypton

cinder flare
#

Cause I dunno if groovy can do that

boreal needle
#

oh

#

thatll be why lmao

#

gonna try with kotlin

cinder flare
#

Kotlin gang ๐Ÿ˜Ž

boreal needle
#

java dsl when

tranquil crane
#

no

cinder flare
#

Why

#

That's just worse kotlin

jovial warren
#

someone come and join room 1 lol

boreal needle
#

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

#

kotlin has a serious semicolon deficiency

tranquil crane
#

no u

onyx loom
#

no it doesnt

jovial warren
#

more like semicolon efficiency

tranquil crane
#

What's the point of semicolons when all they do is sit at the end of a line doing nothing

hot hull
#

Jesus, is there anything you aren't going to complain about

boreal needle
#

no

#

:P

static zealot
#

xD]

boreal needle
#

im good at complaining about stuff

#

im british

#

thats just what we do

obtuse gale
#

ah

jovial warren
#

facts

obtuse gale
#

innate

tranquil crane
#

understandable have a nice day

ocean quartz
#
JavaDsl.repositories(manager -> {
  manager.setMaven("url");
});

JavaDsl.dependenicies(manager -> {
  manager.compileOnly("spigot:blabla")
});
onyx loom
#

not me ๐Ÿ˜Ž

tranquil crane
#

Matt get out

onyx loom
#

thats the worse thing ive seen all week

ocean quartz
jovial warren
#

alarm grammar police are out alarm

ocean quartz
#

That just makes it better ๐Ÿคก

obtuse gale
#

๐Ÿฅฒ

tranquil crane
#

he's lost and alone

jovial warren
cinder flare
jovial warren
#

I mean, at least this gives you some entertainment

#

come and see the chaos

#

nah you actually gotta come and see this

boreal needle
#

how do i do gav with gradle kotlin

jovial warren
#

how do you do what?

boreal needle
#

gav

jovial warren
#

wat dis

boreal needle
#

group artifact version

onyx loom
#

'group:artifact:version'

jovial warren
#
dependencies {
    implementation 'group:artifact:version'
}
cinder flare
#

Someone send this person their example config

onyx loom
#

oh wait ur using kotlin dsl actually

jovial warren
#

yeah

onyx loom
#

so itll be with ("")

boreal needle
#

i mean for the project itself

jovial warren
#
dependencies {
    implementation("group:artifact:version")
}
#

root project name is set in settings.gradle

#

rootProject.name = "Name"

#

then in the build, group = "my.group" and version = "1.0.0"

boreal needle
#

they're set in different files

#

is that not a bit strange

obtuse gale
#

"they"?

cinder flare
#

No they're not

#

I have a single build.gradle.kts

jovial warren
#

imagine

#

IntelliJ sets the name in settings.gradle.kts for you anyway

#

no point moving it

cinder flare
#

True

jovial warren
#

also, thinking about it @hot hull, the chances of someone being able to reconnect in time before the server shuts down are very slim, as the server shuts down very fast

#

plugins shutting down would make it take longer though

cinder flare
#

you can remove the Kotlin compiler stuff if you're in plain java

jovial warren
#

imagine not grouping dependencies

obtuse gale
#

me.lucko.luckperms:luckperms-api:4.4
๐Ÿฅถ

hot hull
#

Well I mean you could just halt the shutdown entirely by blocking the thread

#

which technically could allow a player to join

forest pecan
jovial warren
#

yeah but I group them in the dependencies block to make them easier to read

forest pecan
#

๐Ÿ˜ฌ

ocean quartz
forest pecan
#

Indeed

boreal needle
#

ok this is actually starting to kinda make sense

ocean quartz
#

Ayy nice!

obtuse gale
#

๐Ÿ˜Œ

#

now
install gradle on your system
open your terminal emulator of choice
cd to every single maven project you own and run gradle init and follow the instructions on screen ๐Ÿ˜Œ

boreal needle
#

i mean i have like 3

#

im not exactly relevant

#

or good at what i do

obtuse gale
#

ya bet

#

i'mma stalk your gh

boreal needle
#

just look at literally anything ive written

#

youll see what i mean

obtuse gale
#

ah gee I need to make a core/common lib of my own lmao

#

I literally have too many things straight up copy/pasted from project to project

oblique heath
#

i mean has anyone ever become relevant as soon as they started learning a new skill

obtuse gale
#

but uugh ๐Ÿ˜ฉ

boreal needle
#

actually

#

i just realised how stupid and stuck up that sounds

#

ignore me

forest pecan
#

my projects are completely different from each other

#

lmao

#

one day im working on among us

#

another day i have this media library shit

#

the among us project thing was a mess

obtuse gale
#

not exactly relevant or popular

#

thankfully

#

don't want to deal with a 10k+ members guild

#

I already do that ๐Ÿฅฒ

forest pecan
#

"unlucky"

ocean quartz
#

=flex

compact perchBOT
#
<:discord:699228850537889854> - HelpChat Stats

Here are some guild wide stats for your eyeballs. :eyes:

XP Generated:

xp18,760,480

Level Ups:

levelups 20,434

Pastes Created:

pastes 47,204

Commands Ran:

commands 128,449

Images Generated:

images 69,633

Words Scrambled:

words 65,097

Total Messages:

messages 4,185,192+

Guild Members:

members 9,084

Date Created:

calendar Mar 29 2016

ocean quartz
#

We're getting there

onyx loom
#

so close

forest pecan
#

=flex

compact perchBOT
#
<:discord:699228850537889854> - HelpChat Stats

Here are some guild wide stats for your eyeballs. :eyes:

XP Generated:

xp18,760,480

Level Ups:

levelups 20,434

Pastes Created:

pastes 47,204

Commands Ran:

commands 128,450

Images Generated:

images 69,633

Words Scrambled:

words 65,097

Total Messages:

messages 4,185,196+

Guild Members:

members 9,084

Date Created:

calendar Mar 29 2016

obtuse gale
#

=flex

compact perchBOT
#
<:discord:699228850537889854> - HelpChat Stats

Here are some guild wide stats for your eyeballs. :eyes:

XP Generated:

xp18,760,480

Level Ups:

levelups 20,434

Pastes Created:

pastes 47,204

Commands Ran:

commands 128,451

Images Generated:

images 69,633

Words Scrambled:

words 65,097

Total Messages:

messages 4,185,198+

Guild Members:

members 9,084

Date Created:

calendar Mar 29 2016

obtuse gale
#

:o

static zealot
#

maybe not?

forest pecan
oblique heath
obtuse gale
forest pecan
oblique heath
#

TeamGreen green team TeamYellow yellow team TeamRed red team ๐Ÿฅถ blue team

obtuse gale
#

teen

#

๐Ÿ‘€

forest pecan
#

lmao

#

you roasted yourself

oblique heath
#

teen spirit

#

๐Ÿฅฒ

ocean quartz
#

Generics can sometimes be so ugly holy xD

forest pecan
#

๐Ÿคฎ green team ๐ŸŸก (piss circle) yellow team ๐Ÿฅต red team TeamBlue blue team

obtuse gale
forest pecan
#

whos that in

ocean quartz
oak raft
#

u stalking lucys github or smth? ๐Ÿคจ

boreal needle
#

yeah

obtuse gale
forest pecan
#

lmao she just doesnt care for spigot

oblique heath
#

lucy github actually has a super easy way to add a license to a github repo

oak raft
#

didn't see lol

oblique heath
#

fair enough lol

boreal needle
#

why would i add a license to 20 lines of java

oblique heath
#

for practice ๐Ÿ˜Ž

ocean quartz
#

Gradle has a plugin to add license to your files ;p

empty tangle
#
Blocked mirror for repositories: [mvdw-software (http://repo.mvdw-software.be/content/groups/public/, default, releases+snapshots), sk89q-snapshots (http://maven.sk89q.com/artifactory/repo, default, releases+snapshots), placeholderapi (http://repo.extendedclip.com/content/repositories/placeholderapi/, default, releases+snapshots)

Can someone help me figure out what this means?

boreal needle
#

literally 1/5 are blank newlines

oblique heath
#

for all of the sick apps you'll be making in the future

forest pecan
#

so everytime you create a new class

#

it does it for you

#

no need for extra build time

#

๐Ÿ˜‡

boreal needle
#

:O

ocean quartz
#

The plugin is better, means if someone creates a file and PRs it'll add it without you needing to do it yourself

boreal needle
#

intellij converts java to kt

obtuse gale
#

ya

forest pecan
#

you never knew that lmao?

jovial warren
#

omfg I'm actually stupid