#dev-general

1 messages · Page 500 of 1

gusty glen
#

I need to know to be able to translate it correctly

jovial warren
#

yes, that looks about right

#

they are plural

gusty glen
#

ok

obtuse gale
#

english smh

jovial warren
#

lol

jovial warren
#

what the fuck

#

link

obtuse gale
#

hahahh

obtuse gale
#

oops didn't mean to ping

jovial warren
#

lol

ocean quartz
jovial warren
#

nah m8

ocean quartz
gusty glen
#

oxford comma is good

obtuse gale
#

D:<

#

someone ban this dude

gusty glen
#

it helps to visualize the groups within a sentence

ocean quartz
#

"Item, item2, and item 3" , and is the oxford comma

gusty glen
#

I know what oxford comma is

gusty glen
ocean quartz
ocean quartz
gusty glen
#

I removed it, but not because Bardy isn't using it, but because of

obtuse gale
#

Ah yes classic sentence: "I love my parents, Lady Gaga and Humpty Dumpty"

#

I say that to my dad every weekend

gusty glen
#

aparentemente em pt-br a gente não deve utilizar mesmo a vírgula

jovial warren
#

I need to find a way to iterate over every SlimJar dependency and add it as a testImplementation 🥲

ocean quartz
#

Eu prefiro com a virgula

jovial warren
#

anyone know how to iterate over every dependency declaration with Gradle?

gusty glen
boreal needle
#

@jovial warren how do i change the language?

jovial warren
#

-l en_UW

gusty glen
#

I am not seeing , between e and the last item from the list (I couldn't find anyone using it in examples I've searched), I'm afraid we cannot use it

jovial warren
#

or --locale, take your pick

#

I made it a CLI option for now to avoid having to load the config as early as we'd need it

obtuse gale
#

There's a jvm flag i believe

boreal needle
#

can i turn the debug logs off?

obtuse gale
#

the application user can override the host's default locale by providing this information on the command line by setting the user.language, user.country, and user.variant system properties

#

So -Duser.language=en -Duser.country=UW lmao

boreal needle
#

bardyyyyyyyyy

#

how do i disable debug logginggggggg

#

its getting in the way of my uwu

jovial warren
#

lol

#

you'd need to change the Log4J config for that

boreal needle
#

how do i do that

jovial warren
#

-Dlog4j.configurationFile=/path/to/log4j2.xml

#

lemme give you a modified INFO config

ocean quartz
#

@gusty glen Seems more up to debate than an actual rule itself

gusty glen
# ocean quartz <@!274229586961629185> Seems more up to debate than an actual rule itself

Well, yes, but in that case the items from the list aren't Figura de Linguagem (polissíndetos), doesn't hold Relações adversativas nor are Sujeitos distintos, so I wouldn't use it since it's not a rule, furthermore I don't remember seeing it being used in any text I've read in pt-br. I am by no means a expert on the matter, so I have to copy what others do and believe in what was written by those with more knowledge in the matter. I won't use , there since I don't remember seeing comma used in this type of list

#

I miss the comma there too

ocean quartz
#

That's fair

gusty glen
#

should I? thonking

jovial warren
#
testImplementation(project(":krypton-api"))
testImplementation(netty("all"))
testImplementation("com.google.code.gson:gson:${Versions.GSON}")
testImplementation(configurate("hocon"))
testImplementation(configurate("extra-kotlin"))
testImplementation(adventure("serializer-configurate4"))
testImplementation(adventure("text-serializer-legacy"))
testImplementation(adventure("text-serializer-gson"))
``` @old wyvern 😠
#

please make SJ register its dependencies as test implementations as well

#

by default

old wyvern
#

Will do 👍

#

Now where the hell do i turn smooth scroll on

#

This scroll feels so weird

jovial warren
old wyvern
#

Ill look through tonight bard

#

Trying to fix this stupid scroll

#

Its so annoying

jovial warren
#

lol alright

old wyvern
#

Is there not supposed to be something to toggle this?

gusty glen
#

@jovial warren is "plugin" plural?

jovial warren
#

yes

ocean quartz
jovial warren
#

you could rephrase that as "done loading plugins", just to maybe make it easier to translate

gusty glen
# ocean quartz

he couldn't use "plugins" there I think, so the sentence becomes equal for either one or multiple plugins

#

"BungeeCord" here would be a "mode"? A feature? Support to bungeecord?

gusty glen
#

yo, got Kyptron from 6% to 57% translated, the rest is mostly programming terms "thread/dump/etc" or things that need more context to be translated

obtuse gale
ocean quartz
#

Lmao, how about you give your server more memory

#

Probably aternos

obtuse gale
#

lmao that last comment

gusty glen
#

lul

winter iron
#

how can i make it so when a inventory slot is clicked, i put an item on the players cursor. I see InventoryClickEvent#setCursor but its deprecated

#

is there any other way or do i just gotta use this

old wyvern
#

d; spigot InventoryView#setCursor

ruby craterBOT
#
public final void setCursor(@Nullable ItemStack item)```
Description:

Sets the item on the cursor of one of the viewing players.

Parameters:

item - The item to put on the cursor, or null to remove the item on their cursor.

old wyvern
#

@winter iron ^

winter iron
#

i c

#

doesnt seem to wanna work, btw im doing it in creative

#

so its alrdy hella bad

#

nvm ill have to just leave it

#

shitty creative mode

#

😦

forest pecan
#

😌

old wyvern
#

"Juicy Commit"

forest pecan
#

Yes lol

old wyvern
#

What does it contain?

forest pecan
#

Conclure helped me with this, but I extracted a ton of interfaces from the actual concrete implementations

#

he helped me setup the modules and stuff

old wyvern
#

=paste

compact perchBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

old wyvern
#

Empty spaces would be Z due to the last function btw, just looked hard to read with that also added to the output

pale shell
forest pecan
#

Well, yes, but who does that 🌚

pale shell
#

@prisma wave look at these commit names >:(

#

Anyone wanna be a test dummy?

old wyvern
#

of?

pale shell
#

Just break pmines get the log and put it in the support channel

old wyvern
#

break pmines?

pale shell
#

I wanna check my system is working

pale shell
old wyvern
#

Thats a very weird "test" role

ocean quartz
pale shell
#

I have a bot what will find issues in logs and help fix it.

pale shell
#

I didn't realise I could run a discord bot from my pi

prisma wave
pale shell
#

Oh btw bm, two things 1 cheers for adding the bot 2,what do you think of it

forest pecan
prisma wave
#

Looks good

#

Although I am concerned about the implementation

pale shell
#

Whatcha mean

obtuse gale
old wyvern
forest pecan
#

Lol

pale shell
prisma wave
pale shell
prisma wave
#

indeed

#

Hence my original message

pale shell
#

It runs, it finds the stuffs. We won't talk about the code anymore 🥲

pale shell
#

I could OS it or people could just join r/haskellmeme

old wyvern
#

Or we could do both!

pale shell
#

Yes!

#

Gonna give away stuffs to whoever posts the most in r/haskellmeme (maybe)

ocean quartz
#

I hate this so much

prisma wave
pale shell
gusty glen
ocean quartz
gusty glen
#

I have not tested, but what happens if you use "getClass" inside the BaseCommandProcessor? Will it return the BaseCommandProcessor or the Extended

obtuse gale
#

Enum<E extends Enum<E>> 🌝

obtuse gale
ocean quartz
#

^

obtuse gale
#

So it would be the actual class of the instance

gusty glen
#

so it would return Extended?

obtuse gale
#

Extended and yes unless.. extended lol

gusty glen
#

I discovered that recently, but I'm divided and cannot decide if using that would be beneficial or not

pastel imp
#

uh.. saw an example of a config for MySQL and what exactly is "database:" meant for?

#

does he mean the table?

ocean quartz
steel heart
#

checker has so many annots lol

pastel imp
ocean quartz
#

One sql server can have multiple databases, you need to specify which one

pastel imp
#

oh oks

#

and inside those databases, there are tables

ocean quartz
#

Yeah

pastel imp
#

right?

#

oks

#

would this be good as default

#

?

ocean quartz
#

Yeah

steel heart
#

Matt sql pro

pastel imp
#

lul

gusty glen
#

bump

ocean quartz
#

I'm pretty sure it's client <-> redis <-> DB

gusty glen
#

so we have to configure redis to make DB requests?

ocean quartz
#

For that I am not sure how it works, i am yet to use Redis

steel heart
#

No it’s the former although you’d implement it such that it behaves like the latter

obtuse gale
#

@forest pecan I'mma grab that cpp dithering algo and make it compliant with the core guidelines 😆

forest pecan
#

Lmfao

#

Ok xD

forest pecan
#

@cinder flare

obtuse gale
forest pecan
#

lol

tender cargo
#

can forge mods run a discord bot? im not sure if my mod for forge is possible that i requested in #837974312451440661

obtuse gale
#

client side?

#

that seems like an odd design decision?

tender cargo
#

so its not a plugin

#

i want it for minehut lobby chat

obtuse gale
#

wat

tender cargo
#

yes

cinder flare
jovial warren
#

I prefer nullability annotations to optionals since Kotlin can properly convert the former, whereas it can't convert the latter

potent nest
#

not everything is about Kotlin

onyx loom
#

avoiding null altogether 😌

jovial warren
potent nest
jovial warren
#

Also, nullability annotations are a bit easier to work with tbh

#

And optionals give you more allocations

#

Maybe if Java was actually better at handling nullability then we wouldn't have this issue in the first place

#

We wouldn't need optionals

potent nest
#

Annotations are easier to ignore and you highly depend on IDE features (as Kotlin does everywhere), making code reviews harder

jovial warren
#

Also, I swear there's an official JEP that added nullability annotations that are used in Java much more often than optionals are

#

javax.annotation has the official ones iirc

potent nest
#

that's something completely different

jovial warren
#

How is it?

#

They are the same annotations as what JB annotations and the checker framework provide

#

And many more

potent nest
#

It's about TYPE_USE, which allows some cool stuff, but does not replace what you can express with Optionals

jovial warren
#

The checker framework is really good tbh

boreal needle
#

do i swap out nullables for optionals

jovial warren
#

Not in an API, no

#

God no

#

You can on the backend though

#

But you don't need them for most cases anyway

prisma wave
jovial warren
#

Optionals are only really required for things like mapping and what not

prisma wave
#

Wat

prisma wave
prisma wave
jovial warren
#

There are loads of things you can do with optionals, but optionals aren't required for basic nullability

prisma wave
#

okay and?

jovial warren
prisma wave
#

theyre still nicer, even if they're not required

jovial warren
#

Man, Kotlin compiler converts optionals to nullable types when

prisma wave
#

kotlin compiler bad

jovial warren
#

Not sure that's really feasible though

#

Since optionals are their own objects

prisma wave
#

orElse(null) easy

onyx loom
#

based

jovial warren
#

someone please tell me wtf based means in this context

#

is it based on what? biased? what are you saying? I don’t get it lol

prisma wave
quiet depot
#

it has no meaning whatsoever bardy

#

it can't be used like that

prisma wave
#

The story continues

prisma wave
quiet depot
#

this is dev general

spiral junco
#

what have i stumbled unto

#

uwu?

prisma wave
#

This is ironic

spiral junco
#

so uwu or no?

#

guess not ok bye

boreal needle
#

uwu

#

always uwu

spiral junco
#

nice

prisma wave
spiral junco
jovial warren
#

ah

old wyvern
jovial warren
#

Okay, platform types aren't Kotlin's fault, lateinit vars have their uses in some places where you know that something will always be instantiated later

#

But lateinit vars are a hack

#

And they actually cause me issues in Krypton as well

#

I might fix the location and world lateinit vars by making a dummy or undefined world that can be the initial value

#

Then I can have an initial location value

#

Because nullable locations and worlds suck

pastel imp
#

Is having something never seen before in your plugin a reason to make it paid even if the basics of the plugin are easy and common af?

jovial warren
#

And we need to instantiate the player object as early as we do because of player join event

jovial warren
#

Still make it open source though :)

old wyvern
#

Haskell on top!

jovial warren
#

Fair

pastel imp
onyx loom
#

whats a platform type

old wyvern
#

Types not annotated with NotNull or Nullable

jovial warren
old wyvern
#

It kotlin you see them as Type!

onyx loom
old wyvern
#

Yes

onyx loom
#

yeah, i was wondering that yesterday haha

jovial warren
#

It's Kotlin basically saying "idk whether this could be null or not"

pastel imp
#

Lets say hypothetically I find a new feature for a homes plugin, does that make it unique lmao? And a reason to be paid even if its low price?

old wyvern
#

Kotlin lets you use them like Not-Null variables, while they are in a sense Nullable

pastel imp
#

Idk if I will put it in spigot

onyx loom
#

yeah

#

so its up to the user to handle that nullability at their level, not the language

old wyvern
#

Basically a KNPE waiting to happen

jovial warren
pastel imp
jovial warren
old wyvern
#

They arent converted anywhere without a Nullable annotation

#

You can check the kt docs

jovial warren
#

But using them as variables will give you platform types

#

Even Locale constants are platform types lol

old wyvern
#

Bad

jovial warren
#

Tbh, platform types are Java's problem though, not Kotlin's

#

They should probably be nullable by default though unless you explicitly specify the type

#

Instead of this sorta nullable sorta not null thing

#

Though platform types will give you a green line, so you can't say they don't try

onyx loom
#

i dont get a green line

jovial warren
#

On variables you will

old wyvern
jovial warren
#

Yeah

onyx loom
#

no i dont get one

old wyvern
#

But then they should also not call it completely null-safe

jovial warren
#

Kotlin/Native doesn't have this issue, since there are no platform types afaik

old wyvern
#

It isnt a way out of nulls

#

just a way to dodge it for longer

jovial warren
#

It knows that they could potentially be dangerous

old wyvern
#

You get similar benefits even on Java

#

The point it to actually be null-safe

#

Hence

#

Haskell!!

#

Or any other language without a null

#

😌

onyx loom
#

nil clojuremoon

old wyvern
#

🥲

jovial warren
old wyvern
#

Yes

#

Maybe Monad in haskell's case

ocean quartz
old wyvern
#

xD

merry sedge
#

Is it possible to block a command for a group?

#

The command doesnt have a permission node

prisma wave
#

love to see it

jovial warren
#

Lol

onyx loom
#

clojuremoon relieved

jovial warren
#

Clojure moon bad

onyx loom
#

uh hu

#

wheres ur "kotlinmoon"

prisma wave
#

Rust monad pattern university higher kinded types clojure lazy sequences collection functor

prisma wave
jovial warren
#

Lol

jovial warren
#

Good enough

prisma wave
jovial warren
#

We don't need a moon

onyx loom
jovial warren
#

Lol wtf

prisma wave
#

haskell fsharp rust clojuremoon 😌

jovial warren
#

Clojureguns?

onyx loom
#

what server are those in bm

jovial warren
onyx loom
#

i tried looking for haskell emoji 😔

prisma wave
#

Best server

onyx loom
#

ew

prisma wave
onyx loom
#

"rust because its not functional" kek

prisma wave
#

WTF

merry sedge
prisma wave
#

PlayerCommandPreProcessEvent

lunar cypress
#

You're in the wrong channel for this

#

This is the programming language mission

obtuse gale
#

anyone know if theres a keyboard shortcut to switch between open tabs in IJ?

#

like go from left to right

ocean quartz
#

CTRL + TAB and add SHIFT to go back

#

Same as chrome

jovial warren
old wyvern
#

Time to rename Elara as Relieved?

steel heart
prisma wave
prisma wave
onyx loom
timber oak
#

What is bleeding edge on github?

forest pecan
#

bleeding edge is a term which usually refers to like nightly builds

#

or like unstable builds

#

in general

#

like bleeding edge builds

timber oak
#

So it doesn't really do anything it just means that it's untested?

forest pecan
#

ig in some way?

half harness
#

so expect bugs

timber oak
#

Yeah so like it doesn't actually do anything for the code itself

#

It's just information

#

right?

half harness
#

wait where are you seeing this bleeding edge option?

pale shell
#

Move over Simon Peyton Jones, Jeff Atwood and Joel Spolsky are now better than you. 🙂

onyx loom
#

who dat

pale shell
#

they made a better thing than haskell

#

it's called "stackoverflow" 😍

timber oak
onyx loom
#

with haskell stackoverflow is useless

half harness
pale shell
#

I agree @half harness haskell is bad.

timber oak
#

Yeah makes sense, but how come bleeding edge can fail then? The plugin has a discord server that shows updates, but this is what I mean

pale shell
#

prison 🤔

timber oak
#

Ye?

#

It's a gamemode

pale shell
#

i recognise that project name

timber oak
#

So when using bleeding edge it runs the tests in the test package in the project?

half harness
#

no

pale shell
timber oak
#

Or does this just mean it couldn't build the jar for some reason

#

Couldn't compile or something

forest pecan
#

in fact, not even all builds are succesful usually

#

bleeding edge generally means unstable, but it could mean like every nightly build

#

and not always will the code be compliant and compile correctly always in that case

timber oak
#

Like a normal build failure?

old wyvern
#

mhm

prisma wave
pastel imp
#

can u have 2 or more "WHERE"s in a MySQL request?

prisma wave
#

use an AND?

sturdy swan
prisma wave
old wyvern
#

I dont get it

#

Materials are made up?

#

Or was it something else?

distant sun
#

"accepted by the official server and client"?

half harness
#

?

#

yes

#

both client and server accepts dirt blocks

jovial warren
#

Lol

#

Not a definitive list though is it

#

The official client can have more blocks added to it afaik

half harness
#

yea, but that list shows all amterials that the client must accept

#

so all clients support dirt blocks

#

not all clients support.. idk, a table

jovial warren
#

Can't say all clients dkim lol

#

Not all clients have to support dirt lol

#

That's why it says the official client

#

But the official client can have blocks added without modifying code iirc

half harness
#

thats what i meant

#

the official client all has dirt blocks

#

wait what

jovial warren
#

The way that is phrased makes it sound like it is a definitive list

#

Also, registries on top

#

I might have Krypton use registries soon

#

I want Krypton to primarily support the Notchian client, but also have an API extensive enough to support modified clients

#

I will likely also modulise Krypton a lot, so making your own implementation of the API becomes a piece of cake (in the event you wish to make your own implementation)

half harness
#

bukkit implementation 😎

pastel imp
old wyvern
#

There are packets for that?

jovial warren
#

Just block update

quiet depot
#

@prisma wave pls explain joke

jovial warren
#

If you send the right IDs for the blocks, everything else is fine

#

Recognised blocks aren't hard coded

prisma wave
#

I am not sure what I was thinking

half harness
lunar cypress
#

what too much haskell does to a mf

half harness
#

lol

timber oak
#

Someone got any ideas I could do for a plugin portfolio?

steel heart
#

Discord bot

timber oak
#

Ehhh wat

hot hull
#

World generation

#

using cubic, or perlin

timber oak
#

Like generating an entire new world?

static zealot
#

@quiet depot thought I'll ask you before reinstalling kde neon. Sooo.. when you told me to chose a driver from software and updates, i did but didn't work so i tried some more and in the end it broke. The os doesn't boot anymore. It stays in my laptop's loading screen. (I can boot in windows btw). So I've searched for fixes and I found a few people saying that the problem is I have no graphics card driver selected. Some said I should edit the boot commands or whatever those are called (when i select OS to start, I press E) and some said I should put nomodeset for second to last command (the linux one) and others said I should put in nouveau.modeset=0 Second one does absolutely nothing different but first one puts me in a black screen where it says [74.918297] snd_hda_intel 0000:00:03.0: HSW/BDM HD-audio HDMI/DP requires binding with gfx driver

#

That took a while to write on phone smiling_face_with_3_tears

old wyvern
static zealot
quiet depot
#

erm im not sure blitz

#

do u game on linux?

#

cuz if u don’t just stick with noveau

static zealot
#

Well the thing is it doesnt boot anymore xD

#

So i thought maybe i can do something without reinstalling

#

Gonna try a few more things and if not then reinstall it is

gilded granite
#

Is it a good idea to learn multiple languages at once? I'm currently learning Java, but at the same time i really wanna learn HTML, CSS, and PHP, should i wait to learn those until i finish learning java or is it a good idea to learn them all at the same time

old wyvern
#

Why is every possible thing going wrong for blitz xD

gilded granite
#

Alright

old wyvern
#

Once you get a grasp of one language it should be easy enough to get used to others

gilded granite
#

Alright thanks for the info

gusty glen
#

@jovial warren I was wondering, do you think it would be possible to implement support to Bukkit plugins in Krypton (even if not 100%, just partial)?

forest pecan
#

maybe

half harness
#

yea, but it'd be a lot of work (the bukkit api is very large)

#

especially if you want craftbukkit support

#

it'd also require using a lot of the jvm annotations such as JvmField and JvmStatic

steel heart
#

I could think of a plugin which does that

#

such that bukkit api support isnt enforced

half harness
#

wdym?

steel heart
#

a standalone krypton plugin which would implement the bukkit api with krypton api

static zealot
#

@quiet depot guess who got it working? ||not me... some guy on the internet that I just copied and now it works for me too||

steel heart
#

similar to fabric api

half harness
prisma wave
steel heart
#

the same as doing it inside krypton ?

#

tho that would allow for independent updates

half harness
#

and NMS support... thats nearly impossible

steel heart
#

which is good since implementing the bukkit api may take some time

#

wat

half harness
#

some plugins use nms

#

🤷

steel heart
#

a standalone krypton plugin which would implement the bukkit api with krypton api

#

oh ye

#

thats true

half harness
#

well

steel heart
#

fuck them

static zealot
#

well techincally I Didn't get it working. fuck

half harness
half harness
#

craftbukkit support would be sorta like bukkit api support

#

oh what about protocollib

steel heart
#

uh wat

half harness
#

packet support

steel heart
#

bukkit is the craftbukkit and the api thats true

half harness
#

i dont think bukkit plugin support will come to krypton

#

:p

steel heart
#

a standalone plugin could just implement the paper api or smtng

#

but entire server impl ofc no

#

then krypton is no point if its just gonna provide entire spigot server jar

gilded granite
forest pecan
#

Please don't

#

save yourself

gilded granite
#

alright

#

i'll rather take your word for it than my friend who knows less than me about programming

prisma wave
#

Let's let PHP die :)

gilded granite
#

and i know like nothing

old wyvern
#

Learn Haskell

#

😌

prisma wave
#

😌

jovial warren
#

most Bukkit plugins would also not work very well in an environment like Krypton

#

since Krypton is heavily designed around concurrency and asynchronous execution, Bukkit doesn't really encourage that all that well

#

in fact, for most things, it is discouraged

humble silo
# jovial warren it would be, however anything using NMS would just not work

Have you guys considered creating something like a integrated server(somewhat like they have in the minecraft client) that would effectively be a server yet it could run on the client or the server and let them respectively implement stuff like rendering(for the client) or handling network stuff(for the server). I just really like this idea becuase it would make it alot easier for Krypton to also have a client implementation

jovial warren
#

yeah maybe we could

#

though I'm not sure how we would put the integrated server into a client

humble silo
#

My idea for it was that everything would go into or out of the integrated server as packets, so the client could pretty much deal with it(in singleplayer) like connecting to a multiplayer server

jovial warren
#

the whole point of the integrated server though is that it's integrated

humble silo
#

well maybe thats the wrong name,

#

just what ive seen it called before

jovial warren
#

trying to get Krypton to work under a single player environment would be difficult

humble silo
#

How so?

#

Just like the basics, Is there something weird in the way its written?

jovial warren
#

no

#

the issue is how tf would we get it into the vanilla client?

#

Sponge uses Forge to inject itself, that won't work for us

humble silo
#

Ah, maybe ive been misunderstanding Krypton, are you trying to completely re-write the server, or just create a new plugin api for it?

jovial warren
#

first

#

Krypton is not another Bukkit lol

humble silo
#

If you are re-writing it you wont have to deal with injections/mixins too much

#

or at all

jovial warren
#

we are not rewriting the client

#

my question was how tf would I get a rewritten integrated server into a vanilla client?

humble silo
#

Oh, lol my general point was that you would additionally be re-writing the client, since the krypton server isnt finished now, i do get that thats kindof a big idea to talk about

jovial warren
#

rewriting the client is a whole other bird lol

#

the client has to deal with rendering and collisions and shit

humble silo
#

It would be awesome, but ya

old wyvern
#

Get it to work with terrasology instead

#

😌

jovial warren
#

lol

humble silo
jovial warren
#

I guess

humble silo
#

But ya, It would be amazing if it happened, cant wait to see the serverside done either way!

old wyvern
#

If its to copy a lot of the code from the vanilla client why not just mod it instead

#

lol

humble silo
steel heart
#

@prisma wave where can I find enterprise haskell 3d api

jovial warren
#

yeah we could inject an integrated server, just not sure about people having to download a modified client just for it

humble silo
#

lol

jovial warren
#

lol

humble silo
#

Theres really no reason to write a integrated server and just inject it though, that doest really help all that much

jovial warren
#

eh, it probably would help a bit

steel heart
#

lmfao

jovial warren
#

wtf GitHub

humble silo
#

What is your overall goal with Krypton, if i can ask?

jovial warren
#

no, with our optimisations

jovial warren
humble silo
#

lol

#

optimizations?

jovial warren
#

just fun atm

#

does anyone mind cloning that feature/localisation branch btw and trying to run the tests locally?

old wyvern
#

Werent you against feature branches like a week ago

jovial warren
#

yes but I realised that I need to stop being lazy

old wyvern
#

Waiting for you to start Haskell 🙂

jovial warren
#

and that pushing directly to master is a bad idea because it means I won't get my GitHub checks until we're at the point where I can't fuck anything up

old wyvern
#

xD

humble silo
#

Anyone know why this is happening when i build or run with gradle? Selected configuration 'api' on 'project :api' but it can't be used as a project dependency because it isn't intended for consumption by other components

jovial warren
#

can someone clone Krypton btw please and try to run the tests on the feature/localisation branch?

#

I wanna see if it also fails for others, since it fails the actions build but succeeds for me locally

obtuse gale
#

can I talk about worldguard here?

jovial warren
#

depends

#

look at the channel name and the channel topic

static zealot
#

having just one screen sucks. especially since that one screen is the small laptop one smiling_face_with_3_tears

jovial warren
#

fine, time to get Git on my laptop

static zealot
#

if u tell me what to do I'll do it

#

going to clone KRypton in a sec

jovial warren
#

literally clone and then ./gradlew test

static zealot
#

but first I have to get the other branch right?

jovial warren
#

yeah

#

clone and then checkout

static zealot
#

well brb then. going to clone and see

#

yep I Know

#

moving a bit slow bcz I'm in a lot of mental pain rn xD

#

feature/localisation you say?

jovial warren
#

yes

static zealot
#

hmm gradlew not found. guess I have to open it in IJ or something

jovial warren
#

gradlew.bat?

#

try just gradlew test instead of ./gradlew test

static zealot
#

yeah that's what I Tried

jovial warren
#

you in the root directory?

static zealot
#

yeah. going to open ij and do it from the gradle interface or whatever that is called

jovial warren
#

nah just use the wrapper to run it

#

it should work from the wrapper no problem

#

try just gradlew.bat test in CMD then I guess?

static zealot
#

oh wait

#

its actually ./

#

I didn't realise. I Was using gradlew

jovial warren
#

lol

static zealot
#

well its running

#

I think

jovial warren
#

if it fails, send me the report it logs the path to

static zealot
#

alr.

static zealot
# jovial warren if it fails, send me the report it logs the path to
> Task :buildSrc:jar
:jar: No valid plugin descriptors were found in META-INF/gradle-plugins

> Task :krypton-api:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':krypton-api:test'.
> There were failing tests. See the report at: file:///home/blitz/Documents/GitHub/Krypton/api/build/reports/tests/test/index.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 3m 42s
jovial warren
#

send me the index.html file

static zealot
#

oh that looks kinda ugly xD

#

but its the same in the file

#

so I guess nothing I can do

jovial warren
#

oh actually, just send me the whole directory

static zealot
#

html beutifier

#

wait which one?

jovial warren
#

send me the test directory

static zealot
#

ah alr

#

DMs

jovial warren
#

yes

static zealot
#

wtf is this bullshit. I can't send it in discord

#

I assume its bcz of permissions but I moved it to the home directory and to my documents and desktop and it still doesn't let me

jovial warren
#

ZIP it and DM it lol

static zealot
#

yeah that's what I Was doing

#

didn't let me

#

it was the same with photos before, had to move them to my home dir but it didn't let me

#

for some reason

#

this time

jovial warren
#

oh ffs, ofc this is the error

static zealot
#

😮

jovial warren
#

actions uses Java 11

static zealot
#

I assume that has something to do with KRypton not my machine since I Do use java 11?

#

oh wait

#

github actions

gusty glen
half harness
#

does any JDK have any sort of limitation like java 16? im looking to download a later jdk than 11 😛 but i want to keep backwards compatibility

timber oak
#

Isn't JDK 16 only required for minecraft version 1.17+?

half harness
#

maybe ill upgrade to jdk 16 later

half harness
old wyvern
half harness
#

so im wondering if any other jdk has something like that too, that sorta breaks backwards compability

half harness
steel heart
#

wym new encapsulation rules

onyx loom
#

yea just use 15 for now ig

#

its more to do with reflection afaik

half harness
#

mhm

old wyvern
#

You should mostly be fine even on 16

half harness
#

some spigot plugins use it, and i just want to be on the safe side for now

steel heart
#

its not like they changed encapsulation dkim

half harness
#

i mean they changed something

old wyvern
#

Unless or until someone defines a module for bukkit/spigot you're fine on 16

half harness
#

i dont exactly know what, i just know that it breaks pdm

obtuse gale
#

You can still target and compile to older versions

onyx loom
#

java 16 breaks pdm? wdym? pdm was broke before then 🌚

half harness
steel heart
#

thought that was something will classloaders

old wyvern
#

Its only an issue when dealing with deep reflection

half harness
#

if a plugin uses pdm/similar it breaks tho D:

old wyvern
#

That too, only on defined modules

obtuse gale
#

Slimjar works fine lmao

old wyvern
half harness
#

slimjar is too confusing 😩 (the isolation part especially)

old wyvern
#

Improved the api

half harness
#

at least the part where it works with java 16

old wyvern
#

You should be able to use it easier now

#

Atleast after the coming release

half harness
#

😮

old wyvern
#

Man I had to do like 3 major changes in this because java had some unpredictable witchcraft at some points

obtuse gale
#

But yeah in any case Java 16's strong encapsulation is not something you have to worry about unless you're reflecting on projects that incorporate jigsaw

steel heart
#

🥲

half harness
#

also

#

should i keep java 11?

#

and also have java 15/16

old wyvern
#

Keep it incase you need it ig

#

Unless yoiu're running out of space or something idk

steel heart
#

11 is lts after all so maybe keep it

half harness
#

alr, thanks! 🙂

old wyvern
#

Had to rewrite all usage of Gson and JarRelocator with reflection 🙃

#

Im almost certain its going to hit 300 commits after this

half harness
#

my projects never have a lot of commits because i only commit daily 😔

steel heart
#

same

old wyvern
#

Try to commit small changes, or atleast split up your commits finally

#

You can still split you changes at the end

half harness
#

uhhh huh

old wyvern
#

That way you can reset/find something you need back at some point

steel heart
#

I just commit everything and put a message like some work

old wyvern
#

Those are auto generated ones for the readme dkim

#

Go through the rest

half harness
#

don't question 🥲

old wyvern
#

That commit is actually fine

#

Specifies exactly what it does

half harness
#

no im talking about the fact that i removed and readded shadowjar in the next commit

old wyvern
#

Yea you could have reseted that

half harness
#

lol true

#

i dont think i knew much about git back then

old wyvern
#

I see

half harness
#

also why are some commits verified?

#

but some are not?

old wyvern
#

Commits through the github web application get verified by itself

obtuse gale
#

Imagine not signing your commits

old wyvern
#

You have to sign it with a pgp key otherwise

half harness
#

but im using intellij for all of the commits

#

i think

old wyvern
#

Then setup signing

half harness
#

also, uh, interesting

obtuse gale
#

It's pretty straightforward to set up

#

That's because the instructions are pretty straightforward lmao

half harness
#

hopefully easier than setting up the one for maven central

obtuse gale
#

Yeah

half harness
#

but after a couple ppl helping out i got it working 😄

old wyvern
#

Hiding reflection 101 🙃

half harness
#

🤔

obtuse gale
#

Façade is such a nice word

old wyvern
#

How is "ç" read?

obtuse gale
#

Like an s I think

#

@ocean quartz pls

old wyvern
#

its portugal?

obtuse gale
#

Yeah

old wyvern
#

oh ok

ocean quartz
#

Yeah it's read like an s

static zealot
#

guess who solved his drivers problem and has 2 screens again? ME

old wyvern
#

ayy gj

onyx loom
#

how long did that take u xd

jovial warren
#

also what is your obsession with creating interfaces for everything in SJ

old wyvern
#

Easier to unit test

steel heart
#

@half harness why am I not in ur dev den discord

#

inv

old wyvern
#

And for users to change

steel heart
#

ty

jovial warren
#

oh btw, is it just me or are Java toolchains (which I just found out about) actually god tier

steel heart
#

found out about it recently also lol

jovial warren
#

now I can build Krypton (JVM target 16) with Java 8!

#

not that I generally do, just that others that clone this may use older versions of Java, and Jenkins uses 11 lol

static zealot
#

nice

prisma wave
jovial warren
# gusty glen what is that?

you can set the Java version that's needed to build your project and Gradle will automatically download and use that JDK for building, no matter what version it was launched with

gusty glen
#

but what exactly is the advantage of that?

prisma wave
#

You don't need java 11 installed to build a java 11 project for example

jovial warren
#

you don't need to run Gradle with Java 11 either to build a Java 11 project

lunar cypress
#

I'm pretty sure you do (target compatibility only works in the other direction)

ocean quartz
#

@old wyvern I was thinking and what if instead of row(A, B, C, ...) we do

row {
  item(collumn, itemstack) {
  }
  // or
  empty()
  item(itemstack) {
  }
  empty()
  item(itemstack)
  // etc
}
gusty glen
prisma wave
#

mf GUI Clojure

old wyvern
#

😮

#

mf gui scala

ocean quartz
#

mf gui haskell 😌

steel heart
#

knightz api haskell

ocean quartz
prisma wave
#
(gui
    [column itemstack]
    []
    [itemstack fn])
``` :smile:
lunar cypress
#

Did you just try?

prisma wave
#

Oh no pinging johnny just as I start talking about clojure

#

I'm going to die

jovial warren
#

I've ran Gradle with Java 8 and built my Java 16 project with a toolchain

#

oh btw, guess what just finally built properly

obtuse gale
#

Komponent?

jovial warren
obtuse gale
#

🌝

jovial warren
#

testing time anyone?

#

lol

prisma wave
#

YO MAMA JUST BUILT PROPERLY

ocean quartz
jovial warren
#

not even funny

onyx loom
#

unprofessional

#

immature

jovial warren
#

ikr

#

demoted

steel heart
#

alex got too much haskell

obtuse gale
#

"Support in training"

steel heart
#

solid proof of that haskell is in fact dangerous

jovial warren
obtuse gale
#

Oh wait what

#

When did that happen

onyx loom
#

yesterday

jovial warren
#

I swear it was yesterday

#

yeah

obtuse gale
#

Damn okay wtf

ocean quartz
#

This new support and the baas abuse smh

obtuse gale
#

That was disappointingly unnoticeable

onyx loom
jovial warren
#

lol

onyx loom
#

yo what could u always get sharpness on an axe?

jovial warren
#

can people actually test that latest JAR for me btw pls? 🥺

prisma wave
jovial warren
#

been a while since I've seen that meme

prisma wave
#

it is on its way to the ivory tower

obtuse gale
#

That is about 1.5 lol

onyx loom
#

o wtf

obtuse gale
#

"Support"

#

Tsk tsk

obtuse gale
#

This is

static zealot
obtuse gale
#

#d

onyx loom
#

i just tried enchanting an axe to swap the enchants for other items and saw sharpness as the hint, was so confused

#

no blitz

#

this was with an axe

prisma wave
onyx loom
static zealot
#

yes on an axe you can put sharpness books

#

oh wait nvm then

obtuse gale
#

Oh on the enchantment table that got introduced somewhat recently

static zealot
#

that I didn't know

prisma wave
#

thanos

obtuse gale
#

But you could do it on the anvil for looong time

onyx loom
#

and yes im playing vanilla

#

on bedrock edition clojuremoon

prisma wave
onyx loom
#

"Support"

prisma wave
#

fer·nan·do pó·ov

jovial warren
#

how has that become a meme

static zealot
#

idk. I don't get it (yes I Know the origin)

steel heart
#

alex pls review my code I sent in development

prisma wave
#

can't review code very well on mobile

steel heart
#

:[

#

download gh app

#

stonks

onyx loom
jovial warren
prisma wave
#

The content on the paper looks accurate when it comes to "characteristics", and the edits on the wording make it sound nicer.
I can not think of something I would like to edit, especially because the wording is something I struggle myself. I think the paper looks really good.
Good job, and thank you.

steel heart
#

is this my coding review from you?

static zealot
#

nah this is just a quote from Shakespeare

steel heart
#

oh thanks

#

I am starting to get concerned over alex

#

like

#

srsly

static zealot
#

yeah alex. you're acting sus lately

prisma wave
#

what

steel heart
#

we need kotlin mitten or just regular brister mitten back

prisma wave
#

too bad I can't change my nick anymore

#

I'm permanently Semigroup Mitten

steel heart
#

lol fr?

prisma wave
#

unfortunately

onyx loom
#

no nitro

prisma wave
#

It's only a matter of time before cube notices

onyx loom
#

lol

steel heart
prisma wave
static zealot
#

do you guys want to go vegan so we can save the planet? xD

prisma wave
#

No

static zealot
#

me neither

steel heart
#

I DONT GET IT

#

LIKe wtf

static zealot
#

what?

steel heart
#

spigot returns null for data structures and sometimes empty data structures

#

like fucking decide one n stick with it

prisma wave
#

in case you didn't hear the news, spigot is trash

steel heart
#

its not like paper fixed it I think

prisma wave
#

paper sucks too

#

This is why we need MineHraft

half harness
#

minehraft bad

#

btw can u link to hrypton

#

im curious how much work u did

steel heart
#

for once

#

I think haskell might be good

prisma wave
#

MineHraft = Hrypton

half harness
#

link?

steel heart
half harness
#

smh last commit 14 days ago

prisma wave
#

Yeah haven't worked on it in a while

#

cba to code anything

#

Except fixing devdenbot

half harness
#

smh my bot never has bugs

#

dont look in commit history

static zealot
#

I'm sorry what? ```
error: gpg failed to sign the data
fatal: failed to write commit object

half harness
#

imagine being confused with gpg 🥲

prisma wave
#

everyone got a gpg fetish recently

#

Bro just use linux

#

Works flawlessly

static zealot
static zealot
prisma wave
#

okay 🆗🙂 👍

static zealot
#

that 🙂 👍 really helps

prisma wave
#

My pleasure

static zealot
#

what the hell even is gpg?

obtuse gale
#

an acronym

obtuse gale
static zealot
#

oh

#

this is the signing/verification thing

prisma wave
#

it's literally like 3 commands

obtuse gale
#

yea

static zealot
#

fuck I think I Mgiht have played with this a bit few days ago. but I Think its just git config commit.gpgsign false to disable

prisma wave
#

Not to sound condescending, but I don't see how you could mess it up

static zealot
#

or --global if I want to disable it globally

prisma wave
#

what guide were you following?

static zealot
#

I don't think I was following any. but found the github one now

prisma wave
#

The github one is good

#

Always worked perfectly for me

static zealot
#

does it matter what algorithm I use to generate the key? I know there's a list of accepted ones, but between those is there really any important difference?

obtuse gale
#

RSA is the suggested one I believe

static zealot
#

was going to use that one bcz is the first one before I asked here xD

prisma wave
#

RSA 4096 I think

#

Yeah

obtuse gale
#

mhm

static zealot
#

oh right... the documentation says that 2 steps below

#

hmm when it asks for my email, can I just use the email and it will change it to the noreply one or should I actually use the noreply one?

obtuse gale
#

If your email on github is private then you should use the noreply one

#

I believe github rejects the commit when pushing if you use one of the private ones

static zealot
#

alr

static zealot
obtuse gale
#

o

#

then i must have that enabled lol

static zealot
#

yeah probably

frail glade
#

Oh that's actually pretty cool. Thanks for letting me know that.

static zealot
#

hmm

#

what the hell is this comment supposed to be/

#

Should I Just say "for github" or something like that?

#

or does it not matter?

obtuse gale
#

idk

static zealot
#

hmm and now I can just commit as usual? git commit -m "Message"?

#

or do I need some new tags

#

how nice yml error: gpg failed to sign the data fatal: failed to write commit object

lunar cypress
#

Where are you running this?

static zealot
#

as in path? /home/Documents/GitHub/PROJECT

lunar cypress
#

no as in shell

#

or whatever

static zealot
#

ugh Konsole is what I use

half harness
static zealot
#

what's -a for?

lunar cypress
#

staging all tracked changes

static zealot
#

ahh -all

lunar cypress
#

And you've set up gpg to sign all your commits?

half harness
#

helps so that u dont have to manually stage it

lunar cypress
#

you don't always want that

static zealot
#

do you mean git config commit.gpgsign ?

#

yes its true

#

globally

#

should I Just use -S when I Want to sign it?

lunar cypress
#

And you do have a key

static zealot
#

yes just made it

lunar cypress
#

you've entered it in your git config as well?

static zealot
#

in my git config?

#

I wasn't told to do so

#

just added it in my github settings

lunar cypress
#

there's your problem

#

you need to tell git which key to use

static zealot
#

oh

#

I Missed that part

#

was another page I had to open

#

my bad

obtuse gale
#

imagine reading the documentation

frail glade
#

That's too mainstream Emily.

static zealot
#

imagine not reading it

#

smh

#

well ty Johnny

ocean quartz
static zealot
#

amazing

static zealot
#

omg I love deluxemenus return invert ? true : false; xD

#

where invert is a boolean ...

obtuse gale
#

just ...

#

why

static zealot
#

idk lmao

old wyvern
#

yes or no? say yes if yes, no if no

static zealot
#

why the fuck does spigot api not have a getExpPoints method or something like that? smiling_face_with_3_tears

obtuse gale
#

getLevel?

static zealot
#

that's for levels

#

I want points

obtuse gale
#

I don't think there is such a thing in the vanilla game either

static zealot
#

done some math tho myself but it sucks it doesn't have that method

obtuse gale
#

It's levels and progress

static zealot
#

yeah its calculable tho