#dev-general

1 messages ยท Page 140 of 1

prisma wave
#

Sadly

hot hull
#

Jolly ๐Ÿ˜‚

errant geyser
#

Frosty what about my message upsets you?

#

Jolly its in his local repo 8head

hot hull
#

Everything lmao

analog crater
errant geyser
#

You wanna know why that is

#

Jolly its in his local repo 8head

analog crater
#

I just read that

onyx loom
#

nice finger reveal

hot hull
analog crater
#

My wifi is shit today

errant geyser
#

Mr Frosty please help me I am dying of not having access to AdvancementAPI

prisma wave
#

I think you'll find you're dying of not using clojure

hot hull
#

^

quiet depot
#

I think i'm going to retire and use vb.net exclusively

hot hull
#

lol

prisma wave
#

gross

errant geyser
#

oh no

onyx loom
#

visual basic fingerguns

old wyvern
#

Uhh cant seem to find anything about that now

prisma wave
#

imagine using curly brackets in your language

old wyvern
#

I swear this is some mandela effect shit

errant geyser
#

Frosty I will do anything, what do you want from me, that isn't monetary?

prisma wave
#

this is the worst thing I've ever seen

#

HIDEOUS

#

LITERALLY unusable

old wyvern
#

What is?

errant geyser
#

Thats the first thing I said lmao

prisma wave
#

commits ide files AND uses maven

#

fuck

#

๐Ÿคฎ

old wyvern
quiet depot
#

he doesn't even commit the correct ide file

#

he ignores .idea (which contains useful stuff sometimes)

prisma wave
#

smh

quiet depot
#

and commits the most useless ide file ever

hot hull
#

I forget to check that off sometimes

quiet depot
#

"check that off"

#

mate

hot hull
#

And I'm too lazy to make a gitignore

quiet depot
#

there's such thing as a .gitignore

prisma wave
#

let IJ do it

quiet depot
#

ij's gitignores are so much bloat

old wyvern
#

Theres a plugin i think

quiet depot
#

yeah that's what I meant

#

ij's gitignore functionality comes from an official plugin

onyx loom
#

there seems to be just about a plugin for everything in ij

quiet depot
#

iirc

#

that's what ij is

#

plugins

onyx loom
#

plugins ๐Ÿ™‚

prisma wave
#

you know what REALLY sucks?

#

the eclipse plugin marketplace

onyx loom
#

u got it wrong

#

you know what really sucks?
eclipse

quiet depot
#

you know what REALLY sucks?
the eclipse plugin marketplace

prisma wave
#

It froze every time I tried to search, and you had to scroll down about 10 miles to see each plugin

#

well yeah eclipse sucks in general

#

but like

obtuse gale
#

...

prisma wave
#

the marketplace sucks in particular

quiet depot
#

sublime > fancy ides

#

actually I discovered a flaw in sublime today ๐Ÿ˜ฆ

prisma wave
#

one of many I'm sure ๐Ÿ˜

quiet depot
#

it's syntax highlighting starts to lag the editor on large files ๐Ÿ˜ฆ

prisma wave
#

๐Ÿ˜ฆ

#

sublime is fine for markup files

quiet depot
#

I was trying to edit a 60mb sql dump today, and I had to disable syntax highlighting

prisma wave
#

I wouldn't use it for actual programming though

#

๐Ÿ˜ฌ

quiet depot
#

might be a pebcak issue, couldn't find anything on the web regarding it

prisma wave
#

You'd think it would be able to handle large files pretty fine

quiet depot
#

it can

#

it handled it beautifully when I disabled the highlighting

prisma wave
#

odd

quiet depot
#

I think the sql syntax highlighting might just be badly implemented

#

although not sure if that's possible, pretty sure syntax highlighting is abstracted through textmate

neon jewel
#

anyone here good with bbcoding?

obtuse gale
#

whats that

pallid gale
#

BBCode or Bulletin Board Code is a lightweight markup language used to format posts in many message boards. The available tags are usually indicated by square brackets ([ ]) surrounding a keyword, and they are parsed by the message board system before being translated into a m...

subtle lynx
#

When do you guys bugtest?
Whenever you feel it's time to, or is there something specific?

analog crater
#

Whenever something needs to be tested

subtle lynx
#

lol

hot hull
#

When you can't figure out what's causing issues you debug fingerguns_reversed

prisma wave
#

if a problem arises, debug

#

it's just part of the development process, it's not a distinct thing

regal gale
#

de-bug

analog crater
#

Unless your a massive coding house with seperate jobs for each task

#

then assign to debugger

prisma wave
#

that's dumb

subtle lynx
#

I pretty much just want to make sure I'm not like missing some huge thing

ocean quartz
#

Debugging implies I have bugs in my code, pft

subtle lynx
#

I want to avoid thinking "wow, how the hell was I doing that for so long" later down the road

old wyvern
#

de buggy

prisma wave
#

Test Driven Development helps here

analog crater
#

There should be some event where you have to make a plugin based on theme but your not allowed to test it until you present it

subtle lynx
#

so I'm asking questions about relatively simple topics now and then. I learned a good amount in school, but I didn't really--
inb4 nullpointerexception

hot hull
#

Remember this, school teach all the wrong things usually fingerguns_reversed

analog crater
#

If you didnt learn kotlin then your school is lacking

subtle lynx
#

no.

#

stop.

ocean quartz
#

I can relate to this a lot

I learned a good amount in school, but I didn't really--

subtle lynx
#

honestly, what they did teach was pretty accurate

#

the problem is what they didn't teach

old wyvern
#

They didnt teach you exception handling?

prisma wave
#

they didn't teach clojure ๐Ÿ˜”

old wyvern
#

wha?

ocean quartz
#

Yeah, a lot of things were left out for me too
Also to answer your previous question
I bug test as soon as I make some changes, like i compile and restart the server every few changes

subtle lynx
#

they did. I was replying to the message about making a plugin without testing

#

so whenever it needs testing, yeah kek

#

what-- what am I looking at. I googled clojure and nothing makes sense

prisma wave
#

Clojure good

#

It's a Lisp

hot hull
#

Skyy

#

Don't look at clojure, you'll vommit fingerguns_reversed

prisma wave
#

nah

#

Clojure is hot

hot hull
#

@errant geyser You got 3 sec to tell me your GH

subtle lynx
#

you people and your programming languages

#

lmfao

hot hull
#

1

#

2

onyx loom
#

language might be hot

errant geyser
#

katsumag

hot hull
#

3

regal gale
#

My IT class literally skip 50% of the array lessons, even on Pascal smh

onyx loom
#

but the lisp is yuck

prisma wave
#

wtf

#

no

#

lisps good

#

metaprogramming good

errant geyser
#

Linked on my pf Frosty

hot hull
#

katsu, no public forking/leaking code, deal?

errant geyser
#

Absolutely

prisma wave
#

imagine not being able to implement pattern matching INSIDE the language

hot hull
prisma wave
#

wow

errant geyser
#

excitement noises Thank you :)))))))

prisma wave
#

invite me and I'll convert everything to clojure free of charge

hot hull
#

Fuck no

prisma wave
#

๐Ÿ˜ฆ

subtle lynx
#

honestly clojure just looks hard to read

hot hull
#

It needs lots of cleanup katsu, so have fun

subtle lynx
#

time to avoid forever

#

:)

prisma wave
#

@subtle lynx until about 28 hours ago I thought the same thing

#

it's just different, you get used to it

errant geyser
#

I'll do my best Frosty

subtle lynx
#

no I don't

#

I keep writing java

hot hull
#

Also, don't go convert it to kotlin lol

subtle lynx
#

^

errant geyser
#

damn it

prisma wave
#

why not?

#

kotlin good

subtle lynx
#

I did it and it breaks shit

#

lol

errant geyser
#

It doesn't Skyy

hot hull
#

Make the wrapper for the wrapper in kotlin sure, otherwise don't, because 1.3mb size addition isn't nice.

subtle lynx
#

wait but it did

errant geyser
#

Fair enough

prisma wave
#

I meannnnnnnnnn

onyx loom
#

Make the wrapper for the wrapper in kotlin sure, otherwise don't, because 1.3mb size addition isn't nice.
@hot hull thats why pdm exists

prisma wave
#

^^^^

#

โค๏ธ

hot hull
#

shut up

prisma wave
#

wtf

#

rude

#

i put my heart and soul into that library

subtle lynx
#

I could have just proofread and fixed it, but it's easier to just use kotlin on some new plugin that does something useless than it is to read through code that was already sub-par when it was Java code

prisma wave
#

excuses

hot hull
#

^

errant geyser
#

Thats a lot of Events Frosty jeez

#

Doesn't look too bad tho

hot hull
#

Gotta be prepared fingerguns_reversed

errant geyser
#

IAL has like 20 something so I can't talk but still

hot hull
#

Still sad about the fuckwits at mojang

subtle lynx
#

what about em

errant geyser
#

Oh about not being able to change the "advancement complete" text?

hot hull
errant geyser
#

I knew it

#

These commit messages are gold

hot hull
#

Like, why is it only half of it client sided

#

it doesn't even make sense

errant geyser
#

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

prisma wave
#

This would look 400 times better if those fuckers had used clojure fingerguns_reversed
that's better

subtle lynx
#

Challenge complete!

hot hull
#

lol

prisma wave
#

or kotlin tbf

subtle lynx
prisma wave
#

the language that didn't exist when Minecraft was made

#

@subtle lynx send link

analog crater
#

what makes clojure so "good"? (real talk)

prisma wave
#

concise

hot hull
#

Probably for the best KM

old wyvern
#

Hes trollin

prisma wave
#

i'm only slightly trolling

#

I think it's nice although jokes aside I prefer kotlin

hot hull
#

Imagine if MC was written in kotlin

prisma wave
#

imagine

old wyvern
#

I prefer choice

onyx loom
#

I think it's nice although jokes aside I prefer kotlin
@prisma wave fingerguns

subtle lynx
#

being concise isn't as important as having readability tho

prisma wave
#

it's still readable

onyx loom
#

its not

prisma wave
#

well

errant geyser
#

When does that language competition start BM, and is there anything I should really know beforehand or do I scour yours and Sx's langs GH repos?

prisma wave
#

any language that you don't know isn't very readable

old wyvern
#

()()((+)()((()_}{}{}{}{}{()()()

analog crater
#

What do the paranthesis even do

onyx loom
#

not true

old wyvern
#

(++{}{}\{}{}()()()[]ff[][][)

prisma wave
#

they're lists @analog crater

#

everything in a Lisp is a list

analog crater
#

well... how would I make a function then?

old wyvern
#

defn

prisma wave
#

normal lists are (1 2 3), but function calls are exactly the same - just (function-name parameters)

onyx loom
#

send me some code and ill see if i can see what it does

#

same goes for everyone

subtle lynx
#

defn
define... n-

old wyvern
#

statements as elements apparently

prisma wave
#

(println "Hello World")

onyx loom
#

it should be a little bit readable

subtle lynx
#

what does n mean

prisma wave
#

it's short for define I think

old wyvern
#

define... n-
@subtle lynx What?

errant geyser
#

Have fun Kali

private fun <T : Event> createAction(body: (T) -> Unit): ListenerAction<T> {
    return object : ListenerAction<T> {
        override fun perform(t: T) = body(t)
    }
}

fun <T : Event> createListener(plugin: JavaPlugin, action: (T) -> Unit) = RegisteredListener(plugin, createAction(action))```
prisma wave
#

but the basic principle behind Lisps is that everything is code - the code you write is just code, which sounds obvious, but it means that you can mutate and analyse code programatically at runtime

#

which is quite cool

wanton sentinel
#

hi

prisma wave
#

hello

errant geyser
#

Hello

obtuse gale
#

hello

analog crater
#

isnt that just reflection with extra steps

wanton sentinel
#

i have a question

compact perchBOT
#

There is no time to wait! Ask your question @wanton sentinel!

prisma wave
#

it's reflection on a language level

#

known as metaprogramming

old wyvern
#

isnt that just reflection with extra steps
lesser

subtle lynx
#

in clojure, you define functions with defn. There's also a def in clojure if you do a quick google. My question is wtf the n means.

prisma wave
#

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

#

def is for global "variables "

errant geyser
#

Hey BM on that note you should probably write a get-started guide on Clojure I can read

wanton sentinel
#

im trying to make deluxuemenus tp me to antoher bungeeserver

obtuse gale
old wyvern
#

defn just means define afaik

hot hull
errant geyser
old wyvern
#

Havent tried clojure

#

just from snippets km posted

wanton sentinel
#

thx

prisma wave
#

@errant geyser I wrote a little paragraph yesterday

#

yea

errant geyser
#

Hold on lemme find it

hot hull
#

KM, now I'm not so sure about what I said earlier, cause it kind of doesn't make sense that only half of it would be client sided and the other half server

#

Does it?

prisma wave
#

lmao

#

they're very relevant

#

@hot hull not particularly, but what are you talking about?

hot hull
#

advancement displays

prisma wave
#

ah right

#

idk too much about how they're actually handled

#

sooo

#

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

hot hull
#

Well I mean noone does apparently

old wyvern
#

The part implemented in client and server are mutually exclusive right?

prisma wave
old wyvern
#

Client manages how its displayed, Server can send the displayed text

errant geyser
#

Yeah I just got it, thanks

prisma wave
#

clojure also has Java interop fingerguns

#

wait...

#

so in theory

#

Kotlin interop??!!?!?

hot hull
#

See if that were the case, I'd be able to edit that, but from what I found the "Challenge Complete!" aka toast "title" is entirely client sided

old wyvern
#

Well, Scala also has java interop, but its shit

hot hull
#

Since the server doesn't send anything containing that to the client

errant geyser
#

Wait could we write a program in clojure that'd work in kotlin thonking

prisma wave
#

Clojure's is nice enough

#

possibly

#

I think so

#

maybe

#

we should try

old wyvern
#

See if that were the case, I'd be able to edit that, but from what I found the "Challenge Complete!" aka toast "title" is entirely client sided
Yea, thats because they have it made specifically for advancements

#

I do agree that they should have had generalized toasts when implementing that

hot hull
#

Like who decided, ah yes let's make it half and half

#

Like :what:

errant geyser
#

Its mojang

old wyvern
#

Wanna make a minecraft client from scratch in unity that can work with the current servers? ๐Ÿ‰

errant geyser
#

What do you expect really

old wyvern
#

But with extra shiz

hot hull
#

I mean I've never made a client fingerguns_reversed nor know how to even start

prisma wave
#

Start with a main function

errant geyser
#

FrostClient wen Frosty? Should edit it so you can change the advancements title

prisma wave
old wyvern
#

I meant most of the game in this case xD

#

but ofc we dotn have to make single player

#

so the world gen and stuff can be ignored

hot hull
#

I mean katsu, resourcepack fingerguns_reversed

errant geyser
#

eeeeeeeeeeeeeeeeeeeeeeeeeh yeeeeah but FrostClient

old wyvern
#

And in Unity, so better gfx fingerguns_reversed

prisma wave
#

If you have a non vanilla client and server, is it still Minecraft?

#

unity bad kotlin good

errant geyser
#

^

#

Unity is... different

prisma wave
#

Aka bad

old wyvern
#

different as in?

onyx loom
#

kotlin ๐Ÿ

errant geyser
#

The UI sucks aids

prisma wave
#

There is only 1 choice in programming and that is kotlin

old wyvern
#

it doesnt? lmao

prisma wave
#

All software should be in kotlin

errant geyser
#

It does man

old wyvern
#

Try to learn before you comment on something

errant geyser
#

I uh, have made a simple game using it

onyx loom
#

There is only 1 choice in programming and that is kotlin
@prisma wave kotlin good clojure ok java bad

old wyvern
#

a simple game doesnt mean you know how to use the engine properly

prisma wave
#

clojure ok?

#

I'm starting to break you >:)

onyx loom
#

just ok

prisma wave
#

you'll be using it soon

#

Trust me

onyx loom
#

nope

#

never

old wyvern
#

It does have its issues, but the UI isnt one of them

prisma wave
#

Absolutely

errant geyser
#

Yugi, I'm not on about the engine, I'm on about the damn programs aids white theme Eclipse lookin UI

old wyvern
#

Whats White theme?

onyx loom
#

i only say ok because of what ive heard and its capabilities

errant geyser
#

The program?

onyx loom
#

but lisp ๐Ÿคข

old wyvern
#

Unity is dark grayish by default

prisma wave
#

Clojure is very capable

old wyvern
#

im not sure where you found the white

prisma wave
#

for loops are just a normal function

errant geyser
#

Yugi you can't change that if you have the free version

prisma wave
#

So is pattern matching

#

It's cool

old wyvern
#

Its not white in the first place mate

errant geyser
#

Its default white, or at least was when I used it

#

Lemme fire it up now

prisma wave
#

Guys

#

Just use kotlin

#

Problem solved

hot hull
#

I doubt I can even run Unity fingerguns_reversed

prisma wave
#

or rust

errant geyser
#

I mean

prisma wave
#

or clojure

errant geyser
#

technically right

prisma wave
#

Or Haskell

#

or any other circlejerky language

old wyvern
#

Just use kotlin
@prisma wave
C# seems very close to it

prisma wave
#

nah

#

C# bad because of those damn naming conventions

hot hull
#

But I mean C# is always nice to know so GWcmeisterPeepoShrug

prisma wave
#

although they do use allman

#

So it's not all bad

old wyvern
#

C# bad because of those damn naming conventions
@prisma wave
Thats relative to who uses it

#

@errant geyser

prisma wave
#

I know it's relative

#

But you know

#

Kotlin good C# bad

#

End of story

errant geyser
#

Mine's whiter than that Yugi iirc, its still loading though

old wyvern
#

No idea what you have m8

#

never been white for me

#

If you are talking about VS you can change the theme as you wish

errant geyser
#

But also I just don't like how that looks, just my opinion

old wyvern
#

But also I just don't like how that looks, just my opinion
If its just your opinion that does not make it bad

errant geyser
#

I'm aware. I said the UI was bad, I should've specified imo, but I didn't think that'd exactly offend anyone.

old wyvern
#

Looks grayish to me

analog crater
#

change it to dark mode using hex editor

errant geyser
old wyvern
#

Yea hes been on about that for a long time

onyx loom
#

kek

analog crater
#

Why doesn't he just post his problems in helpchat

old wyvern
#

๐Ÿ‰

onyx loom
#

omg

hot hull
obtuse gale
#

some code directly for it.

#

Does this mean "Some code I can copy & paste" thonking

static zealot
#

no

#

it means just make an anti cheat plugin for free and I'll pay you nothing :)))

old wyvern
#

^

obtuse gale
#

bargain

old wyvern
#

I think I explained to him as politely as possible

onyx loom
#

just make an anticheat in skript. no programming language knowledge required Kappa

old wyvern
#

He can go f himself if hes an idiot

obtuse gale
#

if hes an idiot

#

I meannnnn

hot hull
#

Kali

onyx loom
#

did i sin

hot hull
#

You trynna start a crusade?

onyx loom
#

sorry

#

didnt mean to rustle ur feathers

hot hull
#

Wait, since the paper team has meetings with mojang, ya think I can tell em to consider asking them to make the toast title thing server sided fingerguns_reversed

old wyvern
#

Give that a try I guess

surreal quarry
#

if i want to replace all cases of a regular expression with something that uses the regular expressioin, how can i do that
trying to replace the regex for a hex code with a color based on that hex code

#

and i have a method that converts a hex string to a color

#

i just need a way to get all the hex strings out of a message

hot hull
#

Use a matcher and use while?

old wyvern
#

replace all cases of a regular expression with something that uses the regular expressioinwait what?

surreal quarry
#

like if it contains #333aaa or something i want to replace #333aaa with a color from #333aaa

#

so like something.replace(regex, getColor(whateverTheRegexWas))

hot hull
#

ew no

old wyvern
#

replaceAll takes a regex

hot hull
#

Use a Matcher

surreal quarry
#

but ill try what frosty said

lunar cypress
#

You first want to find and extract the match

surreal quarry
#

well all matcges but yea

lunar cypress
#

If you want to call an external function on it

hot hull
prisma wave
#

Not enough .clj

lunar cypress
#

Otherwise, if you just want to use it in the replacement string without modifying it, you can use $1 for the first group, $2 for the second and so on

hot hull
obtuse gale
#

what servers that in

lunar cypress
#

that link leads nowhere for me

hot hull
#

paper

#

@old wyvern You any good at writting issue reports? Cause I suck

old wyvern
#

Sure I can do that in a bit, Have to finish some work first

jovial warren
#

why tf do I get https://bin.bardy.me/zvF1kLs9.cs this error if I'm running the bot via a JAR file, but when running it within IJ with the Spring Boot Application runner thingy it works fine?

#

and it's got an application.yml both embedded with it and literally in the same folder as it

hot hull
#

@covert aspen 10$ per plugin or?

jovial warren
#

lol

onyx loom
#

10$ for all of them kapp

covert aspen
#

it's actually 2

#

one of em exists

hot hull
#

And do you code btw?

covert aspen
#

yea

onyx loom
#

so like

#

per plugin

#

or what

jovial warren
#

@heady birch I call upon thee

obtuse gale
#

same

hot hull
#

Anyone got any cool ideas I could use advancements for?

prisma wave
#

spamming people to use clojure

analog crater
#

An rpg quest system

obtuse gale
#

Integrate it into fuck1.8

analog crater
#

Make fuckskript.jar

obtuse gale
#

We could make that fuck intensity level 5

#

We only have 4 atm

onyx loom
#

Integrate it into fuck1.8
@obtuse gale hccce integration when

obtuse gale
#

Ahhh

onyx loom
#

it ends in like 6 days, hurry

obtuse gale
#

Oof slright

#

Iโ€™ve actually gotta finish fuck1.8 first

#

To make the integration somewhat decent

analog crater
#

Does it download and boot the latest setver jar

obtuse gale
#

Thatโ€™s the plan

#

But itโ€™s not as easy as it sounds

analog crater
#

Why not?

#

It seems like opening any other program

obtuse gale
#

You canโ€™t switch out the server jar while itโ€™s running

errant geyser
#

Make it download Paper too ๐Ÿ˜‰

analog crater
#

Make it download a seperate program to end the server jar and download new one and rrmove old

obtuse gale
#

I have to on disable make it copy over another jar file, then run it, which does the switcheroo

#

Well yea

#

But then the worry is if itโ€™s not fast enough before the server auto restarts

analog crater
#

? Why would it autorestart so fast

obtuse gale
#

I mean some servers just shut down and immediately restart donโ€™t they?

errant geyser
#

Thread.SLEEP(SLEEP.MAX_SLEEP) until its done

#

Ez

jovial warren
#

lol

#

exitProcess(1)

obtuse gale
#

String.MAX_VALUE

errant geyser
#

sys.exit(100)

jovial warren
#

you mean exitProcess()

errant geyser
#

I mean sys.exit() ๐Ÿ˜‰

#

Its python boi

jovial warren
#

oh wow

#

also @prisma wave you able to help me out at all btw?

#

lemme just get the message link

wanton sentinel
#

anyone getting their code reset when they reload deluxemenu

#

and then the error message (insert name) is not a valid menu

#

cuz i am

#

and its infuriating

#

any help pls

hot hull
#

Not the right channel

wanton sentinel
#

ok

#

wich one?

onyx loom
wanton sentinel
#

th

#

thx*

jovial warren
#

@heady birch will thee answer yet?

errant geyser
#

He is a busy boi what with eCloud and whatever

jovial warren
#

eCloud isn't being rewritten yet

errant geyser
#

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

#

I swear it was

hot hull
#

It is being

errant geyser
#

Yeah I was gonna say am I going insane

hot hull
#

You just can't see it cause you don't got access fingerguns_reversed

jovial warren
#

it will might be rewritten after PAPI 3 is done

#

from what Piggy said

#

and I have access to the PAPI 3 repo Frosty

hot hull
#

repo means nothing since nothing is being done in it

onyx loom
#

the ecloud has already been started

#

quite a while ago tho

hot hull
#

THere's a whole lot of Niall complaining in the channel fingerguns_reversed

topaz bay
#

weak

onyx loom
#

do me fingerguns

hot hull
#

Sx, imagine having an expansion

errant geyser
#

Sx can I just say

hot hull
#

Now that's weak

errant geyser
#

That table generator is HOT

distant sun
#

@topaz bay hot

topaz bay
#

thats also weak af

#

LOL

onyx loom
#

thanks

errant geyser
#

Hey Sx can I get the code for that table generator? ๐Ÿ˜‰

topaz bay
#

oh wow...

errant geyser
#

I have a little library of stuff I'll use like once

topaz bay
#

I just realized I dont actually do anything special when theres no found expansions

#

WEAK programming

errant geyser
#

F

onyx loom
#

lol

hot hull
#

Fucking weak

onyx loom
#

bad

errant geyser
topaz bay
#

@errant geyser its in papi

errant geyser
#

Whats the class?

topaz bay
#

Its also about to change a bit, so wait for the next push in like ~5 mins

errant geyser
#

Ok

topaz bay
#

Its in CommandECloudExpansionList

errant geyser
#

Cheers

hot hull
#

CommandEcloudExpansionListFactoryGenerator

jovial warren
#

lol

errant geyser
#

Oh god don't let Niall name ANYTHING

jovial warren
#

Enterprise Logic

onyx loom
#

niall inc.

#

ceo of everything

jovial warren
#

this is actually pissing me off now

#

it doesn't make any fucking sense

#

you run it with the built-in runner thing -> works

subtle lynx
errant geyser
#

I mean

#

You're deleting every world

#

Thats not gonna go well

jovial warren
#

it's gonna delete everything in the world folder yeah

#

actually hold on

#

nvm

subtle lynx
#

everything in the world folder, or the folder itself

#

yes, I want to do that

#

kek

jovial warren
#

it's gonna delete every world folder

#

in /

errant geyser
#

serverFolder.getPath() + "/" + world.getName() whatever that is, it'll delete

subtle lynx
#

okay cool

topaz bay
#

I miss kotlin...

jovial warren
#

rip

hot hull
#

ew

jovial warren
#

I don't fucking miss Spring

subtle lynx
#

long story short, Multiverse 1.16 is b u g g y and I no like so I'm writing my own janky world handling for a minigame plugin

errant geyser
#

Bardy don't let Niall hear you say that

#

Or you'll be banished from NiallSupportโ„ข๏ธ

jovial warren
#

or if someone solves it

#

idfc who

#

also @prisma wave didn't you say you've worked with @ConstructorBinding before?

errant geyser
jovial warren
#

yeah ik

#

but that's not the issue

#

the issue is: it should not be null

errant geyser
#

Then make it not null 4head

#

Honestly

jovial warren
#

it fucking isn't null you 6 head

hot hull
#

@errant geyser btw, if you fiddle around with the lib, just be weary that the entire advancement class will change tommorrow cause imma be putting it into seperate objects (cleaner fingerguns_reversed)

jovial warren
#

it literally has an application.yml both inside the JAR and outside the JAR with defined values that it can read from

errant geyser
#

Where did 5head go ๐Ÿ˜ฆ

jovial warren
#

idk 8 head

errant geyser
#

and now we skipped 7head too ๐Ÿ˜ฆ

jovial warren
#

fuck odd numbers

#

10 head

errant geyser
#

@hot hull ok, I'll wait until tomorrow to start making the wrapper then

jovial warren
#

also, thanks Captain Obvious

errant geyser
#

np

#

Happy to help

#

I'm such a dick

jovial warren
#

get outta here

hot hull
#

I mean you can make it, I'll try to make it as straight forward to change it as possible (just gonna divide the different sub aspects of the advancement

jovial warren
#

you did jack shit

#

24 head

hot hull
#

He was there for mental support.

jovial warren
#

lol

#

"mental support"

errant geyser
#

I prefer emotional support

topaz bay
#

@errant geyser sorry, I got distracted by tik tok...

errant geyser
#

Not sure I wanna look at that code any more

topaz bay
#

I mean, it's honestly not that great

#

I really wish it were fucking kotlin

onyx loom
#

rewrite it fingerguns_reversed

topaz bay
jovial warren
topaz bay
#

god... github really fucks continuation indentation

jovial warren
#

yw?

topaz bay
#

?

jovial warren
#

what's continuation indentation?

topaz bay
#

Its the indentation of continued elements

#
method("param one",
       "param two")
jovial warren
#

ah okay

topaz bay
#

the indent that aligns "param two"

#

This method chain looks like this on github

jovial warren
#

okay that's horrible yeah

#

I don't see that though

topaz bay
jovial warren
#

for me, .map is in line with >>

topaz bay
#

...

#

WHAT

jovial warren
#

you wanna see?

jovial warren
hot hull
#

That green inner <> is disgusting

topaz bay
#

...

#

wtf

jovial warren
#

in the viewer thingy it looks like that for me lol

#

yeah the raw has stupid indentation

#

this is like 8 char indentation

topaz bay
#

lol

jovial warren
#

lol

#

also, maybe it's my Stylus theme that shows it like that sx

#

though idk why that'd make a difference to the indentation

#

also, the reason why it looks like it does for me is because GitHub's indentation seems to be 2 for this file

#

in the raw it's 8

topaz bay
#

better

jovial warren
#

that's like a pagination of a pagination of a pagination of a pagination of a pagination of a pagination

topaz bay
#

?

jovial warren
#

lol

#

pagination is splitting something in to pages

#

and when you paginate it comes out like that

#

a list of pages of content

topaz bay
#

what in the hell

#

LMFAO

#

I know what pagination is bruh

#

I just didnt know what you were referring to

jovial warren
#

just had to make sure

topaz bay
#

...

jovial warren
#

I was referring to the list of lists of lists of lists of ...

topaz bay
#

Yeah, I figured that out

jovial warren
#

lol

#

also, if you're ever considering learning Spring, just don't

topaz bay
#

You should also probably know, the programming term for that is partitioning

#

pagination is a type of partition

#

๐Ÿ˜‰

jovial warren
#

alright Captain Technical

prisma wave
#

oh man

#

That reminds me of the great language clojure

#

Which has a function called "partition"

jovial warren
#

oh hey, about time you showed up

topaz bay
#

fuck.

#

OFF

#

With Clojure

prisma wave
#

never

jovial warren
prisma wave
#

Haven't a clue

#

Run a clean build?

jovial warren
#

I run that every time I run shadowJar

#

funny how it only occurs when I run the jar

#

and I even extracted the jar and the classpath application.yml is in there, and I've even tried giving it an external config (which it's supposed to pick up automatically) and still nothing

onyx loom
#

With Clojure
@topaz bay ikr such a shit language lol imagine not using kotlin lol xd lmao

topaz bay
#

fail

onyx loom
#

tf happened to the tag

#

i just pressed the quote button ๐Ÿค”

#

ha ๐Ÿ“

prisma wave
#

imagine not using Clojure

old wyvern
#

imagine imagining

prisma wave
#

What a sad life that would be

old wyvern
#

ikr

jovial warren
#

lol

#

yes, what a sad life it is

frigid badge
#

let's make a c++ bukkit lib

#

for shits n giggles

jovial warren
errant geyser
topaz bay
#

Get a load of that shit

#

FUCK imperative programming

#

lmfao

hot hull
#

Ngl those indentations are kinda wack

topaz bay
#

Its purposefully over indented

#
@NotNull
private static int[] findSpacing(@NotNull final List<List<String>> rows)
{
    return rows.stream().map(row -> row.stream().mapToInt(String::length).toArray()).reduce((l, r) -> IntStream.range(0, Math.min(l.length, r.length)).map(i -> Math.max(l[i], r[i])).toArray()).orElse(new int[rows.size()]);
}
#

LOL

#

Oh the joys of 1 liners

jovial warren
#

oh I'm SO STUPID

#

@prisma wave guess what the issue was

errant geyser
#

Tell me instead in case I get it

jovial warren
#

so, you know how I'm using Spring, right?

errant geyser
#

probs will

#

yeah

jovial warren
#

well, guess what Spring comes with built-in that I wasn't using

errant geyser
#

Everything I can think of

jovial warren
#

bootJar

#

and I was using shadowJar

errant geyser
#

ah

jovial warren
#

๐Ÿ˜

errant geyser
topaz bay
#

BIG

#

Do I dare dive into the unforgiving realm of.. center alignment

jovial warren
#

ha

topaz bay
#

This is literally the weirdest shit Ive ever written in my life

errant geyser
#

Your theme looks ok just not... whatever that is

topaz bay
#

indent rainbow

#

I dont really care how you think about my IDE

errant geyser
#

Fair enough

#

It just looks weird

topaz bay
#

May look weird for you

#

But it helps my brain

errant geyser
#

You have a small brain anyway 4head

topaz bay
#

Clearly

errant geyser
#

But mine is smaller so

#

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

topaz bay
#

Smaller is an understatement

#

Relatively microscopic

errant geyser
#

ssssssssshhhhhhh

hot hull
#

What brain

errant geyser
topaz bay
#

Yeah... this... this is good...

prisma wave
#

@topaz bay hot

#

imperative programming sucks

errant geyser
#

BM welp me

#

pls

prisma wave
#

what

errant geyser
#

Look in prevarinite

prisma wave
#

I don't suppose you could ask again in here?

#

it's just

#

xp

#

lol

errant geyser
#

ah

#

Thats how to get an instant response

prisma wave
#

gotta beat kali one way or another

errant geyser
#

ok

#

u sure my logic looks ok or do I invert it? Its after 9pm, my brains borked again, send help
I need this done by tonight too, otherwise I'd already be gone
cryingkitty

prisma wave
#

is loc the player's location?

errant geyser
#

Yeah

prisma wave
#

what's BASE_LIST

errant geyser
#

var BASE_LIST = mutableSetOf<Base>()

prisma wave
#

:/

#

nice variable name

#

why's it a var?

errant geyser
#

Cos it gets reassigned remember

prisma wave
#

then why is it mutable?

#

pick one or the other

#

not both

errant geyser
#

No like

#

I add to it when I register a base, on startup, it becomes the result of loading it from a file

#

I realise now I can improve that

#

gimme a sec

#

Got it

#

Now what

#

Its now val BASE_LIST = getSavedEditSessions()

prisma wave
#

questionable

#

very questionable

errant geyser
#

Just let me have it ok

#

For now

#

u got any idea?

prisma wave
#

debug the contents

#

potentially a state issue

errant geyser
#

wdym?

prisma wave
#

either you're accidentally removing a value somewhere, or you have multiple instances with different BASE_LIST values

errant geyser
#

its contained in an object so it should be the same across all instances

#

Well

#

If it even has an instance

prisma wave
#

objects have instances

errant geyser
#

wait what

prisma wave
#

they compile to singletons

errant geyser
#

I was under the impression they had a single instance

prisma wave
#

they do

errant geyser
#

And so were effectively static

prisma wave
#

which is still an instance

#

they're static in the same way that a plugin's main class is static

#

which is to say, not really

#

but they are singletons

#

SomeObject.blah compiles to SomeObject.INSTANCE.blah

topaz bay
#

The only way to have a separate instance is to load the class from a different class loader

prisma wave
#

^

errant geyser
#

Ok so its not that then

prisma wave
#

you're accidentally removing a value somewhere
is still a possibility

#

just print out the contents and make sure it's what you expect to see

jovial warren
#

oh hey @topaz bay you might know this: any idea how I can put stuff in the extended commit description on a commit?

#

like separate from the short desc

#

do I just separate it by lines?

errant geyser
#

yeah it just contains an instance of Base BM

#

Checked through 2 seperate commands

prisma wave
#

only 1 instance?

errant geyser
#

Of what

prisma wave
#

yeah it just contains an instance of Base BM

topaz bay
#

@jovial warren it should just be whats on the next line?

errant geyser
#

Yeah just one instance

jovial warren
#

ah okay

errant geyser
prisma wave
#

well there's your problem?

#

this is why you don't expose mutability everywhere

#

smh

#

life would be so much better if FP was the norm

errant geyser
#

bruh

#

Its supposed to only have one instance?

prisma wave
#

????????????????????????????????????

topaz bay
prisma wave
#

you asked me why kotlin return BASE_LIST.first { loc.distance(it.getLocation()) < 20 } always returns the same thing

#

maybe because there's only 1 element in the set???

#

also, you probably want to sort by distance and get the minimum

errant geyser
#

Yeah but, on the guys server, there's more than one

#

And it always returned the one that wasn't closest to him, but the first result in the set

#

Even though I've just shown it keeps the same set across all calls that I can see

jovial warren
#

@topaz bay like should it directly be on the new like like this: short desc start of long descor with a separation in between, like this: ```
short desc

start of long desc

prisma wave
#

how do you hope to reproduce this bug if there's only 1 object in the set?

topaz bay
#

@jovial warren empty line

jovial warren
#

so second one

errant geyser
#

Exactly my point, I can't really test or debug it since there's just me and I don't have any alts

topaz bay
#

yes

jovial warren
#

okay, cheers

prisma wave
#

offline mode works

#

for debugging

errant geyser
#

How do I log in as a seperate player with that though?

#

I've never used offline mode or whatever

topaz bay
#

hacked client

prisma wave
#

just start the game multiple times?

topaz bay
#

all the alts you want

prisma wave
#

or that

topaz bay
#

ez pz

errant geyser
#

Ah

#

I do have a second .minecraft folder so I can start it twice

#

I'll see what happens, thanks anyway

old wyvern
#

I do have a second .minecraft folder so I can start it twiceWait why

#

Just get a random cracked launcher

ocean quartz
#

magic launcher is great for that

analog crater
#

How long do github edu apps take?

#

Ive read that theyre normally pretty quick but its been 11 days. They have rejected it then they annulled it and made it pending again

prisma wave
#

mine took a day or two

analog crater
#

Did you have registered school or manual id?

old wyvern
#

What did you use?

analog crater
#

Manual id because my unis email wasnt registered with gh

old wyvern
#

Manual id as in?

analog crater
#

School card and some letters

old wyvern
#

That should be fine I assume.

prisma wave
#

they accepted me with just a letter saying "he goes here"

#

so I don't see why that wouldn't work lol

old wyvern
#

Wait really?

#

๐Ÿ˜‚

analog crater
#

Is that it lol?

#

Or is it pseudo

old wyvern
#

@prisma wave

prisma wave
#

yep

#

lemme find it

#

1 sec

#

well not literally

old wyvern
#

Lmao ๐Ÿ˜‚

prisma wave
#

but that was pretty much what it said

old wyvern
#

Ah

analog crater
#

So it wasnt a letter just saying 'he goes here'

prisma wave
#

no lmao

#

but it was only about 2 sentences

#

nothing formal

old wyvern
#

I just used uni email and it accepted in less than a day afaik

prisma wave
#

yeah email is pretty quick I imagine

old wyvern
#

Mhm

analog crater
#

Probally some automation

old wyvern
#

It wasnt instant or anything

#

Just got it approved by the end of the day

errant geyser
#

I had to PR my schools domain into Jetbrains/swot, took 5 days to be approved, then applied, within an hour got my license

jovial warren
#

I literally just had to send them a screenshot showing literally all of my details

onyx loom
#

my GH literally took 1 day to be accepted

jovial warren
#

and when I say everything, I mean literally everything, from my full name, address, age, form, tutor, school photo, literally everything

errant geyser
#

I'd prefer my way

#

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

analog crater
#

Can you use swot to verify github edu

frigid badge
#

yes

#

you can use jetbrains to verify your github education pack iirc

analog crater
#

How lol

frigid badge
#

or maybe it was other wayround I can't remember

analog crater
#

You can do it github to verify jetbrains

#

Dont think its other way riund though

frigid badge
#

ah rip

jovial warren
#

and it works

frigid badge
#

what's the dockerfile

prisma wave
#

@topaz bay how did you get kotlin scripts working for papi? trying to use clojure but getting similar ClassNotFoundExceptions

topaz bay
#

its on github

#

Oh actually, thats outdated

prisma wave
#

hm

topaz bay
#

What I have should work, but I added more

prisma wave
#

it's those damn classloaders

#

clojure only uses the thread context classloader for some reason

#

which is quite annoying

topaz bay
#

fuck clojure

#

Use Odin

#

smile

prisma wave
#

nope

topaz bay
#
case (params.toLowerCase()) {
  "name" { player.getName() }
  "uuid" { player.getUniqueId() }
}
#

ez

#

lol

prisma wave
#

i don't mean the script engine btw

#

I mean writing an expansion in Clojure with java interop - but the problem seems to be related to classloading

#

nothing new there

#

๐Ÿ˜ฆ

regal gale
#

That's enumeration, you dummy

stray oak
#

Question related to DeluxMenus. In game you can do /tags create with the deluxmenus i have. Does anyone know where in the plugin folder of DeluxeMenus it stores all of the tags that were created?

gloomy oyster
#

believe it's directly in the config, lemme look

#

ye it's at the bottom of config.yml @stray oak

stray oak
#

My confiq.yml only says this: debug: false
check_updates: true
gui_menus:
ranks:
file: ranks.yml
jobs:
file: jobs.yml
warp:
file: warps.yml
tags:
file: tags.yml

#

I was trying to create them in the tags.yml but it only allowed me to create one. But in game I created a bunch for my server and there not in any of the yml's

regal gale
stray oak
#

okok thank you

regal gale
#

Who made skript papi expansion should go to hell here ๐Ÿ‘€

#

That stuff exists

glad spear
brazen narwhal
#

I am trying to create a spawner that spawns items. However, I have not found a way to change the ItemStack of the spawner, and it defaults to spawning Air

obtuse gale
#

spawners can spawn items?

remote goblet
#

Youโ€™d most likely have to create the spawner system yourself to make an item spawner

#

Yeah youโ€™d literally just have to drop the item yourself in a world near the spawner

#

As garbage as their code is, I recommend looking at EpicSpawners for an idea of what I mean

#

But do not copy it, itโ€™s absolute trash code

hot hull
#

Can't you just create a custom spawner object?

empty flint
#

Do you guys listen to music or watch tv while you code? Looking for something to increase my focus

obtuse gale
#

I watch dr phil

hot hull
#

I listen to music like all the time so fingerguns_reversed

obtuse gale
#

ree

#

still tryna get this login page working

analog crater
#

Whats broken with it

hot hull
#

What isn't is the real question fingerguns_reversed

analog crater
#

?help

compact perchBOT
#
FAQ Answer:
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait

Source

obtuse gale
#

I just dont know where to start with the login page

#

Like I could setup a post mapping

#

But i tihnk theres a fancy way with spring security

#

Ive done it before like ages ago

#

wheres niall when you need him

errant geyser
#

@empty flint yeah I listen to music. I love rock/metal but usually when I code I listen to like, Fall to Light by Lazlo and similar songs for some reason

#

It helps that I have a discord bot music player thanks Bardy so I can just slide into a vc with it, no more effort required since I loop my songs on it

analog crater
#

angry spotify premium noises

errant geyser
#

I just have 2 YT playlists of music, and I have my bot play one in my server and loop it

#

No ads

analog crater
#

laughs in high audio quality

errant geyser
#

laughs in it is high audio quality for a tier 0 server

#

cries in just been rate limited by YouTube

analog crater
#

laughs in being able to group call

#

cries in having no one to talk to

errant geyser
#

laughs in people?

remote goblet
#

laughs in ad blocker

hot hull
#

laughs

errant geyser
#

la

prisma wave
#

l

#

new kotlin meme fingerguns_reversed

hot hull
#

lol

prisma wave
#

Gotta make some Clojure memes now

#

๐Ÿ˜

remote goblet
#

and back to messing with this goddamn vps

prisma wave
#

Sounds like a cry for help

hot hull
#

Can someone explain to me, like he used the right thing the first time, but then just what? gave up?

remote goblet
#

EmiPopcorn yes

#

we're back on 403

hot hull
#

Any suggestions when it comes to formatting time fingerguns_reversed

Banned Until: 1596892774222
Banned until: 2020-08-08 (12 days, 21 hours, 51 minutes)
Above is mine, bellow is Litebans, but since it stores a bigint, I gotta format myself

old wyvern
#

wdym you gotta format yourself?

hot hull
#

1596892774222

#

This is what I have access to

#

Gotta turn that into a timestamp now

heady birch
#

new Date(1596892774222)

hot hull
#

oh

old wyvern
#

mhm

remote goblet
#

@prisma wave halp

heady birch
#

forbidden

hot hull
prisma wave
#

Is pterodactyl behind panel or something else? @remote goblet

obtuse gale
#

give the poor bot a profile picture frcsty

regal gale
remote goblet
#

i dont know EmiCry