#general

3141 messages · Page 1100 of 4

worn ember
#

ah yes the zero vm

#

very bad

#

big nono

minor badge
#

its not really viable to do that without something like kotlin coroutines, toshi

void void
#

but it works

minor badge
#

taskchain is doing a great job, though id love it even more if we could be given a map of sorts automatically, but ig thats just my preferences

#

does it though?

void void
#

try it urself

#

it work

#

s

minor badge
#

does bukkit recognise it as main thread?

void void
#

i just modified Minecraft serverThread instance during an execution of a sync task

#

so it does

minor badge
#

concerning...

void void
#

ik but it's the only way

#

if no problems occur it's okay

worn ember
#

if no problems occur it's okay
@void void famous last words

void void
#

that's why im asking to test 😦

minor badge
#

that doesnt make it viable

void void
#

i need more examples

minor badge
#

rather unsound tbh

void void
#

the main thread is blocked

#

what's the problem

#

sorry but i don't understand

worn ember
#

proxi just reeeing again KEKW

golden gust
#

wat

minor badge
#

it is unsound; a library shouldnt depend on internals of any kind to "make it work and be good"

vernal moth
#

It was my suggesting to reflect the main thread instance to fool the async catcher 😂

#

It's just the async catcher proxi

minor badge
#

still, not a good idea

void void
#

it is unsound; a library shouldnt depend on internals of any kind to "make it work and be good"
@minor badge N M S

vernal moth
#

It thinks there is stuff accessing async when it really isn't, since main is blocked

#

Idk, I wouldn't have an issue running this in prod

ancient bolt
#

the charging brick on the new macbook air is so tiny

minor badge
#

though java doesnt make it possible to do it any way afaik, needs compiler help for that (yay, kotlin)

ancient bolt
#

actually really cool how small everything is considering how powerful the machine is

#

also no fans

#

god it's dope

worn ember
#

did itcome with the macbook ear?

#

air

vernal moth
#

Actually, I thought before of including what toshi did into paper

#

Then it would be supportable

worn ember
golden gust
#

blocking the main thread to run tasks is generally dumb

#

Are you blocking the main thread in a sane place where it's actually safe to run arbitary tasks?

#

Not to mention, why not just ditch the overheads of doing that and the potential issues that might cause and just run it on the main thread?

void void
#

overhead can be ignored

#

it's too little

vernal moth
#

The idea is that you skip all the pain of taskchain

void void
#

I haven't found "potential issues" after the update

vernal moth
#

And can switch context with just a method call

void void
#

that's why im testing rn

vernal moth
#

Instead of dealing with futures or callbacks and shit

void void
#

I wish Java had context switch API ;w;

golden gust
#

Where do you block the main thread?

vernal moth
#

To execute something on "main"

golden gust
#

Yea, but where

vernal moth
#

You block main and let the task thread execute

golden gust
#

is it done pre-tick? arbitary interupt?

visual egret
#

These should be running Ubuntu server by the end of today :)

void void
#

it's just ReentrantLock

#
        try {
            for (TaskAdapter adapter : sorted) {
                setServerThread(adapter.getThread());
                long free = System.currentTimeMillis() - last;
                adapter.tick(free);
            }
        } catch (Exception e) {
            e.printStackTrace();
            Bukkit.getLogger().log(Level.SEVERE, "Could not change ServerThread probably because Minecraft version is incompatible");
            Bukkit.getPluginManager().disablePlugin(plugin);
        } finally {
            try {
                setServerThread(serverThread);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
        last = System.currentTimeMillis();```
golden gust
#

Not what I was asking

tulip inlet
#

its done in a scheduler task

golden gust
#

is what I was asking

#

which is dumb

minor badge
#

the safest way id imagine it be possible is to run a task on the main thread which first completes a future, then joins another; the first future will be joined from the task thread and then reflect main thread, and finally complete future again

golden gust
#

You're hijacking the caller when you could just tell it to run there?

minor badge
#

unless of course im misunderstanding the entire lib

void void
#

I just don't want future/premise

#

that's why i invented this

minor badge
#

then you could be stopping it in the middle of a tick?

#

remove an entity mid entity ticking, i dare you

golden gust
#

they're doing it in the scheduler

#

they're just bastardizing it

minor badge
#

also paper has tick events afaik

void void
#

ok

#

Imma test it rn

minor badge
#

so should be possible to listen to those instead of scheduler

void void
#

removing entity

minor badge
#

if youre actually using the scheduler, itll be safe

#

thats what i wanted to point out: use the scheduler, dont interrupt the thread or anything as i thought cat said you did

golden gust
#

Only "pro", i can see of something like this is allowing tasks to say that they only wanna execute for Y

#

But, hard-kill of the task is dangerous, e.g. you interrupt mid collection modification, etc, you now have a corrupted collection

minor badge
olive marlin
#

How old is she/he?

minor badge
#

he is 18, a few months older than me

void void
#

I have to rewrite them all to make it work ;_;

#

pay for the library

#

imma work on it tmmr

waxen panther
#

now this is cursed

golden gust
#

if your sole reason for replacing the serverThread is so you can run off main and execute the work with a cooldown, just reverse it, have a thread capable of interupting the task running on main, just, make sure that it can't spill over, etc

void void
#

btw is there any library like that

public class TestCommand {

  @Sender
  Player sender;

  @Parameter
  Player player;

  public void run() {
    sender.sendMessge("Hello, " + player.getName());
  }
}```
golden gust
#

Lombok, manifest, but

#

.lombok

limber knotBOT
#

[03:01:27] <gabizou> fuck you and the lombok horse you rode in on

minor badge
#

uh no

golden gust
#

not exactly like that, however

minor badge
#

theres ACF, cloud, and many more

golden gust
#

if you wanted custom annotations, you'd need custom injection

minor badge
#

as cat said, but theyve got the same premise if you just want a command

void void
#

i already made one but tab completion is so annoying

#

so i wanted one which already exists if there is

minor badge
#

cloud, ACF, and more

worn ember
#

Poop

void void
#

ACF is nice

#

thanks

limber knotBOT
#

I hear async

stiff yarrow
#

Did someone mention Lombok nossrptsd

cosmic raft
#

.lombok

limber knotBOT
#

[03:01:27] <gabizou> fuck you and the lombok horse you rode in on

vernal moth
#

Ok wtf

#

So there's a corona party going on next door

#

Sounds like 4 ppl plus ppl on the other side of a webcam too

#

So no problem

limber knotBOT
#

go tell 'em minidigger

vernal moth
#

I just finished my movie, turned off my Tv and the song I hear is "I just had sex" by thelonelyisland

#

Should I be concerned? 😂

limber knotBOT
#

ah ok sounds like dummies

#

100% approval to go full karen on 'em

#

I had a logger in here initially so I thought that was causing it, but I've removed all forms of logging in the ChunkGenerator and, well, still stackoverflow

vernal moth
#

For that I would have to leave my bed, leave my house, go around the corner and find out which bell to ring

#

Sounds like effort

#

And I don't care anyways

limber knotBOT
#

guess for now I just won't call createVanillaChunkData

blissful geyser
#

should i go 5600x or 3700x?

#

they r same price

twin lagoon
#

5600 beats the 3700

#

lul

blissful geyser
#

ya ill wait for it to get back in stock then

olive marlin
#

Apart from RTX and Nvidia jazz.

ashen cliff
#

:tinfoilhat:

vernal moth
#

RoboMWM there's an open issue for that that I have been meaning to look at

limber knotBOT
#

o

sinful sorrel
#

Anyone see McProHosting's new Minecraft plans yet? They're, uh... something

twin lagoon
#

.g mcprohosting

limber knotBOT
#

(DiscordBot) https://mcprohosting.com/ -- MCProHosting: Home: "MCProHosting is the World leader in game server hosting."

MCProHosting

MCProHosting is the World leader in game server hosting.

twin lagoon
#

god their site is cancer

#

i can't even tell what changed

ashen cliff
#

8$/GB.

#

Bruh.

twin lagoon
left swift
#

Lmao

twin lagoon
#

ngl still want to try hosting a proxy

left swift
#

1gb for 25 slots thonk

ashen cliff
#

Throw a 1k Bungee on that.

sinful sorrel
#

Yeah that's the new one

left swift
#

Only

#

Is that ranked over herobrine

#

That would be the biggest tradgey

twin lagoon
#

i wonder if there's some fair use policy on that shield

#

lmao

ashen cliff
#

Let's hope not.

#

Hetzner.

left swift
#

If it ain't a pi krusic ain't buying

ashen cliff
#

I'm using Hetzner. kekwhyper

golden gust
#

I mean

ashen cliff
#

Since I don't care about the DoS protection, but I do like complaining about it.

twin lagoon
#

While we offer unlimited bandwidth and space to our customers we reserve the right to remove excessive file(s) such as large logs, redundant backups, or other files that may impact the node. This policy is in place to protect our users, since full disks (SSDs) can, and will, cause corruption of many files on the drive.

golden gust
#

The people paying for that stuff are basically willing to be ripped off

#

it generally screams that aspects like "how to manage a dedi", is not really within their skill sets

ashen cliff
#

Or realms.

golden gust
#

32G of ram is moronic as no singular server should ever need that much, however...

ashen cliff
#

Just stick to realms kids.

golden gust
#

realms is too limited for some

#

e.g. no ability to have something like CO

ashen cliff
#

As if they are going to install plugins, let alone know how to use them.

#

Instant install.

#

Anything that says "anti lag".

#

Instant.

#

ProtocolSupport + ViaVersion on Spigot.

#

And AuthMe for that fully working 2FA.

#

We have another SLO server doing stupid stuff, wasting peoples money, by doing map resets every week without warning.

halcyon marten
#

Says mr lock your devs in a basement

ashen cliff
#

At least you get a basement.

#

And unlikely everyone else there, we have daily backups.

#

Currently, I have nothing to post.

#

Wanted to post a summary of our lan party events, but we already have that posted on the main page.

#

The MariaDB tuning is also in the works... for some time.
There is also the UPS modding thing... sadly it's stuck atm.

visual egret
#

I have an implementation of this in screen. Anyone know how to implement it with tmux?

#

or is there a better way to do it

ashen cliff
#

Daemons.

minor badge
#

youll be thrilled to learn of dockers existence

novel horizon
#

or use something like pterodactyl

ashen cliff
#

So Docker?

visual egret
#

ohh

#

thanks

novel horizon
#

yeah, but not just docker ^^

#

you could use just docker itself

visual egret
#

that looks really cool

golden gust
#

The guy was tryna run manjaro because he thought it would be mega faster

#

am not really sure people should be suggesting stuff like docker...

ashen cliff
#

Should have ran ClearLinux. It's actually faster.

visual egret
#

no i wasnt?

twin lagoon
#

at computer start

visual egret
#

i was testing arch vs ubuntu

golden gust
#

Okay, arch then.

ashen cliff
#

ClearLinux or 🚪.

visual egret
#

trust me im not that dumb but i kinda am not smart thonk

novel horizon
#

Is using a cname dns for redirecting www to non www a "proper" way to do that?

twin lagoon
#

imo no

novel horizon
#

is it better to just let nginx handle it or so?

twin lagoon
#

yes

ashen cliff
#

Never trust the DNS.

#

It's always DNS.

novel horizon
#

do you have any reason not to use cname? is there some con for that?

#

lol ^^

#

I have a cname now and works, but I was wondering if I just let nginx handle it and redirect www to nonwww 🤔

ashen cliff
#

You should.

#

Since cname won't redirect.

novel horizon
#

I'll just delete it and try to use nginx

limber knotBOT
#

hmm

golden gust
#

DNS doesn't redirect

#

Now, some DNS providers do offer a service which will "faux" that being a DNS thing

#

but, generally you do the redirect on the actual web server

limber knotBOT
#

stackoverflow does not occur if I haven't unloaded/loaded world via mv load

#

interesting

#

also, did someone say antilag?

novel horizon
#

hmm, alright ^^ Also, an A record - should that be *.domain.com ? or is domain.com enough? 🤔

#

I'm using both now

limber knotBOT
#

that's two different things

novel horizon
#

Just making sure, I'm using both now, is that a proper way?

ashen cliff
#

Both are needed in your case.

limber knotBOT
#

there was something on cname flattening

ashen cliff
limber knotBOT
#

can't recall, but has to do with official protocols n stuff

novel horizon
#

I'm remaking some things and cleaning nginx etc.. so I'm making sure I do it correctly etc ^^

ashen cliff
#

doNotDisable.add("PlugMan");

#

My man.

limber knotBOT
#

keep reading lol

#

I do more

#

with him

ashen cliff
#

All I needed to see.

limber knotBOT
#

plugin.dispatchCommand("plugman unload " + pluginName);

#

gotta make sure they're purged as much as possible

ashen cliff
#

A man of culture.

limber knotBOT
#

didn't feel like making a script to mv jars

ashen cliff
#

I assume you are also running Shevs Bungee plugin manager? kekwhyper

limber knotBOT
#

so I did that instead

#

no proxy 4 me

ashen cliff
#

Sad.

#

Live reloading Geyser.

limber knotBOT
#

I did a proxy once to have it wake server (plugin is AzureSaver if u wanna c dat)

#

but I didn't feel like maintaining yet another thing, so I'm doing this, plus protocolsupport (and will add geyser soon)

ashen cliff
#

Might look at it one day. We were planning on providing servers for player, but that idea fell thru since people have too much money.

novel horizon
#

Is there a way to redirect www to non www using a default config? I know I could use just server_name www.domain.com domain.com with return 301, I think, but is there any wildcard or so that will just redirect all sub/domains to non www? 🤔

golden gust
#

Yes, you could just add a redirect in your default

#

The server should basically prefer any matching server config over the default one

#

But, depends on the server as to how well that actually works 🤷‍♂️

limber knotBOT
#

hmm, or maybe that was an anomaly, stackoverflowerror is gone, maybe it's not in a vanilla region anymore

#

o nvm, there it is just now

#

yup, so it only does stackoverflowerror if the world is loaded in after a server start I guess

novel horizon
#

hmm I'm still not sure.. about redirecting www to non www in the default file, so it will leave the original url, I'm using

    listen 80 default_server;
    listen [::]:80 default_server;
    server_name _;
    return 301 https://$host$request_uri;

but I'm not sure how to define the address to not contain www 🤔 for all subdomains

#

I could just make it in each subdomain separately

#

which I will probably do 😄

proud inlet
#

Does anyone use zsh and know why i get % symbol when something executes? 😄

#

its a bit annoying

#

ah it has to do with PROMPT_CR

ashen cliff
#

🤔 I still have to finish that PWM inverter.

golden gust
#

just, make sure to grab a cheap pink usb charger, from china

visual egret
#
Allow: /folder/index.html
Disallow: /folder/*
``` would this work in a robots.txt file?
worn crest
#

I get it down from 3,7% to 2,4% with the Paper and Waterfall-Change 😄 👍

visual egret
#

helllp

#

my computer is having a heart attack

#

i can hear static and the thing is lagging

#

im going to restart

limber knotBOT
#

don't think ive heard a computer make a static noice

#

noise*

ashen cliff
#

Might just be hardcore coil whine.

stiff yarrow
#

I forgot all about coil whine until your comment just now

ashen cliff
#

I have to live with it.

#

From 120 FPS to 275 FPS I can hear.
Then anything above 500 FPS starts it again.
kekwhyper

visual egret
#

i heard static in my headphones*

ashen cliff
#

Could be anything in that case.

limber knotBOT
#

oh, ok. well that's different

stiff yarrow
#

?kick @void void money scams? either way advertising is not okay

leaden oxideBOT
#

dynoSuccess Shotz#0001 was kicked | money scams? either way advertising is not okay

left swift
#

Lol

true canyon
#

Came in, had piles of questions about dupes, and then advertised "easy money". Sounds legit.

left swift
#

If everyone just gets 2 people to give them 2$ then those 2 people get 2 more people to give them 2$ and keep going eventually we'll all be rich!

visual egret
visual egret
visual egret
warm anchor
#

I don’t get why the default @ mention is ON

#

Lol

#

I don’t mind if it’s actually important

#

But if Someone ping me like this while I just replied a second ago @void void

#

I will not be happy @void void

olive marlin
#

I prefer to be pinged 95% of the time.

warm anchor
#

@olive marlin ok

visual egret
#

i mean its only annoying when someone spams @everyone every 5 secondss

olive marlin
#

If there's just me and you talking actively, don't ping.

warm anchor
#

Yea

golden gust
#

makes the message harder to read for me, not to mention it's annoying when people spam a flood of messages seconds after you reply, and then ping right at the end, or when I'm already typing, etc, it's like, I'm here, I don't need to be pinged, nor do I owe you a response

olive marlin
#

If you left for 5 minutes, chances are I already left monitoring the channel.

warm anchor
#

“Omg I posted 20 seconds ago and you haven’t reply so let me ping you to get your attention”

#

I had a good laugh

#

Lol

golden gust
#

I mean, one thing that really pisses me off is the "please ping me once when you reply"

warm anchor
#

Lol yeah ok so you got a question but you couldn’t be assed to check for replies

#

The other one is

#

“Yeah I know my version is unsupported but you can just tell me how to fix this”

visual egret
olive marlin
#

I do that sometimes when the chat is less active, because while I'll be in the channel for a while, chances are that after 10 minutes I might not have my eyes on the channel. And I know that when I answer someone, I expect to follow up immediately or never, might not be able to do so in 20 minutes.

visual egret
#

unless you want something special

warm anchor
visual egret
#

eww

#

wordpress

#

but i want to be connected to 10000000 databases at the same time

golden gust
#

I mean, and not to mention when they're on multiple discords, and so you've got multiple people tryna solve it, often on one end is a blatent moron who has half a clue of what they're tryna do, even making the issue worse :L

visual egret
#

wait what

#

thats done in bootstrap

olive marlin
#

I always ask once, if I won't get answer in like half an hour/an hour, only then I can think about asking somewhere else.

visual egret
#

lemme work on a redesign using bootstrap then

olive marlin
#

But I know many people expect getting everything within 2 minutes, or they ask somewhere else.

golden gust
#

Yea, bootstrap is basically just a starter kit

#

You can use purely bootstrap and be happy, or you can customize it with CSS over the top or use one of the varying pre-made styles over it which varingly make it beautiful and you'd fool anybody into thinking it's not bootstrap from a glance of the page

visual egret
#

wpf is alright

olive marlin
#

Oh, while we are on topic of web dev. Any recommendations for html/CSS etc?
I know there's bulma and tailwind CSS.
I'm preparing to rewriting whole website from scratch with discord integration in Rust. Will have some statically-generated parts behind nginx (need to find some decent html generator, or write my own in python probably) and frameworks for html/CSS shit.

#

Just haven't touched fronted stuff in years.

#

So idk how to approach it good, so that I won't have to rewrite it again in a year lol

visual egret
#

i actually dont do javascript since ive never really had to use it

olive marlin
#

I plan on not using JS at all.

#

Will be all Rust, even on user end :)

#

I don't expect people to run internet explorer xD

#

WebAssembly

#

All major browsers support it for quite some time.

golden gust
#

living under a rock?

visual egret
golden gust
#

it was plastered all over tech news :L

olive marlin
#

Me neither, but my hate to JS ecosystem and language pushed me to find alternatives :)

visual egret
#

DDoS them lol

#

more fun :)

#

contact hack

mighty storm
#

oh we have replying now, epic

visual egret
#

yeah we had a whole philosophical conversation about it before

stiff yarrow
novel steppe
golden gust
#

packet spam?

novel steppe
#

I don't know much about it 😦 what's that about?

golden gust
#

It's erm, clients spamming packets

#

use a packet limiter

#

There is one in server.properties, but, there is also a plugin by a guy called spottedleaf

visual egret
#

well its 00:25 here ima go sleep

#

bye

fast wave
#

what is the record for players on a single Minecraft world (any version and 1.16.x) ping me

floral ridge
#

lll

mossy vessel
#

Too many

merry talon
#

i feel like the reply UI could be... less confusing?

#

like this just with the person's name

coarse lily
#

I had two people online at the same time once on 1.16

#

Was pretty peopy

#

Er. Peppy

mossy vessel
#

Not too much, sth around 220 or so

unkempt drift
#

Anyone else read about this 14 hour wait at the first in n out in Colorado? https://twitter.com/aurorapd/status/1329841825683709953?s=21

It’s official, traffic is double double animal style right now all around the mall. We are on hand helping manage the massive traffic response. Be patient and be kind. Maybe support another local eatery today and In-n-Out another day if traffic is too hectic for you. https://t.co/p2wlfhTvVM

Likes

481

#

The funny thing is... you pretty much are supporting local businesses because if you’re in line for 12-14 hours, you’re gonna go get food somewhere nearby

fast wave
#

thats almost impressive lol

ancient bolt
#

my girlfriend's M1 powered fanless macbook air is faster than my 2017 i7 macbook pro

#

so that's kind of insane

#

but yeah it's snappy as hell

unkempt drift
#

Yeah, not surprised. I haven’t looked at difference between the M1 MacBook Pro and the M1 air, but I think it’d have to be close right? Cause it’s the same SOC?

ancient bolt
#

its exactly the same chip

#

macbook pro can theoretically clock higher due to active cooling

#

but we'll need to wait for benchmarks and comparisons to come out to know how much of a difference it makes

#

with a TDP of 15W I kind of think it might not be that significant

coarse lily
#

Demon my buddy got an insane amount of battery out of his, too.

#

He watched 3 hours of Netflix and did about two hours of work and it was at 84%

ancient bolt
#

yeah I've had this open for like 20 minutes on battery and the battery is at...100%

coarse lily
#

I’m pretty stoked for them.

golden gust
#

20 hours of video playback

#

(is what's been quoted)

unkempt drift
#

8 GB of ram for a pro is a little light too I think. Hope they have a 16GB variant next year.

coarse lily
#

I’m gonna pick one up soon.

#

Yeah I’m sure they’ll bump it in the future. But it’s a pretty good start.

#

I’m likely going to get a mini

ancient bolt
#

they do have a 16GB variant

unkempt drift
#

With the M1?

ancient bolt
#

the macbook air I bought for my SO has 16GB of memory yes

#

and 1TB ssd

coarse lily
#

Yeah but not a 32

ancient bolt
#

I wasn't gonna do 8GB, 16 minimum

unkempt drift
#

Wait I must’ve missed something

coarse lily
#

Pro is 16. Air is 8.

ancient bolt
#

air can do 16 as well

#

hence the air I have with me right here with 16

unkempt drift
#

Pro doesn’t have a 16GB option with M1...

#

I’m on their site rn

#

Oh wait, it’s not listed on the first page

#

You prob have to select the model then add ram

#

That’s what tripped me up

ancient bolt
unkempt drift
#

Yeah, I hadn’t gotten that far. I was just looking at the first page which just says 8

coarse lily
#

Ah I thought Pro was 16GB by default and Air was 8GB but you could upgrade

unkempt drift
#

Nah, pro has 8 by default as well

coarse lily
#

But yeah the M1 doesn’t have more than 16GB right now. If you’re coming from 32GB that might be a bummer.

unkempt drift
#

Got 512 GB storage rn, don’t see myself needing more for a laptop.

coarse lily
#

Depends on use case of course.

ancient bolt
coarse lily
#

512GB is decent.

ancient bolt
#

512 would have been fine but I went ahead and future proofed with 1TB cause it wasn't much more compared to the rest of the machine and it's a nice buffer

coarse lily
#

I haven’t messed with Big Sur yet.

#

I used to run beta OSX but now I’m too skittish. :)

golden gust
#

it's kinda pretti

coarse lily
#

Yeah and you can’t add more. So may as well get 1TB if you think you might need it.

golden gust
#

I'm like 50:50 on the new notification stuff

#

it seems nicer in some aspects, but, I gotta see if I can disable the combining, that's just, ew

coarse lily
#

Does Slack still ignore the fucking system Do Not Disturb?

ancient bolt
#

I'm currently covered in macs

golden gust
#

Demon

#

I think you have a problem

ancient bolt
#

lol

#

one with discord is my work machine

vestal jasper
#

3 to be specific

ancient bolt
#

macbook air on the right is my SO's machine

#

one in the back is my personal 2017 mbp

limber knotBOT
#

just realized why log lines aren't being printed for my generator, it's not loading before multiverse or at load: startup

#

so I've just been generating vanilla terrain this whole time lul

#

guess Imma have to split this out into its own plugin pfft

coarse lily
#

Are you inadvertently building a world gen plugin? :)

tired heath
#

Urgh, time to program a Discord Apple filter 🗑️

#

RoboMWM not sure if we talk about the same, but should'nt you define the Generator per World (if not default) in the bukkit.yml

limber knotBOT
#

no I don't define it there

tired heath
#

May helps

limber knotBOT
#

no

#

my plugin needs to load after nearly everything

#

cuz it hooks into like 1/4 of the plugins on my serbur

tired heath
#

uuu never mind than 😄

limber knotBOT
#

hmmm

#

no I can't do that with my idea ocelotpotpie, at least not reliably

#

well maybe if I register the generators later

#

If I find enough worldgenerators that I find myself spending more time adding their entry to my array and softdepend, then maybe

tired heath
#

I actually don't know if registering a generator in Bukkit will affect the plugin loading point. Never tested that

#

Actually would be interesting, if yes, what it would do with soft depends. in plugin.yml

#

Just saying

limber knotBOT
#

I should really consider doing a GitHub template at some time

#

idk how many times I've copied poms, gitignores, plugin.ymls, etc. lol

tired heath
#

But I know that it fixes a issue that sounds similar with Plotsquared, without bukkit.yml but with an Multiverse imported world, Multiverse would load first and set the generator to whatever the world type is. Doing the bukkit thing will make sure it is PS even with MW loading before

limber knotBOT
#

but they do loadbefore?

tired heath
#

May I got you wrong, you need the generator of your plugin active for the world, but the plugin loading after many other plugins at start?

limber knotBOT
#

no

#

I added a generator into my "megaplugin"

#

without realizing that the generator needs to be loaded before multiverse loads (for worlds that are loaded by multiverse)

zealous wedge
#

ah yes cursed bukkit worldgen

tired heath
#

Na just try to add the genearator in bukkit.yml

worlds:
  yourworldname:
    generator: YourGeneratorNAme

limber knotBOT
#

I'm not gonna do that

#

I may have one world, or three worlds, whenever I decide I want 'em and I aint gonna open another file to do it

tired heath
#

Okay but that would work, you can also define the generator in Multiverse conf.
Otherwise you have to load it before anything else and initialise hooks later or split it up

#

well I go to bed now anyways, good luck

stiff yarrow
#

Xbox is great and quick resume is godly

warm anchor
#

do yer own homework bruh

worn ember
#

That makes no sense even

warm anchor
#

There's probably a big ass graphic on top of Problem 1

#

Maybe it's one of those highschool half assed class pepega

worn ember
#

Ig this is about an ethernet frame or something

unkempt drift
#

Ok, is this reply thing new on discord?

unkempt drift
upper flicker
#

yes

#

it replaces quotes

unkempt drift
#

Way better than quotes

potent fossil
#

Z you gonna update your irc bot thingymajiggy to handle the replies?

#

or irc users just miss out PepeLaugh

upper flicker
#

does it not?

warm anchor
#

I hate that on the iOS the menu order got changed

upper flicker
#

did they do some weird shit

potent fossil
#

No it just sends the person's message

upper flicker
#

fucking discord

potent fossil
#

Not who they replied to

warm anchor
#

now when I want to edit my message, I instead replying to message

upper flicker
#

oh

#

no I’m not going to do that

potent fossil
#

Which is fine, I mean

#

Okay PepeLaugh

upper flicker
#

there’s no clean way to bridge that

potent fossil
#

How did it do quotes?

upper flicker
#

quotes were just messages with context

warm anchor
#

SEND PIC krappa of the reply to IRC

potent fossil
#

lmao

upper flicker
#

I suppose I could add a setting to make it do fake quotes

#

but idk that I’d want to use it

#

wasn’t thrilled with how quotes worked before

warm anchor
potent fossil
#

Not really a big deal I guess

warm anchor
#

OMG THE DEFAULT ON REPLY PING IS ON

#

._.

upper flicker
#

yes just like quotes

#

I need to fiddle with some other stuff with it later anyway

#

Ill put this on the list

#

maybe it’ll grow on me

warm anchor
#

👍 or people on IRC will be missin a lot of context

zealous wedge
#

could do like (in response to <name>) in front of the message?

upper flicker
#

idk

#

that or just fake the old quote system

warm anchor
#

or just do > name

upper flicker
#

have to see what I like

potent fossil
#

i started sumthin

upper flicker
#

when you first said that, I assumed something else

#

assumed discord added some new message type or something stupid

#

and it was just bridging the original one and not the reply

#

announcement channels all over again

potent fossil
#

oh no, it works fine, just no reply context. it's not really a big deal, most ppl are using irc anyway. it's just like edits, they dont get to see those

#

¯_(ツ)_/¯

#

are using discord**

#

smh brain

upper flicker
#

ircv2 would let me bridge edits

#

but you know that’ll only come after the year of the linux desktop

potent fossil
#

yeah i saw that in the spec

#

v interesting

upper flicker
#

yeah we’ll see

true canyon
#

v2? We're already on v3!

upper flicker
#

errr might have meant v3

potent fossil
#

oh it was v3 yea

#

mbax add dcc to kitteh

#

now

upper flicker
#

IRC not this one

potent fossil
#

he might've blocked me for that

upper flicker
#

would be the right call

potent fossil
#

I just wanna make a bot to join those ebook channels and autodownload shit

upper flicker
#

could probably do that with just hexchat and a python script

potent fossil
#

*using kitteh cause nice api

#

i can do it with other stuff

true canyon
#

I don't block people

potent fossil
#

just joking :p

true canyon
#

And yeah, I'll add DCC to kicl.

potent fossil
#

👀

true canyon
#

WHEN YOU PR IT

upper flicker
#

wait for i t

potent fossil
#

FUCK

upper flicker
#

you wouldn’t merge that PR

#

doubt

potent fossil
#

I actually had a PR going on it but deleted it because it was disgusting

#

Maybe one day

true canyon
#

There's a partially complete DCC PR that I started trying to salvage but never felt motivated to finish.

kindred mirage
#

Anyone know where i can find paper 1.16.3 download? I would like to revert back

potent fossil
#

pinned

#

you're on your own with support though, bc outdated

upper flicker
#

your world will bitch at you

potent fossil
#

Z is in a good mood tonight

upper flicker
#

I mean, I just typed it out from memory

potent fossil
#

kek

upper flicker
#

didn’t check that I remembered right

#

anyway there’s a pinned message in... #paper-help ? somewhere, to make it not bitch

#

otherwise roll a backup

true canyon
#

Just sent now. Seems about right.

potent fossil
#

what :(

true canyon
#

I dunno man this bot's way meaner than I am

potent fossil
#

Where is that lmao

upper flicker
#

👀

true canyon
#

that's syscraft, third from bottom community guild

potent fossil
#

oh

kindred mirage
#

anyone know why players are invis in 1.16.4?

potent fossil
#

Probably a plugin?

kindred mirage
#

I'll update viaversion maybe that's why. Don't know why that'd be it though

upper flicker
#

anything with packets, entity trackers, replacement mobs, etc

#

is usually where you wanna start on those sorts of issues

golden gust
#

inb4 tab

#

runs

#

nez glares

upper flicker
#

ah yes and tab plugins

kindred mirage
#

Oh tab plugins?

#

oh that must be i t then

#

When we updated to 1.16.4 the tab plugin stopped working and is red in /plugins now

#

most likely that then

upper flicker
#

could be, depends what it did before it was disabled

kindred mirage
#

Why would a tab plugin cause this?

upper flicker
#

the client uses the tab list for all sorts of shit

worn ember
#

Irc
Features

#

Oh I'm late

upper flicker
#

one of the more annoying changes they ever made

worn ember
#

Nvm move on

upper flicker
#

ofc it could still be via or some protocollib plugin that wasn’t updated or something

#

wont know until you try I guess

kindred mirage
#

Yeah updated via suite to latest and updated tab to latest

#

waiting to see if it fixed

#

welp that didn't fix it

#

I've updated almost all my plugins now

void void
#

hello emote1_ im not sure if its right to ask here but ive been searching for a while for a good minecraft server host for under $10 that can run paper and 4gb -- just wondering if anyone had any suggestions, atm ive been self-hosting my paper 4gb server but obviously it cant be up 24/7 (which is pretty much my only problem other than pc lag - > server lag & vice versa)

#

its obviously prerrrty hard to find a good host for a decent price -- i just need one that like i said can run paper, 4gb, 24/7, and can let my implement my own files into it

limber knotBOT
#

#1 ram dosen't mean shit when your running a xeon from 2012 and is not a benchmark of a good host, second #paper-help. I can't actually give reccomendations based on my own experience but from others here the defacto seems to be bloom.host or dedicatedmc.io

void void
#

oh emote2_ thank you

upbeat kelp
#

dont go above 99 entities

#

thats my tip

potent fossil
#

spotify just fucking played me confederate country

#

i didnt realize for a moment

#

what the fuck

#

get the hell out of my playlist

#

something something i wish robert e lee could come and take a bow take me back to dixie what the fuck

exotic siren
#

Is yatopia server jar good?

golden gust
#

no

#

if you wanna forgo support from here and be more on the edge of performance, look at tuinity, but, for all that is holy, stay away from yatopia

potent fossil
#

lmao yatopia

ancient bolt
#

testing paperweight build times on x86 vs arm JDK running on apple silicon

potent fossil
#

oh ok spotify redeemed itself, it's playing t swift

#

better not ever disgrace me like that again

spiral robin
#

Swift 🥰

potent fossil
#

correct

#

i cant believe songs like the one i just heard exist, jesus. when i figured out what the lyrics were saying i said what the fuck very loudly

sinful sorrel
#

Of course that one line is the top rated comment on the YT video for it

upper flicker
#

@ancient bolt azul has an arm64 jdk for apple out now, might want to try with that

#

I would expect the JVM to run pretty... not well... through their transmulation layer

ancient bolt
#

@upper flicker yeah that's what I'm using

upper flicker
#

ah nice

#

yeah be curious to see how that goes

ancient bolt
#

my last commit broke paperweight so gotta revert that...

#

oh guess I can do that from this machine

#

so im doing the test on my macbook pro to compare as well and it's getting very hot to the touch, like too hard to keep on my lap

#

macbook air is warm but not hot at all

vestal jasper
#

Cat

ancient bolt
#

and that's with no fans

upper flicker
#

yep familiar with the hot fans roaring mbp

#

my blade used to do that as well

vestal jasper
#

The subtle flex

upper flicker
#

nothing more fun than sitting in a meeting and all the sudden whirrrrrrrrrrr

ancient bolt
#

lol

upper flicker
#

“shit they caught me doing useful shit”

#

suppose thats less of an issue now

ancient bolt
#

couple times when I was in college my macbook wouldn't properly go to sleep when I closed it

#

so I'd take it out of my bag with it hot as hell and the fans maxed out

upper flicker
#

yeah I had that issue a couple times with the blade when I was distro hopping

#

usb ports were selectively waking, and it was actually a “linux on mbp” blog post that pointed it out and said how to turn that off

golden gust
#

Oh god, that reminds me of a fun issue I used to have, so, for a good few weeks I was wondering why my desktop just wouldn't go to sleep

#

turned out that I'd dropped my controller on the floor, and one of the analogue sticks was being pushed, and so it would just keep the system awake, pissed me off when I found out :L

upper flicker
#

lol

potent fossil
#

I'm imagining you discovering that and just hollering.

#

For a solid 3 or 4 seconds.

ancient bolt
#

okay doing a head-to-head speed test between my M1 macbook air and my 2017 16" macbook pro

#

but the macbook air is using an x86 JVM

upper flicker
#

rip

ancient bolt
#

it's currently...about neck and neck

upper flicker
#

I’m just going to place my bet on “rip”

#

should check the batteries before and after tbh

#

even if it “only” does as good

golden gust
#

I've saw some of the stats, and rosetta adds a bit of a hit, but, with the CPU juice, doesn't really seem to have much of an issue for most stuff that was tested

ancient bolt
#

my macbook pro is officially too hot to be on my lap too, so I have it set aside. macbook air is comfortably on my lap

upper flicker
#

the efficiency stuff people are talking about is the killer feature

ancient bolt
#

yeah my macbook pro is already down to 30%, charged it earlier today

#

macbook air has been on battery all day installing shit, 73%

upper flicker
#

hnnng

#

can check if the intel mac throttled for heat afterwards with pmset -g thermlogsud

#

I would bet the answer is yes if its too hot to set on your lap

ancient bolt
#
Error: unhandled argument thermlogsud
Usage: pmset <options>
See pmset(1) for details: 'man pmset'
#

i would say yes too

upper flicker
#

wonder if thats new to big sur

ancient bolt
#

im running big sur

upper flicker
#

oh whoops

ancient bolt
#

macbook air running through rosetta was...<drum roll>

#

20 seconds faster than my macbook pro

upper flicker
#

it’s just pmset -g thermlog

#

I don’t need it

#

I don’t need it

#

I don’t need it

ancient bolt
#

how far back does the log go?

Note: No thermal warning level has been recorded
Note: No performance warning level has been recorded
2020-11-20 22:18:51 -0800 CPU Power notify
    CPU_Scheduler_Limit     = 100
    CPU_Available_CPUs     = 8
    CPU_Speed_Limit     = 100
upper flicker
#

that I do not know

ancient bolt
#

okay testing arm64 zulu build of the jdk

upper flicker
#

at least a few minutes

ancient bolt
#

interesting

#

running under translation the OS listing even says x86_64

#

guess that makes sense for compatibility reasons

upper flicker
#

yes

#

all the stuff would break if it didn’t

ancient bolt
#

macbook pro: 5:41 | macbook air running x86 jvm: 5:24 | macbook air running aarch64 jvm: 2:26

#

so uh

#

it's twice as fast

#

I....need to do more testing

upper flicker
#

demonwav’s gf suddenly gets a 2017 15” mbp instead

ancient bolt
#

I will say the decompile steps aren't even close. It's remarkably faster

#

like noticeably without needing to measure

upper flicker
#

wonder if thats just because of how w i d e the architecture is or what

ancient bolt
#

lol

#

I'm re-running all the tests to make sure the numbers don't change after successive runs

#

second run on aarch64 zulu jvm is 2:16

#

my macbook pro is at that time and only halfway done

upper flicker
#

its warm now

ancient bolt
#

so yeah numbers looking the same

upper flicker
#

oh no

#

thats pretty crazy

ancient bolt
#

i literally felt the bottom of it and thought "well only a little" before i realized you meant the JVM was warm

upper flicker
#

lol

#

afaik the zulu release is that openjdk jep pretty much, probably some tweaks here and there

#

so that’ll be nice when it lands across the ecosystem

ancient bolt
#

it's pretty much just changing the target of the compiler. I bet macos specific optimizations on top will only improve performance more

#

okay in the time my macbook pro has gone down 20% the macbook air has gone down 2%

upper flicker
#

I mean, that is literally the reason I reach for my ipad more than my laptop now

#

so having that sort of efficiency in a laptop is pretty killer

#

you know without the arbitrary restrictions holding back the hardware

ancient bolt
#

yeah this is serious shit

#

and yeah, it's solid

#

no crashes, no incompatibilities that I've seen

#

I think as soon as the 16" comes out with this chip I'm buying it if I can afford it

upper flicker
#

Ive heard of a few apps that wont run even under rosetta but I don’t recall any that I actually use

ancient bolt
#

it's basically in a totally different league

upper flicker
#

and apple has the ecosystem so wrapped around their finger they’ll be updated soon enough

ancient bolt
#

yup

upper flicker
#

android studio was looking pretty slow on the demo I saw through translation

#

theoretically though you can just point that runtime at azul’s now I guess

ancient bolt
#

okay test number 2: mbp: 5:44, mba running x86 jvm: 5:31

#

so the numbers weren't a fluke

#

yup, and jetbrains is already working on apple silicon support for their jetbrains runtime

upper flicker
#

and people were worried about arm on the macs

#

then they just show up and blow everybody away

ancient bolt
#

only people that haven't been paying attention to the ipad tbh

upper flicker
#

yeah but the ipad is so restricted

ancient bolt
#

right, but the performance is what is interesting here

upper flicker
#

the question was how it’d scale to “real” apps

#

and how good rosetta 2 would actually be with x86

ancient bolt
#

well I heard electron was really bad and installed vscode and it worked fine?

upper flicker
#

because OG rosetta was just tolerable

limber knotBOT
#

I think eventually it wont be. Aren't there rumors they're bringing xCode to the iPad?

ancient bolt
#

I didn't notice any slowness over normal

upper flicker
#

it was not all that great

#

and it definitely was not faster than native lol

#

those rumors have been going around for a couple years now

#

its probably a thing in the ufo somewhere

#

the issue is likely porting all the supporting shit, not xcode itself

limber knotBOT
#

the iPad has gotten so much closer to a "laptop" in those years tho

upper flicker
#

“ok so now its gotta talk to real hardware, do we worry about the simulator, etc etc”

ancient bolt
#

it's really hard when you don't even have a native terminal or filesystem on the ipad

upper flicker
#

they really need to redo the files app

limber knotBOT
#

yeah, its annoying to use, the few times I need to use it on my phone

upper flicker
#

its very clearly doing all ops in userspace and its rough

#

though finally supporting encrypted volumes was nice

#

makes FUSE look really good

#

really really really good

ancient bolt
#

with xcode's toolchains any C or C++ app can typically be changed to target apple silicon with just a command line arg

#

I assume that'll become true for all llvm-based languages soon if that's not already the case

#

and once electron and jvm are readily available that's....basically everything

upper flicker
#

for most stuff its pretty easy

#

they went over porting some of the more technical stuff and bad assumptions in one of the wwdc labs

#

also went over all the shit people have been freaking out about “locking it down further”

#

literally months ago

#

and hey look at that, you can still turn it all off, just like they said

#

tech journalism is dumb

ancient bolt
#

intellij can't start the gradle daemon using zulu's aarch64 jdk for some reason

#

because because intellij itself is running under x86 or something weird like that

upper flicker
#

there’s an escape hatch for that

#

some cli util for telling rosetta to back off

#

(or use it)

#

idk if that’ll mess with the communication of them are not

#

the general rule is that sub processes will run in whatever mode as their parent though so I suppose that makes sense

ancient bolt
#

well I can't notice any major issues using intellij

#

running under rosetta

upper flicker
#

I know final cut will restart the whole thing in x86 if you have x86 extensions

#

well thats good

ancient bolt
#

I'm sure it's probably slower but meh

#

can't notice too much

#

switching intellij's boot runtime to the zulu makes it not start so

#

yeah just gotta wait

#

welp deleted all of the jdks and gradle caches and what not from her machine

#

gotta give it back to her and just cry

upper flicker
#

now you’ve tasted it too

#

poor demon

ancient bolt
#

also the macbook air has the better keyboard and ugh god this butterfly keyboard is so shit

upper flicker
#

yep

#

no touch bar either

#

2 less ports though

limber knotBOT
#

yes, very glad apple switched the keyboards

ancient bolt
#

yeah 2 less ports is the only downside, other than smaller screen

limber knotBOT
#

my laptop has had 1 USB-C and a headphone jack. had it for 4 years now and been totally fine port wise.

coarse lily
#

Demon the keyboard on the new Air is the same as the 16”, right?

limber knotBOT
#

what do people even put in the ports?

upper flicker
#

normal people or me?

coarse lily
#

Seems to be mostly charge stuff, external drives, and external displays.

#

For most folks.

limber knotBOT
#

well you I guess. cause I only charge, and occasionally throw a USB stick in there.

coarse lily
#

I connect all kinds of shit.

upper flicker
#

usb c dongle for ethernet and usb a takes one port, charger takes another

#

suppose the efficiency could resolve that but ehhhh

#

the stupid dongle gets so hot I don’t trust it to also run the charger through it

#

already ruined the glue, I can pull the dongle thing out of its metal sleeve

#

of course the usb a port is pretty much just for serial anymore

#

random flash drives from others

limber knotBOT
#

is the laptop your main computer? I can't imagine plugging an ethernet cable into mine. Kinda ruins the portability aspect.

upper flicker
#

no

#

but I do networking on a fairly regular basis

#

so I can either carry around two laptops

#

or make sure I have some way to interface with ethernet

limber knotBOT
#

ah

upper flicker
#

my work laptop is a 2015 mbp

#

no actual ethernet on that either 😠

#

more useless thunderbolt 2 adapter for that

#

anyway, issue isn’t that it would be a headache every day

#

but it would just be a headache, and at this price point you generally want to avoid those

#

I assume when they do the 16” mbp they’ll have all 4 ports anyway so it wont matter

limber knotBOT
#

yeah, I would think so

ancient bolt
#

for my work setup I plug my macbook into my monitor and it charges the macbook and also there's a USB hub on the monitor so that connects my keyboard too, all only using 1 port

#

and in the office I have a similar thing but the 1 port also includes more USB ports and ethernet as well

upper flicker
#

apparently there’s some BS with the M1 macbooks where they can only drive one external monitor directly

coarse lily
#

@ancient bolt how’s the M1 Air keyboard compare to the Intel 16”?

upper flicker
#

yet some docks will drive two of them just fine still

#

not sure how they managed that

ancient bolt
#

it's the same keyboard

#

as the 16"

coarse lily
#

Interesting. I was trying to find concrete info on the multi display for M1s

#

The Apple site says it’ll do 1x 6K @ 60fps

#

But doesn’t mention anything else.

upper flicker
#

it’ll do 1x period directly

#

1080, 720, 4k, 6k, etc

coarse lily
#

Been meaning to have my friend plug in two to see what happens.

cosmic raft
#

hi

upper flicker
#

there’s some video on youtube of a guy plugging in his thunderbolt dock and then it works just fine and he has two through the dock though

cosmic raft
#

important issue

upper flicker
#

idk if that’s some thing specific to that dock doing some weird faux display adapter thing

#

or just some even weirder hardware thing

ancient bolt
upper flicker
#

probably flesh itself out as time goes on and people continue messing with it

cosmic raft
#

nice

upper flicker
#

but yeah them keeping the 2019 keyboards is excellent

#

the 2016-2018 model years were not great

#

mine still works at least but its not as nice as the newer ones

#

2015 if you count the original macbook it came out on

#

that intel m3 thing

coarse lily
#

I didn’t get a 2016+ because of the keyboard.

#

I like the 16” keyboard better but I prefer the 2015 keyboard so I’ve resisted.

#

Now that I have the work 16” I’ll have to see how I like it.

upper flicker
#

the spacing of the keys on the 2015 screws with me now that I’m used to the larger keys on the newer models

#

but that travel... just no beating the key travel

coarse lily
#

Yeah. I’m a whore for key travel.

#

I’m ridiculously picky about keyboards.

upper flicker
#

just buy that one gaming laptop with the mechanical keyboard at the bottom

#

clack clack clack

minor badge
#

@upper flicker uwu

upper flicker
#

hi proxi

minor badge
#

peepoCLAppers helo

coarse lily
#

250 hello ocelotpotpie

queen rapids
#

cant wait to see the numbers when they upgrade the imac, mac pro, etc.

#

buying one for sure

void void
#

I think I fixed all problems right now

#

cuz I modified all serverThread instances

#
Tasks.sync(task -> {
    while (true) {
        task.sync();
        System.out.println("This is sync");
        callBukkitApi();
        task.await(1000);

        task.async();
        System.out.println("This is async");
        callTimeTakingTask();

        System.out.println("You can use both sleep and await");
        task.await(1000);
        Thread.sleep(1000);
    }
});```
minor badge
cosmic raft
#

@void void that's kinda weird

viral hornet
#

Omg

#

Fucking adorable hahaha

#

Proxi 🥺

thorny totem
void void
#

fun fact: FAWE has very similar feature

waxen panther
thorny totem
#

🤣

cosmic raft
#

I'd probably like it more if it was like...

waxen panther
#

stop kek'ing me i_cry

cosmic raft
#
Tasks.sync(task -> {
    while (true) {
        task.sync(() -> {
            System.out.println("This is sync");
            callBukkitApi();
        });
        task.await(1000);

        // ....
    }
});
#

or something

thorny totem
#

ok sowwy 😦

cosmic raft
#

easier to see what's what

void void
#

you have to use effectively final or a lot of AtomicReference ot make use of return values

limpid comet
void void
#

in your style

cosmic raft
#

more clear to me :p

void void
#

do you really want to write a code like this

#
                    OfflinePlayer player = Bukkit.getOfflinePlayer(name);
                    task.sync(task->{
                        System.out.println(player.getUniqueId());
                    });
                });```
waxen panther
untold copper
waxen panther
#

i prefer that to your previous example toshi

#

it's a lot clearer when and when you're not in sync

void void
#
                task.async(task->{
                    OfflinePlayer player = Bukkit.getOfflinePlayer(name);
                    task.sync(task->{
                        System.out.println(player.getUniqueId());
                        File playerDataFile = new File(getDataFolder(), getConfig().getString(player.getUniqueId().toString()));
                        task.async(task->{
                            String contents = FileUtils.readString(playerDataFile, StandardCharsets.UTF_8);
                            task.sync(task->{
                                YamlConfiguration conf = new YamlConfiguration();
                                conf.load(contents);
                            })
                        })
                    });
                });```
this looks so bad
waxen panther
#

the task chain style is even nicerer though

limpid comet
#

yeah agreed

#

and as we all know, broccy is always right

void void
#

what is broccy god or smth

limpid comet
#

that looks far more readable

#

imo i would try my best to not nest sync/async

#

wtf i can reply on mobile but i can't reply on discord

#

brb updaating

cosmic raft
#

Yea, it's a lot more clear what context you're in like that

limpid comet
waxen panther
#

my new headset is so comfortable 😭

limpid comet
#

what headset

void void
#

if so

waxen panther
#

i can barely notice it's on 😭

void void
#

just use taskchain

cosmic raft
#

no :p

waxen panther
#

i got some beyer dt990 pros

void void
#

it's more like someone's prefer

#

like code style

limpid comet
#

nice nice

cosmic raft
#

I use my own stuff for most things

limpid comet
#

that's definitely up to preference, but i think you'll find the general consensus that task.async(task -> ...) is far more readable

#

damn those are some cuties

void void
#

i think if you gonna do task.async(task -> ...)

#

task chain is better

#

cuz the previous one may increase nest

waxen panther
#

i had to get an expensive amp for them tho

limpid comet
#

i've never used taskchain or any other task libraries

#

never seen the use for them

waxen panther
#

didn't realise that when i ordered them i am sound noob

limpid comet
#

does that make me a bad programmer? yeah, probably

void void
waxen panther
#

i used to use task chain, didn't need it since i switched to cloud

limpid comet
#

ik what it is

cosmic raft
#

@waxen panther what amp

waxen panther
#

i got a uhh

limpid comet
#

it better be a bluelytech amp

waxen panther
#

fiio k3

#

pretty sure i paid a $40 premium for usb-c but it is what it is

cosmic raft
#

ah

limpid comet
#

oh yeah usbc is nice, my interface has usb c

waxen panther
#

the reviews for it where good for this headset specifically

limpid comet
#

i'm sure the mods won't be happy with that one

waxen panther
#

lmao

void void
#

😦

waxen panther
#

boost your own server

golden gust
#

?kick @void void No, this is not the place to advertise.

leaden oxideBOT
#

dynoSuccess Not_Apoorv#2420 was kicked | No, this is not the place to advertise.

waxen panther
#

moderators blush_devcord

worn pasture
minor badge
#

@worn pasture uwu

void void
#

hi

#

is there anything wrong

#

even if i fix these issues

#

@minor badge

minor badge
#

wat

void void
minor badge
#

way too early for code 7135_SleepyKirby

untold copper
#

Yey im getting new keyboard uwu

minor badge
#

what you getting?

limpid comet
#

the classic proxi code review

#

nothin better i tell ya

waxen panther
#

@minor badge

minor badge
#

@waxen panther hello bluely stan

waxen panther
#

hello qt

minor badge
limpid comet
#

god that emote is still the worst thing i've ever seen

waxen panther
#

wtf

minor badge
#

wtf

limpid comet
#

it haunts my dreams

#

i'm going to print a poster with that emoji on it with a big 🚫 over it, just so i remember what i'm working towards

waxen panther
#

ok proxi

#

use the mod powers

#

clean the server up

twin lagoon
#

@minor badge uwu

minor badge
#

@twin lagoon uwu

limpid comet
#

NONNOnononon please

limpid comet
#

great, the bonk rewrite compiles

#

time to test

potent fossil
#

My brain is not working. I'm trying to help my friend with some code (w/o giving him code) but I can't solve his problem lmao. He's told to make a Queue from a String. The String is:
* + * + 16 4 + * + 16 4 + 3 1 1 * + 16 4 + 3 1 + 3 * + 16 4 + 3 1

You're supposed to read it somehow and operate on all the numbers, eventually getting to 141100 as the answer. I've tried a few different things, but I can't think of how to solve it so I told him to just email his professor. But if anyone wants some brainfuckery have fun, let me know if you have any ideas lol. I took this same class a few years ago but this problem wasn't part of it

#

I'm guessing each operator will eventually have two operands

vernal moth
#

its easy simple

#

I think, lemme draft smth

#

I have an idea

#

is the weird spacing part of it?

#

or can I ignore that?

potent fossil
#

You can ignore the spaces

#

I'm working on very little sleep still trying to catch up on my own classes, so I'm blaming that for why I can't find a quick solution

#

And not that I'm an idiot

#

Definitely not that one

minor badge
#

would * be placeholders or operators?

void void
#

If you can assign numbers to these two operands, it's very easy. What is allowed and what isn't

potent fossil
#

Those are multiplication operators

twin lagoon
#

siiiiiiiiiiiiiimple

#

🥺

potent fossil
#

michael 🥺

limpid comet
#

nvm that peach one is even worse than proxi's flushed

potent fossil
#

:D

twin lagoon
potent fossil
#

If you can assign numbers to these two operands, it's very easy. What is allowed and what isn't
@void void What do you mean? There is nothing off limits, just that you use a read the String into a Queue (minus the whitespace) and then read the Queue to do the operations

twin lagoon
worn pasture
#

OMG

twin lagoon
#

tuuuuuuuuurbo

worn pasture
#

AHHHHHHHHHHHHH

limpid comet
#

cute dog michael

twin lagoon
#

shibas are cute

worn pasture
#

eeeeeeeeeeeeee

vernal moth
#

mmmh I don't get it

potent fossil
void void
#
*  + *  + 16   4      + *  + 16   4      + 3   1      1      *  + 16   4      + 3   1         + 3   *  + 16   4      + 3   1  
        String problem = "*  + *  + 16   4      + *  + 16   4      + 3   1      1      *  + 16   4      + 3   1         + 3   *  + 16   4      + 3   1  \n";
        String[] split = problem.split("[\\s]+");
        int result = 0;
        for(String fragment : split) {
            System.out.println(fragment);
            try {
                result += Integer.parseInt(fragment) * 1000;
            } catch (NumberFormatException e) {
                if(fragment.equals("*"))
                    result += 2420;
                else if (fragment.equals("+"))
                    result += 3300;
            }
        }
        System.out.println(result);

141100

#

???

potent fossil
#

You have to use a queue