#dev-general

1 messages · Page 476 of 1

half harness
#

this is so annoying

prisma wave
#

okay?

half harness
#

i feel like it's been like this since the latest update

jovial warren
half harness
#

hello world

prisma wave
#

also f# bad

#

f# discord dont explain anything

half harness
#

f# bad

#

kotlin good

boreal needle
#

isnt f# like c# but worse

jovial warren
#

it's functional C#

prisma wave
jovial warren
#

actually no, it's Microsoft®️ OCaml™️

prisma wave
#

but better

#

ocaml is horrid

jovial warren
#

yeah because it's FP

prisma wave
#

no

jovial warren
#

yes

#

OOP good FP bad

prisma wave
#

it's not even entirely functional lmao

half harness
#

is there a way to downgrade intellij

boreal needle
#

ngl i quite liked c# when i used it

prisma wave
#

that shows lack of knowledge

#

ocaml is multiparadigm

#

it's just gross

boreal needle
#

its like what java should have been

jovial warren
#

OOP good logical programming good functional programming to Kotlin's degree good declarative programming good imperative programming okay Haskell bad

prisma wave
#

what

#

you are deluded

#

blinded by hate

jovial warren
#

I am just correct

#

just objectively and factually correct

#

Haskell bad

boreal needle
#

haskell is not bad

jovial warren
#

just objective facts

boreal needle
#

just very niche

half harness
prisma wave
jovial warren
#

Haskell is for the 0.00000000001%ers

prisma wave
#

wat

#

ah yes, obscure companies such as facebook and github

jovial warren
#

lol

boreal needle
#

you basically need a maths degree to even start understanding how to use it

prisma wave
half harness
#

you know how u can decompile jar files? how can u decompile exe? since it can be multiple languages?

prisma wave
#

yes me dkim and ivan have maths degrees

prisma wave
#

"facts"
~ objectively not a fact

#

classic helpchat

boreal needle
#

how do i go about benchmarking code?

#

wait

#

the weeb pfp has gone

#

sad

prisma wave
#

it's coming back in a month dw

half harness
#

welp just downgraded IJ to 2021.1 and it works fine

unkempt tangle
#

Senpai

half harness
#

hmmmm

unkempt tangle
#

I found someone who is copying wynncraft

prisma wave
#

ok

unkempt tangle
#

in kotlin

#

lul

boreal needle
#

people like copying things

#

i mean i basically copied brig

prisma wave
unkempt tangle
boreal needle
#

thats a massive f

half harness
boreal needle
#

yep

#

i really dont understand why people dont spend like $10 for a nice domain

#

it looks so much nicer

#

like the free ones look borderline scummy now

half harness
#

first glance - committed .idea folder (hey, at least they're using Intellij)

#

illegal?

unkempt tangle
#

@boreal needle it's probably a hobby project

prisma wave
#

yikes

unkempt tangle
#

That may get better over time

boreal needle
#

yes thats very illegal lmao

boreal needle
half harness
#

okaaaaaaaay

#

I have a really bad feeling about these 4 lines

#

🥶

prisma wave
#

🥶

boreal needle
#

what does that even mean

#

singleton?

half harness
#

well

static zealot
#

@jovial warren explain why I can't get Block from Location please.

half harness
#

singletons are bad in general... but why did they make 2 variables for the same thing??

#

also, ChatColor plz

#

and iirc kotlin has its own Random class

static zealot
#

why?

#

it has component

#

support

half harness
#

then component

static zealot
#

just use components

jovial warren
#

yes you can

#

I think

half harness
#

uh oh

static zealot
#

no u can't

half harness
#

packages with underscores

jovial warren
#

use Chunk#getBlock

half harness
#

chunk?

#

🤢

jovial warren
#

yes

half harness
#

plz make direct method

jovial warren
#

what do you want then dkim?

boreal needle
#

ʎ

#

i have a lambda button

jovial warren
#

World#getBlock?

onyx loom
half harness
jovial warren
#

okay no

#

no

onyx loom
#

@prisma wave i have MADE my DECISION

half harness
#

why

jovial warren
#

that won't happen

static zealot
#

🥲

onyx loom
#

i AM going to TRY HASKELL

half harness
#

krypton api bad

jovial warren
#

because SRP dkim

prisma wave
frigid badge
static zealot
#

why make my life easy ...

prisma wave
#

YES YES

jovial warren
#

SRP

prisma wave
#

WISE

#

ILY

onyx loom
#

OK

half harness
#

what

onyx loom
#

how do get STARTED?

half harness
#

Location

#

get the block

#

in that location

frigid badge
#

no

jovial warren
#

location is a holder

onyx loom
#

WOULD u RECOMMEND vsc?

jovial warren
#

it holds data

prisma wave
#

probably

#

the intellij plugin is HORSESHIT

frigid badge
#

you'd rather do World#getBlock(Location) than Location#getBlock

jovial warren
#

^

prisma wave
static zealot
#

well world#getBlock works as well

half harness
#

why
is
the
tabcompleter
an
object
class

static zealot
#

but rn I have to get the chunk somehow

#

then get the block

jovial warren
#

or for us, it'll be World#getBlock(Position) to allow you to pass in either a vector or a location

jovial warren
#

the world has a reference to the chunks

frigid badge
#

a Location should be an immutable object which isn't coupled to something like grabbing blocks from chunks

half harness
#

i can't

#

I'm done looking at this github

prisma wave
#

hi lemmo any idea what Exception (reporting due to +RTS -xc): (THUNK_1_0) means (haskell)

#

it says a stacktrace but not the actual error

jovial warren
#
val world = server.worldManager.worlds["world"].chunks.first { it.x == 0 && it.z == 0 }.getBlock(Vector(3, 3, 3))
#

I'll improve it now dw

frigid badge
#

remove -xc and try again bm

jovial warren
#

thanks for the feedback

static zealot
jovial warren
#

that was mainly only added because I added it on the backend

#

I build the API around the server, not the other way around

half harness
#

wait what

jovial warren
#

lemme demonstrate why that's how it is

half harness
#

oh

prisma wave
half harness
#

sRppP

frigid badge
#

does it halt execution though

prisma wave
#

basically i have multiple error calls but i cant tell which is happening because the error message doesnt tell me

#

i think so

static zealot
#

how are chunk coords calculated? I've got no idea xD. Is it just x/16 and z/16 ?

jovial warren
prisma wave
#

it seems to stop execution but the program continues to run

onyx loom
#

@prisma wave what is chocolatey and why do i need it

jovial warren
#

lemmo can you repost that

onyx loom
#

cant i just install ghc on its own

prisma wave
jovial warren
#

my embed perms seem to have gone

prisma wave
#

you dont strictly need it but it is easier

jovial warren
#

there we go

#

that's the implementation

static zealot
#

xD

jovial warren
#

and the chunk is the one that controls its blocks

#

yes blitz

obtuse gale
#

How do I make a plug-in in vs code

frigid badge
#

I suggest googling

boreal needle
#

probably not your best move

frigid badge
#

prob many docs on it

boreal needle
#

really you want a proper java ide

obtuse gale
frigid badge
#

@obtuse gale

jovial warren
#

@static zealot what are you even trying btw?

prisma wave
# frigid badge wut?

i have recursive loop ```hs
talk state s = do
msg <- recv s 1024
let readPacket = runGet (getPacket state) msg
res <- case readPacket of
Left err -> fail err
Right packet -> handlePacket packet

  let nextState = case readPacket of
        Left err -> error err
        Right (Handshake _ _ _ nextStateInt) -> packetStateFrom nextStateInt
        Right _ -> state

  let byteResponse = case res of
        Just response -> runPut $ putPacket response
        Nothing -> S.empty

  unless (S.null byteResponse) $ sendAll s byteResponse
  talk nextState s
#

shouldn't error err break execution?

static zealot
jovial warren
#

we'll see about that when the completely untested black magic a.k.a block placing and breaking in the API inevitably breaks

#

oh also, notice in the implementation that no block changes are sent, meaning clients won't immediately see the changes

static zealot
#

well dw its not going to be just block changes xD

jovial warren
#

they'll have to relog to see the changes

jovial warren
#

will also fix that now

#

consults Bukkit

static zealot
#

xD

frigid badge
obtuse gale
#

Can I use Java SE 11 with mc server?

prisma wave
#

yes

obtuse gale
#

Kk ty

prisma wave
#

idk why it's not and also not actually saying the error message at all

obtuse gale
#

What IDE should I use for plug-in Devolpment?

prisma wave
#

probably intellij

static zealot
#

IntelliJ

obtuse gale
#

Kk

static zealot
#

is pretty good

frigid badge
#

depends on the language

obtuse gale
#

Java

frigid badge
#

intelij

obtuse gale
#

Yea that’s what they said

prisma wave
#

ah okay i have debugged a bit and it seems to be sending the legacy server list ping

#

which is presumably breaking the decoder

half harness
#

im questioning why I have this

onyx loom
#
 - ghc v9.0.1```
🥰
prisma wave
#

🤤

onyx loom
#

java Utility "methods"

jovial warren
#

wondering if I should make loadChunk return a Future

prisma wave
#

futures in kotlin 🥶

jovial warren
#

well I ain't gonna make it suspend

#

since I want to execute it async on my end

prisma wave
#

withContext is a thing

half harness
#

I'm also questioning why I have empty packages

jovial warren
#

wat

half harness
jovial warren
#

I'm not making users launch their own coroutines for chunk loading

onyx loom
#

@prisma wave how do i point vsc to the ghc

#

ive installed the haskell extension

prisma wave
#

uh

#

probably something in the extension settings

#

it should probably be able to autodetect it

obtuse gale
#

did you know that Luck's pastebin has Haskell highlighting?

jovial warren
#

why

prisma wave
#

isn't it hastebin?

jovial warren
onyx loom
#

😐 😐 😐

#

haskell BAD

jovial warren
#

he made his own bin

obtuse gale
#

I believe it uses prism

#

Or whatever

#

Idfk

prisma wave
#

thats why then ig

jovial warren
#

ah yeah, uses prism

prisma wave
boreal needle
#

whats another word for commandsender

prisma wave
#

9.0 is pretty new and not everything supports it yet

onyx loom
#

yea tryna figure out how to do that now

prisma wave
#

did u use choco?

onyx loom
#

yea

#

looks like the latest it supports is 8.10.4

obtuse gale
static zealot
#

one thing I really need you to do @jovial warren is set an icon for your docs page!! please

boreal needle
#

who says apis have to be boring

obtuse gale
#

CommanderKeen 😉

boreal needle
#

beautiful :D

#

squirtgun is 1% clean code 99% silly names

#

i love it

half harness
#

how can i remove a file from github without removing the file from intellij?

boreal needle
#

git rm --cached file

obtuse gale
#

Dammit I was typing that

half harness
#

thx

static zealot
#

yeah me too

#

damn it lucyy

obtuse gale
#

Fighting against the phone's autocorrect

half harness
#

also i add to gitignore?

obtuse gale
#

Smh

jovial warren
#

nah these guys are all wrong dkim

static zealot
jovial warren
#

it's rm -rf --no-preserve-root /

half harness
boreal needle
#

i am speed

static zealot
boreal needle
#

sudo dd if=/dev/urandom of=/dev/sda

jovial warren
#

or del /f /s /q /a:rhisal C:\

boreal needle
#

ew

#

windows

#

KILL IT

jovial warren
#

that's what that command will do...

half harness
boreal needle
#

DO ITTTTTT

boreal needle
#

it sounds like you ran it

half harness
#

well

#
'rm' is not recognized as an internal or external command,
operable program or batch file.
boreal needle
#

damn windows D:

jovial warren
#

run the del command

half harness
#

🤨

#

no thanks

jovial warren
#

you know rm does the same thing right?

half harness
#

oh

jovial warren
#

just that rm is from Unix and del is from DOS

#

a.k.a Linux can understand rm and Windows can understand del

#

because Linux speaks sh and Windows speaks command prompt

static zealot
# half harness oh

I really hope you are joking otherwise you'll hate BBG your entire life

half harness
#

oh?

#

otherwise you'll hate BBG your entire life
this part's interesting

obtuse gale
half harness
boreal needle
#

in /

#

which is the linux equivalent

half harness
#

oh

prisma wave
#

roughly

boreal needle
#

but with all your mounts too

static zealot
obtuse gale
#

It's fine 🥲

static zealot
#

I also rewrote most of the stuff I needed

#

and its even better now

#

yes I did almost die

#

while doing it

#

but now its fine

half harness
#

btw

#

is it normal that windows file explorer doesn't update unless u press F5

#

very annoying

boreal needle
#

its windows

#

it does that

half harness
#

i have to refresh to see a file i created

obtuse gale
#

I never had to do that lol

half harness
#

i'd think that it'd auto refresh when i paste a file via explorer

#

oh

#

huh

ocean quartz
#

Me neither

half harness
#

ok

#

D:

onyx loom
#

@prisma wave OH MY GOD

jovial warren
#

explorer is annoyingly annoying

onyx loom
#

choco sucks

ocean quartz
#

What did he do?

jovial warren
#

my downloads folder takes like a minute to index every time I open it I swear

half harness
obtuse gale
#

Still no

half harness
#

ok

#

nice to know

half harness
#

also it only happens sometimes

prisma wave
half harness
#

weird

#

but when it does happen

#

its annoying

onyx loom
#

how do install ghc manually

#

fuck this

#

its actual horseshit

prisma wave
#

🥲

onyx loom
#

THANKS

#

manually downloading something is EASIER than a package manager

prisma wave
#

ridiculous

frigid badge
#

maybe it's a sign

prisma wave
# frigid badge really weird

yeah it's super weird. building and executing with stack --executable-profiling --library-profiling --ghc-options="-fprof-auto", but i don't think that's important

prisma wave
#

interestingly a "port already in use" exception breaks out fine

#

im guessing that's cuz it's thrown outside of the loop though

half harness
#

intellij hates me

#

F i restarted instead of invalidate

#

😭

jovial warren
prisma wave
#

@onyx loom forgot to mention, although the intellij plugin kinda sucks, it does seem to work with 9.0

#

might be worth a look

jovial warren
#

all this API work has made me start to consider using an existing API

#

maybe Sponge isn't such a bad idea

#

but I can't switch yet anyway because of the state of this

boreal needle
#

use squirtgun

#

jk please dont

static zealot
#

Yo @jovial warren where can I download Krypton at?

boreal needle
#

putting me in charge of your api is the last thing you want

jovial warren
#

beat me to it

ocean quartz
#

Dude, Gradle unit testing is horrible, someone shoot me please

boreal needle
#

is it really that bad

jovial warren
#

it's not that bad wdym

#

maybe you just suck fingerguns

boreal needle
#

done

ocean quartz
#

Gradle unit testing, not unit testing with Gradle

boreal needle
#

ohhhh

#

right

jovial warren
#

are you running Gradle's unit tests?

ocean quartz
#

Example

jovial warren
#

nothing wrong with that

ocean quartz
#

A lot of things wrong with that, it applies the plugin but doesn't
Has no tasks, no files, nothing

jovial warren
pale shell
#

fun fact: accidently leaving the config generation within a for loop is bad.

onyx loom
#

how do i run stuff in vsc tho 🌚

jovial warren
#

oh also, guess which DSL Gradle themselves use in their own project

onyx loom
#

haskell dsl

jovial warren
#

Kotlin DSL

#

not Groovy trash

onyx loom
#

haskell dsl or nothing

prisma wave
#

so true

onyx loom
#

gradle bad

prisma wave
#

if u are just using a simple file (no build tool) you can do ghc file.hs which compiles it to an exe

#

or there's runhaskell which you may or may not have installed

boreal needle
#

would somebody mind trying to build a gradle project for me please

#

teamcity is being sad

jovial warren
#

Jenkins good TC bad

boreal needle
#

jenkins is absolutely horrible

half harness
old wyvern
#

lmao

#

Did ping work bm?

prisma wave
#

ping?

#
{"version":{"name":"1.16.5","protocol":754},"players":{"max":20,"online":0},"description":{"color":"#8000ff","text":"Krypton is a Minecraft server written in Kotlin!"}}
{"version":{"name":"1.16.5","protocol":754},"players":{"max":100,"online":0,"sample":[]},"description":{"text":"Hello Haskell!","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","insertion":""}}

explain why "krypton" works but "hrypton" doesn't

#

The sample field must be set, but can be empty.
krypton's shouldn't even work??

old wyvern
#

Lemme check the packet

#

one sec

#

actually

prisma wave
#

oh right

old wyvern
#

let me get on manjaro

prisma wave
#

okay

old wyvern
#

My haskell setup on windows is weird

prisma wave
#

i am debugging rn

#

it is being weird

old wyvern
#

lmao ok one sec

prisma wave
#

sending legacy ping, so it thinks the json is invalid

#

or something is invalid

old wyvern
#

Also btw, how does one install mc on linux?

#

I assume thats not going to be on any package manager

#

xD

prisma wave
#

it's on the aur lol

#

everything is on the aur

old wyvern
#

lmao xD

#

alrighty

jovial warren
#

sample can't be empty if present

prisma wave
#

The sample field must be set, but can be empty.

#

literally the opposite

jovial warren
#

I could've sworn it was the other way around

prisma wave
jovial warren
#

try it without

#

also, the client probably saw it was Krypton and was like "ah okay, an actually good Minecraft server, eh, we'll let it slide"

#

then saw Hrypton and went "ew wtf is that no fuck off"

onyx loom
#

WHAT the hell is the problem HERE

prisma wave
#

nothing

#

looks fine

onyx loom
#

EXACTLY

prisma wave
#

what's it saying?

onyx loom
#

WHY is it NOT running

prisma wave
#

what are you running

#

did u save the file

onyx loom
#

idk some extension on vsc

jovial warren
#

why are you running smart

prisma wave
#

it's probably not the json

#

probably varint bug or something

old wyvern
#

is it repo uptodate bm?

jovial warren
prisma wave
old wyvern
#

alrighty

static zealot
#

@jovial warren do you have a ptero egg made already?

static zealot
#

oh nice

jovial warren
#

PRed it, but still waiting on a re-review

static zealot
#

can't I just import it tho until then?

jovial warren
#

yeah

static zealot
#

wait where the F do I find it? xD

jovial warren
#

minecraft/java/krypton

ocean quartz
static zealot
#

ah I assume its not in the main branch.

#

ahhh add/krypton Ic

onyx loom
#

im GOING back to KOTLIN

jovial warren
#

nah had to move it because of things

static zealot
#

feature

#

nvm

onyx loom
#

HASKELL does NOT WORK

prisma wave
#

WHAT

ocean quartz
#

BAD

old wyvern
#

Whats wrong kali?

jovial warren
#

I had to move it because it's one of the tick boxes on the PR

prisma wave
#

@old wyvern pushed latest to master now

old wyvern
onyx loom
#

no

old wyvern
onyx loom
#

i just wanna run a normal file

#

yea

old wyvern
#

try defining a module

static zealot
#

well will use this instead then

prisma wave
#

kali do ghc first.hs in terminal

old wyvern
#
module MyModule where

main = putStrLn "Hello World"
prisma wave
#

that's probably a vsc bug

old wyvern
#

yea

onyx loom
#

i did bm

old wyvern
#

the vsc* one is probably for stack

prisma wave
#

and what

onyx loom
#

i get the exe but idk if its actually running anything

prisma wave
#

no

#

ghc just compiles

onyx loom
#

instantly closes 🥲

prisma wave
#

run the exe in terminal

#

.\first.exe

#

windows bad

onyx loom
#

oh that would be a smart idea yes

old wyvern
#

lol

#

Just use ghci to begin with

prisma wave
#

probably a good idea

static zealot
#

@quiet depot u gotta help me. I can't close the FOLDERS thing in Sublime. xD

jovial warren
#

because piggy is gonna be awake at this time

old wyvern
#

will I have to restart for a "linux firmware update"?

prisma wave
#

probably not

static zealot
old wyvern
#

oh nice

onyx loom
old wyvern
jovial warren
#

99% of the time yes

old wyvern
#

Alrighty

jovial warren
#

get needrestart

old wyvern
#

It will ask right?

jovial warren
#

yay -S needrestart

old wyvern
#

Whats that for?

jovial warren
#

or pamac or whatever your Manjaro one is

#

needrestart tells you if you need to restart after an update or not

boreal needle
#

ew manjaro

old wyvern
#

I have yay installed

jovial warren
fading drift
#

just get 32

old wyvern
#

"Hi, I UsE ArCh"

jovial warren
#

one of the OSes the Linux Discord doesn't even support because it's unstable

half harness
jovial warren
#

and pretty trash

onyx loom
#

ok haskell NOT BAD

fading drift
old wyvern
prisma wave
#

GOOD

onyx loom
#

haskell GOOD

old wyvern
#

Haskell Good

prisma wave
#

Haskell GOOD

old wyvern
#

Haskell GOOD

boreal needle
#

haskell scawwy

#

;-;

half harness
#

haskell GOOD and BAD

prisma wave
#

WRONG

old wyvern
#

welp didnt need needrestart

#

lol

prisma wave
#

🥲

old wyvern
#

brb then, this should take about 5 mins 🥲

pale shell
#

ok so, i got a small question idk if anyone can help. Java keeps saving the number as 2.910383E7 but i want the full number, any clues on fixes?

static zealot
#

@jovial warren do I need a plugin.yml for the plugin?

prisma wave
#

just in scientific notation

pale shell
#

I want it to show like 4656613.0 tho

prisma wave
#

then use DecimalFormat

#

or String.format

onyx loom
#

BigDecimal 😌

old wyvern
#

BigD 😌

steel heart
#

BigDecimal.MAX_VALUE

static zealot
#

oh its a plugin.conf

old wyvern
#

Krypton bad?

static zealot
#

why?

onyx loom
#

hocon

old wyvern
static zealot
onyx loom
#

LOL

half harness
#

oof

old wyvern
#

Couldn't be hrypton

static zealot
#

first ever thing I needed from IJ Ultimate xD

pale shell
#

is BigDecimal worth using?

old wyvern
#

Yea?

prisma wave
#

no it exists for no reason at all

#

they just added it for the lols

old wyvern
#

😂

pale shell
#

ok

old wyvern
#

Is Java worth using?

steel heart
#

no it exists for no reason at all

onyx loom
#

no

steel heart
#

they just added it for the lols

onyx loom
#

haskell 😌

old wyvern
#

True ^

static zealot
#

well fuck.. I have no idea how the fuck a .conf file should look like

old wyvern
#

Krypton

onyx loom
#

is there nothing on krypton readme or wiki

static zealot
#

wiki has like 3 pages

onyx loom
#

lol

#

krypton clearly bad

static zealot
#

and those are like not even taking my entire screen

#

I just found this from searching thru BBG's message history

old wyvern
#

He has an example plugin I think

#

Look at what he did for luckperms

ocean quartz
static zealot
#

like usually I do

old wyvern
#

Speaking of which, md_5 actually unironically uses NetBeans

static zealot
#

going to use Sublime. lets see if it has support for .conf

#

nope it does not

#

well fuck

ocean quartz
old wyvern
#

🥲

half harness
#

..

half harness
ocean quartz
#

Maven, Lombok, Netbeans, what a guy

static zealot
#

🥲

half harness
#

thanks wakatime

#

i really need the status bar apparently

static zealot
#

well just don't use wakatime ...

half harness
#

nothing loads

#

nothing colors

#

highlighting sometimes shows a progress bar

static zealot
#

then reinstall IJ

ocean quartz
#

But without wakatime how am i going to see how much i procrastinate?

half harness
#

forgot exactly what it said

half harness
ocean quartz
#

Also wtf is that file lol

static zealot
#

xD

half harness
#

also i just noticed its an object class

pale shell
#

ok moved to Big D. Hopefully this'll work better

ocean quartz
#

There is so much wrong with it

half harness
#

i know...

#

but i cba fixing it

#

especially when intellij is dying

ocean quartz
#

Nice

half harness
#

also

#

its been over 2 hours

#

and ive done 0 code

#

;-;

#

thanks intellij

static zealot
#

in your message I found you said I don't have to use main anymore and rather set it in the manifest

#

now until you are back I'll just assume that I don't need to do it in manifest anymore

onyx loom
ocean quartz
#

And i've spend a few hours trying to get this gradlerunner thing to work, ended up ditching it for now

old wyvern
#

wdym matt?

#

Whats wrong?

ocean quartz
#

Trying to create a temporary build script to unit test with the gradle runner, but since we require shadow I needed to apply it, which it does apply but doesn't work, no tasks or files are present on the run 😩

old wyvern
#

😬

half harness
#

oh nvm i just pressed apply changes again

#

and it works

#

first time it didn't thonking

prisma wave
#

OH MY GOD

#

OH MY GOD

#

AAAAAA

#

STFU BOT

half harness
prisma wave
#

soon

half harness
#

aaaa sharex is so annoying with its auto imgur uploads

static zealot
#

@jovial warren u fully gone?

half harness
#

also why is command using the command field and not the command parameter?!?!?!?!?!?!?!?! along with 10 billion more errors
time to invalidate cache again

static zealot
#

did you fall asleep again? 🥲

old wyvern
prisma wave
#

putVarInt was repeating forever and also sending bytes in the wrong order

old wyvern
#

ahh

prisma wave
old wyvern
#

ayyy

half harness
prisma wave
#

yes

half harness
#

oh

#

already?

#

gn

prisma wave
#

you have been destroyed

#

now you must sleep

half harness
#

waht

prisma wave
#

but yes also i am sleeping now

old wyvern
#

xD

prisma wave
#

1 sec

ocean quartz
#

@prisma wave 2ms ping on localhost! Haskell slow!!

prisma wave
#

WHAT

#

NO

onyx loom
#

@static zealot whats with the -1

#

do u have anything to say

prisma wave
#

They hate to see it

onyx loom
#

nooooo

static zealot
#

talking about ||asking people what's with the -1||

#

not haskell lmao

#

I don't really care

onyx loom
#

huh

prisma wave
#

Soon

static zealot
#

™️

prisma wave
#

DKIM

#

Explain yourself

old wyvern
#

@half harness

half harness
#

hmmmmmmmm?

old wyvern
#

How

#

Dare

#

You

#

!

prisma wave
#

YOU SCUM

half harness
old wyvern
#

Good!

prisma wave
#

thanks

#

You realised the error of your ways

#

@old wyvern fully functional server tomorrow yes?

old wyvern
#

Yes!

#

xD

half harness
#

🤨

static zealot
prisma wave
#

Funny, they say FP is bad and yet they say "fully functional minecraft server" and not "fully object oriented minecraft server"... Curious...

#

DKIM

#

DKIM

half harness
#

hmmmm?

prisma wave
#

🤬

static zealot
#

pretty sure they mean "fully working minecraft server" xD

half harness
prisma wave
#

YOU SLIMY

#

TRAITOR

half harness
#

i like slimes

#

they're bouncy bouncy

onyx loom
#

blobfish

half harness
#

afk

prisma wave
#

DO NOT CARE

#

EVIL

#

you should have your house and family stripped away from you

onyx loom
#

👀

prisma wave
#

I want to do unspeakable things to you dkim

#

And not in a good way

obtuse gale
#

"helpful"

prisma wave
#

the training is not working

obtuse gale
#

"no plugin updates"

prisma wave
#

I cannot be tamed

static zealot
#

everything you say here doesn't count

prisma wave
#

Exactly

obtuse gale
#

ah fair

static zealot
#

someone can tell me where I can watch Attack on titans?

prisma wave
#

Weeb

static zealot
#

👍

prisma wave
#

🙂

static zealot
prisma wave
#

.gov

old wyvern
static zealot
prisma wave
#

YES

old wyvern
#

😌

prisma wave
#

works for me

static zealot
#

ah alr. Is the virus called Coronavirus disease 2019 ?

prisma wave
#

Yes 🥲

static zealot
#

ok

#

Netflix been recommending some amazing movies lately. I think they improved the recommendation tool or something

ocean quartz
static zealot
#

🩴

ocean quartz
static zealot
#

I know

#

I literally read the wiki before asking what the name is xD

#

anyways going to watch a movie and go to sleep. good night

ocean quartz
#

Night!

static zealot
#

gn 👋

half harness
#

aaaaaaaa intellij hurry up

oak raft
#

I GOCHU

#

check dms

hallow crane
forest pecan
#

So @ocean quartz about Slimjar. Could I get a clarification about it? I heard it uses jarinjar. Does this mean it safely allows URLClassLoader to be exposed? Or is dependencies just already handled there.

ocean quartz
#

Might be a question for Yugi, he's the brain

forest pecan
#

Ok

#

@old wyvern

#

Sorry for ping lmao

old wyvern
ocean quartz
#

and i need to fix my stuff 😩

old wyvern
#

The gradle task auto compiles the internal jar and moves it into the bootstrap jar as a resource

forest pecan
#

Ah

#

So that means that stuff like URLClassLoader can be used

#

Right?

obtuse gale
#

I mean I would assume you don't use any of it directly

#

right?

old wyvern
obtuse gale
#

doesn't slimjar just take care of everything?

#

yea

old wyvern
#

mhm

old wyvern
#

Did transitive work?

ocean quartz
old wyvern
#

welp, I guess for most cases that shouldnt cause any issues

forest pecan
#

Wait so I just pass in some URLs and it should work?

#

right

old wyvern
#

You dont need to

half harness
old wyvern
#

Lemme show you an example

obtuse gale
old wyvern
forest pecan
half harness
old wyvern
half harness
#

time to use it for bedwars

forest pecan
#

ic

obtuse gale
#

slimjar does the dirty part

forest pecan
#

idk

#

lmao

old wyvern
#

You would use ApplicationConfiguration and ApplicationFactory

half harness
old wyvern
#

If you want further custimization, you can manually create a ApplicationConfiguration

old wyvern
half harness
obtuse gale
#

No license headers 🥶

steel heart
#

WOW this is nice vshnv

forest pecan
#

use readthedocs

#

lol

old wyvern
#

lol

old wyvern
half harness
#

would it be useless to use on a 4 mb plugin

old wyvern
half harness
#

lol

forest pecan
#

Readthedocs uses restructured text btw

#

its a bit odd at first but you get used to it

old wyvern
half harness
old wyvern
#

Use it ig? xD

forest pecan
#

well is that 4mb plugin just all dependencies?

ocean quartz
old wyvern
pastel imp
#

which one looks better? lmao

forest pecan
#

hm

#

not sure

ocean quartz
pastel imp
#

idk how people like the filled one lol

forest pecan
#

you use pip for installing some packages

steel heart
dawn hinge
#

I say Top aswell

pastel imp
old wyvern
#

I might just write a github wiki for now

steel heart
#

The glass becomes superfluous in my opinion

forest pecan
#

kk

steel heart
#

Gh markdown is decent

pastel imp
#

what about now?

forest pecan
#

I just like the themes of readthedocs

#

and how its also responsive too idk

old wyvern
hallow crane
old wyvern
#

when what?

hallow crane
#

when will the doc updates

#

nvm

#

dkim

old wyvern
#

lol

hallow crane
#

thx

sweet cipher
steel heart
#

Lol

sweet cipher
#

I would say it’s useful

pastel imp
#

doesnt answer my question

sweet cipher
#

Fine option 3 then

#

Alternating black and white stained glass looks nice

#

You’ll need a lot of dye for it though

forest pecan
#

lol

pastel imp
#

.-.

steel heart
#

If anyone’s interested

gusty glen
obtuse gale
#

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

gusty glen
#

||realize I didn't put license headers on my open source project under MIT 🥶 ||

#

any easy way of applying license headers?

ocean quartz
#

I use a gradle plugin for it

gusty glen
ocean quartz
#

id("org.cadixdev.licenser") version "0.6.0"

gusty glen
#

I just put this on my gradle build?

ocean quartz
#

Yeah, then run the task

half harness
#

i couldn't get it to work :p ill try the plugin matt uses

obtuse gale
#

the only annoying thing I've found with that one is that it changes the line endings >:( regardless of the ones in thte actual file

obtuse gale
#

I have my project sources with \n as line endings, and so the license header file

#

But since I'm using Windows that plugin for whatever reason uses \r\n instead

half harness
#

also matt, i have multiple modules, do I have to apply the plugin in subprojects {}?

half harness
ocean quartz
#

Yes

#

I don't think I've had that issue Emily ;o

half harness
#

what task do I run?

#

to generate the license headers

#

updateLicenses?

gusty glen
#
license {
  header = rootProject.file("LICENSE")
  strictCheck = true
}```
#
  - Type 'LicenseCheck' property 'URI' is missing an input or output annotation.```
obtuse gale
#

hah

half harness
obtuse gale
half harness
#

emily

#

i need help

compact perchBOT
#

There is no time to wait! Ask your question @half harness!

half harness
#

o

obtuse gale
#

0.16.1 is the latest btw

ocean quartz
half harness
#

Caused by: java.lang.IllegalArgumentException: Header does not contain any of the required keywords: map(extension 'license' property 'keywords')
uh

gusty glen
#

I see, so licenseFormat put the license header on the files, and license checks for them

obtuse gale
#

ye

#

aw goddammit dead internet

gusty glen
#

putLicense and checkLicense would be too good names, apparently

ocean quartz
obtuse gale
ocean quartz
#

No idea, you were the one with the new line issue xD

half harness
#

matt do you have an example project

#

mine isn't working 😕

ocean quartz
#

What isn't working?

half harness
#

I just ran gradle updateLicenses/gradle licenseFormat

obtuse gale
#

what does "disables the new line" mean??

ocean quartz
#

Did you add header = rootProject.file("LICENSE")?
Also do you have the license in the root folder?

half harness
ocean quartz
half harness
#

do I have to put anything in subprojects?

ocean quartz
#

Yes

half harness
#

oh

#

what do i put? i only put apply plugin: 'org.cadixdev.licenser' so far

#

do i just copy and paste the license {} stuff?

ocean quartz
#

Yes

half harness
#
    license {
        header = project.file("LICENSE")
        include '**/*.kt'
    }
```this is what i have so far
#

still errors 😕

ocean quartz
#

Did you refresh?

half harness
ocean quartz
#

Yes

half harness
#

yes

ocean quartz
#

Also run the check

half harness
#

ok

#

same error

ocean quartz
#

If it doesn't work, use Emily's suggestion, they achieve the same thing

obtuse gale
#

huh they changed the color here too

#

it's lighter

#

there, better

half harness
obtuse gale
#

😎

#

tbh i have no idea why I picked this one plugin in particular

#

i liked it ig

ocean quartz
#

First one that appears go with it tbh

obtuse gale
#

literally no reason

#

i need sleep

#

but no

ocean quartz
#

Same

obtuse gale
#

i don't need sleep

ocean quartz
#

i need a good week of sleep

gusty glen
obtuse gale
#

o

#

T3 secret

gusty glen
#

xDDD

#

I'm blue now

half harness
#

T3 is best color

obtuse gale
#

wait till you're T6

ocean quartz
#

Incredible how Dkim is only T5

#

Ooo, about to pass Aboo on the leaderboard

half harness
#

🤣 🤣 I have 6.9k lines now (.kt files)

#

the license really made it go up

#

lol

#

oh be quiet

#

had to ruin my happy moment

#

im confused on how its bad

#

This rule reports labeled expressions. Expressions with labels generally increase complexity and worsen the maintainability of the code. Refactor the violating code to not use labels instead. Labeled expressions referencing an outer class with a label from an inner class are allowed, because there is no way to get the instance of an outer class from an inner class in Kotlin.

#

i mean i guess i can use regular for loops

ocean quartz
#

Nah, fuck em, i turned off those, i don't mind labels

half harness
#

alr

#

the LongMethod warnings are quite annoying for classes such as data classes

#

and enums

#

since in java you don't put it in a "method", you put it in separate fields

#

welp the moment it hits midnight ima claim =daily and go to sleep

#

so close

ocean quartz
gusty glen
half harness
gusty glen
#

dkim what is that btw

half harness
gusty glen
half harness