#dev-general
1 messages Β· Page 519 of 1
arch btw :P
Linux doesn't run most of my games :/
hmmm not a kitty user I see
ok yeah ill give you that
star be like "oh ew arch pleb gentoo ftw"
Proton is pretty solid nowadays
im a simple girl
kitty is simple
so is urxvt
Windows can run LoL, but windows can also uninstall
check mate
yeah it does
The linux distro fight is actually worse than linux vs windows fight lmao
the speed at which it shows your text or can render lines is actually very important
hannah montana linux is best linux
you can definitely tell the difference between kitty and the default like usb boot full-screen terminal
no cause at the end of the day I still respect any distro user
does it do truecolor
Uninstalling league of legends? Don't think that's an option
of course
Wouldn't know, I've never installed it
brb installing it
Good, don't do it, you're better of like that
yeah, so are the screen tearing through all apps on the system! unless I manually hack it to enable global vsync on it
how the hell do i configure this thing
what gpu do you have dude, mine works great
plus dbd doesn't run on linux
and can i make it use xrdb colours
Iβve been using kitty and tmux together for years and recently realized my setup for true colors was broken, thanks to neovimβs :checkhealth command. After some searching and trial and error, the setup I ended up at was this:
Remove any export TERM lines from .zshrc, .bashrc, etc. Set these options in tmux: set -g default-terminal "screen-256c...
gtx 970
yeah games with DRM or Windows-only anticheats are the only ones you can't get working on Linux usually
which is why I still dual boot windows
BattleEye and some other AC doesn't work with Proton, so games like R6S don't work, and Destiny 2 and stuff are currently "borked" on Proton
well yeah obviously
I still use Alacritty lol
until BattlEye and all the DRM/Anticheats step up and finally realize how good linux is for everyone, we're stuck with dual booting π¦
that's acceptable, but Kitty is an in-place upgrade essentially
ive gotta say kitty seems a little overkill
i dont need all this tiling stuff, i have i3 for that
and it gives me what over Alacritty exactly?
I mean you don't have to use the tiling
better font rendering
@cinder flare what is yours?
what is my what
StarTermβ’οΈ
gpu
I still use a 1050 Ti lol
2 years newer only
I'm using 1060Ti
yeah a lot happened in those two years
according to the release date
and drivers are way better
1060ti? π€¨
don't tell me you're using the noeveau drivers
Yes
Same gamerino, works fine for me tho
I don't really play games anymore though
since when does a 1060ti exist
since always
yea all solid options
you have the 1060 6GB founder's edition as well iirc
I just yearn for the day I can buy a 3080 and finally be fulfilled with my life'
i'm one of the 3 people on the planet that bought a vega 56
π¬
shut
GeForce GTX 1060 is great for high definition gaming- it opens doors to VR and beyond. Powered by the NVIDIA Pascal architecture. This is the ultimate gaming platform.
it was cheap
i mean just a yikes for AMD in general as a GPU maker
inb4 the new graphics card comes out a few months later that makes your 3080 look like a 750 xD
nah dude the 30 series has been such a major leap in performance
and price as well!
the 20 series was kinda poo poo
Wasn't it like less than 10% perf increase?
uh no
Apparently AMDs next series of GPUs will be even better
ah in that case then yeah we have the same card lol. ive never heard anyone refer to it as a ti tbh
We can hope, ok
Your hope is better placed in dogecoin at this point
The day AMD makes good GPUs and good drivers will be the day a pig flies
doesnt their DLSS solution just absolutely suck?
the 500 series were great
FSR or smth?
yikes okay buddy
their DLSS is kinda poopy yeah
but at least it's available on 10 series cards π₯²
but that's also why it's kind poopy
it's not hardware-based
yeah?
more than 2x in some areas
the 3070 is cheaper than the 2080 ti and beats it
that was the big tagline
smh you don't even play any graphically intensive games
huh
Minecraft with shaders ring a bell?
i can run mc with shaders from my intel iris integrated
a 3080 is a little overkill
I mean, your money, waste it how you wish.
bro what shaders are you running
lord knows I do
not a waste by any stretch of the word
I can't get a consistent 70+ FPS with shaders and a resource pack as it stands
my 144hz monitor needs to be fulfilled
yea
@jovial warren was it you that ran i3 with the default config?
hello i amm being racially profiled in #off-topic
Dang, nice new PFP!
TY MATT
now i just have ot make it so that u can specify the ip you're connecting to
not just the port
lol
ty ty β€οΈ
Oh lol, how long have you been in the dev chat?
in #developer-chat ? since I got Support
Oh lol, well i guess i just didnt notice
Whats that from?
It's a random drawing I found on Pinterest from some tumblr girl lol
uh, you can't do named arguments in Java like that afaik
Star
lol i guess that works
why are you using maven
oh oops
my friend started this plugin back in December '19, before I even knew of Gradle
Oh lol
I have yet to convert it, just checking if it works on 1.17 lol
hello i am here to provide assistance
It's also a piece of crap, but I felt proud that I independently invented /tpa lol
lol
im trying to follow a tutorial on how to code plugins and the youtuber told me to use maven idk why
He was talking to me lmao
Lol
lol
I said Star
Ftr gradle is kinda not good to start out on, it gets neeedlessly complicated pretty quickly
You dont need any complicated setup to get started
gradle.kts π
What did you find not welcoming to new developers?
gradle.usa π±π· π±π· π±π· π
I find the basic part pretty much equivalent if not better than maven
lol
hello humans
pig β€οΈ
in gradle? Well when i started out i used maven, but like 6 months ago when i switched literally everything, and doing anything with modules is a pain in the backside
gradle is simpler than maven
Hello animal that starts with p and ends with ig
ok
You dont need to do anything complicated to use modules
create the directory, define it in your settings file
Thats pretty much it
If on ij, it handles that by itself as well
Sorry, to specify, using kotlin or literally compiling them all together or using external jars as automatic modules etc.
Its a pain
Seems to work fine, at least on my test
should work
@humble silo all of that is ez
okay just wondering if I should try to get a new one before I think it's my plugin's fault lol
kotlin is like 1 line, you just have to add a plugin to ur gradle
Its exactly the same as in maven. gradle just provides alternative easier ways with some plugins
external jars are like 3 lines
ya but that wont get jigsaw modules working
And no one uses them, so its impossible to find stuff on it
Your error is using them
Probably, but i got it working in the end
wtf are jigsaw modules
so now im very happy
we watching Saw now?
the java 9 modules star
okay but have you heard of Java 16
lol, they are great and totally suck
and how it's required for 1.17? π
yes
no need for Java 9!!
What
Are they gonna modularize their stuff then?
That would be so nice
Jigsaw is present from 9 onwards
oh what does it do
tons of security mostly
star it adds a layer of security
Lets users defined modules to restrict external access
Basically an improvement over old security managers
hmmm
Though you can get around most of that if you know anything about classloaders
But this time, its a control freak
doesn't sound very useful for a minecraft plugin
no its not
so are you not making a minecraft plugin
Not many people like it
so your complaints about gradle are that it no use jigsaw which you don't use?
i am confused
lol, no im working on a project that very heavily uses jigsaw, which gradle does bad at
You dont need gradle to define modules
Well its not open source rn, but currently im working on a mixin api
and then some opengl stuff
and its pretty much a modding api for the minecraft client
https://i.imgur.com/KbEbMPO.png I want Paper back π₯²
oh I remember!
ya lol, and you told me to go kotlin
so i did, and pain
But i have to say i love it
after the pain
If you really want gradle to generate the module files: https://plugins.gradle.org/search?term=jigsaw
lol i have tried so many of those, in the end you really just need the java-library plugin and a couple other custom things
though im pretty sure jigsaw for java works just fine with gradle easy
its just kotiln thats annoying
and those two other things i mentioined
[09:49:33] [Server thread/INFO]: [PlaceholderAPI] https://www.spigotmc.org/resources/placeholderapi.6245/```
dev build life
too advanced for the version checker
lol, for some reason i love little things like that
Like the part when it tells you a new update is available, which is so simple, but i love it
You make a ton of good arguments for experience java developers to switch over, but someone just learning java doesnt want to have to deal with also learning groovy on the side. With maven its just a super basic syntax and your off
And i do actually get faster build times with maven, but maybe im just bad
lol
Well you gotta understand the basics i would argue
You can almost get away with just Java if you want
^
And the maven syntax may be gassy, but its super east to understand
u seriously do not need basics for groovy
maven's syntax is not easy to understand
meanwhile i have no idea what implementation or api or any of these dependency calls are really doing in the background
xml is ew
looking at a maven config at first, I have no clue what is going on
especially when it comes to plugin configurations
Its XML anyone can do that pretty much
maven's plugin configurations are horrendous
Id say the only valid argument against gradle is it being impure. Control flows, io
ffs
Im not circlejerking
hmmmm
I would say your arguement is for a experience java dev, someone who is just starting doesnt need all the extra stuff
but maven is the one with the extra stuff
This is also the reason github doesnt fully suppourt gradle dependency tracking and such
extremely limited
Its gassy, otherwise easy to understand
its configs are usually twice the size of an equivalent gradle config
You cant find the dependencies till you evaluate the script
ya lol, that makes it easier
And it is dependent on state
Evaluating the script could execute, well.. anything you could possibly do
I'd be genuinely surprised if someone could mentally process a maven plugin configuration faster than a gradle plugin configuration
with the same amount of experience with both build tools
Sure, but you really dont need to use them when just starting off learning spigot or java
ok, well then there's the level of complexity gone from both build tools
it will be good
dependencies {
if (somevariable.b().a().c()) {
dependency('io.github.abc:asf:1.0.2')
}
if (someOthervariable.b().a().c()) {
dependency('io.wefwef.abc:aefwefwefsf:112.0.2')
}
}
no one writes like that
I guess that arguement makes sense, but it seems like having something else totally foreign in a new programmers project might cause issues for them
who knows though
Evaluation becomes a requirement to get what it actually declared
And the same script could end up with different dependencies on different runs
this doesn't sound like an issue which would affect a beginner
I wasnt argueing with that point
π
public class GradleBuild {
@Override
public void repositories(RepositoryManager repositoryManager) {
dependencyManager.maven(maven -> {
maven.add("url");
});
}
@Override
public void dependencies(DependencyManager dependencyManager) {
dependencyManager.add("implementation", "org.something:artifact:version");
}
}
that was chestly
interesting
π
i never thought of gradle as impure
i guess in that regard it's not entirely declarative?
chestly btw, you argued that you wouldn't know what 'implementation' or 'api' are
but it's not like maven's scopes are any more decipherable
I feel like that might have affected me as a beginning programmer, but i cant argue for anyone else
I don't even understand what yugi's arguing
oh
The basic summary
Isn't the equivalent in Maven compile and runtime? runtime makes no sense compared to api
runtime would be compileOnly
i kinda prefer maven's scopes actually
No that'd be provided
isnt compileOnly provided?
shade and provided makes much more sense than implementation and compileOnly
oh boy
Im stuck with the new issue
every single dependency you copy paste will have it picked for you
maven does the same thing just uses <provided>
shade is completely meaningless to a beginner
That's really weird yeah, i thought it was adding repository as well
I'll take a look
I never argued that one build tool had more decipherable scopes
Huh, well i feel like using gradle might have messed up my learning proccess as a beginning programmer if i had used it. I have no idea about anyone else though
hey we got rid of compileOnly okay
scopes from either build tool wouldn't make any sense to a beginner without them reading the docs
projectA implements projectB
projectB uses slimjar
since when?
it's very unlikely they'd be able to infer the meaning from the name alone
Scopes from either build tool still barely make sense to me π
a while, it's implementation and api now
thats different
compileOnly is still a thing
You're confusing compileOnly with compile
compileOnly specifically means it's provided at runtime
star compile was deprecated
^^
not compileOnly
ahhhhhhhhhhhhh
for some reason IJ hasnt been telling me that
Hmm, i think i know why that's an issue
and i switched over to 7 and had no idea what was going on
ohh what is it?
ij is weird with gradle/groovy
okay i will never speak about build tools again thank you everyone for your 6 replies about my mistake π
maybe that's a reason why it's bad
Its deprecated from 6, make sure you're not on an older version
you should be sorry
don't let it happen again
bullied
Because it'll apply only to the current project or subprojects, if one is depending on the other it might not know slimjar exists
I'll try fixing it
or else
well im on 7 now
Actually I have another consistent issue with gradle now that I switched to java 16
No
16 isn't an lts
17 is the next Java LTS
ah ok, ill switch over then
which is why I think it's kinda hmm that everyone is suddenly moving
then
11 is current
right thats what im on
which better come soon cause a lot of distros only have LTS releases in their stupid package managers
LTS is kinda dumb
Ij keeps using 6.5 gradle version, which fails on initial run, when I update that to use 7.0, it generates the build files and then fails because it generated it with a testCompile
yea it don't make much sense for a language where you can swap with one command
for operating systems I can see it
remember that java is still very much a language marketed at enterprises
and changing version in a business context is often expensive
yeah but even enterprises can run one package manager command
I guess?
You don't see LTS versions of any other language
from what i've heard migrating from java 8 to 9+ in a lot of situtations is actually pretty tricky
Really?
Yea some old libraries had to change some stuff
Jigsaw π©
in the context of like, a massive monolith application that's been running for the last 6 years
how do you register subprojects in settings.gradle?
they're holding us back
is it include()?
yes
Yeah
. any idea about this piggy?
a lot of startups with a more modern development process probably dont care about LTS
but for big enterprises it's nice to have a guarantee
well maybe big enterprises should spend some money updating their codebase
mmm new garbage collectors
@old wyvern iirc intellij will base the version of gradle it initializes on what you have locally installed
I dont have gradle installed by itself on windows
to fix the testcompile thing just remove that line from your gradle template
from managers' perspective it's a waste of money
try installing it then
ah alrighty, thanks
gives you better performance
hmm
allows your developers to use better language features
unless you're not actively developing the product
companies don't care
then I can see why you wouldn't want to change
no way companies don't want better performance or better work ability for their devs
"if it aint broke don't fix it" is the motto these enterprise companies seem to live by
^^
unless they're not primarily a software company
Also, gotta head dive into javafx now
They want us to specifcally use Java
Im not usign swing
man why the frick is gradle not replacing my @version@ π©
Unless you have a very convincing PowerPoint they're not gonna pay to migrate to a newer version
and even then
xD
Even then
mmmm sticking with the times
If it ain't broke
java 8 hit eol years ago didn't it
well hopefully it breaks
lurc
I thought it eol in like 2019
and then they upgrade
Year 2050, Oracle: "We have extended the LTS support for Java 8 until 2053"
But extended support until 2030 I think
all these boomer companies are holding us back
Java 8 developing the world π
they're the reason that graph is what it is
i am just praying that Minecraft has moved the needle a little towards latest releases
dw guys, Java will bite the dust when Elara hits the streets
^^
I mean most sold game ever has to be worth something, right?
All the startups want to use elara
Elara will auto update itself if the users doesnt do it himself π
^^
Also there will be no breaking changes ever
π
yooo 2019
π
The compiler can automatically migrate code π
Java 11 extended support is only till 2026 while 8 is 2030 lol
mother fucker
π
elarac --migrate-to elara15 ./ π π
how come Java upgrades in such large version leaps'
why doesn't it do what like Kotlin or Rust does
Probably because Oracle
juts small little incremental updates so you can just keep up with the times and fix like one bug every few versions
Also Java 8 seems to have been the first LTS
HelpChat - owners of Java
helpchat jdk implementation
yeah let's have our own version of Java
Written in elara
@ocean quartz can you send me the snippet you used to use the plugin from the local repo?
I tried but doesnt seem to work now
π
Lets do it!
I mean extendedclip.com already serves compiled Spigot binaries lmao
might as well do Java while we're at it
It's horrible, sometimes it works, sometimes it doesn't
buildscript {
repositories {
mavenLocal()
dependencies {
classpath("io.github.slimjar:io.github.slimjar.gradle.plugin:1.1.1")
}
}
}
apply {
plugin("io.github.slimjar")
}
I need to see if i can make it work the way Johnny said, but last i tried it didn't work
wait, mc package is not versioned anymore?
nms
nope
yea
now we use official mappings for packages π
mmm official mappings
if only they weren't so explicitly copyright forbidden from being used
so you have to convert to non-official mappings for release lol
that's why reobf plugins exist for, what is now every major modding platform
yea true
still a shame though
if only they just open sourced MC
would solve so many problems
Like their revenue
we can get the source code as easily as if it were open source as it currently stnads
open sourcing would change nothing
is java even selling many copies any more?
I think so
I 100% guarantee you that open sourcing the game would not impact their revenue in any way
bold claim
The point is its availability to the casual users
you still need to pay to use their online authentication servers??
open sourcing it changes nothing
Offline servers exist
yeah and they already do
ofc
you can decompile and deobfuscate the source code just as easily now as it would be if they open sourced it
Like for every software that ever existed
nothing would change, except they could have PR's
and the community could contribute
Microsoft already does it with plenty of their products and they're having a great time
knowing that you can use TAB in Konsole is so nice
Magit is awesome
yeah
ok but vim isn't emacs
ok but emacs isn't vim
I bet there's a good plugin for it
i couldnt get any of the plugins working
There's a good plugin for everything in vim
haskell-mode runs perfectly out of the box π
im pretty sure vim is more popular than emacs
definitely is
yeah but working out of the box is better than good support π
also
evil mode in emacs
best of both worlds
vim keybinds + emacs emacsness
if you use neovim stuff works out of the box
also that does sound intriguing, but i don't really understand what emacs does that's good tbh
i used neovim too
yea couldnt get a lot of the plugins working
anyway im sure this is pebcak
so
i cant judge vim for it
but imo emacs is nicer because
a) uses emacs lisp for configuration
b) doom emacs is really user friendly in my experience, very easy to set up
c) emacs documentation is really nice, you can see all the keyboard shortcuts in the editor itself
vim has the benefit of being everywhere ofc
and lighterweight
There's a plugin for literally everything in emacs because it's so much easier to make one
It's wild really
yeah i hear vimscript is painful to work with
I'm not a seasoned Vim user of course but so far the main argument that really wins over emacs is that it (or at least vi) is pre installed on every distro
yeah that's a pretty big plus
but other than that I've not heard much that'd make me switch
I do want to learn evil though
yeah vimscript sucks I'll admit
emacs lisp π
pretty sure nvim has a better lang for it though
(use-package! elcord
:config (elcord-mode))
``` tell me this isn't the hottest thing ever
okay yeah it is a very elegant use of lisp I'll give you that
(Very
(nice))
π
java fans will say ```java
usePackage(Packages.ELCORD, Map.of(
Keys.CONFIG, () -> Elcord.elcordMode()
));
I do like the lambda
i do not
though this is why Kotlin KTS exists
Kotlin KTS for vim when???
though I guess we could support groovy if you want to be spicy
actually should probably be more like ```java
usePackage(Packages.ELCORD, Map.of(
Keys.CONFIG, Elcord::elcordMode
));
"readable"
ew what Java doesn't have ::, does it?
yeah it does
fucking what
pretty much the same semantics as kotlin's
I didn't think Kotlin had it either!
I thought that was a C++ thing
oh it's like how you pass a method
yea
nearly first-class functions?
just a syntax sugar for lambdas
kinda
lambdas are sorta first class already, method references arent much different
really? woahhh
wait what is that generic
is that what it returns then accepts as arguments?
?
oh
other way around
F<T, R> takes T and returns R
T -> R for cultured people
function<R(T...)> π
die
Naah thanks I'm good
no you're not
Oh okay
ah yea you right I forgot what TryParse does
17 will be lts?
whats new in 17
no those already exist
Aren't sealed classes already a thin in Java 15+?
yes
maybe so they can remove them later without getting in trouble
oh new rng too
JEP 414: Vector API (Second Incubator)
JEP 412: Foreign Function & Memory API (Incubator)
JEP 411: Deprecate the Security Manager for Removal
JEP 410: Remove the Experimental AOT and JIT Compiler
JEP 409: Sealed Classes
JEP 407: Remove RMI Activation
JEP 406: Pattern Matching for switch (Preview)
JEP 398: Deprecate the Applet API for Removal
JEP 391: macOS/AArch64 Port
JEP 382: New macOS Rendering Pipeline
JEP 356: Enhanced Pseudo-Random Number Generators
Apple ARM as well too
that's... what that is
that moment when eclipse has a nicer splash than ij 
Ah, it's preview only, in 15/16
VECTOR API
WOOOO
Fast as fuck calculations
And the new rng too π finally more options
By "Vector" does it mean like maths vectors?
CPU vector instructions
uh
okay so what are those
AVX?
isn't that the intel expanded instruction set
you overestimate my knowledge of low level shit
i just watch a few videos about it cause I think ASM is cool
but my brain is too smooth to code a lot in Java, let alone ASM
Advanced Vector Extensions (AVX, also known as Sandy Bridge New Extensions) are extensions to the x86 instruction set architecture for microprocessors from Intel and AMD proposed by Intel in March 2008 and first supported by Intel with the Sandy Bridge processor shipping in Q1 2011 and later on by AMD with the Bulldozer processor shipping in Q3 ...
see I was right!
Yeah I'm a freak when it comes to that shit
alright that's it
if BM is doing spigot tutorials
emilyy is doing C++/ASM tutorials
Kinky
I'm not sure that clears it up much but thanks
Can you eli5
SOONβ’οΈ
can I have private tutoring
Sure
intel think math too hard, they make easy CPU instruction to do it quick
java let you use that instruction directly now
Are you familiar with SIMD?
Absolutely not
Single Instruction Multiple Data
Process a bunch of things in a single instruction
I'm not sure if AVX or SSE do that though 
Anyway
Fast math
lmao you just brought it up for fun
Lots and lots of fast math
Very fast math
Okay yeah so AVX allows for SIMD parallel computing
Very fast
That's way too advanced though π₯²
That's hot
ποΈ
Like 90% of the existing instruction set is made for a compiler to write, not humans
I learned some x86 and that's it lmao
Oh yeah those people are the really smart ones
Seriously smart
Are you seriously smart?
π₯²
I got a 33 on the ACT first try while being sleep deprived and in the middle of a musical
I got an 18 I think
nice dude
Dropped out of college because learning is hard
Pest control
A very far shot from IT
oh that sounds kinda terrible
Lol, it's not terrible, but it's also not where I want to be
hmmm, a lot of helpdesk near me has openings, have you looked around?
A bit
Not a lot of tech companies hiring a pest technician
I mean I see a lot of helpdesk openings that have no requisite experience required
What did you get on each of the sub subjects?
36 on English and Reading, 31 on Math, 30 on Science
and like a 4 in Essay writing lmao
luckily it doesn't count towards your score!!
Ah nice nice, I only did the sat
ah whadja get?
Just 1170, I was indeed stoned for it as well lol. And never retook
But I scored higher than I thought I would tbh
There a joke dude
Iβve never taken them serious lol. Pointless unless you wanna go to Harvard
truly π
yeah my score and GPA were enough to get me a full-ride scholarship to the college I wanted to go to so I'm quite happy
I never once studied for any standard wide tests. And it played well I guess I went to the school I wanted too, dropped early of the next year to pursue other shit
Oh dang what are you up to now?
Building the next Microsoft ofc!
I work two jobs for different servers, I invest and am starting a cannabis business all in time
Yea itβs a vibe, I get to chill at home and work. Do whatever I want. Never really busy. I was working in a restaurant before I got my development jobs tho.
And itβs one of the jobs I can actually be high as fuck doing lol.
oh man I worked fast food, not a great time let me tell you
I believe it, fast food is chaotic.
I tried to stay with local restaurants
There more fun to me and I donβt feel so corporate owned
π¨ | NEW: Kim Jong Un says K-pop is a βvicious cancerβ that merits work camp or execution
Via @nytimes
215
and I applied for front-of-house, and they made me do back-of-house so I had to do the stupid fryer every time
based kim?
based
excuse me sir this is #dev-general
please move to #off-topic -starting-with-K
exactly!!!
koff-topic
Koff-topic
how tf are you going to use a maven plugin for gradle for the nms shit
capitalization matters
cant have capital text channels π₯²
Paper bois are making a gradle plugin as we speak
you don't, md5 stated he expects the community to make them lmao
(last time i checked anyway)
actually?
oh shit you right
also this
oh? what is it for?
using mojang mappings automajically
smh
ah
theyre gonna have fun π₯²
yeah so we can legally distribute binaries and develop using mojang mappings
Rip
yeah let me reword that
yeah so we can develop using mojang mappings and legally distribute binaries
yea there it is
this is the time
Woah there, guy is brave, I can understand wanting a war with the US, but a war against K-Pop stans is like asking to be destroyed
this is the moment bukkit joins forge and fabric
now we need a plugin for our build tool to build our binaries if we use nms
man imagine the world we'd live in if everyone swapped to fabric
π
i think that's actually dante's paradiso
do clients need fabric to play on fabric servers?
md's solution is dog shit
only if they use mods that expect server mods too
You can actually get really good performance from a fabric server
phosphor, lithium, starlight are all way better than optipoop
mhm
and the api is lightyears ahead I hear
and those work server side too
I know!**
you see, there is no api
you just mod the game itself with mixins
fabric is simply a mod loader
the so called "fabric api" is simply just a collection of pre-made events
Isn't there a mod that makes world generation super fast?
oh so does that make doing stuff NMS-levels of annoying?
you do nms stuff
all you do is nms stuff
you do the modding itself
you don't work on a "mod environment" like bukkit presents to plugins
In theory bukkit could be a fabric mod
there have been attempts, incomplete
and they are way better than the forge+bukkit hybrid clusterfucks
but wait isn't the whole point of the bukkit/spigot api to make everything way easier
everyone having to deal with NMS sounds really bad
I remember implementing a custom pathfinder in bukikt took a while, in forge was a nightmare, took me 15 minutes to do it in fabric
dang okay
actually, survival servers with only like dynmap are prime targets for Fabricification, aren't they
not really, there are not that many things that are obfuscated, the method and class names make a lot of sense and there are many places it's documented
- mixins π€€
oh okay so no MD5 to fuck it all up?
NMS is only bad because spigot didn't use mojang mappings
yeah yarn mappings are pog
not fully
only for package names
not classes and methods etc
An improvement yeah but not fully i think
also yarn mappings are more complete than mojang ones
okay and you don't need clients to have fabric for anything that doesn't like actually modify the game right
eg parameter names, local variables etc
if you keep it server side, no
yarn mappings to spigot when
cause if so, what I'm hearing is that I could totally convert this private SMP I'm hosting to Fabric and see tons of performance gains
oop discordsrv no fabric
Yeah you could, some servers already do that
yeah i asked scarszssz how abstracted the plugin was from the platform
i wanted to make it work lol
sadly it's strongly dependent on bukkit
you know what does exist?
?
oh well that's not very useful for a private SMP
Luck here doing lord's work
hey, it's a whole permissions API lol
But I'll admit, is very cool
instead of vanilla's op levels lmao
yeah who tf uses op levels
op levels?
yeah
Whats that?
Dumb thing from server.properties that no one uses
oh 1.16 thing?
4 is like full admin
nah it's been there forever lol
π³
I see
4 is all permissions, including /stop
3 is moderation
2 is tp and stuff like that
ah
it's been there since like 1.2 I think
1 /help hhhhhhhhhhhhhhhhhh
at least
It sets to what you put on the server property
^
ah
one thing i found reaaaally weird about vanilla though is the components "api"
it's a bit funny but I've learned to use them properly and appreciate it
adventure on a whole other level lol
but it's in my opinion better than bungee chat api
yea
Buttttt is it better than writing xml in java???
lmao
The bar is very low
Guess which library accomplishes that feat
xD
uuh.. which? ππ¦
:huh:
To think whatsapp actually uses this
I mean how hard is it for them to write a serializer to xml xD
very
clearly xD
Theres also this weird scheme of static field requirements that makes its usage in kotlin hell
You need SPECIFICALLY this part to have it even attempt to send this iq packet
Theres not even any notice sometimes
it just doesnt send
Can't that be a const val? ;o
Doesnt kotlin compiler inline those?
I think so
This needs to exist as a field
Yup it gets inlined, insteresting
Actually quite cool to see it on the bytecode
Compared to jvm field
aren't static final fields like strings inlined?
Yeah i think so too
i swear they are
primitives and strings
strings are treated specially to be objects
That's the reason why Kotlin only allows const for primitives and string
stupid strings
Kotlin be like "we don't have primitives" also Kotlin "consts need to be primitives!!"
i mean structs would be cool
I guess we have records now
but they're not exactly the same π¦
kotlin bad
meanwhile SMART ghc can decide exactly what is worth inlining because referential transparency π


