#dev-general

1 messages · Page 272 of 1

static zealot
#

o

#

why do you code a roblox game?

regal gale
#

For my kids

#

17

static zealot
#

wait what?

#

kids. 17. what?

regal gale
#

I have a younger brother....

#

How does it not make sense thonking

static zealot
lunar cypress
#

"my kids" gives the impression that you're a father of multiple children

steel heart
#

17 kids

static zealot
#

it rly does

steel heart
#

that's a lot of children

obtuse gale
#

how ood are you

#

probably older than me

static zealot
#

he's way odder than you

#

but not older

regal gale
static zealot
static zealot
obtuse gale
#

o

#

ok yeah his younger than me then

regal gale
#

In case for someone who doesn't know what my minigame is about, it's a minigame which people have to avoid tiles running in waves

static zealot
#

so musical chairs but no chairs

regal gale
#

Each wave will be a specific pattern running, lasting around half a minute for each, and in sync with music if possible

#

Touching death tiles (red by default) will cost damage

#

Other colors are fine

#

The main core of this development is the pattern idea and coding

#

And coding needs a lot of math..

static zealot
#

k then gl

half harness
#

roblox 🤢

forest pecan
#

So I got this issue where its kinda like a round-off error

#

like when i make a loop involving double:

#

for (first = 2d; first <= 10000; first += 0.1d)

#

On the third iteration, it turns into 2.3000000000000003

#

and im like wtf lol

#

i don't assign first anywhere in my code

#

i only increment it in the loop header

steel heart
#

BigDecimal

#

maybe

forest pecan
#

bruh

prisma wave
#

0.1 + 0.1 + 0.1 is 0.3000000000000000000000003

forest pecan
#

Aww man

prisma wave
#

it's a precision error

forest pecan
#

Yeah

steel heart
#

strictfp 😮

forest pecan
#

i remember

#

in my java ap textbook

prisma wave
forest pecan
#

they had this formula

#

to help avoid this

steel heart
#

whats strictfp for then?

prisma wave
#

bigdecimal works around it I think

forest pecan
#

bigdecimal loops tho 💀

#

xD

prisma wave
#

strictfp, afaik, ensures that the same floating point algorithm is used, no matter the JDK

#

it's something like that

steel heart
#

ah

prisma wave
#

it guarantees the result will be the same across all platforms

steel heart
#

oh well

#

what a bastard

prisma wave
#

if we don't use it, JVM is free to use any extra precision available on the target platform hardware.

#

A popular real-world use-case for it is a system performing highly-sensitive medicinal calculations.

forest pecan
#

so i have to use bigdecimal?

prisma wave
#

probably

forest pecan
#

i guess google forces me to this

#

lol

#

i found the formula

#

oh nvm

#

yeah

#

rip hm

#

well

#

it got the job done

#

but its very ugly

steel heart
#

anyone that wanna take part in a lombok discussion?

static zealot
#

?plsnolombok

compact perchBOT
#
FAQ Answer:

Why is Lombok bad?

  • It's a compiler hack - the Java compiler isn't designed to modify code, so it can cause difficult to debug errors, or worse
  • It requires an IDE plugin, so unless you've properly configured Maven, Gradle and your IDE, you'll get hundreds of compilation errors. This process takes time too, it's not easy
  • Lombok'd code won't show in Javadocs
  • The code generation is often unpredictable and difficult to debug, and often you'll have to do it "the hard way" anyway
  • Java is supposed to be explicit, Lombok hides a lot of key functionality into a subtle annotation which can be easy to miss
  • While IDEs support it with a plugin, it's usually more difficult to find specific things, like usages of a getter because they don't exist in the source code
  • Finally, Lombok'd bytecode doesn't match the source code, so it causes a pretty annoying warning in IntelliJ
steel heart
#
  • Enforces everyone that touches your code to use lombok
  • Not meaningful, it simply provides a tiny if no shortcut and IDE can simply generate something similar.
surreal quarry
#
  • Just use kotlin
steel heart
#

^ if you only have @Getter for generating getters, the chances are that the method only acts like a vessel on the object meaning that you could technically use a public field.

surreal quarry
#

generally you dont wanna use public fields in java right? make things private and add a getter

steel heart
#

yeah

#

I mean it's encapsulation principle

#

data hiding

#

but just theoretically

surreal quarry
#

yea

#

true

prisma wave
#

no

steel heart
#

hm?

#

surely forgot something

#

lost all my braincells there

forest pecan
#

apparantly foo bar problems are public

#

i was so stuck on this one cause i had to know angular velocities and im like wtf

#

when do i ever need to study gears in life

#

lol

steel heart
#

...

forest pecan
#

im not writing in python

#

im using that for the logic

#

lol

#

though python has a Fraction class

#

idk why java doesnt have that

#

😦

lunar cypress
#

It's weird to do in a statically typed language

static zealot
#

is gson good?

half harness
#

my json class is da best 🙂 even tho i never tested it yet

steel heart
static zealot
#

k. time to learn how to use it I guess

steel heart
#

its epic

surreal quarry
#

its really easy to use

prisma wave
lunar cypress
#

bcs fractions own a weird spot in the numerical tower. If you divide two ints, should it always be a fraction? And what would the coercion rules be? After all, most of the time you can't convert fractions to int or double without information loss. So you'd have to write methods specifically for fractions/other types

prisma wave
#

Hmm good point

#

You could always return a Fraction and require explicit conversion to a double or int

#

But yeah I see the issue

lunar cypress
#

yeah you can make it work and I haven't thought it completely through but I don't think there are many statically typed languages doing this

#

challenge for elara?

prisma wave
#

hmmm

#

Tbf we have a slight advantage

#

In that we can do like type Number = Fraction | Float | Int, any division returns that, and then all the math methods use Number

#

Ik that's just inheritance

#

But

#

I think it would work

#

Theoretically

lunar cypress
#

try it 🤷

prisma wave
#

yeah sounds like it's worth a try

subtle lynx
#

reflecting on when I was learning java, I've decided that static variables/methods were the worst part of learning, but not because they were hard to understand. I had some people telling me to never, ever use static unless I really had to and others saying that using it a bunch was just fine if it was easier and it was really hard to sort through the advice and find an actual definition for when static should be used

prisma wave
#

never never never ever use static

subtle lynx
#

go away

prisma wave
#

😊

#

Well the problem is

#

When you're new

#

Unless you understand it, it's super easy to abuse it

#

So it's easier to just say "never use it"

#

Cuz good luck explaining static to someone that doesn't know what an object is

heady birch
#

"You should never ever use static under any circumstances except when suitable".

prisma wave
#
  • development, 2020
hot hull
#

"and others saying that using it a bunch was just fine"
Every spigot dev ever

#

Most*, saying every is false

steel heart
#

I use static for everything

#

Stop offending me

#

My 12 param util method actually works!!!

prisma wave
#

"Kotlin bad, static good, spigot is well designed, the single responsibility principle doesn't exist, Eclipse is better than Intellij"

steel heart
#

Lol

oak raft
#

"oh yeah, and eclipse > intellij"

prisma wave
#

oh yeah ofc

oak raft
#

thanks

half harness
#

do u guys prefer eclipse or netbeans
and don't say none
just curious 😄

steel heart
#

Netbeans

#

What the fuck

hot hull
#

Fuck off with both is the official answer

oak raft
#

obviously eclipse

half harness
#

hmm ok thx

steel heart
#

NetBeans is barely integrated development environment in my opinion

prisma wave
#

JetBeans

#

NetBrains

#

🙃

heady birch
lunar cypress
#

I bet it's just as fun as Eclipse RCP

heady birch
#

Yes in the fact that I couldn't get either working 😦

prisma wave
half harness
#

eclipse is easy for new devs though

prisma wave
#

no it's not

half harness
#

because 99% of tutorials use eclipse

prisma wave
#

That's their problem

half harness
#

if u dont finish ur tutorial by the end of this week then I'll just record it with google translate voice

steel heart
#

No because eclipse is the cause of eclipse fanboys

half harness
#

then get @weary epoch to edit

forest pecan
#

i eat static

#

now im ded

heady birch
#

public int hashCode() {
return ThreadLocalRandom.current().nextInt()
}
My new hashing method. Collision-free guarentee!

prisma wave
#

outstanding!

heady birch
#

What year is that laptop from. Can see a parallel port lol.

prisma wave
#

idk, probably quite old

#
Know Your Meme

Take It Easy, Globehead, They're Just Flat Earth Memes refers to a series of snowclone memes based on an image of actor and retired professional wrestler Dwayne "The Rock" Johnson making a "palm down" gesture. Utilizing Take It Easy, X, They're Just Y snowclone, the memes are often used to ironically mock the opponents of religion, conspiracy th...

heady birch
#

Doctor Who.

prisma wave
#

?

heady birch
prisma wave
#

that's not doctor who lol

heady birch
#

yeah but it is doctor who.

prisma wave
#

ok

ocean quartz
#

A bit random but, 10 most loved languages according to stackoverflow in 2020

heady birch
#

Correct
This is what a fair and just comparison looks like.

prisma wave
#

RUST

ocean quartz
heady birch
#

This looks fake
Official sources would put rust higher up!

ocean quartz
#

The top 5 most loved is very understandable tbh

heady birch
#
  • Me, who has used rust a couple of times but doesn't do any projects in it because I don't even know lifetimes ☹️
prisma wave
#

all the circlejerky languages

#

apart from haskell

heady birch
#

Rust is kind of weird. you wouldn't think everyone would love it, but I love it, loads of people love it, in fact, no one loves Rust more than me.

prisma wave
#

people love it because they were depressed C++ developers

#

and rust gave them hope

forest pecan
#

why is python so high

#

it shouldnt be that high

ocean quartz
#

Yeah i think so too, is like better c++

forest pecan
#

i mean i agree it should be one of the bigger ones

ocean quartz
#

What's wrong with python?

forest pecan
#

idk 30% is quite big

#

nearly double the one before

ocean quartz
#

It's one of the easiest languages and you hardly ever have issues with it so understandable that people that use it love it

static zealot
ocean quartz
#

Oh wait you're talking about the wanted, i mean python is the most popular language, the amount of jobs for it is insane

forest pecan
#

Kotlin is higher than java

#

lol

ocean quartz
#

Ofc it is

#

Why wouldn't it?

static zealot
#

is Kotlin more used than java?

lunar cypress
#

read what the survey is about

#

"most wanted" does not mean "most used"

static zealot
#

o

#

where is the article?

ocean quartz
heady birch
#

Rusty Spigot

ocean quartz
#

Kotlin is like 18th most used

static zealot
#

Johnny I didn't see the images, I just saw what Pulse said and assumed that he means in terms of usage.

distant sun
#

52% of respondents think “Hello, old friend” when they search for a coding solution online and find that the first result link is purple because they’ve already visited the link.
haha this is cute xD

#

who the f uses VB

ocean quartz
#

Microsoft

lunar cypress
#

Like, duh, it's the StackOverflow developer survey

#

what do you expect

ocean quartz
forest pecan
#

Lol

ocean quartz
#

No idea lol

steel heart
#

final @NeveR#8326Null Map<@NeveR#8326Null Class<@NeveR#8326Null ? extends List<@NeveR#8326Null ?>>, @NeveR#8326Null Collection<@NeveR#8326Null CompletableFuture<@NeveR#8326Null ?>>>

#

Oops

prisma wave
#

lmao

ocean quartz
#

Gj lol

forest pecan
#

@steel heart you have 2 followers but follow 1200 people

steel heart
#

Yeah I removed everyone

#

Except math teacher

forest pecan
#

wait wy

#

lol

steel heart
#

Idk

#

Ppl stalks too much

ocean quartz
#

Lovely annotation lmao

steel heart
#

Heh

prisma wave
#

Finally, let's bang this class out and then we can get to the factory factory implementation and then it'll only be a few more abstractions until I can get to the real stuff

🥲

steel heart
#

lol

old wyvern
#

new FactoryBeanProviderWithASliceOfMozzerellaAndThickCrustSupplierProvider

hot hull
#

THICCCC

lunar cypress
onyx loom
#

wow frosty

#

hiding the username

prisma wave
#

Kat maddox makes some great posts

lunar cypress
#

truth

distant sun
#

any idea why on cpp when I set an int variable through a setter to 100 and then print it to console it shows 100 but next time I try to use that value it is 0?

lunar cypress
#

code?

distant sun
#

sec

stuck harbor
#

probably a pointer flipping the xor into the GDPR sql query

#

big bran

heady birch
#

You need to use rust. I bet this would not happen in rust.

lunar cypress
#

In fact, nothing can happen in Rust since you never get past compile time

distant sun
#
    // Deposit money into an account
    void deposit(int sum) {
        this->balance = this->balance + sum;
    }```
Cant really show code cuz it's too big but I have a deposit and withdraw method and it one I do `Account#deposit` and in the other `Account#withdraw` but somehow the balance stays 0 even though after deposit it is 100
lunar cypress
#

what type is balance

stuck harbor
#

cosmic radiation is flipping the bit

distant sun
#

int

lunar cypress
#

and we do need more code please

stuck harbor
#

defo

distant sun
#

ok johnny

lunar cypress
#

especially withdraw and the callsite

stuck harbor
#

banks actually have protection against cosmic radiation flipping bits in bank balances

#

don't want £100 to become £100 million lol

steel heart
#

omg

#

finally done

#

pls review

distant sun
#
class Account {
private:
     string name;
     int balance;

public:
    void deposit(int sum) {
        this->balance = this->balance + sum;
    }

    void withdraw(int sum) {
        this->balance = this->balance - sum;
    }

    int getBalance() {
        return this->balance;
    }
}

// It is more than that
void deposit(string accountName, int sum) {
    for (auto &it: list) {
        //check if the account name is 'accountName'
        it.deposit(suma);
    }
}

void withdraw(Account account, int sum) {
    if (account.getBalance() < sum) {
        cout << "Not enough funds" << end;
        return;
    }

    account.withdraw(sum);
}

int main() {

    Account account;
    deposit("test", 100);
    withdraw(account, 100);

    return 0;
}```

Something _like_ this
ocean quartz
lunar cypress
#

The top level deposit and withdraw functions are call by value

distant sun
#

and what does that mean?

lunar cypress
#

It means the account is copied and then passed to the function

distant sun
#

the value is not updating?

lunar cypress
#

you want to pass a reference

distant sun
#

great

#

& or *

lunar cypress
#

&

distant sun
#

fuck pointers

lunar cypress
#

no need for a pointer here

distant sun
#

you know what I mean

#

actually, hmm

subtle lynx
#

supposedly, pointers are one of the best things ever

#

I've never used em though

tranquil crane
#

Pointers are both really cool and never seem to like cooperating

ocean quartz
#

Damn, you're moving up on your shitposting

steel heart
#

no

#

I'm serious

onyx loom
#

version infinity

steel heart
#

can someone just 5 star it

#

pls

#

I worked so hard

onyx loom
#

Contributors: Conclure and every spigot developer

#

omg

#

this is a masterpiece hahaha

steel heart
#

ikr

onyx loom
#

i love it and hate it at the same time

prisma wave
#

holy shit

distant sun
#

@lunar cypress The thing is, the method I run before withdraw() is most of a transfer between accounts, I get the accounts by their id (string) from a list and then attempt to remove the sum from first and add it to second

Account sender;
Account receiver;

for (auto &it: accounts) {
    if (it.id == sender.id) {
        sender = it;
        continue;
    }

    if (it.id == receiver.id) {
        receiver = it;
        continue;
    }
}

sender.withdraw(sum);
receiver.deposit(sum);```
If I debug receiver.getBalance() inside this method it shows the right value but when I call it from another method on the same account is still 0, I understand is something to do with references and such but I don't know the format =/
prisma wave
#

@steel heart implementing that many interfaces should be illegal

steel heart
#

lol

#

Im gonna make the best api now

lunar cypress
distant sun
#

ok but how do I do it right 😦

lunar cypress
#

sender and receiver should be of type Account&

distant sun
#

Declaration of reference variable 'sender' requires an initializer

steel heart
#

what is greater than infinity

prisma wave
#

infinity + 1

distant sun
#

infinity^infinity+1

steel heart
#

Hmm I need somehting more verbose

lunar cypress
#

There are things that are greater than infinity

#

for instance you might have an infinite vector space but it becomes infinitely bigger the more dimensions you add

half harness
#

lol

#

bot = discord bot

lunar cypress
#

I think

distant sun
#

idk how 😦

lunar cypress
#

haven't done enough c++ for this but can't you just declare it as a pointer and grab a pointer instead of a reference in the loop

prisma wave
#

the set of real numbers is a bigger infinity than the set of natural numbers

steel heart
#

InfiniteVectorSpace

#

nice version name

#

ty Johnny

lunar cypress
#

Thinking about this stuff blows my mind

prisma wave
#

yeah it's very confusing

lunar cypress
#

In my last live session for my linear algebra class (we have those every week as a recap and to expand on things and so on) we talked about the subsets of the real numbers

#

and it is really confusing

#

The numbers we know are an infinitely tiny part of the real numbers

#

For example there's a thing called "normal numbers" which are numbers that contain every natural (I think?) number at some point in their decimal points

#

And it is estimated that almost all real numbers are of this format

#

And you can prove that if you pick a random real number the chance of getting one is literally 100%

#

even though we only know like 2 lol

prisma wave
#

uhhh

#

What

#

The chance is 100% but we only know 2 of them?

lunar cypress
#

yes

prisma wave
#

so

#

A random real number

#

481.52

#

That isn't a normal number

lunar cypress
#

you see, that's not random

prisma wave
#

How do you define random?

#

Truly random?

lunar cypress
#

randomness is another funny thing

old wyvern
#
While a general proof can be given that almost all real numbers are normal (meaning that the set of non-normal numbers has Lebesgue measure zero),[2] this proof is not constructive, and only a few specific numbers have been shown to be normal. For example, Chaitin's constant is normal (and uncomputable). It is widely believed that the (computable) numbers √2, π, and e are normal, but a proof remains elusive.
old wyvern
#

wiki mentions that the number must have same "natural density" for each digits of the base to be normal

lunar cypress
#

Lebesque measure zero
that's probably what the prof meant by that

#

I obviously wouldn't be able to explain this circumstance to you

#

Chaitin's constant is also incredibly confusing

#

we talked about that as well

#

you know, as long as I don't have to prove shit like that I'm good

distant sun
#

ty @lunar cypress

#

I havent actually done cpp at school or smth, just learned it for a friend and tried to stay away of pointers as much as possible xd

lunar cypress
#

you know that c++ has an api similar to java streams, yeah?

distant sun
#

no

lunar cypress
#

perhaps that could be of use as well to you

distant sun
#

couldnt get my head around making a method to return the account or null 🤣

lunar cypress
#

I just realized that in the code you sent above you access sender.id and receiver.id which doesn't make a lot of sense

#

but I guess you've noticed

distant sun
#

wdym?

#

I access them through getters in the actual code if that's what you mean

lunar cypress
#

I mean that you didn't initialise the variables

distant sun
#

wtf

#

uhh]

#

I actually meant "senderId" which is a string received on the method

lunar cypress
#

that makes more sense

distant sun
#

I would have gave you the actual code but is not in english =/

frigid badge
#

bad

distant sun
#

help or leave

frigid badge
#

what's your issue

lunar cypress
#

why if you're not writing for school 🤔

distant sun
#

is for a friend, for school

frigid badge
#

oof

#

for a friend

#

so basically

lunar cypress
#

You're writing their homework?

distant sun
#

yea

frigid badge
#

you are doing the work for a friend, but don't exactly know how to do it yourself

#

so in the end

lunar cypress
#

oof

frigid badge
#

we're writing the homework of your friend

#

that's incredibly dumb.

distant sun
#

??

#

lemmo, stfu

#

why arent you sleeping

onyx loom
#

🌝

frigid badge
#

how's that guy gonna learn from this

#

because I got a day off tomorrow ;)))))

distant sun
#

sleep is good, you should give it a try

frigid badge
#

I do

#

I sleep from 2am till 10am

#

unless it's weekend

distant sun
#

smh

frigid badge
#

I just have a flexible job

distant sun
#

aha

#

teach me pointers if you are so smart smh

frigid badge
#

'teach me pointers'

#

I bet a course could do that 10x better than I could.

distant sun
frigid badge
#

lmao

distant sun
#

:)

old wyvern
#

lmao

lunar cypress
#

there isn't really much to pointers

#

I can recommend an excellent video series on C though if you'd like

distant sun
#

sure

obtuse gale
#

pointers and references

old wyvern
#

Cherno

distant sun
#

we are gonna do C for one semester and I dont mind understanding these stupid stuff

obtuse gale
lunar cypress
distant sun
#

ty fellas

obtuse gale
#

ew imagine not removing embeds

distant sun
#

lmk when your ide will be as cool as mine @frigid badge

old wyvern
#

ew

prisma wave
#

ew

distant sun
#

mfs

old wyvern
#

Why are you not using English tho?

distant sun
#

stop saying that

half harness
#

🥳

#

hmm

steel heart
#

Lol true

lunar cypress
#

No lies detected

steel heart
#

Well immutability could be used more tbf

lunar cypress
#

May I introduce... Le Clojurino?

steel heart
#

Lmao

half harness
ocean quartz
#

Omg just spent 30 minutes trying to literally just space 2 buttons apart

#

Basically this

#

Someone kill me

obtuse gale
#

lmao

half harness
#

lol

oblique heath
#

this chat

#

is too darn quiet

obtuse gale
half harness
#

lol

oblique heath
#

you better get that

obtuse gale
#

@surreal quarry a couple of peculiar facts about LP and its API :>

#

The inner workings of LP itself don't implement the interfaces the API provides, and it barely uses them at all if any. It works with a "handles" model like CraftBukkit implements Bukkit and uses handles between NMS and OBC

#

I was quite baffled when I found out about that

regal gale
#

I think BKCommonLib has the same concept

surreal quarry
#

wait whatt

#

thats insane

obtuse gale
#

And secondly you can just subscribe to LuckPermsEvent and your listener will be called on all events lol (unlike Bukkit)

surreal quarry
#

that is also quite cool

#

although i dont see any reason to do so lol

ocean quartz
#

One magic LP does that surprises me is that it knows exactly what permissions your plugin has even without having them in the plugin.yml

surreal quarry
#

only if you assign one i think

#

or use it in some way

obtuse gale
#

it caches them as they are checked

ocean quartz
#

If you ever check hasPermission it'll know

obtuse gale
#

It's amazing

surreal quarry
#

yea but they would need to run the command or something for the specific command perm node to be cached

#

if you want them all cached from the start you gotta have them in the plugin.yml

ocean quartz
#

In other news, I spent the entire day making this, please someone kill me

surreal quarry
#

rip

obtuse gale
#

lol

surreal quarry
#

but looks n9ice

#

whats it for

obtuse gale
#

Also what's with the color on the side lmao

surreal quarry
#

^

ocean quartz
#

For now just playing around with this thing and getting beaten up

ocean quartz
surreal quarry
#

do the login buttons work

#

or just to have something there

ocean quartz
#

Nah, nothing works xD

surreal quarry
#

i guess there would be no reasons for them to work

#

lmao

#

its a nice design tho

obtuse gale
#

Likey

obtuse gale
#

hi

surreal quarry
#

hi

gleaming shell
#

hi 🙂

half harness
#

hi

obtuse gale
#

are there any guild plugin files in Turkish

surreal quarry
#

?spigot

compact perchBOT
#
FAQ Answer:

Spigot Account Linking
To get support for a premium plugin owned by Clip or Glare you will need to verify your spigot account using =spigot in the #bot-commands channel. After you have successfully linked your spigot account you should ask your question in the coresponding channel for that plugin. If you have already linked your account and want to update your roles, run this command =spigot check.

surreal quarry
#

theres a guilds support channel once you link your spigoit

obtuse gale
#

I've completed this process

half harness
#

when did you purchase the plugin?

surreal quarry
#

its manual rn dkim

#

check #bot-commands

half harness
#

o

#

ok

distant sun
#

Man ty for your help @lunar cypress

distant sun
#

Fr

cedar crescent
#

i have

#

[tag] [player] >> [message]

#

but i want to have name of guild at the front to

#

what i have to put on?

#

did i stay at the wrong chat?

stuck flume
#

You should see the placeholders and put the one you need in essentials config.yml (if you use EssentialsChat). To find the format just press Ctrl + F and search "format:"

oak raft
#

@obtuse gale :oooooooooooo

#

where's that from?

#

Looks good

forest pecan
static zealot
#

u ok Pulse?

forest pecan
static zealot
#

I know

#

but they don't look the same

oak raft
#

if I apply for dev role

static zealot
#

yes

oak raft
#

shut up

#

I was saying

hot hull
#

Show the projects Remence

oak raft
#

I will

forest pecan
oak raft
#

give me a second

forest pecan
#

Well

hot hull
#

I mean link em here

forest pecan
#

i got rejected

#

lol

#

but i was close

oak raft
#

oh they aint on github yet

forest pecan
forest pecan
#

I thought i was rejected but then a month later piggy told me

#

lol

oak raft
#

LOL

#

anyway

#

is my github linked to my dsicord proof that I ownit

#

or do I need extra proof

forest pecan
#

nice formatting

#

lol

static zealot
oak raft
#

I didn't touch that plugin at all

forest pecan
#

oh xD

#

that formatting though

#

LOL

oak raft
#

lmao

hot hull
#

Oh god

quiet depot
#

remence you don't have any public projects

#

ur not getting accepted lol

hot hull
#

Get rekt

oak raft
#

no wait

#

I have everythging in intellij

quiet depot
#

what about u

hot hull
#

Piggy wanna judge this old project with a quick glance?

quiet depot
#

k

forest pecan
#

yay lol

quiet depot
#

bs

forest pecan
#

Lol

hot hull
quiet depot
#

you applied 5 days ago

hot hull
forest pecan
static zealot
#

ye

#

maybe 4 and half

#

actually

quiet depot
#

frosty it's 7 months old ofc it's gonna be shit

oak raft
#

porky

#

do u play rust still?

quiet depot
#

back in the day I thought rpf was top notch code

#

and i look at it now and i'm just why

static zealot
quiet depot
#

yes remence

steel heart
#

Rpf is still nice

hot hull
#

I mean I'd say it's still better than most of the plugins found on spigot kek

#

@steel heart I saw your join plugin

forest pecan
#

omgomg

steel heart
#

Haha lol

hot hull
#

Wanted to go hang from somewhere

forest pecan
#

its soo good

half harness
#

how do you disable update plugin notifications?

steel heart
#

Lol

oak raft
steel heart
#

It’s so good what you talking about

quiet depot
#

not too many

#

1.2k

oak raft
#

o_O

#

do u play quads?

quiet depot
#

1.2k is really on the lower end for rust

forest pecan
#
You're so close, just some really minor things:
- Follow the liskov substitution principle, and by extension all of the SOLID principles. e.g. returning HashSet instead of Set, when Set would've sufficed.
- Follow naming conventions
- Cache reflective objects as constants so you don't have to get them on every run of a method
- https://github.com/Ponclure/BlockUs/blob/main/src/main/java/com/github/ponclure/blockus/throwable/IllegalInstantiation.java this should extend AssertionError

🥲

quiet depot
#

sometimes

hot hull
#

Imagine not following liskov!!

#

Piggy, you don't bother with srp checking do you? So long it's to a reasonable amount

quiet depot
#

I do check srp

steel heart
#

I have been fooled my entire time, why did I never think of using apaches reflection utils

quiet depot
#

just not on spigot main classes

oak raft
#

porky, if I complete ur challenges on github do I have a chance at dev role

hot hull
#

Ah

quiet depot
#

no remence

steel heart
#

d;Apache

ruby craterBOT
#
public final class Matcher
extends Object
implements MatchResult```
Matcher has 1 extensions, 1 implementations, 27 methods, and  1 all implementations.
Description:

An engine that performs match operations on a character sequence by interpreting a Pattern.

A matcher is created from a pattern by invoking the pattern's matcher method. Once created, a matcher can be used to perform three different kinds of match operations:

  • The matches method attempts to match the entire input sequence against the pattern.

  • The lookingAt method attempts to match the input sequence, starting at the beginning, against the pattern.

  • The find method scans the input sequence looking for the next subsequence that matches the pattern.

Each of these methods returns a boolean indicating success or failure. More information about a successful match can be obtained by querying the state of the matcher.

A matcher finds...

This description has been shortened as it was too long.

quiet depot
#

unless it's very high quality

oak raft
#

like if I add my own stuff

#

I have a chance?

ruby craterBOT
quiet depot
#

if it's very high quality

ruby craterBOT
#
@NotNull
EntityType getType()```
Description:

Get the type of the entity.

Returns:

The entity type.

quiet depot
#

might remove previous versions of final releases of minor versions

#

fuck that's a sentence and a half

#

i.e. 1.8.8 only, not 1.8.7 and below

forest pecan
#

🥲

steel heart
#

Pro static

quiet depot
#

literally @heady birch

steel heart
#

Piggy what do you consider high quality?

forest pecan
#

ur mom

oak raft
#

😮

steel heart
#

Funny

forest pecan
#

lol

steel heart
oak raft
quiet depot
#

no

#

there's some terrible code in that

oak raft
#

porky wanna carry me in rust

steel heart
#

So basically enterprise java code = accepted or what

quiet depot
#

i'm happy to 1v1 u

#

and destroy you

#

but no not carry

oak raft
#

o_o

forest pecan
#

piggy has a league account?

steel heart
#

Wait Niall has developer

quiet depot
#

rust

#

well yes I have a league account

#

don't play lol tho

steel heart
#

Niall what did you do?

forest pecan
#

you live like so far lol

heady birch
#

I heard barry now has a feature that automatically approves requests if the code contains "Factory" "Bean" "@Autowired"

forest pecan
#

like oceania

quiet depot
#

niall got in from his plane tracking project iirc

hot hull
#

I'm sorry Niall but I have to ask

forest pecan
#

yo let me fork that

#

rename some shit

hot hull
#

Is the AA up yet?

heady birch
#

Poorly written code though

steel heart
#

Hmm okay so basically Ima mix guice, Spring and then just add some random abstraction library

heady birch
#

Can you stop joking about that?

#

Not rlly funny 😐

forest pecan
#

🔥

hot hull
#

I've not mentioned it for like 6 months

#

<3

forest pecan
#

Challange: Make Essentials but you can only use bitwise operators and no other operators

steel heart
forest pecan
#

lol

quiet depot
#

in java that's oop/solid, dry, and blah and blah and whatever

forest pecan
#

what if

#

you are using

#

elara

#

lang

steel heart
#

Hmm okay fair enough

heady birch
#

Of course if you were writing stuff in spring, it would actually need to be decent spring stuff

oak raft
#

porky idk if u knew this but im actually helping with elara

#

just ask bm

quiet depot
#

yeah even though spring does 99% of the work for you, it's still possible to write bad code

#

look at enterprise fizz buzz for an example

forest pecan
#

porky is piggy's nickname?

oak raft
#

yes

forest pecan
#

can i start calling him that

oak raft
#

yes

quiet depot
#

i don't like that name honestly

forest pecan
#

Hi porky

heady birch
#

No further mention of Elara. I don't want to hear about it until my emoji feature is implemented.

old wyvern
steel heart
#

Though it was some years ago that fizzbuzz code was written

oak raft
quiet depot
#

these principles have been around for yonks conclure

forest pecan
quiet depot
#

probably before a lot of us were born

old wyvern
#

🥲

forest pecan
#

Wait indian?

prisma wave
heady birch
#
enum Status {
    ☹️, 😐, 🙂
}
quiet depot
#

lol

prisma wave
#

lmao

old wyvern
#

the what? xD

oak raft
#

piggy are you a kotlin karen too?

prisma wave
#

i think that's possible

#

maybe

steel heart
#

Yeah well they’re more known now than for 4 years ago prolly

quiet depot
#

am i a fucking what?

old wyvern
#

I mean yea, its possibly technically

#

But I dont understand

oak raft
#

a kotlin karen

old wyvern
#

why

#

xD

quiet depot
#

define

forest pecan
oak raft
#

someone who simps over kotlin

old wyvern
#

Yes that possible rn

quiet depot
#

no

old wyvern
#

identifiers can be emojis

forest pecan
#

simper

quiet depot
#

i'm for the most part indifferent towards kotlin

forest pecan
#

big smiper

quiet depot
#

but i'm a believer that kotlin is an ugly language to look at

steel heart
#

Java is prettier with all of its verbosity

old wyvern
#

It just gets hard to follow sometimes when you do too much with less in kotlin

oak raft
#

but isn't kotlin objectively better

steel heart
#

Idk

prisma wave
#

lol

steel heart
#

Well yeah I guess it’s faster to write than java

#

And it has epic features

oak raft
#

especially when you're using eclipse

prisma wave
old wyvern
#

Kotlin shines at DSLs

#

😮

forest pecan
#

Do any other languages even have built in static and oop both

oak raft
quiet depot
#

my most valuable steam item

#

i bought it for a few $

steel heart
#

Damn

oak raft
#

that's free cash

old wyvern
steel heart
#

Probably not so efe

old wyvern
#

No

#

C# is just microsoft's Java

#

There was a lawsuit against microsoft for using Java somewhere or something

#

I forgot what it was

forest pecan
# old wyvern as in?

Like Java can use the static modifier or you can define an object with encapsulation with it that way. Some languages aren't oop but are function so they are kinda static?

old wyvern
#

It moved to c# to resolve that

#

and by moved to , i mean made

quiet depot
#

c++

old wyvern
#

smalltalk

steel heart
#

C++ is OG af

#

Or maybe Objective C is even more

forest pecan
#

C++ is actually god

quiet depot
#

no

steel heart
#

Idk

quiet depot
#

c isn't oop

forest pecan
#

objective C i hate

#

with a burning passion

quiet depot
#

is discord dying or just me

old wyvern
#

c is not OOP

quiet depot
#

machine code

old wyvern
#

Circuits

forest pecan
#

Nah

#

paper and pen

old wyvern
#

DFA

quiet depot
#

punch cards

forest pecan
#

Bacon

#

cause

#

we need to eat bacon

#

to live

old wyvern
#

any finite state machine 🥲

quiet depot
#

mother of most modern languages is c

forest pecan
#

but who's the husband

steel heart
#

Yeah java has lots of native methods doesn’t it

quiet depot
#

java is c++

forest pecan
#

jna

quiet depot
#

I think

forest pecan
#

lol

quiet depot
#

it is

forest pecan
#

its a vm

quiet depot
#

openjdk is

steel heart
#

So basically it’s fast cuz of that PES_Smart

forest pecan
#

JVM -> java virtual machine

#

so it runs kinda an os

#

idk im not super good around this

old wyvern
#

He means Open Source

forest pecan
#

oh

#

Well of course its open source lol

#

you can look at the methods and stuff inside

#

that's how a lot of the big o and shit was found out

#

when using them

old wyvern
#

Wasnt there an issue with sun having copyrights to some part of the stdlib or something?

quiet depot
#

idk yugi

#

efe most new languages these days compile themselves

#

i.e. you write a simple compiler in something like c++

#

then from there on out you write the compiler in your own language

old wyvern
#

I remember someone telling me that thats the reason googled switched android's "main" language to kotlin

#

I think it may have been sx

lunar cypress
#

Javac is also written in java

quiet depot
#

oh, didn't know that

lunar cypress
#

Hotspot is in C though I think

steel heart
#

JayJay

lunar cypress
#

:peepoHey:

#

Just finished building new shelves

quiet depot
#

help i accidentally build a shelf

old wyvern
#

😮

#

911?

quiet depot
#

one of the greatest memes of all time

lunar cypress
#

Holy shit that's ancient

ruby craterBOT
#
public class PlayerBedEnterEvent
extends PlayerEvent
implements Cancellable```
PlayerBedEnterEvent has 1 extensions, 1 implementations, 9 methods, and  1 all implementations.
Description:

This event is fired when the player is almost about to enter the bed.

lunar cypress
#

Probably when they click on the bed

ruby craterBOT
#
void setTime(long time)```
Description:

Sets the relative in-game time on the server.

The relative time is analogous to hours * 1000

Note that setting the relative time below the current relative time will actually move the clock forward a day. If you require to rewind time, please see setFullTime(long)

Parameters:

time - The new relative time to set the in-game time to (in hours*1000)

quiet depot
#

6000

hot hull
#

@ocean quartz Will chat have a chat moderation feature as well? (Caps, links, etc)

#

If yes, I'd love to work on that :p

ocean quartz
#

Yeah!
Will also have a per player option, for example for some people it'll appear fuck for others it'll be censored, will have an option for players to toggle it, or be disabled in the config
If you want, go for it

hot hull
#

Sure that'd be neat, need to figure out how to structure it out so I don't mess anything up lol

ocean quartz
#

Yeah, for now you can filter the rawMessage in the BaseMessage class

hot hull
static zealot
#

fuck

#

it didn't filter. is it broken?

ocean quartz
#

You need to opt-in

static zealot
#

I did

#

/optin

#

fuck

ocean quartz
#

Noob

static zealot
#

still didn't

#

😦

ocean quartz
#

Report to author

static zealot
#

casual spigot user ^ xD

#

damn my phone amazes me even now. this super charge is fucking awsome

ocean quartz
#

Nah, casual spigot user is more like just posting the error and just saying "fix"

static zealot
#

o

#

is it? hmm

#

or just leaving a 1 star review with error

#

saying nothing else

#

xD

ocean quartz
static zealot
#

just cancel the plugin 4head

#

ezz enough fix

stuck harbor
#

mhm

ocean quartz
#

Actually the plugin was cancelled already

stuck harbor
#

tbh internet reviews should just be abolished

#

they are utter bs

static zealot
#

my first ever review is a 5/5. and its my only review xD

#

no iwanio

#

you're wrong

#

spigot reviews. maybe. internet reviews no

ocean quartz
#

Let me show you my first review lmao

stuck harbor
#

they are like 77% fake

ocean quartz
static zealot
#

ah yes

#

I've seen that before

#

amazing

#

xD

ocean quartz
#

It's great

static zealot
#

also they had option to delete it back then didn't they?

ocean quartz
#

I didn't know i wasn't Mattew before

static zealot
#

well maybe another Mattew

ocean quartz
#

You still can delete reviews if the author doesn't comment on them, which is kinda dumb

oak raft
#

get out of this chat and stop dodging

static zealot
#

wait is your name Mattew? Like is that the name or is it Mateus or something like that?

oak raft
#

ik im intimidating

static zealot
#

oh man I should really read documentation lmao.

#

I didn't know you can customize messages for MF Commands

static zealot
#

yeah found it on github

hot hull
#

MM reversed_fingerguns

ocean quartz
#

Actually my name is MMM

hot hull
#

You got a middle name as well?

static zealot
#

MNM

ocean quartz
#

Yeah

static zealot
#

let me guess

ocean quartz
#

You'll never guess it xD

hot hull
#

My name is MultiPlayer reversed_fingerguns

stuck harbor
#

my name is rather self evident

hot hull
#

Discord being a slow twat again

stuck harbor
#

iwanio

static zealot
#

is it Marcus?

ocean quartz
#

My middle name contains a ç

static zealot
#

one more hint. what's middleName.length gonna return?

ocean quartz
#

8

#

The ç is the 7th letter

static zealot
#

oh

#

oh

#

discord is dying again

hot hull
#

MissingU

ocean quartz
#

The ç is the 7th letter

hot hull
#

Did I get that right?

ocean quartz
#

Discord is dying wtf

static zealot
#

Maixence

#

Manoluck

ocean quartz
#

Lmao

static zealot
#

xD

ocean quartz
#

A rule of portuguese, after a "ç" there will be a vowel, normally it's used between vowels since "s" would have a "z" sound

oak raft
#

ur portuguese?

ocean quartz
#

Half

tiny flower
#

👀

ocean quartz
#

I guess Blitz gave up xD

static zealot
#

ok

#
Maixence
Manoluck
Markeece
Markeice
Markiece
Maronica
Marquece
Marquice
Martrice
Matraica
Mattlock
Maurence
Maurkice
Maverick
Maveryck
Mavrrick
Meldrick
Meschack
Miagrace
Mikolicj
Moireach
Montrece
Montrice
Mortlock```
#

any of these?

#

had to make a program to go thru like 7k names lmao

#

oh

#

didn't add the last rule

#

1 sec

ocean quartz
#

Nope

static zealot
#
Maixence
Markeece
Markeice
Markiece
Maronica
Marquece
Marquice
Martrice
Matraica
Maurence
Maurkice
Miagrace
Montrece
Montrice```
#

they all end in e

#

oh fuck 😦

ocean quartz
#

I can give you more hints, it starts with Me and ends with ça

static zealot
#

I mean if its not there then this 7k names list doesn't contain your name lmao

ocean quartz
#

Likely not xD

static zealot
#

wait you are portuguese?

ocean quartz
#

Half portuguese half brazilean

static zealot
#

I think I'll have to give up

#

anyways

obtuse gale
half harness
#

ç what language is that?

ocean quartz
#

Really dkim?

half harness
#

well

#

what accent

#

like

#

wat

#

?

#

how would I know?

obtuse gale
half harness
#

oops

#

i must have missed that

ocean quartz
half harness
#

I'm just looking at $5 vps 👀

ocean quartz
#

That letter is also used in english btw

prisma wave
#

is it?

ocean quartz
#

Yeah

onyx loom
#

i can promise u now ive never used ç thonk

ocean quartz
#

The word "facade" normally would use it, but most people don't

prisma wave
#

oh

#

that's because it comes from french though

#

i think

ocean quartz
#

Yeah

onyx loom
#

o

ocean quartz
#

There are a few others that are also commonly used but i don't remember them

stuck harbor
#

facade?

#

hm

#

façade

lunar cypress
#

is that a cedille? looked like some other type of c "modifier"

stuck harbor
#

fačade

#

fåçāđě?

ocean quartz
#

Basically it makes the letter "c" sound like "s"
So technically without it, the word facade would be pronounced "fakade"

half harness
#

fasade

lunar cypress
#

weird to me how it looks in this font idk

static zealot
#

french have ç as well.

lunar cypress
#

yes

#

"cedille" is french

#

that's how I know it too

ocean quartz
#

Oh didn't see you were talking about the letter name xD
Yeah, in portuguese we call it "cedilha"

obtuse gale
#

dev-general

prisma wave
#

Not configuration help

static zealot
#

hmm didn't github have a function like IntelliJ where you could click a method and it would show you where its used?

obtuse gale
#

yes

steel heart
#

Hmm 3fa would be nice

onyx loom
#

in that case, infinity factor authentication would be nice kek

steel heart
#

true true

onyx loom
static zealot
#

yeah that's why I asked. because it seems to not work on a lot of stuff but after testing some more it works on others so I guess it is what it is

steel heart
#

it's considered a rare feature

prisma wave
#

it's not as good as IJs

forest pecan
#

i love how intellij keeps its formatting when copying and pasting the rich text

#

back and forth from the ide

steel heart
onyx loom
#

what a great feature!

half harness
#

How do i make my IJ use an existing git repo?

#

I always either

  1. Make the repo in intellij
  2. Already have the .git folder
#

but I want to use a URL

#

also i dont have intellij rn 🙂

onyx loom
#

new project -> from vcs repo?

half harness
#

github* not git by itself

#

btw

#

i already have a project

onyx loom
#

what

#

oh

half harness
#

but an empty github repo

lunar cypress
#

Wait what is your problem then

#

you have a project and a git repo

half harness
#

i want to push and commit to that repo

#

its probably super simple

lunar cypress
#

wait hold on

#

wdym when you say repo

old wyvern
#

VCS -> Enable Version Control Integration

#

then add the remote

half harness
#

and then I can put in a git link without losing any files?

old wyvern
#

Yes

half harness
#

thx

#

😄

half harness
static zealot
#

@ocean quartz ain't got time to test rn but your @Permission("perm.1", "perm.2"). does it check for the player to have both or one of them?

ocean quartz
#

Well, you can't do that, it's just one xD

static zealot
#

what?

#
// Multiple permissions
@Permission({"plugin.command.one", "plugin.command.two"})```