#general
3141 messages · Page 620 of 4
I kinda wanna see if I can translate it to rust and tweak it
It is, you can’t
... did the people who made that nightmare get hired by mojang
Save yourself the hassle, if you’re going to write one in rust, rewrite it from scratch
Free yourself from the assumptions and legacy code
The original creator did yes
oh my
even if you love php as a web lang (why would you but, hypothetically) ... it ain't a high performance game server language or for that matter even a general purpose language in the first place
I was kinda hoping to keep it working with plugins but eh maybe yyour righ
it's specifically a website lang, made to integrate in webservers
the fact that you technically can do completely random nonsense with it doesn't mean you don't deserve to be shot for trying
_glances at JavaScript _
referring to https://github.com/pmmp/PocketMine-MP for reference btw
oh jfc the lead dev actually got hired by mojang why god
Wasn’t avx the one that made the CPU start shutting down cores when in sustained use?
Or have I confused that with another instruction set
avx/vectorization in general is a bit of an iffy topic for that reason
it's theoretically better but implementations get funky like that
@upper flicker not quite avx is a instruction set for floating point acceleration it downclocks cores cause its hard on the fpu but it lets you do 2x the instructions per clock in floating point workloads
That’s great if the workload applies
the heck even is Mojang's codebase
You’d have to double check it did before you go duct taping it onto shit
@upper flicker also there is one for integer workloads
although I do agree it's dumb
en serio
it needs to be used correctly
Once again, far far easier low hanging fruit
alright, can I still get the world's UUID in the chunk load event?
chunk loads before world does wow minecraft has been async this entire time who knew
not sure if sarcasm or
that was a joke yes
a real schedular would be great too
if something that dumb gets said and it’s from not-leaf, assume it’s a joke
am confusion
if I go through with this I might as well look into cuda/opencl acceleration for certain tasks
lol
hi can you join my server at 127.0.0.1 i need help with this bug: file://C:/users/mcmonkey/Desktop/error.png
Glowstone did have opencl assisted worldgen for a while, might still
@still smelt thats kinda the point
Seemed to work okay, but I never checked if it actually improved much
GPU compute is super useful when applied well
^
oh no he's gonna go on about chunk gen again
Most servers don’t have GPUs though so
like it either much slower or hundreds to thousands of times faster
I mean if you could use it they probably will
'applied well' first presupposes you're doing it for a clientside thing
No they won’t
if you're doing it serverside, that is applying it the opposite of well
that is applying it where it literally won't work at all
They aren’t going to respec every dedicated server for Minecraft and add actual gpus at all but the highest of high end
It’s very cool in concept
servers with GPUs at datacenter companies usually cost way freakin' more
mainly because GPUs cost a ton
But once again, far easier low hanging fruit
obviously
If you want to write a higher-performance Minecraft server when starting from scratch
like rewriting the mc server in rust would be a fun project for the summer and there is a lot I would do first before fucking with gpus and avx
just literally don't worry about optimization
just be competent in general
and you'll get way better perf than mojang's version
with incredible ease
Besides if you try and use a like an rtx card for that nvidia will start breathing down your neck for licensing issues
Gotta sell quadros somehow
hmmm I have a dilemma. I'm using a separate database to store information on where certain blocks are, and I need to update that information when said blocks are moved by pistons. I have it all handled for when everything is loaded (and loading the database async) but I realized pistons could potentially move before the data is loaded entirely. I've come up with two solutions:
- store a list of what blocks have moved where and 'apply' it when the data is loaded
- block the main thread until the world's data is loaded
but cuda is easier
what do y'all think
I'm so glad I'm not a Paper developer and thus don't have the job of trying to fix mojang's creation without also breaking everything that relies on mojang's creation
much better being the person complaining when you people break my reliance on mojang's awful creation
:D
AMD does have that new not-opencl system for that now
blocking the main thread is usually not a smart idea
Whose name I cannot recall offhand
lol
But it’s open source, was a wonderful talk on it online
Might be something to explore if you’re serious about it, if I recall it supported nvidia cards as well
if you're in an environment with graphics card and devving for that
... just use a compute shader
it's a thing in OpenGL and I think an equivalent in Vulkan
I mean thats kinda what I tried to do with opengl a while ago in mc
don't need to use the various semi-proprietary APIs directly
It was trying to be vulkan for compute
ooh server admins testing out more advanced chunk freezing. so far way too aggressive
but because of mcs terrible internals I couldn't get enough work units to the shader so it just stalled
so instead of a client side mod think ill just try writing my own mc server out of rust
I hope you succeed and it becomes so amazing everyone uses it
All for something better coming along and eating our lunch, our being the MC community as it exists
well I got 1 more week of class then I can start working on it
just make it extensible with something other than rust
if it goes anywere ill put it on github so people can contribute
I am all about that open source life
I don't expect the MC Community to transition to a new thing even if it's great
like how Sponge was a new thing that was great but Spigot was like "hey this is a wreck but it supports your old plugins" so Paper had to come make it at least a little less of a wreck
and Paper only works because it's compatible with your hMod plugins from 1995
Sponge taking our lunch would also be acceptable
I love what you guys do but you shouldnt have to do it
Once they get their releases figured out, or dev time, or whatever is holding them back on whatever old version
Bedrock would be a great platform if it, y'know, didn't get microsofted, and the community cared for it
way more stable implementation of minecraft with modern features and cross-platform support
dream come true
It being hyper monetized and tied to Microsoft pretty much killed it
At least for traditional java players
The current solution is a wrapper program that runs the android version and shims in your native stuff for Linux bedrock
It runs surprisingly well
you could probably run it with dxvk pretty well tbh
dx12 converts over to vk fairly easily
Bedrock inputs are sooooo smooth compared to java edition
Actually feels responsive
possible cool but also crazy idea
server side rendering
I am writing everything down right now as ideas for this
Eh, careful with that
You’re going to end up sounding like the Microsoft product manager who thought chunk gen could be fixed by sending data to the clients and using the client to do it and then send it back to the server
imagine the sync loads
I was thinking more mmo style
.net product manager though so... lol
the only p2p I have seen that is good is zerotier
imagine the client just giving back pure diamond blocks too 
it has a central node but uses p2p as a fallback to reduce load and latency
server side rendering
Did you just invent google stadia but for minecraft in particular
@restive maple that would basically be the idea
shut up retarded taco hater
as if stadia is original lul
eh maybe not that then
Correction: Did you just invent OnLive but for minecraft in particular
I think that was the first one
well I got my summer quarantine project now
make an mc server but in rust
and maybe implement gpu acceleration
first make internals not stupid though
honestly... make the internals awful
do everything wrong
have the worst possible performance at every point
still probably do it better
delta timing?
the thing where if a server goes below 20 tps, it still works because it just multiplies values by the frametime
is there documentation on what an mc server needs
like instead of every tick you do pos += velocity; you do pos += velocity * delta; where delta is frametime
and suddenly low-tickrate just works fine
cool
yeah in some cases that'd be 💯
I do that type of thing for block breaking
could see it possibly screwing around with machines, as they tend to be tick timing strictly
what if just not make the game server depend on a stupid 20 tick system
but yeah overall that'd be nice for a lot of areas
really wish these retards would stop pinging my votifier port and spamming console
that's basically the point of what I said there
delta timing is how you break tickrate dependence
even more insane write mc server in assembly
ok no I dont hate myself that much
but it would be interesting
you can use assembly to interface with system calls?
and whatever stdlib in native you throw at it
yeah ik assembly is kinda really pepega to use
one reason being the compiler might just know how to optimise something way better than you do
true
write a minecraft server as a UEFI Bootloader
the assembly was a joke
make the machine boot into minecraftserving
apprently there is an mc server written in GO
yee haw
ah yes golang, I too love languages artificially limited only because their creators think everyone else is stupid
more like goawaylang
GOd i hate golang
oh cool someone else started writing a server in rust
this would be a good place to start
hi broc
I now understand why Mojang doesn't make tile entities pushable
I don't trust mojang to make an impl of pushable TEs
Tbh the list of people I trust to impl it is pretty close to 0
I'm not even trying to do tile entities I'm just trying to make a block that appears like obsidian to the client pushable
Is it possible to modify the list of blocks in a block piston event? (Not at my computer rn or I'd try it
)
no
the issue with modifying it is what happens if you remove one block but not the others around it
does it just eat the block? does the push/retract stop at the block
its a behavioral rabbit hole
so youre limited to just cancelling the whole thing
I love how I fix one bug and another one turns up under it -.-
ok, well, switching around parameters doesn't help xD
I should really enable that intellij feature which always displays parameter names
it's "Show parameter name hints"
and there are some config options for defining how verbose it shold be about obvious names
I wish there was a way for it to only display when I'm looking at it or something ;_;
cant you bring up the method doc popup thing?
thats a separate thing, but does it show it?
I mean, of course
but that requires an input
xD
I want an augment reality overlay depending on where I look ;D
ah lol
I guess I could use a webcam for eye tracking and automaticall popup the javadoc window or something 
also a good strategy for garbage collection
like on screen or...?
there's an old meme from a google slide or something that jokes that the best time to do a pause for garbage collection is when the user isnt looking
has anyone had the issue "Cannot execute command "bportals" with the bportals plugin
The only thing I'm seeing on the Client side is "An internal error" and on the console I'm seeing [21:31:50 ERROR]: null │[21:17:28 INFO]: Sanguine_Banana[] logged in with entity id 13400 at ([world]-305.33311723632573, 75.65
[21:27:23 INFO]: [MC] CHAT > [wowmap][G] [Owner]Nikandrenee: weird │org.bukkit.command.CommandException: Cannot execute command 'bportals' in plugin BungeePortals v1.3 - plugin is disabled.
uhm waterfall kicked me with this exception: https://pastebin.com/raw/Dgd1dx5Y any ideas why?
because there's no more room for elements smh
man, i suck so hard on this remapping thing 😄
this looks like too much plugin message channels got registered? isn't the limit 128=
FakeBull: the plugin is disabled as the message says. you'll have to look at your startup log why that plugin failed to enable
Maybe this is better off as a custom fork ;-;
I can't figure out how to track a block's movement accurately
you should probably buy the plugin, they offer premium support
;/
well anyways if anyone knows how to fix this issue https://gyazo.com/72c65f9abdd2bd774171660d7d93ba68
then i will be really happy if i get help
Where did you ask
probably not in their support channel
they don't have one
they do
head back to their discord and check out the #ps-spigot-verification channel
I mean
its a paid plugin
why would you expect to get help if you're not paying ?
we're so mean oof
I will start focusing on supporting people that haven't bought the plugin instead. That's only fair.
buy the plugin to lose support!
most of our recent updates have been paper specific, we should start marketing it as a paper plugin
if only you guys had a platform for my capitalism :[
not going to happen
Z I know you love me, you're not even that good at hiding it
forever and ever bb ❤️
No I know, so now we have to pretend that it's still relevant for spigot plebs
"runs super well on paper servers and it also starts on spigot servers"
kek
most ppl who are serious about their server probably use paper
is there stats anywhere for that
bStats?
35.7% of servers running Paper overall on bStats
50% for 1.15+ iirc
I remember aikar saying something about that
aikar has a sig that pulls from the bstats api
that page says ~37k servers, but ours says ~61k atm
not entirely sure whats up with that
but I havent dug into that api super deep
oh yeah hmm
I dont get overly concerned about the % though
its just cool that 60k servers use our stuff
https://github.com/IntellectualSites/PlotSquared/pull/2802
I am very happy with the name of this update. Now I just need to add all of aikar's project as dependencies and call it a day.
i meant based on player count of the server
im sure more servers run spigot
but how many with >10 players
That'd be interesting to see, I bet most servers with a player count above 30 would have switched to paper by now
wasnt that just at the top of /r/minecraft
imagine being on reddit smh
I only use TaskChain for a few things, I need to take a deeper look into it
I use it a fair bit now, it's convenient 😛
Would you use that to teleport someone is or is PaperLib just easier
I only see you using the taskchain in 1 place
Barty are you the one who opened the issue to allow EssX to convert it from CMI?
Hey guys I was wondering if you could help me with bungee? I need to force the position of the player to be the spawn point of the lobby. Ive done force_default_server: true to force the players to default to the lobby on relog but I need to force there position
thanks
If I go through a simpleportals portal that is connecting to a bungee server I will teleport to the last location I was at. Thats fine, what I need is for /server lobby to ake me to the spawn point
and thanks I'll check it out
so essentialsspawn isn't doing anything
its the same as before even after setting spawn-on-join: true
spawn-on-join: false
# The following value of `guests` states that all players in group `guests` will be teleported to spawn when joining.
#spawn-on-join: guests
# The following list value states that all players in group `guests` and `admin` are to be teleported to spawn when joining.
#spawn-on-join:
I think I figured it out actually
I'm using the owner account which has * as a perm
That must be overriding it because every other rank it works
Thanks guys
@shy shuttle You are in no position to tell me it, are you staff by any chance ? no ? 
Reading aikar's blog post from 2014, clicked a link and I am once again reminded of copyright law's ability to silence speech 😄
If that’s how you want to act, Returnee, then grz, you’re never getting any support from me 😅
I support people like our crumbling infrastructure: one day I will collapse.

Whats the command to disable fall damage in a world? Worldguard?
Its a WG config option i think, possibly a region flag
ye in WG there is a flag for it
for global it was /region flag __global__ fall-damage false iirc
refer to wg docs
Cool
Thanks a lot
@shy shuttle and yeah, if you wanna butt-in and complain about channel misuse, do it in correct channel to atleast make any sense.
Mr support
🍿
IntelliJ doesn't really seem to support JUnit's 5 parallel execution lol
the "elapsed time" it displays after the tests have finished running adds up the execution time of all tests, not how much time has elapsed since the start of the execution
lol
Anyone recommend a factions plugin for 1.15.2?
SavageFactions 👀
Faaaaaaktion
fuck you
But also don't use factions, do something original.
cheating whore
Vic I'm a slut, I can date multiple people
this is why I don't send you money anymore

I want to trick people into believing it's cool
@heady spear
fucking
lol
check reviews 
nice length checker, md_5
I wonder..
tf
:)
apparently I had forgotten to make it so people can create worlds using the API
feels like that would be quite nice for a world management plugin
Anyone know what happend to permissionsex?
Nice to hear theres coming a new one, I dont want to confige a whole new plugin
Where can I find that info? So I can download it as soon it releases
Luckperms can import pex
RIP WorldBorder: https://github.com/Brettflan/WorldBorder
Is there any good alternative/fork? I can't find anything.
@twin lagoon it's been broken for months now. And if it won't be maintained, it might possible break completely in the future.
how is it broken
The chunk generation doesn't work - ok, I can use something like chunkmaster or fast chunk pregenerator, not big deal.
chunk generation works fine?
never had any issue with it
generated a 10kx10k world this week
In 1.14 and 1.15 it left a lot of chunks ungenerated for us - blank spots.
fairly sure that's just dynmap being stupid
Well, I did run the full render.
i had that issue aswell wit dynmap
But!
The biggest issue for me is with spigot breaking it - it sends 3 teleportation events when moving from nether to overworld.
Damn - it was fixed and I didn't notice!
I only watch #paper-github, so since it was fixed in spigot, I didn't see lol.
Im pretty bad with github, but where do i give a suggestion, pull requests?
Go to the repository and then at the top you have an Issues and Pull Requests tab. Suggestions without proper code should be an issue and pull requests should be under pull requests.
saying that there are no primitives in kotlin is probably bullshit
kind of because the JVM has them
until it isn't
retarded
JIT that shit
ok my hand spasmed and i switched servers and i thought i got kicked
except no
you can v1 shl 8
dumb
"only exist"
viper stop being dumb
kotlin has its quirks but you need to learn it before you start with the stupidity
I never understood why kotlin didn't use proper operators for that
anyone know a plugin where when you right click an item it gives your a certain potion effect for a limited amount of time
But I guess it's a language choice
Since they also use such keywords for loops and stuff
@vernal moth I think it's because they preferred the infix functionality
you can technically still do it by making infix extensions and then calling them: ```kotlin
infix fun Int.<<(other: Int) = this shl other
3 << 4
it does
or does it
try println("${3 or 6}")
it'll give you 7
maybe he meant |=
yes
kotlin doesnt have bitwise anything assignment
such a minor thing tho lol
If you really want to use those operators for something you could always just write those components in Java.
or just write it in kotlin as it compiles to the same
Bit twiddling is arguably something you'd want to tuck away somewhere anyway. Just write it in Java and use it in Kotlin. Best of both worlds.
no no use kotlin native or whatever it's called
better yet, call Java and then use C via JNI

a |= b is just a = a | b
so you can still do that just fine...? .-.
Isn't the point that the | operator isn't in Kotlin?
but or is
java | == kotlin or
the point was that |= has no direct equivalent in kotlin
which is just a QoL thing anyway
Yeah but that's 100 % a flavor thing. If you feel like the Java code is more readable for whatever reason, just write that logic in Java and be done with it. Why would you shoehorn it?
Same thing with the bit shifting. If v1 shl 8 is hard on the eyes, just don't use Kotlin for it.
Then again, Kotlin is pretty fucking disgustingly horny for just writing DSLs for everything.
Maybe it's better to just embrace the chaos.
And if it's a personal thing no one else needs to ever read it probably doesn't matter anyway. Go nuts.
Keep it secret, keep it safe.
does anyone use PD-8086U Tablet Iball comapanys pls Anyone say me i need that
interesting article https://www.lifewire.com/best-bukkit-plugins-for-minecraft-servers-4172628
they forgot PlotSquared smh
they put Vault lmao
I mean it is important, kind of
this line from CMI's page on Spigot
I mean isn't it like 150 plugins crammed into one
€15 isn't even that bad 🤷♂️ I don't get the appeal but o well
and inconsistent subcommand naming where some are /cmi <command> and others are /<command>
no idea how many of the commands work properly
It kinda doesn't seem to offer anything unique, but that isn't the point I suppose
we suddenly got several requests for a tool to import CMI data back into EssentialsX ¯_(ツ)_/¯
I'm not a fan of monolithic plugins overall tbf. Haven't tried EssentialsX though 🤷♂️
I don't like the idea and it gives me nightmares, but things may have changed since 2014
fun fact: early on in its lifespan Essentials was split into around 12 separate plugins, almost all of which were merged back into a single plugin within a few months
@drifting elm and i are working on replacing most of the stuff we need in the monolithic plugins anyways so might perhaps end up going the long mile 
it has flaws, my excuse is most of them were introduced by people who worked on it before I did lol
It's not that they're bad, it's just that... they're too much
But I get why people like them, it's easy and convenient
until you need to change the colour scheme and therein 2000 messages :p
isnt essentials still split onto 5 plugins
tbf you can just ctrl-h and replace every colour code in EssX
This is why PlotSquared has custom color codes, so you can update the entire theme by changing 5 lines 😛
monolithic is way epicer than having a bloated mess
AntiBuild, Protect, Spawn and XMPP are just kinda there, we don't really maintain them bc they work fine
those two things are not mutually exclusive
I've kinda changed how I write my plugins recently, instead of adding every bloody feature to the plugins, I instead try to provide a good foundation and then make sure they play well together with other nice plugins
then I can just redirect all issue reports
apparently there's 28 people who use XMPP
the other 10857 don't know it exists
y
what do you even use it for
you guys could at least just make it shut down if the config is invalid
eh, someone must have a use case for it
instead of just spamming every x minutes
xmpp is a chat protocol
basically used for chat bridging
think discordsrv but not discord
or an irc bridge, or whatever
doesn't really work like either though since the XMPP module was built around sending IMs to specific people
I mean.. xmpp has as much relation to bridging as irc 
sorry, xmpp is a chat protocol, essx xmpp is used for bridging
I remember the times when facebook and google still offered xmpp gateways ;_; before their social features started to suck
not xmpp is used for bridging
also I'm still angry they killed my @facebook.com email :(
Essentials XMPP only sort of supports chat bridging
imagine if facebook email would've be as good as gmail Oo
for some reason, facebook has an official tor website
gmail sux
what else would you use
of course they have, they want nobody but them to have your data ;)
lol
main issue that I have with any other email (web) client is that it just doesn't work as nicely as gmails client :(
huh, there actually is a draft spec for XMPP chat rooms
(also exporting filters from gmail into another system is annoying)
honestly never bothered to look into it, ik Essentials XMPP doesn't support it
actually the web clients aren't the issue, the issue is that there isn't a good open source PC+Mobile synced solution
Can Arternos server have 50 player active ?
Same for the uni email because the website is horrible and looks like it was created in 1989
yeah, I used to do the same
Our uni intranet is so bad
started setting up private@ addresses on my non-gmail domains though that don't reach gmail
also tbh it's kinda a privacy violation in my eyes if you redirect email to gmail when the sender doesn't know that google is reading the emails
at least with @gmail it's clear
yeah, I tried that but I only got as far as properly receiving emails and sending some of them, lol
Yeah no it’s horrible
I just pay some web hosting company 30€/year for a couple of domains + web and email hosting ¯_(ツ)_/¯
I slap everything on the intellectualsites servers and call it a day
That’s hot
I mean, every user has a home location. right?
Using SQLite is acceptable, but cramming everything into a mega-table is icky as fuck
kinda keeping the monolith theme going 👀
I don't particularly mind using individual user files tbh
kinda makes sense unless you need to be able to query the data easily
if it was relational, using sqlite makes sense
like this you might as well dump everything into a csv
so that you can run commands against offline players and EssX knows what the player's UUID is to load their data
that was inherited from Essentials when someone quickly patched UUID support into 2.x
CSV is pretty neat, easy to write and easy to parse 
tbf loading/storing as YAML seems overkill for a key-value store
I mean, csv is just a textfile after all xD
Right, depends on what you're doing
Everything is a text file if you're brave enough 👀

for what the usermap is actually used for, YAML is overkill
But you gotta remember that this community has a fetish for yaml
by far my least favorite file format ever
super volatile, ugly and just bad
Spigot and ProGuard mappings are a textfile, too. 😄
I just hope hocon becomes more mainstream because plz
hocon is pretty awesome
hm turns out pinging 7000 people is a good way to increase plugin sales
I use it for everything standalone I do, lol
we're still below 300 which is disappointing but
I've started using hocon for configuration files
for storage I kinda just run everything through gson 😛 And if I have to use jdbc then ormlite is bae
Reading or writing shit manually is so 2019
not a too big fan of ORMLite tbh., I mean it works but you rarely actually need an ORM lol
I find that ormlite is a nice middle ground
https://github.com/brettwooldridge/SansOrm is pretty cool
if you don't need hardcore persistence shit but don't want to manually write sql statements then it's perfect
I replaced our quest persistence system yesterday, moved from mongo (morphia) to sql (ormlite), took 30 minutes
that was pretty sexy, didn't write a single line of SQL myself 😛
wait
lol wrong server lmao
im tired
imagine if discord had a channel overview rather than just guilds 
or at least a favorite function like ripcord ;P
I thought you could click on links in vanilla Minecraft so bukkit does that I suppose?
you can, yes
I tried in Vanilla and it doesn't seem to work but it works perfectly fine in a spigot server.
I guess you meant to say "couldn't"? 
My bad.
don't you dare make mistakes
But yes I couldn't do in on a vanilla server but works fine on a spigot server.
if it doesn't work in vanilla then it probably has something to do with spigot converting stuff back and forth between chat compoenents
back and forth and forth and back
my favorite is legacy -> component -> legacy for action bars
for some reason something on my network keeps sending out wake-on-LANs
the only reason I noticed is because I recently dug out my PS3 and it just turns on in remote play mode at random
aliens or russian spies
both
Chinese communist party
u s e f i r e f o x
firefox has even worse screen tearing issues rn
vivaldi is nearly usable
I regret updating lol
Just use Chromium /s
idk everything is butter smooth here on void 😎

Anyone know how to get dynmap to https? I have certs.
reverse proxy it
with nginx
anyone knowledgable with bash here?
not sure how i can append one multiline variable to another multiline variable's line endings
double quotes single quotes idk
do you mean you have two multiline variables with different line endings or do you want a variable on every new line?
@slim nymph sorry for ping but moron up ahead
any idea proximyst?
nah i'm not that good at doing bash lol, i'd try hitting stackoverflow for some info on how to zip two lists together tho
f
Does anyone have a good link to some tutorials for someone who has never coded java before ?
I've done other languages
what other languages?
Python
And c#
oh lol
oh xD.
Like using c# for unity
Not intensively or anything more school projects related
Well does anyone now of where to look to get started 🙂
"zip two lists together" think i just found it by googling that
didn't know what i should call it, ty
can anyone helps me (need help about php)
oh no
oh no
you can split lists into bash arrays
and then create classic fori loop
and join them by index
bourne shells are fucking horrible for programming though
if -> fi 🤢
you can clearly see that it's caveman tech
however i know that caveman tech pretty well
@twin lagoon ```bash
#!/bin/bash
var1="
a
b
c
"
var2="
d
e
f
"
var1=($(echo "$var1" | awk 'NF'))
var2=($(echo "$var2" | awk 'NF'))
for i in ${!var1[@]}
do
printf "%s %s\n" "${var1[i]}" "${var2[i]}"
done
basically that yeah
prints a d b e c f
.g rich felker posix shell notes
(DiscordBot) https://www.ismailzai.com/blog/gitinitjs -- How to Bootstrap Javascript Projects with gitiintjs.sh | Mo...: "Jul 25, 2016 ... As Brisbin notes, “this bit of cleverness leads to an intuitive and ... when I read Rich Felker's preamable to the excellent POSIX..."
I introduce gitinitjs.sh, a shell script I wrote to bootstrap new JavaScript projects, and touch on some POSIX-scripting gotchas.
boo
i had this:
also assumes the lengths are the same but you're on your own outside of what i have now :p
paste <( echo "${arrayTest1[*]}" ) <( echo "${arrayTest2[*]}" ) | xargs
monkaw
gonna try yours now though
ah no, not that link
that one
so if you want your script to work on whatever unix out of box then... basically good luck
aslong as it works on debian and archlinux
bash is way to go then
as long as you use bash, it'll work fine
ye
People used to know I was a no table thanks to my glorious nickname color but then they made me wine red and now no one knows who I am anymore
.rekt
☑ The Wolf of Rekt Street
also ffs pgjdbc-ng
can't run multiple create table queries from one statement
that works with official driver
.>
well thing is that i read table def from the file, so...
i guess dirtyhacks ™️ time and split on \n\n
why not just split on ;
or well not only table defs there
i create custom enum type as well
that involves begin/end block because i can't do create type if not exists
and thus more ;-s
who is nossr anyways
idk I remmeber some guy with a similar name but he had a really distinctive nickname color. this new guy is wine red which is definitely not who I was thinking of
I don't know who he is tbh

does anyone here have c++ experience
If you have a question, please just ask it. Don't look for staff or topic experts. Don't ask to ask or ask if people are awake or available. Just ask the question to the channel straight out, and wait patiently for a reply.
ok i did something really ugly
(string/split ...tabledefs string... #"-- !NEXT")
so now i have sql like this:
create table ...
-- !NEXT
create table ...

i mean it works so fuck it
lmao
it's alive
TIL that mentioning someone in a discord channel that tehy don't have access to will still make that notification with message content accessible to the user Oo
uh oh
@toxic ember yes but you’re better off asking in a cpp discord
Oh Its cool I just found the answer 15 minutes ago
wtf discord?
?
can't reproduce phoenix...?
I assume the vanilla client just hides it until you have access or something
same way it hides channels
phoenix that doesn't seem likely, otherwise yall would be spammed to shit by our log channel....
no, embeds don't ping
oh
and vanilla client doesn't let you type @smoky sinew for someone not in the channel
ew, discord pls
@someone
but if you type it in a channel they are in and copy it to a channel they aren't in, it's still a valid ping
wiz trying to ping people, is that free passes to ping wiz?!
gasp, i forgot I was even in there
Anyone have a good plugin that disables creeper explosions above a y-level or based on skylight? I'm tired of regen-ing potholes in surface but still want creeper functionality
Guys, can somebody help with this?
https://timings.aikar.co/?id=2ccfe833389141e69c7d616284668eff#timings
Aikar's Timings Viewer - View Timings v2 reports from Paper and Sponge
I've seen https://dev.bukkit.org/projects/safe-creeper but it's not been updated
.flags
Optimized & Recommended JVM Startup Flags: https://mcflags.emc.gs
i love the changelog date order on aikars site for flags 
the newest in the middel 
I'm assuming that is mm/dd/yyyy, though.
In which case the newest is at the top.
there's no 24th month sadly
oh wtf
Should've been in yyyy/mm/dd 🙂
Smh, non americans
ah yes the confusing between US and DK dates xd
hyphens!
mb
ISO-8601 week format or get out
lol
Why use a format when you can just specify the date as the amount of milliseconds elapsed since Jan 1 1970 🙂
@slim nymph that used to happen about 3 years ago but discord patched it
YYYY-MM-DD
dont UK dates use - usually for DD-MM-YYYY
Yep
that's how ive pretty much viewed it, murica uses /, so / for MM/DD/YYYY lol
yyyy-mm-dd > dd-mm-yyyy > mm-dd-yyyy
iso date format is the only sortable one so ¯_(ツ)_/¯
You can sort anything with a custom model
thing is how often are you going to be sorting that
you mean the year dont reset at 9999 ?
yeah I agree, but you know, non americans are use to american dates more than americans are use to any form of sanity
so, LCD
@void void 100s of times a day in any SQL database ever
i mean in this case
Non sortable is just an attitude ☠️
wait just now?
Is there any guide for optimising my Paper 1.15.2 server?
yes
At least yyyy-mm-dd will more often be clear then dd-mm-yyyy and mm-dd-yyy, since you always start with four digits. (Unless you're doing some history stuff.)
nothing critical, but found a new flag recommended for everyone to ensure consistency
cuz i've just updated my flags to match the ones on the site xd
SS/MI/HR/DD/MM/YYYY
What is better to set in this option
network-compression-threshold=
nothing is quite as clear as 2020-W17 doe
nothing jst, dont mess with it unless you can answer that question yourself
Let’s all take a moment to thank maintainers of calendar/timezone libraries for their sacrifice
What about dates like 02/04/2020? How are you supposed to know if it's 4 February or 2 April without context?
🙏
@slow hull assume murica for /
wait i thought UK mostly does /
This is why you put the year first
i live in the uk
day first is weird
i asked above didnt uk do - more and someone said yes lol
With day first you at least go from smallest unit to largest.
May 2nd, 2020, CLEAR?!
2 May 2020 😉
I can get year / month / day because then its sorted in file explorers but month / day / year is 
day first makes most sense since that kind of number system has the first incrementing thing in the middle
all those number systems are dead now for a reason
Yes, but it's not how it's spoken. "3rd of May" sound to formal. We say "it's may 3rd", so we write it month first too ¯\_(ツ)_/¯
I prefer 3rd of May due to "fyrste/andre/tredje/.... mai" in norwegian :p
Maybe you should be more formal 
english overall is very formal, even the slang is
Choose your fighter:
3 May 2020
3rd May, 2020
May 3rd, 2020
3rd of May, 2020
May the 3rd, 2020
3rd May, 2020
1588464000
3rd of May, 2020
Date.now()
The 3rd May? You have more than 1? :O
Whether you pick mm-dd-yyyy, dd-mm-yyyy or yyyy-mm-dd, as long as the month is a number, you don't pronounce it like that either way since you still have to convert the month number to the actual name (which is in my opinion the hardest part regardless of the format)
just give all your dates in epoch
Easiest to read imo is May 3, 2020 or 3-May-2020
My pc is set to yyyy-mm-dd, so that is easiest to read for me.
DK timeformat 4 the win
i personally don't need my pc to remind me what the year is
Pssh, it's 14:23 right now
Sun May 03 2020 15:24:08 GMT-0400 (Eastern Daylight Time)
Timezones, smh
Please for the love of god express all the timezones as UTC with an offset, thank you.
i've got Sun 3 May, 20:24
i have both UTC & local time
https://owo.whats-th.is/881HKw1.png
All these people with their stupid custom timezones which you can only convert between if you know the difference with your own timezone.
cursed url
why not just check peoples timezone and base the dateformat on that?
i think i'm on UTC+1, stupid daylight saving time
2020-05-03T19:25:09.075Z-400
like many sites
Why one random thread always load for 100%
UK, nirvana? if so, indeed
We should all just use utc and most of us just get used to noon not having the sun straight up in the sky (not like it is anyways for most of us already)
that suits me, i wouldn't mind all on UTC
of course only people on UTC would benefit but meh
i've got a friend who just uses UTC exclusively cause he can't be fucked to handle other timezones in his daily speech
GMT or UTC
Know what's weirder than timezones? Daylight saving time. We have it here, and I think it's stupid
Isn't GMT affected by daylight saving time tho
Someone asked me the other day "oh UTC, isn't that like a protocol like TCP?"
Well, if you pick one timezone, then 14:00 would for everyone be at 14:00 no conversion needed. But then if someone says I ate breakfast at 10:00 you have no idea how late/early that would be for them. Or you pick what we do now and then 10:00 would be (imo) late for breakfast, but you constantly have to convert between times.
Timezones do solve that problem
But relative time becomes a problem in that case
It's one or the other
Discord should have that skype feature that displayed peoples timezones
Pssh, timezones are for shadow clocks. Modern problems require modern solutions
Can we all agree that, from now on, universal time is measured by the rate at which a pigeon poops?
I... Surprisingly have no objections
that'd be very interesting, since it's partly random
be there in 20 pigeon poops
What if my local pigeons poop at different rates than other pigeons though
which pigeon?
we have to have the pigeons syncronised
pretty sure all pigeons don't poop at the same time
!ping
Pong! Took 435 μpoops
UPPS (Universal Pigeon Pooping Speed)
"Pigeons spend about 20% of their day pooping."
Uh oh
So we need 5 of them
so would that make the second 5 times longer
but that's assuming a pigeon can only poop once a second
we need a world record pigeon to test
I must say, this is a very productive conversation. I'm glad the community can come together like this to solve a real-world problem ❤️
agreed, this is a crisis
Coronavirus? 
Implementing the UPPS? 
Hi welcome
This is an excellent time to discuss the significance of pooping pigeons
Corona an be dealt with by doctors and stuff, we're doing the actual important work.
We'll need some sort of computer vision system to track the pigeons and detect each... Time interval
What do we do if the pigeon dies, though?
also ,we need to distribute the pigeons somehow
Did you say distributed?
grabs blockchain
are these pidgeons also responsible for message delivery?
that's multithreading, not designed for that
I prefer my messages to be delivered by carrier pidgeons
One moment
so with the pigeons dying, we must have 2 copies of each pigeon as a failover
redundantcy is key
Can someone explain to me, what this setting change
async-chunks:
enable: true
threads: -1 <--- this
what the hell quality of avain carriers service
the internet society must have been bored
lol
speaking of which, we should be getting frequent flyer miles with the internet
will this $20 contribute to the development of UPPS?
wait according to this pigeons can fly up to 2k high
well zAikar there is an IP for carrying internet over pigeons
Will their poop rate change based on their height though?
depends on if the poop rate is dependant on the pigeon's internal temperature
increased height should lower the pigeon's temperature, tho we need more data to conclude this
@void void why do you think I said that....
wow
didn't Shino say it
Aikar, what do u think about it
https://github.com/PaperMC/Paper/issues/3196
just thinking about the whole pigeon poop time thingy is enough to distract me from important things.... actually talking about it.... WELL here's your sign!






