#dev-general

1 messages Β· Page 287 of 1

regal gale
#

Sublime doesn't have enough interface for my need

prisma wave
#

Unless they get rid of electron

static zealot
#

no its not Frosty

hot hull
#

Hovers usually only look good if they're lowkey

static zealot
#

I'll push to github and send you link

hot hull
#

I can't remember if I put hovers on the site I made

#

Can't check rn so rip

static zealot
#

the bag one?

hot hull
#

Yea

regal gale
#

It's better suited with matching color imo

static zealot
#

you do have hovers over the nav bar buttons

#

and the big blue button

#

that says View our product

hot hull
#

The nav hovers yea

#

Clean and modern

static zealot
#

I don't have a nav bar. yet at least

#

I just hate the footer. Like I can't get one that just goes to the bottom.

#

tried flex boxes, positions etc.

hot hull
#

Ayy internet back

static zealot
#

nice

prisma wave
#

Nice

hot hull
#

Oh wait those are not the hovers I thought they were

#

Guess I didn't change it, anyways, just have a small line appear under it when you hover

old wyvern
distant sun
#

fucking py

jovial warren
#

oh that's not even the worst of it

#

wait until you see mine

stuck harbor
#

πŸ™‚ py

jovial warren
#

yeah gl beating 88 chars

distant sun
#

looool

stuck harbor
#

my pp too big for shortest mode

jovial warren
#

@obtuse gale share code xD

#

come on BM you got this

#

BM hasn't finished yet

old wyvern
#

I think he stopped

#

oh wait

#

no

stuck harbor
#

why is this CoC in two channels?

jovial warren
#

still trying to think of ways I could make that shorter

old wyvern
#

I saw him asking stuff about clojure so I thought he left the game

stuck harbor
#

clojure just existsts

prisma wave
#

lol

#

clojure πŸ™‚ 😦

jovial warren
#

my code is fucking horrible, but it works lol

stuck harbor
#

mmhmmm

prisma wave
#

shouldve used clojure

stuck harbor
#

yesss reverse

onyx loom
#

emacs lisp

prisma wave
#

i love emacs lisp

onyx loom
#

me too πŸ™‚

prisma wave
#

.el

#

πŸ™‚

jovial warren
#

this was easy

#

||just iterate for the amount of times supplied to you, and replace _ with the word once in each iteration||

prisma wave
#

tricky to do functionally

old wyvern
#

Haskell πŸ™‚

jovial warren
#

||if you passed the first test case but not the second, check how many times you're replacing, if you run replace it'll find all occurences and replace all of them||

#

alright

#

I'll try

#

||hint: for Java and Kotlin, try replaceFirst||

#

yeah you didn't write that

#

xD

#

gaby share code

#

and removed an unnecessary if statement

#

imagine using i in 0 until n

#

i in 0..n

distant sun
#

smh

jovial warren
#

Python is so nice for these

onyx loom
#

isnt intrange inclusive bardy?

old wyvern
#

dammit

jovial warren
onyx loom
#

idk man im looking at it right now

old wyvern
#

Why didnt that work πŸ₯²

onyx loom
jovial warren
#

it's inclusive lower, exclusive upper

prisma wave
#

lol

#

oh we ran out of time

#

rip

jovial warren
#

oof

prisma wave
#

clojure killed me there

jovial warren
#

I did this in 3 minutes

prisma wave
#
(defn -main [& args]
  (let [statement (read-line)
        n (Integer/parseInt (read-line))
        parts (repeatedly n read-line)]
    (debug parts)
    (->> (str/split statement #"_")
        (map-indexed #(concat (get parts %1) %2))
        (map #(apply str %))
        (str/join "")
        (output))))
jovial warren
#

Python ez

prisma wave
#

not sure what i did wrong 😦

jovial warren
#

maybe ask an expert, because that is completely unreadable for me

distant sun
prisma wave
#

lmao

distant sun
#

(:

onyx loom
#

u tell him gaby!

prisma wave
#

i was close

#

it just wasnt replacing properly

#

it replaced with

onyx loom
#

classic clojure if u ask me

old wyvern
#

Why does haskell keep letting me down

#
main :: IO ()
main = do
    hSetBuffering stdout NoBuffering

    statement <- getLine
    input_line <- getLine
    let n = read input_line :: Int
    let w = splitOn " " input_line

    inp <- replicateM n getLine

    putStrLn (iter w inp)
    return ()

iter (x: xs) (y: ys)
        | x == "_" = y ++ (iter xs ys)
        | otherwise = (iter xs (y : ys))
iter [] (y: ys) = []
iter (x: xs) [] = []
iter [] [] = []
#

πŸ™

prisma wave
#

we are kinda embarassing ourselves here

jovial warren
#

lol

prisma wave
#

not representing the ivory tower very well 😦

old wyvern
#

😩

jovial warren
#

no idea how one found this difficult

old wyvern
#

I mean that function should have worked

prisma wave
#

😦

old wyvern
#

But it keeps giving an empty list

jovial warren
#

for Python, it basically already gave me the code

old wyvern
#

Oh wait

#

Ik why

#

Im dumb

#

Ffs

prisma wave
#

ugh i fixed mine

#

i was using get instead of nth

#

😦

old wyvern
#

Ill join later efe

#

My brother has an exam now

jovial warren
#

@prisma wave does PDM support bungee?

prisma wave
#

in theory

#

I've never tested it outside of spigot though

jovial warren
#

because PluginDependencyManager.of takes a Spigot Plugin

prisma wave
#

indeed

#

The builder doesn't though

#

I'm not sure if that will error or not

#

If it does I can make a minor adjustment

jovial warren
#

how do I do it then?

prisma wave
#

With the builder

#

Configure all the stuff manually

jovial warren
#
PluginDependencyManager.builder().classLoader().build()
```?
#

or do I need more than that

#

ah I see what it needs

prisma wave
#

I think it needs pretty much everything

jovial warren
#

can I leave cache config as default?

distant sun
onyx loom
#

ur beautiful

distant sun
#

you too kalibear

prisma wave
jovial warren
#

alrighty, after quite a few hours, test run #1 is a go lol

stuck harbor
#

that better not be on the AUR yet

#

damn it is

#

welp

#

gonna have to update sometime

jovial warren
#

yay -Syu?

remote goblet
rustic tangle
#

Hi, i've written a simple warp gui skript and when i use it with no warp-tp-delay it works fine, but as soon as i add a delay it stops working and creates error messages in my console. Can someone help me with this? here is the skript: https://pastebin.com/ePDAK1Uq and here's the console error: https://pastebin.com/GCF598rX

prisma wave
#

Jetbrains toolbox

remote goblet
#

We dont help with skript as majority of people here dont like it

rustic tangle
#

okay thx, i'll do that

jovial warren
#

@prisma wave [12:30:05 WARN] [BexwingRewards]: There were no dependencies to load! This might be intentional, but if not, check your dependencies configuration! wat dis mean

#

I got the code that does the loading

#

actually I might know

#

I'm calling it async

#

which means the dependencies that the function right after that needs aren't loaded yet

prisma wave
#

no

#

That's not what It means

#

It means dependencies.json or whatever you've set to use is empty

jovial warren
#

I don't have a dependencies.json

prisma wave
#

o

#

Why not

jovial warren
#

didn't know you needed one

#

the plugin I'm using as a reference doesn't have one

prisma wave
#

It's generated by the plugin usually

jovial warren
#

also, haven't got that again

prisma wave
#

But you have to tell pdm to use it if you don't use of(Plugin)

jovial warren
#

but did get an NPE

stuck harbor
#

idk why

jovial warren
#

yeah got the no dependencies to load again

prisma wave
#

Send your code

jovial warren
#
    private fun loadDependencies() {
        logger.info("Loading dependencies, please wait...")
        val dependencyManager = PluginDependencyManager.builder()
            .applicationName(description.name)
            .applicationVersion(description.version)
            .classLoader(javaClass.classLoader as URLClassLoader)
            .rootDirectory(dataFolder.parentFile)
            .dependenciesResource(getResourceAsStream(PluginDependencyManager.Builder.DEPENDENCIES_RESOURCE_NAME))
            .loggerFactory { logger }
            .build()
        dependencyManager.loadAllDependencies().join()
        logger.info("Dependencies successfully loaded!")
    }
#

ah, I see

#

how does of generate that for you?

prisma wave
#

look at the source lol

jovial warren
#

I am

prisma wave
#

It just does all of the boilerplate based on stuff from the plugin

#

wait generate what?

jovial warren
#

dependencies.json

prisma wave
#

the Gradle plugin generates dependencies.json

#

then the runtime reads it so it knows what to download

jovial warren
#

how do I make it generate that?

#

I'm running gradle pdm build

prisma wave
#

it should do it then

jovial warren
#

it generates it for the Bungee plugin, I can see it in build/resources/main

#

so why tf isn't it loading it

heady birch
#

I am happy to open source, but a couple things annoy me:

  • "please add this feature why wont you add this feature I cant code so I cant add it"
  • "hey can you help me because I didn't read the manual properly."
  • hey I brought this a year ago can I get a refund (should be fine due to 6 month period)
jovial warren
#

just ignore those

#

or I can help you deal with them lol

prisma wave
jovial warren
#

imagine making a plugin in Java 11 and using Files.readString, only to find out that's not available on the server that uses Java 8

hot hull
#

Sucks for them lmao

jovial warren
#

sucks for me more like

prisma wave
#

kotlin tho

jovial warren
#

imagine not using Kotlin KEKW

hot hull
#

Imagine using kotlin

#

@obtuse gale What file was xml thonking

old wyvern
#

Hmm

#

Why does the top langs thing say my top lang is js...

#

πŸ˜•

onyx loom
onyx loom
#

lol

jovial warren
#

any idea how to read and write JSON with kotlinx.serialization?

#

tried to load the JSON with ```kotlin
private fun readJSON(file: File): String {
val reader = FileReader(file)
return reader.use { it.readText() }
}

old wyvern
#

How do I have more js

#

πŸ˜‚

onyx loom
#

what u mean

#

u have 45 java and 6 js?

jovial warren
#

idk about you, but I think 45 > 6

onyx loom
#

lol

old wyvern
#

Yea

onyx loom
#

oh i see the link

old wyvern
#

Look at what I sent

jovial warren
#

maybe that is code-based?

onyx loom
#

that website borked

old wyvern
#

Even in code

#

Each of those js repos barely have like 5-6 files maybe

#

js files I mean

#

how does this thing calculate this ? xD

#

Oh wait

#

I think know why

regal gale
#

Extension probably?

old wyvern
#

Things like bootstrap and shit

#

Probably

#

Otherwise its broken

prisma wave
#

if it's failing to parse then that's an unrelated issue

#

ktx.serialization doesnt handle reading and writing, it handles serialization and deserialization

distant sun
#

list.sublist(0, list.size() -2) would copy the list without the last element, right?

hot hull
#

You'd think that in theory this would work, but it don't do jack shit, do I seriously have to set every item again myself when I want to update it or am I missing something?

    public void initializeUpdateInterval() {
        new BukkitRunnable() {
            @Override
            public void run() {
                if (menu.getInventory().getViewers().isEmpty()) {
                    cancel();
                    return;
                }

                menu.update();
            }
        }.runTaskTimer(plugin, 20L, 20L);
    }
jovial warren
prisma wave
#

d'accord

distant sun
#

coolio

quiet depot
#

d;list#sublist(int, int)

ruby craterBOT
#
List<E> subList(intΒ fromIndex, intΒ toIndex)
throws IndexOutOfBoundsException```
Description:

Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive. (If fromIndex and toIndex are equal, the returned list is empty.) The returned list is backed by this list, so non-structural changes in the returned list are reflected in this list, and vice-versa. The returned list supports all of the optional list operations supported by this list.

This method eliminates the need for explicit range operations (of the sort that commonly exist for arrays). Any operation that expects a list can be used as a range operation by passing a subList view instead of a whole list. For example, the following idiom removes a range of elements from a list:
list.subList(from, to).clear(); Similar idioms may be constructed for indexOf and lastIndexOf, and all of the algorithms in the Collections class can be applied to a subList.

The semantics of the list returned by this method become...

This description has been shortened as it was too long.

Parameters:

toIndex - high endpoint (exclusive) of the subList
fromIndex - low endpoint (inclusive) of the subList

Throws:

IndexOutOfBoundsException - for an illegal endpoint index value (fromIndex < 0 || toIndex > size || fromIndex > toIndex)

Returns:

a view of the specified range within this list

quiet depot
#

^ was just checking if it was inclusive or not

hot hull
#

Piggy, go test my stuff, it probably works

quiet depot
#

test it urself

#

it's so easy to test frosty

#

i'm happy to help you set it up

hot hull
#

I'm stoopid so idk

quiet depot
#

do you have mysql installed?

hot hull
#

Nop

#

Gimme a bit I'll do that first

frigid badge
#

no

#

bad

#

docker

hot hull
#

Lemmo I will shoot you

frigid badge
#

no

#

use docker

hot hull
#

Lambo broke down, need to pay 50 grand for repairs now

frigid badge
#

why install everything

#

lmao

hot hull
#

This is your fault

frigid badge
#

when I sell my GME I'll pay for the repairs

hot hull
#

Aprox timeline

frigid badge
#

when the squeeze squoze

hot hull
#

I don't know man, I really need this lambo, since I go places every day, ie. from my room to my pc

frigid badge
#

lmao

hot hull
#

Can someone tell me why my fucking gui doesn't wanna update

    public void initializeUpdateInterval() {
        new BukkitRunnable() {
            @Override
            public void run() {
                if (menu.getInventory().getViewers().isEmpty()) {
                    System.out.println("No viewers, cancelled updating");
                    cancel();
                    return;
                }

                menu.getCurrentPageItems().forEach(menu::updateItem);
            }
        }.runTaskTimer(plugin, 20L, 20L);
    }
onyx loom
frigid badge
#

I might buy some stock fr though

#

just for fun lol

hot hull
onyx loom
#

bruh my friend so stupid at stocks

frigid badge
#

hoping price dips down more due to some short ladder attacks and shit (I know jackshit fyi)

onyx loom
#

he didnt invest in gamestop when the price was low but invested in nokia when it was at its highest

hot hull
#

kek

frigid badge
#

big rip

hot hull
#

lol already deleted

#

(It was nothing nsfw fyi)

#

Okay @quiet depot now what

quiet depot
#

run the bot

#

oh and make a database in mysql

frigid badge
#

with mysql running in docker

#

and preferably the bot too but bet piggy didn't dockerize it smh

quiet depot
#

nope

#

well it does run in docker

#

but through ptero

#

i promise i'll learn docker one day

frigid badge
#

could just use a jre image & a volume

hot hull
#

It's doing something, idk what tho

quiet depot
#

show me

#

make sure ur using the latest code from master btw frosty

quiet depot
hot hull
#

Okay yea nothing happened

#

I thought it was doing something, but false alarm

quiet depot
#

once u made the database

#

populate the config.json

hot hull
#

Okay now something happened

forest pecan
#

guys do i really have to run buildtools 10 times on my school laptop

#

so all the nms dependencies

#

work for 1.8 -1.16 at least

quiet depot
#

nah i got u covered

forest pecan
#

wait wats that

#

lmao

quiet depot
#

spigot jars 1_7 through latest

forest pecan
#

o

#

isnt that illegal to post the zip

#

lol

hot hull
#

Piggy a mad lad

forest pecan
#

xD

quiet depot
#

lol idc

#

clip literally hosts a buildtools mirror

forest pecan
quiet depot
#

wait what's his domain

surreal quarry
#

lol

quiet depot
#

oh maybe he doesn't host it anymore

onyx loom
#

that his domain thonking

forest pecan
#

its too good

onyx loom
#

spigot was gonna take him to court so he took it down Kappa

hot hull
#

Oh yea wait what do I need to setup a db again

quiet depot
#

mysql

stuck harbor
#

mongodb

#

:))

quiet depot
#

nah mongodb is for the main app

#

which you don'tneed btw frosty

#

you're just going to use the public instance

#

frosty

#

go into mysql

#

and

#

CREATE DATABASE docdex;

#

that's literally it

stuck harbor
#

mans gotta love sql

old wyvern
#

What about credentials

quiet depot
#

nah fuck it it's localhost he can use root

old wyvern
#

xD

stuck harbor
#

lol

hot hull
#

I have the mysql workbench installed, now I need mysql itself

quiet depot
#

lol

frigid badge
#

bruh workbench?

stuck harbor
#

mongodb atlas :)))))

frigid badge
#

who uses that

old wyvern
#

madlad

surreal quarry
#

piggy you should make a dockerfile for docdex

hot hull
#

bruh these downloads are retarded stop bullying me

quiet depot
#

heidisql > mysql workbench

old wyvern
#

You were born to be bullied

frigid badge
#

@surreal quarry yes I said this already

quiet depot
#

heidisql is the best fucking mysql client change my mind

forest pecan
#

piggy really wasn't capping with the jars

#

LMAO

frigid badge
#

but he no listen

surreal quarry
#

maybe i’ll PR it

frigid badge
#

cause he no understando docker

surreal quarry
#

i’ve been trying to learn more about docker

quiet depot
#

someone else wanted to pr docker

#

I think it was bardy

frigid badge
#

docker is the best

quiet depot
#

but I said no because I wanted to do it myself to learn

frigid badge
#

also make a docker compose

surreal quarry
#

lmao i was gonna do it to learn xD

quiet depot
#

yeah lemmo probs just gonna steal the one from ecloud

frigid badge
#

that one sucks

quiet depot
#

oh

frigid badge
#

cause I forgot to remove some debugging

#

lmao

surreal quarry
#

would you have one docker β€œenvironment” for this or two, one for the DB one for the bot

frigid badge
#

it’s a pretty plain dockerfile anywau

quiet depot
#

one

frigid badge
#

you have an container per service

quiet depot
#

o

frigid badge
#

no multiple piggy

#

you have one container for the db and one for the application

quiet depot
#

the thing is lemmo i use commands

#

r commands possible with docker?

frigid badge
#

wdym with commands

quiet depot
#

console commands

#

for the java app

frigid badge
#

possibly

#

but why do you even have console commands for the bot

quiet depot
#

reload config

#

stop command

#

and db modification commands

surreal quarry
#

i think you can like β€œjoin” the container to run commands right?

quiet depot
#

attach

#

is the terminology I think

frigid badge
#

you can attach to a container yes

surreal quarry
#

yea prob

quiet depot
#

@hot hull you're taking suspiciously long to send something, did you find the mysql download yet?

#

btw pretty sure mariadb has windows binaries

half harness
#

frosty sus

old wyvern
#

yea, wamp includes mariadb

quiet depot
#

I never used one of those wamp wrappers like xampp

#

always installed it all manually

#

which worked really well btw, would highly recommend

jovial warren
#

@prisma wave idk why, but it seems as if PDM has broken after bumping the project version

#

it now doesn't load dependencies

prisma wave
#

that doesnt surprise me

#

try a clean build

jovial warren
#

I did

prisma wave
#

hmmmm

jovial warren
#

nvm, worked

#

I swear I clean built it before though

prisma wave
#

Β―_(ツ)_/Β―

hot hull
#

Piggy, idfk I'm so confused rn

#

Questioning all my life decisions I've ever made

quiet depot
#

@hot hull what r u confused about lol

hot hull
#

the mysql shit or stuff in general

#

Cause if it's stuff in general, women, I'd say I'm confused about women

quiet depot
#

a life of solitude is the way to go my friend

hot hull
#

Idk man

quiet depot
#

just don't become an incel

#

keep your sanity

obtuse gale
#

buy rhum

hot hull
#

rum always helps yes Fefo

quiet depot
#

rum does not help

hot hull
#

A gun does fingerguns

#

For legal reasons that's a joke

quiet depot
#

annnywyayyy

#

have you got mysql installed?

hot hull
#

Gimme link

forest pecan
#

wait piggy do you use jars instead of maven

#

for nms?

quiet depot
#

yeah

forest pecan
#

cause the build jars i was like

#

oh lol

quiet depot
#

maven local isn't portable

forest pecan
#

true

quiet depot
#

fuck maven local lol

forest pecan
#

lol

#

but

hot hull
#

Already got heidi

quiet depot
#

I'm never using that shit on a project again

forest pecan
#

fuck maven

#

!!!

#

praise gradle

quiet depot
#

with that libs dir you'll want to use a flatdir repo

#

aight frosty

hot hull
quiet depot
#

once mariadb is installed use heidisql to login to localhost using the root account

#

click new

hot hull
#

This good?

quiet depot
#

did mariadb make u set a password when installing?

hot hull
#

Yes

quiet depot
#

then put it in there

hot hull
#

Okay opened a window now

quiet depot
#

cool

#

show

hot hull
quiet depot
#

right click under test

#

make new db

#

call it docdex

#

actually u might have to right click on unnamed

#

and you should really name it

#

"unnamed" isn't useful

hot hull
#

Yea gimme a sec

#

Okay now what

quiet depot
#

did u run the bot earlier

hot hull
#

Yes

quiet depot
#

put the mysql details in the config.json

#

take a pic of the config before u do that tho

hot hull
#

Don't you leave me now Piggy

obtuse gale
#

xD

quiet depot
#

sorry i'm talking in 2 servers

#

and put the token in there

hot hull
#

Now I rerun

#

I also changed the db details to mine

frigid badge
#

don't forget to download docker

hot hull
#

Lemmo

prisma wave
#

might wanna get ghc and cabal too while ur at it

quiet depot
#

ye once u put in mysql and token rerun

hot hull
#

JDA can suck my ass

#

Oh I'm retarded

#

Forgot to build it..

oak coyote
#

JDA is great fun

hot hull
#

And I was wondering why nothing happened

oak coyote
#

You have to code in it like you found a lost puppy cause the API is very limited

hot hull
#

If I run my own bot rn and the token is valid I'm losing my shit

quiet depot
#

where'd u get the token from?

hot hull
#

dev portal, I know how to run a bot smh Piggy

obtuse gale
#

com.sk89q.worldedit:worldedit-bukkit:7.2.2?

half harness
#

i just found out i sent worldguard link

obtuse gale
#

lmao

half harness
#

;-;

#

idk if you need both bukkit and core

obtuse gale
#

bukkit only if you need bukkit-specific things like the bukkitadapter (which you will need lol)

#

but the juicy stuff is in core

hot hull
#

This is some bullshit Piggy

#

The token works, yet this cunt doesn't wanna login

quiet depot
#

@hot hull check firewall

hot hull
#

.-.

quiet depot
#

also pm me a pic of your config

#

with token

#

let me try it

forest pecan
#

PiggyTheft

#

TheftPiglet

distant sun
#
        int psx = Integer.parseInt(regionName.substring(2, regionName.indexOf("x")));
        int psy = Integer.parseInt(regionName.substring(regionName.indexOf("x") + 1, regionName.indexOf("y")));
        int psz = Integer.parseInt(regionName.substring(regionName.indexOf("y") + 1, regionName.length() - 1));
        return new PSLocation(psx, psy, psz);```
Can I replace this with a regex? `ps(?<x>\d+)x(?<y>\d+)y(?<z>\d+)z`
hot hull
#

ew

distant sun
#

shut. up. frosty.

obtuse gale
#

what

distant sun
#

true

#

that method is supposed to turn this string ps138x35y358z (the name of a region & the region block location) into a PSLocation

#

not my code

ocean quartz
#

Ints#tryParse Gaby smh

prisma wave
#

String.MAX_VALUE

#

only took 4 seconds to generate

forest pecan
#

wait what

#

what would it look like

#

lmao

#

show me the console output

prisma wave
#

1 second

#

It got a bit garbled

#

it looks like the output broke a bit

#

1 sec

#

oh chrome froze trying to paste it

#

thats nice

surreal quarry
#

Lmfao

prisma wave
#

chrome also freezes trying to render it lmao

surreal quarry
#

My phone won’t even load it

#

Yea lol

prisma wave
surreal quarry
#

Holy

distant sun
#

soooooo would regex be a bad idea or not? 🀣

onyx loom
prisma wave
#

beautiful

#

isnt it

#

i think it could be even longer if you increased the max array size

#

or the heap space

#

i had to shorten it because out of memory errors

onyx loom
#

🌝

#

@ pig got 32gb of ram

quiet depot
hot hull
#

Bruh I cucked everything rn cuz git stoopid

#

Thank god revert exists

jovial warren
#

@prisma wave java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics πŸ€”

#

might know why that's happening, doesn't make sense though why it would've worked before

onyx loom
#

the infamous error

#

this error struggles pdm users just as much as java and NPEs

jovial warren
#

yeah I know why it's happening, I just don't know why it's only happening now

#

it's happening because Kotlin's generating Intrinsics.notNull before it loads Kotlin's dependency, just doesn't make sense why it worked before

#

ah ik why, I bet it was because another plugin on the classpath that uses Kotlin loaded before it, and now that plugin's gone, it's causing errors

#

any fix for it?

#

guess I could always just write this code in Java and call it from Kotlin, seems like hacks.exe though

surreal quarry
#

just make the first thing in your onEnable the loadAllDependencies.join()

jovial warren
#

yeah

hot hull
#

eee finally @quiet depot

quiet depot
#

πŸ‘

hot hull
#

WhErE's My DoCdEx CoNtRiBuToR rOlE

prisma wave
#

classic

#

nothing is perfect ok

hot hull
surreal quarry
#

PDM contributor for copy pasting a piece of code straight out of luckperms KEKW

lunar cypress
#

the virgin making an exclusivity contest out of contributions vs the chad all contributors spec

prisma wave
#

hmmmmmmm

#

true

forest pecan
hot hull
#

@ocean quartz, I tried update and updating the items by looping but nothing works to update the menu, suggestions?

ocean quartz
#

Need more context

hot hull
#
    public void initializeUpdateInterval() {
        new BukkitRunnable() {
            @Override
            public void run() {
                if (menu.getInventory().getViewers().isEmpty()) {
                    System.out.println("No viewers, cancelled updating");
                    cancel();
                    return;
                }

                menu.getCurrentPageItems().forEach(menu::updateItem);
            }
        }.runTaskTimer(plugin, 20L, 20L);
    }
#

Trying to update the gui on an interval

ocean quartz
#

updatePageItem?

hot hull
#

Tried as well nada, however I just had a thought

#

Why does gui#addItem not return the slot it was added to sadge

ocean quartz
#

Because it has no concept of pages until it's open

hot hull
#

Yea which makes me wanna reee

ocean quartz
#

I was working on changing that but got bored

hot hull
#

smh

#

I'm probably gonna have to use the same system I used for the item filter

#

Which was reeeee

forest pecan
#

yo

#

my name cool?

half harness
#

tf

hot hull
#

No

#

Stop lying to yourself

forest pecan
#

whats wrong

half harness
#

banned

forest pecan
#

im just shooting a gun

#

and the 8 is the wind

#

and the D is the bullet

#

and the === is the air it passes

#

like bam

#

boom

#

🌬️

#

πŸš„

half harness
ocean quartz
#

Just wait till Piggy comes in and changes your name for you

forest pecan
#

too bad

#

i added final to my name

#

now i cant be redefined

hot hull
#

Pulse, we all know it's not that big so stop lying to yourself

forest pecan
#

πŸ₯²

#

ik bro I wish

half harness
#

πŸ₯²

forest pecan
#

where did u find that

#

lol

half harness
#

a server

forest pecan
half harness
#

oh they've got a whole tag on what lombok does

forest pecan
#

where

#

lol

half harness
#

Lombok is a java library that automatically plugs into your editor and build tools, enhancing your java. It allows for the use of var, meaning you do not have to declare a type. It also adds many Annotations, such as @Setter, @Getter and @AllArgsConstructor to make your life a ton easier!

half harness
steel heart
#

Circle jerk (:

half harness
forest pecan
#

tell me

#

@steel heart

#

server invite

prisma wave
#

guys

#

vim

#

is uh

#

interesting

old wyvern
#

vi is interesting

prisma wave
#

yes

#

i am trying to become pro keyboard user

#

installing i3wm rn for the elite experience

old wyvern
#

xD

vast pilot
#

Hey ppl

#

Hry

ocean quartz
#

Heyo

vast pilot
#

Alright so i want someone guide me making invite counter bot.
Second part is i used plasma bot before for invite counting.
I want to transfer the invite count and not reset it for people and everything normal as it was.
Now i though of making another bot who will check each users invite count and update it on new bot,so help for ideas :(

stuck harbor
#

dewit

prisma wave
#

I have

#

Need to purge the hideous default terminal first

ocean quartz
#

Was watching a bit of JetBrain's and Kotlin's Conf for 2020/2021 and god damn, they have worse microphones than xbox 360 kids playing call of duty

prisma wave
#

@stuck harbor what term do you use?

#

I've been using Konsole up until now but might change that

stuck harbor
#

I use <mod>+enter on i3wm

#

whatever that one is called

#

idk I don't need much out of a term

#

I more rely on the goodness of the shell

#

to which end, fish & ohmyfish serve me well

prisma wave
#

oh god

#

The default one?

#

It looks horrible

stuck harbor
#

hush

steel heart
#

Lombok is good tbf

forest pecan
#

change my mind

steel heart
#

I hated it but not now kekw

forest pecan
#

no cap?

#

lmao

#

why not

steel heart
#

Ain’t capping

#

Removes boilerplate successfully

prisma wave
onyx loom
vast pilot
#

i want someone guide me making invite counter bot.
Second part is i used plasma bot before for invite counting.
I want to transfer the invite count and not reset it for people and everything normal as it was.
Now i though of making another bot who will check each users invite count and update it on new bot,so help for ideas :(

#

Pls friens

steel heart
#

So pls stop hacking

#

Also var is nice

prisma wave
#

i3 kinda nice ngl

hot hull
#

This should be how MC checks for usernames right?

private static final Pattern PATTERN = Pattern.compile("/\\^\\w{3,16}\\$/i");
stuck harbor
#

regex ewwww

hot hull
#

I'm not about to check each letter myself bish

stuck harbor
#

idek what that is

#

and i tried a regex parser

#

still too smol brain

hot hull
#

I don't either, I copy pasted it

heady birch
#

Whats best these days github or gitlabs

ocean quartz
#

Github

hot hull
#

github

heady birch
#

Gitlab looks kind of neat to be honest

half harness
#

intellij has more github support πŸ™‚

ocean quartz
#

Dkim, IJ has Git support, it doesn't matter which one you use

heady birch
#

To be honest I kinda wanna start a nice fresh account

half harness
#

ik

#

but

#

with intellij u can make a github repo πŸ™‚

ocean quartz
#

You can also make a Gitlab repo in IJ it's what I am trying to tell you

half harness
#

o

#

ok then ignore me πŸ˜„

obtuse gale
half harness
#

πŸ˜”

half harness
#

πŸ™‚

jovial warren
forest pecan
#

i use circleci kekw

#

also anyone down for a code review?

#

im switching to gradle tonight

distant sun
quiet sierra
#

There are some players with names below 3 characters

#

such as 8

#

Still can break your plugin

jovial warren
hot hull
#

Not using it for matching names, just a validation for normal chars lol

#

So people can't put dumb shit in a string

obtuse gale
#

\\w+ is way more than enough lol

distant sun
#

no lol

obtuse gale
#

why not

forest pecan
#

i have so many modules for my project for nms

#

that it crashed my macbook

#

completely

steel heart
#

Lol

forest pecan
#

like my trackpad literally

#

froze

#

it stopped working

hot hull
#

You deserve it for using a macbook.

forest pecan
#

then my computer fans just blasted

#

and then it shutdown

steel heart
#

You just have a common one and then impl for each?

forest pecan
#

its my school one

#

lmao

#

im switching to gradle tonight

#

but

#
<modules>
        <module>MinecraftMediaLibrary</module>
        <module>v1_16_R3</module>
        <module>v1_16_R2</module>
        <module>v1_16_R1</module>
        <module>v1_15_R1</module>
        <module>v1_14_R1</module>
        <module>v1_13_R2</module>
        <module>v1_13_R1</module>
        <module>v1_12_R1</module>
        <module>v1_12_R1</module>
        <module>v1_11_R1</module>
        <module>v1_10_R1</module>
        <module>v1_9_R2</module>
        <module>v1_9_R1</module>
        <module>v1_8_R3</module>
        <module>v1_8_R2</module>
        <module>v1_8_R1</module>
        <module>v1_7_R4</module>
        <module>DeluxeMediaPlugin</module>
    </modules>
steel heart
#

Holy

frail glade
#

Yikes.

steel heart
#

Enjoy 1.17

forest pecan
#

lmao

#

im wondering how piggy

#

managed to get a 1.7 nms jar

#

for revision 4

#

like buildtools doesnt support earlier than 1.8

obtuse gale
#

holy shit

steel heart
#

It’s probably not from spigot? Maybe Bukkit archived or smtng weird

forest pecan
#

GetBukkit

#

LMAO

steel heart
#

Lol

forest pecan
#

oh

#

thats a banned word

obtuse gale
#

what is

steel heart
#

getFukkit

forest pecan
#

|| black spig ||

#

you know

obtuse gale
#

oh yea

steel heart
#

Wackspigot

jovial warren
forest pecan
steel heart
jovial warren
#

I'm not actually kidding either, lemme just pull it up

#

Niall won't care if I pull up the pom

steel heart
jovial warren
#
<modules>
        <module>1_7_R4</module>
        <module>1_8_R3</module>
        <module>1_12_R1</module>
        <module>1_13_R2</module>
        <module>1_14_R1</module>
        <module>1_15_R1</module>
        <module>1_16_R1</module>
        <module>1_16_R2</module>
    </modules>
```this is what I have in my deobfuscated version
#

(a bit different to the original)

forest pecan
#

yea

obtuse gale
#

why every individual revision?

#

why not just the latest for each version?

jovial warren
#

because good idea

#

then it means you support all NMS versions

forest pecan
#

^^

jovial warren
#

for those crazy people who use the weird versions

forest pecan
#

1.16.1 nms doesnt match with 1.16.4

jovial warren
#

^

steel heart
#

Some miserable dude doesn’t understand why latest is best

obtuse gale
#

I know

#

but why not just latest

frail glade
#

The real gamer move in this situation is to only support the latest version of the game.

steel heart
#

True

forest pecan
#

cause i dont want people in the review section saying OMFG this doesnt work in my 1.13.69

#

Yeah it is lol

frail glade
#

You learn to stop caring about reviews after a few years.

forest pecan
#

honestly a lot of them are stupid anyways

#

except for some

ocean quartz
#

The reviews just get better after a few years, it's just error dump kek

jovial warren
#

they stay about the same

#

also, if you think you've seen idiotic reviews, check out Iridium Skyblock's reviews

#

Peaches literally has a Discord channel called #wall-of-shame to showcase idiotic reviews mostly lol

ocean quartz
forest pecan
surreal quarry
#

lmfao

jovial warren
forest pecan
jovial warren
#

anyway, gotta be off now, gn all

forest pecan
#

KEKW

static zealot
#

please send me invite. I am ready to crusade

steel heart
#

Same

static zealot
#

ok am I blind or what?

#

can't find the person or the message

forest pecan
#

go to

#

#wall-of-shame

static zealot
#

oh 😦

#

I thought you made the ss

#

today

#

I was ready to crusade

forest pecan
#

lmao

static zealot
#

imagine going to microsoft developers and saying, you're bad developers you don't support windows xp anymore. you should even do it for free from your own time. xD

ocean quartz
#

Well if you do that I'll ban you, my dad owns Microsoft

static zealot
#

oh hi son

ocean quartz
#

O

static zealot
#

damn this is melting my brain

forest pecan
#

hey could you lob a 10 million dollar bill to me

static zealot
#

wasted 3 hours trying to figure out how to make a border fade in and out xD

forest pecan
#

lmao

static zealot
forest pecan
#

after i die

static zealot
#

Funnying when the hell was this added? xD

#

lmao

#

damn this sucks. I can only fade in and out the whole element

ocean quartz
#

React made me really like trailing commas, might start doing that in Kotlin too

half harness
#

how can I use annotations without shading 18kb?

#

I'm using implementation 'org.jetbrains:annotations:16.0.2' right now

obtuse gale
#

16 CH_facewhy

half harness
#

wot

#

idk the latest version

obtuse gale
half harness
#

πŸ‘€

#

okayyy

old wyvern
#

Use compileOnly

half harness
#

it won't give any error?

old wyvern
#

Mhm

half harness
#

ok

#

lol my api is 315 bytes

#

why do pages including google take 40 seconds to load 😫

#

and half the time it stops responding 😫

ocean quartz
#

Viruses!

forest pecan
#

"SpigotCourse is FOR ME, if... My premium plugins are not selling well and getting leaked..."

#

how does that have anything to do with this course

#

lmfao

#

it isnt a marketing lecture

static zealot
regal gale
#

Where did you get that content thonking

forest pecan
#

literally on the website

#

scroll down a little

ocean quartz
lunar cypress
forest pecan
#

it is?

lunar cypress
#

yeah the advanced thing or whatever if that still exists

ocean quartz
#

Holy shit, 80% of the page is screenshots taken from everywhere

static zealot
#

lmao xD

lunar cypress
#

wait why is this so messy again

static zealot
#

For a second I thought those are comments

#

lmao

lunar cypress
#

that's not the most recent version though?

forest pecan
#

"Do you feel overwhelmed and blocked each time you look at your screen & realize you must start from 0?

For the first time ever (after 6 years) we decided to teach you how to use the library that powers ALL of our premium plugins β€” and all members of Project Orion have full unlimited license for it!"

#

What the fuck

static zealot
#

why is that page that long?

lunar cypress
static zealot
#

SpigotCourse has been replaced by brand new courses at MineAcademy.org

forest pecan
#

they are trying to use one plugin, chatcontrol as a way to get people to pay for the courses

#

its only one plugin and its the only one that sold well

static zealot
#

yep

forest pecan
#

lmao

static zealot
#

they were also using ChatColtrol free reviews for the pro version

#

same for downloads

forest pecan
#

LMAO

lunar cypress
#

well I think we've talked about this lovely fellow enough in the past

forest pecan
#

chatcontrol free itself is only 191 kilobytes

#

lmao

static zealot
forest pecan
#
MineAcademy

Edit: See below for our reply to SpigotMC’s recent statement. All across the world we see one trend. Governments want to ruin hobbyists and small entrepreneurs, forcing them to go out of business by imposing restrictions and lockdowns. SpigotMC has recently seemingly joined the team. I woke up yesterday, and trying to login into Spigot,... View ...

static zealot
#

wait didn't you see that yet?

forest pecan
#

no i did

#

i just didnt read it fully

#

why is he getting upset for calling people idiots

static zealot
#

they deleted comments lmao

#

I had a comment that was literally saying Cap

forest pecan
#

lmao

static zealot
#

oh its still there

forest pecan
#

XD

static zealot
#

he forgot to respond to it xD

forest pecan
#

lol

static zealot
#

ok that's 3 lines of text that tell you why to hate that guy xD

half harness
static zealot
#

1 more

#

dkim don't waste your time xD let's change subject lmao

half harness
#

oke

static zealot
#

lets talk about how I wasted 4 hours now to make some nice borders that don't even work xD

half harness
#

😳

forest pecan
#

im sorry but this is going to be the last one

#

and its hilarious

#

"In the last post, we’ve exposed the lies behind SpigotMC and how the internal politics are driving dozens of developers away. I spent the last couple of days rethinking about what we really want to do. It was shocking to see the over two dozens of people who’d reach out personally to give support or simply express their gratitude for talking about things that were not talked about for so long.

Almost 80 people have shown interest in our upcoming marketplace, and over 120 people have supported us by purchasing our chat-management plugin ChatControl Red. Thank you."

#

So they made that post to get money?

half harness
forest pecan
#

anyways

static zealot
#

yep

static zealot
forest pecan
#

idk

#

lmao

#

it shit xD

static zealot
#

II zoomed in/out and it all went crazy

#

lmao

forest pecan
#

yeah lmao

#

all the elements just flew across the screen

#

xD

static zealot
#

I was like damn he's almost done and its responsive, goes to test it, eyes start bleeding

forest pecan
#

xD

static zealot
#

also I love the js errors lmao

forest pecan
half harness
#

ok

#

wut

#

parent?

forest pecan
#

just basically the directory of your project

forest pecan
#

parent as in the highest level

static zealot
#

idk frosty said mine looks like some 90s website and tried to modernize it a bit but not sure what to do anymore

half harness
forest pecan
#

today i was like ah fuck it imma work on my plugin cause websites are clearly not my thing xD

#

although i want to learn front end dev sometime soon

#

when i got the time

static zealot
#

I've spent like past 3 days working on websites now xD

forest pecan
#

lmao

static zealot
#

I actually like it its just a lot you gotta read as well xD

forest pecan
forest pecan
#

then i forgot it all

half harness
forest pecan
#

yeah

#

thats good

half harness
#

k

static zealot
#

also why sometimes it updates my website but sometimes it doesn't? 😦

#

I keep clearing cache and cookies and all that

forest pecan
#

Rip

static zealot
#

idk I've always hated this. Like same for domains, sometimes when I change them, for me it takes ages to update for others it takes seconds

half harness
#

um

#

so I press shift + f9

#

BUT

static zealot
#

I heard that nowadays people use alt+f4

#

also follow the one from the wiki

#

way easier to understand

#

well not really easier

#

same shit

half harness
#

wiki?

half harness
#

o

static zealot
#

but exactly for the server

half harness
#

OH

static zealot
half harness
#

working directory = server directory

#

pulse tricked me

forest pecan
#

uhhh

#

well your server directory can be your project directory..?

#

lmao

half harness
#

one issue

#

how do I get the jar in the plugins folder?

#

i thought it was supposed to do that automatically

#

somehow

#

and I built the plugin

#

anyone know why?

static zealot
#

the jar of the plugin?

half harness
#

yes

static zealot
#

if you use gradle you can chose the location where the jar is built

half harness
#

it doesn't say that in piggy's tutorial πŸ˜”

#

but how do I do that?

half harness
#

noo

#

this is better

regal gale
#

Blitzz's approach is better

half harness
#

im too lazy 😫

forest pecan
half harness
#

um

#

anyone know how to fix?

static zealot
#

well what's your build.gradle?

half harness
#

buildDir = '../.TestServers/1.16/plugins'

static zealot
#

use the path instead path

half harness
#

uhh that won't make the .gradle folder.... right?

#

thats readonly i guess

static zealot
#

and this is without rtx

onyx loom
#

compression and bitrate in 1 image kekw

half harness
#

:c

lunar cypress
#

i kinda wanna play tomb raider again

#

I even have all of the older games

static zealot
#

xD I just have the tomb raider, rise and shadow

#

played the other 2 now I have to finish this one

lunar cypress
#

but this dude selling me a graphics card isn't responding

prisma wave
#

πŸ₯²

lunar cypress
#

Im going to lose my mind if this actually turns out to be a scam

onyx loom
#

πŸ₯²

half harness
#

rip my computer has been BSODing the past week