#general
3141 messages · Page 1905 of 4
ubuntu is backed by a good chunk of cash
and yet are practically one of the biggest stains on the linux ecosystem, for all the good that they do
How much ram are you bleeding?
50 million gbs

Weak.
nice pfp
well they're just idle
receding hairline
offline mode
Thank you.
your welcome.
Did they already give you the snip snip?
no wbu
its still better than influxdb that thing choked my vps many times to the point my CI failed to build plugins cuz it ran out of ram
granted it only has 2gb or RAM but still
XD
is there an irc server for papermc?
Windows is free now
Imagine using IRC in 2022
Thanks
well time to clean up my pc 
What happened
Any place to find people who can make me a small datapack?

Dirty is not good :(
true
I just upgraded my minecraft server version into 1.18.2 now lot of plugins is error cause not support version the thing is how I can rollback without world error?
(ping me)
The better approach is to update plugins as well and reach out to their maintainers to update them.
Ouch yes but the thing is the plugin itself is outdated or not support of latest jar
Former applies then
snapshots work on 1.18.2
Though I can see a build claiming to work on 1.18.2, which is not the build you used
man, I love working with contractors.
ever see somebody write code in frontend to get a cookie value and then POST the cookie value to a backend that then works with that cookie? Like they had to write actual cookie parsing code and everything for something a browser would have done automatically anyways....
tbh i never work with cookies so no clue 
irc ?
the browser sends the cookies to the backend
Internet Relay Chat
reading in frontend and posting to backend is thus extremally dum and redundant, especially if you have a fucking bug in said code
brrrrrrr
IRC 
just backend devs being forced to do frontend things, mini 👀
idk man
they were hired to literally implement this app, and they could look at similar apps for different products that their coworkers made
they also literally just copy pasted an existing app, but made a few dum changes like that

I love near shoring
ok
next turkey vacation ill visit those idiots
wow
TIL they dont call is near shoring, adesso likes to call it SmartShoring
Wow Musk is actually trying to do it
He is trying to get himself banned from Twitter 😄
That’ll be a good show…
He is trying to do a hostile takeover, if it works I bet it won't be long before the SEC will be locking down the shit he is allowed to tweet
btw whats the plugin that makes you die when disconnecting during a fight
Oh he is trying to take it private so I guess he could tell the SEC to go fuck themselves
I have a plugin that's open source and I need to change some small thing in it, so how would I do it, do I need just Eclipse with few things imported or something more? Any tutorial for that so I can read about it a bit? Not sure if it's for here or #paper-dev , but it's not that "dev" kinda question, maybe a little bit.. ^^
Is Java 8 known to leak memory or something? I'm trying to run MC 1.12.2, and it runs fine for about 15 minutes, then the memory usage starts climbing and climbing until the java process is using 3 GB of RAM, then it freezes and crashes.
I'm using -Xmx2048M, but apparently it ends up using way more than that.
16% premium over current price doesn’t feel like enough, but ofc I say that with my decades of hostile takeover experience 😛
He also doesn't have any partners so is apparently going to come up with all of this money on his own?
It's like 1/4 of his net worth
huh, seems this may be an issue with multimc.
Yeah I saw 43 billion as the number, he does not have that now, and would have to sell more Tesla stock.
Selling that much Tesla stock would crash the price (and he would have to schedule doing so well in advance)
Yeah. Unless he buys the company with stock
So the shareholders get Tesla stock in exchange
He isn't allowed to just go sell it, he has to put out a statement saying he is going to sell X amount in 3 months so long as the price is between Y and Z
But I didn’t see any mention of that in the filing, idk if you’d put that in there
Twitter takeover is an all cash offer
Oh ok, so not that then. Yeah idk.
The expectation is he'll either try to find partners or take out loans against his Tesla stock
That’d be a huge loan
Ik billionaires do it all the time, but not for tens of billions right?
Just means if the loans fail those people own Tesla now 😛
I think they’ll say no, and then Elon will sell, and that’ll be it
End of Twitter/Elon story
thats not fair, cause elon already inflated the twitter price
its like a 50% premium over before elon got involved iirc
I thought that was just making it look like he’s paying more talk.
but yes I can also see this inflating the price more and elon pulling out and selling for a nice profit
But I guess it does matter, I imagine “spin” doesn’t really apply here since smart folks on either team made and read that stuff
It went up on his announcement, but I think it’s already gone down half of what it gained. Which wasn’t much in the first place, nothing like the bump when he announced the 9%
it shouldn't, but are you using any mods?
usually people still use 1.12.2 nowadays because it's a good version for modding
oh ok then
just vanilla, no mods
I am importing data into a database from a CSV file i have the uploader done but i get this error
(pdo-mysql): “LOAD DATA INFILE '”. sc_csv_20220413151512_590_grid_Contestants(3).csv ."’ INTO TABLE testing ..."' 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '“LOAD DATA INFILE '”. sc_csv_20220413151512_590_grid_Contestants(3).csv ...' at line 1
heres my code:
sc_exec_sql(“LOAD DATA INFILE '”. {csv} ."’ INTO TABLE testing ..."');
sc_exec_sql is a macro for conencting to the sql database and executing the sql command in ()
generally in mysql you use a backtick, also, rando .'s
oh, apparently it is a '
but, still, rando .
remove the . before and after {csv}?
INFILE '”. sc_csv_20220413151512_590_grid_Contestants
I mean
idk, but, that just doesn't look right
{csv} points to the file name as its pointing to the uploaded file
I'm talking about what mysql is saying that you apparently ran
which doesn't look all that right in terms of what I'd expect
1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '“LOAD DATA INFILE '”sc_csv_20220413151512_590_grid_Contestants.csv "’ I...' at line 1
ADOConnection._Execute(“LOAD DATA INFILE '”sc_csv_20220413151512_590_grid_Contestants.csv "’ INTO TABLE testing ..."', false) % line 1149, file: adodb.inc.php
ADOConnection.Execute(“LOAD DATA INFILE '”sc_csv_20220413151512_590_grid_Contestants.csv "’ INTO TABLE testing ..."') % line 1743, file: Import_apl.php
Import_apl.Valida_campos(null, null, null) % line 1128, file: Import_apl.php
Import_apl.controle() % line 2214, file: index.php
idk wtf your macro is doing
but, like
the thing is litelly telling you that the syntax is borked
I'M literally telling you that the syntax looks weird
Are you sure LOAD DATA INFILE is valid MySQL syntax?
Supposedly, yeah, based on Google
News to me
Your tools apparently thing it's invalid too though, it's complaining about that part
You probably want LOAD DATA LOCAL INFILE though unless that file exists in the DB server filesystem
LOAD DATA LOCAL INFILE '/tmp/foo.csv' INTO TABLE foo FIELDS TERMINATED BY ',';
Or something like that
I see a smart quote character in there. maybe that's causing issues.
I'd probably just parse the CSV myself and manually generate multiple insert statements in a transaction
Whenever I use too many SQL features I feel like I'm drifting in to COBOL land
took it out. fixed now i just have ... near end so thats progress:
sc_exec_sql(LOAD DATA INFILE '{csv}' INTO TABLE testing ...);
1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '...' at line 1
i guess replace ... with the column names?
So long as the columns in the CSV line up with the table you don't need it
I don't think you need anything after that.
Also the default separator is apparently tab so if you have a CSV you need to set that
Like the example I gave
Just LOAD DATA LOCAL INFILE 'file.csv' INTO TABLE foo
well i took out the ...
but now im getting this
1045: Access denied for user 'adamwebb'@'%' (using password: YES)
which is weird since the applicaiton has full permissions to access the database
file permission is an extra thing
DB server level permission, not database
Also it's going to try to read from /var/lib/mysql/{dbname}/{csv} if you don't give it a full path and/or use LOAD DATA LOCAL
If you don't have the FIELDS TERMINATED BY ',' part it'll either only fill in the first column and put NULL for the rest or just error out if those columns aren't nullable and don't have defaults
If your CSV doesn't have data for every column you do LOAD DATA LOCAL INFILE 'foo' INTO TABLE 'foo' FIELDS TERMINATED BY ',' (id, name, wins) to specify the columns you do have in the order they appear
i switch INFILE to LOCAL and i get syntax erro on the filename.
You don't replace INFILE, you have both
If you want to manipulate some of that data while inserting it you replace (id, name, wins) with (id, name, @wins) SET wins = @wins * 2
Ok, I think that's a whole tutorial on how to use it 😛
1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''testing' FIELDS TERMINATED BY '' at line 1```
You appear to be missing some of your SQL statement there
LOAD DATA LOCAL INFILE '{csv}' INTO TABLE 'testing' FIELDS TERMINATED BY ','
You probably don't need/want to quote the table name, that was my bad
And it appears your PHP quotes and SQL quotes are conflicting on the ',' part?
It's getting cut off
in htis case the , is replaced with ; because of the csv file containing ; however i wonder if theres a way for it to accept either or since csv files ive seen it varies
the csv file layout
School Name;"Team Name";"Bot Name";"Pit"
Oh, ; means end of statement
You need to do '\;', probably
Possibly with two \ so PHP will send one to SQL instead of just trying to do an escape of its own
so FIELDS TERMINATED BY '\;'
welp got a different error now
(pdo-mysql): LOAD DATA LOCAL INFILE 'sc_csv_20220413151512_590_grid_Contestants.csv' INTO TABLE testing FIELDS TERMINATED BY '\;'
2000: LOAD DATA LOCAL INFILE is forbidden, check mysqli.allow_local_infile```
Yeah, I was expecting that one 😄
This is something kind of insecure and that breaks replication and such so it's not just a permission, you also need to turn the feature on
is there an alternative to this then?
As I dont have permission to turn that feature on
Parse CSV file yourself, generate INSERTs
what about a non-local infile?
yeah problem with parsing byself is it cna only accept one format and the absolue amount of rows. I need this to be able to accept pretty much any number of entries fomr 10 entries to 300 entries
I'm not normally a sticker fan but if I ever add some to my laptop then those are pretty nice: https://github.com/mkrl/misbrands xD
I take out LOCAL to make it nonlocal and i get the following error
1045: Access denied for user 'adamwebb'@'%' (using password: YES)
IDK how permissions work with that. You'll have to read the documentation.
brrrrr
(I just had to rebuild a bunch of VMs and redo their raids, and so, running a scrub op because apparently that's advised, and, apparently, erm, not so great idea)
how have I never seen this before
that sounds scammy
Linux gaming!!!
congrats
not sure why I just wasted half an hour on this: https://is.paper.sexy/gy67iOoF.png
Is this the new nft?
Orange slime is calling, pheonix. Pick up the phone
blursrd
*blursed
worst Error you can get.
SIGSEGV on JVM while running your smp server is worse 💀 /s
Noice
or worse when you are monitoring your server output in a screen session and you press ^C to attempt to copy some text and you just killed your SMP server
in which i have accidently done with a server that had about 100 players on it
that's why I have a separate screen that only tails logs 
i Use MineOS
so when the JVM starts it literally has the entire minecraft server in a screen session
my biggest OOF moment was spawning a TNT ball with worldedit that was 300 block diameter and setting it off
had to replace the CPU in the server after that.
wat
That's not a thing
tnt ball 300 block diameter? what
i mean you can do that if you limit the server to tick the tnts to few a tick lol
unless that cpu was really old it should thermal throttle by itself lol
Unless this was a machine at your house, wasn't built correctly, and all the thermal safety features failed so the CPU burned out
Yeah
the thermal feature failed and it burned out
O_o
❌ Doubt

not enough thermal paste
The CPU will automatically downclock to base clocks if you mess up the thermal paste or heatsink
Base clocks it'll still overheat if you really messed it up but that's why at 100C or so it'll just hard power off
TIL Steam has "account alerts"
They sent me one for the Steam Deck, along with the email
That's a lot of Steam Points
so far since switching to ZGC i havent had any issues with the server leaking memory anymore. last reboot of the server was the adding of the chaos dragon into the game.
> gc
[13:46:54 INFO]: CONSOLE issued server command: /gc
[13:46:54 INFO]: Uptime: 19 hours 47 minutes 5 seconds
[13:46:54 INFO]: Current TPS = 20.01
[13:46:54 INFO]: Maximum memory: 30,720 MB.
[13:46:54 INFO]: Allocated memory: 8,218 MB.
[13:46:54 INFO]: Free memory: 2,384 MB.
[13:46:54 INFO]: World "world": 1,581 chunks, 1,471 entities, 976 tiles.
[13:46:54 INFO]: Nether "world_nether": 629 chunks, 173 entities, 297 tiles.
[13:46:54 INFO]: The End "world_the_end": 529 chunks, 0 entities, 23 tiles.
[13:46:54 INFO]: World "world_chaos_dragon_chaos_dragon_arena": 576 chunks, 128 entities, 21 tiles.
[13:46:54 INFO]: World "Space": 567 chunks, 8 entities, 0 tiles.
[13:46:54 INFO]: World "Adventure": 529 chunks, 7 entities, 28 tiles.
[13:46:54 INFO]: World "Creative": 529 chunks, 1 entities, 14 tiles.
[13:46:54 INFO]: Nether "prison": 529 chunks, 105 entities, 194 tiles.
[13:46:54 INFO]: World "Spawn": 529 chunks, 170 entities, 28 tiles.
[13:46:54 INFO]: World "TARDIS_Zero_Room": 529 chunks, 1 entities, 0 tiles.
[13:46:54 INFO]: World "TARDIS_TimeVortex": 554 chunks, 1 entities, 14 tiles.
[13:46:54 INFO]: World "world_herobrine_graveyard": 529 chunks, 0 entities, 24 tiles.
>
@golden gust ¿Are You OWNER?
Does someone have a high res papermc logo?
hoy
No 
Ok just checking
does WSL2 behave same as Hyper-V?, running windows on top of hypervisor?
not a valid username character?
Using online mode solve that
Have you try online mode true?
if the proxy is in online mode then that name should not go through either
Sorry low effort
How are you getting a player with name with those symbols then
b i g l a g g
Go to your corner now 


uh... and why do you need to look up for that name?
You use 1.17...
and.....
Not supported
no player will have ) nor # in their name as it is an invalid account name in minecraft.net
so maybe don't expect the API to behave properly with it either
sure, but you can check if it's a valid name format
what they mean is you check if the input is valid before feeding it to the API
Basically, if you don't want a lookup, don't do a lookup, paper has an API to only lookup cache
Nomana pipes his money into poki chat
TRUE
u only got 8 more months mini
public static final boolean isValidMinecraftName(String name) {
return name.matches("[a-zA-Z0-9_]{3,16}$");
}
here is free code for you @gritty lodge call this method on the player name before feeding into the API
might want to compile the pattern maybe
thank me later
I was first gonna say pipes his unvetted thoughts into general but idk what I liked better
Tbh I still don't understand the issue that guy has

his plugin has a /balance command, players can run /balance with invalid names which causes the API to lag the server (?), like /balance #)
Like, if you don't want lookups, set the boolean to false. If you want lookups but players are spamming, add a cooldown
It's so simple
that's basically what I understood from his problem
Yes you understand it correctly
The content doesn't matter as any lookup that isn't in cache is expensive
Him on other hand does not understand his own problem
Option 3 could be do the lookup off main
But I feel like that's a meh option cause people will starve your thread pool if you don't prevent spamming
well then my method solves his problem, provided his server is actually in online mode and thus disallows players named #)
i originally wrote this method to prevent players with invalid names from connecting in offline mode
but that's another story
I will smh really hard if this guys plugin doesn’t even have cooldown in place
That to me is also the most basic lol
@ JRoy
since i cant use INFILE LOCAL method for the CSV i tried parsing it to an array and inserting it into the MYSQL datavbase but I am getting this (pdo-mysql): INSERT INTO testing(School_Name,Team_Name,Bot_Name,Pit) VALUES('','','') 1136: Column count doesn't match value count at row 1
heres my code:
$csv_file = "{csv}";
$csvfile = fopen($csv_file, 'r');
$theData = fgets($csvfile);
$i = 0;
while (!feof($csvfile))
{
$csv_data[] = fgets($csvfile, 100);
$csv_array = explode(";", $csv_data[$i]);
$insert_csv = array();
$insert_csv['School_name'] = $csv_array[0];
$insert_csv['Team_Name'] = $csv_array[1];
$insert_csv['Bot_Name'] = $csv_array[2];
$insert_csv['Pit'] = $csv_array[3];
$query = "INSERT INTO testing(School_Name,Team_Name,Bot_Name,Pit)
VALUES('','".$insert_csv['Team_Name']."','".$insert_csv['Pit']."')";
sc_exec_sql($query);
$i++;
}
fclose($csvfile);
echo "File data successfully imported to database!!";
I feel like every message you've posted here has been some long ass code block and asking for help the past week
Have you tried to not write database import scripts in php?
You are also missing a param in your values if I can decipher that shit correctly
You don't pass a bot name
To be honest I don't understand your code at all
Why do you create that Insert CSV array?
But only use half the values?
Also please bind params, always
Etc
It's just a mess generally
I can't believe I am debugging PHP Code
For free
I must be insane
Hey, how do you store enums in MySQL DB? (Native MySQL enum is not an option)
I can only come to 2 ideas: ordinal and name
but name seems very wasteful
but ordinal also doesn't seem ideal
JSON. 🛌


Well. Since you don't want to use native enums... JSON is the only other "standard" without too much baggage.
I think that storing the name still would be better than JSON
I didn't mean enum structure, but it's value
Alright then. Then just the value should be fine... but do you really need enums at that point?
I just see the problem differently then you I assume.
look I have enum named FoodCategory with values: "DRINK", "FOOD", "POWDER"
In a table named food, I have a column named category, which should contain any of the following ^
Currently the only options I have is storing it as the value's name, or it's position represented by int (ordinal)
Understandable. Int.
But yeah, that will fuck up when I remove/reorder anything in the enum
An option would be to manually assign an id to each value, but that seems boilerplaty
You shouldn't really change the value/id they represent tho.
yeah
name is not wasteful unless you're on a db from a billion years ago
and if you cared about performance you'd be using enums so
it's not gonna matter at all
well, default JPA behavior is using ordinal, so there might be something to it
just use the name as it's more sane
Int is always going to be faster tho.
by how much tho?
guys
Not a lot.
Like, we are talking bytes.
faster by an amount that literally doesn't matter
It does.
Maybe not to you, but it saves on a lot, in the long run.
Not just storage, but also compressing, sending,...
bytes no way 💀
you're probably not accessing it enough or storing enough data for it to matter
so use a sane value
I mean, the thing is, if you have billion of rows (ikr, not a real scenario), searching an int there will be way faster than searching the entire name right?
do you have billions of rows
ofc not
ok then
Ur right
Stop it

is the Intel Xeon E3 1240 V6
good for hosting 1.18
My Samsung smart fridge can provably run 1.8 too
so is that a yes or no?
Depends on the type of server and amount of players
Mistyping 1.18 with 1.8 is the worst mistake ever😅
no
oof
is Michael good for hosting 1.Michael
michael is pretty outdated software
@twin lagoon 

no
stop being toxic kenny
toxic
Does anyone know a plugin that gives the enemy drops on death?
...and has many vulnerabilities
😳
https://www.spigotmc.org/resources/custom-drops-editor-1-13-1-16-easy-to-use-hard-not-to-want.71153/
Welcome to CustomDrops, a plugin that lets you add custom drops to mobs and blocks! It has many more features to let you customize the ...
@stuck lake
what are you doing barty
i cant talk in the paper channels
wdym
it shows up red
discord is down loluse irc
can i ask my question here?
That one isn't for players but i will try autopickup
At that point thinking about implementing a search engine like ElasticSearch, Solr or Lucene is actually a good idea. Dropped my Query Time from 5min to 300ms
That table has about 910 Million Rows tho, so it's completely overkill for most stuff
That ElasticSearch Instance takes about 60GB of RAM though
That kind of explains it.
Just make a 60GB index to speed things up.
Still less than M$SQL. 
Tried that, still had querytimes of up to 20s
Which just isn't acceptable for a website
I was referring to ElasticSearch as the index. Just to be clear.
Ah i see
But yeah, indexes in MySQL/MariaDB can only get you so far.
Yeah i was suprised the Postgres Index even did anything for that kind of data
Basically I ping all public minecraft servers that are listed in serverlists once an hour. Thats about 800.000 Servers. Of course thats gonna be a big Table.
So you are behind that cursed Russian server index. Noted.
I will refuse to elaborate, but there is a Russian website that tracks players on servers. Very epic, but cursed.
Dammit wanted to do some market research. :D
shut up
Same here, but I only do it for the Slovenian servers. 
Would you be willing to elaborate in a private message
Sadly not. Can't of want to avoid that whole website, since I did a bit too much digging to figure out why that even exists.
ask to #paper-help
Even 5GB should be more than enough
oracle free tier is arm processor afaik
@warm anchor 

Two different free tier
One is the old eypc and the newer and very limited one is ARM
stop polluting my irc with your futuristic emojis
Hetzner Cloud is pretty affordable and they have fairly good Customer Service

just avoid virtual servers
HETZNER
if you're looking to host a minecraft server only just use a shared host like bloomhost or dedicatedmc
i can give referral link to hetzner
banger
Then Hetzner is probably your best bet. OVH has technically better service and connection but is way more expensive
Currently running 2 AX161 and a Storage Box myself
that person who is running oracle free tier minecraft are you there?
how is your performance so far?
lol
Thats true
which parameters do you use if you don't mind me asking
https://www.hetzner.com/cloud CPX31 is probably good enough for you
single core performance but paper handles some tasks async so go for like 4-6 cores with highghz
i meant minecraft server parameters
do you use aikar's flags
that would be epic
Yeah. Good luck with Oracle Free for that many players.
The CPU is just not meant for that.
how many players did he say i missed it
8 players all at spawn was fine, 20 players not all at spawn not fine
8 players all at spawn is basically 1 player
But the s is silent. 
haha
relatable
r/sounding is pure pain
don't check it out
well we are keeping all gacha games together so
lol
well, good luck and thanks for all your help
r/placetux is still going strong
best subreddit
Should be, but do some testing
Run it on your local machine and expose it and monitor the usage
Go with Debian if you really want it to be lightweight
OpenBSD is also light asf
Doesn't Oracle show you how much RAM you are using
or Alpine
Yeah but last time I checked, Java isn't fun on Alpine
I use Alpine Linsux for my servers wdym
Do you have a tool like htop
a taskmanager in your linux environment basically
Then someone ported java to alpine. To be fair last I checked was almost 6 months ago
java works fine on alpine
only since java 17 is it a native openjdk thing though
before that you could find it from various openjdk distributions
idk about that
my server run i have no problemo
and i suggest
I USE ARTIX BTW
well still
alpine is ez
only difference is it uses openrc and not systemd
which is good
but services are different
i install zsh and java and it works like a charm
Yeah last time I checked was around the start of Java 16s Lifecycle
now you need java 18
alpine builds have definitely been available for the past few years through other distributions though
ooooh no never
bruh you guys are cringe just install .tar.gz and .profile
its linux at last
not bsd
comeon
java is easy to run on any linux
except maybe hannah montana
i take it back
Y'all or so spoiled with the frequent releases. I still remember waiting 3 years for a new verison
based
hey @void void we have a small dev server where we have a fabric server maker and a paper one and a quality check and moral support would you be interested?
I started somewhere around Java 6 i think

Yeah that sucks. All my minecraft stuff runs on 17 and all my external services run on 18
Its an art project
this went from stereotype reddit linux user to randomly advertising your discord server
I see a human of culture
You wanna see some real speed bish
based
Stop filming me
@untold meadow thoughts
from my experience wouldn't they have a much more aggressive emotion given the thing they're doing doesn't tend to work brilliantly
or maybe they're just resigned to the inevitable fate of having to hard restart the machine
which is me when I forget to give make -j a number of cores
You're talking about windows right?
it's so happy to just lock up my system
Stuff tends to work on Linux while it breaks on Windows
I mean windows doesn't work at all for me
At least for me
the only way things can break on my machine is on linux because Windows doesn't start in the first place
or if it does I don't have the patience for it to take half an hour to log in
hey not everyone has a newfangled ssd they can boot off
"it makes your machine faster"
do I need that tho?
Yes
I'm not even sure my machine has a spare sata slot
Fair. Same. But I do be running 1x SSD 3x Spinning Rust
I guess I could swap out my hard drive, but then I'd have to somehow copy everything over
and it's not very fast but it's fast enough for my low standards
I'm in no rush and I'm not doing really intensive stuff on this machine
That’s famous last word for drive failure
sure if it didn't slow down quite as much when it hit swap it'd be nice but it's usable anyways
I forgot disk failures were a thing
how long does the average hard drive last?
lol
On this note. RAID is not a Backup
depends on use
it's effectively half of my ram since I don't have enough
I should be good then ig
i also have drives fail under 1 day
plus I don't think I've got much valuable stuff on here to lose
still do backup
Happened to me both on Contabo and OVH
What's contabo?
shit tier VPS host
The best hosting for summer host
it's like an all you can eat buffet
IRC bridge is a mistake 
eternity if irc bridge wasn't here where would we all flock to when discord down
Our new epic forums for sure
papermc telegram group
gaaaay
matrix or nothing
isn't matrix the thing that bridges to literally anything
irc + matrix + jabber
it also uses json because devs don't have protocol yet lmao
didn't know we were talking about your mom
matrix is json over http?
afaik yes
is that unusual?
So since we are on json do you gues pronounce it as Jay-son or Jaaaa-son?
I pronounce it Javascript Object notation
elitist nerd
I don't know how I pronounce it because I don't have irl programmer friends
saying that on irc
so I never speak it aloud now that I think of it
jay-son ig?
LL Cool Json
stfu lamer

At least I'm not a pretentious IRC mofo
Please stop, rktfier. Not cool.
He’s on IRC he can’t tell who’s a mod 
make him stop
And everyone else stop too.
With the weird IRC fighting
Leaf pls stream
They can tell I am since I'm in the channel.
I don't give a shit who started it first. Stop it.
why does leaf just come out of nowhere, post that one specific gif and then dissappear
@true canyon 🥺
We love leaf ❤️
I'm also an espernet oper. So cut it out.
Pretty typical for leaf
leaf water with sugar is my favorite drink
We love our little rat king
wait where did leaf's kitchen appliances go
Eaten/Consumed
He sold it
... what happened to his mom
🤨
He so… nvm
poggers
hunger strikes
yep all his appliances are gone plus his mom
where did she go
I can make it return
there's only his rat and his rat army
But it has to be on special occasion
Exhibit A how modern birds are direct descendants of two legged dinosaurs
seagulls are the worst
reminds me a story of local fishermen putting long sticks inside fish so seagulls would stop stealing freshly caught fish and attacking people nearby lol
what do you recomend for a personal webpage/blog?
Ha, ofcourse I recommend over stacking
You need atleast 8 different things in 9 different languages
half wont even be in english
jk I recommend just html5 and nothing else
Do you have familiarity with markdown or do you want something with a more proper editor for posts and pages? Or are you comfortable just writing html for yolo
yeha I know litle I'm also looking jekyllrb
AWS Amplify looks good and free 😬
Markdown doesn't really feel like a webpage thing it doesn't look that nice and fits good only with other things around it like usernames and reply buttons and all that
markdown can be used to compile into a nice looking static website
Think about how most content on a page is gently formatted text around a consistent layout. Look up how Jekyll works for example. Or mkdocs. :)
or papers own docs are all markdown as well
although, not commonmark
if you want something more "like a webpage thing," https://mdxjs.com
Wow
so let's say i have a workflow running. it's performing an API call (let's call this A) and slighly before A, an async process is happens (let's call this B). if B happens before A, an error won't occur, but the end state isn't the desired one. is this a normal problem in distributed systems? i would most likely need something to sync it up periodically because of this edge case
yes
looks prery hard, I'm try to learn
Yea, I mean, markdown has its limitations, which is in part what mdx is solving, but, most content is practically 99% there ready for markdown, just needing a few tweaks
Electronic car watch out I found documentation on Minecraft socket protocol
Paper gonna be so obsolete by the time I'm done making this server software
Send it right now
I wish linux lusers would fuck off
If you elect to install Linux, you need to know a little bit about your computer
WHY THE FUCK DO YOU THINK PEOPLE USE WINDOWS
Aren't you a Linux user?
for servers, etc, yes
don't get me wrong, linux is nice for servers
I also use to mainline linux
I used to think it was easy
I got my family to try it on their laptops and such because it was lighter than windows and generally performed better on their older hardware
they ended up going back to windows because installing stuff like flash was a PITA
You always have to setup window for those who don't know about computers
Not really
especially not these days
OEMs will generally even bundle shit like chrome on there
Well I'm still doing that
or your average normie knows how to click the little E
Everything has a cost
well, yea, if people can rely on somebody who knows what they're doing to setup their PC they will, but there are hundreds of thousands of people who get a new computer every day for checking their emails and shit who just turn it on and click the button they're used to
You can't get good things without effort
which is literally the issue
your average computer user doesn't wanna put the time or effort into using their computer
When I was younger, don't get me wrong, spending the day reinstalling linux cos I fucked around with too many packages was fun, I had it nailed down to an art that I could do it within a few hours before ansible, etc, was even on the scene
I'm in favor of average people keep using window or mac (eww)
I used to reinstall Windows 95 from floppies like once a month 😄
But new generations can learn
new generations are even dumber than the last and generally don't care
And then windows can be leave behind
they just want an environment that they're used to which works
Linux is still far from that environment
in the words of somebody I used to follow, Linux sucks
Just the smartest ones 😅
As part of the "new generation", we are worse. There are kids at my school who legitimately think that hitting their computers is supposed to fix them...
I reached Linux a friend like 16 y
Not entirely their fault, been tempted to hit the school laptops too, but I know that that's not supposed to fix them...
it just pisses me off that linux lusers will try and pull the whole preachy BS and fail to understand why linux isn't being adopted, ignoring the monoply in play
I was seriously think on make like a ong focus on free software and development
people just want shit to work the exact way they're used to it working
why tf do you think 8 was hated soooo much?
people don't wanna hit some stupid snag and have to google a fix, for step 1 to be "open a terminal"
But I'm nobody
I've seen kids that say they are "discord bot developers" but don't have a clue about linux
people thing tweaking a config file makes them a developer
Really?
I was born mid 90s
It gets worse...
Me too
There was a girl in my class who spent 10 minutes looking at the computer before she exclaimed that she didn't know how to turn it on
In my CS class a kid spent a good 10 minutes trying to find chrome, only to realize that a search bar existed. Not only that, but the icon was in both the taskbar, and on the desktop...
The "modern" schools are partly to blame
Yep.
Our school has about 3000 laptops floating around, but teaches nobody about basic troubleshooting.
I was listening and Elon interview that he makes his own school for his childrens.
Then again, they lock us out of most things that might be remotely useful for that.
thing is to most is that computers are just a tool you use to get to something
And don't even need to be a tech career, to teach them something solid
think about it, for our grandparents, using a computer generally meant learning how to use a command prompt, and many of them are either experienced with computers, can do the basics, or literally never touch a computer
my grandma is probably like 60ish now, am not good with years, and she's not able to use a computer at all
But
My grandma isn't great with computers, but has been able to figure out most stuff by herself.
They know useful things that are not taught today
https://wiki.vg/protocol there are links on it to old version changes and bedrock/legacy PE servers
Like farm stuff
How to grow your own food
Is like linux
And windows is fast easy food
my grandfather was born like, few months before the end of WW2
and so, he was there for the rise of the PC more or less
Actually the method of growing your own food largely dont change unlike computer stuff
This goes back why everyone fucking hates changes
Isn't this something already known?
also the way people nowadays use mobile devices more than a computer, to the point where they're becoming less tech-savvy
of course this shouldn't justify not knowing how to turn a computer on but
at some point you're not "tech-savvy", you just know how to navigate an interface
with touch buttons
Yeah Smartphones are literally killing the computer market
and so, my grandfather was there for the rise of the computer, and spent his years working in a firm doing stuff like PLC programming and working on switchgear and testing such, he wasn't exactly a computer wizz as such but spent a lot of time around that proximity
Oh god, one of my friends (love him dearly, but oml is he dumb sometimes) was looking for the setting to turn off his touchscreen, so he goes and googles "settings".
Human brain is made for changes
🤣
yet our nature sees change as something to be wary of because it could mean a predator
primitive type stuff we haven't fully suppressed yet
Well I'm done complaining about the system 😂
I mean, it's really all about exposure and will to learn
anybody who grows up in a farm will generally know how to ride a tractor by 10, type stuff
are you sure though? for all we know and what she is, she read the sign, and the sign say touch to continue
so whos at fault here?
your average friend doesn't know or care enough about computers to wanna deal with learning linux, especially if it interupts their flow
your grandparents don't wanna go learn to plow a field, do you?
yeah
Well, you can plow something at least

That's why shampoo has instructions
EterNity.
Maybe she seem touch screen before?
so now a sign instruct her to touch (?)
You're the reason for the "hot" warning on coffee.

It depends where they grew up
they should add a "burning" warning on shampoo too, since i always get it into my eyes and it sucks 😔 /s
Proper "anti dumb" documentation has to be made
Logics it says hair not eyes 😆

"Ligics" tho
Anyone know of a plugin like this but open source?
https://www.spigotmc.org/resources/gitsync.101117/
To download old versions of Paper, click here \▶ https://papermc.io/legacy \◀ and fill out the questions. Note that old versions are completely unsupported and contain numerous bugs/exploits.
Paper 1.17.1 use java 17 or 16 ??
decompile it, the autor let do it
any
Have you seem the new Minecraft item called stun seed?
wot
yeah stun seed.... read it backward

sushi
yummy
are you the owner of eternity?
Say sus backwards🥺
deez nu-..
¿Are You OWNER?
No pleading today 🥺
Hi, so I have Map<Class, Something>
Now, this map contains
Object.class, FirstThing
Number.class, SecondThing
Now, I have Integer.class, I want to get SecondThing out of it.
However, when I provide String.class, I want to get the first thing.
In other words: I wanna get the closest matching class
how the hell would I do that?
I mean, either you go for hard coded logic or basically devise some form of tree which you can walk down
You could order it, like object should be last, and then iterate keys and check is assignable from
I don't like that approach tho, I would make it more flexible by only having a list of things and each thing has a canHandle method
In fact, that's what I implemented yesterday at work, lol
This gets a bit unpractical when I start putting things like String.class etc. in it
Then you only need to make sure it's ordered generic last and then it's easy
and how the hell would I do that?
Well, I need more context
How many different things do you have? Is it feasible to build the list manually?
In spring I had my lovely order annotation
So that was easy ^^
At the moment, 8
Booolean, Double, LDT, Enum, Integer, Long, String and Number
but that will most likely grow
Yeah so just build the list manually
Not really feasible
How do you build it right now?
Why is that not feasible then?
Well for example, I don't want to define mapping for each enum I have
Ah
Well, then do what spring does
Class path scan for instances of your interface, give the interface an order annotation

Everything can have a default, object needs to be lowest, number needs to be lower than integer
I will try to figure something out, but thanks for the opinion
Then sort the list by order, store it, when you need to access it, iterate it and call canHandle on each still you find a match
Spring does that pattern everywhere internally
Like to find the proper http message converters for example
@vernal moth I may have done it, I've wrote a small test:
public static void main(String[] args) {
var map = new TreeMap<Class<?>, Integer>((first, second) -> {
if (first.equals(second)) {
return 0;
}
if (second.isAssignableFrom(first)) return -1;
else return 1;
});
map.put(String.class, 1);
map.put(Integer.class, 2);
map.put(Double.class, 3);
map.put(Number.class, 4);
map.put(Object.class, 5);
map.put(Enum.class, 6);
map.forEach((k, v) -> System.out.println(k.getName() + ": " + v));
System.out.println("----------------");
print(Float.class, map);
print(Double.class, map);
print(Enum.class, map);
print(LocalDateTime.class, map);
}
private static void print(Class<?> key, NavigableMap<Class<?>, Integer> map) {
var ceiling = map.ceilingKey(key);
System.out.println(key.getName() + ": " + ceiling);
}
Which outputs:
java.lang.String: 1
java.lang.Integer: 2
java.lang.Double: 3
java.lang.Number: 4
java.lang.Enum: 6
java.lang.Object: 5
----------------
java.lang.Float: class java.lang.Number
java.lang.Double: class java.lang.Double
java.lang.Enum: class java.lang.Enum
java.time.LocalDateTime: class java.lang.Object
Which seems like exactly what I want
or it is just a coincidence that it works :D
Well, yeah, you just used an ordered map now
But that doesn't solve anything cause you said it's not feasible to hard code the map, lol
Plus I would use a linked map instead, well, I wouldn't use a map but a list, but whatever
Oh, we may have meant different things by hardcoding the map :D
well this will only work with a NavigableMap like that
This is just a test, there will be something more useful than an integer as a value there.
what is even the xy here - this sounds like awful design
As I saw using a map here feels really ugly, a list of providers sounds way more clean
Java is object oriented, so you might as well make use of that
but your comparator violates the contract anyways, so you might encounter issues with that
yeah 
hi
Download NBT File System Utilities for free. Inspecting and manipulating NBT as a file system. Named Binary Tag (NBT) is a binary format designed for and used by the game Minecraft to store various data including worlds, player data and many other things. This project provides a way to access those data by simply mounting the corresponding data ...
ofc
that's...
cursed
on my way to try that lol
oh fuck
there are no binaries available?
Too lazy to build it myself
FUSE was a mistake.
@neon bramble :)
hippo!
buoyant big animal
does anyone know what i can do to earn extra cash during weekends?
working 5 days a week isnt enough for me
i really want to make money...
if anyone has any ideas what i can do, tell
Freelance, help at events, overtime, ...
Invest in Bitcoin ||/s||
Or you know, spend less. 
1,69€ for e95 in Belgium thats good 👀
I remember it being 0.99€... god damn last year was good.
We probably only hit 0.99€, so that that government could stop regulating prices without backlash...
Right after the biggest petrol company here forcefully replaced their management, due to "underperformance".
... Months after they got multiple awards for being the best 3 directors that we ever god damn had...
I like how the people in the vanilla bug tracking place just close everything randomly to the point where things haved to be repeated multiple times for it to actually be read by someone who isnt part of mojang
Anyone know how to change the typing cursor from | to _ and back again?
If you have a full size keyboard it should be the key above the Delete button 🤔 or something in that area
I want that price too
!ban @unkempt walrus epileptic jumpscare
:raised_hands: Banned noble.#7966 (epileptic jumpscare) [1 total infraction] -- electronicboy#8869.
Fucking hell
aw i missed it
kek
mama, just killed a man
cat is ur momma?
no u
M9mma
Nomana is your mama?
nomama
Nomamasendhelp sounds different
sounds hot

Manypokidontsendhelp
Tell me everything about poki you know
imagine simping to 3d woman
Imagine simping for a furry character
oh
I raise, you, noooo
Will walks in on his moms and Lisa’s dad doing the nasty!😂 The Banks residents later pile in to see what the fuss is about.
Checkout https://shopflymecca.com for 90s / 00s Hip Hop And R&B T-shirts. Along with vintage sunglasses + more!
INSTAGRAM : https://www.instagram.com/shopflymecca
INSTAGRAM : https://www.instagram.com/meccadelic
I don't wanna die. But sometimes wish I'd never been born at all
Does minecraft have some entities which can go through blocks?
vex
I am thinking about making some mod which have "terraria-like" bosses which can go through blocks and players will need to make real strategies for them
So like ender dragon
Ah, yeah, another good example
Ended dragon would be whole lot harder to kill if he doesn’t go for crystal and just run after you like a zombie tbf
I realize now, why I should make plugins which should look like mods if I can create mods rather than other plugin devs I know, I need to stop people make plugins if they can create better content with mods at least on server networks I worked on
I know, but if you try to make mods using plugins you do something incorrect
Basically plugin is a modification to minecraft and it is also a mod
Despite the fact that it all using very different approaches
Who cares about morality... /s
we only care baout moral without the m :o
baout
2 fast 4 keybordz
So I found an old usb key, mine
kinda cool, old files
but also i found virus lol and i run it by accident
2004 whut
i hope nothing happened?
well i was kid, so 🤷♂️
probably no
antivir got it and it's really old one
kinda cool tho anyway
go scan with kaspersky live 10 on a usb or cd if you want to be sure
it's cool
do you pay for your antivirus though?
i don't use antivirus for 2 years, disabled win defender too
i think if people know what they're doing on the net, they won't need antivirus
what are they
you keep saying "files" but like lol
old "homework" folder or something
some random ones i downloaded from internet, even some games
videos, music
games
well anyway i kinda deleted a lot of my old files with safe erasing soo
lol t here's tools for some.. things
i will not have a moment like this
lol





