#dev-general

1 messages ยท Page 295 of 1

forest pecan
#

lmao

static zealot
#

they're not your friends them

#

disown them

prisma wave
#

1.8 support:
pr or shut up

hot hull
#

He's the prime reason why earth is still such a shitty place

jovial warren
#

okay, I want to find out where that guy lives so badly and FUCKING BURY HIM ALIVE

hot hull
#

Move along fuckers

static zealot
#

xD

forest pecan
#

LOL

jovial warren
#

I can't stand people who think they know it all

static zealot
#

BBG its unfortunately a screenshot I thought as well its a person that just said that when Pulse sent the ss. I was like send me invite I'm going to crusade

jovial warren
#

they PISS ME OFF SO BADLY

regal gale
#

You guys still have the 1.8 Java version conspiracy here thonking

static zealot
#

what's that?

#

xD

forest pecan
#

in my plugin, i added a large warning to people using 1.8

jovial warren
obtuse gale
#

Check for the any 1.14+ class then lol

forest pecan
#

that my plugin is updating to java 11

static zealot
#

well I don't even support 1.8-1.12 in the few plugins I have lmao

obtuse gale
#

Java 1

#

Yes

forest pecan
#

why not the regex

#

lol

#

im wondering whats wrong with the regex tho

prisma wave
#

java 11 ๐Ÿคค

jovial warren
#

Java 11 good

prisma wave
#

it's no 15

#

but

#

yes

static zealot
#

idk how to update my dedi to java 11 and I'm to lazy to learn how to xD

jovial warren
#

Java 9 added in a shit ton of stuff to the time API that's just missing in 8 (found that one out the hard way)

prisma wave
#

ima abuse the shit out of records once they become mainstream

forest pecan
#
    private void checkJavaVersion() {
        final String[] verison = System.getProperty("java.version").split("\\.");
        final int major = Integer.parseInt(verison[1]);
        if (major < 11) {
            Logger.warn("MinecraftMediaPlugin is moving towards a newer Java Version (Java 11) \n" +
                    "Please switch as soon as possible before the library will be incompatible \n" +
                    "with your server. If you want to read more information surrounding this, \n" +
                    "you may want to take a look here at " +
                    "https://papermc.io/forums/t/java-11-mc-1-17-and-paper/5615");
        }
    }
prisma wave
static zealot
#

oh is it literally just one command? I'm on ubuntu 18.04 I think

prisma wave
#

yeah lol

jovial warren
#

you know what the annoying thing is though?

prisma wave
#

linux good

jovial warren
#

Paper 1.8-1.12 breaks on Java 11

forest pecan
#

lol

jovial warren
#

and the server I'm head dev for uses 1.12 everywhere

forest pecan
#

why tf 1.12?

ocean quartz
#

It'll never drop out of use, 1.8 users are more stubborn than a horse
"mUh PvP!"

jovial warren
#

(even on the hub, which I said should be 1.8 lol)

forest pecan
#

i only know 1.12.2 is good for modded

#

1.7.10 and 1.12.2 were insane for modded

#

but like other than that

hot hull
#

1.17 is what y'all should be using ffs

forest pecan
#

like bruh lol

hot hull
#

Like move on already

jovial warren
#

Factions on 1.8 because it's stupidly lightweight and everyone uses it

hot hull
#

Imagine using 1.16.5, fucking ew

forest pecan
#

1.17 isnt out tho

#

right

jovial warren
#

Skyblock I say 1.12+ because it's kinda in the middle

prisma wave
#

๐Ÿ™„

lunar cypress
#

Imagine playing minecraft 5Head

jovial warren
#

Hubs should be 1.8 since they need to be stupidly lightweight

prisma wave
static zealot
forest pecan
#

should be a gamerule

prisma wave
#

muh kb mechanics!!!

forest pecan
#

gamerule should control 1.8 pvp

#

or not

jovial warren
prisma wave
#

bro its not the same bro

ocean quartz
#

It'll never happen, no combat change will get them to update, they'll keep whinnying

#

Not even if they revert it

jovial warren
#

yeah that's the problem

#

what I'm hoping though is that eventually, it'll get to the point where 1.8 is so dead that only a select few that basically worship it as their religion will use it

prisma wave
#

no bro you cant ultrahoopfastbridge on 1.16 it sucks

static zealot
#

lets at least have some hope lmao

ocean quartz
#

I know about that, look at history of what happened to runescape when they had the combat update

forest pecan
#

2017: mom i learned to ninja bridge
2020: mom i learned to quartermoonwalkwitchelyinclinedquadstackderp bridge

prisma wave
#

lmao

forest pecan
prisma wave
#

minecraft takes skill guys

ocean quartz
#

Kek

prisma wave
#

it's an esport

static zealot
prisma wave
#

no updates allowed

half harness
#

๐Ÿ™„

ocean quartz
#

Dkim is not amused

forest pecan
#

Dkim moment

jovial warren
#

DKIM? lol

#

isn't that the mail signing system?

onyx loom
#

lol

#

dkim45823752483

#

that guy

jovial warren
#

ah

old wyvern
prisma wave
#

lmao?

forest pecan
#

Lmaoooo

prisma wave
#

is that in invadedlands

static zealot
#

ugh

#

that's kinda trash

forest pecan
#

he comitted to this 17 hours ago

#

he uses the weird ass brackets

heady birch
#

Sxtanna isn't banned is he? Just left by own accord

old wyvern
prisma wave
#

wait

#

no

static zealot
#

he's banned here.

prisma wave
#

he's banned

heady birch
#

Change it

old wyvern
#

He doesnt seem to have said anything about leaving that server

heady birch
#

@static zealot Change it

prisma wave
#

no

static zealot
#

I can't

forest pecan
#

lmao

old wyvern
#

He just left or had an argument in staff channels

prisma wave
#

he probably had a massive argument with staff

#

yeah

forest pecan
#

trusted can change it

#

they kicked me before

old wyvern
#

Quite natural of him ๐Ÿ™ƒ

forest pecan
#

๐Ÿฅฒ

heady birch
#

Admins abusing power again

prisma wave
#

why is the indentation so massive

old wyvern
#

๐Ÿ™ƒ

forest pecan
#

idk

#

lmao

old wyvern
#

Everything about that

forest pecan
#

and he puts everything into methods

#

disgusting

old wyvern
#

Why does it look like hes trying to inflate the line count and do nothing else

forest pecan
#

too unecessary

prisma wave
#

we need to stalk this guy some more

old wyvern
#

xD

forest pecan
#

lmao yeah

old wyvern
#

StalkChat

forest pecan
#

"JavaDoctor"

old wyvern
#

The what

#

wow....

#

uh

#

java-doc-tor

#

weird pun

forest pecan
#

lmao

heady birch
#

Java Doc Tour?

onyx loom
old wyvern
#

Kali not here

#

on Invaded

#

Hes not on there anymore either

onyx loom
#

oh ok i thought that was related to hc

prisma wave
#

yeah ik what happened here

onyx loom
#

we probably shouldnt talk about what happened here either ๐Ÿ™ƒ

prisma wave
#

๐Ÿ™ƒ smiling_face_with_3_tears

old wyvern
#

I still dont fully understand what actually happened here

#

I dont have access to that channel, nor do I have any idea how to get access to it

onyx loom
#

dw ๐Ÿฅฒ

prisma wave
#

papi update broke and people got mad

old wyvern
#

๐Ÿ˜‚

prisma wave
#

then chaos

heady birch
#

๐Ÿ˜Š

ocean quartz
prisma wave
old wyvern
#

That is some long spaces all right

obtuse gale
#

That genuinely makes me want to vomit

old wyvern
wind patio
#

if you have less or more 4 indentation spaces you're officially a maniac

ocean quartz
#

Depends on the language, css, html, yaml, for example 2 spaces

wind patio
#

true that

obtuse gale
#

YAML ๐Ÿคข

wind patio
#

two is also doable

ocean quartz
#

No PHP is 4

heady birch
#

Imagine using 3 or something

prisma wave
#

๐Ÿคข

static zealot
#

yo @ocean quartz your message library. does it have something for Console senders? Like transform the json to a string or something idk.

ocean quartz
heady birch
#

i was thinking of making NBT LIB using the hidden lore and HASHMAP method

static zealot
#

oh I guess I'll just make the sender be Player only

#

not that big of a deal. but thanks tho

#

ugh is it the one from that guy?

#

dkim deleted his message

#

I'm just to lazy to do the same

prisma wave
#

classic

half harness
#

afk

jovial warren
#

@prisma wave back to the thingy I said ages ago now btw, any ideas how I can store all the responses?

#

since responses are handled in a completely separate class

#

actually nvm, I think ik

prisma wave
#

absolutely no idea

#

hashmap

#

linkedlist

#

tree set

#

stack

jovial warren
#

yeah I think I'm gonna have every message have a UUID that I'll store responses by

#

or something like that

#

this is a pain

old wyvern
static zealot
old wyvern
#

๐Ÿ˜‚

#

@pallid gale Bug Report: Barry doesnt check edits for format

prisma wave
#

it's horrible

steel heart
#

its nice

half harness
#

its nice

prisma wave
#

its not tho is it

steel heart
#

yes it is

old wyvern
#

Theres probably some folding tool for it

forest pecan
#

is there a way to automatically add @NotNull to parameters

#

for intellij

half harness
#

yes

forest pecan
#

but not allow that

#

method ting

#

to happen

old wyvern
#

alt + enter is close

forest pecan
#

lol

prisma wave
forest pecan
#

in the format code?

steel heart
#

well you can edit that with code style shit?

#

couldnt u

prisma wave
steel heart
#

wow

#

wait

old wyvern
#

ah

steel heart
#

thats illegal

prisma wave
#

how

old wyvern
#

shoot them?

prisma wave
#

it looks gross after

steel heart
#

yep

old wyvern
#

make sure they dont make another one ever again

steel heart
#

you're under arrest

old wyvern
#

Natural Artificial Selection

steel heart
#

lol

static zealot
#

@ocean quartz just to make sure. '[MESSAGE](hover: HOVER MESSAGE)|(command: /command)' is this how I use your MSG Lib? I wasn't sure about the |

surreal quarry
#

shouldn't have the middle ) ( parens

#

iirc

static zealot
#

ugh

#

ohhh

#

I see

#

that's why the | felt weird

surreal quarry
#

just [MESSAGE](hover: message | suggest: /command)

static zealot
#

xD

surreal quarry
#

and i believe its suggest not command

#

nvm

static zealot
#

there is command as well

surreal quarry
#

its botph

#

ytea

static zealot
#

to execute the command

#

ty

#

btw I can't test it rn. on a coding spree. will handle errors tomorrow lmao xD

surreal quarry
#

lol

static zealot
#

will probably be a lot of them

#

and if I test the plugin rn I'll start fixing those instead of adding all the ideas I had

surreal quarry
#

just add a bunch of issues for your plans to gh issues

#

thats what i do so i dont forget lol

static zealot
#

yeah I should start using GH more but its just a storage option for now lmao xD

stuck harbor
#

mmmm issues

#

many issues

forest pecan
#

i just saw this kid add color codes to permissions

prisma wave
#

wtf

static zealot
#

what?

forest pecan
#

ikr

static zealot
#

xD

forest pecan
#

what the fuck

#

lol

static zealot
#

chatcolor.&f

#

lmao

forest pecan
#

xD

static zealot
#

or role.&fadmin and role.&cadmin

#

2 different roles

#

xD

#

what the hell is the use for color codes in a permission?

forest pecan
#

idek

prisma wave
forest pecan
#

intellij doing intellij things lmao

prisma wave
#

figured it out lol

#

i was targeting java 13 but only using jdk 8

onyx loom
#

u smart cookie

prisma wave
#

๐Ÿ˜Ž

static zealot
#

hmm with Math's message LIB would I also be able to do something like "[message](command: /command)[message2](command: /command2)" ?

#

oh I can

#

nvm

#

ah now (action: | action:) makes way more sense

#

than (action:)(action:) lmao

winged mica
#

anyone know how to create a temporary file and editing it with fs without saving it?

prisma wave
#

Files.createTemporaryFile ?

#

something like that

winged mica
#

in node.js

lunar cypress
#

You can't just create files from javascript

#

I think

static zealot
#

you can

prisma wave
#

node?

lunar cypress
#

not without manual permission, no? it seems like it should happen implicitely here

winged mica
lunar cypress
#

well...

#

that is an important bit of information lol

static zealot
#

lmao

winged mica
#

basically I have to create a .txt file, edit it with fs and send it as a MessageAttachment with discord.js. All in a function without create the file

(It is difficult to say lol)

empty flint
#

Is there a faster way to check for null values?

var arr = listOf(null, null, null, null, null, "not null")

val timeInMillis = measureTimeMillis {
  loop@ for (s in arr) {
    if(s != null) {
      println(s)
      break@loop
    }
  }
}

println("this took $timeInMillis millis.")
prisma wave
#

Lmao

empty flint
#

(this is a scratch file, I'm just testing the speed it takes to find the first non-null value in a bunch of variables)

static zealot
#

probably looping is taking more than checking for null

prisma wave
#

Well that's not gonna give any reliable times

ocean quartz
#

Why that label? thonking

prisma wave
#

It's barely even a microbenchmark

static zealot
#

bcz its a loop xD

prisma wave
empty flint
empty flint
static zealot
#

right but you still don't need a label there

prisma wave
ocean quartz
#

I mean you wouldn't need it for a foreach either

prisma wave
#

I'm not an expert but you should typically account for warmup and take multiple tests + an average

static zealot
#

labels are usually when you have loops in loops

empty flint
static zealot
#

but as BM said that's probably not going to give any good timings and also why the hell would you need a faster way to check for nulls? xD

empty flint
#

yeah, the label was for a foreach in another loop inside another loop

#

the label isn't important, it's a scratch file as I said

prisma wave
#

more importantly this isn't exactly a slow operation

empty flint
#

I know I'm being stupid here

static zealot
#

that's one of the very few things you have to worry about

empty flint
#

just humor me, it doesn't have to be null

prisma wave
#

The JVM can probably loop 10 times in a few nanoseconds

#

There's not much you can optimise here

static zealot
#

I'm pretty sure null checking is one of the simplest things

prisma wave
#

Pretty much

lunar cypress
#

yes

#

what are you even worrying about

static zealot
#

I'm not good with optimization and stuff like that but I'm pretty sure it checks if the value points to the part of memory where null is set or not.

empty flint
#

so not really a point in trying to optimize looking for the first non-null value?

static zealot
#

which I think is one of the fastest operations. I might be wrong

lunar cypress
empty flint
#

like on an asm level

static zealot
#

anyways I know its like one of the fastest operations

empty flint
#

yeah, it's one of the basic commands a cpu can do

lunar cypress
#

It's literally NULL in most C-based implementations I believe

empty flint
#

alright then I guess I will just not worry about that then ๐Ÿ˜„

#

thanks

static zealot
#

BB there's operations you should optimize and there's things you shouldn't even think of optimization when you think about them.

empty flint
#

I think getting all those values will take a long ass time anyhow so the comparison will probably really be negligible

lunar cypress
#

Yes

#

but also

empty flint
#

because all those values will come from a database

lunar cypress
#

don't use loops

#

be a cool kid

empty flint
lunar cypress
#

.any for example

heady birch
#

Where x != null

static zealot
#

damn man. Matt's MSG lib just made my class from like 200 lines to 50 xD. well I did some other improvements but that helped a lot

lunar cypress
#

or if you want to print as well

#

takeWhile or whatever it's called

empty flint
#

like measurably longer

lunar cypress
#

you don't understand

#

it doesn't make sense to optimise this

empty flint
#

no aparently not

#

well it does if it takes like 10 ms vs 1 ms

lunar cypress
#

also I doubt it will take considerably longer

empty flint
#

dunno, it did on this small portion of code just now

lunar cypress
#

with a proper benchmark

empty flint
#

well I obv didn't do a proper benchmark

lunar cypress
#

so why are you making this statement

#

This would be 1000% slower

static zealot
#

and the errors have begun.

#

wish me luck guys

lunar cypress
#

If that actually scaled the function would be broken

static zealot
#
[19:36:12 INFO]: [BCore] Disabling BCore v1.2
[19:36:12 INFO]: [BCore] Plugin disabled successfully!``` ๐Ÿ˜ข
lunar cypress
#

In any case if you're using kotlin you simply do not care about these things

#

As long as it's not incredibly hot code (which is handled by the JVM in most cases anyway) you care about idiomacy and runtime complexity

heady birch
#

If speed is a cause for concern consider a SAFE and FAST language like rust

lunar cypress
#

the latter is linear in both cases

#

I suppose what Donald Knuth once said will never get old

prisma wave
#

it's more likely your benchmark is inaccurate

prisma wave
steel heart
#

diminishing optimizations ?

prisma wave
#

very much so

steel heart
#

10 ms vs 1 ms

#

who cares tbf

#

unless it's some circlejerk race like Elara vs go then just make the thing that turns out to be most beneficial, or no? (Most likely not the latter)

prisma wave
#

those numbers aren't accurate anyway

#

you cant draw any conclusion from that

steel heart
#

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

#

yeah

hallow crane
#

What server software do servers like the Hive use (bedrock)? For example, some Java servers use Spigot, Paper, or another similar fork of Paper.

old wyvern
#

PocketMine I think

hallow crane
#

PHP

#

?

#

I know that there are Java based softwares, like NukkitX/Cloudburst

prisma wave
#

php

distant sun
#

Why php

#

Isnt bedrock coded in cpp or smth like that?

prisma wave
#

yes

#

not sure why they didnt choose a MODERN language like RUST

#

maybe that's why mojang is losing money

distant sun
#

anything but php

old wyvern
#

PocketMine is not owned my mojang I think

#

It was just one of the first ones to pop up

prisma wave
#

making a game in PHP is the dumbest thing you could possibly do

distant sun
#

^

old wyvern
#

And earlier on it allowed us to host servers from our phones

#

or something like that

prisma wave
#

it's like writing a game in fucking nginx .conf files

#

however

#

idk

old wyvern
#

Next Bedrock server to be on Elara??? ๐Ÿ˜ฎ

#

Take on the untamed market

prisma wave
#

ew no

old wyvern
#

๐Ÿ˜‚

prisma wave
#

elara doesnt deserve bedrock

old wyvern
#

mc rewrite

prisma wave
#

tbf

#

that would be sick

stuck harbor
#

bedrock uses EnTT apparently

#

very nice

prisma wave
#

speak english

stuck harbor
#

bm knows no c++ libs lol

#

big oof

hallow crane
#

PocketMine is PHP....that's so dumb

#

I would rather it be in ASM

prisma wave
#

ive barely used c++

#

a fact im very proud of

#

actually ive used it like twice

#

but

#

i would rather use something more pragmatic and modern

lunar cypress
#

Like rust

#

Because rust is typically typed

prisma wave
#

LMAO i saw that

#

yes

distant sun
#

:))

old wyvern
#

Rust jerk time?

lunar cypress
#

Honestly I feel bad for this person

distant sun
#

Still, why php for fuck sake

lunar cypress
#

They just don't have any idea what they're saying

prisma wave
#

because it's typically typed, rust catches errors at compile time

#

also, it compiles code down to machine learning, allowing for extra efficiency

#

????

old wyvern
#

๐Ÿ”ช

lunar cypress
#

I think they wrote an AI to generate a blog post from hackernews comments

prisma wave
#

oh lmao

#

that makes a bit more sense

lunar cypress
#

I mean that as a joke

hallow crane
#

you're right. typically, you type rust

prisma wave
#

oh lmfao

lunar cypress
#

But it would indeed make more sense than whatever this is

prisma wave
#

yeah lmao

#

wtf is "typically typed"??

hallow crane
#

instead of telepathic creation of rust programs

#

typically you type it

lunar cypress
#

Not to be confused with "typical typed"

prisma wave
#

of course not

#

the machine learning is so much more efficient though

#

i love how it uses ADVANCED AI for the println macro

#

to make sure that it ALWAYS appends the \n

onyx loom
#

compiling down to machine learning is a necessity for ALL modern languages

old wyvern
#

Except Elara

#

Elara is sentient

#

๐Ÿ™‚

prisma wave
#

elara uses AI in even the simplest statements

#

for example

#

1 + 2 might yield 4, because the model thinks that's the most likely answer

#

so much more practical!

lunar cypress
#

holy fucking shit

old wyvern
#

๐Ÿ˜ฎ

lunar cypress
#

pardon my french

#

my new assignment is cringe af

old wyvern
#

What is it?

prisma wave
#

lmao

#

"explain why rust is inefficient"

#

"what is typical typing in 1000 words or more"

stuck harbor
#

rust very efficient

#

100%o

prisma wave
#

well yes

#

the machine learning is what makes it so efficient

stuck harbor
#

c++ feels nice

#

very nice c++

lunar cypress
#

There is "lore" in my assignment text about how "doctor meta" vandalised our campus with "confetti jam"

#

wtf is this

light leaf
#

he's back in town? ๐Ÿ˜ณ

prisma wave
#

?

lunar cypress
#

please explain

#

theory man got access to plans of doctor meta's high security bunker. The plan is a directed graph G = (V, E) and each room is encoded as 3 bits ...

#

wow

prisma wave
lunar cypress
#

I'm equally confused as you

#

but apparently @light leaf knows what this is

prisma wave
#

oh good

#

i thought this was some reference i wasnt getting

lunar cypress
#

he went through this class already

light leaf
#

The last time I met him was in security. He founded a crypto currency called MetaCoin

lunar cypress
#

Were your lectures also by Worsch

fluid mesa
#

Does anyone here know how to make the requirement to purchase x item with Experience work for the deluxe menu?

steel heart
#

pog

light leaf
lunar cypress
#

ok

#

I guess this doesn't have to make sense then

#

and yeah he's decent

lunar cypress
prisma wave
#

nope

#

seems very similar to f# tho

#

and by that I mean MS stole ocaml

#

dont disrespect f#

#

it's hot

steel heart
#

F# lol

prisma wave
#

dont

steel heart
prisma wave
#

f# is so far my favourite functional language

prisma wave
#

although that may change

lunar cypress
#

the implementations of the type systems I'm reading about are written in ocaml so I suppose I'll have to learn it

prisma wave
#

ah nice

stuck harbor
#

scala is functional, no?

prisma wave
#

it seems to be quite a nice language

#

yeah primarily functional

stuck harbor
#

aight

#

obv got some OOP features

old wyvern
#

Yea

stuck harbor
#

being JVM and all that

prisma wave
#

a uni course i was looking at teaches OCaml and Java which sounds fun

stuck harbor
#

mmm

lunar cypress
#

ocaml seems to be a language liked in academia

prisma wave
#

yeah

#

not entirely sure why

#

i guess because it's got a powerful type system

#

and is multiparadigm

old wyvern
#

it is?

prisma wave
#

i believe so

old wyvern
#

oh I thought it was fp

prisma wave
#

OCaml is an industrial-strength programming language supporting functional, imperative and object-oriented styles

old wyvern
#

ah

#

I see

prisma wave
#

I think it's mostly functional

#

in the same way scala is

old wyvern
#

ah

lunar cypress
#

O stands for object oriented I believe

old wyvern
#

ObjectCaml?

prisma wave
#

o lol

lunar cypress
#

or Object

#

yeeah

prisma wave
#

yeah because Caml is also a language right?

lunar cypress
#

yeah

old wyvern
lunar cypress
#

categorical abstract machine language

#

that's some academic shit

prisma wave
#

yeah i was gonna say lol

#

i can see why they like it

lunar cypress
#

the compiler written by the people who proved that java generics are turing complete is also in ocaml

stuck harbor
#

why does objective C exist?

#

just use cpp like what

steel heart
lunar cypress
#

Apple

prisma wave
#

monads

stuck harbor
#

apple use swift noe

prisma wave
#

๐Ÿคค

stuck harbor
#

have done for years

old wyvern
#

I still dont understand what they mean when they say java generics is turing complete

lunar cypress
prisma wave
stuck harbor
#

mhm used to

lunar cypress
#

swift is a fairly young language

old wyvern
#

Doesnt that mean we can express any algorithm with just generics?

stuck harbor
#

legacy code is satan

lunar cypress
#

and objective c is still pretty widely used

prisma wave
#

yeah i dont understand it either

old wyvern
#

But how tho ๐Ÿ˜•

lunar cypress
#

You can read the paper

#

you can also download the tools they wrote and compile programs to java generics

prisma wave
#

wtf lmao

lunar cypress
lunar cypress
#

yep

#

you can then run it with javac

old wyvern
#

madlads

lunar cypress
#

might take a while though because it's really just turing machines

prisma wave
#

i dont think ill ever understand that

#

how do you simulate state with a generic?

lunar cypress
#

hard to explain in short

#

but it has to do with wildcards and how java decides whether one generic type is a subtype of another

old wyvern
#

ok wait I think it runs on the "java compiler" rather than on the jvm like I assumed

lunar cypress
#

yes of course

old wyvern
#

ah

#

that makes more sense

prisma wave
#

confusing

empty flint
#

As a computer scientist this is really interesting but outside of the niche of just doing it for the sake of doing it and gathering knowledge, that is a lot of time wasted. To me, this classifies this paper as a piece of art. thanks for coming to my TED talk.

#

I wonder how many NPEs you gotta smoke to pose the question whether java generics are turing complete or not.

hallow crane
#

ted is my uncle

prisma wave
#

no he is not

#

you are a liar

empty flint
#

bundy? moseby? cruz? rosevelt?

prisma wave
#

this guy loved haskell so much he named himself after it ๐Ÿฅฐ

#

wholesome

hallow crane
#

you know him

#

uncle teddy

#

thomas tedison

empty flint
prisma wave
#

lmao

old wyvern
#

Haskell is already from a person's name

#

Haskell Curry

prisma wave
#

ok well now it's from 2 people's names ๐Ÿ˜Œ

old wyvern
#

xD

steel heart
prisma wave
#

learnung rust to use rust ๐Ÿ‘ผ

steel heart
empty flint
#

Learning Programming to recognize and debug the matrix from within when you see deja vus once the machines take over

prisma wave
#

learning programming to make minecraft plugins for your dead server

#

couldnt be me

steel heart
#

True

empty flint
#

lmao

steel heart
#

Cap tho

empty flint
#

how about making plugins for any server that will have them?

#

how dead is your server tho?

steel heart
#

โ—„----------------------------------Thanks for watching!--------------------------------โ–บ
Once up, the server ip will be: play.knightzmc.com
The forums are up: forum.knightzmc.com
Song: TheFatRat - Windfall
ยซโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌยป
Enter the Knightz Programme here: https://bit.ly/knightzprogram
ยซโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌโ–ฌยป
Social Stuff:
...

โ–ถ Play video
#

BM justify

prisma wave
#

it was dead

#

it never released lmao

empty flint
#

like 1 player or so dead not even you like to play anymore so it just takes the ol' cpu for a spin cycle every couple nanoseconds?

steel heart
prisma wave
#

๐Ÿฅฒ

steel heart
prisma wave
#

i was like 11

steel heart
#

๐Ÿฅฒ

#

Yeah

empty flint
#

wait is that actually you?

prisma wave
#

yeah lol

#

pretty old tho

empty flint
#

That is fucking brilliant man

prisma wave
empty flint
#

u weren't 11, I refuse to believe you are 15 now.

prisma wave
steel heart
onyx loom
prisma wave
steel heart
#

Oo yes

prisma wave
steel heart
#

Coding with Lombok I assume

prisma wave
#

uh

steel heart
prisma wave
#

possibly

half harness
prisma wave
#

i had a lombok phase but i dont remember when that was

steel heart
#

Lol

#

We all had

ocean quartz
#

I had lombok phase that lasted like a week

prisma wave
#

lucky

empty flint
#

tfw the alphabet and the numeric scale in a text editor becomes more interesting than actual games.

#

tbh I kinda like lombok when I do stuff in Java ๐Ÿ˜ฆ

prisma wave
#

no

#

you dont

empty flint
#

it's convenient tho

#

what's wrong with lombok?

prisma wave
#

dont care

#

?plsnolombok

compact perchBOT
#
FAQ Answer:

Why is Lombok bad?

  • It's a compiler hack - the Java compiler isn't designed to modify code, so it can cause difficult to debug errors, or worse
  • It requires an IDE plugin, so unless you've properly configured Maven, Gradle and your IDE, you'll get hundreds of compilation errors. This process takes time too, it's not easy
  • Lombok'd code won't show in Javadocs
  • The code generation is often unpredictable and difficult to debug, and often you'll have to do it "the hard way" anyway
  • Java is supposed to be explicit, Lombok hides a lot of key functionality into a subtle annotation which can be easy to miss
  • While IDEs support it with a plugin, it's usually more difficult to find specific things, like usages of a getter because they don't exist in the source code
  • Finally, Lombok'd bytecode doesn't match the source code, so it causes a pretty annoying warning in IntelliJ
prisma wave
#

uh oh

steel heart
#

And thatโ€™s not even half of the cons

prisma wave
#

several people are typing

half harness
#

https://www.youtube.com/watch?v=4hJRe4xtAxM @prisma wave oh you already made a tutorial ๐Ÿ‘€ yay

โ—„----------------------------------Thanks for watching!--------------------------------โ–บ
Sorry about the glitchy first few minutes. :3
Episode 1 of the Bukkit/Spigot/Java tutorial, showing you how to print text to the console, player, and make commands
Download Eclipse here: https://www.eclipse.org/downloads/?
(or you can use another IDE, it's u...

โ–ถ Play video
steel heart
#

Yeah

lunar cypress
steel heart
#

Supreme tutorial

prisma wave
#

lemme try find the good part

old wyvern
#

Eclipse

prisma wave
#

๐Ÿฅฒ

onyx loom
#

val in java!

old wyvern
#

what?

onyx loom
steel heart
#

Lombok scares me

old wyvern
#

I mean at this point why dont we have some sort of precompiler ๐Ÿ™ƒ

#

Babel4J

prisma wave
#

my god

#

6:30 is the worst thing ive ever written

half harness
old wyvern
#

ah yes

#

new sayHi

prisma wave
#

lmfao

steel heart
#

Cute

prisma wave
#

i was so confused lmfao

onyx loom
old wyvern
#

I wish I could find some of my old shit

#

Is plunder still up?

half harness
#

MainClass.java

prisma wave
#

at least it's not Main

empty flint
# prisma wave ?plsnolombok

ok so here's my answer to those points:

  • never had that happen
  • I don't always use maven or gradle, sometimes, especially for sandbox things, it's just overkill. That said, never had to configure maven or gradle for lombok other than the old import statement like any other dependency. Also, almost everyone uses an IDE. F* rawdogging javac in the command line.
  • Not once have I generated Javadocs
  • Not for the trivial getters and setters which is what I mostly use it for
  • Well there are a lot of other things you can hide in Java quite well unless you know exactly what to look for. Lombok isn't special in that regard.
  • Eclipse and IntelliJ have no problem finding usage of a getter.
  • Don't know about the warning, never paid attention to those anyway.
prisma wave
#

oh boy

steel heart
#

The problem with lombok is that I donโ€™t find it useful

prisma wave
#

you wanna go down this path?

steel heart
#

Itโ€™s completely useless

#

Not meaningful at all

ocean quartz
old wyvern
#

Again

#

Why not make a precompiler instead of a compiler hack ๐Ÿฅฒ

steel heart
#

Lol true

ocean quartz
#

Too much work kek

empty flint
#

I basically use it when I want to test some ideas and know there's gonna be a lot of refactoring of classes and fields to figure out what I want to do with them and test things out. generated getters and setters are really useful in that regard

old wyvern
#

xD

#

oh btw matt I started learning react as well

half harness
old wyvern
#

๐Ÿ˜Œ

prisma wave
#

generated getters and setters are really useful in that regard
your IDE can do that ๐Ÿ™‚

steel heart
#

It takes 2 seconds to delete and generate a getter/setter

prisma wave
#

imagine if react.hs

steel heart
#

Not like it will slow you down

half harness
#

alt + insert -> down arrow 3 times -> enter

empty flint
#

True but it clutters the files and I don't like looking at them

old wyvern
onyx loom
#

lol?

steel heart
#

Blocky java is meant to be verbose

old wyvern
prisma wave
#

consider using a language that isn't verbose

#

for example

ocean quartz
#

I agree that it makes data classes look ugly af, but it's still better than lombok

empty flint
prisma wave
#

insert language here

old wyvern
#

ELARA

steel heart
#

So yes then the question remains why use java with Lombok?

#

If you insist yourself kotlin is better

empty flint
#

I don't use Java at all anymore lol

prisma wave
#

lol

steel heart
#

Thatโ€™s a relief

prisma wave
#

then why use lombok

steel heart
#

^

prisma wave
#

man lombok + kotlin is SUCH a great combination

steel heart
#

Lombok is a crappy

onyx loom
#

@Getter on a property

steel heart
empty flint
# prisma wave then why use lombok

I don't, I just said when using Java, Lombok was handy for me in the past, never had any downsides or issues and it was faster than generating getters and setters that all have to change when I change the variables around

prisma wave
#
@Data
data class Person(
  @Getter val name: String
)
``` ![clojuremoon](https://cdn.discordapp.com/emojis/745067282450874481.webp?size=128 "clojuremoon")
ocean quartz
#

Omg i need to try that

@JvmField
@Getter
val name: String = "Name"
empty flint
#

I don't use Lombok anymore. I wanna make that clear.

old wyvern
#
@Getter @Setter
var a
    get() = 1
empty flint
#

You guys are being buttholes ๐Ÿ˜‚

old wyvern
#

you know what

ocean quartz
#

We're always like that

prisma wave
#

speak for yourself

steel heart
#

If you use Lombok sorry

old wyvern
#

fuck this, Im switching from keyword to annotations

steel heart
#

Then I canโ€™t resist myself

prisma wave
ocean quartz
#
@Private
@Final
@Static
String name;
empty flint
# ocean quartz We're always like that

No you aren't. Usually I'm the guy everybody is facepalming at because I wanna do some hacky stuff that makes @prisma wave shake his head in disbelief.

prisma wave
#

we need generic annotations

empty flint
#

This Lombok shaming feels completely uncalled for now.

prisma wave
#
@Getter<String>
public String string;
steel heart
#

Blocky Iโ€™m sure he nitpicks for a reason

ocean quartz
#

Lombok shame is always called for though

steel heart
#

At the end itโ€™s not to be evil or mean

#

Itโ€™s presumably to help you

prisma wave
#

basically

#

lombok bad

steel heart
#

Only good thing about Lombok is that itโ€™s bad

prisma wave
#

it excels at being bad

empty flint
# steel heart At the end itโ€™s not to be evil or mean

I don't take it to be mean at all. I wouldn't ask for help if I didn't know I was being an asshat with what I wanted to do and needed somebody more knowledgable to tell me why I failed as a software engineer and should have pursued a career in the performing arts ๐Ÿ™ƒ

steel heart
#

Your point?

prisma wave
#

they should make lombok into a language

empty flint
old wyvern
#
@Public @Abstract @Class @Identifier("AbstractBeanFactory")@LBRACE
    @Getter @Setter @Private @Int @Identifier("i") = @AsInteger("1")
    @Public @Identifier("AbstractBeanFactory")(@Int @Identifier("i")) @LBRACE
        @this.@Identifier("i") = @Identifier("i")
    @RBRACE
@RBRACE
prisma wave
#

main.lom

@MainMethod
void main @MethodBody
  @Println(value = "Hello World")
@EndMethodBody

#

holy shit

prisma wave
quiet depot
#

elaraclipse

prisma wave
#

๐Ÿ˜

steel heart
#

Lol

old wyvern
ocean quartz
#
@Getter
let name = "Name"
prisma wave
#

wow

#

so modern!

#

so robust!

#

startups need to adopt this now!

steel heart
#

@Getter(
type = @grizzled heart(String.class),
value = @Value("hi"),
static = true
)

#

Oops

lunar cypress
#

You could, theoretically, write a program in only annotations

prisma wave
#

could you?

half harness
#

no u cant

#

bc u need public static void main

prisma wave
#

classgen

#

maybe

lunar cypress
#

Well you would need some annotation target but other than that

empty flint
half harness
#

lol

lunar cypress
#

Might be an interesting challenge actually

prisma wave
#

sounds fun

#

turing complete language built in only annotations

half harness
#

๐Ÿค”

old wyvern
#

Ah yes

#

the next paper

empty flint
old wyvern
#

Java Annotations are Turing Complete!

empty flint
#

what the hell there's a Java 17 already?!

prisma wave
#

rust enums

old wyvern
#

Not released borz

empty flint
#

ah

lunar cypress
prisma wave
#

well i partially agree

#

the people on top should be funding more important research

lunar cypress
#

You could say that about anything because after all, before you've made the research you don't know whether it will be useful or not

#

This gives some interesting insight into how java generics work

empty flint
#

I wonder how many versions they will release in their scheduled cycles before they run out of meaningful changes to the language they can implement within a cycle's timeframe

distant sun
#

shit man, tuinity's discord server got raided

prisma wave
#

there will always be something

#

java 25 will be a functional programming language

#

bet

onyx loom
#

u heard it here first

#

are u james gosling by any chance?

prisma wave
#

i am NOT

onyx loom
#

LOL

empty flint
# lunar cypress That is a very naive idea of research

It's a practical one. Believe me, I understand the reason papers such as the above exist and do think they are important from a scientific standpoint. But they are not practical by any means and there are thousands like it out there

empty flint
distant sun
old wyvern
prisma wave
#

the so called "fast spigot fork"

empty flint
onyx loom
old wyvern
#

Lmao

lunar cypress
#

Therefore it's not useless

old wyvern
#

Did their discord just get botted

#

?

distant sun
#

yea

prisma wave
onyx loom
#

๐Ÿฅฒ

empty flint
prisma wave
#

you will have to send proof that screenshot has not been TAMPERED With

old wyvern
prisma wave
#

oof

steel heart
onyx loom
#

damn gay is a funny word apparently

prisma wave
#

yes

#

you must laugh NOW

onyx loom
#

ha

old wyvern
#

ha

prisma wave
#

my 2 favourite jokes are gay and simp

#

it makes everyone laugh every time

old wyvern
#

๐Ÿฅฒ

steel heart
#

Hah gay and simping

prisma wave
#

yes i am an avid pewdiepie fan, why?

lunar cypress
# empty flint I don't recall saying it was...

Well what are you saying then? Because "it's interesting scientifically" but "a waste of time everywhere else" is contradictory or at least a useless observation. It is a scientific paper after all, and science and theory is the basis for practice

prisma wave
#

man i love the 2 different conversations weve got going here

#

a debate on whether or not different research is useful

#

and

#

"simp"

empty flint
#

yes, you are absolutely correct. no dispute there. research is scientifically important

old wyvern
#

๐Ÿ˜‚

empty flint
#

but unless that research actually leads somewhere and is used in practice, it is and stays irrelevant imo. You can dig 1000 holes before you find a piece of gold. doesn't mean those 999 holes before you found the gold are useful or contributed to the finding of the gold.

lunar cypress
#

Also whether a type system is turing complete is not a crazy question, because if the answer is yes it implies that the type system is undecidable, which is a relevant property

ocean quartz
lunar cypress
#

You may not notice it in your everyday programming but it matters for the design of the system

#

But sure I'm not saying that this changes Java programming fundamentally

empty flint
#

I just think you and I have a different perspective about this at this moment. If you look at it as a scientist and researcher within the realm of the java language, that is absolutely valid. If you look at it as literally anybody else in the world, it is irrelevant to you unless something practical can be done with that information.

lunar cypress
#

Not arguing with that

prisma wave
empty flint
#

I agree it's cool they did this. The paper is way beyond me anyway and I hated those courses in university as well so it's no surprise. I'm still fascinated by it. But as somebody who does not venture into the unknowns of the scientific knowledge with my everyday uses of Java, I really could have lived my entire life not knowing whether you could combine the words Turing complete and Java Generics in a meaningful sentence. Let alone answer it

#

It's cool, but in 20 minutes I will have forgotten about it I think.

lunar cypress
#

Fair enough

distant sun
ocean quartz
#

It's horrible, i closed the video

steel heart
#

Matt

#

Tried vue?

#

Or angular?

#

Lol

ocean quartz
#

I've tried vue yeah

steel heart
#

Good or bad?

ocean quartz
#

It's good, didn't use it too much though

steel heart
#

Hmm okay, react better?

ocean quartz
#

Seems like it, right now I've done more with react than I did with vue which is still very little but i quite like react

steel heart
#

Yeah

#

React is nice but I canโ€™t resist angular as well lol

ocean quartz
#

Still have to try that one

#

Having a lot of fun with React + Ktor though

steel heart
#

Oh yeah sounds like sugar

half harness
old wyvern
#

Which one's that?

half harness
#

Birdflop

#

hosting

#

yatopia too

lunar cypress
#

Imagine spending money on a bot net to then do this

onyx loom
#

wdym their money was worth it for their giggles that last a solid minute

prisma wave
#

I'm sure they were very proud of themselves

#

I mean

#

They said the funny word!

#

They got the whole squad laughing with that one

prisma wave
#

๐Ÿคฌ ๐Ÿ˜ก ๐Ÿ˜  ๐Ÿฅฒ

onyx loom
#

"experienced in clojure, c++, c, haskell, f# even tho i used them once"

prisma wave
#

Well you see

#

Nobody in here is gonna hire me to use those languages

#

So it's fine

#

I could say I'm experienced in every language and people would only care about java / kotlin ๐Ÿฅฒ

onyx loom
#

๐Ÿฅฒ

regal gale
#

I do care of js sometimes

steel heart
old wyvern
#

Thats pretty easy

steel heart
#

Okay now make flying car from scratch

old wyvern
#

Sure

#

Meet me a few centuries later

steel heart
#

Bet

prisma wave
#

main = putStrLn "Hello"

#

ez

steel heart
#

No

lunar cypress
#

I'm so glad they emphasised polymorphism in school, I use it all the time
I don't get this joke

prisma wave
#

Me neither

#

It's used pretty often in java

#

Maybe they mean stinky JS development

lunar cypress
#

Definitely not a 10xer

prisma wave
#

Absolutely not

forest pecan
#

Caused by: java.lang.ClassNotFoundException:

onyx loom
#

bro just shade every lib in existence

#

never will u see a CNFE again!

forest pecan
#

Bro i should shade the milky way

onyx loom
#

yes

#

create an alternate universe

#

except thats a galaxy

#

u get my point

forest pecan
#

Yes

#

"The Almond Milky Way"

onyx loom
#

๐Ÿคค

#

yes please

forest pecan
#

i was at the together java discord

#

and i found this

onyx loom
#

smooth brained

forest pecan
#

ikr

old wyvern
#

๐Ÿ™ƒ

regal gale
#

F

#

What's the latest action that you've made?

old wyvern
#

Nothing

#

Absolutely nothing

regal gale
#

Or being inactive for too long

old wyvern
#

Yea I guess

#

thats a pretty weird way to deal with inactivity

#

...

regal gale
#

Instagram got this system

#

Screwed me over everytime

#

Took like 3 weeks for a real staff to recover them

old wyvern
#

๐Ÿ˜ฌ

charred torrent
#

Anyone wanna ban this person?

#

Ah yes the site im on isnt whitelisted

regal gale
#

??

hot hull
#

What would be a clean thing to use if I need to pass in two values of either or, those two values being identifier values, however only one is required at a time so having two params is a waste

#

Should I just make my own object, or is there something which would suit my use case?

frozen furnace
#

heyy does anyone here know how i can fix deluxe tags not displaying all the tags in /tags

#

like i create a new one and it replaces the one i have

prisma wave
#

Lmfao

old wyvern
#

Haskell solves everything ๐Ÿ˜Œ

prisma wave
#

Elara supports them

hot hull
#

Doesn't really help much does it smh

prisma wave
#

Well you can replicate them pretty easily with an abstract class / interface + 2 implementations that wrap a value

#

This is one of the uses of sealed classes btw

#

Representing a finite union of types

hot hull
#

A whole lot of implementations for a single param removal no

prisma wave
#

Meh

#

Have 2 params if you care so much

hot hull
#

Nah Imma try what you said, it'll be ugly if there's two params

blissful sluice
# old wyvern tf twitter

im actually going through this rn too, i sent them a ticket, more like 3, over the past year... still done nothing

lunar cypress
#

Twitter support is very slow

#

A bot I wrote with somebody else also got suspended for no reason

#

but after like a year it's up again now

#

without any response to our appeal

stuck harbor
#

lol

jovial warren
stuck harbor
#

shitty looking management panel

jovial warren
#

I use Postfix and Dovecot lol