#dev-general

1 messages ยท Page 571 of 1

half harness
#

๐Ÿค”

#

but a lot of ppl have been getting migration prompts recently

#

I just did some measureNanoTime tests || idk how accurate it is.. but it did good enough for this ||
and I did two tests, each with 20,000,000 repetitions

  1. adding elements to an empty set
  2. adding elements to a set with 1 million || technically 999,999 but whatever ||

for the first test, hashmap usually won by about 2-3%
the second test though, linkedhashmap won by about 50-55% ๐Ÿ‘€

urban sleet
#

Continuation on the tablist stuff, I noticed they only have the fake/emoji players show up in chat but they don't tab complete for any other commands

obtuse gale
#

Like actual /.. command suggestions?

#

Those are sent by the server ultimately as you're typing (unlike chat name suggestions) so they can just filter those out

urban sleet
#

Ahh I see

#

Just little question marks

obtuse gale
#

Sneaky

urban sleet
#

Very

#

Sadly on a small server that may not work as well

potent nest
empty flint
#

Does anybody know how this would translate into kotlin dsl?

/*
* Clever trick so users don't have to reference a custom task class by its fully qualified name.
* Reference:
* https://discuss.gradle.org/t/how-to-create-custom-gradle-task-type-and-not-have-to-specify-full-path-to-type-in-build-gradle/6059/4
*/
project.ext.GreetingTask = GreetingTask
wary wharf
flint cipher
#

oh

empty flint
#

Tried already

pallid gale
#

dm me a username and email you'd like

#

believe usernames need to be a-z 0-9 though

old wyvern
#

extension on project I guess

#
project.extra.set("GreetingTask", ...) // For groovy users
val project.GreentingTask = ... // For kotlin users
prisma wave
#

Kotlin bad

sly sonnet
#

fun

distant sun
#

Has anybody found a fix for Internal Exception: java.net.SocketException: Connection reset? I have already followed the steps from https://bugs.mojang.com/browse/MC-227913. This is really annoying and sometimes impossible to play.

wind patio
obtuse gale
#

Should I use hex color for a Server or just use Minecraft color?

jovial warren
#

or at least, I believe HashMap uses arrays for storing the keys and values

#

yeah, it's an array of nodes

#

or at least, I believe that's the reason

potent nest
#

a LinkedHashMap operates pretty similarly, otherwise you would have a way worse lookup time

jovial warren
#

true

potent nest
#

but it does not recreate an array each time

jovial warren
#

yeah they use the same get lol

potent nest
#

a LinkedHashMap additionally links the elements in their insertion order, that's why it'll have some more overhead in most cases

prisma wave
#

As ywell said there's a slight overhead from linking the elements but most of the time it's pretty minor

steel heart
#

Does ArrayList have a load factor? Oo thought it resized +1 whenever needed

prisma wave
#

i dont think it does, or the load factor would be 1

#

but it doubles the array size whenever it does resize

steel heart
#

Ah unless itโ€™s higher than Integer.MAX_VALUE/2 I presume

#

Size

prisma wave
#
/**

     * The maximum size of array to allocate.

     * Some VMs reserve some header words in an array.

     * Attempts to allocate larger arrays may result in

     * OutOfMemoryError: Requested array size exceeds VM limit

     */

    private static final int MAX_ARRAY_SIZE = Integer.MAX_VALUE - 8;
``` yeah close enough it would seem
lunar cypress
prisma wave
#

is it?

lunar cypress
#

wait it isn't

#

confused that with HashMap

prisma wave
#

yeah

half harness
half harness
half harness
jovial warren
#

yeah that's because you're setting the initial size of the array it creates

#

and it won't grow the array unless it's not large enough

half harness
#

ic

#

ty ๐Ÿ˜„

#

would these tests be similar to ArrayList and LinkedList? or are they too different

steel heart
#

LinkedList and ArrayList is different tho

#

LinkedList implements List with a linked data structure implementation

#

ArrayList uses a backing array

half harness
#

but isn't that similar to hashmap & linkedhashmap

#

where hashmap uses an array

steel heart
#

No

half harness
#

and then linkedhashmap uses the linked data structure implementation? I think? I don't really know too much about linked data thing

#

oh

steel heart
#

LinkedHashMap still uses an array as they mentioned above

half harness
#

oh

steel heart
#

Just has a linked data structure on top of that

distant sun
hot hull
#

Stockholm, bit far

distant sun
#

Ahh for a second I thought it says remote on the ()

#

Yup thats a rip

steel heart
#

Thatโ€™s me right there

#

Fuck Iโ€™m under 18

obtuse gale
#

Then no fuck

hot hull
#

Wait you're under 18

distant sun
#

Rip conclure

steel heart
#

Yea

hot hull
#

Imagine being underage /s

steel heart
#

๐Ÿ˜ซ

ocean quartz
#

Youngin

hot hull
#

Oh hey Matt, you married yet

ocean quartz
#

Not yet

hot hull
#

Next year right

ocean quartz
#

Yeah, september

hot hull
#

Sheesh

steel heart
#

Wait what the

#

triump-wedding when

ocean quartz
#

Lmao

distant sun
#

:O

empty flint
ocean quartz
#

Try what Yugi sent

empty flint
#

Already did, no dice

#

I think I said it before but I really feel like it should be emphasized: Gradle sucks balls.

ocean quartz
#

Gradle's API sucks balls*

prisma wave
#

@half harness LHM and HM are very similar in implementation, the only difference is that each node also has a link to the next node so that it preserves insertion order. They're both backed by an array of buckets

#

As I mentioned earlier neither of them will copy the array every time you add something, that's based on the load factor, and then I believe it doubles the size of the array

#

As for lhm being faster I would guess that's an outlier, and you shouldn't really be making any conclusions based on those "benchmarks" anyway

sly sonnet
empty flint
#

So as to not clog this channel

ocean quartz
#

You can clog this channel, can also clog #development that's what the channels are for xD

empty flint
old wyvern
#

lol

#

Try adding the groovy plugin

prisma wave
#

theyve got a plugin for every thing now a days!!

#

"oh gradle isnt working, try adding the gradle plugin!!!!!!"

empty flint
#

why does it need the groovy plugin when I'm not using groovy?

ocean quartz
#

Because your plugin will be used in either groovy or kotlin

empty flint
#

hm makes sense

#

I guess

#

@old wyvern and what does asGroovyClosure("+"){ version -> "io.github.slimjar:slimjar:$version"} do?

old wyvern
#

Thats a helper extension

#

KDSL has a function for that I think, but it was causing too many issues for me when i tried

#

But I think some of them were because kotlin was being relocated by shadow automatically for some reason

empty flint
#

Could you explain what is happening there? I have no idea what that does...

#

you declare functions in the extension?

old wyvern
#

Groovy tries to find doCall function with the appropriate arguments in the class when you invoke a function

#

This creates an anonymous class with the required doCall functions to let groovy find its way around the function

reef maple
#

Hi, I would like to do something like I hope I explain well please don't kill me replacing everything inside a eval([REGEX]) by the result of the regex inside.
I have the calculator ready, I just have to find the content that matches the regex then use it for the calculation.

test: "broadcast eval(10 + 1) and eval(12 + 15)"

Becomes

test: "broadcast 11 and 27"

Thanks in advance ^^'

ocean quartz
old wyvern
#

eval([REGEX]) by the result of the regex inside. what?

#

The examples you gave dont show regex

reef maple
old wyvern
#

Thats just normal math evaluation

empty flint
old wyvern
#

oh right the extension

#

hmm

#

Does adding the groovy plugin add the extra function?

old wyvern
#

oh right

#

its in groovy

empty flint
#

and my extension is

val extension = project.extensions.create("spigot", SpigotExtension::class.java)

old wyvern
#

So you want a function that works from kdsl as well

#

I was replying to the problem from the kdsl prespective

#

give me a moment

empty flint
#

but doing project.extensions.SpigotExtension ... obv won't work

#

I had another problem as well that you might know how to solve actually. Do you know how to add dependencies to a project in a task?

#

there is the project.dependencies.add(...) method

#

but I have no idea what those parameters are supposed to be

old wyvern
#

first arg is the configuration

#

second is the dependency string

#

project.dependencies.add('implmentation', 'some.dependecy:right:here'

old wyvern
empty flint
old wyvern
#

You're using the kotlin dsl or groovy dsl?

empty flint
#

kotlin

old wyvern
#

then use extra

#

project.extra.set(...)

empty flint
#

project.extra.set("SpigotExtension", SpigotExtension::class.java) ?

#

also, adding the groovy plugin broke this as well:

#

nvm im stoopid

#

So the thing I don't understand is this

#
        /*
        * Register a 'greeting' extension, with the properties defined in GreetingExtension
        * Reference:
        * https://docs.gradle.org/5.5.1/userguide/build_environment.html#sec:gradle_configuration_properties
        */
        project.extensions.create("greeting", GreetingExtension)

        /*
        * Clever trick so users don't have to reference a custom task class by its fully qualified name.
        * Reference:
        * https://discuss.gradle.org/t/how-to-create-custom-gradle-task-type-and-not-have-to-specify-full-path-to-type-in-build-gradle/6059/4
        */
        project.ext.GreetingTask = GreetingTask

In groovy, this guy creates the extension and then sets the fully qualified name to be the shorthand version.

In kotlin I have to create it, and then set the shorthand version via a string identifier?

#

How does groovy have a member called "project.ext.GreetingTask"?

#

when it's only created in the line before

old wyvern
#

Its defining that variable

#

groovy is mostly dynamically typed

empty flint
#

Right

#

and looking at your code you have this call repositories.maven("https://repo.vshnv.tech/snapshots/"), is that the same as doing this in build.gradle:

repositories {
   maven { url "https://repo.vshnv.tech/snapshots/" }
}
empty flint
#

@old wyvern

#

It didn't work ๐Ÿ˜ฆ

old wyvern
old wyvern
#

not to add kdsl support

#

make a kotlin extension for the same

#
val project.spigot = ...
#

The right side will need to be a consumer of a SpigotExtensionClosure I think

empty flint
#

but won't I have two separate extensions then?

prisma wave
#

The general conclusion is that

empty flint
#

and if I wanna use the values from the extension, I need to duplicate those tasks for groovy and kotlin?

empty flint
prisma wave
#

No

#

Extension property in kotlin

#

I think

empty flint
#

Ooh that makes sense somewhat

#

but what is a SpigotExtensionClosure?

#
interface SpigotExtension
{
  val apiVersion: Property<String>
  val bukkitVersion: Property<String>
}

val Project.spigot = ... ?

something like this? @old wyvern

surreal quarry
#
interface SE{ 
    val aV: P<S>
    val bV: P<S>
}```please name things like this
#

it makes your code run faster and its easier to write

#

thanks

empty flint
#

???

surreal quarry
#

yea just go ahead and do it thanks

empty flint
#

I think I'll stick to human readable code since, you know, that's what it's supposed to be

surreal quarry
#

well actually, a computer reads and executes the code

empty flint
#

human writes and edits the code so check mate

surreal quarry
#

just write the bytecode honestly, it will make your life a lot easier

empty flint
#

(reads also but w/e)

surreal quarry
#

no more waiting around for that slow ass compiler

empty flint
#

it's ok I threw moneys at my mobo and cpu manufacturer of choice

stuck harbor
#

but

#

why

surreal quarry
#

yea no that really doesn't solve the issue

#

bytecode is the way

#

even if it takes 1s to compile your code

#

think about how much time that is over your lifetime

empty flint
#

come on guys I just want to get this plugin shit over with so I can never look at it again once it is thanks. Now you are making Yugi scroll to find the replies...

stuck harbor
#

thats not a very good mindset matey

half harness
#

my intellij is being very annoying D:

steel heart
#

sus'

onyx loom
#

idk that looks like a you issue not intellij

surreal quarry
#

maybe fix the error lol

stuck harbor
#

mhm

half harness
#

its intellij error

steel heart
#

how does one achieve an error on the very every line

stuck harbor
#

just write better code

half harness
#

compiles fine and stuff

stuck harbor
#

well

#

it shouldnt?

surreal quarry
#

bro wrote java code in a kt file probably

#

noob

half harness
#

if i invalidate and restart it goes away

#

but then 2 minutes later

#

it comes back

#

๐Ÿ˜ฉ

stuck harbor
#

then use sublime text

half harness
#

๐Ÿค”

surreal quarry
#

use vim, it won't show you errors without special plugins

stuck harbor
#

use vi, it cant even tell what ur writing

half harness
#

lol

surreal quarry
#

use jshell

steel heart
#

use James

surreal quarry
#

jamesShellโ„ข๏ธ

stuck harbor
#

write a bash script to write ur java code

steel heart
#

he is better than anything you'll come across

#

lol

surreal quarry
#

echo System.out.println("Hello world"); >> Hello.java

static zealot
#

@ocean quartz got couple seconds to help me out?

So basically I have a command:

@Default
fun method(sender: CommandSender, material: Material?, @Optional amount: Int?) {
    // code here
}``` so basically I'm trying to check if the user used the `/giveall` command (which is the command given thru the @Command annotation) and then make it send a custom message (not the cmd.wrong.usage one). Is that possible? Because checking if material is null and amount is null only works if I use `/giveall SOMETHING-HERE-THAT-IS-NOT-A-MATERIAL` but if I use `/giveall` it gives me the wrong usage message.
#

right now I'm thinking that I might have to use the String array argument instead of this?

ocean quartz
#

Have like /giveall, /giveall meterial, and /giveall material amount? Not possible

static zealot
#

but what if I were to use the String array to get the arguments instead?

#

that would work right?

#

yeah I think so

#

I think I'll do that

ocean quartz
#

That would work yeah

static zealot
#

ty ๐Ÿ‘

#

oh wait

#

now I have to worry about completion

#

fuck xD

#

oh Completion can be used on a method as well? damn. Didn't know that

ocean quartz
#

Yeah xD

distant sun
half harness
surreal quarry
#

lol

prisma wave
#

Lists bad sequences good

old wyvern
half harness
#

oh

#

btw is asSequence faster?

onyx loom
#

sequences are faster with larger amount of data or smth

stuck harbor
#

fun fact

#

f#

old wyvern
#

Its about space

half harness
#

oh

old wyvern
#

Sequence is similar to Java's stream

half harness
#

i mean

old wyvern
#

Sequencial steps with a terminal operation

half harness
#

im only using it for player inventory

#

which is only like 30 or something

#

soo

old wyvern
#

Normal kotlin map/filters are eager and create a new list at every stage

half harness
#

o

prisma wave
#

bad

obtuse gale
#

Groovy man ....

half harness
#

lol

eternal compass
#

Anyone want to do the plugin jam together? I don't have the time to do anything complicated myself, but I can do a fair bit

winter iron
#

whats that

eternal compass
#

The plugin jam thing that's being talked abt. Idk anything exact yet

winter iron
#

hmm

#

might have to look into this

half harness
#

anybody do kotlin? ๐Ÿ˜

#

i feel like thats my disadvantage in a way

#

im too addicted to kotlin now ๐Ÿ˜”

#

and not many ppl here use kotlin

#

i also suck at creativity ๐Ÿคก

#

so I'm failing at both of the important parts of the plugin jam ๐Ÿฅฒ

ocean quartz
half harness
#

oh

#

D:

#

ok

#

wait

#

where is that

eternal compass
#

Secret

half harness
#

did u make a discord server

eternal compass
#

The server

#

Jerry's

half harness
#

jerry's?

eternal compass
#

Noone met Jerry yet

#

Jerry is nice

#

Praise jerry

sweet cipher
#

Why is Kotlin prohibited?

half harness
#

Jerry#6131?

eternal compass
#

Sorry *Jarry

eternal compass
#

Wait

half harness
eternal compass
#

Yes it is

#

I blind

half harness
#

both libraries that I use in every plugin is in kotlin

#

;-;

ocean quartz
#

I'm joking lol

half harness
#

๐Ÿ˜ 

ocean quartz
#

Only language allowed is Clojure

half harness
#

๐Ÿ˜ถ

eternal compass
#

Okay I'm not dumb

half harness
#

lol

eternal compass
#

I was right

half harness
#

where is it

eternal compass
#

Secret

#

With Jarry

half harness
#

๐Ÿ˜”

eternal compass
#

Jarry isn't here my friend

sweet cipher
eternal compass
#

I got access :D

half harness
#

๐Ÿ˜” im still in queue

#

plz dont review my bw plugin

eternal compass
#

I can't

#

I don't even have access

half harness
#

i meant matt & bm & admins

#

-_-

eternal compass
#

Ah lol

#

I don't even have dev role yet

half harness
#

o

eternal compass
#

@BM hurry up

half harness
#

oh wait trusted also has access

eternal compass
#

I ain't trusted

#

I'm just support

obtuse gale
eternal compass
#

No

half harness
#

wait im so confused

#

is there actually a discord server

#

for the plugin jam

eternal compass
#

With Jarry!

#

Jarry good

sweet cipher
half harness
#

wdym

sweet cipher
#

It's not like it matters if it's in a private channel or another discord server

distant sun
prisma wave
long sandal
#

d

prisma wave
distant sun
#

can't I just add a .sql file inside my jar and read it from there? ๐Ÿฅบ

#
    // language=SQL
    private enum Query {
        CREATE_TABLE(
                "CREATE TABLE IF NOT EXISTS players (",
                "id INTEGER PRIMARY KEY,",
                "uuid varchar(36),",
                "balance INTEGER default 0);"
        );

        private final String query;

        Query(String... args) {
            this.query = String.join("", args);
        }

    }```
perfection
hot hull
#

ew

half harness
#

and my lib has spigot 1.8 dependency

old wyvern
#

Check if the proper sdk is set in project struture

half harness
#

wdym?

old wyvern
#

the project sdk

half harness
#

this is set to java 14

old wyvern
#

hmm

half harness
#

It also compiles fine

hot hull
#

and my lib has spigot 1.8 dependency
There's your issue

#

Stop using outdated shit

#

:))

obtuse gale
#

Some menus doesn't work and when i do deluxemenus reload only appear this:
DeluxeMenus successfully reloaded! 62 menus loaded...
I use 1.17.1 DeluxeMenus version 1.13.4-DEV-117

hot hull
half harness
obtuse gale
old wyvern
#

Try deleting the .idea folder and importing the project again

half harness
#

wait

#

yea its looking like that

#

even if i open it through this

#

should i just revert it back?

old wyvern
#

hmm

#

Try right clicking on the project and going to "add framework suppourt"

#

Check if gradle is listed there

half harness
#

uhhh where do I right click ๐Ÿ‘€

old wyvern
#

The top of the heirarchy

#

The "project"

half harness
#

๐Ÿค”

old wyvern
#

Let me confirm, one sec

#

hmm, seems you need to right click on the project directory

#

Since that isnt showing up for you, I guess that wont work

#

is Intellij still indexing by any chance?

half harness
#

nope, I've also tried importing the module and clicking the build.gradle in the popup of the "Import Moudle" but nothing seems to happen ๐Ÿ˜•

#

Should I revert to my old .idea files?

half harness
#

lol i reverted back and the issue is fixed

prisma wave
distant sun
prisma wave
#

heh

#

Sounds like you need Jabel!

distant sun
#

I will take a kebap

prisma wave
#

what

distant sun
#

Jabel sounds like some oriental* dish

cinder flare
#

did you mean to say occidental?

#

cause that means like western

#

like, europe/america

distant sun
#

Uh, the other direction

cinder flare
#

oriental?

distant sun
#

oriental

#

Soz

cinder flare
#

but that means like china

distant sun
#

Asia in general iirc

cinder flare
#

kebab is from the middle east, not really asia

old wyvern
distant sun
#

Nice

obtuse gale
#

I mean like... file in it

distant sun
#

Why did you @ me?

obtuse gale
#

Ouh.. sorry again.. fr

half harness
#

why did you reply to "Nice" though thonking

distant sun
#

No like, why do you ask me xd

obtuse gale
#

I don't really know how discord works

obtuse gale
distant sun
#

What?

obtuse gale
#

I think you remember it

distant sun
#

OriginRealm twitter?

obtuse gale
#

No?

distant sun
#

Then idk, I barely use twitter

half harness
#

im so confused

obtuse gale
#

from Ben Eraze

#

In 2019 lol

distant sun
#

2019? Idk what I did last week lol

obtuse gale
#

Hahaha

half harness
#

why are u guys talking about twitter all of a sudden? thonking

obtuse gale
#

I've been searching for Scoreboard, Tab & lore in resourcepack... Also i've been searching in browser ofc

obtuse gale
#

Hope Piglet here to help hmm

eternal compass
distant sun
#

no ๐Ÿคฃ

eternal compass
eternal compass
stuck harbor
half harness
#

anyone want to help test my bw plugin and find bugs/suggestions ๐Ÿ˜›

I (think) I fixed all the bugs blitz reported ๐Ÿ˜„

surreal quarry
#

yea just fix it and you'll be good

#

testing is overrated anyway

half harness
#

-_-

hot hull
#

Imagine testing lol

surreal quarry
#

what do you think bug reports are for lmao

#

let the users test for you

half harness
#

idk if ima put it on spigotmc yet tho

hot hull
#

Problem is users are stupid as fuck, so that's hard sometimes

half harness
#

or sometime soon

#

I don't want want people going "has a lot of bugs, 1 star"

surreal quarry
#

bug reports in the reviews section are actually great

half harness
#

yea but once someone puts 1 star they rarely change it

#

idk about you but i never check spigot notifications ๐Ÿฅฒ

#

and only 2% of server owners read the description

#

so I can't put "Join the discord server to report bugs" and expect everyone to follow it

surreal quarry
#

you clearly don't know much about people who run minecraft servers

#

they are all brilliant and read everything

half harness
#

๐Ÿค”

surreal quarry
#

im joking btw since you can't seem to see my sarcasm

sweet cipher
#

Dkim doesnโ€™t understand sarcasm

obtuse gale
#

NOT configuration help

hot hull
#

THIS IS CONFIGURATION HELP, do not mock this channel

obtuse gale
surreal quarry
#

omg there is more links now!!

static zealot
#

lmao

obtuse gale
#

lol

surreal quarry
#

lmfao what is this mp4

static zealot
#

there's a wiki link for Rich Hickey

#

:)))))

surreal quarry
forest pecan
#

Omg

surreal quarry
static zealot
#

xD

forest pecan
#

Developers rise up to your national anthem

surreal quarry
#

thank you

static zealot
#

waittttt

forest pecan
#

They got rid of it

obtuse gale
#

lol

static zealot
#

who toookk it down

#

!!!!!

forest pecan
#

Hol up

surreal quarry
#

sadge

obtuse gale
#

definitely not me

static zealot
#

we need to find it again

half harness
#

this?

static zealot
#

done

#

found it

half harness
#

lol

static zealot
#

xD

surreal quarry
#

lovely

sweet cipher
#

When does voting start?

static zealot
prisma wave
sweet cipher
buoyant flower
#

Deluxe menu does not work in version 1.16.5 the spigot page shows that it is supported by 1.16 the problem must be caused by me how can I fix it

buoyant flower
#

ok thanks

obtuse gale
prisma wave
#

:Warning: :Warning: :Warning:

steel heart
#

emote fail

half harness
#

Whenever I make a new project in intellij or delete the .idea folder I always have to open it twice.. and when I open it nothing is configured, an empty project looks like this https://i.imgur.com/kv1co2n.png and gradle isn't setup even though I selected gradle when creating the project..

hot hull
#

Does IJ's terminal not consider Github authentication account set when using it?
ie. using go get <repo>
The repo is private, so can't access it, sadge times, or is there something I need to enable

hot hull
static zealot
#

@half harness I might have to restart. having a bit of a problem with lag xD

hot hull
#

I've tried everything I've found on google and it still does not want to work

static zealot
#

brb. only takes like 30-45 seconds

half harness
#

alr

hot hull
#

@prisma wave Since you're support, help a dumbass out please

lunar cypress
#

the real issue is that you're using go of course

hot hull
#

What's wrong with Go sadge

prisma wave
#

go mama

grim current
#
Is somebody working with the HeadDatabase-API and could help me?

headDatabaseAPI.getItemHead("16029") -> This works in a command i made

but when I do the same and put the Head in a GUI, why does it throw me a nullpointer? It is 100% the same and the nullpointer is because the ItemStack is null (the Head -> getItemHead)?

I just do not get the problem, because "getItemHead" returns a ItemStack if the ID is right and I checked the heads and the ID is right.
surreal quarry
#

just watched the kid in front of me write java in vscode for an hour

prisma wave
#

Tell him to use Emacs

surreal quarry
#

yea true

half harness
dense dew
#

nooo

steel heart
half harness
stuck harbor
prisma wave
#

go wash your mouth out wish soap

#

sublime more like subad

stuck harbor
#

brister more like badster

prisma wave
#

fuck you

static zealot
static zealot
prisma wave
#

if you insist

stuck harbor
static zealot
#

I insist!

prisma wave
obtuse gale
prisma wave
#

oh wow

#

woah

#

i am the Clojure Programming Language

lunar cypress
#

you're actually spj in disguise

prisma wave
#

whats spj

#

OH

#

i wonder what he thinks of clojure

#

is probably very respectful and says something like "i believe clojure is a very well designed language and whilst I would like to have sex with Rich Hickey, it is not for me"

lunar cypress
#

no answers

prisma wave
#

i will make it my life goal to find an answer

steel heart
#

sounds like a rather short life

prisma wave
#

no sir

#

i will ask him face to face one day

#

mark my words

steel heart
#

ok

lunar cypress
hot hull
#

That you for all your help

onyx loom
#

u said hes a professor there right, or smth

prisma wave
#

something like that

#

maybe not

onyx loom
#

oh nvm

eternal compass
#

@prisma wave what's with the nick?

onyx loom
#

he WAS a professor in glasgow during the 90s

prisma wave
#

sad

#

redempt

stuck harbor
#
About

Iโ€™m a researcher at Microsoft Research in Cambridge, England. I started here in Sept 1998. Iโ€™m also an Honorary Professor of the Computing Science Department at Glasgow University, where I was a professor during 1990-1998.
#

stonccs

prisma wave
#

ill go visit him

stuck harbor
#

lol why is all research in the bloody south

prisma wave
#

he's a smart guy

stuck harbor
#

if i had to move to the south for work i would be very anooy

onyx loom
#

clearly wales bad

stuck harbor
#

E

half harness
#

intellijjjjjjjjj

ocean quartz
#

Your pc*

forest pecan
#

Dkims PC:

steel heart
#

Lol

half harness
#

-_-

dense dew
#

Hello guys, how to start with backend web developement (JS/TS) when you are "good" at fronte d web developement already?

half harness
#

wdym server/client side?

eternal compass
#

Oh wait

half harness
#

isn't client side just sending POST/GET/etc requests ๐Ÿคก

eternal compass
#

I dumb

half harness
#

or do you mean backend and frontend

dense dew
#

ye

eternal compass
#

I get them now

half harness
#

js for backend?

#

isn't js supposed to be for like frontend

eternal compass
#

Uh use TS? And do your projects as you please ig?

onyx loom
#

js can be both

half harness
#

java ๐Ÿ˜Œ

eternal compass
half harness
#

oh

onyx loom
#

node.js is backend

#

yeah

eternal compass
#

You buffoon

half harness
#

-_-

onyx loom
#

then u got vue for frontend, etc

half harness
#

dont u already know java already tho

eternal compass
#

Use react

#

React for Kotlin when

ocean quartz
#

That's already a thing

dense dew
#

i mean TS is fine when you use framework like Angular or

half harness
#

Kotlin/JS ๐Ÿ˜Œ

#

btw has anyone used kotlin/js?

#

I'm curious how different/similar it is to js ๐Ÿ‘€

ocean quartz
#

Not similar at all

half harness
#

o

onyx loom
#

well it has types, so its instantly better

eternal compass
#

Sick

cinder flare
#

Actually I wish JS wasn't for anything ๐Ÿ™‚

eternal compass
#

Js for d bots can be nice

cinder flare
#

No

eternal compass
#

Sometimes

cinder flare
#

No

ocean quartz
#

I wish JS was never invented

eternal compass
#

TS*

#

Sorry

cinder flare
#

Even then

ocean quartz
#

TS is not that much better than JS

eternal compass
#

It has typings?

ocean quartz
#

It's more like slightly more bearable JS

cinder flare
#

Such lax standards are terrible for any language

eternal compass
#

Way better

cinder flare
#

It still has all the flaws of JS

ocean quartz
#

Typings isn't the only thing for a language xD

eternal compass
#

Ofc ofc

cinder flare
#

and the typing is competely optional

eternal compass
#

I have a strict mode

cinder flare
#

You can still declare all the global variables your heart desires

ocean quartz
#

val test: Any = "hello" ๐Ÿคก

eternal compass
#

Val ๐Ÿคก

cinder flare
eternal compass
#

Not part of ts

ocean quartz
#

That wasn't js

cinder flare
#

That was Kotlin lol

eternal compass
#

Oh

#

So kotlin bad?

ocean quartz
cinder flare
#

No, you'd have to be really dumb to do that and it wouldn't really benefit you

ocean quartz
#

It'd be js ๐Ÿ˜ƒ

#

Except that even then compile time would do tons of things js could never lol

cinder flare
#

Mmmm, a real language

#

You love to see it

obtuse gale
ocean quartz
#

Ah yes even better!

#

@Nullable @NotNull static Object test = "hello";

cinder flare
#

Give the compiler a stroke trying to read that one lol

sweet cipher
#

Matt is voting tomorrow?

ocean quartz
#

Yeah, was supposed to be today

sweet cipher
#

Ok

half harness
#

what if I put ```kt
@NotNull
@JvmStatic
fun function(a: String): String? {
return "a"
}

half harness
sweet cipher
#

One of the best maps

hot hull
#

I'm gonna correct myself, fuck Go

tame jolt
tame jolt
prisma wave
#

Yikes

rotund egret
#

That was a read

steel heart
#

F

old wyvern
#

Did the pluginjam voteing start?

hot hull
#

No clue

#

Matt still sleeping

maiden bramble
#

Not sure if linking my account worked. Can any support verify my verification for deluxemenus?

static zealot
maiden bramble
#

Oh is it? Damn KegW

static zealot
prisma wave
#

feel free to pay me $10 and i can give you access to the deluxemenus* channel ๐Ÿ™‚

static zealot
#

2 different plugins

maiden bramble
#

dyslexia got highground on me

#

Thank you for clarifying

obtuse gale
#

hello

prisma wave
#

no

obtuse gale
#

can i get configuration help?

prisma wave
#

i've had enough of you

obtuse gale
#

:(

prisma wave
#

no more

obtuse gale
#

:C

hot hull
#

Go ahead emily, ask away

prisma wave
#

no dont

#

donto

#

ondopn

hot hull
#

#BMForDemotion

prisma wave
#

onon

#

dont!

obtuse gale
#

F

hardy apex
#

is there any sources that i can learn minecraft bukkit coding plugisn ? like not tutorinal coding a specific plugin no i want a course how do i code my own

old wyvern
#

?learn-java

compact perchBOT
#
FAQ Answer:

Online Courses:
Online courses are also great for learning java. Some websites that offer them are:

  • Coursera - Free unless you want a certificate
  • PluralSight - Great courses from what I've seen. Mostly Paid
  • Udemy - Never used them myself but they seem to all or at least most be paid.
    My first ever course was one from Coursera. - I can say it was pretty good at introducing me to the programming world as a whole not just java.

Oracle Docs:
Oracle docs can help a lot at learning and understanding java:

  • Start with this,
  • Breeze through this (skipping stuff that doesn't seem relevant like bitwise operators),
  • Hit this.
    They're the first three from this larger thing which you should definitely go through overall. But those three should be enough for slightly better understanding of what is happening here without feeling like a huge time sink.
    That one is a small part of this larger site wherein "Essential Java Classes" and "Collections" also have good useful stuff

Other services:
Some other cool services that will help you learn java are:

As you can see there are plenty of good ways to learn as long as you're willing to invest the time. Have fun learning!

hot hull
#

Can recommend Tim Buchalka's Java course

#

Isn't free tho

eternal compass
#

Where does one suggest features for the MC client?

static zealot
#

in my DMs

hot hull
#

MC client?

eternal compass
#

You launch it

#

To like play

#

The game

hot hull
eternal compass
#

Cool

static zealot
#

wtf is Elara-Discord-Bots?

prisma wave
#

?

static zealot
prisma wave
#

๐Ÿ’€

old wyvern
#

lmao

static zealot
#

if you were to make an elara library for discord please name it Escord. ty

prisma wave
#

discord.el

#

wait no

#

emacs lisp

#

๐Ÿ’€

old wyvern
#

discord.elr

ocean quartz
#

Elcord

wind patio
#

AssemCord

#

๐Ÿ˜ฉ

old wyvern
#

DiscASM

#

Someone should make an organization with a few ASM programs and call it OrgASM

static zealot
#

haha

#

funny

#

name

ocean quartz
#

Wasm discord ๐Ÿ˜ฎ

static zealot
#

matt. how do we get glare to wake up?

ocean quartz
#

We scream

distant sun
#

you can do it @old wyvern

half harness
#

who doesn't like chickens in their bedwars games ๐Ÿ˜Œ

hot hull
#

Imagine not having taunts in your bedwars games

obtuse gale
#

If I have 2 plugins that do a similar thing / event would adding @Override to one of the events in the src Override the other plugin?

prisma wave
#

๐Ÿฅด

#

Definitely not

hot hull
#

Yikes

obtuse gale
#

How do I override another plugin then?

prisma wave
#

In short, you can't

#

You can setup priorities so that your plugin takes priority though

obtuse gale
#

@EventHandler(priority = EventPriority.HIGHEST)

#

Like that?

prisma wave
#

kind of

#

It's a bit misleading

#

Higher priority = later execution

obtuse gale
#

I'm getting this error in my code

#

Syntax error on token "}", AssignmentOperator expected after this token

#

but when I remove the ' } ' it breaks even more

hot hull
#

"expected" not excess

#

You're missing another one, also what IDE are you using, cause unless it's somehow notepad that you're using, it should be pretty obvious

obtuse gale
#

eclipse

lunar cypress
#

how about you share the code

#

You're missing another one
} is not the assignment operator

hot hull
#

Oh did not read the second part reee

ocean quartz
#

@hot hull @old wyvern @obtuse gale @steel heart @forest pecan idk who else to ping, it's on! #announcements

hot hull
#

I saw it ye, got notifs on a private dc and saw the post :3

#

Already on it

forest pecan
#

@steel heart

wind patio
static zealot
#

@half harness what u doin?

half harness
static zealot
half harness
#

lol

static zealot
#

what a great idea!

wind patio
#

Code a hello world program

half harness
wind patio
static zealot
half harness
#

smh

#

5

#

4

#

3

#

2

#

1

static zealot
#

its not my fault that kaliber is accusing me of cheating ...

#

had to defend myself

half harness
#

WHAT

#

LOL

static zealot
#

||by saying all the accusations were correct||

half harness
#

wh-

ocean quartz
onyx loom
wind patio
#

Well, if it works as an event stack, then it gets enqueued first, and other events get popped earlier, that's where the high priority comes fingerguns

prisma wave
#

true

#

i guess

static zealot
#

yo. so. what's like a nice library for message parsing to components?

#

for string parsing*

obtuse gale
#

"string parsing" is very vague

#

the component could be serialized in a number of ways

static zealot
#

so. something that basically adds hex/rgb support, maybe hover and click events and I can just give it a string that follows a pattern or something and it converts it to a Component.

#

wait.

#

actually.

#

doesn't matt's library do that already?

obtuse gale
#

consider using MiniMessage lol

static zealot
#

oh forgot that's a thing as well

obtuse gale
#

does matt's support hover/click events and all that stuff?

#

ooh it does

static zealot
#

yes. I believe so

#

I'm pretty sure I've used it before just forgot about it

obtuse gale
#

yeah yeah it does

static zealot
#

I mean.. I'll use Matt's bcz its more cool. it has discord parsing!!

#

markdown

#

or whatever

#

the word is

obtuse gale
#

I mean

#

so does MiniMessage lol

static zealot
#

ok

#

it is not Matt's

#

I'm kind of a simp for Matt

obtuse gale
#

I know you are

#

I already stated it

static zealot
#

Oh. Ok.

obtuse gale
static zealot
#

Yes. I remember now. I have a very bad memory.

ocean quartz
obtuse gale
#

you can make it like that

ocean quartz
#

Ah that's new, didn't use to be a thing

half harness
#

matt kyori competitor ๐Ÿ‘€

ocean quartz
#

I'm not competing with anyone lol
I make things for me to use, just happen to make them public

obtuse gale
#

I make things for me to use
do you though?

#

when was the last time you made a plugin and made use of them?

#

that's just a mood tbh

#

it's like when you stop playing Minecraft for fun but just happen to open it to test shit

ocean quartz
#

Well that was the purpose anyways lmao
Cmds was made for citizenscmd
Gui was made for t-pets
Msg was made for t-chat

obtuse gale
#

๐Ÿฅฒ

ocean quartz
#

one day they'll see the light of day

obtuse gale
#

does citizenscmd actually use cmds?

ocean quartz
#

Yeah

obtuse gale
#

ooh sweet

obtuse gale
#

uh

prisma wave
#

yylime

#

why lime

#

explain

obtuse gale
#

no

#

I owe you NOTHING

prisma wave
#

I will remove your re: file

#

Do not threaten me

#

I hold all the cards

#

And then I will force push

#

So it is GONE FOREVERMORE

half harness
#

git reset

#

๐Ÿ˜Œ

prisma wave
obtuse gale
prisma wave
#

Remind me in the morning

half harness
#

๐Ÿฅฒ

prisma wave
#

Thank you

obtuse gale
#

lmao

prisma wave
half harness
#

:(

prisma wave
#

HAHAHAHAHAHAGAHSHAHSHAHE

#

You must be so shocked and saddened and embarrassed and appalled and disappointed!

half harness
#

๐Ÿ˜Œ

#

๐Ÿ˜–

obtuse gale
#

lol

half harness
#

๐Ÿฅด

#

๐Ÿคช

#

๐Ÿฅธ

#

โ˜บ๏ธ

prisma wave
#

Stop at once

#

That's enough

half harness
#

LOL

dense dew
urban sleet
#

(the tooltip on the item)

sweet cipher
#

Maybe an armor stand with a nametag?

half harness
#

i doubt thats a nametag

#

but then idk what else it could be

#

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

#

i was going to say mod

#

but I don't think this is a forge server

#

lol

urban sleet
#

It's all resourcepacks

half harness
#

check the resource pack fingerguns

urban sleet
#

I can try that

#

Unfortunately they have a nice forceresourcepack system so I can't join the server without the pack

half harness
#

but you can check what the resource pack contains

urban sleet
#

Yeah that's what I'm gonna try

half harness
#

its in %appdata%\.minecraft\server-resource-packs btw

#

and u just change the file extension to zip

#

try deleting them all and joining the server

#

so you only have that 1 resource pack

urban sleet
#

They have resourcepack protection on it but that's pretty easy to get around

half harness
#

resourcepack protection?

urban sleet
#

Yeah

urban sleet
half harness
#

but the client downloads it

#

and has to run it

urban sleet
#

Don't ask me how it works

half harness
#

what happens when u unzip it?

urban sleet
#

Let me send a screenshot

compact perchBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

half harness
#

oh wait

urban sleet
half harness
#

๐Ÿค”

#

can u send me the file?

#

im curious

#

๐Ÿ‘€

urban sleet
#

I can't send it here

half harness
#

dms ๐Ÿ™‚

urban sleet
#

Wtf..

#

I can't send it in DMS either

half harness
#

whats the error?

urban sleet
#

Fails to upload

half harness
#

lol

urban sleet
#

Just join the server, called originrealms

dense dew
#

hello guys, do you know some good web dev Discord servers?

eternal compass
#

Anyone know of a good downloads page for lots of small files that I could look at for info

urban sleet
#

@half harness Sorry for the ping, but if you join the server and want to see the tooltip thing, it's in their furniture shop
Apart from that, do you think there's a way to bypass their system to force the resourcepack when you join?

#

If I found a way to join without the pack, it would likely help a lot

sweet cipher
#

You could use a world downloader, might be against their rules though

iron kelp
#

probably a debug marker

urban sleet
#

Oh yep, I'm gonna check if there are any items near the furniture

#

Someone else told me it may be a title

iron kelp
#

oh it follows the cursor, then yeah, it's probably a title

sweet cipher
#

Wdym by title?

#

Like a hologram?

urban sleet
#

Like /title

iron kelp
#

title as in /title

sweet cipher
#

Oh

#

The command?

iron kelp
#

theoretically, yeah

sweet cipher
#

Wouldn't that require PlayerMoveEvent?

iron kelp
#

nope

sweet cipher
#

And that would be a lot of checks

urban sleet
sweet cipher
#

How would they send it whenever they look at things?

urban sleet
#

Like that

iron kelp
#

raycast probs, idk

urban sleet
#

I have no clue how the hell it was done

#

I didn't need to right click or anything, it just shows up

sweet cipher
#

They would still have to check the player's vision somehow, either with a scheduler or move event

sweet cipher
urban sleet
#

Sounds.. laggy?

iron kelp
#

nah, they don't have to use a move event

urban sleet
sweet cipher
#

Oh ok

sweet cipher
urban sleet
iron kelp
#

oh wait, not raytracing I'm dumb lmfao

#

raycast

ocean quartz
#

That's just titles and armor stands

iron kelp
#

you can get an entity's eye height

ocean quartz
urban sleet
#

Ooooh, very interesting

iron kelp
#

it even has isLookingAtItem

#

totally doable, but it won't be easy

urban sleet
#

Can you explain why it wouldn't be easy in a way a beginner dev would understand?

sweet cipher
#

You did say raycast

iron kelp
#

I edited it xD

sweet cipher
#

Oh

#

lol

iron kelp
ocean quartz
#

It's not that hard, well it might be a bit since you're beginner
But once you get the hang of it, it should be pretty simple

urban sleet
#

Gotcha, might try to do that at some point

#

Seems fun

obtuse gale
#

What scoreboard api should I be using for spigot?

pallid gale
#

deluxehub is not one of our plugins

proud oak
pallid gale
#

np!

distant sun
#

When you ask a question in Microsoft support forum about why your headset mic isn't working or any other problem.

stuck harbor
#

well thats windows for u :)

onyx loom
#

drivers drivers drivers

ocean quartz
#

Pinging the ones I haven't yet from the list I had @jovial iris @boreal needle @winter iron @obtuse gale don't forget the contest ;p
#announcements

obtuse gale
#

I forgot about this contest :3

steel heart
#

@surreal quarry you too

surreal quarry
#

what is this

#

oh i see itโ€™s like a plugin competition thing

steel heart
#

and you have to join

#

or I eat you

onyx loom
#

^

forest pecan
#

correction

#

he will eat everyone