#dev-general

1 messages · Page 363 of 1

lavish notch
#

slightly

jovial warren
#

oh you have no idea matey

onyx loom
#

🤨

#

a bit farfetched

jovial warren
#

I would kill to watch vk and Ruan both slowly burn alive in a fire

prisma wave
#

you need help

jovial warren
#

as I said, I have 0 respect for those sorts of people

onyx loom
#

u do u 🙂

jovial warren
#

I respect people who are nice

lavish notch
prisma wave
#

man all they've done is made premium plugins holy fuck

jovial warren
#

Ruan, however, is a dick head

prisma wave
#

If you're actually serious this is fucked

jovial warren
#

and the API is useless

onyx loom
jovial warren
#

okay maybe that was just a little too far

#

just shows how insanely strong my morals are though

onyx loom
#

"morals"

prisma wave
#

thinking premium plugin developers deserve execution isn't moral

jovial warren
#

no, it's not just because they make premium plugins

#

some premium plugin developers I respect

#

Maxim Van de Wynckel for example

lavish notch
jovial warren
#

he's a really nice guy

#

MVDW I mean

#

Ruan is just a knob

#

and so is vk

prisma wave
#

what have they done

jovial warren
#

they are twats

onyx loom
#

ur a knob 🙂

prisma wave
#

Apart from make shit plugins

onyx loom
#

ur a twat 🙂

lavish notch
jovial warren
#

"Decompiling is not an option, I've made sure of that :)"

#

what a fucking dick head

#

to put a smiley face like that

#

lol

prisma wave
#

?? man

jovial warren
#

I've just thought about how stupid that sounds that I'm making a big thing out of a smiley face lol

#

maybe that's not enough to have them burn in a fire

prisma wave
#

sure proprietary sucks but if someone doesnt want their work being leaked that's fair enough

jovial warren
#

I got one more for Ruan though

prisma wave
#

sigh go on...

jovial warren
#

apparently using the API to execute raw queries is "sufficient"

#

and that he's such a lazy shit that he doesn't want to make the API better because it means he gets more issues

#

which he probably won't anyway

#

I might actually go ahead and make that extension like I said there

prisma wave
#

🤨

jovial warren
#

or just make my own punishments from scratch

#

which is what I've kinda been working on

#

I mean, it's not that hard tbh

prisma wave
#

again i dont see why having a shitty API makes someone literal scum

jovial warren
#

it's the responses he gives

prisma wave
#

his responses seem fine

jovial warren
#

"I don't want to design things in a way that makes people more likely to contact me" this just sounds like laziness to me

prisma wave
#

meh

#

i can understand it

#

getting hundreds of dumb questions a day sounds pretty annoying

jovial warren
#

true

#

okay, maybe I should take Ruan off the hit list

#

vk though, that scumbag can literally rot in hell

prisma wave
#

i dont think either of these people have done anything that warrants their death...

jovial warren
#

like he is literal scum

prisma wave
#

evidence?

jovial warren
#

I cbfa lol

#

not worth my time to cite everything he's ever done

obtuse gale
#

do it

#

you bitch do it

onyx loom
#

do it

obtuse gale
#

do it and I'll believe everything you're saying

onyx loom
#

lets see what illegal activities hes been doing to warrant a death wish from BomBardyGamer who is clearly a high court judge!

prisma wave
#

if you unironically think someone should die i'd expect at least some evidence...

onyx loom
#

no u

jovial warren
#

alright, maybe he shouldn't die, but rot in hell after death, definitely

prisma wave
#

🤨

onyx loom
#

ah yes, that makes the situation better

prisma wave
#

yeah thats much better

jovial warren
#

lol

#

I mean, at least he gets to live a life I guess

cinder flare
#

bruh what did this guy do?

#

murder your family?

obtuse gale
#

Don't worry, he just doesn't like the API 🙂

cinder flare
#

ah yea yea

onyx loom
#

makes sense right?

distant sun
#

Yup, shitty person

onyx loom
#

gaby still mad :kek:

distant sun
#

He can take a long walk to a green place 🤣

#

Also, whats so good at litebans @jovial warren

cinder flare
#

yeah openbans when??

distant sun
#

Whats that

cinder flare
#

open source version of litebans that Bardy keeps insisting he's working on lol

onyx loom
#

"working on"

obtuse gale
#

you know what else he's working on?

onyx loom
#

ezblocks /s

obtuse gale
#

Krypton, a Notchian Minecraft server implementation made in Kotlin
from
scratch

#

In case you guys didn't know

#

:)

onyx loom
#

oh damn that sounds pretty cool!

prisma wave
#

Did you know 2b2t is the oldest anarchy server in minecraft?

obtuse gale
#

😮

onyx loom
#

if im looking at this punishments plugin correctly i dont think hes gonna continue this

prisma wave
#

Too busy hiring a firing squad to execute vk

onyx loom
#

clearly

#

hes getting the Black Ops squad ready

sweet cipher
#

Nah he’s going himself

static zealot
#

in kotlin if I iterate thru a list using for (item in List) it just skips the loop if the list is empty right? It doesn't error or anything else?

obtuse gale
#

it would be unbelievably stupid if it did

static zealot
#

that's what I thought. I was checking if its empty before and I thought, why would it error? when it can just skip so I asked to make sure

wind bolt
#

I'm looking for contributors for a free api and framework I'm developing with SimplexDev, a development group dedicated to producing premium spigot plugins

#

It's a core and I would greatly appreciate community contributions.

#

I have 5 other developers on the team

#

I'm not looking for any commitment, just any sort of contribution is welcome so long as it expands on any section that we provide

old wyvern
onyx loom
#

for loop instead of foreach 😩

static zealot
#

forEach doesn't have continue. so it can suck a dick

sweet cipher
#

Can’t you just return?

static zealot
#

that is like a break

#

isn't it?

old wyvern
#

No

static zealot
#

wait for real?

old wyvern
#

return in a foreach is equivalent to a continue

static zealot
#

oh fuck

old wyvern
#

as the caller will keep calling the function

static zealot
#

welp that's good to know. Yesterday fefo said the same but then he changed his mind as well lmao

#

and I assume return will just exit the function right? it's not a break or anything

obtuse gale
#

From what I understood, return just exits the entire function and return@forEach will break the loop

obtuse gale
static zealot
#

oh was it?

#

IDK last 5 days were not nice

obtuse gale
#

oof

forest pecan
static zealot
#

You Suck at Coding [1]

#

I know

forest pecan
#

is there a way to detect whether certain commands can be executed by using sudo and what cannot

forest pecan
#

does Runtime.getRuntime execute commands based on the users permissions though?

#

or based on non-sudo permissions

oblique heath
forest pecan
#

yea im not sure

#

either

quiet depot
#

yeah, so what about its conventions do you like?

hot hull
#

God I hate timezones

#

Gotta wait for this bri ish cuck to wake up ||that cuck being Ori||

obtuse gale
#

Pls help

#

idk waat i did wrong

#

i was coding a tutorial for yt

#

this is my code

#
package me.wettle.tute;

import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.plugin.java.JavaPlugin;

public class Main extends JavaPlugin {
    
    public void onEnable() {
        getCommand("hello").setExecutor(this);    
    }

    public void onDisable() {
        
    }

    
    
    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        
        
        if(command.getName().equalsIgnoreCase("hello")) {
            if(sender.hasPermission("hello.use"));
            sender.sendMessage(ChatColor.AQUA + "Hey!");
            
        }
        return false;
    }
}```
hot hull
#

Did you add your command to plugin.yml

#

if(sender.hasPermission("hello.use"));
this does nothing btw

obtuse gale
hot hull
#

So what seems to be the issue?

#

return false;
You should always be returning true btw

obtuse gale
#

It is in /pl but the command isn't working

hot hull
#

return true, and fix the permission check

obtuse gale
#

kk

nimble marten
#

I'm having an issue with the multiplier part in the autosell plugin

hot hull
remote goblet
#

id also make it so you do if the label equals hello peepoShrug

prisma wave
#

you don't need either

#

label checking also breaks aliases afaik

hot hull
#

Indeed

obtuse gale
#

help

#

3 buttons, need to get custom object based off button clicked

#

whats the best way to do that? I'm tryna make it so I can just have one listener for all buttons

#

I could just have a switch thing but i feel like theres a better way for some reason, i want to be able to add more shapes if necessary

#

idk wgat im expecting tho tbh

hot hull
#

Why same listener for all three?

jovial warren
#

Which depends on who owns the java process for that JVM

jovial warren
#

I'll just stick with the name Punishments, which is what I already have

hot hull
#

Do I hook up my second monitor

quiet depot
#

leave it unused

#

hell, kick it

#

why not

hot hull
#

I mean I can do that to the tv

quiet depot
#

d;spigot potioneffecttype%bad_omen

ruby craterBOT
quiet depot
#

lol

hot hull
#

lol

quiet depot
#

d;spigot potioneffecttype%heroofthevillage

ruby craterBOT
quiet depot
#

great descriptions

jovial warren
#

Lol

#

Krypton docs coming soon™️

#

When I have time to make the system that can actually read KDocs lol

quiet depot
#

dw

jovial warren
#

I spend too much time working on Krypton lol

quiet depot
#

there's so much work I need to do on docdex

#

and deluxechat

jovial warren
#

pig tf

quiet depot
#

i despise vk's practices too but let's not go any further than that

#

here's a nice image for a topic change

jovial warren
#

yeah I’m done wasting my time talking about that piece of shit now

#

I was talking about Krypton being under MIT

quiet depot
#

mit is nice

jovial warren
#

also, might make my own place to find Krypton plugins at some point, but with the difference being that I want you to be able to upload different versions for all the platforms so you can choose which one you want on download

#

that would be cool imo

#

also need a place to track metrics

quiet depot
#

i made a metrics thing with rpf once

#

but it was a bit mind boggling

#

frankly i couldn't understand how it worked myself

jovial warren
#

a.k.a bStats but for Krypton and not so unreliable it’s almost useless

#

could use prometheus

#

but prometheus won’t really work here

quiet depot
#

my metrics system was highly versatile

#

should've worked for anything

jovial warren
#

I might actually add a module system for Krypton, since I want extra features without the extra size if you don’t want them

#

I basically need bStats for Krypton

#

but not as shit in terms of reliability

#

I mean, I need to design a homepage first

#

if anyone here knows frontend better than I do and wants to help out, lmk lol

quiet depot
#

html

#

no css

#

no javascript

jovial warren
#

don’t you get your designs from cube? lol

quiet depot
#

yes

jovial warren
#

cube designs the sites and you make them

quiet depot
#

for projects I care about

#

if I don't care or cube is busy i'l ldesign it myself

jovial warren
#

do you care about Krypton? 🙂

quiet depot
jovial warren
#

lol

quiet depot
#

incase you're unaware

#

open that in a browser

#

and look at the like/dislikes

obtuse gale
#

ok basically I hjave to make something that when a user clicks on a button it lets them input the dimensions of the shape on the button they pressed

jovial warren
#

I would ask cube myself, but he wasn’t taking commissions

obtuse gale
#

but i want it to be fairly easy for me to add shapes in future

#

whats the best way to do this? (Windows forms app with VB)

quiet depot
#

imagine accidentally switching language mid sentence

jovial warren
#

haha no way pig

#

exactly neutral likes and dislikes

quiet depot
#

yes

#

when youtube showed the entire number, it was always a match

#

what's even more impressive is the age of that video

#

2009

#

11 years later people are still keeping it going

jovial warren
#

also, if you do get cube to design my site, ask him to remake my logo so it’s not trash lol

quiet depot
#

wtf

#

I never agreed to this

jovial warren
#

I signed you up on your behalf

#

😎

quiet depot
jovial warren
#

I mean, you can take all the time you want lol

quiet depot
#

give me 5 years

#

i'll be out of the education system by then

#

hopefully

jovial warren
#

(preferably I want it this side of Christmas, but I won’t rush you lol)

#

nah m8

#

I could be teaching by then

quiet depot
#

sounds like a you problem

jovial warren
#

I would pay for a commission for a web design, but last time I asked for the price for a site with 2 pages I got $40

quiet depot
#

that's actually quite cheap

jovial warren
#

I would make one myself, but I don’t have design skills

quiet depot
#

when I'm forced to design something, I usually follow a strict process

jovial warren
#

I wanna make my backend in Kotlin using Spring though

#

I only need the frontend

jovial warren
#

you wanna move to the UK?

#

😮

#

nah you should move here

winter iron
#

i wanna move out the uk

#

:/

quiet depot
#
  1. Find similar sites by searching "cool insert type sites reddit"
  2. Look at similar sites
  3. open paint and make a mockup
  4. create
  5. ask cube for opinions
  6. start from scratch with the brand new site design cube made for me
jovial warren
#

actually wait no, stay in fucking Germany, the UK is shit compared to there

quiet depot
#

nz cool

#

if u get nz citizenship u can travel between aus and nz without a visa or anything, no restrictions

jovial warren
#

the only nature you’ll find in the UK is idiots pushing you around rushing to work and polluted air that kills a few thousand a year

quiet depot
#
  1. wym nothing else
jovial warren
quiet depot
#

you realise new zealand is next to a fuck ton of paradise polynesian islands right?

#

also this big island called australia

#

bruh

jovial warren
hot hull
#

Why would you fuck a country

#

weirdo

jovial warren
#

I mean, better than the UK, but still trash xD

quiet depot
#

also 4h is wrong

jovial warren
#

lol

quiet depot
#

it'd be way longer

#

probably more than 8 hours

jovial warren
#

you’d get ousted by all the hard brexit supporters within days efe

#

pitch forks in hand

#

nah I’m kidding

#

come and visit the UK, yes

#

come and live in the UK, no way

#

€114? that’s nothing lol

#

come here then

quiet depot
#

bardy, as a bri'ish person

jovial warren
#

I’ll come and find you lol

quiet depot
#

can you please answer why so many bri'ish people move to aus

jovial warren
#

I’m messing that sounds creepy

jovial warren
#

efe I live just north of London, I could actually come and visit you if you come to London lol

#

no jokes

distant sun
jovial warren
#

it’s a 20 minute train to St. Pancras from where I live

quiet depot
#

lol

#

i'm on a huge island which only has like 6 major cities

jovial warren
#

come and book a hotel in north London lol

quiet depot
#

and the city i'm in happens to be the most isolated city in the world

#

how is scotland huge

jovial warren
#

go near St. Pancras, but not too near, since you’ll end up paying an arm and a leg

#

London, do it

#

as I said, come book a hotel near St. Pancras

#

but not in it, since you’ll end up paying an arm and a leg a night

quiet depot
#

idk much about nz, apart from they pronounce "deck" like "dick" and they all fuck sheep

#

kiwi

#

kiwi accent

#

not new zealandian

#

lmao

#

you think nz is hot

#

k then

#

we get those temps every summer where I live

#

yes

#

yes

#

it's not

hot hull
#

Can't wait for summer 😔

quiet depot
#

what?

#

yes

#

frosty why

#

oh right

#

forgot that summer just means slightly lower than room temp for you

hot hull
#

So I can get wasted and regret it the day afterwards

hot hull
quiet depot
#

yeah slightly lower than room temp

#

jk

hot hull
#

We've got perfect temps

quiet depot
#

why can't you get wasted in winter?

#

wait is your school system like the americans?

hot hull
#

Except winter, where it was like -10

quiet depot
#

where they just have one big holiday

hot hull
#

No

#

I don't want to get wasted

#

That's why :dab:

quiet depot
#

holidays are way more organised down here imo than northern hemisphere schools

hot hull
#

I mean we've got tons of holidays

#

And by that I mean no school

quiet depot
#

we get 2 weeks between each term, and 6 weeks at the end of the year (december to feb)

hot hull
#

Oh y'all got end of term in december?

quiet depot
#

these holidays align with things like easter, christmas, etc

#

yes

jovial warren
#

we get 2 weeks for Christmas and easter and 6 weeks in summer too

quiet depot
#

because christmas is our summer

hot hull
#

Yea makes sense

jovial warren
#

but we get an extra week in between terms called half term

quiet depot
#

way better than having summer in the middle of the year imo

compact perchBOT
#

There is no time to wait! Ask your question @obtuse gale!

jovial warren
#

so we get 13 weeks off a year

#

suck on that one pig

hot hull
#

I mean ain't our fault y'all live upside down

compact perchBOT
#
Reminders | List

You've got no current active reminders.

quiet depot
#

bardy we actually get like 18 weeks off

jovial warren
#

wait what

quiet depot
#

in upper years students also get 2 weeks off during exams

#

and then after the second set of exams, they usually don't go back

hot hull
#

I can't remember how long we get off, since it feels like vacation even when I am in school

quiet depot
#

not sure

#

either way like 16 weeks min

jovial warren
#

I finish on the 27th May and get until the start of September

hot hull
#

No

#

Then stop complaining hoe

#

smh

jovial warren
#

imagine having a life

hot hull
#

You think it helped you, but it didin't

jovial warren
#

I’ve spoke to people and they say that me spending all my time programming is sad

hot hull
#

Bardy, I love how people say that, and then literally work in a fucking fast food place for a living

#

I regret living, yet here I am lmao

#

desperate for what

quiet depot
#

for the good kush

hot hull
#

heh

#

Not right now, I got classes

jovial warren
#

mate, welcome to what life is really like

#

everyone feels like that sometimes

hot hull
#

all the time :dab:

jovial warren
#

no matter who they may be, we’re humans, we always have these times where things aren’t so good

#

too much is unhealthy of course, but so is not enough

winter iron
#

when i make a kotlin project, i can choose application or console application whats the differences

jovial warren
#

I mean, I realise I’m giving you the whole “it’s okay because everyone else suffers from it” BS, which doesn’t help me at all (not sure what it’s like for you), but I guess it’s all I can do

quiet depot
#

the good kush

jovial warren
#

what

#

wanna know what helped me?

#

love

quiet depot
#

reading wikipedia articles*

jovial warren
#

it’s good, until it doesn’t go your way, then it’s the worst

old wyvern
quiet depot
#

#off-topic emotional people it's time for yugi's c# enlightening

old wyvern
#

lol

#

Yea?

jovial warren
#

and I’ve had it twice, once I got hated by quite a few people and called a stalker, and once I pushed people away and I’m still trying to build up a friendship with her

old wyvern
#

ok

#

@quiet depot

#

Ok so

#

The conventions

jovial warren
#

off topic now

quiet depot
#

what do u like about them

old wyvern
#

Im not saying I like those specific convention over java's ones, but that it doesnt bother me to use them

quiet depot
#

It bothers me, as compared to java’s, they’re atrocious

#

they don’t do a sufficient job is making code clearer

#

iirc

#

some conventions, such as the IInterface one, are also completely illogical

old wyvern
quiet depot
#

yeah it is a lot of personal opinion

#

but there is a little bit of fact

old wyvern
#

Can you elaborate on how you feel it doesnt make it clearer?

quiet depot
#

I’ll try to keep to the fact

#

That’ll take a min, I’ll have to refresh myself with the docs

old wyvern
#

Sure

quiet depot
#

well

#

the lack of variety in naming convention for different language features certainly can’t be helpful, e.g. constants, classes, methods, all using pascalcase

stuck harbor
#
Now, some people will claim that having 8-character indentations makes the code move too far to the right, and makes it hard to read on a 80-character terminal screen. The answer to that is that if you need more than 3 levels of indentation, you're screwed anyway, and should fix your program
``` hehe
#

bloody torvalds

old wyvern
# quiet depot the lack of variety in naming convention for different language features certain...

Well ofc. But, you shouldn't expect another language to have the same conventions as Java itself tho. In C# you'd use camel casing for fields, pascal case for methods, properties, classes, upper snake case for constants.
As for the "I" prefix for interfaces, this convention doesn't particularly ruin readability in any form, but I do admit, it is redundant. It also seems so be something that even quite a few Java developers seem to randomly use.

prisma wave
#

Go conventions are clearly the best

stuck harbor
#

hehe

old wyvern
#

I could see you also not liking haskell's bracket and statement end style in a similar way if you were to just consider it in a similar fashion

{
;
;
}
stuck harbor
prisma wave
old wyvern
#

I mean it isnt a requirement there ig anyway

prisma wave
#

Yeah it's like writing semicolons in python

#

Weird

old wyvern
#

Down the hill with Allman

#

GoLang!

prisma wave
#

🥴 I meant the naming conventions

#

but sure

old wyvern
prisma wave
#

I guess

#

☹️

old wyvern
#

naming conventions... wlell xD

#

camel for private pascal for public

prisma wave
#

Actually they're not really a convention in Go, more of a requirement

stuck harbor
#

go is regular CamelCase, isn't it?

old wyvern
#

yup

prisma wave
#

sometimes

old wyvern
stuck harbor
#

but u can use lower

#

but it would do something

old wyvern
#

camel for private, pascal for public

stuck harbor
#

i forget

prisma wave
#

UpperCamelCase is for public, lowerCamelCase for "internal"

stuck harbor
#

ohhhhh yeah

old wyvern
#

Casing is the access modifier there

stuck harbor
#

i remember bitching about that

#

cause its dumb

prisma wave
#

nah it's kinda cool

stuck harbor
#

meh i dont like making the name affect the bloomin' visibility

lunar cypress
#

yeah that's stupid

prisma wave
#

😖

old wyvern
stuck harbor
#

torvalds quote time: To call a global function foo is a shooting offense.

#

torvalds has such strong opinions in this doc about linux coding styles

old wyvern
#

I had the perfect game for frosty

#

But it aitn compiling anymore

#

🥲

hot hull
#

huh

stuck harbor
#

sadge

old wyvern
#

Infinitely jump of a building

prisma wave
#

C# on the other hand

old wyvern
#

What in the bloody hell is the "error" here?

#

xD

#

That "All rights are reserved"?? 😂

lunar cypress
#

that's it. your permission to click on buttons in unity is revoked

old wyvern
#

lmao

lunar cypress
#

on a depressing note: microsoft might be buying discord

stuck harbor
#
The first rule of C is don’t write C if you can avoid it.
old wyvern
#

Discord to replace skype atleast then?

stuck harbor
#

lol

#

discord merge with teams

lunar cypress
#

they're just gonna run it into the ground as well

old wyvern
#

Coz this piece of shit is not leaving my pc even after uninstalling it

stuck harbor
#

hehe

hot hull
stuck harbor
#

remember when discord said they would never be aquired?

#

haha

#

sure bud

obtuse gale
hot hull
stuck harbor
#

aye

#

would u pass up 10 billy?

hot hull
#

nein

#

well I mean depends on the terms

stuck harbor
#

meh i would take any terms

#

right so

#

u need to dump it to a file sometimes

#

but keep it in memory also

#

memory is volatile

#

so u wanna dump shit outta it when ur about to shutdown

obtuse gale
#

store in cache then save on disable or autosave or whatever

stuck harbor
#

autosave better

#

some people improperly shutdown

#

cough server owners cough

obtuse gale
#

^ I do both

hot hull
#

You know whos worse iwanio

#

People who use plugman

stuck harbor
#

oh no

hot hull
#

on a fucking production server

stuck harbor
#

oh no

dawn hinge
#

ew

stuck harbor
#

oui

#

apart from class, i don't like classes

#

but you know that

#

use gson to push to json

#

sometimes

#

yeah?

hot hull
#

weak

stuck harbor
#

mine is so flat

#

i do like an hour daily

#

cause im busy

hot hull
stuck harbor
#

sheesh

hot hull
#

This, this is the sad part

stuck harbor
#

im too weak

#

i cant do shit

hot hull
#

I need to go through all the reports and make a excel graph

#

no

#

absolute dogshit

stuck harbor
#

it really isnt

#

also

#

events

#

how many should i use

#

rn i have 8 in this small ass plugin

#

so im not sure

hot hull
#

elaborate

stuck harbor
#

but i think im overdoing it a bit

#

like i made events for everything

hot hull
#

Nah, no such thing as overdoing it if it's cleanly made

stuck harbor
#

k

#

how so?

#

oh hell yeah

#

i just noticed

#

its been 1 year since the first UK lockdown

#

anniversary time

#

not in the UK

#

u nerd

#

shut

#

ill send u a copy of pax brittanica

#

well did u invade half the planet, hm?

#

i think not

#

👀

#

'future'

#

we don't understand that here sir

#

hm?

#

oh also efe

#

how many universities in the top 10 globally do u have?

#

sucks to suck

#

we have them all

#

all of them

#

lol yeah

#

oxford

#

cambridge

#

ucl

#

icl

jovial warren
#

London good

stuck harbor
#

oh yeah

#

yeah

jovial warren
#

oh yeah because California is in the UK lol

stuck harbor
jovial warren
stuck harbor
#

lol

#

stonks

#

munich sounds fun

#

i would rather go to vienna tho

#

much better

jovial warren
#

wonder where Oxford and Cambridge sit on those lists

stuck harbor
#

1 and 3

whole pecan
#

anyone want be friends chat

jovial warren
#

I swear those universities are the only things Oxford and Cambridge are known for lol

stuck harbor
#

since forever

#

oxford is always the best

jovial warren
#

Oxford is one of the best universities

stuck harbor
#

oxbridge is shit

#

man

jovial warren
#

apparently in the world

stuck harbor
#

ofc

#

ucl is 15th apparently

#

nice nice

#

sure

jovial warren
#

with pleasure

stuck harbor
#

uh no

#

no u don't

jovial warren
#

formula

stuck harbor
#

^

#

write a formula

jovial warren
#

look for a pattern

stuck harbor
#

do maths

#

well just increase variable i by 20%

old wyvern
#

100 + (n-1) * 200

stuck harbor
#

the number

old wyvern
#

The value you're switching

jovial warren
#

the number

old wyvern
#

base case

stuck harbor
#

percent is per cent efe

#

per cent in latin

#

per 100

#

p much

old wyvern
#

That method name tho

stuck harbor
#

should be @NotNull final

#

i don't see many finals there efe

#

thats not very kotlin of you young man

hot hull
#

so kotlin never <o/

jovial warren
#

mutable parameters hint at bad code

#

change my mind

hot hull
#

no need

stuck harbor
#

uhhh

#

mm

#

possibly?

#

as we say here

hot hull
#

currentLevel, currentLevel+1
why tho

stuck harbor
hot hull
#

well yea if you use +1 why don't you just do that inside the event lol

stuck harbor
#

yeah

#

this.newLevel = oldLevel++

#

no?

hot hull
#

++oldLevel

#

<o/

prisma wave
#

++

stuck harbor
#

oh

#

shut

#

im perfect at java

#

java is the wrong one

hot hull
#

who

stuck harbor
#

useless methods good

jovial warren
#

oh btw guys, are chunks cacheable?

stuck harbor
#

methods should be short and simple

hot hull
#

ha gae

stuck harbor
#

sus

jovial warren
#

I’m on my school iPad lol

tropic mountain
#

hello folks

#

I'm having some trouble with my code

#

I'm quite new so sorry if it's weird

#

what am I doing wrong?

oblique heath
#

you have a NPE happening on line 43 of your FirstProject class

tropic mountain
#

public void registerCommands() { getCommand("reclaim").setExecutor(new ReclaimCommand()); getCommand("spawn").setExecutor(new SpawnCommand()); getCommand("Staff").setExecutor(new StaffCommand(this));

#

those are the ones

oblique heath
#

which one is line 43

tropic mountain
#

Last one

oblique heath
#

getCommand("Staff") is probably returning null

#

probably because you capitalized it

tropic mountain
#

Alright let me see

#

getting the same error

dawn hinge
tropic mountain
#

true

oblique heath
#

that would do it

tropic mountain
#

Many stuff to do to get 1 command working

#

pain

hot hull
#

If you think this is pain, then sheesh

dawn hinge
#

Let's not sad_fingerguns

hot hull
#

This is as simple as it gets

tropic mountain
#

It's painful for me

#

since I'm a beginner

#

I can't imagine how hard it gets

oblique heath
#

efe just whip out your graphing calculator, enter the numbers you want, and make it create a formula to match that

hot hull
#

make it yourself smh

jovial warren
#

oh btw guys, do you lot think I should add a services manager into Krypton to allow you to pass instances back and forth between plugins (e.g. an API)?

old wyvern
#

(200/50) * level?

#

Yeet yourself

#

yes

#

You said 200%....

jovial warren
#

I mean, Bukkit and Spinge both have a services manager, so it’s not all that bad in terms of ideas

old wyvern
#

.

#

xD

#

then do 400/50?

#

ok

#

👍

hot hull
#

Why hardcoded formula tho

dawn hinge
hot hull
#

RSP over static anytime

tropic mountain
#

What's a service manager?

hot hull
#

a manager which makes using api's from different plugins easier

tropic mountain
#

Oh alright

jovial warren
#

will probably be Bukkit’s with more Kotlin things

hot hull
#

I hate the fact that I'm gonna have to use kotlin if I wanna make krypton plugins ;C

dawn hinge
#

Yeah but probably worth it

jovial warren
#

e.g. server.servicesManager.providers[LuckPerms::class.java]

jovial warren
hot hull
#

That's why the have

jovial warren
#

I will add limited Java compatibility, but it may look horrible in Java and I won’t go out of my way to make things better for Java users

hot hull
#

Exactly my point

old wyvern
#

Imagine writing plugins

hot hull
#

Yugi, where's my terrain visualizer

old wyvern
#

lmao xD

#

I got busy dude

#

Ill start on it dw

hot hull
#

I mean I've done jack shit since the last push so :kek:

old wyvern
#

My uni is killing me with the amount of stuff to do rn

#

I have my project review in 3 days and we havent even started making the game

hot hull
#

Bruh then start

old wyvern
#

Yes

#

But

stuck harbor
#

haha just dewit

hot hull
#

No but's

stuck harbor
#

make it in F# with monogame

old wyvern
#

Unity is being shit

hot hull
#

Unity is being a complete asshole

stuck harbor
#

👏mono👏game#

hot hull
#

agreed

old wyvern
#

Oh I think I fixed it

#

Not sure

stuck harbor
#

unity bad
correct

old wyvern
#

Ok games started to atleast run now

tropic mountain
#

What game you making

stuck harbor
#

yugi use C

jovial warren
#

I mean, what happened to you liking Kotlin anyway @hot hull

stuck harbor
#

we all love C

old wyvern
#

@hot hull there we go

#

Old random game, drop to death without ever dying

jovial warren
#

also, I might just make my own world generator from scratch anyway, since I kinda wanna learn this myself anyway

hot hull
#

Where's the fun in not dying

old wyvern
#

You could hit a few cloths and die i guess

#

but currently you just get negative points

#

🥲

jovial warren
#

lol

old wyvern
#

That character was drawn in the one and only, PAINT

hot hull
#

As it should have been

jovial warren
#

in Kotlin btw

old wyvern
#

😌

old wyvern
jovial warren
#

and open-source

hot hull
#

yes

old wyvern
#

Add haskell suppourt

#

Or no plugin 4 u

hot hull
#

have the generation run in sql

old wyvern
#

We boycott krypton if no haskell suppourt

jovial warren
#

about time an open source world generator existed

hot hull
#

There's plenty OS ones tho?

jovial warren
#

no?

hot hull
#

uh yes?

half harness
#

👀

jovial warren
#

Frosty I found your senpai

forest pecan
#

finally

#

a game that satisfies me

tropic mountain
hot hull
jovial warren
#

all of the algorithms, all there

#

it might be better to write things like world gen in Java actually, since you have better control over things like variable types, and bit shifting

stuck harbor
#

pfffffft

#

try it in clojure

jovial warren
#

e.g. bytes work much better in Java, since a lot of things that exist for bytes in Java just don’t exist in Kotlin

stuck harbor
#

do it in C then

#

if u want to manage all the memory

#

C++23

forest pecan
#

or rust

stuck harbor
#

or rust

jovial warren
#

I mean, I could go all out and write it all natively in C

#

JNI though is horrible

stuck harbor
#

use go

#

scales well

forest pecan
#

use jna

#

or

lunar cypress
#

If you control the C code, is there any benefit to that?

stuck harbor
#

Yugoslav People's Army?

jovial warren
#

it’s a matter of whether JNI’s performance is actually worth writing it in C

lunar cypress
#

What is it that you consider writing in C specifically

stuck harbor
#

do it in C++ :)))

#

we all love C++ here

forest pecan
#

if its good native code it will definately run faster than just normal java

stuck harbor
#

mmhm

forest pecan
#

this is also assuming for

#

jni

#

and jna

jovial warren
stuck harbor
#

use wavefunction collapse tho

jovial warren
#

and anything else that might be nice for me to do natively

stuck harbor
hot hull
#

sql! sql! sql!

stuck harbor
#

woot

jovial warren
stuck harbor
jovial warren
#

oh btw, you know you also need to assign temperature values to your map for biome generation?

hot hull
#

My phone updated and now all apps keep crashing lmao

jovial warren
#

because yes, temperature

#

ffs this iPad is so tedious

hot hull
#

well yea Bardy

jovial warren
#

I meant to say because yes, Minecraft has temperature and humidity

#

mind blown

hot hull
#

and then you need a seperate map for structures, dungeons, etc

#

and then your 500 different block populators

jovial warren
#

yep

#

all I need is all of the heightmaps and the block states for each chunk section

#

I’ll handle lighting lol

#

will probably use Starlight tbh

hot hull
#

oh the things I need

jovial warren
#

you need to be able to take quite a few params and turn them into numbers lol

old wyvern
forest pecan
#

finally

#

a realistic game

#

Issac Newton's laws were never true

old wyvern
#

You're not actually going up tho

#

You're only moving the visible window

forest pecan
#

well yea

#

you stay in place

old wyvern
#

wdym?

forest pecan
#

oh nvm

old wyvern
#

If you meant that the player isnt actually movign at all, yes

#

except for left and right ofc

forest pecan
#

Yeah

#

Also random question but

#
      final File app = new File(diskPath, "/Applications/VLC.app");
      app.setReadable(true);
      app.setExecutable(true);
      app.setWritable(false);

or

    final String[] command = {"chmod", "-R", "755", "/Applications/VLC.app"};
    final Process proc = RUNTIME.exec(command);
    return proc.waitFor();
#

should i use the first one or second one?

#

This is assuming my os is always mac

#

(only in this case)

jovial warren
#

proc ew

forest pecan
#

I have to use process for unmounting and mounting commands

jovial warren
#

use non abbreviated variable names

#

I swear, I should write up an entire convention at this point, I mean, I do enough complaining about other conventions

#

The official Bardy conventions lol

stuck harbor
#

mm

#

beat torvalds

forest pecan
#

well if i had multiple

#

lol

jovial warren
#

Single line if statements good
Expression functions good
Non abbreviated variable names good
Prefer properties over getters and setters everywhere (Kotlin)
Use 4 spaces for indentation

#

and the list goes on

forest pecan
#

well that is different from google's style guide already lol

jovial warren
#

Yeah ik

#

I hate that guide

#

It's horrible

#

2 space indent

old wyvern
#

Jump off a clip

#

🥲

jovial warren
#

Start a new type declaration with an empty space

#

That one will annoy @quiet depot

quiet depot
#

example

prisma wave
old wyvern
#

But... But...

#

😩

prisma wave
#

It's ok when Haskell does it 🙂

jovial warren
#
class MyClass {

    val myValue = false
}
old wyvern
#

Exactly

quiet depot
#

oh yeah that's aweful

jovial warren
#

If you use horizontal alignment you should jump off a cliff though

old wyvern
jovial warren
#

Facts

old wyvern
#

Please burn my eyeballs

jovial warren
#

These are my conventions lol

old wyvern
#

I see,
They belong in the trash can

jovial warren
#

I think that not having that space just looks awful

#

I just don't like it

#

The class and the declarations aren't friends

quiet depot
#

shower thought, matter is just vertices, edges and sides of a structure with an arbitrary number of dimensions called the universe, energy is just tension in the folds

old wyvern
#

Then have another dpace after the fuckin property

#

This is just asymmetric

jovial warren
#

True

#

Welcome to my fucked up conventions though lol

forest pecan
#

splish splash

#

ur opinion is trash

#

/s

jovial warren
#

It was pretty painful writing in piggy's conventions for DocDex lol

#

I just don't like not having a space at the top

quiet depot
#

my conventions are superior

jovial warren
#

Idk why I just don't like it

#

It just doesn't feel right

quiet depot
#

2 parameters per line

#

that's an important one

jovial warren
#

No

old wyvern
#

What

forest pecan
#

no

old wyvern
#

Wait like you split lines every two parameters?

jovial warren
#

If declaring your parameters goes over the maximum line length you set in IJ, you should have one per line

quiet depot
#

yes

forest pecan
#

1 parameter per line, or sort them evenly based on what makes sense per line, or all of them on one line if it's fitting

quiet depot
#

when declaring parameters yugi

forest pecan
#

for example, certain parameters may match together

quiet depot
#

not when calling a method

old wyvern
#

But that still looks a bit off right?

jovial warren
#

E.g. ```kotlin
data class Person(
val name: String,
val age: Int
)

#

That is superior

forest pecan
#

🥲

jovial warren
#

Really readable

old wyvern
#
public void something(String s, Integer i,
       Long l, Double d)
forest pecan
#

that feels wrong lol

prisma wave
#

Conventions that only one person uses sounds like a bit of an oxymoron...

jovial warren
#

Piggy your parameter conventions are actually cursed

forest pecan
#

lol

#

all your conventions are cursed

quiet depot
#

looks like this:

public final class Person {
    public Person(@NotNull final String firstName, @NotNull final String middleName,
                  @NotNull final String lastName, final int age) {

    }
}```
old wyvern
#

Ill have a look at thag once i get on pc

jovial warren
#

I mean, I abide by Kotlin's official conventions, since they are open enough

old wyvern
#

It looks weird on phone

onyx loom
#

what the hell is that pig#

forest pecan
#

what's wrong with 2 space indents tho

jovial warren
#

Turn your phone sideways Yugi

quiet depot
old wyvern
#

Oh wait yes

#

One sec

jovial warren
#

Then you get to see that curse

forest pecan
#

cursed af

#

lol

onyx loom
#

disgusting

quiet depot
#

2 spaces only works for html, css, and sometimes js

jovial warren
#

Yeah pig you are about the only one who uses those cursed params

old wyvern
quiet depot
#

lol

#

no yugi

#

2

forest pecan
#

why 2

old wyvern
#

Similar to what you would do for long parameters in kotlin

forest pecan
#

lmao

quiet depot
#

because 2 will very rarely go past the border

#

and 1 takes too much space

#

2 is the perfect number

jovial warren
#

You are weird

#

Very weird

prisma wave
#

apparently Lombok alleviates some of the issues here

#

Might be worth looking into

old wyvern
#

I guess it doesnt look too bad

#

I kinda ussually end up spliting it up per line

quiet depot
#

lombok alleviates my heart rate to dangerous levels

#

too risky

old wyvern
#

Lol

quiet depot
#

my face after looking at lombok ridden code...

#

could probably blend in with the tomato stand

old wyvern
#

Delombokify PlusOne

jovial warren
#

Lol

old wyvern
#

I like how jetbrains decided that eas very important

#

Its not even a separate plugin

jovial warren
#

Replace Lombok with Kotlin fingerguns

old wyvern
#

Its built in

#

😂

quiet depot
#

oh

#

i also don't annotate fields with jetbrains annotations

old wyvern
#

Not nulls??

quiet depot
#

not nulls go on parameters and return types

jovial warren
#

Kotlin is everything Lombok wishes it was

#

Facts

old wyvern
#

It also doeson fields

quiet depot
#

yes it can go on fields

#

but it doesn't

old wyvern
#

Or kotlin infers the type as a platform type

quiet depot
#

not in my code

old wyvern
#

🥲

static zealot
#

oh boys my VPS is back

quiet depot
#

also everything is final

#

except inherently final things, and things that shouldn't be final design wise

#

such as exceptions in try/catch

prisma wave
#

smart casting in java

hot hull
#

final everything!

winter iron
#

how i use enum from one module in another?

quiet depot
#

i don't annotate generics (because it's too ugly)

forest pecan
old wyvern
#

You might wanna add NotNulls and Nullables to fields too tho, atlest if you want kotlin to play nicely with it later on

quiet depot
#

caught exceptions are guaranteed to be not null and final

jovial warren
#

Yeah please use nullable annotations to stop Kotlin converting stuff to platform types

quiet depot
#

does kotlin ignore getters?

#

and my access modifiers?

#

if kotlin ignores my explicit private keyword then I couldn't care less about supporting it

#

that's a sus design choice

old wyvern
#

Oh true it might infer from the getter

quiet depot
#

the only public fields I have are constants

#

will kotlin convert constants to platform types without a notnull?

jovial warren
#

It infers nullability from getters yeah since that's what it calls

quiet depot
#

ok well then it's fine, as all getters are annotated accordingly

old wyvern
jovial warren
#

The compiler remaps getters to properties for access in Kotlin

#

Then when it does compilation, it maps all properties to getters and setters

#

The Kotlin compiler is insanely smart

#

It makes the Java compiler look like it hasn't been updated since the 90's

old wyvern
#

Why so?

lunar cypress
#

ah yes

#

the language has its own features

forest pecan
#

I feel like that is just a nice thing?

#

not really like comparable to other languages

#

lol