#general
3141 messages · Page 1675 of 4
I’d rather use k*tlin than lua
yes
i'd rather use C++ than Lua
Windogs you mean
legit had to ask a friend for a linux vm on his server so i could work on bochtkoorts 
Ah yes, Japan

is mihcoal the owner of binbows?!?????
Good morning aururorororororra

@mental meadow

uwu
👋
oh guys it's Michael Soft, creator of the Kinect!!
Holy shit my server had a massive thread dump error
cutting butter like this should be illegal
i hate my sister.
That’s a death penalty
Many things
Imagine using butter
Butter's great
Nothing.
butter on bread is overrated
i want my mouth to not be a desert when i eat bread
Don't buy desert bread then
or i spread some butter on the bread
Or are you living in some of these fucked up countries where you only have white bread?
hell no
there are countries where you can only buy white bread?
is that a thing?
i hope not
sounds american
it's not american...
are there countries where you can buy bread?
i could go to the store and buy some rosemary bread
Hi
America is probably one of the countries where you can buy 600 versions of the same thing lol
points at china
And 599 of those things are mostly made in China. 
Yo you think pre-buttered bread is a thing
it is

it's in the frozen section and you put it in the oven
Bro, I can et a full sandwich premade
U can wat
The trick is to take a trip to your grandparents house and act like you've not been fed in 10 years
lmao
What if you dont have grandparents
self yeet
I mean, pre-cracked eggs are a thing in the US
so might not be that far of a stretch
In that case, visit some random grandparents.
the jug of egg whites?
Do you not have friends with grandparents?!
or does it include the yolks too
I dont have friends


Bitmoji 
Also in the netherlands 👀
pre-cracked is different to precooked
But yeah ig if ur lazy af lol
sulu 🥺
i've only seen the cartons you can buy of egg whites
and they're usually used for baking
Oh but you can also buy pre cracked from which are in some sort of milk carton
oh, i've never seen actual pre-cracked eggs then
<@&748618676189528155>
i like my eggs like i like my minecraft: cracked
jk i paid for the game thx
i am CRACKED
GOATED ON THE STICKS
Fimally!
oh, haha
Haha, oh
obvious plant
i feel like a bag of milk would leak more easily
but i guess if that was the case it wouldn't be sold
this made me loose faith in humanity again
Pretty much all 1l cartons here
why?
https://i.imgur.com/cIcTSro.png he clearly enjoys
people can't even tap an egg without making a mess
it's like cooking 101
i cant cook for shit and even i can crack an egg
if you cant crack an egg you deserve to starve
unless you are physically incapable
I'm just imagining DED with kids one day (scary thought in itself) explaining to them that they will starve unless they learn to crack an egg and cook it meanwhile they can't even reach the stove bc short af
yes, my toddlers will be dropped at a deserted island to fend for themself
Is ClearLagg bad?
Yes
and why is that?
give me a good reason, because i have NEVER had any issues with it in 5 years.
ah nice bad faith arguing
Why come here and ask if you don't want the answer?
.optimize2
if it's so good then why are you asking
Dear god
.optimize
if you believe it's good just continue to use it
and ignore everyone here
additional tips for improving server performance - https://www.spigotmc.org/posts/3684550
thinkn't?
Read the 2nd link
because of @dire trench saying that it is crap.
well ignore him then
What?!
you said it was a garbage plugin.
its not bad, but you should solve your issues through configs as much as you can
i have NEVER had any issues.
Which i have no issues in 5 years...
lol
Ok can you both stfu and take it to DMs quit clogging up paper with this dumb shit
ok well continue to use it then
and as i told you, unless you know how to configure it right. LOL
and don't worry about what other people are saying
i used to use it for modded mc, never for vanilla tho
Simple hits the nail
can I prevent anyone, including admins from pushing to a branch on gh? only modifying by pull request?
Branch protection ignores admins
How does the new seed thing work with paper?
there's an "include administartors" thing in branch protection
That's for all other settings but that one
afaik you can just create a branch protection and then basically say that the branch needs checks to modify
then afaik the only people who can bypass are the owners, I think?
GH perms are fucking stupid and you're basically stuck within all their confines
Just don't give people you don't trust admin ;p
The original Windows NT programmer for Windows Pinball reveals how Windows Pinball made it from NT to Windows 11 today.
Dave was the original developer who wrote the XP port of Windows Pinball, and in this episode, he tells the story from the game's original addition to Windows all the way to its removal, and why.
GET THE MUG:
https://tinyurl....
well that's not what I'm worried about, its more for my sake
@dire trench put the configured feature name in the field and a seed minecraft:ore_diamond: 2321211
idk if there is a list of configured features on the mc wiki anywhere but jpenilla pulled all the vanilla ones out here https://github.com/PaperMC/Paper/pull/6121#issuecomment-876026629
it prevented the clay mining trick
Is there anyway I can?
not at the moment
oh it doesn't even do that? kenny?
Unfortunate
I'd like to pin you to a wall 🥺
you can still use noise, biomes, structures for seed cracking
oh, nevermind i misread
@waxen panther 
@twin lagoon 
mod coordinator
thought about this yesterday... would it make sense to make new APIs to replace old ones (like Material) before a hardfork? and just have them run alongside the current ones? then you get devs to support the new APIs earlier
feel a bit weird asking that since it's not really my project but just something i thought about yesterday
oh hi rebel this was where you where ralking about clearlagg 😆
Yeah, the question is just, how feasible and maintainable is doing that before actually splitting off upstream
hard fork isnt real dont let them fool you
true
oh, suppose that's true, are you meaning the maintainability of the diff for the internal classes?
yessir, as well as events and newly added api
minecraft code is full of unnecessary crap can it be cleaned up ever
it's detrimental to my motivation
i mean, are we talking about mojang's code or other people's code
??
java and yml together
tf are you on about
imagine if plugins used json for config files
why can't someone just make one working config file that every setting for every plugin is in
"urgh dey only hav yaml support dat mean can only use yaml urgh cant use other library urggh brain too small"
Instead of ranting here, maybe bring it up to that specific plugin author(s)?
im addressing every plugin author here
this is not worth my time, back to physics
first of all, putting every config option in a single file would mean there'd be a huge config.yml
disk IO 📈
pft simple, I'm making jam
from what??? im so confused
what the heck is wrong with yaml
what do you want instead
one file
the fuck
but anyway that ain't coming soon
we have multiple files because we are a fork of a fork of bukkit
bukkit had its own, spigot had its own, we had our own
it might merge when they hard fork and split away but who knows my guy
i'm talking about plugin configs chill
🤦♂️
I feel sick
i hate users, i really do
Hope I dont got rona
imagine putting everything into one file where it's harder to find plugin specific settings
Rest then
this is why I don't make plugins anymore, because y'all are really this mf dumb
just have headings that can be jumped to
minecraft's becoming more popular so more people are teaching themselves to make aserver
logic
Okay so people are mad I’ll speak when everyone’s chilled then
Everyone can do whatever they like, it's not like the standard is to have one file with headers so you can "jump" to them lol
you have to change folder to change different settings
which is organized
so you don't accidentally edit pluginA's config instead of pluginB's config
Imagine not using a tabbed editor and opening the entire config folder and then just switching tabs
But sorry forgot I was talking to literal walnut brains
imagine having tabs as different places in one file
Don’t need to be rude... Chill out bro
Been spending too long in my college discord hub, come back here and get this brain numbing shit man
You seem mad just chill
I'm heading out, have fun
Okay so I’m guessing it’s calm now 😂
if it's so cumbersome for you to change folders to edit config files, just reduce the amount of plugins 🧠
So that’s why he’s was so mad
Wait wait wait, you want the Windows registry?
Nah simple just gets triggered easily just another day
I mean, dconf is pretty nice on GNOME but it's also a PITA until you learn the tooling
He come back later with coffee and all be good
Why is this 14 year old so obsessed with me?
lmfao
Speaking of coffee, great idea
Lol wat
@potent fossil how do you like your coffee?
Who?
Getting aches and chills I'm bout to dead
coffee will become outdated
Asked
sleep for a day then you'll be as awake as 36 hours
bro it's friday
say you got covid
you can sleep
I'm one of 2 ppl at my job that does my stuff I cant take off work and I work every day
French press, brewed for 4 mins with ~3 tbsp of coffee

Water is boiling as we speak 😎
puts the cup into the machine, places mug below it
i know, was just pointing out how fancy it was compared to me
coffee is fake energyh
I don't drink it for energy, I drink it for my off the mf wall ADHD
f ok
Simple is fancy
Chills me out instead of energizes me
fair enough

He owns an air fryer
It broke
yes, hang on, fart is brewing as we speak
🚶♂️
be the change you want to see
ok i will personally deliver smells
afaik a product like that existed
and people only sent each other shit smells
and then the company went bankrupt
the end
Back in high school the army had this VR shit that included smells so it's def possible
no way
I never thought I would be one to say "back in my high school days"
wasnt there a product that put smells into vr but it got banned by the FDA or smth?
Old ass fuckin man moment 😔
the only way possible right now is to have tech that creates a smell from what it has when it's instructed to do it. That's not sending a smell, it's sending a signal to release the certain smell that's already there
invent something
"scent synthesizer"
i mean, in any case you have to have the materials on your end, and then receive a signal to synthesize a smell
i'm not impressed.
yes
for actually sending smells you'd need to legitimately be sending chemicals over the network which is like wat
or
Spooky
Fart VR realism
.
that
and then there's the problem of how would you do this in realtime?
this world is ****ed up
if you do it that way you can do it at the same speed of the internet really, all the synthesizer would have to do is know what chemicals make up what smell, quickly mix a small amount and blow it toward you with a fan
but ppl gotta have chemicals then and it's just a mess
ok
they tried 4D cinema's with smells and stuff
but they had to scrap the idea cuz in the end everything smelled like poop cuz of all the mixed smells
those were the shit way back when
but what if there was a computer that didnt have things that directly hold chemicals and it can build anything from particles but to protect it from terrorists or people who want to mess around with it it would have unbreakable encryption that the smell data andd chemical instructions hide behind and when the smell is made its released but the instructions for the smell to be made have to be vague enough not to be harmful at the other end
boom


smell synthesis is really just chemistry it's not some secret
you can study that anywhere
actually making those smells really depends on what ur making to be able to reproduce it
or dont run
unbreakable encryption
the whole point is to send smells though
i mean like apple
ye so just send a chemical reaction equation
lul
sour gas smell
sorry not cadmium in water, caesium
This is called a replicator
Caesium in Water - part of our "Berzelius Day" uploading 24 videos in 24 hours. Full video containing this reaction at: http://www.youtube.com/watch?v=5aD6HwUE2c0
NOTE FROM THE PROFESSOR: The reaction is 2Cs + 2H2O → 2CsOH + H2. However, the H2 can then react with O2 in the air to explode. Also, unlike the other alkali metals, except perhaps F...
It's also 1 heisenberg compensator away from being a transporter
Dude you knew what it was
😔
all you have to do is make their components draw more power than its psu can handle
dunno how you wanna do that though
heck no
im not sure that'll explode as much as it'll short out but maybe
i cant even manage plugins
that and the breaker will switch
When asked by Time magazine in 1994, "How do the Heisenberg compensators work?" Michael Okuda replied, "They work just fine, thank you."
lol, I think I was slightly too old for these games but I sure do remember playing through Pajama Sam with a cousin
Humble Bundle has all of them in the latest bundle
Pajama Sam and Freddi Fish
yoooooo Pajama Sam and Freddi Fish
I was just messing btw, I'm literally a member of https://sfi.org/ 
front page has overstretched jpegs? count me in.
Oh yeah the website is horrible 
WEHAT THE FUCK
my iphone broke to water damage
i put it in rice
it said Restore
i just chaged it after a week to restore it
it powered on
no data lost
WTF
ok
Did u try drinking the water
for real this is weird
I wanted to close the ports of my servers with spigot's guide only that when I try to close them the server no longer gives a response until I reset the iptables rules anyone can help me?
@left swift @potent fossil HAPPY WEEKEND
No u
Happy weekend @warm anchor


wtf, not wishing me a happy weekend @warm anchor
it's FRIDAY
@wispy blade 
GRINCH ALERT
Long weekend! @potent fossil
I have to call HR still
Labor Day 
call me, daddy
Sup daddy 
The collaboration you've all been waiting for is HERE! Pusheen and @Hello Kitty and Friends are the sweetest best friends! Keep an eye out on https://shop.pusheen.com and https://www.sanrio.com for adorable collaboration product releases and re-stocks! #HelloKittyXPusheen
© 2021 SANRIO CO., LTD. Used Under License
© 2021 Pusheen Corp.
this is the colab i've been waiting for.
Gotta love DeluxeHub preventing your server from starting because you was editing it while you had an threading error
Took me 3 fucking hours to fix it
Because one menu file was fucking up my server
Yes I’d be more worried if server is allowed to run
It is
It’s fine now
Literally randomly thread errored
While I was editing DelixeHub
DeluxeHub*
Step on me daddy
uh

wish NL had arcades so i could play IIDX without either yoinking an iso or downloading 100+ GB of BMS charts
and then still needing a €200+ controller
@mental meadow 
Hi, this is the official Mohist's website ! Mohist is a Minecraft Forge server software implementing Bukkit, Spigot and Paper API for Minecraft 1.12.2 and 1.16.5. This website contains all informations about Mohist, with a download page.
essentialsx is pro mohist iirc? 😛
https://essentialsx.net/do-not-use-mohist.html <--- just a simple april fools joke
The essential plugin for Spigot servers.
yes
this dude sent me his log and all i see is errors lmfao
well its only like 100 lines long, i'm waiting for the full log now
stop lying bro
All essentialsx do is make essx D and LIE
all they know is be bisexual, charge they phone, eat hot chip and lie
classic minecraft drama
yeah
one last thing before i go sleep
the virgin vtuber pfp vs the chad touhou pfp
cya later suckers
So, you can now get an atomic clock for your computer for less than $2000. I wonder if that would be helpful at all in running a network of Minecraft servers.
ntpd
I mean, if it can make monotonic system time calls cheaper 😄
just get one of those $20 atomic alarm clocks and somehow take it apart to save money
Loli weebs 🤢
you should be able to run /data get entity <tab> while looking at the dog
it should show the owner's uuid in there somewhere
hmm who wouldve thought running spigot+forge would cause issues
or well paper+forge ig
that's my preferred way to run mc servers
idk i think its funny how people use super obscure things and then complain when it breaks
i have to modify all these plugins so i can run my paperforge server
just use sponge at that point
not sure if i'd call it funny, more expected
whats this?
a screenshot from the guy using Mohist
couldnt get the dude to send me anything more than whatever was on his screen so
¯_(ツ)_/¯
looks like something is messing with the chunk system too
are you running your RTP plugin on mohist?
oh
For clarification, here are two videos talking about the device I'm referring to:
https://youtu.be/JK3eTGkX6qY
https://youtu.be/Gr7sZ4MPMu8
This should help clear up any confusion.
Visit https://www.squarespace.com/LTT and use offer code LTT for 10% off
Use code LINUS and get 25% off GlassWire at https://lmg.gg/glasswire
By using an Atomic Clock the clocks between different computers can be synced to within a dozen nanoseconds, and with that performance can sky rocket.
Check out the Open Compute Project: https://www.ope...
In the first video, we explored the concept of nanosecond time resolution. Facebook, as part of OCP, has built a PCIe card to do just that, and it's a project that has been open sourced so anyone can build their own. With Oleg Obleukhov, one of Facebook's Senior Engineers, we go through the card, why it's useful, and explore why this card has lo...
Btw, after watching the top video a few times, I'm pretty sure that the "radioactive" statement in the title is just clickbait.
Completely unrelated subject, does anyone know of any better (faster/more stable) Java runtime environments than the normal one that most people use?
if there was "normal" people would use that one
https://www.handracs.info/blog/hotspotopenj9/#:~:text=Hotspot is the Java Virtual,to the cloud native movement.
most common ones are hotspot an openj9
I mean, like... Just because something is better doesn't automatically mean it's gonna be more popular.
read that article
https://www.reddit.com/r/java/comments/ga1m4f/whats_stopping_openj9_from_overtaking_hotspot/ the top comment lists some good points
Moral of the story: it depends on your application
@warm anchor 
I want to die
Also one thing take me off your bot list. That pings me about the hosting company
Because honestly thats not cool
What’s the go-to gh action, or app for generating releases automatically based on commit msgs? I found one that kinda does what I want, but it lacks customization, I’m about ready to write my own
I wonder which ones are the best for running a large Minecraft server.
I'm assuming that, both stability-wise and security-wise, the best ones will all be pretty similar.
Try and see basically. But i doubt you'll get much gain
But performance-wise, as you said... It apparently depends heavily on the application
I imagine though... The real fastest would probably be compiling all of the JARs you intend to run directly into C language, and then further compiling it for the specific server hardware that you're using.
Can Java be compiled directly into C?
Not in the way you're thinking, but let me blow your mind. https://www.graalvm.org/reference-manual/native-image
If there was a magical performance improving JVM which had no caveats, I can imagine it would either have a hefty price tag or people storming towards it
for better or worse, hotspot works pretty damned well and pretty damned hard on performance
the JVM already compiles the bytecode to machine code though, right? i don't think ditching java bytecode for C would make a difference
+ hey, you're now breaking the backwards compatibility contract by doing that 
Well, my intention isn't to deliver the compiled executables to other users, so backwards compatibility isn't a concern. This is solely to improve performance for hosting on my own hypothetical server.
oh wait
i thought this was just general JVM talk
ok then nvm sorry
still tho, JARs that contain C code... bytecode is essentially the JVM's assembly code already
Though if I can somehow find out what JVM Hausemaster used to run 2b2t, get in touch with him, and point him in the direction of a faster and more stable JVM, I wouldn't complain.
The JARs wouldn't contain C code. They'd be turned into C code.
hmm
well I'm not sure how the JVM turns bytecode into machine code but making it turn into C first sounds like adding an extra step only
but idk, i might be wrong
Calling it a JVM was a joke because it wouldn't actually be a JVM.
Java Bytecode to C++
Followed by using a better C++ IDE and compiler with more features and better optimizations...
And then compiling to the target device with device-specific optimizations
For running a very specific application on a very specific server for maximum performance.
Mostly as an experiment more than anything else.
That's not how it works
For 1, in C++, you manually manage memory, so the entire flow of Java which relies on a GC wouldn't work unless you basically wrapped everything with ref counters or something dumb
Graal's native image tool is cool and all but it's really not a good way to improve server perf
For one, it'd require a good bit of work to make Paper into a native image, and even after that you're unlikely to get much of a performance benefit at all, and more likely to get a performance decrease
plus any plugin dev you report issues to will laugh you off instantly (as they should)
also last I checked the GC options available in CE were limited and not very tunable
or just have infinite memory
that said, RAII + smart pointers can lead to code which feels very similar to java if done right
paper pls dont patch the new dupe im poor asf
jk pls dont start a war against me on twitter


Mornin
Well, it could probably reduce memory overhead, which itself could reduce the chances of a crash.
only if you configured your server wrong, in which case you shouldn't be going anywhere near this yet while it's still not finished
Lmfao what the fuck is this
native-image would only reduce memory overhead because it made a different tradeoff on the GC algorithm and GC takes more time instead
Because you still have memory all managed the same way so you still need a GC
From what I understand about GC, it would be a lot faster and use a lot less memory if we had an implementation of it on a hardware-level. If only that was actually a thing...
I don't suppose it would be viable to alternate between two different GC algorithms based on current resource demands?
the GC algorithm determines how the memory itself is laid out and stored
Drat.
unless the 2 algorithms use the exact same format, then that could never work
and what does this even mean
how would hardware know which memory is no longer accessible?
It would need custom-built memory controller with built-in GC and a programming interface to let software tell the memory controller what's going on. Hence why nobody's actually done it. Custom memory controllers aren't exactly something people make too often.
So, it would be more like a single algorithm with adaptive parameters, then. Or, something... (I don't really know. I'm tired.)
if the software is telling the controller what's going on then it sounds like you have a software GC
https://en.wikipedia.org/wiki/Garbage_collection_(computer_science)
Maybe you can make more sense of this than I can.
In computer science, garbage collection (GC) is a form of automatic memory management. The garbage collector attempts to reclaim memory which was allocated by the program, but is no longer referenced—also called garbage. Garbage collection was invented by American computer scientist John McCarthy around 1959 to simplify manual memory management ...
I know
But, like
Maybe you could help explain what I'm reading
I feel like I used to understand it a lot better than I do now.
Somehow.
https://en.wikipedia.org/wiki/Smart_pointer
I mean, I guess there are also these?
In computer science, a smart pointer is an abstract data type that simulates a pointer while providing added features, such as automatic memory management or bounds checking. Such features are intended to reduce bugs caused by the misuse of pointers, while retaining efficiency. Smart pointers typically keep track of the memory they point to, and...
Bleh. Brain not working.
smart pointers are a system of automatic memory management in a unmanaged language like C++
java doesn't use pointers at all though, that is all implicit in java refernces
Ah, here's some of the stuff I found about hardware
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.204.7355
https://stackoverflow.com/questions/542235/hardware-assisted-garbage-collection
CiteSeerX - Document Details (Isaac Councill, Lee Giles, Pradeep Teregowda): Languages featuring automatic memory management (garbage collection) are increasingly used to write all kinds of applications because they provide clear software engineering and security advantages. Unfortunately, garbage collection imposes a toll on performance and int...
I thought C++ had the option to choose between manually managing memory and automatic allocation though?
I'd imagine using the AOT Loading ability from HotSpot's old project (The same one that added Graal to the JVM that replaced C2 if you enabled it through the JVMCI commands) that got removed in Java 16 might help with this more than turning the entire thing into a native-image if it was still present in Java 16/17
Since it allows you to use statically precompiled Java to bypass the Interpreter entirely while at the same time keeping both C1 and C2 to profile and optimize your code further as HotSpot sees fit
The Azul folks started out as a company trying to make server CPUs specifically for the JVM, they learned any attempt at doing GC in hardware was less efficient because it was less flexible
They ended up with a special atomic operation in their CPU to make their pauseless GC work but the rest of the GC was in software and they later figured out a way to accomplish the same thing at the kernel level (pure software) and got an API added to Linux to do it
Holy cow SD cards need PCIe lanes these days
Modern SD spec is just an external NVMe connector
eSATA for the modern era 😄
There was no 1.16, only 1.16.1
https://papermc.io/api/docs/swagger-ui/index.html?configUrl=/api/openapi/swagger-config to figure out how I found that
How come they need such specific version
thanks
pablo
what the fuck is this supposed to mean
Divide by zero error, probably
NaN aka Not a Number
Could also mean you put words in a field that wanted numbers, you get NaN when you try to do Number('lolwat') in JS too
So basically, the correct solution for memory management is...
Just give up.
Sure
there's no such thing as "correct solution" in most cases
Go and C# get away with simpler GC design by making the language produce less garbage
Means you have to think about things more when you're writing code though
I mean Java is looking into a similar direction with primitive objects
Yeah, pretty much
Java was designed before people grasped the idea that memory access is O(sqrt(N)) and in modern computers this is pretty commonly your bottleneck
Although it's not like JS, Python, Ruby, etc don't have a use today and they're no better there
Although they tend to lean heavily on integration with native code to do the things that need to be super fast and are not app-specific
site doesn't work on mobile smh
works on pc
why is iterating over a linked list
Those are more used for scripting than full blown applications though
?
How do you do that?
https://openjdk.java.net/projects/valhalla/
NOTE: See the OpenJDK Wiki for details and up-to-date information. The goal of this Project is to provide a venue to explore and incubate advanced Java VM and ...
Go makes you explicitly put things on the heap but manages the heap for you, C# has classes on the heap and structs on the stack (and getting copied when you pass them around, nothing is free)
Oh
Rust and C and such also let you make this stack vs heap choice although they're much more flexible about it
noo i am addicted to seth everman
Who's that?
Wait I can Google it
Fuck me
/google Seth everman
Bruh
https://www.youtube.com/user/SethEverman
get my epic limited merch: https://represent.com/setheverman hello here is the easiest way to create ... epic seth everman tumblr posts compilation (funny).
Rip thanks
The .NET JIT and GC have historically been a bit of a joke compared to the HotSpot JVM but that usually didn't matter because C# and CIL had a much better design than Java and JVM bytecode
I never knew that this was a thing for languages compiled directly to hardware instructions too
I thought a stack architecture typically referred to managed languages xd
Aight
Stack machine vs register machine is for VM design, CPUs have stacks and registers
Oh
I had a misconception that CPUs were 100% register based
Giving .NET a better GC and a better JIT would probably make it infinitely better. Especially since .NET is gradually being made cross-platform.
I'm trying to remember if anything in a CPU actually cares about the stack
Pretty much that's just a language/OS thing
I mean you could ask the folks at OpenJDK to share their breakthroughs with the .NET team
Jun 29, 2014 ... IKVM.NET is an implementation of Java for Mono and the Microsoft .NET Framework. It includes the following components:.
Oh, wait, that's the other way around
.NET is also open-source now.
So if it's a language directly compiled to native instructions (Or JIT compiled like C#) it'd be using the hardware stack and heap and performing GC there then?
It's not like HotSpot is magic, the .NET folks know how it works
Yeah sorry if this sounds dumb I'm just trying to clarify
Sadly, we already have a version of Minecraft ported to .NET; it's called Bedrock Edition.
And look how that turned out
Bedrock is C++
Bedrock isn't written in any .NET language
If it was ported to .NET we'd all be very happy
Cause it wouldn't be a nightmare to make mods for
Mods are C# though iirc
Well
The official modding API is JavaScript
Come to think of it every third party launcher for Bedrock uses js for modding
Oh did they drop the C# thing?
I'm not sure if they had C# planned but they're using js for now at least
I'm talking about official stuff
Yeah the official modding API is js too
?
/Google Minecraft bedrock official modding API
Oh you motherfucker
https://www.minecraft.net/en-us/article/scripting-api-now-public-beta
Dec 6, 2018 ... But what is scripting API (Application Programming Interface)? ... Minecraft: Java Edition players have been modding the game since forever, ...
I don't know what a hardware heap even means
But sure, they're using the standard C idea of a stack, dunno if that's an actual CPU thing or not
Well, I suppose C# isn't
Only C and things that are compatible with its ABI like C++ and Rust
Go uses their own stack layout
Ah ok
The CPU has some concept of the stack, you have instructions like push/pop
Yeah, and a dedicated register for the stack pointer iirc
But a language like Go can change that pointer as needed to support their segmented stacks, I think
This is really low level stuff, no one cares about this part 😛
Seems like it would be used for keeping track of registers (I dunno if you can store a register in a stack I haven't poked around at such a low level)
push/pop are for moving register values to/from the stack
Come to think of it is that why interpreters have an overhead? Cause from what I remember nearly every modern implementation creates its own stack instead of using the native one (I still have no clue how you'd even be able to do the latter)
No, that is not why interpreters have overhead 😛
Close enough Xd
Rip
Interpreters have overhead because doing something is more expensive than doing nothing
Oh executing instructions yourself is slower than just feeding them directly into the CPU
Aye makes sense
I'm stupid.
Nah you're good

Still not dumber than I am most of the time
Wait that would imply that you're dumb in the first place
Fuck me I'm terrible at this shit
Anyone knows how can I print RGB text in IJ console? ty
That should be my profile lmao
Well, I found the TCP substitute... https://en.wikipedia.org/wiki/QUIC
QUIC (pronounced "quick") is a general-purpose transport layer network protocol initially designed by Jim Roskind at Google, implemented, and deployed in 2012, announced publicly in 2013 as experimentation broadened, and described at an IETF meeting. QUIC is used by more than half of all connections from the Chrome web browser to Google's server...
That is genuinely insane not gonna lie
https://www.jetbrains.com/help/idea/configuring-colors-and-fonts.html
Jul 26, 2021 ... Press Ctrl+Alt+S to open IDE settings and select Editor | Color Scheme | Console Font. · Select the Use console font instead of the default ...
https://www.jetbrains.com/help/webstorm/configuring-color-scheme-for-consoles.html
May 19, 2021 ... Configuring console colors · Make sure you are working with an editable scheme. · Press Ctrl+Alt+S to open IDE settings and select Editor | Color ...
Sorry I think this is the correct one rip
I think the console doesn't support some of the advanced terminal features paper offers, so paper disables most of it
Maybe you can force enable color via a flag
Oh, right, I don't know if they support arbitrary RGB colors, probably only 16 or 256 color
Still can't remember em to this day xd
QUIC is great, can't wait for everything to use it
It says a substantial amount of chrome browsers use it
Can't wait for WebTransport https://github.com/w3c/webtransport/blob/main/explainer.md
Maybe it's not too long before everything does
Quic will be forced with http/3 right?
HTTP on top of QUIC is HTTP/3
Meanwhile I serve all my apps with http1.1
There is no such thing as HTTP/3 without it
But then Mojang has to rewrite their packet system lol
I don't remember the reason, but something in later http versions fucks with our infra, so it's a nono
And http/2 is incompatible in how we terminate SSL
HTTP/2 was an attempt to more efficiently encode HTTP/1.1 on top of TCP (and some extra stuff no one uses like server push), HTTP/3 is encoding HTTP/1.1 on top of QUIC
HTTP/2 more or less requires ALPN negotiation
https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
The Hypertext Transfer Protocol (HTTP) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, ...
Oh
I don't think you'll be able to terminal TLS somewhere else with QUIC, not sure how that's working
The solution is to skip our infra, am pilot for moving into the cloud with our main website
Like a lighthouse kinda project
Safari doesn't support QUIC yet, Chrome and Firefox do though
WebTransport is more or less an API to let you use QUIC from a web page, btw
Safari just has it disabled
That like a combination between TCP and UDP?
I can't follow the link from /Google my phone is broken
Technically it can work on top of at least HTTP/2 as well but then it's not really out of order and still has head of line blocking
But the API works the same way as it would with a perfect but slow connection so that's not considered a compatibility issue
Webtransport is just a more efficient, unordered websocket iirc
Nah, WebTransport has all the functionality QUIC has
WebSocket is a bidirectional packet/message system, WebTransport has datagrams which are more or less the same thing but also has unidirectional and bidirectional streams
😕
You get to read the data as it comes in instead of waiting for a whole message to arrive before your code is told about it
The preview lied that isn't a confused face lmao
Although datagrams aren't actually a replacement for WebSocket since they're unordered and unreliable, it's basically just UDP but with TLS and congestion control
Streams are internally consistent but unordered with respect to other streams so don't have head of line blocking if one of them has a dropped packet
But streams are cheap enough you can just make a new one for each message you send and use that as a replacement for WebSocket that works better for basically every use case
its insane to see how big papermc.io got
it would be impossible to run without cloudflare
It's a popular server build no doubt the site would grow over time
Anyhow, I think at this point it's safe to say HTTP/2 was a failure
It didn't really have a performance advantage until you rebuilt all of your tooling and systems around it and caused new problems even if you did that
Those new problems are why QUIC exists
I think the vast majority of requests against the website are automated
People sending bots to paper website?
HTTP/3 is whatever, QUIC is awesome and I want to use it for everything 😛
no, scripts using our api
That's just lame if so
Sadly a large number of firewalls drop all UDP traffic
QUIC for Minecraft wen
You'd have to redesign the MC networking logic to deal with packets arriving out of order otherwise there wouldn't be much point to using QUIC for it
Yeah I know xd
Although you could at least stick chat on a separate QUIC stream so dropped chat packets don't cause the rest of the game to stall
Well for me my laptop is awful
No kidding I literally tried everything and MC still runs poorly
I wonder which large german (or germany hosted) minecraft host still uses api v1
I even tried replacing C2 with Graal and AOTing the Minecraft JAR at one point
Nothing worked
because vast majority of v1 request come from germany
None anymore by Nov 24th 
I blame kennys server
To be fair it might just be unrelated game lag too though
Maybe I'm seeing a connection when there isn't I dunno
h
maybe it's just me 👀
No it like that on purpose

it's cuz ptero sometimes just fucks you over pretty hard
how does it do that
With the dick wings
Lubed up with tears of ppl using those auto install scripts and breaking the panel
When did it not fuck you over. Most barebone panel ever.
yep just use multicraft 
ptero > multicraft any day
i dont use ptero cuz i cant afford the overhead of docker
and i need all the ram available 
imagine shittalking ptero
Docker only has disk overhead, more or less
There is no CPU overhead from docker unless you're trying to run a server on macOS or Windows
what else I'll hear today, that sugarcanemc > paper ?
you forget i run my server on a 5400rpm hdd
It's not IO overhead
It just literally takes more disk space because you store extra copies of the things inside the container
excuse me , can i ask what's this error while i'm compiling source code to jar
Although if you don't have those things installed on the host then you don't have that overhead either
Two OpenJDKs, two libcs, etc
What in the name of... is sugarcanemc? Is that some other fork of a fork?
Yes
oh okay
Looks like a network error though
I've heard about it some time back
it's the successor to yatopia
.forks
Hrm
i can get the link
got it
Vicious circle.
Has stuff from Lithium gone in to Paper?
Some patches a good while back
Also whatever Patina is you can't Google it
works for me
Dunno if it predates copper being in the game but if not that's a real dumb name
damn tuinity, purpur, airplane, origami
lol, mspt wasn't precise enough, they added nspt
it's not nano right
Should've added a µspt
yeah it predates copper
I agree, Geolykt
Patina has in the past at least just had stupid and dangerous patches, dunno how it looks today
6028 fix
lol first patches of patina are just "here are all the airplane, purpur, and emc changes" in giant patch files
what was 6028 again
Pretty sure that patch is bad and nobody has been able to tell me it's not
Some crash with datapacks or something dumb

Origami is for 1.16 btw
datapacks
yeah
Think if you remove the leaves from a tree which expects to have leaves it crashes
The words "performance-oriented" and "optimized" went rack and ruin when every irrelevant fork started to brand themself with em
Patching all of the instances of that would be better Vs just not running the population
paper started it
boycott paper
Yet another irrelevant fork!
actually, spigot started it
Don't even look into em anymore, don't really care what their 10 users are doing
10 users? Sure
57k spigot servers?
They've gone up 10 whole servers since the last time you checked @mossy vessel
Servers (Current/Record): 40 / 47
They're coming to get us.
that's for spigot?
oh
mr jinping likes minecraft too, he came to the conclusion that Sugarcane is the best optimized for his setup.
I could easily get MC made illegal in china
I swear this one used to be in CB https://github.com/PatinaMC/Patina/blob/ver/1.17.1/patches/server/0018-lithium-entity.fast_retrieval.patch
And how would you do that?
Brb, making a Winnie the Pooh mod
Spigot: "High Performance Minecraft"
just add a piece of forbidden text to the repo
this took me a while to realize what it was even doing.
@void void a certain copy paste about a square
I think it was a mikeprimm patch
I'll create another fork of Paper 👍
I won't contribute anything, except call it something else, seems about right
how do people come up with these names
am i dumb or
data structures ftw
wtf is that


guessing this is chinese mohist?
i mean the patches are weird, not that lol
Very unsettling
CatServer/LoliServer and Mohist are different
I don't understand it, idk about it, but it looks horrible
to me at least
like day 2 of me making plugins i was told to not use @SuppressWarnings 
CatServer is 1.12.2 version Forge+Bukkit+Spigot server
The longest continuous update time, supporting most mods and plugins to run stably
I remember the memes about similar things
Like most things in programming the rules you get told as a newb are really more like guidelines
^
why are they all using windows server
But until you know better you should treat them as rules
Yeah I remembered fine
Supress warnings is fine so long as you know when to actually not use it
It kinda reminded me of that image
I liked the phone number input that was a fast counter and you had to press the button to stop it on your number
Like those arcade games for getting a lot of tickets
I generally err towards statement level suppress, but, I mean, one of those fun things
Remind me to go ask mojang to update guava
you think mojang's gonna require to use newer java asap?
ask mojang to update java @ electroniccat
why would he do that he clearly owns the whole company
The calls are "suspicious" because they violate the generic constraints
secretly
guava
I think they are requiring Java 17 with 1.18 and then stick with it until the next lts is released
But they have to due to how the Java API they're implementing works
And gson too those fuckers
They do their own checks to make sure the type you gave is okay
remind me what guava does
Google's common lib

I wonder what use guava really is these days
That byte streams class is nice
The collection helpers are in Java, the cache is meh when caffeine exists, I guess TypeToken?
Probs some alternative Ive not learnt yet, but, is nice
I still use their cache cos it's there, tbqh
and for TypeToken, prefer the other library
iirc I made my own TypeToken last time I wanted something like that
this isn't needed, i have a patch for this already; it just avoids the call so it's not shown
both of these are not needed in 1.17
TE unloading marks the reference as invalid, which gets .remove()'d during tick
the hashedlist impl still has that list remove, so all it's done is add the overhead of the map
are there 1.8 spigot builds that are being supported by java 16
this is not spigot general
but I'd say no
unless there's new fork or so, then no
i meant paper spigot, sorry
still no
k
found your JP shop


