#dev-general

1 messages ยท Page 408 of 1

cinder flare
#

i liked it ๐Ÿ™‚

obtuse gale
#

oh ๐Ÿ˜

sweet cipher
oblique heath
#

what does that say about you, who made the joke in the first place ๐Ÿ˜ณ

sweet cipher
#

Who knows?

wind bolt
#

Hey I'm looking for java devs to join a team, also looking for alpha testers for an upcoming api and framework plugin, lmk if you're interested

pliant oak
#

i need help in mcpe server

prisma wave
#

ok

jovial warren
#

I'm on my way to school rn rip

#

Oh btw, @hot hull guess what I added to Krypton's API yesterday

#

ServicesManager + ServiceProvider

distant sun
#

Damn

#

So for my server I have made golems die as soon they get in lava and drop the ingots 1.3 blocks bellow. Would be a bad idea to try to put the ingots directly in the hopper underneeth lava, and if none was found to just drop it there?

jovial warren
#

Depends

#

Putting it directly into the hopper means you never have to spawn items, meaning less lag

distant sun
#

Ye thats what I thought as well

#

Fucking hoppers man

cinder flare
#

Maybe even expand it to a radius of hoppers?

#

that way like one hopper can cover a 3x3x3 area

jovial warren
#

Krypton will have good APIs for these things ๐Ÿ˜Ž

#

NMN
No NMS needed

distant sun
#

I thought about that but didnt had time to play with it, will probably do it next season

cinder flare
#

season?

distant sun
#

Or, hmm

distant sun
cinder flare
#

ah nice same same

#

what are you working on?

jovial warren
#

The server package for Krypton is org.kryptonmc.krypton, so ya know, no NMS

cinder flare
#

qol plugin or somethin?

distant sun
#

qol?

cinder flare
#

quality of life

distant sun
#

Idk what that is xd

jovial warren
#

Lol

cinder flare
#

like just stuff that makes the game a little nicer

#

like instakilling golems and vacuuming them to hoppers and stuff

#

that sounds like minor helpful changes

distant sun
#

Oh, yea

#

Mostly to make the server run better tbh xd

cinder flare
#

ah yeah optimizations

distant sun
#

Entities are killing us

cinder flare
#

is the math of like calculating a radius and stuff cheaper than spawning an item?

#

I guess math can be done in like one cpu cycle but items cause a lot of problems with packets and stuff

distant sun
#

Pretty sure, yes

jovial warren
#

Adding that to the list of things I need to make sure Krypton can do well lol

cinder flare
#

ooh don't forget tnt too

jovial warren
distant sun
#

Nice yugi

jovial warren
#

That might be hard to optimise well

old wyvern
#

Now I need to setup some sort of score or something

#

Have to present in class in an hour

#

๐Ÿ’€

cinder flare
#

nah you just delete the tnt entity and particles and stuff and do the block damage yourself

#

the laggy part is the particles

jovial warren
#

I mean, idc if the client lags

#

I'm just bothered if the server lags

cinder flare
#

oh does tnt really bother the server that much?

jovial warren
#

Enough TNT can crash a server

cinder flare
#

i mean I guess

#

enough anything can crash a server

jovial warren
#

Yeah but TNT is known for being really poorly written

old wyvern
#

Force the server to only calculate a maximum of a set amount of block explosions per tick

jovial warren
#

That might work

#

Or I could calculate them asynchronously and callback later

cinder flare
#

ah yeah that'd probably be best since messing with the max block explosions could mess up like tnt cannons and stuff

#

then no krypton for faction servers :(

jovial warren
#

I doubt Krypton will run well on factions servers anyway

cinder flare
#

why not?

old wyvern
jovial warren
#

Updates Star

cinder flare
#

what updates?

jovial warren
#

Block and entity updates

#

Not sure how I'll even do block updates yet

cinder flare
#

I mean I'm sure you'll figure something out?

jovial warren
#

Maybe

cinder flare
#

I don't see why that disqualifies faction servers lol

jovial warren
#

1.8

#

That'll be a big factor

cinder flare
#

There are some modern faction servers

jovial warren
#

bUt wE wANt 1.8 mEchAnICs

#

1.8 PvP

distant sun
#

Id play a rpg like factions

#

With spells and such

obtuse gale
#

im being bullied at my soccer club, but i dont want to tell my dad, what should i do?

quiet depot
#

tell your mum

#

or eat your soccer club

obtuse gale
#

my mom doesnt give a shit

quiet depot
#

definitely try eating the club then

distant sun
#

Start with the soccer field

quiet depot
#

work your way across

#

might be worth avoiding the painted lines & goals

#

they're not organic

#

unhealthy

jovial warren
#

oof

distant sun
#

any command lib for bungee?

static zealot
prisma wave
#

onCommand (Sender, Command, [] String)

quiet depot
#

yo bm

#

quickly join room 1

prisma wave
#

Hello

#

Uh

#

I'm at school

quiet depot
#

u don't need to speak

#

just listen

#

full volume at school

static zealot
#

lmao

quiet depot
#

headphones for best experience

prisma wave
#

1 sec lemme finish lunch and I'll go into library with headphones

quiet depot
#

okie

static zealot
#

its like 10 hours long so you've got time

prisma wave
#

Are you doing procedurally generated music or something

quiet depot
#

nah

#

just fresh tunes

#

honestly about to bust a groove this shit slaps

#

it's british music too

#

u might appreicate it

prisma wave
#

:o

onyx loom
prisma wave
#

shut it

pale shell
#

@prisma wave schools are open?

onyx loom
#

theyve been open since march

prisma wave
pale shell
#

I mean you are on a island in the middle of no where so you would have your own rules so

prisma wave
#

what

#

lmao

pale shell
#

you on island middle of no where

quiet depot
#

bm did u recognise the song lol

onyx loom
#

isle of wight classes as mainland uk still

pale shell
prisma wave
#

All shit british rap sounds the same

#

Idk what the song name was

pale shell
#

they're their own island now.

quiet depot
onyx loom
#

its not like guernsey ( ๐Ÿคข ) or jersey ( ๐Ÿคฎ )

pale shell
#

what ya'll talkin about

prisma wave
#

Oh wait was it actually that lmao

quiet depot
#

yes

pale shell
#

also what's #voice-talk

prisma wave
#

oh I thought it was similar

quiet depot
#

we're talking about my superior taste in music

pale shell
#

it doesn't exist

prisma wave
#

very superior

quiet depot
#

it was bass boosted and 5000 volume

pale shell
#

voice talk doesn't exist?

prisma wave
quiet depot
#

u have to join a voice channel to see it

pale shell
#

nope

prisma wave
#

lol

pale shell
#

what was that noise

prisma wave
#

lol

quiet depot
#

yes..

#

join a channel

pale shell
#

that noise is worse than bm talking

#

oh wait he never talks

prisma wave
quiet depot
#

untouched just join an empty channel and it'll show

#

join room 2

pale shell
#

i need ears ty

quiet depot
#

bots in room 1

prisma wave
#

๐Ÿฅฒ

pale shell
#

dude i need ears

#

your music is weird af

#

oh btw bm pls help i need lawyer

quiet depot
#

i am lawyer i am good law man

pale shell
#

a karen is trying to sue me

quiet depot
#

eat her family

pale shell
#

yes, i met a karen yesterday

prisma wave
#

for what

pale shell
#

i "rode into her"

prisma wave
#

"On what charges" as they say

pale shell
#

She jumped in the way of the e-scooter ๐Ÿ˜

quiet depot
#

how is she gonna sue you

pale shell
#

idfk

quiet depot
#

did you give her your personal details or something?

pale shell
#

you think i give out my personal details?

#

you don't even know my discord name lol

quiet depot
#

ok mr mysterious

prisma wave
#

i think i know your discord name

pale shell
#

i mean i just hate sharing details ๐Ÿคทโ€โ™‚๏ธ

#

less people know the better

quiet depot
#

would it happen to be

#

"UntouchedOdin0"

pale shell
#

no

prisma wave
#

I think you might be right

pale shell
#

bm is secretly Barry#7877

prisma wave
pale shell
#

neither of them ever talk

#

btw bm pls update the plugin for me

half harness
pale shell
half harness
#

โ“

pale shell
#

??

half harness
#

that wasn't a yes or no question..

pale shell
#

oh wasn't it?

half harness
#

;-;

#

what is a discord name

pale shell
#

true?

half harness
#

how is this a yes or no question

#

what does 'yes' mean in this

pale shell
#

i didn't give a yes or no?????

half harness
#

i give up

pale shell
#

why spigot take over a week to accept plugins

half harness
#

okay

#

heres another question

#

what is your discord name

#

or what is mine

pale shell
#

String

half harness
#

what

pale shell
#

?

half harness
#

what is a String

pale shell
half harness
#

...

half harness
#

hM

onyx loom
#

damn thats crazy

prisma wave
#

I am so fucking mad

half harness
#

:c

prisma wave
#

im pretty much the first person into the library and get a nice seat + computer

#

We have a FIRE DRILL

#

And by the time I get back some smelly nerd has taken all of the seats

#

And I have an essay due tomorrow

#

Jfjriwjqbjffiwjab

onyx loom
#

๐Ÿคก

prisma wave
#

i am about to commit a war crime

onyx loom
#

why did u not leave ur bag on ur seat tho

sweet cipher
quiet depot
prisma wave
#

one person + others

onyx loom
#

nah

prisma wave
sweet cipher
#

Yeah leave your phone instead

quiet depot
distant sun
#

why doesnt bungeecord plugins have a config like on spigot lol

onyx loom
#

what would u have in ur bag that someone would want to steal anyway

quiet depot
#

laptop

#

although

onyx loom
#

mine is just full of books and thats it

#

ew lpatops

quiet depot
#

if you're using a school computer

#

u obviously don't have a laptop

sweet cipher
onyx loom
#

exactly pig

prisma wave
#

yeah I can't risk anyone seeing that

quiet depot
#

well

#

there's also the q of weed you bought from the school dealer in the morning

#

don't want the nerd getting a whiff of that

onyx loom
#

๐Ÿฅฒ

prisma wave
#

ofc

#

he has fucked me over twice now

#

A few months ago he asked a teacher to cover a lesson so our entire class had to stay in the whole day

#

Could've gone home like 3 hours earlier otherwise

onyx loom
#

oof

#

its ok atleast u can do the essay when u get home ๐Ÿ™‚

#

no matter how long it takes u ๐Ÿ™‚

quiet depot
#

what's the essay on

sweet cipher
onyx loom
#

ah yes pay someone to do the essay

half harness
#

lol

#

ill do it, 1 minute time guaranteed โœ… /s

sweet cipher
#

Or #827055636109328384 โ€œI will give you my essay to write for meโ€ just like that guy offering to let you join his server lol.

quiet depot
#

we've had writers offer their services in here before

prisma wave
quiet depot
#

english or history?

sweet cipher
#

Math

prisma wave
#

technically neither, a bit of both

quiet depot
#

imagine doing a non stem subject (excl compulsory english)

prisma wave
#

We've got a thing called the EPQ where you can basically research anything you want and write an essay on it, and it's an extra qualification

#

Makes it easier to get into uni

sweet cipher
#

Write an essay on the dangers of mutability

prisma wave
#

that is a good idea

quiet depot
#

write an essay on the dangers of immutability

#

and propose a middle ground

prisma wave
#

there are no dangers ๐Ÿ™‚

quiet depot
#

pff

sweet cipher
#

Lol

quiet depot
#

immutable designs will use more memory

#

little bit more processing power as ur always making new objects (maybe?, idk much about the internals)

sweet cipher
#

Just use an SQL GC, problem solved

prisma wave
#

a bit

#

modern compilers and CPUs come pretty close in terms of performance tho

quiet depot
#

ngl that sentence is not making any sense to me

prisma wave
#

i think

sweet cipher
quiet depot
#

how can you talk about immutability/mutability without objects

#

even if they're not labelled as an object, with immutable stuff, you're still creating and disposing of the previous

prisma wave
#

wot

#

oh right

sweet cipher
#

Just donโ€™t write code

#

No memory taken up

prisma wave
#

i mean, is a byte array an "object"?

quiet depot
#

ok

#

bm there's so many definitions of object

sweet cipher
#

I object to that statement

quiet depot
#

some people refer to instances as objects

#

some people only refer to pojos as objects

#

some people call every class an object

prisma wave
#

yea i don't have a definitive answer

sweet cipher
#

What are pojos?

quiet depot
#

plain old java objects

prisma wave
#

but like if you were coding in C or something would you still use the word "object"

sweet cipher
#

Oh

quiet depot
#

pojos store stuff

prisma wave
#

beans

quiet depot
#

but have absolutely no business logic

sweet cipher
#

Wdym by business logic?

prisma wave
#

actual functionality

sweet cipher
#

Oh

prisma wave
#

They're just data

sweet cipher
#

Like the records thing in Java 16?

prisma wave
#

If you've used kotlin a data class

#

Yes

quiet depot
#

fefo builders rely on storing the data in fields which are then disposed of once the object is built

hot hull
#

And that's considering the fact I go to work everyday, and play atleast 3 hours of valorant

quiet depot
#

u know what would be cool

#

if instead of java having fields and shit

#

and variables

onyx loom
#

u disgust me frosty

half harness
#

i dont have wakatime but mine is probably like 25 hours

quiet depot
#

we just had a big unorganised pool of data

sweet cipher
quiet depot
#

and to get your values, you just had to loop thru the pool and look for what seems to be the right piece of data

sweet cipher
#

Lol

hot hull
#

Yikes Piggy

prisma wave
#

I got my seat back ๐ŸŽ‰

sweet cipher
#

Instead of displaying an error message, accidentally send a list of all passwords

quiet depot
#

@cinder flare hey remember the molecule thing we were talking about the other day

#

that applies to what I just said

#

one piece of data will always be where it was originally

EDIT: finally found out what it was called, brouwer's theorem

half harness
prisma wave
#

idk they just left

half harness
#

oop

onyx loom
#

he committed a war crime

prisma wave
#

metaphorically

half harness
onyx loom
#

why not literally ๐Ÿ˜ข

half harness
#

seems too good to be true

hot hull
sweet cipher
#

New idea for your bedwars plugin?

prisma wave
#

malloc(Integer.MAX_VALUE)

half harness
#

hey im making bedwars too ๐Ÿฅบ

quiet depot
#

do you guys know the name of the phenomenom where when you mix something, at least one particle will always end up where it started

#

i can't remember what it's called

#

I might've got the description wrong

half harness
#

frosty is ur bw plugin os

sweet cipher
#

A lazy particle

#

Doesnโ€™t even want to move

hot hull
#

Good suggestion Fish

pallid gale
quiet depot
#

not sure about that one chief

hot hull
half harness
#

i can't find it

hot hull
#

Cause it's not on my GitHub

half harness
#

o

#

y

hot hull
#

op65n org

sweet cipher
#

Dkim why are you making a bedwars plugin?

hot hull
#

He's making it for 1.8, so that doesn't even matter Fish

half harness
sweet cipher
#

Obviously Frostyโ€™s will be better if they sell peoples data

sweet cipher
sweet cipher
hot hull
#

rm rf the users pc somehow

quiet depot
#

ah

half harness
quiet depot
#

i found it

#

it's called brouwer's theorem

sweet cipher
#

Every time someone joins hypixel send them to your server

half harness
#

wat

#

frosty

#

link the bw source

#

i can't find

hot hull
#

Smh

sweet cipher
#

If itโ€™s just to play with your friends why not use one already made?

onyx loom
hot hull
half harness
hot hull
#

Watch his reaction when he sees I've done no work on it

half harness
#

A MONTH AGO

sweet cipher
#

Just download hypixelโ€™s source code

onyx loom
#

29 days ago ๐Ÿคก

half harness
#

mine > frosty

hot hull
#

Sockets be giving me a headache

sweet cipher
#

Lol

half harness
onyx loom
#

nice commits ๐Ÿ‘

hot hull
#

Does yours work through multiple machines?

quiet depot
#

ez explanation

half harness
#

at least my commit names are better

hot hull
#

That's the old one Kali

half harness
sweet cipher
#

My bedwars plugin is better

half harness
#

o

onyx loom
hot hull
#

When you use kotlin and somehow manage to do stuff wrong

#

Monkas

onyx loom
#

the way u worded at first sounded like a reaction or smth

sweet cipher
half harness
#

wdym

quiet depot
#

o

half harness
#

my bw plugin is 1.8 targeted because 1.16 has so many weird stuff

#

like blocks disappearing if i place too much on a server with barely any plugins

sweet cipher
#

What

half harness
#

or its kb

#

or blockhitting

half harness
hot hull
#

You're an idot is my ez explanation

half harness
#

ok

#

thats why i use 1.8 server

hot hull
#

idot meaning more than stupid, less than an idiot

half harness
#

ok

#

wat

hot hull
#

Heh

hot hull
quiet depot
#

?

hot hull
#

java 11

#

fucking disgusting

prisma wave
#

use 16 then

hot hull
#

Can't

prisma wave
#

You can

#

As long as you have another jdk version installed

hot hull
#

I mean yea I just need to compile to 11

quiet depot
#

i'm restricted to 11 ๐Ÿ˜ฆ

#

because dcevm only supports 11 & 8 atm

hot hull
#

dcevm?

quiet depot
#

and fuck me there's no way I can live without dcevm

#

hotswap stuff frosty

hot hull
#

ew

forest pecan
#

Is Barry's Beats a ripoff of Rythm

#

kek

hot hull
#

Yes

quiet depot
#

cube wanted a higher quality stream

#

so decided to make his own bot

forest pecan
#

lmao

old wyvern
#

๐Ÿ˜ฎ

#

OS this time?

forest pecan
#

stfu purple dude

#

/s

quiet depot
#

no wtf

old wyvern
#

๐Ÿฅฒ

hot hull
#

Ah yes because he listens to music once a year in VC

#

big brain

old wyvern
quiet depot
#

@pallid gale is p word os?

#

idk

old wyvern
#

oh xD

hot hull
#

p3nis?

forest pecan
#

if you make my role red I can do your chores

#

(:

quiet depot
#

can u finish updating deluxechat for me

hot hull
#

I can

forest pecan
#

lmao

static zealot
#

โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›
โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›
โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›
โฌœ๐ŸŒƒโฌœโฌ›โฌ›โฌœ๐ŸŒƒโฌœ
โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›
โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›
โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›โฌ›

forest pecan
#

sus

static zealot
#

lmaooo

old wyvern
#

oh wait

static zealot
#

this really is cursed

old wyvern
#

Is that supposed to be an enderman head?

static zealot
#

yeah

forest pecan
#

lmao

pallid gale
old wyvern
#

xD

onyx loom
#

wow

quiet depot
#

y not cube

forest pecan
#

what is p word

#

lol

quiet depot
#

secret project that was started like a year ago

forest pecan
#

Penis?

hot hull
#

p3nis

old wyvern
#

๐Ÿ˜ฎ

#

Papi3?

#

xD

pallid gale
#

beats might be if im nice enough

quiet depot
#

no lol

#

not papi 3

#

papi 3 is very not secret

#

I give access to source to most people who ask

pallid gale
#

theres basically nothing in the p word

old wyvern
#

Idk was jsut going off of the starting with 'p'

#

lol

forest pecan
#

PP

static zealot
onyx loom
#

pig can i have access ๐ŸŒš

old wyvern
forest pecan
#

blitz do you remember sex bot

static zealot
#

yo funnycube =drama when?

onyx loom
#

=joke

compact perchBOT
#
Hey son,

Why canโ€™t you hear a pterodactyl go to the bathroom? The p is silent.

static zealot
old wyvern
#

thats already a thing right?

forest pecan
#

sad that he passed away

old wyvern
#

=drama

#

oh

forest pecan
#

๐Ÿฅฒ

hot hull
#

I don't get that one Kali

old wyvern
#

=remindme test

compact perchBOT
#
Reminders | Invalid Args

Missing Quotes
Usage: =remindme <time> "<message>"
eg. =remindme in 5 hours "to feed the Llama"

#
Reminders | Invalid Args

Missing Quotes
Usage: =remindme <time> "<message>"
eg. =remindme in 5 hours "to feed the Llama"

old wyvern
#

=remindme 5h test

static zealot
old wyvern
#

O.o

onyx loom
old wyvern
#

Ayy

onyx loom
#

peeing

forest pecan
#

idot

onyx loom
#

pissing

old wyvern
#

I got remindme perms

#

xD

forest pecan
#

urinating

onyx loom
#

its silent haha funny xd

static zealot
#

=xp lb

compact perchBOT
hot hull
#

The fuck

forest pecan
#

lmao

old wyvern
#

=remindme in 1 seconds to "remind myself to remind myself"

compact perchBOT
#
New Reminder Set!
In 0 seconds:

remind myself to remind myself

forest pecan
#

hahaha when you forget to join a writing conference and reschedule but then your teacher forgets it

pallid gale
forest pecan
#

๐Ÿฅฒ

static zealot
pallid gale
#

or lemmo

#

cause they have access to the repo

forest pecan
old wyvern
onyx loom
#

๐Ÿ‘๏ธ

quiet depot
#

blitz u already had access I think

static zealot
#

oh really?

#

link?

quiet depot
static zealot
#

oh I did

#

oh lmao

onyx loom
#

pog ty pig

hot hull
#

I'm waiting for someone to finish the expansions :kek:

onyx loom
#

u

hot hull
#

hah you thought

quiet depot
#

frosty im working on it rn

pale shell
#

=remindme

compact perchBOT
#
Reminders | Invalid Tier

You need to be at least Tier V in order to set reminders!

pale shell
#

WHAT

hot hull
#

oh wow, stealing my work Piggy

old wyvern
#

Kind of a start ig ๐Ÿ™‚

hot hull
#

That's gonna be a lawsuit

old wyvern
#

Altho I assume that class wont execute anymore

pale shell
#

I'm miles off the next tier smh

hot hull
#

What are we looking at Yugi

old wyvern
#

runtime class relocation

quiet depot
#

wym stealing ur work

forest pecan
#

frosty make a dmca!

#

/s

pale shell
#

piggy stealing work again? (whatever the /s is)

hot hull
old wyvern
#

Its mostly similar to luck's jar relocator, just needed some minor changes

quiet depot
#

oh lol

forest pecan
#

lmao luck

static zealot
#

yo in kotlin is there really no way to declare a short other than doing Int.toShort()? Bcz I've tried 0S, 0s and none work

onyx loom
#

doesnt look it for short

#

just float and long i think

wind bolt
#

F

#

L

static zealot
#

ty. Just wanted to make sure bcz I couldn't find anything on google

hot hull
#

@quiet depot So what's up with that dchat offer huh

quiet depot
#

wasn't a real offer

#

sorry

hot hull
#

wow, scam

forest pecan
#

admin scam!

#

ban!

hot hull
#

triumph chat better anyways <o/

forest pecan
#

dictatorship!

static zealot
#

yeah I know that works too but was looking for 0s

#

but its fine

#

I've used : Short

jovial warren
#

yeah Kotlin sucks when it comes to working with anything other than integers and longs

#

bytes, characters and shorts are just neglected

hot hull
#

why you even need a short tho

jovial warren
#

shorts are good for saving memory

#

you take up 2 memory addresses instead of 4

#

though that's not such an issue these days anyway

onyx loom
#

are we poor or smth?

#

exactly

#

just get 1tb of ram 4head

old wyvern
#

Well

#

Not always

#

Stack aligned jvm

#

You only benefit with them in the heap

jovial warren
#

also, imagine if you want to store several thousand 16-bit values

old wyvern
#

So fields or arrays

ocean quartz
jovial warren
#

you would use twice the amount of memory with integers than you would with shorts

old wyvern
#

Local variable shorts dont save memory

jovial warren
#

๐Ÿฅฒ

ocean quartz
#

Are you sure about that? Isn't that a JVM thing?

jovial warren
#

the only promotion that Kotlin does for you is integer <-> long iirc

jovial warren
old wyvern
#

No bard

#

I think he just means the issue with the stack

#

Shorts take up the same size as ints on the stack

#

32 bits

jovial warren
#

like in the language's design, the compiler won't just let you shift an integer by a byte and assume the runtime will promote it Matt

obtuse gale
#

having to (short) 0 ๐Ÿ™‚

#

every.single.time.you.need.a.short.literal

jovial warren
#

can't you just do short number = 0;?

obtuse gale
#

nope

jovial warren
#

no way Java doesn't allow that

obtuse gale
#

because byte alignment and all that shit

jovial warren
#

tf does byte alignment have to do with this? shorts are 16 bit

#

that's two memory addresses exactly for most computers that allocate 8 bits per memory address

obtuse gale
#

iirc it boils down to the jvm using 32 bits or whatever so you have to explicitly narrow cast

obtuse gale
#

so instead of
func(123) you have to either
func((short) 123) or

func(value);```
jovial warren
#

yeah

obtuse gale
#

which is stupid af still

jovial warren
#

I mean, still better than Kotlin where there's 0 promotion

#

and where Int is the only type that bit shift infix functions exist for

#

so to do bit shifts you are forced to convert everything to integers

obtuse gale
#

well I mean, in Java if I were to do var number = 0 it would assume int tho so...

jovial warren
#

actually, Int and Long have the bitwise operators

obtuse gale
#

in both cases to declare a variable you have to specify the type

jovial warren
#

so you end up with ```kotlin
val long = 1L
val byte: Byte = 0
val short: Short = 3
val int = 7

((((long.toInt() shr 4) or byte.toInt()) and short.toInt()) xor int)

#

man, Kotlin needs bitwise operators so badly

#

since infix precedence sucks ass for bitwise

#

e.g. 3 shr 4 or 5 shr 8 or 6 != (3 shr 4) or (5 shr 8) or 6

#

or maybe in that case it seems to be

#

found an inconsistency

#

and in Java, that gives me 107, which is the correct one, since shifts take precedence over ors

#

and if I set variables and print the value at every step, we see that in the top example, the first one does 88 >> 99, then takes the value of that and does (88 >> 99) | 66, etc. etc. until we're left with (((88 >> 99) | 66) >> 33) | 99

obtuse gale
#

what do people use to code lua

prisma wave
#

afaik you can't even have anything less than 64 bits on a 64 bit cpu

#

Cuz word length and stuff

jovial warren
#

memory addresses are always at least 8 bits in size, no matter the CPU

#

they could be larger ofc

prisma wave
#

Well... Yeah

jovial warren
#

and they are always some number of bytes

prisma wave
#

but on a CPU made in the past century they're gonna be at least 32 or 64

#

On the topic, F# has about 30 different number literal suffixes and they're great

#
let unsignedByte = 32uy
``` :nerd: :open_mouth: :tired_face: :drooling_face: :sunglasses:
onyx loom
#

lmao

forest pecan
#

I kinda feel bad for lucyy

obtuse gale
#

huh?

quiet depot
#

who that

#

and why u feel bad

forest pecan
#

She's a person in the spigot discord

#

you prolly wouldnt know

quiet depot
#

I know of her

obtuse gale
#

what happened to her

quiet depot
#

she made the pronoun expansion

forest pecan
#

She left and moved away from spigot

#

left the discord too at spigot

prisma wave
#

Was hoping that blog link would be a rickroll

quiet depot
#

#694661573125472256 message just temporarily pasting this here so I can click it because its tryna open discord in browser

#

lol

#

that guy is a troll

#

old news

obtuse gale
#

Yeah it was cause of the toxicity and also other reasons
classic

forest pecan
#

Nah a lot of polish ppl are like that

#

not all

obtuse gale
#

literally the single reason I don't check that server anymore

prisma wave
#

the spigot discord is a reliable and friendly source of information

forest pecan
#

lol

quiet depot
#

so

#

what's the consensus on polymart

#

good or bad

prisma wave
#

neutral

quiet depot
ocean quartz
#

It's neutral yeah
They have a very anti-opensource goal
With built in features for strict licensing and all sorts of stuff

obtuse gale
forest pecan
#

i wish people who open markets can actually be god damn "normal" man

onyx loom
#

hangar when

obtuse gale
#

SOONโ„ข๏ธ

onyx loom
#

๐Ÿฅฒ

quiet depot
#

me and glare were having a little talk about hangar in #papi

onyx loom
#

wheres my papi role

#

i promise ive contributed

onyx loom
#

and will

quiet depot
#

i'm personally still very conflicted about their decision to not support premiums

onyx loom
#

i reckon it should pig

quiet depot
#

I'd like to see hangar succeed

onyx loom
#

but freemium only ofc fingerguns

quiet depot
#

but I just can't imagine that happening without premiums

ocean quartz
#

Yeah same

quiet depot
#

I think they're making a huge mistake

obtuse gale
#

free download paid support cursed_fingerguns

quiet depot
#

yeah that's what glare said

obtuse gale
#

I mean don't get me wrong, I'm all in for that

quiet depot
#

but that won't work

ocean quartz
#

How would that work though?

#

Having the discord link behind a paywall? lol

obtuse gale
#

But if you want to have premium software.. yeah

quiet depot
#

yes matt, that's precisely how it'd work

prisma wave
#

the only incentive to move would be premiums so

old wyvern
prisma wave
#

Not having them at all seems dumb

quiet depot
#

yeah there's literally no reason to move to hangar at this point (or in any hypothetical point in the future where it's completed to the current specification)

obtuse gale
#

yeah because it ain't done yet

onyx loom
#

fuck spigot

quiet depot
#

wew donald trump yesterday and logan paul today

#

this server is popping off

obtuse gale
#

fuck chestcommands

prisma wave
#

fuck this im moving to the clojure community

obtuse gale
#

oh god no

onyx loom
#

lets go clojure!

jovial warren
#

Hangar will allow freemium apparently

ocean quartz
jovial warren
#

just they want a requirement for open-source

quiet depot
jovial warren
#

yes

#

MiniDigger said

#

I can pull it up

quiet depot
#

when

jovial warren
#

recently

obtuse gale
#

pull it out ๐Ÿ˜

jovial warren
#

like end of last month

quiet depot
#

well I've got more recent information from glare

#

from today

#

he said hangar will have no paypalls

ocean quartz
#

Bardy, what he said was the same as Glare said I think, paid support only

hot hull
#

That wouldn't even work

jovial warren
#

yeah no paywalls, they want to emphasise payment for support, not for products

quiet depot
#

I don't believe he said hangar would actually have the support paywall on the site

#

he kinda phrased it like you'd manage it on ur own

ocean quartz
#

no paywall tho

quiet depot
#

because you've got servers like this one which give support for everything for free

#

apart from our own premiums of course

ocean quartz
#

Plus I can imagine the amount of reviews "0 stars, i was refused support"
On spigot you know all reviewers actually paid for it, while the ones that downloaded it for free can't review

quiet depot
#

does hangar even have reviews?

ocean quartz
#

Actually not sure

obtuse gale
#

haahah wait what :kekw:

ocean quartz
#

Looking at Ore, doesn't seems like it, only stars

quiet depot
#

yeah

#

doesn't seem those stars are linked to github

frail glade
#

There might be reviews. Kinda like a discussion board. I don't recall if there's been official word on that yet.

quiet depot
#

well I like this ore star thing

#

you guys should just stick to that

#

although make it hook into github

ocean quartz
#

Yeah agree

frail glade
#

I'm pretty sure they plan to do stars. I can check the API

#
"stats": {
        "views": 13,
        "downloads": 0,
        "recentViews": 13,
        "recentDownloads": 0,
        "stars": 0,
        "watchers": 0
      },
#

Yeah it has stars.

quiet depot
#

what format is that?

#

sorry

#

what uses that format

#

or is that just a mockup

#

what the fuck am I even saying

#

I thought it was one of those api template generator thingos at first but now I can see it's literally just a json result

hot hull
#

Can someone send me a utility class for transforming seconds into a nicer string, (1min 30sec, etc)

ocean quartz
#

Oh god, i'd send you the one in CitizensCMD but that thing is a mess

quiet depot
#

this is the one I have in papi 3

#

idek if I made that or not

hot hull
#

Yes that, that's made by Gaby I believe

#

bruh I've been looking in like 30 repos for that smh

#

Didn't remember it was from papi

quiet depot
#

you wouldn't have found it in papi 3

#

it's under my testing environment

#

that's not pushed

hot hull
#

I would have, cause I used it in the expansion

quiet depot
#

oh is it actually live

#

thought it was only in my test

#

oh for fucks sake

#

my expansion submodules were on master instead of 3.0.0

#

was wondering why there was no code

hot hull
#

lmao

jovial warren
hot hull
#

Iron or Coal ore?

jovial warren
#

well, it's a somewhat fork of Ore

jovial warren
#

lol

obtuse gale
jovial warren
#

lol fair enough

#

debating whether I should add the MIT header to every file of Krypton

#

like a lot of other projects do

#

or maybe just make a header note

obtuse gale
#

yes

jovial warren
#

maybe just ```kotlin
/**

  • Copyright (c) 2021 KryptonMC and Krypton contributors.
  • Use of this software is governed by the MIT license. You can find out more information in the LICENSE file in the project root.
    */
#

like what Kotlin has

#

or should I include the full header

old wyvern
#

IJ can generate it afaik

obtuse gale
#

there's this gradle plugin I use

#

uh

obtuse gale
old wyvern
#

I think so

#

Havent used it, but I remember seeing a toolbar a few times

quiet depot
#

yeah ij has a feature for this, but the sponge gradle licenser plugin should be preferred

old wyvern
#

Ah

obtuse gale
#

that's neat

jovial warren
#

Indra is developed and used by Kyori

old wyvern
#

Indra

#

Lol

#

Who named that

quiet depot
#

what is indra

#

link

old wyvern
#

God

jovial warren
old wyvern
#

God of heaven or something

jovial warren
quiet depot
#

indra uses the sponge licenser behind the scenes

jovial warren
#

ah right

#

sneaky

quiet depot
#

well looks like it's not owned by sponge (was it ever or am I pulling shit out of my ass)

#

(to continue on with the parentheses, I know it was originally made by minecrell, then he handed it onto someone)

obtuse gale
#

minecrell?

quiet depot
#

(I thought he gave it to sponge)

obtuse gale
#

yeah

old wyvern
#

This?

quiet depot
#

no

jovial warren
#

I might just manually apply it tbh lol

obtuse gale
old wyvern
#

Ah

jovial warren
#

unless these plugins can do it for me just as well

quiet depot
#

papi 3 uses the minecrell one (the one I linked) so if you want a quick easy example, just look at papi 3

jovial warren
#

oh btw, gonna start working on documentation for Krypton server

obtuse gale
old wyvern
#

๐Ÿ˜‚

jovial warren
#

maybe, idk

#

it's if I remember

obtuse gale
#

you'll probably even forget about it

jovial warren
#

oh I forget about a lot of things

half harness
#

hi

obtuse gale
#

"but licensing ain't one of them"

old wyvern
#

Does each class actually require the license?

jovial warren
#

I forgot to build my services manager addition last night to test it so it failed because I didn't implement it in KryptonServer

old wyvern
#

Does the repo license not hold for every file in the repo?

obtuse gale
jovial warren
#

you should have it for every file

old wyvern
#

Having a general LICENSE file

jovial warren
#

that kinda holds, but what if you're depending on it?

#

then you have to go digging through the GitHub to find out what the license is

old wyvern
#

Depending on what?

#

Its just in the root of the repo

jovial warren
#

if you depend on a library, you don't get the license bundled with it

old wyvern
#

Whats there to search for

jovial warren
#

no but you may need to search for the repo

#

and it may not always be the first Google result

#

or use GitHub

obtuse gale
jovial warren
#

it may use one of those spesh 90's things

old wyvern
#

Wouldnt you already have the repo before you added the dependencies?

obtuse gale
#

I know no project that does that bardy

old wyvern
#

Most probably thats the case bardy

jovial warren
old wyvern
#

You dont bring out a artifactid and groupid from thin air

jovial warren
#

I mean, all I kinda need is a really simple header that says who the copyright holder is and where to find licensing information

#

that's it

#

that's why I think JetBrains' header for Kotlin is sufficient

#

namely, ```
/*

  • Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
  • Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
    */
#

or in my case, ```
/*

  • Copyright (c) 2021 KryptonMC and Krypton contributors.
  • Use of this source code is governed by the MIT license. More information can be found in the LICENSE file in the root of this project.
    */
#

that seems sufficient

obtuse gale
# jovial warren maybe just project files? or not at all?

I think it depends from license to license? ASL 2.0 states

Each source file should include the following license header

but MIT says

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

static zealot
#

yo is there anyone that can open MC 1.15.2 for a sec and help me test something?

onyx loom
#

1.15.2 :what:

jovial warren
fleet bayBOT
#

:x2: You have to be in a voice channel to use this command.

obtuse gale
#

what te fuck

#

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

static zealot
obtuse gale
#

I typed /sh to shrug lol

static zealot
#

also @onyx loom I just noticed that I never pushed the build.gradle for CombatStats lmao.

onyx loom
#

๐ŸŒš

static zealot
#

and also you don't need to shade adventure

onyx loom
#

its fine

#

shading it for < 1.16.5 support

static zealot
#

it aautomatically shades itself

#

you don't need to use shadow jar

jovial warren
# static zealot yo is there anyone that can open MC 1.15.2 for a sec and help me test something?
#!/bin/bash

[[ -z "$STY" ]] && { echo "You are not in a screen"; exit 1; }

oldsum=$(md5sum paperclip.jar | awk '{print $1}')
newsum=$(curl -s 'https://papermc.io/ci/job/Paper/lastSuccessfulBuild/artifact/paperclip.jar/*fingerprint*/' | ~/go/bin/pup '.md5sum json{}' | jq '.[0].text' -r | awk '{print $2}')

if [[ "$oldsum" != "$newsum" ]]; then
  wget https://papermc.io/ci/job/Paper/lastSuccessfulBuild/artifact/paperclip.jar -O paperclip.jar
fi

{ while pgrep java | xargs -l -i readlink -f /proc/{}/cwd | grep -m 1 hub; do sleep 1; done; screen -S hubmc -X stuff "java $@ -Xmx1G -jar paperclip.jar\n"; } &
```ez
onyx loom
#

what

static zealot
#

like matt's config does

jovial warren
#

actually that won't work any more unfortunately

static zealot
#

idk what that is

prisma wave
#

what

onyx loom
#

what u need 1.15 for

#

im on

jovial warren
#

that's a script that automatically downloads and runs Paper when it's ran

prisma wave
#

So what's this Emacs lark and why should I use it

half harness
#

BM

jovial warren
static zealot
old wyvern
#

Emacs

#

Ah yes

#

The

prisma wave
jovial warren
#

seems like it's very useful for LISP dialects

old wyvern
#

.el

prisma wave
#

Emacs Lisp โ˜น๏ธ

quiet depot
#

you shouldn't use it

prisma wave
old wyvern
half harness
quiet depot
#

our emacs enthusiast iwanio yesterday said he was seriously considering switching to sublime after trying it out

prisma wave
old wyvern
#

The glory of elara, stolen

prisma wave
quiet depot
#

so yeah

#

emacs

#

no go

half harness
#

like print "hi" 10 times

quiet depot
#

just use sublime

jovial warren
prisma wave
#

ah

old wyvern
#

What exactly is emacs?

half harness
old wyvern
#

A text editor?

#

A language?

quiet depot
#

like vim or nano

prisma wave
#

replicateM from Control.Monad is the easiest way

old wyvern
#

Oh

quiet depot
#

it's a cli text editor

prisma wave
#

But if you're talking about my challenge then the idea was to do it yourself

old wyvern
#

I see

prisma wave
#

Recursion

#

Keep a count

#

Recurse with +1

half harness
#

but there are no variables

prisma wave
#

I'm eating rn so can't make pseudocode

quiet depot
#

wait

half harness
#

oh

quiet depot
#

I thought it was a cli editor

jovial warren
#

wait what?

prisma wave
#

Yeah so you use recursion instead

old wyvern
#

You dont loop dkim

jovial warren
#

Haskell has no variables?

old wyvern
#

You recurse

quiet depot
#

but I'm looking at pictures on google images now and i'm not sure it is a cli editor

jovial warren
#

ewwwwwwwwwwwwwwwwwwwwww

old wyvern
#

You cant rebind a "variable"

old wyvern
#

that would break referential transparency

quiet depot
#

but then you've got pics like that

#

so i'm really confused

#

I think it is a cli editor

jovial warren
#

vim all the way for text editing

quiet depot
#

idk what those pics are

jovial warren
#

anyone who writes Java in vim though

quiet depot
#

perhaps graphical wrappers around emacs

old wyvern
#

Then again, seeing that <- is a shorthand in do blocks in haskell, I assume let bindings are as well

#

Compiler probably inlines them

old wyvern
#

Altho yes, you should just use replicateM

half harness
#

uh

#

haskell confusing

obtuse gale
#

@jovial warren GNU GPL 3.0

... attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
old wyvern
#

What part of that confuses you dkim?

obtuse gale
#

2 out of 3 explicitly state "source file"

old wyvern
#

Should I explain the snippet?

half harness
half harness
#

im still haskell noob

#

you have to remember that

prisma wave
prisma wave
half harness
#

haskell is so confusing

#

why am i doing this to myself ๐Ÿ˜ซ

old wyvern
#

Ok first of all, we have 2 guards, 1 for when a is 0 or less, the other handles the non 0 case

#

In the non zero case

#

We evaluate the current head as the result of b

#

And then append that to another list, this list being another recursive calk to loop with a reduced by 1

prisma wave
quiet depot
#

okie nerds

#

how do you guys rekon I should handle this part of the papi 3 api

#

when replacing placeholders via PlaceholderAPI#replacePlaceholders, we currently return a string, however a string isn't all that useful as lots of other things can happen. Errors can happen for example, and I need a way to signal to the api user that this has happened. There's really two approaches I can see here. We can either throw unchecked exceptions (like the one from integer#parseint), or return a result object with the result code & data string (either an error message or the replaced string)

Such an error could be when there isn't a direct match for a placeholder expansion, but a close match. For example, they may have inputted %playe_name%, I need a way to signal that they probably meant "player"

old wyvern
#

This keeps on going till the first case hits

#

Where it returns an empty list to stop the recursion

quiet depot
#

editing the msg with all the info