#dev-general

1 messages · Page 223 of 1

static zealot
#

ye I know james

surreal quarry
#

mans using arrays

static zealot
#

I rly need to analise this heap dump

#

and I can't find another way

prisma wave
#

rust

#

Clash of rust

#

Borrow checker

surreal quarry
#

text editor like vim or smth?

steel heart
#

what about 1 more

prisma wave
#

.unwrap() .mut()

#

Yea 1 sec

surreal quarry
#

yea ill do 1 more

prisma wave
#

Making food

#

Wait a minute

static zealot
#

I'm not doing anymore

#

I already spent to much time

#

doing thos

#

oh wait

#

I might've not uninstalled eclipse

surreal quarry
#

even worse

static zealot
surreal quarry
#

than reinstalling it

steel heart
#

yes blitz

#

finally someone who shares my opinion

static zealot
#

I was joking lol

hot hull
steel heart
#

bruh

static zealot
#

you can take it and shove it up your ass but shove it hard so it never comes out

#

Saw that one Frosty its exactly what I would do actually

steel heart
#

you're jealous

#

bruh

#

yall doing wrong

#

9-7=2

#

ezz

static zealot
#

well 5+1 != 2 as well

#

....

#

so you can't tell me I'm wrong

surreal quarry
#

yea id probably do a != thing too

steel heart
#

thats just a false statement

static zealot
#

just shut up Conclure and tell me how to use Eclipse

steel heart
#

or a true one

#

nvm

#

no

#

u're a simp

half harness
#

yayy i finished

steel heart
#

gg wp

static zealot
#

good jobe dkim

half harness
#

🥳

static zealot
#

someone explain to me

#

what do I need to do

#

because their blog doesn't exist

steel heart
#

omg js my g

#

@prisma wave

#

START

#

NEW

#

ONE

#

OR

#

BAN

prisma wave
#

OK

#

actually 1 second

static zealot
#

please stop

#

sending links

surreal quarry
#

i speed join clash of code games

static zealot
#

because I can't stop clicking them

surreal quarry
#

im speed

#

so fast

#

thats the point blitz

steel heart
#

simping for clash of code, huh I see how it is

prisma wave
#

right

surreal quarry
#

food can wait BM

prisma wave
#

golden syrup applied to crumpets

surreal quarry
#

code can not

prisma wave
#

it's coding time 😎

steel heart
#

wow

half harness
#

oh no

#

ima fail this

surreal quarry
#

time to use python :)

half harness
#

what language has least amount

#

of code size

surreal quarry
#

prob python

half harness
#

I haven't used python in years

static zealot
#

wait what is this?

#

I do not understand

#

oh wait I do understand

half harness
#

huh?

static zealot
#

I do

half harness
#

oh

static zealot
#

the example is not the best

#

could've been better

half harness
#

it has no S

prisma wave
#

"hello" appears in "hello world" once so 1

half harness
#

ohhhh

#

oh no

#

oh no

static zealot
#

I just almost destroied you all

half harness
#

WOAH

static zealot
#

wai

#

t

half harness
#

😭

static zealot
#

what the hell did I do wrong?

half harness
#

barry mean to me

steel heart
#

fuck

#

16%

static zealot
#

what the hell?

#

wait I didn't add case checks

#

is that it?

steel heart
#

ye probs

#

lol 16%

surreal quarry
#

time to make this as small as possible

static zealot
#

wait why you only got 16?

#

I don't get it

#

what did you do worse than me?

#

oh

#

...

#

@steel heart

#

you checked text.contains

#

instead of str.contains

#

smh

#

we both fucked up Conclure

#

xD

steel heart
#

OMG

#

KILL ME

static zealot
#

yes

#

with pleasure

steel heart
#

why do I have 4head

surreal quarry
#

im ignoring so many indentation rules in python

half harness
#

y

surreal quarry
#

to get less chars

half harness
#

OH

#

XD

#

ima just take out all indentations later

static zealot
#

xD

#

I mean you only need to get 100%

#

and you've still beaten 2 of us

surreal quarry
#

lol

static zealot
#

bcz turns out you need to check the case as well

surreal quarry
#

do you not hit play all test cases before submitting

static zealot
#

I didn't no

#

I was confident

surreal quarry
#

lol

static zealot
#

I did test the first 3 tho

half harness
#

im not going to get this on time

steel heart
#

I didnt test

half harness
#

rip

#

no way im gonna be able to do this

surreal quarry
#

im pretty sure 4 was the one with upper/lower lmao

static zealot
#

xD

steel heart
#

yeah it was ignore case right?

surreal quarry
#

yea

static zealot
#

yep

#

did you see what conclure did?

#

xD

#

just check his code

#

you'll laugh

#

hard

steel heart
surreal quarry
#

lmfao

#

also for shortest code you sure left a lot of comments

#

and whitespace

hot hull
#

Shortest is dumb

#

Best one is reverse

half harness
#

welp i give up

surreal quarry
#

i wanna see how few BM gets

half harness
#

30 seconds

hot hull
prisma wave
#

piss

#

the whole "1 per word" thing ruined me

#

it was going so well

static zealot
surreal quarry
#

share code

hot hull
#

Blitz

prisma wave
#

it's still running the tests lol

hot hull
#

Invalid tho cause you need your class and run function so L

prisma wave
#

last minute syntax error 😔

static zealot
#

not mine

surreal quarry
#

well for the 1 per word just search each word individually

static zealot
#

I got 66 because I forgot to check case

surreal quarry
#

makes code longer but still

prisma wave
#

yeah

#

i forgot about it until the last minute

#

then "why should this be 3" for like 3 minutes

#

then "oh"

#

then "aah 1 minute left"

surreal quarry
#

lmao

prisma wave
#

"how to split string into words in clojure"

#

pain ☹️

#

1 more?

steel heart
#

oof

surreal quarry
#

sure haha

half harness
#

☹️

steel heart
#

dkim f

surreal quarry
#

for a while i was doing t.split(' ') then i realized t.split() does it by spaces

half harness
#

😦

steel heart
#

maybe not reverse so its easier for us all?

half harness
#

do reverse

#

🙂

#

😐

steel heart
#

ok

prisma wave
#

too late now

#

let's go

half harness
#

🤔

#

noooo

surreal quarry
#

this again lol

prisma wave
#

oh this is easy

#

i think?

half harness
#

what does n do

prisma wave
#

that's just how many there are

static zealot
#

its the amount of words

half harness
#

cant u just do .length()

static zealot
#

well

#

you need to sort them

#

not just measure them

prisma wave
#

i do not understand

half harness
#

I meant length of thingy

#

thingy = amount of words

prisma wave
#

how you're supposed to get a list of inputs when everything has to be immutable

static zealot
#

you need to sort the words by lenght smh em

#

why does it have to be immutable?

#

but still

#

I hate sorting

#

I had like 3 options to sort things

#

but I forgot all of them

#

lol

ocean quartz
#

Kotlin sorting is pretty easy

static zealot
#

well I know the longest and worst way

#

wait

hot hull
#

How would you even sort an immutable list? (Except sorting when printing out)

static zealot
#

can you do .sortByLength() ?? xD

half harness
#

how to make list in python

prisma wave
#

returns a new list

#

sorting isn't the problem, the problem is collating all of the inputs into a single list in the first place

#

im convinced it's impossible in haskell

static zealot
#

omggg

hot hull
#

Sucks to be using Haskell then BM

#

Go use php instead

half harness
#

y r these so hard

static zealot
#

they are easy

half harness
#

I'm still trying to figure out how to make a list

prisma wave
#

im not haskelling any more

steel heart
#

btw do you win by time or shortness?

prisma wave
#

it's broken me

half harness
prisma wave
#

shortness

steel heart
#

fuck

#

894

#

words

#

or chars

#

whatever

static zealot
#

time to see

#

if it will work

#

nvm

half harness
#

why does everything have yellow underline

#

what does yellow underline mean??

surreal quarry
#

unused prob

half harness
#

how about red underline

surreal quarry
#

error

half harness
#

o

steel heart
#

no

#

yeah

static zealot
#

ok lets see

surreal quarry
#

89 chars :)

static zealot
#

hmm it works

half harness
#

uh oh 8 minutes

#

uh oh

static zealot
#

lets see if I can get it smaller

#

nope can't

#

300

#

not bad

half harness
#

who is ipsk

surreal quarry
#

matt

half harness
#

why isnt matt finished

surreal quarry
#

i think he joined late prob

static zealot
#

just because

half harness
#

oh

#

ok

surreal quarry
#

or taking time to reduce code size

static zealot
#

wait

#

can you remove imports?

#

xD

#

without it breaking

surreal quarry
#

yea i was about to say

#

you can

steel heart
#

BRUH

surreal quarry
#

lmfao

steel heart
#

FUCK

#

ME

#

no

#

dont

half harness
static zealot
#

from the top

half harness
#

o

#

the yellow ones?

#

remove yellow?

static zealot
#

no

half harness
#

o

static zealot
#

lol

steel heart
#

its unused probhs

half harness
#

u cant remove those

steel heart
#

gtfo

half harness
#

or it give error

surreal quarry
#

i used sorted(list,key=len)
i think list.sort(key=len) wouldve been smaller :(

steel heart
#

oh

#

stfu u dont have 900 chars

static zealot
#

holly shit

#

what is that?

#

900

#

jesus

#

I mean its java ...

#

what am I talking about

surreal quarry
#

i mean conclure thers a lot of optimization you couldve done

prisma wave
#

removing indentation helps a lot

static zealot
#

oh

#

4 charactes

prisma wave
#

aww kotlin beat me by 4

surreal quarry
#

rip

prisma wave
#
(ns Solution (:require [clojure.string :as str]) (:gen-class))
(defn -main [& _](let[lines(map (fn [_] (read-line))(range(Integer/parseInt(read-line))))](println(str/join "\n" (sort-by count lines)))))
``` incredibly readable
static zealot
#

yes

surreal quarry
#

agreed

static zealot
#

at least Matt's is

ocean quartz
#

I see James using cheats

surreal quarry
#

is python cheats

static zealot
#

yes

ocean quartz
#

Yes!

prisma wave
#

ban python

surreal quarry
#

fair enough

half harness
#

how did u guys finish

surreal quarry
#

wrote code to solve the problem?

#

basically just add the words to a list and then sort it by length

ocean quartz
#

Conclure, what happened to your indentation? xD

prisma wave
#

eclipse user indentation

half harness
#

☹️

static zealot
#
I HAD NO TIME HOW DO U DO THIS I CANT
WHYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
HOWWWWWWWWW
;(```
#

love it

prisma wave
#

one more?

half harness
#

yes

surreal quarry
#

yea last one tho

half harness
#

I need to get at least 1

prisma wave
#

yeah we've been saying that for ages

surreal quarry
#

lol

#

i wont use python this time either

prisma wave
#

you can use it

surreal quarry
#

if its shortest

prisma wave
#

it's just a bit unfair in shortest

#

yeah

#

i mean using java in shortest is just throwing

surreal quarry
#

lmao

ocean quartz
#

Yup xD

surreal quarry
#

kotlin is a fair middle ground

prisma wave
#

kotlin can occasionally beat python

#

if you're lucky

steel heart
#

I hate java

half harness
#

😭

ocean quartz
#

We all do

steel heart
#

so MUCH boilerplate

half harness
#

._.

#

sTarT

#

o

surreal quarry
prisma wave
#

:))

half harness
#

ho no

#

oh no

surreal quarry
#

this one might be hard lol

half harness
#

?

#

im confused

#

hUh?

#

oh

prisma wave
#

smh

#

python 9 seconds ahead

surreal quarry
#

smh my head

prisma wave
#

i blame clojure compile times

static zealot
#

ye this isn't working for some reason

#

first one working

#

second not

prisma wave
#

rip

static zealot
#

welp only first one works

surreal quarry
#

my code is terrible though

static zealot
#

no idea what I'm doing wrong rly

#

oh got it

#

turns out if I go from n/2 to 1 it doesn't work

#

but from 1 to n/2 works

#

xD

#

k

steel heart
#

what

#

0%

static zealot
#

jesus christ

#

that oneliner

surreal quarry
#

conclure it wasn't shortest

#

it was fastest lmao

prisma wave
#

lmaooo

static zealot
#

xD

steel heart
#

¨fml

ocean quartz
#

Shit i need to head out xD

half harness
#

nooo

#

5 minutes

#

howw

#

oh no

static zealot
#

oh fuck

surreal quarry
#

for the clash of code?

static zealot
#

does sqrt only accept floats and doubles?

#

that's why my first way of doing it didn't work

#

4 mins

#

ye I think I'll go back to trying and read/open that file

half harness
#

oh no

#

oh no

#

oh no

#

nooo

#

2 minutes?!

static zealot
#

I can't even open it with a full tutorial

#

that's how bad eclipse is xD

#

wait I think I got it

#

maybe

#

does eclipse not have a dark theme/mode?

surreal quarry
#

probably not

half harness
#

it does

#

in marketplace

static zealot
#

how to activate?

half harness
#

u have to download

static zealot
#

oh

#

how to download?

#

because my eyes hurt

#

rn

#

they bleed

half harness
#

i forgot name but its one of most popular

static zealot
#

well how ot get to marketplace lol? xD

half harness
#

um

#

what are the tabs

#

above

#

look in like "Help" or something

static zealot
#

oh I see

prisma wave
#

y'all optimizing this and everything

#

sqrt(n), n/2

#

just go to n smh

surreal quarry
#

lmao

static zealot
half harness
#

yes

#

maybe

#

i forgot

#

its been a while

#

yes its devstyle

#

maybe

#

just press install

static zealot
#

I'll just use this one

#

lol

#

I just need a dark theme

#

until I can see what this thing is

half harness
#

lol 1.45 million downloads

static zealot
#

yep

half harness
#

wait

#

y r u on eclipse

static zealot
#

not coding

#

dw

#

going to delete it after I finish reading this file

half harness
#

delete?

static zealot
#

burn it

surreal quarry
#

might be safer to wipe the whole hard drive

half harness
#

wait you're doing all this to read a file?

#

I still ahve eclipse installed

static zealot
#

yep

half harness
#

I go on it every 5 months

#

the reason... should not be said

static zealot
#

I need to open .hprof files

prisma wave
#

lein repl

(range)
#

computer will die

#

🤣

static zealot
#

jesus

#

it doesn't want to activate the black theme

#

what in the world

#

man

half harness
#

lol

static zealot
#

its 23:33

half harness
#

turn it on

static zealot
#

my eyes burn

half harness
#

and switch the theme

#

😂

static zealot
#

where?

half harness
#

i forgot

static zealot
#

where do I switch theme?

half harness
#

it's been a while

#

wait

#

hmmm

surreal quarry
#

To change the color theme in your editor: Go to Window | Preferences | General | Appearance | Color Theme. The list of available Eclipse color themes is displayed

half harness
#

codedred has tutorial

static zealot
#

I got no COlor Theme under general/appearance

half harness
#

I am watching coded red right now

#

Window -> Preferences -> General -> Appearance -> theme

#

🙂

static zealot
#

ugh James tould me that already

half harness
#

o

#

ur eclipse weird

static zealot
#

but I ain't got themes

half harness
#

did u restart

#

eclipse

#

ide

static zealot
#

maybe it didn't install correctly

half harness
#

hm

static zealot
#

yes I did

half harness
#

check the marketplace

static zealot
#

let me see

half harness
#

and in installed

static zealot
#

yep

#

not installed

#

reinstalling it rn

#

well already restarting

half harness
#

oh

static zealot
#

oh something happaene

half harness
#

what about

static zealot
#

d

half harness
#

Window -> Preferences -> Appearance

#

did u try that

static zealot
#

no no

#

I restarted

#

and a new screen showed

#

up

half harness
#

noice

#

what to do if i have 10+ unfinished projects

surreal quarry
#

finish them

half harness
#

okay

#

thanks

#

🙂

remote goblet
#

I want to do JS

#

what should I do

surreal quarry
#

sounds like you should to JS

steel heart
#

TS ftw

surreal quarry
#

^

steel heart
#

and what do we say about node?

#

no more

#

what do we say about react?

#

no more

#

what do we say about deno and vue?

#

yes pls

light venture
#

mm

surreal quarry
#

i think react is fine

obtuse gale
steel heart
#

Well, dont have it as a field

#

normally you dont keep an Optional in a field

#

its more of a thing you'd return

#

Only reason to do that would be if you need to utilize type erasure ig

obtuse gale
#

Got ya

#

Supplier<Optional<MessagingService>>

surreal quarry
#

Optional<Supplier<Optional<MessagingService>>>>

obtuse gale
#

Thanks Conclure, that did the trick 👍

steel heart
#

lmao

prisma wave
#

Optionals are designed to be result types

#

not field types

#

Just have a nullable field and wrap when necessary

steel heart
#

I did use it for convenience when working with client/server sides in mc modding

#

like a field

obtuse gale
#

yeah ig it's more of an api design thing than internal usage

ocean quartz
obtuse gale
#

Aah XD

ocean quartz
#

Where is that from?

obtuse gale
#

That's preserved for the secret channel 👀

#

LuckPerms

ocean quartz
steel heart
#

Lol

prisma wave
#

Both messages sent today?

static zealot
#

well for me they are today LOL

prisma wave
static zealot
#

meant to say for me they are correct.

quiet depot
#

eww notepad++

static zealot
#

yes N++

quiet depot
static zealot
#

anyone here understands hprof files?

#

finally was able to open one but I don't understand shit xD

#

Let me see if I can find the screenshots anymore

normal talon
#

oh yea I saw that on other servers too bruh

#

the messages

static zealot
#

what message?

normal talon
static zealot
#

oh

#

I'm using PaperSpigot and I used Spark to make this

#

its suppose to tell me where potential memory leaks are but I don't understand them xD

prisma wave
#

I mean it's kinda obvious

#

Lots of chunks loaded = lots of memory usage

prisma wave
obtuse gale
#

kotlin => nuclear physics

#

I'm impressed by its capabilities

hot hull
#

I thought you didn't like magic numbers @prisma wave smh

prisma wave
#

I do not

plain patio
#

I dird something

#

this is vanilla MC with plugins

obtuse gale
#

then it's.. not vanilla

#

🙃

plain patio
#

listen

#

its not modded.

quiet depot
#

what are you trying to show?

plain patio
#

and to explain its not just a retextured snowball/egg

#

there is also this

#

its legit a cobblestone, throwing cobblestone

quiet depot
#

introduce latency and see what happens

plain patio
#

its the same latency as a normal egg, uses minecraft server code.

#

uses NMS

#

Basically, I think I did good.

hot hull
#

What's so special about that?

quiet depot
#

it's unique

#

haven't seen that before in vanilla

#

only modded

old wyvern
#

uhh

#

Im not sure if this api is weird or if its just me

quiet depot
#

probs a mix of both

old wyvern
#

shouldnt abc/def/ be the same as abc/def?

quiet depot
#

as in a url route?

old wyvern
#

yes

quiet depot
#

I believe so

#

I personally don't differentiate between the two in my own apis

old wyvern
#

for some reason the one without the / gives me a 302, which i follow and end up getting an error since the redirected page doesnt have ssl

frigid badge
#

you need to set up your webserver to handle with / the same as without /

old wyvern
#

Its not my webserver

#

I was using a restful api

#

Also seems its very inconsitent with responses in some cases

#

weird

normal talon
#

Anyone has layout of the player inventory

#

like the numbers

#

yea I looked it up

#

didnt find anything

#

that's why im asking

normal talon
#

yea I searched

#

Minecraft inventory for developers

#

🙂

old wyvern
ocean quartz
#

Super easy /s

distant sun
#

lol what

prisma wave
#

well

#

on that note

#

clash anybody?

distant sun
#

let's go

old wyvern
#

yes

half harness
#

r u plgyain clash agian

#

am i too late

prisma wave
#

nope

#

join 🙂

half harness
#

🙂

distant sun
#

go noob

prisma wave
#

anyone else?

#

@ocean quartz

distant sun
#

no python on shortest

old wyvern
prisma wave
#

yep

#

i wish they supported Julia

half harness
#

hUh?

#

whats dis

#

oh

#

not this again

#

130?!

#

im going to fail this

#

whyyyy

#

😭

steel heart
#

What is it?

ocean quartz
#

Oh timed out?

#

I guess I ran out of time from getting there late

#

Said i had like 20 minutes

half harness
steel heart
#

Yo

prisma wave
#

@obtuse gale
Firstly, it's a compiler hack. The Java compiler isn't intended to be used like that and so it can cause compiliation errors, or worse:
I was working with a project using Lombok recently and method references for a lombok generated method were causing some pretty difficult to debug runtime errors.

Secondly, it requires an IDE plugin. You have to properly configure your build tools and IDE to avoid hundreds of errors, and installing an IDE plugin + setting up annotation processing takes time, especially if you're inexperienced.

Generated code also doesn't show up in Javadocs, so unless users have source code available it's going to look like nothing is accessible

If Lombok's code generation does something unintended, it can be difficult to debug, and usually requires you to remove the annotations and do a certain impl manually anyway. However, once you get used to this it's very discouraging to do, so it's easy to rewrite an entire class just to make it work with Lombok

There's also an extra degree of complexity with Lombok. Java is supposed to be explicit, and transparent. If you don't notice an annotation at the top of a class, it's easy to wonder where a method is coming from, or why a field is never initialized.

It also can be harder to work with. Again recently, IntelliJ couldn't find usages of a constructor, because as far as it was concerned, there was no constructor - Lombok generated it - meaning I had to find every usage of the class and search for a constructor which wasted a lot of time.

A final, slightly petty point: Lombok'ed bytecode doesn't match the source code (obviously), but it means a pretty annoying IJ warning (look at BungeeCord source for example)

Lombok may seem good in the short term, but it comes with a heavy price. Favour IDE generated boilerplate, or consider using a language like Groovy or Kotlin if you really dislike boilerplate.

half harness
#

WOAH

prisma wave
#

🙂

steel heart
#

@obtuse gale
Firstly, it's a compiler hack. The Java compiler isn't intended to be used like that and so it can cause compiliation errors, or worse:
I was working with a project using Lombok recently and method references for a lombok generated method were causing some pretty difficult to debug runtime errors.

Secondly, it requires an IDE plugin. You have to properly configure your build tools and IDE to avoid hundreds of errors, and installing an IDE plugin + setting up annotation processing takes time, especially if you're inexperienced.

Generated code also doesn't show up in Javadocs, so unless users have source code available it's going to look like nothing is accessible

If Lombok's code generation does something unintended, it can be difficult to debug, and usually requires you to remove the annotations and do a certain impl manually anyway. However, once you get used to this it's very discouraging to do, so it's easy to rewrite an entire class just to make it work with Lombok

There's also an extra degree of complexity with Lombok. Java is supposed to be explicit, and transparent. If you don't notice an annotation at the top of a class, it's easy to wonder where a method is coming from, or why a field is never initialized.

It also can be harder to work with. Again recently, IntelliJ couldn't find usages of a constructor, because as far as it was concerned, there was no constructor - Lombok generated it - meaning I had to find every usage of the class and search for a constructor which wasted a lot of time.

A final, slightly petty point: Lombok'ed bytecode doesn't match the source code (obviously), but it means a pretty annoying IJ warning (look at BungeeCord source for example)

Lombok may seem good in the short term, but it comes with a heavy price. Favour IDE generated boilerplate, or consider using a language like Groovy or Kotlin if you really dislike boilerplate.

Xp deluxe

hot hull
#

You got atleast 7 xp from that didn't you

prisma wave
#

hopefully

steel heart
#

Alex

#

I will save that text for any lombok user

prisma wave
#

make it a faq fingerguns

steel heart
#

Yeah @hot hull

prisma wave
#

"Lombok Considered Harmful"

steel heart
#

Go ahead

#

=faq iseehowitis

prisma wave
#

join clash noobs

steel heart
#

PH o NE

hot hull
#

On mobile

prisma wave
#

smh

steel heart
#

syh

prisma wave
#

how am i supposed to procrastinate if everyone's on mobile

hot hull
#

Don't smh me, I'm about to use the suislide cause I got online classes starting at 7:15 in the morning tommorrow

prisma wave
#

smh

hot hull
#

So many pings kek

prisma wave
#

why thank you

#

...

#

i never said to use it with kotlin?

distant sun
#

lombok should be banned

ocean quartz
#

Yes

prisma wave
#

yes

#

as an alternative to lombok...

#

consider using a language like Groovy or Kotlin if you really dislike boilerplate

#

or clojure

#

or Scala

#

or Elara

#

or Go

#

eh actually Go has some boilerplate

hot hull
#

not really a problem to set it up
unless you're an idiot
Insert maybe I am an idiot picture

hot hull
prisma wave
#

ignores main reasons why lombok is bad and focuses on the small ones

hot hull
#

Every argument reason ever

ocean quartz
#

Working with lib or APIs that use lombok is a literal nightmare

#

Cough, bungee

distant sun
#

^

prisma wave
#

^^

distant sun
#

I mean, is made by the same people that made spigot, what do you expect

prisma wave
#

😐

#

...

#

is that a joke

ocean quartz
#

What? What do you know about our code lol

prisma wave
#

you do realise that OOP is literally about encapsulating STATE ?

old wyvern
#

😐

normal talon
#

what is **lombok **

ocean quartz
#

A curse to humanity

distant sun
#

you dont want to know, Cozy

old wyvern
#

Why does this feel like the bad portion of sxtanna came out to haunt

normal talon
#

well im curious

prisma wave
#

^^^ exactly lmao

distant sun
#

the worse you mean?

normal talon
#

if you do ctrl + B

prisma wave
#

yes, immutability is good. but saying we don't know OOP because not everything is immutable is dumb

hot hull
#

@old wyvern Yugi bro

normal talon
#

it will let you get bold text fsa

old wyvern
#

😂

hot hull
#

I legit got the same feeling

old wyvern
#

ikr

hot hull
#

Lemme send you a pic in dm

ocean quartz
#

I just wanna know what lack of immutability you're talking about lol

old wyvern
#

Sure lol

distant sun
prisma wave
#

what exactly are you referencing here

#

and more importantly, how does that make my argument about lombok any less correct?

#

then don't defend it when i've just written a paragraph about why it's bad

ocean quartz
steel heart
#

Okay alex I bombed someone with that love u

prisma wave
#

?

#

oh

#

lol

#

nice

steel heart
#

Literally destroyed

distant sun
#

bungee devs

prisma wave
#

this is gonna be good

steel heart
#

Think I ended his carrier

normal talon
#

Lombok or something is good

distant sun
hot hull
#

I sure do hope this man didn't check my git

normal talon
#

Tell me what is lombok

lunar cypress
#

oh this is great

hot hull
#

Cozy don't worry about it

normal talon
#

I only found a 4 min useless video

distant sun
#

lol @prisma wave

//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//```
past shoal
ocean quartz
#

Everything that is required to be final in that class is final lol

past shoal
#

you all are so smart

old wyvern
#

how about urs?

past shoal
#

!!

prisma wave
#

bruh

old wyvern
#

Sure mate

prisma wave
#

are you serious

lunar cypress
#

Imagine writing mutable code in a paradigm that embraces mutability

prisma wave
#

why would a POJO for a minecraft plugin need to be thread safe

ocean quartz
hot hull
#

Bruh BM, where are those finals man

past shoal
#

you all are making me laugh

#

let me get some popcorn

past shoal
#

okay im back

normal talon
#

your popcorn is raw

obtuse gale
#

hello Back

#

I'm fefo

past shoal
#

🍿

hot hull
#

cosmic just wait smh

past shoal
#

anyone want some

normal talon
#

NO

past shoal
#

😔

lunar cypress
#

yes and please keep going I need a distraction from my maths assignment

past shoal
#

@lunar cypress ill do ur math homework if you do my plugni

#

plugin*

#

I have a 4.0 GPA

normal talon
#

L

lunar cypress
#

whatever that means

past shoal
#

98%

#

average

#

mark

normal talon
#

that means he is smart in american

hot hull
#

Johny where u from

past shoal
#

LMFAO

lunar cypress
#

americans :omegalul:

past shoal
#

im actually canadian

hot hull
#

So you're a cool american then

past shoal
#

yes :p

normal talon
#

YEA

#

free health care

#

how about that

past shoal
#

but I live in Dubai

#

guys yk whats even cooler

normal talon
#

no

ocean quartz
#

!!!

prisma wave
#

correct, for a number of reasons:

  1. Spigot plugins are already singletons, who cares about static access
  2. DI into POJOs is counter intuitive
    sure, i could've used the visitor pattern or something, but who cares? it's an old commission that had many revisions and I'm not going to spend more of my time just to make sure I perfectly satisfy every single requirement for "clean" OOP

However it's interesting that you chose that repo, instead of any of my pinned repos. what's the reasoning for that?

normal talon
#

this is a dev-general topic

past shoal
#

its almost 12am i need my sleep

lunar cypress
ocean quartz
#

We need Sxtanna back cryingblob

past shoal
#

🧍‍♂️

hot hull
#

I do that as well

lunar cypress
#

😔

normal talon
#

who is sxtanna

ocean quartz
#

Literally God

normal talon
#

where is he ?

hot hull
#

Matt, check staff chat

normal talon
#

what's his disc

past shoal
#

dependency injection > singleton pattern

lunar cypress
#

in a better land

hot hull
prisma wave
#

...yes? what's wrong with that exactly

normal talon
#

wait is he dead ?

past shoal
#

I agree but if you think about it, just put it on async and you are good!

hot hull
#

Not this again

prisma wave
#

into a POJO?

normal talon
#

dutch translations is weird

prisma wave
#

puts memory accessing on two different sides of the memory
:what:

past shoal
#

just use async

prisma wave
#

???

lunar cypress
#

bruh

prisma wave
#

what are you talking about

lunar cypress
#

you sure must know a lot about thread safety making such a general statement

prisma wave
#

do you know how Bukkit works?

lunar cypress
#

that is wrong

distant sun
ocean quartz
past shoal
#

just use async

half harness
#

._.

prisma wave
#

first off, the plugin is single threaded...

normal talon
#

:insidescreaming:

hot hull
lunar cypress
#

just use async 4head

past shoal
#

async is the answer to all your problems

normal talon
#

shutting up also resolve most problems

past shoal
#

yk what ima solve my plugin with async

half harness
#

Hey dkim19375,

BristerMitten is now following you on CodinGame. You can have a look at his/her profile by clicking below:
🥳

prisma wave
ocean quartz
#

What is async on his code there? .-.

past shoal
#

fuck my cats meowing and my sugar gliders is woofing

prisma wave
#

iirc (i've barely touched this plugin since last year), pretty much nothing

past shoal
normal talon
#

wut

onyx loom
normal talon
#

you can't fix everything with that

hot hull
#

Another one

onyx loom
#

yes

normal talon
#

is he dead ?

#

sxtanna

hot hull
#

No Cozy..

prisma wave
#

don't think so

onyx loom
#

yall are getting some good xp right here fingerguns

prisma wave
#

he just left

hot hull
#

Well idk

prisma wave
#

and blocked us all

onyx loom
#

🙁

lunar cypress
prisma wave
#

he fixed a Korm issue i made a few weeks ago, so not dead

past shoal
#

AsynchronousByteChannel

normal talon
#

I remember someone with that name

#

but idk

hot hull
past shoal
#

you all obviously are newbies if you dont know what that is

prisma wave
#

so far we've had

  • your POJO isn't thread safe and should be immutable
  • Bukkit isn't thread safe
#

very compelling points

lunar cypress
#

god damn back to maths

onyx loom
#

BTEC sxtanna

#

there we go

prisma wave
#

^^^ lmfao

normal talon
past shoal
normal talon
#

this is him /

hot hull
#

We all know spigot is shit

past shoal
#

this arguement is shit

prisma wave
#

mate

#

what exactly are you talking about

past shoal
#

elara its ur fault for using spigot

#

why didnt u code ur own spigot?

#

for ur plugin?

prisma wave
#

my bad

hot hull
#

ElaraServer

prisma wave
#

sorry

hot hull
#

🥺

past shoal
#

ElaraSpigot

#

Elarapigot

#

Elapigot

lunar cypress
#

imo when you write Java programs you shouldn't use anything from Java

steel heart
#

Elera

past shoal
#

wow johnny

prisma wave
#

Yes, spigot is shit. but how why that mean

  1. every single POJO should be immutable (ever heard of beans...?)
  2. I shouldn't be using a method that isn't thread safe, in a single threaded context
past shoal
#

youre so smart

steel heart
#

How does kotlin work with types now? It protects it from weird stuff right?

onyx loom
#

dont attach spigot to the name of elara 🙃

past shoal
#

hey guys lets code something in java but not use java!

steel heart
#

val x = "x"

#

this is a string right

prisma wave
#

yes

steel heart
#

And it will be it to whatever you want

prisma wave
#

yes?

frigid badge
#

that's just type inference?

#

java has that too

prisma wave
#

^

onyx loom
#

^

half harness
#

why does kotlin use val

prisma wave
#

why not?

frigid badge
#

val = final var

onyx loom
#

because its good

prisma wave
#

^

steel heart
#

And redeclare it would still have to be a string

half harness
#

oh

onyx loom
#

val good final bad

half harness
#

._.

prisma wave
#

i assume you mean reassign

half harness
#

is kotlin good to learn

prisma wave
#

absolutely

past shoal
#

yea

prisma wave
#

well

past shoal
#

its ez

#

I use javlin

hot hull
half harness
#

javlin?

prisma wave
#

i'd recommend you learn java first

past shoal
#

yep

half harness
#

how similar is it to java

past shoal
#

javlin is insane

prisma wave
#

kind of

#

kotlin is more complex i'd argue

hot hull
#

It's java but less stupid

half harness
#

..

#

but

past shoal
#

kotlin is beauty

normal talon
#

Actually I talked to sxtanna 2 years ago

half harness
#

ok

normal talon
#

he told me learn java

prisma wave
#

lmao

normal talon
#

and I never did

prisma wave
#

he told everyone that

hot hull
#

Lmao

onyx loom
#

🥲

heady birch
#

Spring > Javalin

normal talon
#

why he leave tho

prisma wave
#

||banned||

#

||controversy in #papi channel||

#

||redacted||

hot hull
#

Let's not open that topic again reversed_fingerguns

normal talon
#

Lets go for it

onyx loom
#

no

#

its a touchy subject

prisma wave
#

indeed

half harness
onyx loom
#

because its the same character dkim

normal talon
#

Yes get it

onyx loom
#

idk where its from

half harness
#

oO

prisma wave
#

more importantly i'm looking forwards to Bomp's response

hot hull
#

Bahroo

onyx loom
#

hes just gathering more shitty evidence , np

prisma wave
#

i'm sure they will have a compelling and well backed up argument

onyx loom
#

🤔

past shoal
#

elara should have the support role wtf

prisma wave
#

perhaps

#

aww

#

no response by the looks of it

#

😦

steel heart
#

Alex u need to guard that damn fkn discord I swear lol

prisma wave
#

lol

steel heart
#

Why am I always saying Elera

#

When it’s elara

stable shore
#

Who should I report to for someone advertising their discord in DM's?

steel heart
#

Idk

prisma wave
#

Barry

steel heart
#

It’s not nice

prisma wave
#

Dm Barry

prisma wave
surreal quarry
#

your nickname is wrong too conclure

steel heart
#

Fuck

#

Now