#dev-general
1 messages ยท Page 257 of 1
perhaps, that's why i wouldn't worry about it too much at the moment - once you start implementing things you'll find out what is and isn't practical/useful
(Side question: Does anyone wanna play Sburb with me?)
never heard of it
I have been exploring their web api to try and find a vulnerability like csrf or something so i can report it and get invited to the team then take down the server.
You've never heard of Sburb!?
thats a joke btw
I'm afraid not
are you sure
where can one learn . i know you devs hate newbies but like is there a youtube video series where one can learn to code
Look it up.
idk we'll have to see
no we don't
Okay. Damn.
@hallow crane ricky be making everything custom coded eh?
ricky and I are close and we do the stuff together
the best programmers make plugins in asm x86
helpchat tutorials (coming soon when bm releases) 
yes
I take credit for the 4% that makes the server good
oh ye bm when r u done
lmaoo
its as if everything just paused
like dynamic updating asynchronous leaderboards
fancy
What is "BM"?
sees 7 results
7 whole results!!
yes
more messages than i usually send in a month
BM wow but how many messages in total
what
nearly 15k messages congrats me
98 thousand 6 hundred and 44
Holy fucking moly
it's not that high
catching up to frosty
gaby and many others have more

you're pretty close bm
yea
3k from frosty and 10k from gaby
gaby used to be active afaik
yeah i believe gaby has the most
like more active
Yeah I remember seeing him every day in plugin help or smtng
wow
That was old times
clash?
old times was when i was active
hey i think people should PR to my repo
On phone :0
or you suck
im close to 50k messages myself ๐ฎ
maybe kyle
kyles left so cant check his messages
but he is old here? idk
i dont think he is
Doubt Kyle has more than Gaby, he was only active for like a year
yeah well not on my watch
๐คจ
frosty still much more active than gaby
Goodbye, HelpChat.
o
This is a very strange server.
goodbye
nothing strange here.
It is.
I'd like a justification for your opinion but the choice is yours.
fair enough Ig
@prisma wave
did i scare him away
i feel like i intimidated him with all this talk of people he's never heard about
wh :omegalul:
possibly
idk
unrelated but f# is hot ```fsharp
open System
let lenS = int(Console.In.ReadLine())
let s = Console.In.ReadLine()
let inline charToAscii c = int c
let sum = Seq.toList s |> List.map charToAscii |> List.sum
printfn "%c" (char (sum / s.Length))
that code is probably horrible but
it's still hot
lemme try clean it up
i presume an import
open System
let line = Console.In.ReadLine()
let sum str = Seq.map int str |> Seq.sum
let avg (str: string) = sum str / str.Length
printfn "%c" (avg line |> char)
``` cleaned it up a bit
that's hot
yeah
two for loops that could be done in one yeet rushing
hush
Hi Guys,
I recently updates my game from 1.8 to 1.16.4, pretty much everything works except one thing. Players are not having colors in tab. Anyone know how this could happen? and what the fix would be? This is the code: https://paste.helpch.at/opaxuwovov.coffeescript
Gradle please ๐ญ
Caused by: java.lang.NoClassDefFoundError: org/jetbrains/plugins/gradle/tooling/ModelBuilderService$Ex
๐ญ
Wtf, anyone have any idea about that error? .-.
Whats the naming convention for artifactId? IS it all lowercase? If so how would I imply a space between words
I think so
wheres an artifact id used?
I just see it in the gradle setup
but always just put project name
can i use - to signify a space lol, looks kinda gross but like idk what else to use
spigot-api
That answers your question too dkim
I guess I haven't been following naming conventions
When you import a project you need the group id and artifact id
implementation "group-id:artifact-id:version
?mf
Looking for useful libraries/frameworks?
Here are some which have been deemed useful by the community and are used daily.
-> Menus: https://mf.mattstudios.me/mf-gui/gui
-> Commands: https://mf.mattstudios.me/mf/mf-1/getting-started
-> Messages: https://mf.mattstudios.me/message/mf-msg
;-;
The artifact id is the name of the project
Iirc it's usually in settings.gradle
o
Bm, any idea? https://paste.helpch.at/evevemijax.sql .-.
Already deleted .gradle
Already stopped the daemon
The error happens when reloading the project actually
No need to suggest that, it's literally the first thing i do
There is no java process
Like i said that's the first thing i do
How long ago was I pinged here 
Last ping was #dev-general message
ty couldn't be bothered to search for it on mobile
Did you delete the one in C:/Users/username/.gradle
ยฏ_(ใ)_/ยฏ
idk
@ocean quartz I would guess IJ has been corrupted OR a version incompatibility
So maybe try a reinstall
Ik it sucks
But worth a try
Already deleted .gradle
hm
I can try yeah
theres one in there and project structure, i made sure u deleted both ๐
Dkim, i already did my guy
There is a new IJ update, let's see if that'll fix it
okkkkk
UDPATE
why wouldn't u update
-_-
Matt make sure you've deleted .gradle ๐
Don't you use 1.8?
wdym
Lmao
Minecraft 1.8
Ouch
๐ ๐ฅฒ
I like 1.8 pvp*
Pvp is for kids
It's a new version btw, like a day or so it seems
I like usable APIs
Die
can we just not
๐
๐ ๐
๐
๐ ๐ ๐
What?
make sure you've deleted .gradle
I'll kick you
๐
Can you do that?
No ๐ญ
๐ฎ
๐ฅฒ
๐ฅฒ
T
T?
Damn, JetBrains coming in clutch with build 203.6682.168 to fix my issue
Classic Jetbrains
can i send someone a plugin I made and get some help fixing it? this is my first time making one and im so lost
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
#development please
ok
Erm.. i mistyped that 
anyone have a good tutorial for using mySql into bukkit, im really struggling with it
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
A
If I had some form of linking mc to twitch, would it be hard to check if someone is streaming?
probably not
twitch probably has a java api
There is a new Exploit that crashes servers
Lovely
Paper implemented a fix for it but spigot and other custom made forks do not
yep
ikr
isnt paper removing java 8 support for 1.17?
But since a lot of forks out there are forks of paper don't count on it
Java 8 ftw
nah
Java 8 has lambdas tho
What about iwan.me?
eh i dont like .me
since me is similar to io
They are both really Kek names
Stop being C R I N G E
what's t1?
Oh so you are flexing on minorities then now
rude
Who's bm?
i know him, helped me quite a few times already
not used to call him mb
looks like Mister Bearn
yeah pretty cringe
yeet
idk if id say tier 1s are minorities
i would move to germany but expensive
can we get a fact check on that real quick
idk
I would say tier 1 is a majority tbh
Can we?
i mean me moving there in general
move to australia
Italy
Don't move to Australia
everyone in the UK moves to australia tho
Aussie land ew
bruh
piss
move to austria :))))
Slovenia is where it's at
Meh who cares
Aj, idk, the fucking undiscovered monsters scare me a tad
i moved to off topic
if anyone has a question we'll answer him right away
Join what
existance
Okay
its telling me ive already purchased nitro ๐
is it cos ive already used xbox game pass nitro twice on this account already or something?
I believe so
aight
who wants my nitro link
lol
bruh when did i get in this channel
"what are some weird quirks of spigot API?"
itemstacks can either be null or material.air when using the inventory api
^
a shit ton of deprecation, some of the events are quite inconsistent (3 different events for right clicking an entity)
Everything
o
d;spigot statistic%play_one_minute
public static final Statistic PLAY_ONE_MINUTE```
Name is misleading, actually records ticks played.
^^ lmao
who do u guys think is better coder? The mojang or Bukkit or Spigot?
then again, Android is kind of similar. They've both been modified so much over time and care about backwards/forward compatibility that it's become a mess
Mojang made a lot of Bukkit I believe
or dinnerbone did
that's not a quirk per-se, but it is annoying
All bukkit based software has to carry the burden of the vanilla server design as well
well done gold stars
indeed
Brister are dinnerbone/mojang like average coders or like legendary coders?
idk lol
it's a company not a cult
im not sure how you'd rate it
no like
What is a "legendary coder"
^
๐คฃ
One person cant improve all that mess
top coders u'd assume they work at like Facebook/Google
People are doing their jobs
Like or are at the top of competitive programming
So even if dinnerbone was THE BEST he couldnt code the entire game
Bs imo
clash of code :))
Competitive programming has little to do with actual software development
Can an average joe code mc with average iq is what i am saying
I believe dinnerbone was hired because of his work on bukkit
lol
probably
you can do it ?
never tried
Given 5-10 years?
If you put enough time into it
but im pretty confident i could make a basic version at least
like the alpha versions
It ain't rocket science 
beta versions?
idk
In 5-10 years anyone can get to that level
2d pre release
oh dam i see
In browser
is it much easier to code games in Unity than doing them on JAva?
yes
java is not for games
Between coding a game and extensions for one is a big difference
assuming you know both languages
use rust for games :))))
there's no reason it can't be apart from ecosystem
so is minecraft jus RAW java or any APIs used?
it uses LWJGL
nice acronym
which is a pretty thin wrapper on OpenGL
i didn't make it
ah
lol
still nice tho
Lightweight Java Game Library
Well you can probably avoid libraries if you hate yourself
oh cool
what is vulkan?
what would u say is easier? Unity games or Spigot plugins?
ill be able to renew this since im still in school right?
low level graphics api
plugins most likely
yes aj
Spigot plugins, generally
Yes Aj
epic
oh dam ok i see
plugins are definitely easier
Though you can of course make a very simple unity game and a very complicated spigot plugin
Game dev is a different thing
I mean depends what kind of experience you have ๐คท
indeed
evne minigame plugins way easeir tahn games?
In general frosty
they are very different
I feel like you don't really understand your questions Pepper lol
Y u bully me
I'd consider Game dev harder because you need so much more than just programming
replacement renderer for minecraft, uses vulkan and c++
I meant in terms of raw programming
hol' shiz that's good
iwanio it can also use rtx stuff ๐
what pepper
oh nice
Have you ever tried to make a game?
yes
Minecraft devs had to create all these things you see today, they arent just there by default
So you do on unity
oh we aint talking about complex
we have to obviously talkabout like
same level
nvm ur right they are 2 diff things
unreal is where it's at
bevy :)))
yo some guy here said competitive programming isn't software development?
why is that?
@stuck harbor was it u?
nah
competitive programming usually isn't focused on clean solutions
I didn't say that
what is bevy?
it's about hacking something together as fast as possible
https://bevyengine.org/ @quiet depot
I said it has little to do with software development
doesnt it make you better programmer tho @prisma wave ?
are you a rust fanatic?
RUSt
what ya think of vlang
not terrible
maybe slightly - it's practice, but you don't really learn much
Being a good competitive programmer is not a must imo
cus all the top companies hire competitive programmers from what I heard what this kid said cus they pass interview quesitosn much better
You don't write big end-user applications with software design in mind but try to solve a problem as quick as possible
@prisma wave ur saying its just practice rather than raw IQ?
what is "raw IQ"
IQ is bullshit
iq has no correlation to anything
^
no in competitive porgrammign
IQ test was designed as a racial segregation system
was it actually lol
Like No matter how much u practicee u wont beat someone whos talented who also practices a littel less tahn you
of course you could
Yep
so was bmi apparently
til
but i mean
Competitive Programming (as far as I know) usually focuses on knowledge of algorithms and hacks, rather than designing clean, maintainable code
@lunar cypress bro iq is not bs lmao
really is
no its not lmao
Obv
fresh it's complete and utter bs
just put a little thought into the actual concept of iq testing
a guy who has like an IQ lower than certain amount, youwont be able to function in society
jordan peterson even talkeda bout this
It's strongly questioned as a useful measurement of anything by pretty much all of modern science
i have a tested iq of 4
jordan peterson
I think I function fine
im not sure he's a reliable role model
yeah
u can't have 1 number for all of your intelligence
IQ is just how good u are at maths questions tbf
or C#
c
c++ is a popular choice (cuz unreal)
c# for unity
C++ or rust
shush
https://youtu.be/0Grs_jJ5U6w
no iq is real
My quick video on my limitations with an IQ of 75. I had speech therapy when I was young and I use Grammarly a program for spelling and grammar.
watch that video
that guy has actual 75 iq
...
maybe his just dumb
c++ is one of the hardest languages
It does matter lol
not as hard as C, but not very easy
bruh
You don't get what we're saying my guy
eh?
unreal usually
he can try as much as he can bro he wont be able to do shit most normal people can
isn't c significantly simpler?
sublime text
@lunar cypress what u saying?
eh C is old
@viscid charm obviously low IQ is gonna make life difficult - our point is that you don't need a 150 IQ to be a good programmer
Ur saying with hardwork you can be top competitive programmer or top programmer?
wait are you tryna suggest that low iq is a mental like disability thing that like cant be altered or
if you can learn java you can learn c#
budget java tbh
C# is very similar to Java and Kotlin
about the same difficulty
C is bs.
@obtuse gale you cant change ur iq, atlaest not significantly
theres a reason they have mensa and stuff
Pointers :(
what measures iq? Ive never looked into it
a test
what does the test consist of tho
Idiot quality
is it like common knowledge shit or like
intelligience quotient i believe
Nah
its ur ability to recognize pattersn adn shit like taht
<variable>& in c++
faster than otehrs
hurts me
it depends on where you're getting the test from aj
and why do you need to be able to recognise patterns fast for coding
that guy with 75 iq wont be able to code.
im sure he could if he tried hard enough
What does iq have to do with this ๐ค
anyone can code, not everyone can develop software
I think it is
fairly simple
I feel like if he put his mind to it
@obtuse gale not how iq works bro,
i'd say the difficulty scales linearly - simple things are easy, complex things are hard
most people can learn code and be good at
I tried using unity once, pc couldn't handle it tho
so ares some people just born dumb
u are being very closed minded
thats not what i m saying
wtf is happening here
Nope i am jsut saying the truth bro
Very
so if IQ cannot be altered then are some people just born without the ability to do certain things
Agree
nah
yes @obtuse gale
so would that classify people with low iq as disabled
jesus u are very rude
The higher and more lower you go, it gets exponentially
how?
wat?
WTF?
this is af act bro
so
not some opinion
same
same
surely theres some shitty iq test i can take online rn
Nono that wont prove anythign @obtuse gale
clash of code?
coc
lets go
i do love meself some coc
We're not saying intelligence doesn't exist or everybody is equally (un)intelligent. We're saying IQ is not a good measurement for intelligence as, just to point that out again, the majority of scientists argue today. Anecdotal evidence is not am argument against that
i am just saying that not everyone can do anything.
im gonna write more for loops yay
Oh yea @lunar cypress i agree with that
right so some people are just born without the ability to program is that what youre saying?
IQ is just a somewhat biased measurement of logical intelligence
just to add onto that, a good metric doesn't exist
Yes @obtuse gale
there's no way to test something like that
Correct
beep
ok but whats stopping them from programming
Dude they cant even land a job my guy
how are they gonna code?
watch the vid i sent, i can send it to you in ur PMs
lmao same
you're honestly better off doing the worst you can on iq tests to have some fun, unless for some reason you want to be circlejerking in mensa with pseudo intellects
haha
All A
No but again, i am not saying it like that. I am just saying people AT THE VERY TOp for shit like Chess and struff all have high Iqs.
well yes
because IQ measures logical ability and chess is all about logic
i am not being rude.
i do shitty logic in my programming does that mean i have a low IQ
anyway, enough talk, more clash
How sure are you aj
nobody else joining? D:
xD
i'd like to note that the tested iqs of top chess players like magnus carlsen, aren't real. iq tests simply can't measure iqs that high
EDIT: I mean yeah, that's the number they got, but it doesn't mean anything
Cant rn sorry bm
๐ฆ
๐join ๐clash
The problem is you're making a fallacy. You're implying that IQ is some objective way to separate the "dumb" from the "smart" and that IQ causes performance @viscid charm
Lol pig
Nono
haha 0%
aight let's go ig
just stackoverflow
.cs
@obtuse gale .cs I believe
BUT iQ is definately an good indicator of success. Generally speaking
u shudnt relay on it, but its a fact waht i just said
what do you define success as pepper?
oh no
bruh
this is not good
@quiet depot fit in society, if ur under certain iq, u wont.
Citations please.
confusion
so
reverse
im not gonna tell you
K i will find citations tommorow
good
but ok
Idk where you live pepper
But you dont need a big IQ to have friends or have a job that is not rocket science
yeah i do i think
i know what it is
lol its clever
i just dont know HOW
@distant sun i get what u mean and yes of course
BUt having a higher iq, will increase ur chances of success
read it
or not have a low iq*
Whats the problem @prisma wave
Ngl, this chat has become a hell of a lot of stupidity 
just ignoring facts but o well
for loop time
This is easy
its like saying, being the biggest bodybuilder, anyone can do it.
"Oh with enough steriods anyone can become the biggest bodybuilder"
That is stupid
^
straw man
And no person that actually thinks will say that
no one is saying this
Ide integration for coc when smh
Piggy
make me a java api wrapper
=ok but most people, can take as many steriods as they want, they will never get as big as ronnie coleman Natrually
nice
they gotta inject the juices
Yea .. sure
=ok but most people, can take as many steriods as they want, they will never get as big as ronnie coleman (EVEN IF HE was natty)
can't you use a map with indices?
Lol
wont work
run first lol
however it was about coding, to be a good programmer, you certain need a minimum/certain level of IQ.
probably
lol
@prisma wave game id?
idk lol
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
@obtuse gale https://paste.helpch.at/yumitofivi.js
ye but what's the id
lol
u may be close
my code is just bad tho
like really
big bad
i use a modern for loop and then add to an int called i?
tf is going on here
like wut am i doin'
(->> input (map int) (map-indexed +) (map char) (apply str)) @prisma wave 
oh i see
did
haha yeah
i did it in 7 but for some reason, i converted the input into an array
then used a modern for loop
no idea
@obtuse gale @prisma wave please submit. thanks
its at the top
i will when bm does
lol
omg
lol
i literally got it working at the last second
my dude
@obtuse gale get fucked
that code is nice tho
i dont 75%
ha
let l = Console.In.ReadLine()
let first = Seq.head l |> string
let str =
Seq.mapi (fun i -> fun c -> (int c + i) |> char ) l |>
Seq.map string |>
String.concat ""
printfn "%s" str
@lunar cypress messy but close enough
@obtuse gale share code
ok you're bad
my dude
i couldn't figure out currying so i had to use (int c + i)
val alphabet = listOf('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z')
its just ascii
i read the abcdef example and i was like ohhh yeah
just add the position in the string to the ascii value
|> is composition?
yeah
Brings the left hand side to the last argument of the right hand side
Quite nice I think
Just use a String lol
haha ur code is good to work for google
or ascii xD
i only got problems when a letter was repeated
o
he shared code
fun main(args : Array<String>) {
val input = Scanner(System.`in`)
val word = input.nextLine()
val alphabet = listOf('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z')
val endString = StringBuilder()
val wordClone = word
word.toCharArray().forEach {
val indexOf = alphabet.indexOf(it)
val add = wordClone.indexOf(it)
endString.append(alphabet.get(indexOf + add))
wordClone.replace(it.toString(), "")
}
println(endString.toString())
}```
wow
class Solution {
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
String l = in.nextLine();
// Write an answer using System.out.println()
// To debug: System.err.println("Debug messages...");
String[] characters = l.split("");
String output = "";
int i = 0;
for (String c : characters) {
int pos = c.charAt(0) + i;
output += Character.toString((char) pos);
i = i + 1;
}
System.out.println(output);
}
}
``` beep?
the wordClone variable didnt do anything btw
it was something i was testing that ditn work
we doing another one?
nah
I'm eating lunch rn
are there no 2 parameter lambdas in f#? 
There probably are
I was just speedrunning the docs
Although I think it's like Haskell
interesting that this works though
though tbf i dunno the semantics of mapi or fun so
lol
mapi iirc was int -> T -> R or whatever they use for "generics"
But it implied 2 functions
How come?
It's a bit messy but doesn't seem like it wouldn't work
the fun c lambda returns another function correct
well I guess it makes sense if it works like in haskell
yeah
Oh it looks like you can have multiple parens
But maybe that's just syntax sugar
And gets converted to "repeated" functions
Not sure what the correct terminology is there
public void createTable() throws SQLException {
PreparedStatement ps;
try {
ps = plugin.mysql.getConnection().prepareStatement("CREATE TABLE IF NOT EXISTS player_stats "
+ "(NAME VARCHAR(100),UUID VARCHAR(100),KILLS INT(100),DEATHS INT(100),KILLSTREAKS INT(100),WINS INT(100),WINSTREAKS INT(100), " +
"LOSES INT(100),LOSESTREAKS INT(100),GAMES_PLAYED INT(100),BROKEN_FLAGS INT(100), PRIMARY KEY (NAME))");
ps.executeUpdate();
} catch (SQLException e) {
e.printStackTrace();
}
}
at net.lusermc.ArenaSetup.Mysql.MysqlGetter.createTable(MysqlGetter.java:22) ~[?:?]
tรผrk mรผsรผn ๐
what is line 22 ?
so much nullability
@normal talon
just paste your whole code here
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
uuh yea, I don't understand Mysql
-_-
plugin.mysql.getConnection() any of these things could be null
what's the error?
also #development for support pls
@quiet depot I think i should go with Rhino js for now. GraalVM is just too hard at this point to work with, as many still uses jdk 8
rhino doesn't have any benefit over nashorn
and if this is for mc
paper is forcing an update to 11 soon
so don't use 8 as your reasoning
I already noticed this
There's still no way people will get over with that easily ._.
Beside, majority haven't even used Paper yet
majority of what
majority of people who run servers
or majority of people who run servers on the latest version
because paper has a majority market share in 1.16
The first one
I asked my friends on a server before, and half of them still went with TacoSpigot...
tacospigot is paper
java 17 > java 11 > java 8 > java 0
java 0 > kotlin
But I agree with Paper moving on java 11
remove it from the comparison
jk forgive me
how dare you
Anyway, what about the people who still don't want to move on with life 
What's the plan for that?
@quiet depot
who gives a fuck about them
no one
they can go fuck themselves
that's the official attitude
Meh ._.
we gotta force people to upgrade
Same thing for people using 1.8
Whatever ๐
No point in supporting old stuff just because people don't want to move up
yes I'm pretty sure java 8 is gonna die drastically
yes
its already died
๐
no
Unfortunately not
its dead in my eyes
majority of plugins still runs on java 8
Good for you
even tho lts
LTS will be java 17 soon, wont it?
java 16 first
Lads, wanna hear something cool!
i got intellij ultimate ๐
very cool
I got some questions about it tho
What is the difference between them
Is working easier and quicker with ultimate?
no
17 will be LTS not 16
@quiet depot that said, I'm not gonna be responsible for if people join here to crusade lol
ultimate is only useful if you're doing enterprise development
what's this even for?
I can't remember
yes but java 16 hasn't released yet pretty damn sure
"LTS will be java 17" was the message you replied to
wdym by enterprise?
I mean his question was about LTS not the next Java
java ee
The people you want to f- with ๐
making java software for spaceships in the far future
no but like what project
JS-Expansion
lit
So do you want me to still adapt ScriptEngine JSR223 or new concept?
wait graal doesnt work on 8?
Piggy, wanna rate a website I made?
