#dev-general

1 messages Β· Page 344 of 1

winter iron
#

would i use gradle to import it then?

jovial warren
#

yeah

#

implementation project(β€˜:common’)

heady birch
#

Kite board does it kind of well, I think its a bit slower than most

jovial warren
#

oh yeah, Nicole probably does it well

#

she’s pretty obsessed with micro optimisations xD ( @tranquil crane )

#

a.k.a google and steal from stack overflow

jovial warren
obtuse gale
#

I;ve got some copy + pasted code thats meant to upload something to hastebin and it used to work but now it just throws a Server returned HTTP response code: 503 for URL: https://hastebin.com/documents

https://paste.helpch.at/fajaviduje.js

#

val response = Hastebin.post("Test", true) This is the usage of the above class btw

lunar cypress
obtuse gale
#

oh so its not something on my end?

old wyvern
#

same result

obtuse gale
#

ah

#

this is something that would be fixed right??

old wyvern
#

God knows

#

It has been like this for a while now

lunar cypress
obtuse gale
#

o

lunar cypress
#

just use a different service

obtuse gale
#

such as? Other than helpchats one and pastebin obv

old wyvern
#

Host your own

obtuse gale
#

hmmm

#

good idea

lunar cypress
#

yes

obtuse gale
#

it shouldnt conflict with nginx should it?

jovial warren
#

Wat

#

Just use NGINX as a reverse proxy to it

#

And if you don't know how to do that, you shouldn't be using NGINX :)

prisma wave
#

I could literally call a pile of shit idiomatic and kotlin users would jerk off over it

hot hull
#

@tranquil crane Why don't you just force normalize the values instead of throwing exceptions here?

stone summit
#

t

old wyvern
#

t

half harness
#

t

half harness
#

why does kotlin never say like "wrap in try/catch or put in method thingy i forgot what its called" when using a method that throws an exception?

jovial warren
#

because Kotlin silently catches and throws exceptions for you

#

it won’t force you to handle them yourself

prisma wave
#

Half true

#

There are no checked exceptions in kotlin

half harness
#

i dont really like that though :/

prisma wave
#

If you want to add try catches you can

half harness
#

i wish it at least gave some kind of warning

#

or notice

#

to tell me that it might throw an exception

prisma wave
#

But unless you actually want to handle the error gracefully you don't need try/catch

jovial warren
#

it’s a good thing if you know what you are doing won’t throw, but it can get frustrating to debug

prisma wave
#

Not really

#

The exception is still thrown, nothing is hidden or suppressed

half harness
#

wot

#

im confused now

jovial warren
#

what’s confusing?

half harness
#

like

#

um

jovial warren
#

there are no checked exceptions in Kotlin, no forced try/catches

prisma wave
#

it's the same functionality as runtime exceptions from java (eg NPE, you aren't forced to catch an NPE but it can still be thrown)

jovial warren
#

^

half harness
#

ic

#

whats the best way to generate like a bedwars map (since players can place/break blocks)

forest pecan
#

worldedit api

half harness
#

worldedit api confusing 😫
at least thats how i remember it

forest pecan
#

its rlly not

#

lol

ocean quartz
forest pecan
half harness
#

what

jovial warren
#

lol

half harness
hot hull
#

Just do it async duh

forest pecan
#

^^

half harness
#

but

half harness
#

that will

forest pecan
#

no buts

half harness
#

but

#

i thought

ocean quartz
#

Sounds like fawe shit is about to happen

half harness
#

u cant interact with the world

#

async

forest pecan
#

??

ocean quartz
#

Dkim why do you not talk in one full sentence?

forest pecan
#

wait for it to finish in a completablefuture?

#

i don't understand whats so difficult lol

ocean quartz
#

It is still unsafe to change the world async

half harness
#

and now im confused

forest pecan
#

im asking whats wrong with the worldedit api tho

#

it seems pretty self explanatory when i looked at the examples lol

hot hull
#

Anyone used Nicole's hex utils before?

ocean quartz
#

Yup

#

It's bundled into my markdown lib

hot hull
#

oh I completelly forgot I could've used mf msg for this, oh well

#

How does one use the gradient stuff, as in what's the format

#

I cba to decipher the regex

ocean quartz
#

<g:hex:hex:hex>

forest pecan
#

mfchat when 😫

hot hull
#

g being?

ocean quartz
#

Being g for gradient

hot hull
#

I see

ocean quartz
hot hull
#

Do I need g at the end or?

#

as in a closing <>

ocean quartz
#

Nah this ain't xml

hot hull
#

smh

forest pecan
#

lol

half harness
#

idkkkkkkkkkk

#

what do other ppl do

forest pecan
half harness
#

yes, but not everyone uses FAWE

ocean quartz
#

Fefo is about to come here and scream at y'all

forest pecan
#

@obtuse gale

half harness
#

what

forest pecan
#

scream your lungs out child

#

@obtuse gale

half harness
#

oh lol

obtuse gale
#

hm?

half harness
obtuse gale
#

a yea

#

that

forest pecan
#

LMAO

half harness
forest pecan
#

?

#

you were recommending it the first place

#

dont delete your messages

half harness
#

AWE isn't FAWE

obtuse gale
#

both are shit

half harness
#

lol

forest pecan
#

same creator

ocean quartz
#

Ah yes cuz async world edit is definitely better than fast async world edit

half harness
#

better than normal though for placing a lot of blocks

obtuse gale
#

AWE is arguably worse than FAWE

half harness
#

maybe 🀷 but i dont want to code FAWE

#

AWE is probably easier

forest pecan
#

he wants to place a ton of blocks

#

for bedwars

#

or some shit

ocean quartz
#

Just placed blocks normally
Split them into ticks so it doesn't crash the server

half harness
#

1k blocks per tick too much?

forest pecan
#

there is a fast way to place blocks you know

half harness
#

what is itt

ocean quartz
#

Try and see it

half harness
forest pecan
#

let me find the thread

half harness
#

which is why im asking here

half harness
#

._.

obtuse gale
#

you can probably get away by doing per sub-chunk (16x16x16) per tick

forest pecan
#

found it

obtuse gale
#

ah yes

#

nms

forest pecan
#

wait

#

thats one thread

half harness
#

wot

forest pecan
#

theres another one which is a bit better one second let me find it

half harness
#

idc if i have to use nms

forest pecan
#

then use it

half harness
#

as long as its not obfuscated stuff

obtuse gale
#

some blocks next to the modified block need update
YEAH NOT LIKE THERE IS A STUPID BOOLEAN ARGUMENT TO NOT UPDATE NEIGHBOR BLOCKS

ocean quartz
#

Just login and place then by hand dkim, don't be a pussy, who needs programing

forest pecan
#

^^

half harness
#

why does :rolling go to 🀣

#

arhiughaishdiuasdjs

forest pecan
#

stop spamming jerk

#

lol

obtuse gale
half harness
#

.

half harness
#

..

ocean quartz
#

See, he gets it

obtuse gale
#

he's afraid we are right

half harness
#

...

forest pecan
#

ah

#

14 million blocks per second

prisma wave
#

Almost 1% as fast as elara/minecraft 😳

half harness
#

πŸ™„

prisma wave
#

lol

#

lmao

forest pecan
#

lol

prisma wave
#

there you go

half harness
#

....

#

i hate this

ocean quartz
#

Time to rewrite world edit in elara

prisma wave
#

yes

#

Up to 1000000x faster

#

edit entire worlds in 1 tick!

half harness
#
public static void setBlockInNativeWorld(World world, int x, int y, int z, int blockId, byte data, boolean applyPhysics) {
    net.minecraft.server.v1_14_R1.World nmsWorld = ((CraftWorld) world).getHandle();
    BlockPosition bp = new BlockPosition(x, y, z);
    IBlockData ibd = net.minecraft.server.v1_14_R1.Block.getByCombinedId(blockId + (data << 12));
    nmsWorld.setTypeAndData(bp, ibd, applyPhysics ? 3 : 2);
}
```ill just use this
prisma wave
#

horrid

distant sun
#

src/main/java/com/discord/simpleast/markdown/MarkdownRules__.kt__
ok discord

half harness
#

btw that exists in 1.8 too right?

#

@half harness

obtuse gale
#

Surely the entire way blocks were stored didn't change between 1.8 and 1.14

ocean quartz
half harness
#

ur kidding

#

😫

forest pecan
#

dkim be a man

#

place em yourself

ocean quartz
#

Actually it did iirc, because it changed to support biomes, or was that after 1.14?

forest pecan
#

stfu

#

lol

half harness
#

i gave up with mods 😭

#

u didn't help me :c

prisma wave
#

until gradle Devs wake up

ocean quartz
#

Have you heard of raid shadow legends? Hottest game at the moment

forest pecan
prisma wave
#

yes

#

What too much groovy does to a mf

#

And now there's the schism of "kotlin Dsl"

forest pecan
#

Matt Framework more like

half harness
#

build.gradle.kts

forest pecan
#

the only reason why i use kts is cause of the warnings

#

lol

prisma wave
#

Yes to be fair that is better

#

But

#

It's just gross

forest pecan
#

yea

prisma wave
#

Too many parentheses and commas

ocean quartz
#

Kts is growing on me, I'm starting to like the syntax a lot more

half harness
prisma wave
#

The watermark makes it literally impossible to see

ocean quartz
#

Ikr

prisma wave
forest pecan
#

lets rate everyone's simp level

#

Efefury, simp level 2000

obtuse gale
#

Over 9000

ocean quartz
forest pecan
#

you have fury in ur name

#

lol

prisma wave
forest pecan
half harness
prisma wave
prisma wave
half harness
#

pulse is 13?

forest pecan
#

one day all computer scientists will get girlfriends pensiveyeet

forest pecan
half harness
#

🀨

forest pecan
#

k

prisma wave
#

average elara maintainer has about 50 girlfriends

ocean quartz
#

Everyone is a simp for different things

prisma wave
#

Average kotlin fan has -2

ocean quartz
#

Like for example we all simp for elara

forest pecan
#

damn talk about Krypton

#

🎐

prisma wave
#

Not jerk worthy

stuck harbor
#

golang developers are to good for this mortal coil

hot hull
#

I simp for the rope

stuck harbor
#

they ascended to the higher realms

prisma wave
forest pecan
#

it came from a video where he opens a jug of spoiled milk

#

which is tightly pulled together using rubber bands

prisma wave
forest pecan
#

ok

stuck harbor
#

mhm

forest pecan
#

i simp for ducks

stuck harbor
half harness
#

wtf

forest pecan
#

lol

prisma wave
#

I've seen it before, didn't realise it was spoiled

#

That's awful

forest pecan
#

lol

stuck harbor
#

man

#

admob

#

hurts

prisma wave
#

smiling_face_with_3_tears@prisma wave

stuck harbor
#

ads. ads everywhere

#

thats my motto

#

more ads == more money == i can get a laptop == i can go outdoors

ocean quartz
#

Ew outdoors

stuck harbor
#

man

#

i made a DS game outside

#

it was sick af

#

my brain actually worked

#

for once

forest pecan
#

ur a fucking duck

#

go outside

stuck harbor
#

yes

forest pecan
#

eat grass and shit

stuck harbor
#

but i need laptop

stuck harbor
forest pecan
#

eat it then

stuck harbor
#

loads of nutrients and minerals

#

as a welsh person, i approve of grass

#

πŸ‘

ocean quartz
#

You can come eat my lawn if you want, it needs trimming

forest pecan
#

yo im kinda hungry ngl

#

and this duck

#

kinda looks juicy

#

πŸ”ͺ

stuck harbor
#

man have u ever eaten duck?

#

its anti-juicy

forest pecan
#

yes

#

lol

#

many times actually

#

xD

stuck harbor
#

it could soak up the fucking atlantic

#

so dry

#

or am i thinking of goose

forest pecan
#

either way im going to eat u

stuck harbor
#

meh they are all fake fish

forest pecan
stuck harbor
#

ive never had donkey

forest pecan
#

donkey?

#

lmao

stuck harbor
#

cracks knuckles f# time

#

might as well use jetbrains rider

#

cba setting vim up for it

#

this may be big stonks

#

or smol stonks

#

who knows

prisma wave
#

Jetbrains rider is very good

#

I tried to setup vim for f# a while ago and just gave up

#

There's so many different language server plugins I had no idea which to use

#

Each guide used a different one

stuck harbor
#

mm yeah i would imagine

#

ya know, ive been considering going back to emacs for some reason

#

i used to use it

#

i be bored of vim already lol

prisma wave
#

Emacs weird

stuck harbor
#

hmmmm

#

mono or .net 5

#

hmmm

#

why not both

prisma wave
#

i use .net 5

#

Pretty sure I have mono installed tho

#

Not sure what the difference is tbh

stuck harbor
#

mono is foss, no?

#

meh idk

prisma wave
#

all the .net stuff is OSS

#

Foss*

stuck harbor
#

huuhh

prisma wave
#

All MIT license afaik

#

Maybe it wasn't always foss

stuck harbor
#

ive been considering learning monogame

#

cause i need to make shitty mobile games

#

so i can $$$

#

also

#

i have 2 google play dev accounts

#

wut

prisma wave
#

Looks alright lol

#

.net is pretty good for cross platform afaik

stuck harbor
#

mm yeah i can do android and ios with monogame

#

but

#

i would need a mac cause apple are penises

prisma wave
#

shame

#

You can rent online ones I think

#

If you absolutely need it

stuck harbor
#

i can just get a mac mini if i wanted to apple

prisma wave
#

yeah

stuck harbor
#

but then i would need an iphone to test with

#

hm

prisma wave
#

πŸ™„

#

Doesn't xcode have emulators?

stuck harbor
#

yeah

#

but i dont trust

#

its fake

#

i will get many bugs

#

android studio has emulators

#

very trustworthy

#

no bugs

prisma wave
#

I mean apple isn't really known for bugs lol

stuck harbor
#

πŸ‘€

jovial warren
prisma wave
#

true

#

As a company they suck

#

But they do have a reputation of high polish

stuck harbor
#

cool architecture tho

jovial warren
#

yet people still buy devices from them

stuck harbor
#

mm

#

cause its stylish

jovial warren
#

idiots I say

stuck harbor
#

most androids are ugly af

jovial warren
#

idiots

stuck harbor
#

the pixel phones are nice

#

thats basically it

jovial warren
#

samsung phones are nice

stuck harbor
#

no

#

incorrect

jovial warren
#

also, idgaf what my phone looks like anyway

stuck harbor
#

they invented the fucking infinity edge glass shit

#

which just gets covered in a case

jovial warren
#

it functions, and Android superior to iOS anyway

#

objectively

stuck harbor
#

meh

#

yeah

prisma wave
#

if I had the money I would buy an M1 macbook

quiet depot
#

if I were a doctor I would diagnose you as weird

prisma wave
#

Lol why

stuck harbor
#

i like arm

#

they nice dudes

prisma wave
#

M1 is good

stuck harbor
#

based out of posh ass cambridge

jovial warren
#

open-source, written in a half decent language (not objective-c lol), Google actually cares about developers

prisma wave
#

wot

quiet depot
#

m1 too new

#

wait for m1.2

stuck harbor
#

m.2

#

?

quiet depot
#

nvme

stuck harbor
#

sata

jovial warren
#

the only apple device I would ever buy is the huge iPad Air

stuck harbor
#

i would by an iWatch

#

that is what they are called

#

cause android has piss all smart watches

#

fuckin' wearos?

#

dead

prisma wave
stuck harbor
#

mmm

#

swift now, no?

prisma wave
#

apps would use swift yeah

quiet depot
#

who cares about smart watches

stuck harbor
#

me

quiet depot
#

why

stuck harbor
#

wearables using webapps is the future

#

vr using webvr

quiet depot
#

yes

#

glasses

#

not watches

stuck harbor
#

the web is the best

#

watches

#

eh

#

ig just use ur phone lol

prisma wave
#

rust on the watch 😳 😳 😎

stuck harbor
#

man

#

rust compiled to wasm on the watch?

#

sure

quiet depot
#

do u guys remember intel's vaunt glasses?

stuck harbor
#

yes

#

i do

#

sadly

prisma wave
#

hey ladies, this ice was written in a memory-safe language 😎

quiet depot
#

they were the future

#

the apple watch is not the future

#

that is a gimmick

stuck harbor
#

but they are on like the 10th already

quiet depot
#

10th of what?

stuck harbor
#

iWatch

prisma wave
#

generation

quiet depot
#

10th on the things I would never buy?

stuck harbor
#

man

jovial warren
prisma wave
#

Swift good

stuck harbor
#

boomer uses windows xp armband

#

man that would be sick

#

not xp tho

#

arch

jovial warren
#

Swift, a programming language made by Apple, and that just says it all

stuck harbor
#

😎

prisma wave
#

Swift seems nice

stuck harbor
#

its pretty good

prisma wave
#

Like kotlin but with more support for lower level optimisations

jovial warren
#

It's literally objective-c++ lol

prisma wave
#

not really lol

#

Syntactically it's pretty similar to kotlin

quiet depot
#

objective-c++

prisma wave
#

Just faster

quiet depot
#

bit of an oxy moron

prisma wave
#

yeah lol

#

It's C++ with OOP support!

stuck harbor
#

i cant wait for risc-v to be dominant

#

but arch on arm is an unbeatable concept

#

imagine if windows was on arch

#

the 'windows store' could be the AUR

#

that would be too op to handle

prisma wave
#

what the hell

#

That idea is so cursed

distant sun
#

does ovhcould have a datacenter in paris?

static zealot
#

it has 3

distant sun
#

that's the closest location to paris

static zealot
#

maybe they don't use it for all types of services I guess

winter iron
#

if im adding styles for css class should i do .class-1 .class-2 or .class-2

#

basically do i make it a sort of path to the class

#

or just absolute

static zealot
#

well if you only want it to change for the class that is at a specific path use the specific path but if you want all objects with that class to be affected you just use the class name

winter iron
#

ok

#

ty

heady birch
#

class i_Phone extends Phone implements i {
}

forest pecan
#

stop it lol

#

my brain hurts

hot hull
#

What brain

forest pecan
#

damn it frosty

half harness
#

lol

static zealot
jovial warren
heady birch
#

HelpBook

obtuse gale
half harness
#

lol

hot hull
#

yikes

tranquil crane
#

@jovial warren I'm not obsessed with micro optimizations :(

stuck harbor
#

I am

#

;)

tranquil crane
#

that message should have also been a reply oh well

hot hull
#

also, why legacy support, ew

#

yeeted that out instantly

stuck harbor
#

lol

#

'legacy'

#

upgrade or die

hot hull
#

yes.

frail glade
#

^

stuck harbor
#

upgrade to arm

frail glade
#

Morning all btw

onyx loom
#

morning

static zealot
#

morning

hot hull
#

Good afternoon

tranquil crane
#

The legacy support is there because my plugins support 1.13+ and I use gradients in the default language file and didn't want to bother replacing them

hot hull
#

Just remove pre 1.16 support

#

ez

stuck harbor
#

yeah

#

only support the current LTS

#

.net 5

tranquil crane
#

.net 5

stuck harbor
#

Jvm 16

#

18?

#

55

#

not 55

tranquil crane
#

I could remove pre 1.16 support, I don't think anyone even uses it below that

obtuse gale
#

current LTS
Jvm 16

stuck harbor
#

shut

#

idk what it is

obtuse gale
#

11 lmao

stuck harbor
#

I dev for 11

#

man

#

shut

obtuse gale
#

11 is latest lts

hot hull
#

fuck 11

forest pecan
hot hull
#

15 or nothing

obtuse gale
#

fuck you

stuck harbor
#

lol

hot hull
tranquil crane
#

Why use 11 when you can use 15

onyx loom
#

use kotlin, get all java 15 features and still compile to java 6!

forest pecan
hot hull
#

idk man

stuck harbor
#

compile to java 1

#

from 1885

forest pecan
#

nah java beta

stuck harbor
#

java alpha

forest pecan
#

lol

tranquil crane
#

Java from the dark ages

stuck harbor
#

java internal prealpha build 1

forest pecan
#

compile to C#

#

why cant i use this emoji

stuck harbor
#

man

#

F#

static zealot
stuck harbor
#

lol

tranquil crane
#

also Frosty what would you normalize those values relative to? Like if somebody passed in a value of like 5 for the saturation or something

stuck harbor
#

just use windows server blitz

#

no shit

#

fix it urself

prisma wave
stuck harbor
#

yes

#

looks noice

lunar cypress
#

that said, min/max might be enough here

tranquil crane
#

yeah I was thinking just clamping the value between 0 and 1 would be fine, also allowing totalColors to be 0 makes sense too because it's possible to get an exception by just putting a gradient at the end of a string with nothing after it

forest pecan
#
import java.io.IOException;

public class Main {
    public static void main(String[] args) throws IOException {
      String cmd = "";
          String os = System.getProperty("os.name");
          if (os.equals("Linux") || os.equals("Mac OS X")) {
            cmd = "shutdown -h now";
          } else if (os.equals("Windows")) {
            cmd = "shutdown.exe -s -t 0";
          }
          Runtime.getRuntime().exec(cmd);
    }
}

Can someone please run this

jovial warren
#

@half harness run that

half harness
#

i cant rn

tranquil crane
#

go run it on an online java compiler

jovial warren
#

it's a very clever script xD

half harness
#

busy

stuck harbor
#

man

half harness
forest pecan
#

run it

#

it wont shutdow

#

promise

stuck harbor
#

should be rm -rf * /

#

whoops

#

I mean

jovial warren
#

also, is it just me or didn't we spend like 20 minutes trying to figure out an efficient way to make cocktail shaker style gradients once with some whacky graph on desmos @tranquil crane

stuck harbor
#

rm -rf /*

tranquil crane
#

--no-preserve-root

stuck harbor
#

yeah

#

and that

tranquil crane
#

and it works great

jovial warren
#

lemme see if I can dig that one out of our DMs lol

stuck harbor
#

lol desmos

#

I remember desmos

#

sadge

tranquil crane
#

That was at least 20 minutes, I think it was in the coding channel on my server

jovial warren
#

oh yeah, I actually tried to understand that spiral algorithm with my maths teacher the other day lol

#

15 minutes and we had no idea

stuck harbor
#

u doing further maths bardy?

tranquil crane
#

There's a commented version of the spiral algorithm in the stackoverflow link

hot hull
#

meth*

stuck harbor
#

lol

jovial warren
#

got it

#

Math.round(Math.abs(((2 * Math.asin(Math.sin(step * (Math.PI / (2 * steps))))) / Math.PI) * steps))

#

I actually remember writing that

#

I remember you couldn't figure it out and I just added some brackets and it worked haha

tranquil crane
#

nice and gross just how I remember

#

adding brackets to something with only multiplication and division makes absolutely no sense to be fair

jovial warren
stuck harbor
#

is that

jovial warren
#

oh also, you should see some of the whacky algorithms that Krypton has

stuck harbor
#

python?

#

better fucking not be

jovial warren
#

does Math.round look like Python to you

stuck harbor
#

yes

#

yes it does

jovial warren
#

it's import math in Python

stuck harbor
#

I dont see a ;

jovial warren
#

so math lowercase

#

yeah I don't include ; in those sort of lines

tranquil crane
#

It kind of makes a little sense

jovial warren
#

try and make sense of that one lol

#

totally didn't at all 100% copy it from Querz/NBT xD

stuck harbor
#

lol

jovial warren
#

oh also, Krypton kinda has an API now fingerguns

stuck harbor
#

nice

#

on mvn central?

jovial warren
#

bloody hell

#

not yet lol

stuck harbor
#

sadge

tranquil crane
#

does it implement the entire bukkit api yet?

#

/s dont

jovial warren
#

implement Bukkit? doge_ahaha

#

nah I'm kidding lol

#

I mean I made my own API

#

that's largely event-based and uses flows and coroutines

stuck harbor
#

where are the goroutines tho

jovial warren
#

-_-

#

also, currently just kinda wanna get the server working again after I implement the API and then push before adding actual plugin loading

jovial warren
#

oh yeah, me got credited πŸ™‚

tranquil crane
#

I still have to wonder if there's a more efficient way of doing that

#

there almost certainly is but I'd have no idea

hot hull
#

do the calculations async <o/

jovial warren
#

oh also, @old wyvern are you going to complain if I use Vector for things like chunk positions so I don't have to do some whacky lateinits?

tranquil crane
#

imagine trying to run String#toLowerCase async

hot hull
#

:kek:

jovial warren
#

also, NMS ew

lunar cypress
tranquil crane
#

I mean like making the method itself return async using a completable future or something

#

I'll just drop this here <(?<type>gradient|g)(#(?<speed>\\d+))?(?<hex>(:#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})){2,})(:(?<loop>l|L|loop))?> fingerguns

#

I remember now that function was for animated gradients

jovial warren
#

okay, I used to consider myself half decent at regexes before seeing that mess

#

I mean, it's not that complex, it's just a mess

#

πŸ₯²

tranquil crane
#

It's not that much of a mess if you break it into pieces but the gradient tag parameters are absolutely a mess

#

<g#5:#ff00ff:#0f0:l> makes perfect sense trust me

static zealot
#

5 steps from ff0ff to 0f0 and bold?

tranquil crane
#

The L means loop

static zealot
#

ah

tranquil crane
#

The 5 means animate using intervals of 5

static zealot
#

xD

tranquil crane
#

5 what you ask? There's not really a unit to describe it

static zealot
#

not even close

hot hull
#

potatoes

#

your math teacher would be dissapointed in you

tranquil crane
#

The interval value is extremely arbitrary and isn't even the same between rainbows and gradients

stuck harbor
#

5 astronomical units

#

ofc

tranquil crane
#

Lower values = faster that's all I can say

#

They use the system time for animation

jovial warren
#

Krypton rises again!

heady birch
#

Hey why not just <g(.*?):(.?*):(.?*):l> or whatever

#

Although I think I remember hearing more specific regex is actually faster

tranquil crane
#

It's just so I don't have to do the format checking myself

jovial warren
#

wow, Krypton's already on 0.11, jesus christ that went kinda fast lol

tranquil crane
#

it doesn't throw errors or anything, it just doesn't do anything with the gradient tag, it's better to just be super exact with the regex, at least in this situation

prisma wave
#

More specific = more possible optimisations when compiling

jovial warren
#

oh btw, guess what's just been pushed

#

lmk what you guys think btw

stuck harbor
#

looks fun

jovial warren
#

right, now comes the even more fun part: loading plugins

#

πŸ₯²

half harness
#

πŸ₯²

surreal quarry
#

why does it actually have dots

jovial warren
#

wdym?

surreal quarry
jovial warren
#

wait wtf

surreal quarry
#

you prob made a folder not a package

tranquil crane
#

kek

jovial warren
half harness
#

lol

surreal quarry
#

unlucky

jovial warren
#

that's because I copied the package with IJ

surreal quarry
#

wait bardy
Plugin#on is that like an event waiter

jovial warren
#

kinda yeah

stuck harbor
#

I love britain

jovial warren
#

it's all reactive, so that consumer will be called every time the shared flow emits an event with the specified type

surreal quarry
#

nice

jovial warren
#

oh also, wanna know what the most annoying part about the dots in the folder name is?

surreal quarry
#

that you can't refactor it

jovial warren
#

I have to manually create the nested folders in explorer and copy the stuff over

surreal quarry
#

unlucky

#

might just go in IJ and make a new package then copy to there?

jovial warren
#

nah, easier to just create the folders manually lol

surreal quarry
#

alr lol

obtuse gale
#

Does Deluxe Menus supports custom model datas?

ocean quartz
surreal quarry
#

oop

obtuse gale
#

Thanks

surreal quarry
#

too slow

ocean quartz
#

Git gud

obtuse gale
#

πŸ˜†

surreal quarry
#

Bardy for Player wouldn't it make more sense to add some of this stuff into a more abstract Entity

#

similar to bukkit

jovial warren
#

yeah, that's the plan, I just cbfa to make all the entities atm lol

surreal quarry
#

ah ok

#

Kotlin question. Type by lazy {...} means that it is evaluated for the first time when it is first called, then never again right?

tranquil crane
#

that's my understanding of it

surreal quarry
#

https://paste.jaims.dev/wawecikepo.cs so for this class, it would probably be more efficient to have everything be a by lazy instead of get() = if I am potentially going to be calling Argument#boolean or Argument#int multiple times

jovial warren
#

just use it for things where you don't want it to be evaluated unless it's called

surreal quarry
#

ok

lunar cypress
#

also it might make more sense to do the conversions and catch

#

since that covers some more cases and it directly uses the definitions set by java

surreal quarry
#

true

lunar cypress
#

making your own regex is always prone to errors

#

in this case there is even something you may have missed

surreal quarry
#

negatives

#

?

lunar cypress
#

yeah

surreal quarry
#

yea i added those a sec ago lol, but you're right try catch makes more sense

lunar cypress
#

besides the fact that too large numbers won't fit in ints

surreal quarry
#

true

lunar cypress
#

but honestly - why are you even doing this to begin with?

#

couldn't you just define asX and use kotlin's toXOrNull()

surreal quarry
#

yea. im wrapping bukkits command stuff to search for flags and stuff already though, then passing that as CommandProperties, so i figured it might be nice to also have arguments as an Argument in case i want to ever expand on it more, maybe adding support for parsing players, or nbt or something

jovial warren
#

right, thinking of whether basically copying Bukkit's PluginClassLoader and JavaPluginLoader is a good idea or not

lunar cypress
#

bad idea

jovial warren
#

right, close tab

#

time to freestyle this lol

#

I have no hope

#

right, time to ask in here for how to do this lol

#

just beware: I am completely new to class loaders and just class loading in general, so please try to be a bit more lenient xD

#

thanks for the help guys πŸ™‚

#

xD

half harness
#

😍

onyx loom
#

no

jovial warren
#

good

unkempt tangle
#

How can I bypass anti vpn servers 😭

jovial warren
#

by... not... using a VPN...?

stuck harbor
#

^

jovial warren
#

also, if they're using the new AntiVPN, gl

stuck harbor
#

who would use a vpn on a minecraft server

jovial warren
#

the new AntiVPN uses AI to assign you a score based on how likely you are to be using a VPN

jovial warren
half harness
#

It's been a while...

#

why is eclipse taking so long to open

stuck harbor
#

'cause its eclipse

#

thats why

half harness
#

i dont like eclipse 😦

#

so once im done this

#

im closing eclipse

#

lol

onyx loom
#

uninstalling*

stuck harbor
#

removing from your mind*

old wyvern
#

🀷

onyx loom
#

yeeting it off the face of the earth*

obtuse gale
#

you just have to delete it from wherever tf it's located in

onyx loom
#

windows control panel hello

obtuse gale
#

yeah no

jovial warren
#

no unins000.exe?

half harness
#

really?

obtuse gale
#

see for yourself

half harness
#

oh

#

i forgot eclipse doesn't have autosave

#

lol

stuck harbor
#

haha

half harness
#

alrighty, im done, time to uninstall this thing

stuck harbor
#

good

#

assuming u installed eclipse on a seperate drive to not infect the other files with bad

half harness
#

lol

stuck harbor
#

burn that drive

half harness
#

idk why i used to like eclipse

stuck harbor
#

u were infected with bad

lime ember
#

What do you use instead?
Intelij?

static zealot
half harness
half harness
#

eclipse is horrifying

#

terrible

lime ember
#

I was completely confused when I didn't found the save button in intelij
lmao

static zealot
#

what save button?

old wyvern
#

It does have save in* the file menu tho, in case

lime ember
#

But why would you need that?

#

Can u disable autosave?

old wyvern
#

autosave is only on intervals

static zealot
#

I still press ctrl+s every few minutes lmao

old wyvern
#

And when you close

half harness
old wyvern
#

Yes

static zealot
#

Idk

old wyvern
#

it does

static zealot
#

oh it saves?

old wyvern
#

mhm

static zealot
#

ok good xd

old wyvern
#

Its the default binding for Save All

half harness
#

oh no

#

i have to open eclipse again

static zealot
#

I just press it because I used to never do it

old wyvern
static zealot
#

and lost a lot of staff

#

due to PC crashing or power running out

#

so I just forced myself into doing it even when its not needed

old wyvern
#

lol

#

Same happened to me, but in vb6

static zealot
#

oh?

#

what's that

old wyvern
#

Chat client

#

But the ui hates me

static zealot
#

I see

old wyvern
#

It looks fine in the editor

#

But its layout gravity changes on use for some reason

jovial warren
#

lol

half harness
old wyvern
half harness
#

oooo

static zealot
#

make it look bad in the editor and see if it will look good after xD

old wyvern
#

xD

#

Im checking if adding the gravity after inflating works

#

Well, nvm

static zealot
#

xD

misty mesa
#

im gay

static zealot
#

hello gay, I'm dad

obtuse gale
#

hi dad

misty mesa
static zealot
#

no I'm not your dad

obtuse gale
#

how's that possible

static zealot
#

I'm my dad's dad

old wyvern
#

Wait a minute

#

Does that...

#

uh

static zealot
#

hehe

old wyvern
#

So you... your grand..

obtuse gale
#

incest much

old wyvern
#

some back to the future shit

obtuse gale
#

oh god

#

Marty's mother wanted to do him xD

static zealot
#

I didn't watch the movie xD

obtuse gale
#

woooooooow

#

You are one of those "I never watched that movie" guys

#

Let me guess

#

You never watched Star Wars either

static zealot
#

I did

#

multiple times

obtuse gale
#

lmao

static zealot
#

all of them

obtuse gale
#

well

#

cuz I have not

static zealot
#

xD

obtuse gale
#

lol

static zealot
#

I just watched the matrix tho. couple months ago

#

never seen it before

obtuse gale
#

1?

static zealot
#

both of them. or how many they are on netflix

#

idk

obtuse gale
#

or that reloaded shit

#

ugh

old wyvern
obtuse gale
#

The first one is the real deal

old wyvern
#

Tried watching the force awakens

#

But had no idea what was going on

static zealot
#

aparently 1 is coming this year or next year?

#

another matrix move

#

movie*

old wyvern
#

so got bored and left it at that

old wyvern
static zealot
#

I'm waiting for Avatar 2 tho

obtuse gale
#

tbh yea

old wyvern
#

This year December 23

obtuse gale
#

February 31st

old wyvern
static zealot
#

idk they keep delaying it

old wyvern
#

ah

obtuse gale
#

hah

#

classic

old wyvern
#

Dont they have till like Avatar 6 planned or something?

static zealot
#

its suppose to be as surprisingly good as the first one was at its time

static zealot
#

nah just 2 and 3 are planned

old wyvern
#

I remember seeing those in the upcoming movies list on google, like 3-4 years apart

#

And that was like 2 years ago maybe

old wyvern
static zealot
#

well at least I think

obtuse gale
#

the first one was incredible though

static zealot
#

maybe they've actually planed more

obtuse gale
#

speaking of incredible I wanna rewatch The Incredibles

static zealot
#

for its time yeah fefo. and they say this one will be just as amazing

old wyvern
#

Wasnt the first one back in 2010?

obtuse gale
#

circa

old wyvern
#

What?

obtuse gale
#

2009

old wyvern
#

ah

obtuse gale
old wyvern
#

Damn, another decade, another avatar

static zealot
#

I don't think I've watched the incedibles either

old wyvern
#

Did you guys watch wandavision?

obtuse gale
#

Non

static zealot
#

nope

#

ain't got disney+ in romania

#

will do something that's illegal and not allowed to say here soon to see it but not rn

old wyvern
#

Already done xD

#

The whole show feels like a troll after the last episode

#

They teased the xmen and then turned it into a boner joke πŸ™‚

obtuse gale
#

wat

#

lmao

old wyvern
static zealot
#

wait actually disney got the rights to xmen now right?

old wyvern
#

Yea

stuck harbor
#

people have been waiting for the xmen crossover

old wyvern
#

They showed the xmen pietro and later were like "nah, its just RaLpH BohNer"

static zealot
#

idk as bad as the story line for the xmen movies was, they were pretty good movies. Lets hope they'll not just redo them from 0

lunar cypress
old wyvern
#

No john

static zealot
#

I don't think so

old wyvern
#

It was fox's

#

They bought it just a year before the new mutants

#

And said they were doing a reboot after that

static zealot
#

wandavision has 9 episodes only?

stuck harbor
#

yeah

static zealot
#

OMG I still haven't finished The Boys

#

I watched 1 and a half seasons

#

and that was a good show. I gotta finish it first. will watch wandavision after xD

old wyvern
stuck harbor
#

lol that was the fun part 😦

static zealot
#

yeah idk the only show that I actually loved was The Witcher

old wyvern
#

xD

stuck harbor
#

when everything was mysteroius

old wyvern
#

The ep 9 end credit scene was lit tho

static zealot
#

the rest always have bad parts because they have low budgets for long shows

old wyvern
#

Pretty much set her up as the next villain id assume

static zealot
#

have you guys seen The Witcher tho?

old wyvern
#

Not yet

#

What is it about?

static zealot
#

its pretty good

#

well I assume its made after the games and maybe there are books after it? Not sure

#

the other way around I mean

#

the games are made after some books and then the shows after those

#

I haven't played the games tho

old wyvern
#

ah

#

I've played it a bit kindof, not enough to know any of the story tho

static zealot
#

I just liked the story. that's what kills me. when shows are rushed and the story is just the same every time

#

hero fights with someone close and then one of them is in danger and the hero wins and the forgives the other person the end

#

this is how most of The Flash episodes worked lmao

#

Or the end of the world shows. where they say its been 100 years and then everyone speaks a new language and 20 generations of people have lived and died xD

#

in 100 years...

old wyvern
#

Did you see s7 e2

static zealot
#

I actually have a bad memory of it but I've seen it all

old wyvern
#

Major plot hole warning

static zealot
#

the only one from DC I haven't finished was the arrow

#

last season

old wyvern
static zealot
#

wait season 7?

#

oh

#

I didn't even know

old wyvern
#

Yea

static zealot
#

oh then I've seen the first 6