#general
3141 messages ยท Page 625 of 4
perfect
that makes it even worse
z pls
is it G or T, no one knows
oh
perfect
didn't even realize kash was here
no access wtf
not on by default
otherwise you're going to shoot yourself into foot sooner or later
as the var plebians want
still makes it hard to read
well as all features like this are
huh
now you have to hover over every var
it'll be nice to tell if some code is trash just by looking at it
lemme fire up my ij
oh you renamed this channel
i mean, we can tell viper's code is trash by virtue of him having written it
there's a way to make intellij tell what type var field is
or is there....
can't find it shaking my smh
DigitalOcean support sign off with "Swimmingly, <name>". I think that's hilarious. I responded first with "Splashingly, " and then with "Buoyantly, ".
is this channel off-topic?
Yes
nice
No it's on topic but the topic is general
please share your favorite 3+ star general here
so guys, having a 20 year debt is the only way to have a department?
was that guy who bombed hiroshima a 3 star general
General Z of platoon 750 is a good one.
i think he was a president leaf
lol
What more sign-off words can I use?
@raven granite what does "have a department" mean
uh depends where you live
are you looking to depart the apartment?
I suggest using the door facility
also did you buy it lol? 20 year debt = mortgage?
generally one would rent an apartment
non native speaker maybe? thinking condo or some other vaguely similar translation
is it against the rules if i were to ask if people wanted to join my mc server
fuck
I'm thinking about buying one, at the end of the year, but having a debt for more than 17 years scares me off
tbh your english is pretty good
if youre buying it not renting you probably want to say 'condo'
i mean
that's like very long time
mortgages are generally long term low interest
has one used "lag" plugins like clearlagg or laggremover on paper? I'm always hesitant, I fear they'll just break things. are they really even useful with paper?
idk if that's what's actually meant here tho
What's a mortgages?
a long term loan with interest usually for a home
pffffffft that's a harder question
depends on your income, where you are in life, how much you want a house
etc
paying about $900 for a 3 room condo for 19 years
plenty of people trying to figure out if thats worth it or not
I'm just looking for alternatives, I'm not totally convinced about it and I never heard about other ways
I used to think that being a programmer will make me rich
right now is probably not a bad time if you have a stable job during this virus thingy
Just look into a 30 year fixed interest rate loan that will come up cheaper than you paying rent
Just keep it in mind with all the possible repairs and the State Property tax
if it can come up on top or close to what you are currently paying
it is then generally a good idea if you do not plan to move in the next decade
LOL in Japan you get house for free
coz there are many unmanned in the country side if you just want them farmer life
but I am assuming hes from US and in a relatively big city with suburbs
That's the general game plan
Actually I'm from southamerica
Most people where I live claim it's totally worth it. My dad always taught me to not spend money I don't have, so I will probably never own a house. I told him this, and he says "well that doesn't apply to house loans you fool!" so I told him "my dad also taught me you can't just disregard the rules whenever you want!"
That's the beauty of low interest mortgage though
So where are you going to live? lol
if you have a high credit score you can secure a good loan and put as little down as possible
keeping money in your packet to invest
(That's before all this virus things btw)
buying a home is def good for money
Look, today I'm paying a fixed amount of money every month for this apartment. I can leave whenever I want, and I owe no money. This is perfect for me.
yeah i mean if you dont have long term plan to stay in one place sure
but yeah if you need flexability in moving, renting is smarter
but in general if you are staying for over a decade buying is always better than renting, at least, in US
good lord
People go "oh but you're wasting money, it's better to own", but that's so subjective. People underestimate the mental overhead of shit like signing papers and contracts. I can't deal with that. Too much trouble.
eh, i was there once, scared of responsibility/risk
(DiscordBot) Spaghetti with Meatballs and Tomato sauce - length 6m 37s - 8,081 likes, 415 dislikes (95.1%) - 950,554 views - newnew2005love on 2012.03.04
but when you get past it, its just another hancock
buying homes annoying because the AMOUNT of papers to sign
I don't work that way. I worry about everything.
lol car is easy if you live close to college town
i just trade my car in every 3-4 years
you can secure a cheap almost new car from exchange student from China if you willing to pay in all cash
never hit 100k miles ๐
lol mine at 58k rn not even drivingh much
im around 75k now, idrive a lot :/
I bought my car in cash. It was a hard dip. But I'm pretty good at saving money. Partly because I hoard it like health potions and other single use items in video games. Never use them!
well that sweet oil price though
I see less than $1.60 gallon just last week. Thought I was daydreaming
yeah thats around what it is here
i was questioning if i use gas discount and make it even lower lol
gonna be regional
dude the Costco ran out of chicken on Monday when I visited
like people hording that shit
or something
LMAO
I cant evne have my peaceful chicken meal at home during this stupid virus shit
We're below 5 bucks per gallon in Denmark for the first time in a long time.
it was sad i went to grocery store yesterday. lady told me TP came that morning.... i see a pack sitting on a cart for delivery to pickup order ; ;
but she said thurs is next day, so im gonna have to get my asss out of bed early and go
send wife dude
wife doesnt drive lol

shes also panicing to shit about this, freaked out when i talked to my landscaper and "was too close to him"
buy her a hazmat suit 
that doesnt solve her disdain for social environment either ๐
damn, @green turret - buck as in USD or DKK then? it's at an avg of like 13NOK/L for leadless here still
Below 9 DKK/liter here.
abt the same then
Hello!
Where can we ask for support?
Cars and fuel are pretty pricy in Scandinavia.
Ok found it
$5/gallon is pretty cheap 
how many litres are in a gallon
4.5L/gallon iirc
(DiscordBot) No results.
Okay so words mean different things in the US and UK
it's $1.60 a gallon rn in US lol
yeah dude you can drink a gallon of gasoline rn if you cant afford the fancy water in the store
TRUE AND FIJI
LIKE THE FUCK THEY PUT IN THOSE WATER SOME JESUS SWEAT OR SOMETHING
Anyone know a seed/biome finder tool or the easiest way to find a seed that has all biome types within say 10k worldborder?
I've been looking around several biome finder sites but couldn't find one that does this.
I'd prefer using vanilla generator
@daring gulch I just did a quick leddit google. I cant verify though https://www.reddit.com/r/minecraftseeds/comments/bsu9u7/all_platforms_all_biomes_within_2k_blocks_of_spawn/
(DiscordBot) [ALL PLATFORMS] All Biomes Within 2K Blocks of Spawn : minecraftseeds - 117 comments, 1,538 points - SnoverMC, 11mo ago
Thanks, though I was hoping for a seed finder, not to use a public seed
Villagers can now spawn iron golems regardless of their profession status or latest working time
hmmmmmmm
Iterable is what goes in a for each block
Everything that can be placed in a for-each block implements Iterable
(except arrays which the compiler takes care of)
omg
I thought enhanced for loop used forEach
mind blown
oh wait I'm confusing with iterator
iterator โ forEach
Does anyone know why the plugin mycommand and how can I have an item execute a command as OP or from console when right clicked? I want normal players without the permissions to execute these commands directly to be able to use this item. For example I made a button that warps you to spawn when you click on it but I'm only allowed to use it when I'm an operator. I really looked over the permission nodes and set them correctly I just don't know what to do anyone know?
xD
lol
ah yes so that guy went over there too
ye
can see that went well for him
I assume the cult of personality is batting him down
vector who
some guy who tries to bond spigot and paper together or smth
he thinks hes a mediator or some shit, idk
going around, having pointless discussions
I don't think he talked to md yet
๐
that would be fun to watch
Take the bus then
does he get angry @vernal moth ?
Bike then
Or buy an airplane
I mean once you can afford an airplane, what do you need college for
Is it like a deal where you have access to a bunch of planes, but if you fail they take away your plane
Hey guys.
Episode 9 is up! I hope you all are doing well and staying safe.
Please feel free to leave suggestions or comments.
Enjoy the music!
(DiscordBot) Trance Melody Ep9 - length 49m 55s - 2 likes, 0 dislikes (100.0%) - 4 views - Trance Panther on 2020.05.06
my boss
โ Subscribe to ThePrimeCronus (Epic/Orchestral/Trailer Music): http://goo.gl/jrSyRt
โ Subscribe to ThePrimeCronus II: http://goo.gl/P5T9gI
โ Subscribe to One Hour Station (1-Hour Mixes): http://goo.gl/44ZRnG
โผ Track List:
[00:00:00] Occams Laser - Temperance
[00:03:40] Konr...
(DiscordBot) 'Back To The 80's' | Best of Synthwave And Retro Electro Music Mix for 2 Hours | Vol. 9 - length 2h 1m 57s - 21,996 likes, 458 dislikes (98.0%) - 1,416,027 views - ThePrimeThanatos on 2017.05.30
yikes
1699 for the first model of mbp
3k for base mcp 16 inch
I would like to get something that runs mac one of these days
this is not that bad
Ooo nice frying pan right there
you can upgrade the ram but not the storage
Why not buy normal pc? That u can upgrade all u want?
Hackintosh is great! It's like Windows 95 with drivers that don't work and brick your system if you install them incorrectly.
Highly recommend... to not do.
Really? I think it's pretty rough these days.
actually I have heard that ryzentosh is now easier than normal ones
havent tried it but apparently the community put a ton of work into it
and yet apple doesnt ship an amd mac smh
But that's the same with Intel CPUs
you have to patch the installer on the intel ones
idk if you need to do that on the amd ones or not
I just went with UniBeast for mine. Worked wonders, but it's apparently very frowned upon.
Iโd be interested in a Mac desktop but the price point is steep
A bit disappointing that https://www.apple.com/ca/shop/buy-mac/mac-mini/3.0ghz-6-core-processor-with-turbo-boost-up-to-4.1ghz-512gb has just Intel graphics
So what makes it different from Intel setups? There's vanilla guides for the whole thing on Intel as well.
I don't see any parts that patch the installer. Or is it because you can go without Clover on AMD?
hackintoshes are super easy these days
lol
you don't have to patch anything
everything is handled by loading kexts through your bootloader
either opencore or clover
opencore will replace clover in the near future, it's already the recommended option on hackintosh AMD
it's less of a shitshow compared to 4 years ago
So the one thing I never actually used was DSDTs. I don't know much about what they are, but I've never worked with them and both rigs I've installed macOS on worked without them just fine.
But from what I gather it's very motherboard specific stuff.
ye
no, it goes to leaf lol
for the no tick view?
leaf did all the work
proxy gets that because he claimed it (and didn't finish) and then sends it to leaf
they talked about it already
how does someone just "claim" it
you claim that you work on it
is it because a pr was opened?
proper encryption support too afaik
configuration is confusing as fuck though
so eh, clover is still easier
I may just be blissfully ignorant, but I honestly can't see why a boot loader needs to be any more simple or advanced than having the capability of pointing out where to find system files when loading up xD
it has to load kexts / other hackintosh specific stuff
kexts are specific
e.g. these are the settings alone for your opencore bootloader
to enable filevault (encryption)
I can never find Spongebob memes
i'm just waiting for apple to release amd macs
But does the boot loader actually load the kexts or does it just place them where they need to be when the operating system spins up?
is it because a pr was opened?
@slim nymph yes, and you cant unclaim it (or its extremely well hidden)
Yeah but kernel modules have APIs as well.
"e. And with its custom prelinker, kext injection becomes macOS version agnostic meaning day 1 support on any macOS version supporting a prelinked kernel."
kext injection black magic
opencore has a lot of kexts built in though
which makes it even easier
k, i thought bounty just let anyone claim it lol
It doesn't sound like it does much more than just place them where they need to be placed for macOS to read them in.
it does a lot of black magic
I mean that's what happens eventually anyway. The kext is just a module that hooks into the kernel, so it just needs to "follow the spec", same as any other kind of kernel module. If anything, I imagine the black magic is about some form of signing moreso than altering the OS.
luckily it's opensource
feel free to take a look

Yeah so it looks like it's very much an effort to reduce the amount of "assembly" needed moreso than anything. Which is definitely good.
Seems like it's the same folks that worked out Lilu, which is just an "extended API" of sorts for kexts.
U guys know a developer called vaxcine or something like that?
Yeah that was his name
what about him
I remember him
aaaaand
He made a crazy plugin that I've never seen before
It was phasing between servers
You just walked into another server without noticing it
sounds like sharding
ye
game didn't even twitch once?
Maybe for like half a second
i've seen solutions sending respawn packet to same dim to transfer player between servers
sounds like so
not very hard to pull off
sounds very hacky though
it works if you have identical worlds
if you don't then f
It was one world but slit into different servers
clients will see corrupted world in long distance
Well it was just insane. Wonder what he does nowdays
sad part is that this requires entity meta rewriting
thus more load on proxy
bungee is doing that by def and probs will never get rid of it
but forks of it & at least one alternative doesn't
what fork
wouldn't that break a lot of shit though?
it breaks tablist
figured
respawn with same dim is dangerous
e.g BTLP
client doesn't invalidate shit
since 1.8 sending join packet again to client is sufficient tho
or w.e it was
mad experiment
what kinda works
but you have to work for it
hm so fish have their own mob category
@slim nymph would TC still work if I want to chain multiple prompts, not conversations?
you can chain anything you want
your in control of when it moves
i use TC to teleport players out of world, delete worlds, recreate them, pregen a bunch of chunks, paste a schematic, create plot(regions), set flags,, tell players they can now enter, all across a couple minute span
nice ๐ so would I use a FutureTask? I'm still not sure what I should pass onto the prompt :S
right, and how would I add the prompts in the chain?
its the bukkit conversation api
open prompt, on prompt completion, mark future complete
(d/chain varargs-of-deferred-funcs-or-raw...) -> deferred
and then the future would move the chain right?
yes
๐ I think I got it now lmao. Thanks
then your next task asks the next thing
you can also store each answer as Task Data on the chain
so your final step can combine it all
oo nice ๐
ive never used conversations, if theres any way to abort the input, just call TaskChain.abortChain()
tbh task chains are probably way better than completablefutures
in context of mc it is a simpler to understand api
do you print uncaught exceptions? 
yes there is an uncaught exception handler
already 200x better
lol cf-s not dealing with uncaught exceptions is very retarded
though if you jump into futures, controls been passed to you, so if you then forget to catch it on your future, then your back at that lol.
it's caused a couple of really dumb issues to be hard to debug
there are going to be more too which is always ๐ฏ
and using futures for scheduling a task for main just looks so wrong
having to use .supplyAsync() to go SYNC
in futures mindset its not wrong lol
it is async to the current thread
not always async to current thread :>
but in a minecraft concept, its so confusing
supplyTo works a lot better
so what was this about: https://github.com/PaperMC/Paper/commit/5ca5f131bb107ec99ef123c79a7765abc7e849a5
we changed how patches are formatted
hopefully less noise in the future
and that commit rebuilds them
still bit confused on how patches actually work tbh
@slim nymph mhm I dont think I'm gonna be able to use TC here :/
The problem is:
Say there are 3 prompts: promp1, prompt2, prompt3
prompt1 defines what the next prompt is (lets say it would be prompt2).
then prompt2 would decide what its next prompt is.
I would have no way to set the next prompt in the task :/
I think I might stop using bukkit's conversation api and make my own that uses task chains
Is it because everything is 00000 now?
mhm but I would need to return the next prompt in a task.
the Prompt class has a method acceptValidatedInput that processes the input and returns another Prompt
So I would need to get the next Prompt instance from the chain
TaskChain<?> chain = TaskChain.newChain();
chain
.syncFirstFuture(() -> openPrompt1(player))
.syncFuture((firstResponse) {
chain.setTaskData("first", firstResponse);
if (firstResponse.equals("foo")) {
return open2ndFooPrompt(player);
} else {
return open2ndOtherPrompt(player);
}
})
.syncLastFuture((secondResponse) -> {
chain.setTaskData("2nd", secondResponse);
do more stuff
}).execute();
where each prompt creates a CompletableFuture and returns it
return the prompt itself if you want
doesnt matter what the futures returns
so when .acceptValidatedInput is returned, complete future with the returned result if thats what you need
ok I think I got it now, thank you again ๐
yes zbk
any of y'all from texas?
@slim nymph in your example, would the first future get the result of the second future?
Or would it be the other way around: the second future gets the result of the first?
can anyone guess why my tps is going down? https://timings.aikar.co/?id=be795481ab9340d1889016a2ed9775b3 just updated citizens, holograhic placeholers, and a couple others...
Aikar's Timings Viewer - View Timings v2 reports from Paper and Sponge
@tepid edge where's my pizza
if its the latter, I wouldnt be able to use this with bukkit's conversation api.
The first prompt needs an instance of the next prompt. I dont have much control due to how the conversation api is implemented
I cant open the next prompt after the first has finished
you CAN use it, c can do literally anything
its just making sure you get the logic correct
it looks like acceptValidatedInput returns self
hey zAikar would you happen to know off the top of your head where I could start looking for creating a custom entity in 1.15
frostalf sent me this example of how it works: https://github.com/frostalf/ServerTutorial/blob/master/ServerTutorial/src/main/java/pw/hwk/tutorial/conversation/ViewConversation.java
hmm, well looking in this more, im not sure you even need TC, it looks like the framework for progressing to next prompts is there for you?
it is there, its just that it gets really weird
for example instead of being able to do
.addPrompt(foo1)
.addPrompt(foo2)
.addPrompt(foo3), and then it would send the prompts sequentially
you can only set the first prompt
and then you have to go to the first prompt and return the next one
you could use a wrapper that you put each in a queue, and then each prompt returns queue.pop || END_OF_CONV
๐ฎ thats a good idea
gonna try it out tomorrow cause its getting late. thanks for the help ๐
oh wow, discord has discord.com now for the webclient Oo
@jagged egret Here you are gentleman, A nice and fresh pizza
to find out that we have discord?
nice :D
@spare venture ok I submitted some shit for that bountysource
also mfw you actually created a team call paperspigot
@<Spottedleaf [Auto] We're now known as Paper.
@cosmic raft your bot is retarded ^
paperspigot
@<broccolai [Auto] We're now known as Paper.

there should be a way to accept it somewhere
maybe it's just available to repo owners or something?
god, bountysource is so broken. can't even log in -.-
not it worked
*now
god damn Ill just send him $90 if itll make bountysource less crap
Ez taco money
Give me his addresses I will shower him with tacos
gitcoin.co is a cool bountysource alternative btw ;D
can't even get bountysource to register my wallet address -.-
I think bountysource has to recognize the issue was closed
might take an ancient millennia or two
I guess this is what happens when they can't take a cut of the bounty
they can't afford to do it right 
I mean, they are effectively stealing tons of bounties so I guess they have "some" money ;)
issuehunt issuehunt seems to be a better alternative if you don't want to only use crypto btw
meh, double words :S
somebody tired? ^^
I just don't read what I type again ยฏ_(ใ)_/ยฏ
is there an exploit to not be ebanned?
banned*
/banip or any ban command does nothing
You seem to have a lot of issues.
are you running offline server?
they can easily change UUID to rejoin with a VPN if that's the case
running an offline server is worse than running a factions server
how about a 1.8 faction pvp server on offline mode? 
god, I hate that someone brought up bountysource... that made me realise that I have a bounty to claim but can't due to their site being buggy :S
:(
:/
It is not offline
So @spare venture the hold up with that is none of us actually own it. I believe Trent has reached out to Zripps to see if he'd be giving us a copy of the plug-in to do development with because his "API" from what I've been told is literally just the plugin without any logic in it.
I can confirm a project has been started for a converter but it's not at a testing phase due to the reasoning above.
skript issue
Into the ๐๏ธ it goes
โHey can we get a copy of your paid plugin so we can add a system to help people migrate away from it to ours?โ
I can tell you how thatโs going to go ๐
Shoot me a FR
Yeah that's what we expect, Z.
But it's a weekly asked question at this point.
yeah, the API is just a stripped plugin jar xD
(which somehow makes the code quality better)
Bruh #paper-github
I hate ppl who do replaceAll
"What behaviour is expected: Server Error" 
What's your proper approach to doing replaces of a bunch of different placeholder stuff in a single message?
I suggest pre-compiling the patterns though if you are going to do that often
That's what I figured. I've heard some interesting approaches.
yeah xD
they think replace is replaceFirst
See that's where I did an oopsie. Since I use so much in my project, I have the same placeholder patterns returning different data. For example in one message {name} might be the player running the command while in another command I used {name} for the name of the group they are in.
I just pass the replacements in a method. like replace("my message %name%", "name", player.getName())
and have the last argument of replace be a vararg ยฏ_(ใ)_/ยฏ
yep
Then again most of this was a few years ago so I didn't know a lot at the time. Is there anything I can read up on that you suggest for precompiling stuff? I know that StringUtils#replace is supposedly faster because it doesn't do regex checking.
thats that I do too
(or a map, depending on situation)
I mean you can make it way more complex too: https://github.com/Phoenix616/MineDown/blob/master/src/main/java/de/themoep/minedown/Replacer.java xD
I just ignore odd placeholder armounts, lol. and just check i + 1 < length
oh wait, I actually don't 
Interesting
Yeah I haven't actually noticed any issues with placeholder replacements and I probably won't do any significant changes unless someone shows me it is causing lag for them
(btw. that replacer class can do in-compoment replacements if anyone ever needed that, lol)
oh god
am happy with minimessage where I can just deal with plain strings
and then shove it into the player at the last possible time
and if needed, I can just translate back into string
So how does replacements work? I see it's static and you treat it as a cache but how does it know what to replace with what? Is %name% always the players name?
the static map is just to cache the patterns of the placeholders
Ahh okay

Lol
Yeah if I did a lot more with patterns then maybe
Fucking skinsrestorer lol
btw Mini, even String#replace(CharSequence, CharSequance) does use regex internally. it just doesn't support regex input
I would've closed the issue purely on the fact they allow pirated clients.
skript is worse than piracy tbh 
so no real difference to replaceAll (beyond errors due to accidental regex input)
Yeah I saw someone saying that was slow so that's why they use StringUtils#replace
ppl be duum
skript is worse than piracy tbh :worksonmymachine:
this
imo the Pattern class should just have a cache for the compiled patterns but ยฏ_(ใ)_/ยฏ
maybe I should write a PR to java or something, lol
Mikro ur avatar is me rn
Cumbusting
cum busting
Is that when a ghostbuster busts a horny ghost

ignores the blatantly terrible typo
I feel like it's intentional now
Unless that's why the SS and messagemeant
there isn't
best way to do that is prob the command event
and check if the executor has op perms
not sure where to ask this. but here goes. Does anyone have any knowledge or experience changing the JVM flags for a server being hosted by MultiCraft? It is a modded 1.12.2 server using sponge. I realize its a different platform, but under the impression that changing or adding JVM flags is the same.
bruh you asking about multicraft and sponge
we kinda despise multicraft for teh most part XD and sponge is obviously something else, but I'll see what I can find
its google
ik ik
calm ur nipples
im chill
ive been googling for days
.g multicraft server configuration
(DiscordBot) https://www.multicraft.org/site/docs/howto -- The Minecraft Hosting Solution - How-To's - Multicraft: "How do I get FTP access to my server? Accepting the Minecraft EULA. For individual servers; For server providers. Example 1 - Add a config file..."
Multicraft: The most popular Minecraft server admin control panel and hosting solution
followup question, why is multicraft despised for the most part?
looks like you'd have to change the builtin:start script
[start]
command = "{JAVA}" -Xmx{MAX_MEMORY}M -Xms{START_MEMORY}M -XX:MaxPermSize=128M -Djline.terminal=jline.UnsupportedTerminal -jar "{JAR}" nogui
you'll see that section inside multicraft server config
replace the flags
that's it
- it's a web pannel, 2. it tends to be used by shitty hosts 3. pterodactyl exists
pterodactyl is even worse at times
how so
also 4. it apaprently has some very strange design decisions and bugs but I never used it so ยฏ_(ใ)_/ยฏ
asking for a friend, what is pterodactyl
ptero's console is super meh
no decent way to reference one server from another
in ideal you'd simply refer to internal dns/ip addresses if you set up a network
instead of binding a port to arbitrary ip on host
most bind ptero container ports to pterodactyl0
but heck, even then you have to look up the ip for it and set it up yourself; as if it was never intended for using that way
you just need to set it up
feels like completely half assed solution to me
once you set it up like you like its a breeze
im excited for the 1.0
it has a bunch of nice things
and the whole redesign
was a long time coming
so does my replacement 
uhhhh what was that rust thingy for....
vscode
rust-... something
as a replacement for rls/racer
ah, rust-analyzer
OMg gUys IT'z SkEppY!!1
omg I love skippy
who
good question
.g skeppy
(DiscordBot) https://www.youtube.com/channel/UCzMjRlKVO9XIqH_crIFpi6w -- Skeppy - YouTube: "Skeppy - friendly and fun gaming content! :D I pretty much upload content such as Minecraft Trolling, Minecraft Hypixel and other Minecraft maps and..."
ok
o
@ancient bolt how's clion for rust
i'm struggling here with emacs and honestly i wanna die
shit breaks into weird dimensions
and i don't want to hop on premade config where everything works
its good
any oddities you've discovered? does the completion work like it'd work with e.g java?
most annoying issue I have right now is it doesn't properly mark variables as used right if it's used in a custom macro
at least it usually doesn't
completion works very well
except for times when I can't find the dependency
epic, time to download clion again
but it knows that it doesn't know 100% like the compiler does so it doesn't label unknown types as errors
so you can just sort of work around it
like right now this file I'm using the RawFd even though clion can't find it
but I don't have to deal with annoying errors or w/e
for the most part these issues only come up with OS-specific types
aha
that's what i was about to say lol
btw any experience with unix sockets + http?
i discovered hyper and someone made crate named hyperlocal
which adds uds support for hyper
let socket_desc = socket(
AddressFamily::Unix,
SockType::Stream,
SockFlag::empty(),
None,
);
let socket_desc: RawFd = handle_managed_syscall!(int, env, socket_desc);
intellij-rust is marking the first socket_desc as unused even though it's used in the handle_managed_syscall macro
but i wasn't able to set permissions for it
which is imo very important
didn't see a clear way for that
and honestly hyper seems too low level for me
I'm interacting with unix sockets directly right now
like I'm working with syscalls
i basically need http rest over uds
you went that low
that's ok for your use case probably yeah
but something higher level?
yeah something higher level would be cool, but I don't have experience there
dang
for simple stuff syscalls can be really simple
kek unless they're winblows syscalls
but when you need to get more complex having some abstracts on top can help
i'll be basically managing zfs datasets & snapshots
I like the idea of extremely simple protocols for this
so right now my protocol is literally
does it include syn and ack
<message type|8 bytes><message length|8 bytes><message|utf-8 string>
not for a local unix socket lol
those are irrelevant for uds anyway
uds is pretty reliable
basically pipe() on drugs
maybe you can use a varint for message length/type
but I guess for strings it's not really any overhead is there
that's what it looks like right now
the message will just be JSON
we're talking about messages on the order of 50 bytes lol
yeah I guess json overhead is a lot bigger
(DiscordBot) https://cbor.io/impls.html -- CBOR โ Concise Binary Object Representation |...: "Java. A Java implementation as part of the popular Jackson JSON library is at: ... JACOB, a small CBOR encoder and decoder implemented in plain Java..."
.g gson cbor
(DiscordBot) https://github.com/bnclabs/gson -- bnclabs/gson: Algorithms on data formats - JSON, CBOR ... -...: "Value (aka gson). Golang object parsed from JSON, CBOR or collate representation. JSON arrays are represented in golang as []interface{} . JSON..."
for fun
ah jackson does cbor
let's just shade in another * serialization framework
fuck it
runs
passing a string from java to rust via JNI is also easier than binary data
lots of reasons to not fuck with it
why isnt ur name markroskeem @void void
don't ping project devs for no reason
Ff7 remake was way better than I thought it would be
did someone just get banned
Someone getting banned is not a noteworthy event when you consider how popular this discord is
~limbo uptime
Uptime: 4 days, 23 hours, 43 minutes, 49 seconds
how long normally does it take paper to update after spigot
just trying to prove a point to a buddy
yeah or in the past
im arguing with him saying we shouldnt have plugins that relay on paper for when 1.16 comes out but I think paper is pretty quick witht he updates after spigot
yeah i agree plus nice timings
Thoughts on making plugin paper exclusive even if they dont use any paper exclusive api

paper only, it will break on forks too
^^
yuh
oh heres a great idea
it checks if the paper build is latest and if not it randomly crashes the server
Timings will tell you that whenever Aikar finished my PR. I can try and finish it in about 2 weeks otherwise.
Why the hell would you disable the player move event?
muh performance
Disable server
Disable chunk generation
isclientside = true
Disable loading nearby chunks
Hey guys I set up a minevraft servrr can u join and help me to set it up the ip is 127.0.0.1
first I need your public ip
when did kick turn into barty
use google to find that
and then i will need your router username and password
paste it right here so everyone can see it /s
assuming remote control is enabled
he doesn't know that comcast cucks your router and requires you to do everything through their site
oofers
imagine not immediately putting your modem into bridge mode and using an aftermarket router
I could get twice as fast internet for half the price if it wasn't for comcast and buying out areas here
Google says it's 66.254.114.41 and the password is admin
๐ starlink
tfw Comcast hasn't found out that you rooted their router
@slow hull can your router play MC or crysis?
wait just run a server on your router 
It runs Shadow of the Tomb Raider 8k @ 150 fps
root your router so you can install a web browser to change settings from the comcast website
big brain
Honestly the only interesting thing about it is that it runs PHP 5 on a really outdated Lighttpd instance
Can't mess with DOCSIS or anything fun like that
(DiscordBot) https://learnbchs.org/ -- BCHS Stack: "Mar 25, 2018 ... BSD, C, httpd, SQLite: an open software stack for web applications."
that's chad race stack
someone help me? totem of undying is not woking :((
and i don't know how to fix it

also try reproducing without plugins
if it doesn't happen without plugins
do a binary search
.remind
[-d] [-w <who>] <when> <message...>
.remind 7h TIME
DiscordBot: Reminder set for 7 hours from now.
@void void so there's a setting in intellij-rust to enable the "Experimental" macro expander
takes a little longer to index but fixes all the issues I was having earlier
both highlights both as used correctly and shows the type correctly
don't worry it's worth it
great that they added this preset finally
only useful preset in the end kek
ye that got rid of few warnings i had here as well
omg it fixed some of my nix enum flags which were defined in macros as well
dope
still not aware of the MsgFlags::empty() function
inb4 invalidate caches/restart will solve it
I won't both until this project is back in a compilable state
which it won't be in for a while
i'd replace osx with linux if this hardware ran linux properly :/
I'm more than happy with macOS on my macbook and linux on my desktop
honestly i've been thinking
there's this hack
that'd make mbp more usable for me
i don't like always-on amd gpu which will drain my battery pretty quickly
@heady spear rip
Hi,
I'm looking for help for one of my server. Some players are randomly undergoing unwanted teleportation to two different locations. I find nothing in the logs, the issue don't seam to be replicable. It's appears to be random.
Plugin's list
Maybe some one saw this issue in the past, i'm sure paper is not culpable but as there are experienced people there, i try
remove half, see if it works
Yes i know but my problem is that the bug is occuring randomly one or two times a day ... Not very practical for debuging.
good luck
@cosmic raft rip what?
ayy sup,
is there a way to load and use that ruby texture that's still in the game files without needing a resource pack?
hugs @heady spear
no d3d
:/ I suppose I need a model for that
broken how?
just use bintray/own nexus and manually publish
.flags
Optimized & Recommended JVM Startup Flags: https://mcflags.emc.gs
@olive marlin
ok that was aids
sec
https://hasteb.in/uramajof.bash @olive marlin
this is supposed to take var1, 2 & 3 and print it out nicely next to each other
for some reason var3 is on it's own line
printf "%s %s %s\n" "${var1[i]}" "${var2[i]}" "${var3[i]}"
printf when the arguments overflow, it executes the template again.
Also might want to use readarray / mapfile to construct the array - otherwise it'll split on IFS so both spaces and newlines.
x=( $( echo -e 'one two three\nfour') ) will have four entries, instead of 2.
I always use set -euo pipefail for all scripts, but you'd need to get used to it a bit that it'll try to protect you from stupidity and handle exceptions ๐
i'm trying to get the duration of each command's execution time
and display it as the time in HH:MM:ss format like in the screenshot
i can retrieve timestamps from the log when the command is executed
i'm not entirely sure how i'm going to do it though
Sed?
oh i can get the timestamp that's not the problem i already have that in the screenshot
i only want to know how long it took
instead of the time when it started
the first one started at 01:34:26
the second one started at 01:34:29
so the first one took 3 seconds
any idea what i could do here? @olive marlin
Sec - trying it ๐
lit
i also have the end_time as a variable that i can use for the last one
e.g. time completed in the screenshot https://cdn.discordapp.com/attachments/555469074080202765/707923847311261817/unknown.png
which would be probably necessary to calculate the last target
What I'd do:
before loop do var3+=( end_time )
and in loop start="$(date -d "${var3[i]}" +%s )"; end="$(date -d "${var3[i+1]}" +%s)";
Now you have it in Unix epoch.
lit
Just use var3 with dates included - otherwise it might get funny around midnight as if it gets only time, it assumes current date.
lol @slim nymph really?
@olive marlin hmm having trouble understanding what you mean
since var3 would replace the var i already have
It'd probably have var3 have format like 2020-05-07T01:34:26.
And then only when you display it, do:
printf "%s %s %s\n" "${var1[i]}" "${var2[i]}" "${var3[i]//*T/}"
This way you won't have issues with using date around midnight, and you can still print it how you wanted.
the code you sent doesn't make sense to me
i'm trying to get the duration of how long each command took
var3+=($( end_time ))
Yup - add end_time at the end of array.
without $()
so var3+=( "${end_time}" ), sorry.
is += an extension to the previous variable or something?
var3=($(echo "$TARGET_DURATIONS_SUCCESS" | awk 'NF'))
var3+=( "${end_time}" )```
Yup. It's equal to var3=( "${var3[@]}" "${end_time}" ), but a bit faster.
You want to replace start time with the seconds it took?
the output i'd want basically
is:
โขโโโus-va-c01.iptables.sh 35M 00:00:03
โขโโโus-va-c01.iptables.sh 0 00:00:02
โขโโโus-va-c01.iptables.sh 0 00:00:02
Then elapsed="$( date -d "@$(( end - start ))" +"%H:%M:%S")"
name yo variables
Something like this.
oh that's getting there
for the last one though, i'd need to use my $END_TIME variable
@twin lagoon Not if you do var3+=( "${END_TIME}" ).
Then it's the same logic for all of them.
big brain
@olive marlin 
now, for some reason it's saying it took 1 hour
the seconds are right though
pass --utc flag to the last date command?
00:00:00 UTC
OMG
I got:
date -d "@$((end - start))" --utc +%H:%M:%S
00:00:03
xD







