#dev-general
1 messages · Page 525 of 1
So if you have Java 16, you can compile target Java 8, then people only need Java 8 to run it
btw what is the diff between source and target compatibility?
See but if even I'm confused, plenty of companies must be as well
Wait, I have java 1.8 as my path for some reason but I always compile with JDK 11 I believe? How does that make sense then?
IJ doesn't necessarily use the Java on your path
You specify it in the settings and in the build tools
Ohhh yeah because the JDK includes the environment also right?
Huh
So IJ automatically just selects the matching Java version? Or what
Uh it can auto download what version it thinks you need
But you usually want to explicitly set it with each project
Yes by setting the JDK right? When making the project
Wait it's because I'm messing up SDK and JDK
The difference
I don't get it
There's not a difference anymore basically
SDK historically only contained the JVM
But nowadays there's hardly a reason to split, so everyone just downloads all the Java stuff including development abilities
See why I just refer to everything as Java lol
But like my project has a "Project bytecode version" which is 1.8 for me right now but the SDK is 11, so the SDK just has to be 1.8 or higher?
And which of these versions changes the required Java version for the server host?
So the project bytecode level is the target version
Your "SDK" is what version of Java it is using to compile to that target and it must be higher than it yes
And the server host needs a JVM above or equal to the bytecode version to run it
So SDK can be 16 and the server host can still use java 11 if the bytecode version is 1.8?
Yes
But then I should just always select SDK 16?
Well if you want to support older versions of Java you need to target older versions of Java
Really you should set it to 11 for most cases but some idiots are still on Java 8 somehow so if you want to cater to absolutely everyone then go with 8
But like all of clips plugins and such I'm pretty sure require Java 11 now at least with the 1.17 release
Every host has atleast Java 11 now anyways
Yes they should
So a plugin made specifically for 1.17 can just use Java 16 as bytecode version?
It's very easy for people in our community to upgrade Java versions
And bytecode version = target version?
So they really should be on latest
Yes
Ahhhh alright, this makes way more sense now
Yes since everyone will have to have it anyways, you might as well get the new language features and speed improvements
But the players on the server can still use Java 8 right?
Or wait 1.17 also requires Java 16 for the players ig
Yes they're competely separate
But yes 1.17 uses Java 16 so it doesn't matter too too much
So the whole mc 1.17 and java 16 requirement is just for the server hosts? This doesn't mean anything for the players?
It'll download it for them automatically and give plenty of speed improvements and QoL for the developers
But most users won't know, yes
Ah okay
One last thing
When developing, the "features" with Java 16 are they in the code itself or just how it compiles?
ig in the code itself also right?
Both
Such as records, switch expressions, pattern matching instanceof
Those are just the ones I've used in my projects
Alright so if I use SDK 15 and use some features that's not in 1.8 but the target is 1.8 will it then compile?
Alright so if I don't, will it then show which feature that I can't use in the current target version?
The linting is based off of your target version
So you will get errors if you try to use new language features
Yeah but will those errors point me to where in the code it's incompatible?
Yes
Ah okay, nice
It'll highlight red just like any other error
Will it also show the required Java version?
For what
For the feature
No
It won't tell you you're using a new feature
It will just like not know what that class is
Or not know what "record" means
But wait
Then it's useless to use a SDK above the target version anyway?
Since you can't use the features?
It usually provides better compile times
And you can use it to compile towards other versions too
So you can have a 1.17 plugin and a 1.8 plugin both on the same machine with just one version of Java
As in changing target version?
if u use a higher jdk then u probably wont need to ever use a lower version for anything, just target the lower version but then u urself can use that higher version for anything u want to
Yes
But I can't use the features from the higher version anyway?
If you just install Java 16, you can compile for any version you'll need
^
Well ya but that's not the only reason to upgrade
meaning that u probably wouldnt ever need to have another java version installed, due to backwards compatibility
Alright so if I NEED a method / class from a more recent java version I just need to change the target version?
Yes
Alright, thanks both of you for taking your time to explain this!
I really appreciate it
No problem, the Java version upgrade of minecraft is my favorite part of 1.17 lol
I thought it would cause way more problems than it did
I thought it required target version to be 16 when making the plugin
Oh no only a few reflection things were messed up
There are more servers running 1.17 than 1.8.8 :kekw:
Wait really? And Paper isn't even out yet!
Yeah lmao check bstats
God I'm so happy with 1.17
Lmao
Bro half of all servers are in offline mode
yeah
Oh though I guess that is mostly bungeecord
Oh I'm sure it is
There's also bstats for bungeecord, check those as well if you're so certain
No way more than 20% of servers are cracked
most romanian servers are offline mode. and that's like 700 on Minecraft-mp alone
yeah star they are xD
Dude we have had this conversation before lmao
The 3 of us
You don't have to believe me
Look at the data
Lmao
was thinking of something else but don't know what xD
but anyways
most small servers (non international ones) are offline
that's why most romanian servers are offline. bcz first of all the community is trash and second of all they don't buy minecraft xD
so yeah
Damn I guess if each bungeecord server has, say, 3 offline servers per, that's still like 50k cracked servers
Though that doesn't include velocity data does it?
well you shouldn't measure the servers. just the network
no. you said if there were 3 offline servers per bungeecord network
but that's not really you can count
plot twist hypixel runs offline mode 🤡
I Know a lot of cracked servers that have more gamemodes than hypixel.
They do
tho not as many servers most likely
I've been working quite a bit on stuff in Krypton, namely, we now have entities (I've only added the zombie so far, but I will add the rest very soon), but I'm now trying to do some work on adding registries to the API, and I was wondering if any of you have any suggestions about the way I should implement registries
just more gamemodes and 1 server per gamemode
Anything that's behind a proxy is in offline mode
nice
no suggestions tho xD
I have no clue I pay for my minecraft
not as many
and I Knew that bcz I've seen a lot of trash servers using pin and captcha plugins instead
or the Login one
Bam there you go
No way it's more than like 5k
I mean compared to the 200,000
Still, bungee bstats shows about 50/50 too
anyways star. its a lot of offline servers
No fucking way
a lot lot
I literally shared the link
but yeah not all bungee servers use authme bungee.
bcz they can't even get that right
they either use the bad option that was made by someone else and has a lot of bugs
or they just use the spigot one without the bungee one
which again is bad when using it on bungee
one metric I always do like to laugh at is Sponge's bStats page, which shows less than 1000 servers because Sponge decided that it's a clever idea to make metrics opt-in rather than opt-out
Lmao
like literally, worst mistake you could make with metrics
also u know those scam servers? that used to get a lot of attention last year? the ones that were giving away baltop rewards but just dissapeared after a month with thousands made in sales?
those were alos mostly offline
F
No I don't play cracked servers
oh btw, did anyone miss my question about registries?
well u don't have to. they were getting a lot of attention on youtube
No I just have barely a clue what that even means bardy
lol
my entire feed was just that. even tho I kept asking youtoube to not recommend them xd
emily aren't you decent with registries
I'm really tempted to just kinda copy vanilla's system and just stick it straight in the API
I mean, pretty much the only other option would be for me to get some form of static access to something in the backend, which is kinda ugly ngl
I'm very good at saying that enums are very constraining but I wouldn't have a good time making a proper registries system 🤡
lol
the only issue with me just copying the registries from the frontend to the backend is that the backend registries use fastutil and the DFU 🥲
how's that an issue?
Probably more dependencies
did jda change the name of the mainClassName property?
you don't need to expose that
also frontend <-> backend sounds wrong if it's only one program in the end
gradle is what I meant yeah. did they change it?
bcz rn it keeps telling me it can't find a main manifest attribute
I Update to gradle 7.0.2
from 6.2 or whatever it was
Did you provide a main manifest attribute?
ugh what's that tho? isn't that the mainClassName one?
Yes
With javafx/tornadofx, anyone know why this happens? the stack traces don't lead to my code, it's unreproducible, it happens randomly, and the stacktrace is https://paste.helpch.at/ilizegicel
I need something to fix this because it crashes the program 😕
I found this article talking about it in the "Limitations with Local Variables"
i'm not sure if this is exactly your problem but it could probably provide some insight
😕 <local> is just a local variable, same as a field but local variables don't have names
I doubt anyone might know about this issue since I couldn't find anything on google either
i found a couple resources by looking up "<local2> is null" but none of them seem to be directly related to your problem
https://stackoverflow.com/questions/29457693/spontaneous-nullpointerexceptions-when-firing-events might be this
im just copying and pasting stacktraces into google
Don't modify your GUI on a non-GUI thread.
oh
uh oh
that might cause some other issues
performance issues*
since i have a lot of "timers"
ty
and the only way to access the main thread is to do Platform.runLater
and in its docs it says to not call it hundreds of times per second..
😁

applications should avoid flooding JavaFX with too many pending Runnables. Otherwise, the application may become unresponsive
man, systemctl suspend is such a useful command
I never knew before yesterday that you could actually manually force sleep Linux
net.luckperms.api.bulkupdate.summary.BulkOperationSummaryStatistics
Enterprise Software™️
mmm systemd
I see you're not a sysvinit stan
not that far
I've only had a PC for the last 5 years
well yeah same
and I've only used Linux for the past max 2 years
but that doesn't mean I don't know history
do you just use ubuntu or something lmao
hmm usually people who use Arch are knowledgeable about linux in general
they're the same
sysvinit is the style
/etc/init.d is the old interpretation
nowadays we have like OpenRC and runit
not officially 😉
I do like systemd personally but a lot of people don't lmao
the default on Gentoo is actually OpenRC and I had to specifically target systemd
man git diffs are optimized very weirdly, look at that last parentheses lmao
no but it makes sense
the .build( stayed the same and the ); also did
all git sees is a ) just being inserted there lmao
yeah i guess you're right
bts? poggers
I was gonna say, I'm sure it's like open source
what if it wasn't
then probably no one would use it
eeeh
there's plenty of other open source version control systems
i am 100% sure people would not have migrated to a closed source one
I mean production companies don't use free and open source alternatives to premiere pro or audition
they are still top notch high tier production software
expensive as fuck, closed source as tight as it can get and used worldwide
if only github.com/github/github was a thing
they definitely do
the industry standard is avid media composer
and pro tools
and plenty of companies use davinci resolve, and audacity
free and open source?
Movie studios are starting to adopt davinci resolve
plenty of studios already use davinci for color
yes because it's good
they're just moving to full
I used to use it
i think you're missing my point
I think you're missing my point
my point wasn't precisely PP or audition
My point was that the entire open source community would not settle on a closed source version control system
Companies just use git because everyone else already does
Version Control was started by the free software movement and that's why we have it today
you are listing software that is neither free nor open source, which is what i was referring to
anyway, later
audacity 🤡
yeah avid media composer sucks though
have you ever used audition?
plenty of times yes
that's on another level
I hope you realize I do professional sound design
how am i supposed to realize if i don't know your daily doings lmao
and Audition is not the DAW I would use either
SVN is so much better than Git
I actually know nothing about subversion, what makes it better?
😮
What does professional sound design actually mean?
Making sound effects and stuff for musicals
Ah
so I've used plenty of DAWs and audio tools lmao
and Audition is definitely not the best
it has nice integration with the suite though, I'll give you that
I'm joking of course. RCS is the real shit
my software engineering prof never fails to mention that he wrote it
yea
man I wish I was alive back in the early Unix days, working at a university, and was also smart
imagine how cool all those projects would be
Please imagine you were Simon. Thanks
My computer is dying
It’s running a modded server, forge, and IntelliJ at the same time
💀
My ram is bottle necking me lmao
hurry get 128GB of ram like that one guy
that's a lot of ram
Don't forget to run the sql gc
Not the best, but if I had to choose between that and audacity, I would choose audition (and, as you said, it integrates with the rest of the suite, that's a big bonus if you or a team uses it, they actually integrate pretty nicely)
Audition is slow and bloated and lacks useful features of DAWs
it's in a weird limbo between a DAW and a quick audio editor like Audacity
so if I want real audio editing, I'll use a DAW
if I want to quick record something on a school pc that has a total of 4MB of ram, I'll use Audacity
Last time I used it it wasn't (annoyingly) slow, that is to say it was 2016/17 lmao
have you tried Reaper though
Uuh sounds familiar
Tantacrul is now head designer at Audacity I think so that's pretty poggers
and comparing to Audacity isn't necessarily fair, Audacity isn't a DAW
I know! It makes me so happy
Forge 🤢
I mean musescore turned out pretty good under his guidance
Not like I got much
I was like man you're showing me the same picture of a key twice
So you're into music?
Not too too much, I did choir in middle school lmao
I mainly do audio for musicals and like videos/short films
what instrument did you play?
I really got into it in my last years of high school and the pandemic destroyed everything
Typical pandemic
I used to play the keys, but I consider myself a Jazz bassist mainly right now
lol
"the keys" is how its friends call it 😎
yea yea
Might be wrong on that, it's been a while
I really miss it a lot
I was only getting started
We had a lot of gigs lined up too... that would have been so cool
Damn I can feel Johnny's joy and disappointment hahaha
🥲
Emotions unfelt for over a year
Paper vc be lit 🔥👌🔥👌
German
hey what changed in the new version of rainbow brackets
as far as i am concerned the version number :kekw:
it affected many
Ah yes, my server #git-spam channel is now dedicated to commits i want to PR to LP 🥲
instead of my own shit which i should be working on cough
I‘ve never heard of someone not working on the stuff they‘re supposed to 🌝
Typical lol
Oh my god im liking spring so far, it just works
Try Ktor 😌
Enterprise 😌
I've never heard of someone working on the stuff they're supposed to lol
it's time to rewrite a load of stuff and break everything :)
Time to rewrite your discord client I think
shut
🥰
Haskell minecraft client 😬😬😬
@steel heart you’re making?
tui is best
How dare you say something like that
Gui > tui
Nah
Yes
which one of these looks nicer
Are you really asking that
yes
right
isn't left just the default GTK theme?
yep
cba with gtk
i use terminal everything anyway
except stuff that doesnt have it but none of it is gtk
the real question though is why the fuck do you have code open in a text editor
to demonstrate
for demonstration
I was gonna say
what kind of person writes java in vim
Is there a way to make my java program like come bundled with java or somethin so it can be ran without installing java?
you had me worried there
@stuck harbor
iwanio is a sublime user
crazy man
and i've written java in sublime
did iwanio switch?
portion of rpf was written in sublime
i can imagine that's not that bad
he used to be a vim user
iwanio was an emacs user
ew wtf
i'm so sad intellij doesnt support compositor transparency
But have you written sublime in java? 😌
😔
this is worrying
an empty line
where could it have come from
how do people live with only 16gb
it's just not enough
ij, bungee, bukkit, and 2 mc instances
Seems to run just fine on 16gb ram
1.17 spigot
Ah, havent tried that much
oh using resource packs on both clients, that's probably it
Just opened it for a few mins yesterday
my laptop only has 8 🥲
+1
Emacs 😌
doubt
^^
cap
FALSE
I don't see any smart people here using sublime
how does one create a manifest so my hjava thing will run via java -jar whatever.jar
i see very dumb people using emacs
one person in particular forgets the person he is talking to wields the ban hammer
banned for spreading the truth
^
you have no rights in here
the Emacs martyr
its ok bm, you can join me :D
windows?
no
which one
kde neon
Atom / vsc / sublime are for B tier programmers
vim is for clever people
Emacs is for ascended people
nano is for smooth brains
oof
Although it's not bad for small edits
nano is the only cli editor I can use
kde neon is ubuntu?
nano bad
yes
ah
kde neon is rolling release for kde software
small beard
based on the latest ubuntu lts
kubuntu is the other way around
it gets new ubuntu stuff but not kde
🧐
🌞
This normally takes a few seconds, now when I really need to leave, its taking forever!!!!
rgwqwrgqrwg
it's faster to kill java and restart the build than wait for that
yeah kill java please :)
I had the wrong password for the keystore
😌
signed good unsigned bad
what's your nickname for boris johnson?
bojo
and by "your" I mean "you english people"
twat
interesting
or just "Boris"
my teacher said it was "bojo" but I'll be sure to correct her
"Actually miss, they refer to him as, twat"
correct
Unfortunately
🚨🚨 | BREAKING: Dominic Cummings says Boris Johnson just tells rambling stories and jokes in coronavirus meetings - then at the end he shouts ‘forward to victory’
799
4232
😳 😳
Isnt the second coming of jesus supposed to be the end of the world or something?
🌞
The world could probably do with a good ending ngl
yeet?
yeet.
I am supremely sublime now
but vim has a place in my heart :)
I thought you were an emacs guy before
did you end up buying a sublime license?
oh i think they changed the license model that's right
u have to pay every 3 years or something
Vim gang
star how is guice adventures going
Uh I didn't get what you were talking about I don't think
But it's been great in my plugin that I haven't worked on in like a few days 🙂
Ah okay I definitely will
But I also am about to start a job doing python and Django at my university
oh I feel so sorry for you
django
you should make your job switching to a reasonable language and framework
I don't think I have the power to do that lmao
F# looks good on ur CV ;)
well not with that attitude
I mean this guy has the been only person working on the website besides students the entire time
tell him he's been wasting his time
F# 😌 😌 😌 😌
He personally chose Django, so unless he's realized the pain he's caused, I think he's not gonna change
only employment f# developers can find is behind the desk at a 7/11
not true sir
I just read an article that a bunch of financial companies use OCaml
So uh, thoughts on that?
yes
wtf 😂😂
we got a decent government
Same 🥲
imma get MSFT to switch to F# for windows
It's a lisp?
but F# is bracketless
being good
Hmm
I've retracted my statement as I've never used either language so I've got no clue what I'm talking about
You don't like Scala?
Oop
lmfao someone just offered to buy my chrome extension that I made like 2 years ago
nice
how much?
no idea yet, idk if I'll reply
I had some serious offers for another of mine, but chrome removed it because it stole assets from the chrome dino game 🥲
stonks
I think F# is more functional than Scala is
Scala is like 50/50, F# is more like 70/30
Maybe 80/20
Ah I see
at 6 AM 👀
to use root
Yes but only when you need it
You should never be logged into root unless you're like installing arch or something
the password contains *
It's the principle of least privilege or whatever
You should have the bare minimum access level to do what you need to do
https://chrome.google.com/webstore/detail/pacman-popup/iocghaljaochhkgajdilelogdkejkiil?hl=en-US
heyy
thank you
That's why you disable the root account
I agree, but only for a system where I am not the sole controller
for example a business
What?
if I'm the sole controller i'll do whatever the fuck I want
yes that'd be it
IT HAS MALWARE GOOGLE WARNED ME ABOUT IT. THEY DISABLED IT FOR ME SO I DOWNLOADED IT AGAIN TO WRITE THIS REVIEW. THE PEOPLE WHO ARE SAYING ITS GOOD AREN'T LIARS BECAUSE IT USED TO NOT HAVE MALWARE. PLS DON'T DOWNLOAD IT.
I understand it's a good idea for beginners, as they're usually unable to correct the mistakes they make as a result of using root
for example file permissions
Also AWS doesn't give you root account by default
lmao people are intresting
downvote it for me 
It's a good idea for everyone
most hosts don't I believe star
Pig you are not beyond making mistakes
never said I was
say it wasn't helpful
ohh
then it doesn't appear at the rop
"It's a good idea for beginners who are likely to make mistakes"
I know I've made mistakes that would have costed me a lot more if I were logged in as root
who needs all of sudo's shit
Me
when u can have klean doas
what's doas
smoooth brain?
should i swap out sudo for doas
depends
what on?
how u use Linux
just as a desktop
it barely makes a difference
sudo is slow af on my laptop
I would definitely make mistakes if I did
try out doas I guess
What
I only use it on a server environment where imo, such mistakes are so much easier to avoid
see if it's better for u
Sudo doesn't do anything by itself
it just takes forever to prompt
I mean I guess
and it's not like I run software through root either
I still use non-root on every Linux machine I've ever used
I'll make dedicated users for it
my vps runs debian
I still try to be somewhat security conscious
run awaaaay
but security has really never been my strength
Dude if Unix from 1970 can run sudo I think your computer can
¯_(ツ)_/¯
Is typing sudo really that hard?
Like I didn't even think this could be a debate
when ur running linux on a Saturn V
Every person I know doesn't use the root account besides you I guess lol
wsl is in windows store, no?
i cant stand wsl
Windows server has no windows store
You can still get it without windows store
What why lmao
Why is this chat full of such poor hot takes
do u actually use windows server
when I have to use Windows, yes
\/\*\*(\n .*)*\*\/\n @JvmField\n val jesus fucking christ how tf did I actually make that work
I don't have wine cause security
But why would you use windows server? Less bloat?
yeah
boat?
Like I bet it makes certain things a lot harder
less boat
for example being respected
if you mean less bloat then Windows Server doesn't have less bloat
in fact, I'd strongly argue it comes with more bloatware than Linux does
What
and uses more RAM
Bardy wtf are you on about
He uses windows server as an alternative to normal windows
Not an alternative to Linux
omg why
what
sorry, I thought this was a Linux vs Windows server argument
why would you use Windows Server on a desktop machine 
That's not even an argument lmao
less bloat
The only reason windows server exists is for active directory
no way you can get games to run on Windows Server
That's what I'm saying dude
why wouldn't you be able to?
valo on Windows server is 10/10
isn't windows server just windows without tracking
the only reason Window Server is used is because of AD, not the only reason it was created, Microsoft had, and still have, the delusion that they can somehow win over the server software market with their proprietary piece of trash
I swear it had more restrictions
too* 🙂
thief 😮
mind your own business
it was a correction of the spelling
Yeah it was wrong
he was trying to correct my grammar unnecessarily
where was the correction
yes that's why he corrected it
No bm was wrong
no he wasn't
how
"Seems to work"
explain
nah BM's not wrong, just mine was fine in the first place
That's correct
you're looking at the wrong word
grammar corrections are always necessary
oh
o
lol
Oh I thought he meant in the discord message
also, \/\*\*(\n .*)*\*\/\n @JvmField\n val regex master though amirite
i am very perceptive towards grammar mistakes
more like formatting crimelord
See that's why I was really lost cause I know bardy said his discord message right lmao
shaking my head
a.k.a grammar police
a noble career
idrc anyway, I'm part of the force too lol
not with that attitude you're not
good point
I mean, doesn't matter anyway since it's gone now
not sure how I missed that
Haha
I was reformatting the ParticleType pseudo-enum to keep uniformity with all the other pseudo-enum registries
as part of the new registry system
you ain't contributed shit yet so no lol
Haha
contributor role is awarded to people on the GitHub contributor's list
aww my contwibutions not gud enuff fow senpai? >.<
Wtf
what the hell
Can we ban Lucy again
you just reminded me that I should make a translator role

Krypton UwU English translation
pls no ban ;-;
^ this is my contribution to krypton btw
pls ban
je le traduirai a francais
sacre bleu
shush
unsubscribe
i'm gonna try move to reposilite
I tried but it said it would change for all the owners of the project
wow i forgot just how bad this translation is
It has some bugs
reposlite is nice but there's some minor things that would be useful that it had.
such as?
Like you can't delete deployments unless you have fs access.
Like reposilite tries to mirror a directory as a html file when proxied
Ok so I i wanted to download adventure, but I used an incomplete url, somerepo.com/org.adventure/adventure-something
This example without the version part
it's an example
It downloads the html page from that directory instead of finding it as a directory
I was gonna say
Shush he's telling a story
And then
You cant get it to resolve that as a directory without manually deleting the entry
I'm somewhat struggling to see where this would become an issue
well actually
have you made an issue?
Yeah I was gonna say
Not yet
I bet you could pr it if it's that big of a problem
I looked at the source for sometime and then forgot
When an incomplete request is made to the repository
🤔
nice pixels you've got there
u change ur pfp daily
not my video ¯_(ツ)_/¯
uhhh when I ssh, it sshes into powershell, is there any way to make it go into command prompt?
nvm i can just type cmd
yes. smh
why tho?
why what
I feel like != is better than /=
=/= is the real way
Why?
well their reasoning is to be more close to math
Yes
but to me that is not closer to math bcz in math the / actually croses the = sign
idk
Some code editors do format it that way
I guess that's true
windows bad
I know :/
idk, I didn't download it
maybe it came when I installed haskell-dev with chocolatey?
huh possibly
What actually is the issue?
I'll try to reinstall to see if it fixes my issues
intellij doesn't identify stack
well, yes, I downloaded it separately just to make sure
even when I manually select stack.exe from intellij, it just says that the stack executable is "invalid"
it is definitively there
Do you have something setup to auto change your pf or something?
try stack new
Nah I just got bored of matt hancock
lol
so now we've got buff richard nixon
holy wait
console output: https://paste.helpch.at/yuholetiti.cs
might wanna make an issue on the haskell-plugin's repo then ig
i didn't touch any configuration
No idea what the problem could be

