#dev-general

1 messages · Page 270 of 1

dawn hinge
runic flume
#

^

jovial iris
#

oh ok

#

ill move there

prisma wave
#

o

onyx loom
#

holy shit

#

i did not know IJ was that old wtf

prisma wave
#

me neither

#

crazy

obtuse gale
#

Older than you

#

Lmao fucking zoomer

onyx loom
#

yup ☹️

prisma wave
#

☹️

ocean quartz
#

Youngins

distant sun
ocean quartz
#

Can you printscn it? So hard to read xD

prisma mantle
#

and use fanimator() to animate.

distant sun
#

hmm

ocean quartz
#

@distant sun You sent the chunked function in Kotlin some time ago, you have no idea how much that makes me upset, i was doing a tic tac toe some time ago and i needed something like that and couldn't find, basically to print a list as

[ ,  ,  ]
[ ,  ,  ]
[ ,  ,  ]
board.chunked(3).joinToString("\n")

Vs what I had to do lmao

board.withIndex()
            .groupBy { it.index / 3 }
            .map { indexed -> indexed.value.map { it.value } }
            .joinToString("\n")
tranquil crane
#

oof

distant sun
#

lol

ocean quartz
#

Weird that chunked doesn't get suggested on IJ

surreal quarry
obtuse gale
#

Yeah Matt you suck lol

ocean quartz
#

😭

surreal quarry
#

matt your IJ colors are so pretty

#

very hot

ocean quartz
#

Ikr, i love them
Also, invalidated cache and restarted and now it does thonking

surreal quarry
#

nice lol

old wyvern
#

windowed would work as well right?

surreal quarry
#

looks like it does the same thing but you get more ability to customize it

#

chunked is probably just windowed(size, partialWindows=true)

ocean quartz
#

Yeah it worked windowed(3, 3)

surreal quarry
#

why is it that things like blah.forEach {} doesn't support like break or continue

prisma wave
#

continue is the same as return@forEach

ocean quartz
#

Because it's a function, something i was talking with Yugi a few days ago actually

prisma wave
#

yeah

surreal quarry
prisma wave
#

it seems like a bit of an oversight but is probably tricky to implement

#

a label

ocean quartz
#

So return@forEach will break the entire function or just the current iteration?

prisma wave
#

just the current

ocean quartz
#

Nice, didn't know that

surreal quarry
#

yea thats useful lol

#

i always end up with arrow code inside bigger forEach loops

prisma wave
#
fun blah() {
  (1..10).forEach {
    if (i % 5 == 0) {
      return@forEach //breaks the current iteration
    }
    println(i)
    if (i == 9) {
      return //breaks out of blah()
    }
  }
}
old wyvern
#

maybe instead we could have a language construct similar to forEach instead

prisma wave
#

such as?

old wyvern
#

i.e, we switch the format of our "enhanced" for

prisma wave
#

to what?

#

cuz break & continue are always replaceable with map and filter

old wyvern
#
<Iterable> for <Variable> {

}

Maybe something like this
so for example

[1,2,3,4] for i {
   if i % 2 == 1 => print(i)
}
prisma wave
#

that's then inconsistent with every other list transformation function though

#

and you couldn't pass a single function

old wyvern
#

I mean that isnt a transformation tho

prisma wave
#

[1, 2, 3].forEach(print)

#

true

#

but still

#

you couldn't do like this

old wyvern
#

true

prisma wave
#

we could always add a normal for-each loop, depending on how multi-paradigm we want to be

old wyvern
#

hmm

lunar cypress
#

you'll never need break or continue if your functional programming is sophisticated enough

prisma wave
#

indeed

#

even return statements are pushing it

lunar cypress
#

yup

prisma wave
#

but i think they're a decent exception as we are aiming for multiparadigm

#

like scala

obtuse gale
ocean quartz
#

All i know is from Paper

We are aware that Mojang has released 1.16.5, this is a minimal release which we asked mojang to push to fix two critical crash exploits in vanilla

obtuse gale
#

word

steel heart
#

Pog

forest pecan
#

im streaming an end fight

#

lol

ocean quartz
#

It's been a while but I decided to add a few more things like adventure, cloud, what else should i do?

forest pecan
#

ay

#

we won the war

obtuse gale
#

hi piggy

quiet depot
#

@distant sun fun fact, the bug yesterday with enum#values showing month#values isn't actually a bug at all

#

enum#values literally isn't on the javadoc

#

it's generated by the compiler

#

hi fefo

obtuse gale
#

interesting...

#

Right

#

static shit

quiet depot
#

I think it's impressive that docdex at least managed to show the right object, for a method that doesn't technically exist

#

not todo with it being static

obtuse gale
#

moreso, it isn't "inherited" from Enum

quiet depot
#

anyway fixed your two issues gaby

#

fefo can u help me test something real quick while ur here

obtuse gale
#

sure

quiet depot
#

nvm dkim is helping me

obtuse gale
half harness
#

😭 I still can't react to messages related to fefo

#

(either fefo sent the message or reacted to the message)

half harness
# obtuse gale wat

if you send a message I can't react to it, if you react to a message I can't add a reaction

obtuse gale
#

oh yeah

half harness
#

wat

#

i can show vid

#

1 sec

obtuse gale
#

yeah you can't react to someone else's messages if you are blocked lol

half harness
#

;-;

#

i forgot

#

😔

obtuse gale
half harness
#

😭

surreal quarry
#

lmfao

ocean quartz
ocean quartz
#

Ah shit, it wont work well with adventure thonking
fixed it

karmic fjord
#

Lmao

distant sun
#

Lol pig

#

:)

hot hull
#

I need to manage newlines on tooltips myself right?

prisma wave
#

It seems very similar to pascal's triangle

#

although not exactly the same

#

the furthest left and right numbers increase by 1 each row

#

and the second-to-outer elements are a multiple of the surrounding 2

#

but there doesn't seem to be much of a pattern otherwise, apart from the symmetry

#

Might need to add some more elements before anything obvious appears

#

🥲

regal gale
#

It's definitely not a pascal's triange theory in here thonk

obtuse gale
#

it's pythagorean

#

ez

prisma wave
obtuse gale
prisma wave
prisma wave
#

Immediately

old wyvern
#

Looks more like a binary tree than a triangle

obtuse gale
#

what's there not to get

#

that' sexactly how it works

#

no doubt

prisma wave
#

I'm just trying to figure out a pattern

lunar cypress
old wyvern
#

ah

prisma wave
#

Rather than brute forcing

obtuse gale
prisma wave
#

cuz I need to find the billionth entry or something

old wyvern
#

Whats the question?

lunar cypress
#

youre making no sense

old wyvern
#

^

lunar cypress
obtuse gale
regal gale
#

Nope

prisma wave
#

the question isn't exactly this

half harness
lunar cypress
prisma wave
#

ok it's a long one so I'll try simplify

#

we start with a pair (1, 1). we can then either add the 2nd to the 1st, or the 1st to the 2nd, generating either (1, 2) or (2, 1). This goes on for a long time*

#

i need to find how many "cycles" it takes to reach a certain element

lunar cypress
#

Ah, fun

prisma wave
#

indeed

regal gale
#

Erm.. I am having a hard time reading your position number on the paper lol

lunar cypress
#

Yeah you probably can't evaluate it all

prisma wave
#

yeah the diagram is messy sorry

lunar cypress
#

but it's always a pair then, correct

prisma wave
#

so for example, (3, 4) takes 3 cycles to go from (1, 1) => (2, 1) => (3, 1) => (3, 4)

#

yes

#

the diagram i gave earlier was the elements of the pair multiplied together

#

which i thought might make it easier to deal with

#

but possibly not

lunar cypress
#

possibly not because (4, 3) != (3, 4)

prisma wave
#

yeah

#

i was planning on using the product to get an estimate

#

then refining with some tricks

#

but that might be even harder

regal gale
#

I usually better at this...

old wyvern
#

Why not go in reverse?

#

start at the end

#

go backwards

prisma wave
#

hmmm

#

that could work

old wyvern
#

(a, a+b)

reduce to
(a, b)

regal gale
#

Might need to redraw the diagram again 👀

prisma wave
#

yeah

lunar cypress
#

but you have a similar problem then

#

for every step backwards there's still 2 choices

prisma wave
#

yeah true

old wyvern
#

Not really

lunar cypress
#

doesn't really make a difference I think

old wyvern
#

The minimum one

lunar cypress
#

?

prisma wave
#

the problem is that (a, b) a or b have an upper bound of 10^50

old wyvern
#

One sec

prisma wave
#

so brute forcing isn't an option

lunar cypress
#

oh yeah i see what you mean yugi

prisma wave
#

bottom-up might work

regal gale
#

There has to be something at the cross-bottom

lunar cypress
#

I think Yugi's idea might actually be all you need now that I think about it

#

it seems well-defined

prisma wave
#

Yeah I think you're right

#

a node is either gonna have 1 parent, or we can just take the minimum

#

actually a node always only has 1 parent

#

lol

regal gale
#

So is this solved?

prisma wave
#

Haven't implemented it yet

#

But I think so

#

I'll send the full question if you want to try, but it's worded pretty weirdly

regal gale
#

This is my probably "stupid" thought: (I will start from left only):
At the branch 2,3,6: 3 x 6 : 2 = 3+6

#

At branch 6,15,10: 15 x 10 / 6 = 15 + 10

prisma wave
#

uhh

#

Im pretty sure there is a pattern there

#

There definitely is on the edges

lunar cypress
#

got a 6 line clojure solution

regal gale
#

👀

lunar cypress
#

but trivial to do in java, kotlin or anything else with some fp support as well I think

old wyvern
#

Yea they only allow java or python

prisma wave
#

python's FP is worse than Java's

#

So

#

Yeah

#

no 6 liners today 🥲

old wyvern
#

I mean it shouldnt be too much, I think

prisma wave
#

probably not

lunar cypress
prisma wave
#

lemme try solve first

#

no spoilers yet

lunar cypress
#

that's why I marked as spoilers 😛

#

Depending on the number of steps this solution could (and probably should) be more geared towards counting steps efficiency of course

prisma wave
#

hmm

#

yeah

#

4/5 tests pass

#

i suspect it's timing out

lunar cypress
#

what did you do?

prisma wave
#
def solution(x, y):
    ix = int(x)
    iy = int(y)

    if ix % 2 == iy % 2:
        return "impossible" # Cannot both be odd/even
    
    steps = 0
    while True:
        if ix > iy:
            ix -= iy
        else: # ix !== iy
            iy -= ix

        steps+=1

        if ix == 1 and iy == 1:
            return str(steps)
        if ix < 1 or iy < 1:
            return "impossible"
#

messy

#

but seems to mostly work

#

definitely timing out with big numbers though

old wyvern
#

Are the impossible cases mentioned in the question?

regal gale
#

Spigot doesn't handle well with EntityDamageByBlockEvent with cactus...

prisma wave
#

it doesn't say the impossible cases, no

regal gale
#

Make my arduino almost get screwed up everytime

prisma wave
#

apart from 1, being 2 and 4

#

which is solved by the first case

#

i think i can use division + modulus here

lunar cypress
#

probably

prisma wave
#

yeah that worked

#

super hacky

obtuse gale
#

20 ticks per sec right?

surreal quarry
#

yea

obtuse gale
#

so what does that make one tick

surreal quarry
#

or at least if the server isn't lagging

obtuse gale
#

like .05 secs

surreal quarry
#

whatever 1/20th is

obtuse gale
#

ok 50 milliseconds

#

I think my codes too slow for this to look smooth

#

hm

prisma wave
#

wow the clojure version is much cleaner lmao

#

although possibly not as fast

#

hot

#

ty for help

obtuse gale
#

println("Time taken: ${System.currentTimeMillis() - start}")

#

is this not how you measure time?

stuck harbor
lunar cypress
prisma wave
#

uh

#

it didn't say any of the large inputs

obtuse gale
prisma wave
#

but they could go up to 10^50

prisma wave
stuck harbor
#

ohhh nice

#

i cba trying to get into that lol

prisma wave
#

ok @lunar cypress 10^50 and 19

surreal quarry
#

thats foobar?

stuck harbor
#

if i wanted a job at google i could just apply like

prisma wave
#

pretty much instant for me

#

yeah

lunar cypress
#

10^50 bruh

surreal quarry
#

i thought foobar was like replace every multiple of 5 with foo, 7 with bar and both with foobar

lunar cypress
#

python moment

prisma wave
#

lol

prisma wave
#

wait

#

yeah

stuck harbor
prisma wave
#

but the google thing is named after that

surreal quarry
#

ah ok

prisma wave
#

Mine gave the result 5263157894736842028592123087154665966662968147976

stuck harbor
#

also that sounds like fizzbuzz but foobar style to me

surreal quarry
#

or i guess thats technically called fizbuzz

prisma wave
#

yeah

#

foo and bar are just dummy names

surreal quarry
#

yea

stuck harbor
#

mhm

#

like a programmer's lorem ipsum

#

but even more boring

obtuse gale
#

how tf am i sup[posed to measure how long code takes

stuck harbor
#

uhhh

surreal quarry
#

you could make a sexy fizzbuzz with kotlin collection extensions

stuck harbor
#

ive wondered that for a long time aj

#

i still dont know for sure

obtuse gale
#

I thought is was startTime - System.currentTimeMillis()

surreal quarry
obtuse gale
#

o

#

thats a thing

surreal quarry
#

its current - start

#

but just use the kotlin one

stuck harbor
#

i will run every function in my plugin async just to mess with people

#

yeet

surreal quarry
#
time = measureTimeMillis {
    blah()
}
print(time)```
obtuse gale
#

so do i just put all my code in the consumer or whatever?

#

o

surreal quarry
#

also if you need it to return a result thats possible, but its a different method and i am blanking on the name

prisma wave
#

measureTimedValue or something iirc

surreal quarry
#

yea that

obtuse gale
#

why tf is the time taken 0

#

is it because its in a bukkit scheduler or smthn?

#

surely not

hot hull
#

It's called speeeeeeeed

surreal quarry
#

could be lol

#

send how you're using it

stuck harbor
#

0ms seems odd

old wyvern
#

Might be in nanoseconds

stuck harbor
#

try it µseconds

#

if it turns out to be like 0.0001*10^-6 haha

lunar cypress
#

@prisma wave yeah 10^50 takes a while lmfao

surreal quarry
#

yea you could measureNanoTime or whatever it is

obtuse gale
#

ill try that

#

but i call bullshit that its that fast, im doing stuff with images

surreal quarry
#

lol

stuck harbor
#
while(true) {
  calculatePi()
}
``` turns out to be 1ms
old wyvern
stuck harbor
#

how does it calculate a time when its an infinite loop?

#

don't ask

prisma wave
#

kinda crazy how using modulos changed from 1m+ runtime to less than a second

surreal quarry
old wyvern
#

Yea it does a lot if one no. is very small and the other is very large

prisma wave
#

yeah a lot of repetition

lunar cypress
#

yup

#

in the case of 10^50... a lot of repetition

obtuse gale
#

how many nano seconds in a ms

hot hull
#

1000 ?

obtuse gale
#

nag

#

nah

quiet depot
#

1 mil

obtuse gale
#

its 1000000

#

yaeh

stuck harbor
#

well nano is *10^-6

hot hull
#

ffs

#

Sorry for ghost ping <3, @ocean quartz Why does it break randomly sometimes

stuck harbor
#

thats a good bug report

#
Report: plugin broken
To reproduce: use plugin
hot hull
#

Nah he knows what I'm talking bout

surreal quarry
#

frostman what are you using as your message

#

its never broken for me before

hot hull
#
"[&a&l| &aSell Booster Bonus! &7(+${amount})](hover: &b&l| &fOwner: &b{owner}\n&b&l| &fDuration: &b{duration}\n&b&l| &fMagnitude: &b{magnitude}x)"
#

I'm probably just blind

surreal quarry
#

\n breaks it?

#

actually does it support new lines

prisma wave
#

aah the pain of using \n in bungee chat api

hot hull
#

It didn't break it before

#

Which confuses me

surreal quarry
#

is that a config string or is it in your ide

#

if its ide i think you need a \\n

hot hull
#

config

#

Imagine hardcoding messages, ew

stuck harbor
#

uhhh

#

ummm

#

slowly runs

hot hull
#

Lemme see if it works on the other one now

#

They work fine, but just break on that one message

surreal quarry
#

i wonder if its cause of the colons?

stuck harbor
#

why use \n when you can use \t\n

#

wait no

surreal quarry
#

it thinks its a new thing to do inside the ()[]

hot hull
#

They break on these two, but work on all the rest

booster-message:
  shop-sell-message: [
    "[&a&l| &aSell Booster Bonus! &7(+${amount})](hover: &b&l| &fOwner: &b{owner}\n&b&l| &fDuration: &b{duration}\n&b&l| &fMagnitude: &b{magnitude}x)"
  ]
  shop-buy-message: [
    "[&a&l| &aDiscount Booster Bonus! &7(+${amount})](hover: &b&l| &fOwner: &b{owner}\n&b&l| &fDuration: &b{duration}\n&b&l| &fMagnitude&8: &b{magnitude}x)"
  ]
#

Lemme remove these and see

(+${amount})

stuck harbor
#

why use \n when you can use \r\n

#

thats better

hot hull
#

Nope it's not that

#

I'm so confused

surreal quarry
#

i think its cause those two have colons

hot hull
#

James, I just tested it and it's not

surreal quarry
#

i thought you tested the amount thing

#

nvm then

hot hull
#

Yea I removed the entire ()

#

for the amount

#

Could it be the x

surreal quarry
#

no thats not what i meant

#

like i think because you have a | it thinks its multiple actions and breaks

hot hull
#

You mean {} ?

#

oh

surreal quarry
#

try escaping the |

hot hull
#

single escape or twice

surreal quarry
#

once should be fine since its a config

hot hull
#

Why must you hurt me this way

#

Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning a double-quoted scalar
in 'string', line 3, column 5:
"[&c&l| &cInvalid Booster!](hove ...

surreal quarry
#

maybe 2 then?

#

im confused

hot hull
#

same

surreal quarry
#

but you definitely need to escape the |

#

im like 99.9% positive thats the issue

hot hull
#

Yea double escape fixed it

#

I think

surreal quarry
#

nice

hot hull
#

It's not nice, that difference between first and second, and second and third line bothers me

surreal quarry
#

ngl i dont think you can fix that lmao

old wyvern
#

try a newline at start and end

hot hull
#

hmm, would it look cool if it displayed the info in the actionbar when you hovered over (if that's even doable)

hot hull
#

Any help pl0x I'm confused

#

Debugged it in console and it's as it should be

&b&l\\| &bMCMMO_GAIN&7, \n&b&l\\| &bSELL&7, \n&b&l\\| &bCROP_GROWTH&7, \n&b&l\\| &bMOB_DROPS&7, \n&b&l\\| &bDISCOUNT&7, \n
surreal quarry
#

whats hte issue?

#

the underscore disspears?

hot hull
#

Yea and the color is set to white

surreal quarry
#

weird

hot hull
#

Honestly not sure what could be the issue

steel heart
#

can you expose more code frosty

hot hull
#

Not sure if it's a code issue to be honest

#

I've printed out every step and it shows up properly

#

Cause like if it were a code issue the mobs drops one would also be breaking

#

But I legit can not figure out what the issue is for the life of me

hot hull
#

Yea

ocean quartz
hot hull
#

Go on

ocean quartz
#

Try escaping the _ it's not intentional btw I'll fix it soon

hot hull
#

I thought I already tried that, but lemme try again

#

Needed a double escape, but yea it worked :))

ocean quartz
#

Need to fix that, when i made __ work between words i broke _

hot hull
#

Shouldn't that be fixed by disabling the italic format tho?

ocean quartz
#

Not exactly

hot hull
#

Ah

ocean quartz
#

Because the formats disable rendering but not parsing

hot hull
#

Wouldn't it make more sense to disable parsing as well? :p

ocean quartz
#

It would, but I'd need to figure how to do that

hot hull
#

oof

surreal quarry
half harness
#

oof

#

jitpack issues is 90% spam

surreal quarry
#

idk why people cant just upload their stuff to a maven repo

#

i hate having to use jitpack

steel heart
#

like for god sake, upload it to my mavenLocal

#

damn devs

surreal quarry
#

fr smh

blazing walrus
#

oh-

half harness
blazing walrus
#

😤

half harness
#

welp

#

now 9 results

blazing walrus
#

😅

half harness
#

😭 I spent 2 hours trying to figure out why my plugin wasn't working, and guess what the issue was:

surreal quarry
#

you aren't tier 5?

half harness
#

nope 😦

surreal quarry
#

what was it lol

half harness
#

oh

#

i was using plugman

surreal quarry
#

LMAO

#

thats on you

half harness
#

😢

surreal quarry
#

it takes like 5 seconds to restart a dev server

half harness
#

the thing was

#

30 seconds for me

surreal quarry
#

plugman is not worth it at all

half harness
#

because i have plugins like placeholder api because of dependencies

#

well

#

i made hundreds of small changes

#

and then after a few hours

#

I started getting annoyed

#

and used plugman

#

I go out do something

#

come back to my computer, test my plugin (it was working PERFECTLY, and I was going to play the game with friends)

#

and it wasn't working.

#

and so I was like "uhhh so it doesn't work anymore thonking"

#

._.

hot hull
static zealot
#

but also very far

#

at the same time

#

so yeah my message was not needed at all I'm just farming xp

hot hull
#

Lmao

#

Need to somehow figure out proper new lines within lore

ocean quartz
#

New lines should be just \n or \\n in the ide

hot hull
#

Now what I mean

#

I have a description placeholder, and I need to dynamically adjust it to match the right lore size

#

Nbt, I'm not a fucking madman

oblique heath
#

sweats nervously

obtuse gale
#

Since I told you how to lol

oblique heath
#

tell me how too 😭

ocean quartz
obtuse gale
#

If you're using NBT you have to serialize them to JSON

#

Into {display: {Lore: [ /* JSON components */ ]}}

oblique heath
#

i see

obtuse gale
#

But that's nbt so lols

oblique heath
#

is there any real advantage to using NBT over the api methods

static zealot
#

no

prisma wave
#

the api methods are NBT

#

just with a nicer interface

oblique heath
#

so why bother with NBT for lore at all

static zealot
#

well just don't

oblique heath
#

fair enough xd

half harness
#

rip

prisma wave
#

@obtuse gale

#

wasn't me

half harness
#

🥲

steel heart
#

@obtuse gale

#

Idk

#

Was gonna tell u it wasn’t me

forest pecan
#

did you ping me

#

conclure

#

@steel heart

#

enjoy the ping

#

you dumbo

obtuse gale
#

@forest pecan

static zealot
#

@forest pecan. @obtuse gale pinged you.

obtuse gale
#

@forest pecan

static zealot
#

just being a nice community member and letting you know

forest pecan
#

@everyone

loud gyroBOT
#

The 'everyone' mention is disabled so you can't annoy people.

forest pecan
#

bro stfu

obtuse gale
#

@static zealot don't ping @forest pecan please thanks

forest pecan
#

@static zealot @obtuse gale holy shit stop pinging @forest pecan please

obtuse gale
#

dev-general

forest pecan
#

its very general

prisma wave
#

@forest pecan @static zealot @obtuse gale holy shit stop pinging @forest pecan please

static zealot
static zealot
obtuse gale
#

@forest pecan @static zealot pinged @obtuse gale please stop @prisma wave @static zealot @forest pecan @prisma wave

prisma wave
#

who's @forest pecan ?

ocean quartz
#

Why do you all love to spam, holy shit

obtuse gale
#

@forest pecan

prisma wave
#

oh that explains it

obtuse gale
#

@ocean quartz hi

ocean quartz
#

@obtuse gale Congratz lol

forest pecan
#

Fefo got muted

#

XD

prisma wave
#

lmaooo

#

did barry do it

static zealot
#

ye he did

#

yeah

prisma wave
#

🤣

#

imagine getting muted for spam

#

couldnt be me

old wyvern
#

There was a mute here?

#

xD

static zealot
#

Oliver got muted for mass pinging

#

xD

prisma wave
#

🥲

#

reminds me of this terrible event

static zealot
#

xD

#

Niall is kinda used with that lmao

prisma wave
#

niall gets muted all the time lmao

static zealot
#

oh damn

#

pressed to open IJ like 2 minutes ago

#

and it just opened

#

I didn't know why for a second

#

lmao

prisma wave
#

🥶

static zealot
#

I really messed up my laptop by playing BattleFront II on it

#

at 3-7 FPS

stuck harbor
#

mhm

static zealot
#

it was a fun experience

#

even on medium difficulty it was a bit hard xD

#

all those screen freezes

forest pecan
#

anyone here know bfs cringe

obtuse gale
#

Hi

#

I am back

forest pecan
#

Hi

obtuse gale
#

:')

forest pecan
#

@obtuse gale

obtuse gale
#

I'm scared of pinging lol

forest pecan
#

so

#

that means

#

you are a bot?

#

cause the bot identified you

#

as a bot

#

so you = bot?

obtuse gale
#

Means I learned my lesson

#

@PulseBeat_02#6969

#

Bruh

#

Fuck mobile lol

static zealot
#

xD

forest pecan
static zealot
#

he's a Drug Dealer now

forest pecan
prisma wave
#

helpful role should be immune from the spam protection

obtuse gale
#

What you got?

forest pecan
#

Hm

#

white sauce

static zealot
obtuse gale
#

I am in dire need of some cocaine

#

Oh

#

Okay

static zealot
#

like the ones made out of carrots

obtuse gale
static zealot
#

but its actually cianure

#

wait what's the english word

forest pecan
static zealot
#

ah

#

cyanide

#

that's tthe one

obtuse gale
#

Always was

#

Dumbo

half harness
#

What's a good PlaceholderAPI expansion class name?

forest pecan
#

Main

#

jkjkjkjk

#

xD

static zealot
half harness
#

I'm thinking PluginNamePAPIExpansion but thats super long

obtuse gale
#

PapiExpansion

static zealot
#

to much

half harness
static zealot
#

just PapiExpansion

forest pecan
#

PapiExpansionSomeShitInHereAndStuffAndAddiitionsAndOtherShitLol

obtuse gale
static zealot
#

some do PAPIHook

#

as well

half harness
#

Is something like BedwarsPAPIExpansion too long?

static zealot
#

but PAPIExpansion is better

obtuse gale
#

I can still reveal your messages

forest pecan
#

wait what

#

why block

#

lol

half harness
static zealot
#

I use PlaceholderAPIExpansion or Placeholders tho

forest pecan
#

what happened

obtuse gale
#

Because I can't stand his bullshit tbh

half harness
#

._ .

static zealot
#

yeah me neither

obtuse gale
#

lol

static zealot
#

that's why I didn't block him

#

I'm a masochist

#

just as he is

half harness
#

second time

#

I've seen that word

#

both today

#

👀

forest pecan
half harness
#

;-;

#

hows a 25 letter long class name?

#

lol

static zealot
#

long

half harness
#

:/

prisma wave
#

HasThisTypePatternTriedToSneakInSomeGenericOrParameterizedTypePatternMatchingStuffAnywhereVisitor

ocean quartz
obtuse gale
#

com.github.matt.triumph.chat.platform.common.api.impl.reflection.abstraction.collection.util.typetraits.parametrized.HasThisTypePatternTriedToSneakInSomeGenericOrParameterizedTypePatternMatchingStuffAnywhereVisitorFactoryProvider

half harness
#

is it possible to revert the update?

ocean quartz
#

Looks like a you problem

half harness
#

;-;

#

did u update

ocean quartz
#

Yes

static zealot
#

so how you doing?

half harness
#

hmm

half harness
#

what is that nick

static zealot
#

because they made me change the angle

#

in which I took my pfp

#

they said its a bit to obscene

half harness
#

uhh

static zealot
#

being a broom nowadays is obscene

half harness
#

had to restart ide

static zealot
#

did I tell you guys I learnt how to make gray images? Like gray scale or whatever its called from colored images?

#

I'm a pro developer now xD

half harness
#

intellij is really

#

just killing my pc

static zealot
#

oh 42%

ocean quartz
half harness
static zealot
old wyvern
half harness
#

imagine using imgur to post images here

static zealot
old wyvern
#

😮

#

🥲

half harness
ocean quartz
half harness
#

also i thought u guys use linux or something

ocean quartz
#

Bm does i think

old wyvern
static zealot
#

ye just censore those ||corn|| hub links

ocean quartz
winter iron
#

just me or codemc repo is dead

static zealot
#

Imagine using chrome smh

ocean quartz
#

I love chrome

static zealot
half harness
#

chrome is ew

#

even though i use edge

prisma wave
half harness
#

which is basically chromium

old wyvern
half harness
static zealot
#

xD

old wyvern
old wyvern
#

who even uses that

half harness
#

use dark mode

oblique heath
#

i use edge

old wyvern
#

I dont use edge

half harness
#

i use edge

oblique heath
#

you could call me...

#

edgy

#

🐒

ocean quartz
#

Edge is just chrome with a microsoft account

half harness
#

no

prisma wave
ocean quartz
#

It literally is just that lol

old wyvern
#

No

#

No

prisma wave
#

no

#

good idea

old wyvern
#

Shut up barry

half harness
static zealot
#

that's why I use Opera GX

half harness
#

;-;

old wyvern
#

How about Yu-Gi-Oh! GX

ocean quartz
half harness
#

maybe

static zealot
#

ram is not in percentage is it?

half harness
#

u can change

#

right click

old wyvern
static zealot
#

ah

half harness
#

resource values

static zealot
#

yeah saw it

half harness
#

i only have 8gb ram so it looks more in percent 😔

#

Also I've been opening up this project intellij for about 10 minutes now

#

"Gradle: Build model"

#

"Gradle: Download maven-metadata.xml"

#

repeat

static zealot
#

oh man what I love when every fucking plugin makes his own stats enable/disable folder

half harness
#

?

#

wdym by that

static zealot
#

I installed a plugin

#

and instead of using bstats

#

it uses its own custom shit and makes another folder

#

just for that

half harness
#

lol

static zealot
#

just use bstats ffs

#

its not the only one I've seen

#

I had like 4 of them using 4 different stuff

onyx loom
#

just dont use any stats plugin at all 🙂

static zealot
#

or that I guess

#

idk plugin stats are usually just to show off I guess

#

nothing else you can really use it unless you have your own market or advertise it on some sites like google adds xD

oblique heath
#

you can attach it to your github repo

#

so interviewers can see how cool you are

gleaming shell
#

Hey guys I just downloaded the plugin can we use the tags plugin for essentials chat?

ocean quartz
static zealot
#

thanks

#

yeah that too even tho I figured out which one it is

#

some might not

half harness
onyx loom
#

ok

half harness
#

lol

static zealot
#

Kaliber did you know we have 101 signs on our petition? tho cube still said no

onyx loom
#

ok

static zealot
#

no music yet 😦

onyx loom
#

oh is that the one with music?
ok f cube cba with his shit leaving this server omg what a dictation doesnt even wanna add a channel cant believe he wont just do it its just a channel that will be very useful like wtf

static zealot
#

lmaoo

#

I actually said no music just because I knew you'd change like that. its more than that but #music is one of the request.

forest pecan
#

Lets go

#

part 1 of level 2 finished for foo bar

oblique heath
#

is build.gradle = build.gradle.kts

forest pecan
#

No

#

they are different

oblique heath
#

aw

#

when i moved from maven to gradle i didn't get a build.gradle 😦

#

no fair mom says it's my turn on the build.gradle

ocean quartz
#

build.gradle.kts is gradle but with kotlin's dls

forest pecan
#

Its cause you selected Kotlin

#

instead of Groovy

oblique heath
#

should i have selected groovy instead

forest pecan
#

Yeah

oblique heath
#

oof

obtuse gale
#

"should" is kind of... meh

forest pecan
#

the point is they wanted build.gradle

#

not like should ya know

oblique heath
#

well i don't really know what I want

forest pecan
#

research about the two

oblique heath
#

groovy vs kotlin you mean?

forest pecan
#

Yes

obtuse gale
#

well all I know is that if you use groovy there is a chance the entire file will go warning yellow because it's shit kekw

forest pecan
#

lol

distant sun
lunar cypress
#

How to get alcohol poisoning 101

prisma wave
#

every time a rust program doesnt compile

#

dies within 30 seconds

lunar cypress
#

Literally

forest pecan
#

well

#

i passed level 2

#

i have a referrel link

#

hm

oblique heath
#

that's my favorite actor

#

will referrel

forest pecan
#

uhh

prisma wave
#

lol*

frigid badge
#

so how would I name this

#

it can either be enabled or disabled

#

State, Enablement, Enabledness?

oblique heath
#

state seems fine

frigid badge
#

could always also do something like
HasState or
Enableable
or some shit like that

forest pecan
#

in modding tutorials

frigid badge
#

what

forest pecan
#

nvm lol

distant sun
#

@hot hull

forest pecan
#

its smthing in mods

distant sun
#

He has exp with that

frigid badge
#

Nah I'm not following some tutorial lol

forest pecan
#

where bad tutorials make these weird ass interfaces idk how to explain them

#

lol

surreal quarry
#

ew IState

frigid badge
#

eh it's convention in this language iirc.

half harness
surreal quarry
#

people do it but thats kinda like saying interface interface state

frigid badge
#

@half harness convention of this language

forest pecan
#

imma die

#

i always hate that way of brackets lol

frigid badge
#

I mean I wanted to make it in c++ first

oblique heath
hot hull
frigid badge
#

but I wanted it too OOP

#

so chose c# instead

distant sun
#

Your class for one boolean smh @hot hull

surreal quarry
#

i feel like you should call it State then name your impls like BlahState, FooState, etc, but i guess that may just be my personal preference

half harness
#

^ i agree with James

hot hull
#

It's not the entire thing smh

forest pecan
#

make a class for another class

#

lol

frigid badge
#

there's no such thing as BlahState or FooState

half harness
#

StateImpl

hot hull
#

This was why I had to be pinged at 1am

frigid badge
#

it's an interface which can be implemented by an implementation of an abstract class

hot hull
#

Smh Gaby

surreal quarry
#

thats gross too dkim

half harness
surreal quarry
#

i personally would call it State or Stateful or something

#

but its up to you ¯_(ツ)_/¯

distant sun
#

Give it a german name

#

Statechon

forest pecan
#

nah give it some underscores and dollar signs you should be set then

frigid badge
#

I could call it Stateful

forest pecan
#

lol

frigid badge
#

and have ILoop be Loopable

oblique heath
#

State-chan😚

frigid badge
#

but that isn't convention

#

and I can change it afterwards anyway

#

I just needed a quick word for what to use

surreal quarry
#

yea its probably best to follow convention

frigid badge
#

not that it matters since this is a personal project

surreal quarry
#

I also just noticed this is c#

half harness
#

wait

frigid badge
#

n not for work

half harness
#

n

forest pecan
#

that's prolly why then

#

the shitty conventions in C#

frigid badge
#

yeah

#

c# is ugly af

#

I dislike it mucho

forest pecan
#

muy mal

frigid badge
#

but I mean so is kotlin

#

but c# is uglier than kotlin

#

I must say

oblique heath
#

careful what you say about kotlin in these parts

frigid badge
#

the naming conventions make no sense

oblique heath
#

🥶

frigid badge
#

in c#

surreal quarry
#

what do you dislike about kotlin lol

frigid badge
#

I've had so many discussions with my boss (who's a c# fan). But you just can't get through them.

#

@surreal quarry that it's ugly. It's a great language just ugly

surreal quarry
#

interesting

half harness
#

😮

surreal quarry
#

i kinda like the syntax but its probably personal preference again

frigid badge
#

but I find many languages ugly so eh

surreal quarry
#

fair enough lol

frigid badge
#

yet I use em all the time

distant sun
frigid badge
#

Was sagst du?

distant sun
#

Fuck you too

frigid badge
#

Ich finde das nicht liebe

#

Idk if that's even correct lmfao

distant sun
#

Say it it english if you got balls

#

smh

#

We are doing C next semester o.o

frigid badge
#

that's fun

distant sun
#

malloc(gabytm);

frigid badge
#

memory leaks incoming

#

and ofc

#

segmentation fault

#

😉

distant sun
#

🤣 🤣

forest pecan
#

i got rick rolled by a frito-lay ad

surreal quarry
#

L

ocean quartz
#

This may sound dumb, but is there a way to have a dependency that is compileOnly and testImplementation at the same time? thonking

#

Unit testing spigot plugin is ass

obtuse gale
#

You can do both...

ocean quartz
#

Yes, but without repeating

obtuse gale
#

Lazy ass

ocean quartz
#

Not question of being lazy, just DRY

obtuse gale
#

It's literally just one line wtf

#

I don't see how DRY applies, tests are their own kinda thing

ocean quartz
#

Like:

compileOnly "me.mattstudios:triumph-config:1.0.5-SNAPSHOT"
testImplementation "me.mattstudios:triumph-config:1.0.5-SNAPSHOT"

When every i need to change versions gotta change both and stuff like that, was just curious if there was a way to do it with one keyword
Yes lazyness

obtuse gale
#

Can't you define the version in a variable/constant/placeholder/whatever above?

ocean quartz
#

Yeah

obtuse gale
#

But...?

obtuse gale
#

lol

ocean quartz
#

Just don't like having both there xD

ocean quartz
#

@surreal quarry TriumphChat is kinda usable now, since you asked a few days ago thought i'd let you know
Still a lot of things incomplete, i'd call it an alpha
But basic stuff works, formats, normal chatting, pm, reply, social spy

surreal quarry
#

nice

#

just build master i assume?

ocean quartz
#

Yeah

#

Let me know if you find any bugs xD

forest pecan
#

So apparantly

#

Foo Bar is just another pronunciation of fubar

#

which means

#

Fucked
Up
Beyond
All
Repair

obtuse gale
#

I didn't get no foobar crap

forest pecan
#

Lol

obtuse gale
surreal quarry
#

unLucky

obtuse gale
#

Bruh Gson is being a bitch

#

I have this crappy yml I'm loading with snakeyaml which loads it into linkedhashmaps and arraylists I think? https://hatebin.com/srpogakvzh
so my plan was to make use of the amazing type system gson has so I would give the map to gson to serialize to a string or a jsonelement, whatever, and then deserialize to the types I want with a registered typeadapter

hot hull
#

Get gud

obtuse gale
#

Bitchy gson throws SOE

#

when serializing the "raw" map, hasn't even reached the typeadapter yet

#

The map snakeyaml reads is completely well formed, there are no oddities and it reflects perfectly the data in the yml

#

Console just nyoooms with a soe

#

? Anything wrong?

#

tf is that map

#

The yml linked above lmao

#

I thought gson was smart enough to figure out the structure of it by itself

#

It wasn't

#

So I had to tell it what it looks like lol

hot hull
#

Anyone got any suggestions as to how I should approach new linning a string in the same style?

    - " &7&l| &f%boosters_booster-description_{type}%"

This would be my list, the placeholder would return ie.

a shop oriented booster which multiplies; shop sells by the given booster magnitude

Using ; as a newline right now as using \n on lore just breaks everything,
So would splitting there, and removing the placeholder to get the style be "clean" enough or is there any better ways

hot hull
#

ew @distant sun why is there a ;

distant sun
#

what

hot hull
#

in ur name

distant sun
#

you guys are stupid

hot hull
#

rude :C

distant sun
#

is a C method

obtuse gale
#

Oh yeah

#

Typeless pointers

#

Love them

distant sun
#

:))

#

fucking pointers

hot hull
obtuse gale
#

1 hours

#

Nice

hot hull
#

Yea need to add plurals and shit

#

Thanks for reminding me fingerguns

distant sun
#

"magnitude" that's too fancy for a mc server lol

#

is called Multiplier dumbo

oak coyote
#

Yeah if you use any advanced words they just cry

hot hull
#

smh

jovial warren
obtuse gale
#

is tisnt "magnitude" vectors slogan

hot hull
#

"is tisnt"

#

what

obtuse gale
#

*isn't

nova venture
#

Does anyone know how i can use Vault with Mysql

#

because i dont find anything on Vault Mysql

obtuse gale
#

What are you tryna do with vault and mysql?

half harness
hot hull
#

;C

half harness
hot hull
#

1.8 sucks

half harness
#

i meant

#

why did u code it in 1.8

hot hull
#

Because it was a commission?

half harness
#

👀

#

o

#

nice