#dev-general
1 messages ยท Page 572 of 1
That's wrong
You can't prove it's bad
We can prove itโs not good
No you can't
Yes you can
No you can't
Fish youโre fishy today
๐ ๐ด ๐
Skript makes people think they're developers 
Wdym? Skript developers are a real thing.
lets just call server configurators developers
i would not even call it developing
i would categorise it way more in the plugin configuration category just more advanced
Message from MD_5 why people think Skript is bad
Because people are bigoted elitists.
MD_5 is on the side of Skript
https://www.spigotmc.org/threads/why-is-skript-so-underrated.287233/
Now prove me wrong
he's the best developer the spigot community has ever experienced 
Exactly
MD_5 made Minecraft
Genius
the man that makes APIs used by thousands of people but hardly documented any of it should be the person we all look up to
md_5, the king of all spigot developers, now bow
MD_5 sucks
Rude
Heโs cool
None of you made Spigot
okay and
Oh
But just because he thinks something doesnโt mean itโs always correct
op
if we did, We would actually document it properly 
And you agree Skript is amazing right?
yes
I hate you pulse
Skript is amazing
oh this again
Skript is the best programming language
100%
anyway i go back to
suffering 
No
Come back
Alive chat for once 
i love you all, but you're all so terrible
Says the one who thinks Skript is bad
Skript is pretty cool
dev general more active than #developer-chat
say what
does anyone want to throw around some half assed understanding of programming language theory again to feed their superiority complex with regards to skript? I'm all here for it
sad
I'm here for the XP
I'm here to defend the best programming language
Same here
I don't actually ~hate~ skript, I just don't like it personally 
The best programming language cannot be offended!
Don't worry Skript loves everyone
Just look at this sexy beast
So simple
Makes me creamy
So elegant
Breh
So
No xp for you
I don't like skript because I couldn't actually use it in a genuine real life job 
Yes you can
Yes you can
I also wouldn't want to
You just need to be pro at it
Skript developers make 10x more than Java developers because less people can do it
Exactly
Pulse go back to harassing people in #development 
Less people choose to use it you mean
No
sxtanna 2: electric boogaloo
Matt won't let people do that
Because they weren't smart enough to understand it
What's there to understand
It's so hard to understand too
i don't even get how comments are added still
Like #? bro thats a hash brown
lol
I am actually confused whether pulse is actually defending it or is being sarcastic at this point 
I don't know why Jetbrains made Kotlin when Skript was already a thing
Yeah
Like why make a worse programming language?
Ikr
Yeah, all million dollar companies use Skript because of how superior it is compared to other languages
It's mostly the billion dollar companies actually
FAANG
Sorry my bad
The million dollar companies can't afford to pay the Skript devs
Average yearly pay of a billion
Im sorry, is that a Anti-Elara statement I hear????!!!
I overheard Google started using Skript
@prisma wave
Because, excuse me sir, but elara is the most paying language!
They are trying to keep it a secret so that other companies don't realize the true power of Skript
Yeah
in reality, Skript is more than just a programming language
you pray for it
its jesus
They were the ones who spread the lies about Skript being bad
true!
It determines your wife
it determines your pay
billions
F
in other news, I now go back to feeling
pain & suffering 
i miss the days where i was allowed to do a little trolling
๐
Lol
Good ol' days
๐ฎ
I can help you
Just ban pulse, ez
Hey
Hey!
/ban Yugi
๐
don't ask for it. smh
Blitz can we have your opinion on Skript?
tbh I dont think the dude in the pfp is dabbing
They are crying
yes. you can have it. I don't need it anymore
They are
Thank you
bye
No
Donald Trump what is your opinion on Skript?
Skript is what codes the government computers
Donald Trump
Yes I have came back
Wat ya dink of Biden
hello donald

okay when i said pain and suffering i didnt actually mean it
im against a highly unfun character
Hello Sir
Quick question. What's the best way to avoid having a "core" plugin when you want to share common plugin functionality and have multiple plugins access the same instance of a class? Is there even one?
Is it about common functionality or common data?
Well both. But yeah the data part is the trickiest. Functionality only when it comes to different versions.
@ocean quartz how does it feel doing cpp
Is it even bad practise to have a separate plugin that handles that stuff?
feels like a good one to me
more modular, easier to independently deploy certain modules
If you have code that is being shared across different plugins, then yeah
tho I guess can be a bit annoying updating all the modules that depend on your "common" module
sadly always pros/cons whatever you try
There is no way of updating the plugin jars automatically or even downloading them automatically, is there?
there's
Can you point me in the right direction?
imo better than shading the common module into every other module
i'd rather have that
i don't wanna download a whole nother plugin for some random one
I haven't messed with auto updating plugins since it's kinda uh well dissuaded for some reason you can probably figure out yourself, but look at LuckPerms, it handles runtime dependencies if thats what u want
also Brister Mitten got like a plugin package manager repo iirc
might be worth checking that out also ^
well generally downloading and deleting stuff in my plugins folder is frowned upon
Star u dodo
i would only trust like paper to automatically update stuff for me
wet
It's arduino so it's not that bad
What's your suggestion then if I have singletons in my common library that I want every plugin to use and not just use, but use the latest version in whatever plugin the latest one is packaged in
ah cheers then
Tell that to forge
do they shade in their common stuff into every mod jar?
i mean, don't use singletons?
there really shouldn't be much that can't be separate modules that work independently no matter the version
if ur common lib has an api, a good way to get access to the api might be a singleton tho
i mean like what stuff are you gonna be putting in your common api?
MF stuff has all I need covered and it's all separate shadeable bois
u can shade redlib now
tho, plugin libraries are a thing now
What is redlib?
No, once you want to download a mod, you run it and boom "this mod requires this, that, and that" now you have to go search for it and download it too, then the lib requires another and so on, it's super annoying to the end user
well that's a good sign
oo yeah thats true
manual package management!
all of the mf utils are like, less than 1mb or something
how big are your libraries gonna be they don't do that much
slimefun
most plugins are <1mb
Ah yes your 15GB server will definitely be filled with all those 100MB combined plugins
yup
yeah your world file will be 10x larger than any plugins you have I guarantee
pretty sure triumph-troll takes 85gb
It does!



So much better than the arduino IDE ๐ฉ
A bit annoying to setup but working now
@obtuse gale rawrr
wat
?
Wot?
rawrr
why did u just randomly ping emilyy and say "rawrr"?
Dinosaur
emilyy getting a whole bunch of pings recently ๐ฅฒ
Lol
mmm clion
I need attention too please
Be a women first.
so true
is this the titanic of the incel community?
Yezz
Maybe
what is the titanic of the incel community?
Do you watch the movie yet?
Lol it's a movie
๐
Called "Titantic"
https://www.google.com/search?q=incel I don't know if i should have googled this ๐ฅฒ
uh huh
Uh?
Java, Javascript is hell
whyยง
They are entirely different languages
Java is to JavaScript what car is to carpet or ham to hamster
It's not that you "prefer one over the other", they are meant to work on different technologies
clojure and clojurescript are also very different from each other
idk some/most of people can say what language they prefer (maybe you can say if you prefer php or java ๐ )
Ik its completly different
Java is for frontend, javascript is for backend
indeed, the superior stack
wh
Scheme has the best syntax, C is cool
end of story
|| nvm ||
sql isn't a programming language imo
What?
or we can wait for britten and we ll find out that haskell is best
No
||r/whoosh||
@prisma wave Help us out, pal.
yeah it is
it may not be general purpose but you write programs with it
Excuse me?
fun fact. the Kotlin expansion for PAPI is written entirely in Java.
Kek
Showcase dud forgot it, or it's a feature, but I mean who needs persistency
xD
Is it possible to read the spigot.yml file from within a plugin?
I'd like to check if bungeecord is set to true or false
Or more specifically, what's the proper way of checking if a plugin running on spigot is part of a bungee network or not?
Like you'd read any other file ig
I thought I could only access the plugin folder
wait so I can manipulate the file system?!
or just read from it?
Depends on the host
You can't access beyond server jar I don't think, if even that
You cant really tell without checking the permission
If you have read/write permission to all directories, well yea
You'd hope people aren't that dumb tho
Would it perhaps be better to try to communicate with the bungeecord server and see if anything comes back via the bungee message network or whatever that API is called? If anything comes back, it's bungee, if not, it's standalone spigot?
am i able to get support here or is there a support channel somewhere?
wait not config help here
my bad
finally
someone who read the channel description xD
๐
aha
always do lol
does this server help with discord problems?
uhhh
its a minecraft support server but i guess you can try in #off-topic
ยฏ_(ใ)_/ยฏ
sry no
time to recycle an old joke.
if you don't want to get jabaited, don't click the link in #off-topic
you have been warned
The need to be logged in saved me
lmao
Any crypto developers here?
i would hope not
๐ข why not
Yeah but some people
do both
started with minercraft an got interest into crypto
hi which channel is for minecraft support?
Depends on the question
oke thx i have a super weird bug or something
its been going for a month i think lol
wanna play coc guys?
Coc you say ๐ณ
Coc I say
Handsome squidward asking for some cuc
Im up for a round
that's all I need! 1 round of coc
๐คจ
dw about it. I'm making the lobby now
here you go boys
not gonna mass ping this time xD
@everyone
The 'everyone' mention is disabled so you can't annoy people.
mass ping
hmm
@prisma wave @ocean quartz @onyx loom @eternal compass @obtuse gale @half harness @sturdy latch @steel heart @lunar cypress @oblique heath who else used to play? xD
@hot hull join
who the hell is stabby meowkins
Lmao
what language?
I never actually played lmao
well nows the time
You choose the language
i don't even know who I wanted to ping instead lmaoo
yeah ik
@cinder flare probably
busy tho :(
oh yeah
no I'm asking
yea im doing work rn soz
which one
star it was
should I use
Oh
haskell
lmao
sounds hard
star was haskell hmm?
it is
however
it's how i learned
suffering in coc = the best way of learning a language
BM join
๐
why no shortest D:
we'll wait another 30 seconds. maybe Matt wakes up?
I wonder why xD
you can win shortest with any language except java
remember when ya'll were working on a COC bot and all that?
what happened with that?
it still exists
I lost 30 seconds bcz it didn't get me in ..
math ๐ฆ
Nah, i don't like playing without shortest
๐
welp. next one will have shortest
yessssss
met too :c
yeah. I don't understand this question. sorry boys. not going to complete this COC
Spoiler:
||e=readline;l=e();r=e();print((r*2*Math.PI*l/60).toFixed(2))||
1.67 so close yet so far
I got it :p
in java
I could have gotten it so much quicker in JS
or in a real IDE
it doesn't detect errors
so .I have to calculate the circumference which is l*2*PI right? and then multiply by r/60.0 ?
like missing ;
because I get 1.674666666666...
also tried using 3.14 instead of the PI from kotlin
no 60.0
use PI
nah. kotlin. bcz I get nextInt I need to divide by 60.0 to make it double
it works

\๐ฅด
lmao
\๐ง
@prisma wave we have shortest now. xD
lmaooooo
is it possible to select
new one
yes. it is possible. I will not
should i play during my history lecture ๐
ok
ok
wat
lmaoooo
@eternal compass
pls
launching
have you tried that game Ghost Busters Coorp?
pls i need help

ex
and gotten 3
ez
you can select language
lmao
yes
NEW NEW NEWW
its a lot of work those three clicks
what?
help me
ip
This guide talks about Getting Help
ip*

yes please shut the fuck ip
stfi
ugh
6 blocked messages
great!
stfu 
stfi 
we'll let fred do it
do what
I need to go pick up my brother. byeeeee. have fun ๐ฆ
how do I hook up my IDE? ๐ฅฒ

it has no autocomplete
Flirt with it
Take the laptop to your bedroom
already do that
Copy the code to your IDE 
Find the ventilation hole
fair
Ugly
eh
blitz left
School is not more important than coc
I'm supposed to be in school rn, but I can't do in today lol
yea true matt
Wiser words have never been spoken
@distant sun join
Someone should pick only shortest mode
I'm about to leave soon
Python is fine
LOL
why so easy
System.out.println(length * width * 2 + length * height * 2 + width * height * 2);
lmao
xdddd
what is that?
rectangle surface from 3 dimensions
hellllo
adele?
System.out.println(2*(l*w+l*h+w*h)); shorter ๐

python ๐
someone left?
who are those 2?
im done
i closed the tab
yugi and matt
yugi and matt
ond
hm?
Kotlin 
r=readline;l=+r();w=+r();h=+r();print((l*w+w*h+l*h)*2)
yeah
couldnt that have been faster
||r=readline;l=+r();w=+r();h=+r();print((l*w+w*h+l*h)*2)||
Tried to make a bit cleverer solution but thats just longer
yeah, i didnt want to send it here
why
people is still clashing
:daaaa:
so close damnn
ok this is my first time leave me alone lmao
should we do another
you are now green
hello
noo
You're fine
(same one)
what command is dat
how come it didnt work for me ;-;

you had other text
ah
๐
i'll use java then
evil laughter
depends what youre more fluent in

@prisma wave @onyx loom @cinder flare @ocean quartz
joinjoinjoin
i just use java for plugins and discord
jda?
indeed
JDA good
eww
lol

just got used to it
starting clash
Only fastest is a no from me sir
@mental trench share code
r=readline;w=+r();H=+r();for(h=0;h<H;h++)print("O".repeat(w))

No, it was only fastest
for (int i = 0; i < height; i++) {
StringBuilder builder = new StringBuilder();
for (int j = 0; j < width; j++) {
builder.append("O");
}
System.out.println(builder.toString());
}
sadly java doesnt have a repeat thing
I would have been so much faster if I didn't get confused between O and 0
happened to me too xD
I was like wtf
hold on, that zero looks weird
xD
@old oriole speed up :p
im confused
im fred
speed up = hurry
it wants a rectangle
eg.
2 x 2 =
OO
OO
when it says 4x4 does it want
OOOO
OOOO
OOOO
OOOO
BRH
does it?
stupid bot
*should have*
ahh
but there is a nCopies method iirc
public Stream<String> lines()```
Returns a stream of lines extracted from this string, separated by line terminators.
A line terminator is one of the following: a line feed character "\n" (U+000A), a carriage return character "\r" (U+000D), or a carriage return followed immediately by a line feed "\r\n" (U+000D U+000A).
A line is either a sequence of zero or more characters followed by a line terminator, or it is a sequence of one or more characters followed by the end of the string. A line does not include the line terminator.
The stream returned by this method contains the lines from this string in the order in which they occur.
11
the stream of lines extracted from this string

public static List<T> nCopies(int n, T o)
throws IllegalArgumentException```
Returns an immutable list consisting of n copies of the specified object. The newly allocated data object is tiny (it contains a single reference to the data object). This method is useful in combination with the List.addAll method to grow lists. The returned list is serializable.
an immutable list consisting of n copies of the specified object.
IllegalArgumentException - if n < 0
n - the number of elements in the returned list.
o - the element to appear repeatedly in the returned list.

diamond paste this xD
lol
๐ฅด
๐ฅด
Lol
Mmm
Gn
If any of y'all are using projects written with ACF, I advise you recompile the latest changes deployed yesterday. There was an issue where it was looping through all players online to get client locale every second and there was no cache for it so it was showing up on the main tick. Latest deployment updates check time and implements locale cache.
Ah yeah, I saw the issue mentioning that. I'll rebuild, thanks for mentioning
thanks :)
how were the COC games?
They were good
You are given an array of N integers and a list of M inclusive ranges a, b.
For each range, print the sum of the values in the array with an index between a and b inclusive.
someone explain to me what does this mean? XD I don't have anaor ab
oh nvm. they're not named a or b. fuck
After weeks or months you will quit it.
I just full rush my base & at last... there's no fun anymore..
Wtf... Don't rush TH...
Weak
Yes it's a weak strategy..
It was very painful trying to quit that game. But after a few months of trying, I Did it
I just spend over $10k for coc over past years when it was popular..
Still mate... That's why it's a chill game
What the actual fuck?
?
Impressive
:)
Nah I'm not, I think about moving though
I just staying in clan called "Req & Leave" to farm my exp
Anyone here used Ktor before?
@ocean quartz hello sweety
Oh hi, yes Ktor i love it
๐ป
So you know my MCBanners project? I'm looking to minimize hosting cost for it, so someone suggested checking out Cloudflare Workers. It doesn't support Java so I was looking at KotlinJS possibly. I'm basically looking on how I want to approach this. MCBanners is a Spring Boot backend with microservices and a front-end Nuxt (Vue) website. Is Ktor something that would work here? I'm not entirely sure what I'm looking for.
I could be wrong but I'm pretty sure Ktor is just jvm and native
Let me confirm that though
Ahh, damn. If that's the case, I'm not entirely sure how I would rewrite this all in the backend to work in Cloudflare Workers.
Yeah ktor server is just jvm
Ktor client has jvm, android, js, native
So yeah probably won't work
I wonder if I can write the backend in NodeJS then. Basically the website should be good, but just have that push requests out in the proper location. I would just need to have it somehow handle the routes like Spring does.
I think expressjs could be good
And can CW host that?
I think it runs on nodejs
SpringBoot
Have you considered alternatives like AWS Lambda and Azure functions?
I have not, no.
I don't know what they support but they might be a little more open ended
I know if I got it through CW I wouldn't have to pay because we wouldn't hit the 100K a day or whatever.
Ah yeah
I think lambda just takes a docker image so that might work
1 million free requests / day
Their website says 1M per month
Oh yeah, per month sorry*
But that may still be enough, and even if it was over you probably wouldn't be paying much
I'll look into AWS Lambda if it can handle Spring. If it can handle microservices and connect them, then I think it could work.
I don't know too much about how it works, but it's worth a look
If you can generate a docker image then it should work
Yeah we have MCBanners fully dockerized on an Oracle VM right now.
The oracle free one?
Yeah
What's the issue then? Surely that's enough
You have to reset it every couple weeks iirc
They don't tell you when it's going to go down afaik
Oh, what?
what?
is that the same thing that happened to me?
No
Its running just fine for me for like atleast 2 months now
I havent even opened the panel in almost a month
I've had 4 people now tell me that theirs has stopped after like 60 days and they have to remake the instances.
No idea tbh. It's just kind of concerning that MCBanners could just drop at any given time without warning.
Yeah on like SpigotMC and stuff.
"However, Ampere A1 Compute instances are disabled when your trial ends and then deleted (terminated) after 30 days, unless you upgrade to a paid account.ย "
Is that not what we made?
hello I come to see you to know how to install java 16 on a Debian vps I already have java 11 on the vps
sdkman
@old wyvern I suggest you make a recent backup of everything just in case if you're nearing 60 days.
huh
COC*
isn't that clash of clans?
K*
@half harness u done with school?
yes
wanna play?
i have to sign in every time ;-;
what? why?
idk
you're doing something wrong
lmfao im in a cs class for learning about tools
and theyre showing vim
and some kid goes "how do i exit"
classic
Great movie
Is it possible to instantiate annotations in Java? 
No no, like actually instantiating them directly
I guess you can
Asking because that's a feature in Kotlin 1.5.30 now
Yes
Theyโre interfaces after all, implementable
Difference is that Java needs to be anonymous the Kotlin implementation would just be Default(alias = []) etc
well they are definitely instantiated by the JVM
Warning 
with the methods automagically implemented (at runtime?), kinda like a record
In kotlin arent all annotations final? So they cant be inherited?
Not sure tbh
Ye this got interesting
well yeah you need to implement annotationType
it's literally telling you lmao
is that java?
Yeah but that means theyโre anonymously instantiable ๐
wait How is that working? I cant seem to do it in kotlin even with a annotation written in java
Is it really of much use though? Like the whole point is to use as metadata scanning
I think Guice actually does it for stuff like Named
๐
bind(clazz).in(Named.name("blah"))
Try Kotlin 1.5.30
Spring Autowired!!!!!! > guice
Not much tbh, the Kotlin example they give is
Also fuck you Kotlin for not using brackets on that example
Boblin
I get the weirdest errors... check this out
1.5.21 works fine
1.5.30 throws that when reloading gradle
Is that another funky thing from jigsaw?
Think its gradle, one second though
Try invalidating cache and restart
im reloading again and its doing something different
already did
no fix
lol
great stuff over here
nvm i hate life
i reloaded a second time and now kotlin 1.5.30 is working just fine
Lmao
๐ฅฒ
K ๐คฎ tlin







