#general
3141 messages · Page 1100 of 4
its not really viable to do that without something like kotlin coroutines, toshi
but it works
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?
does bukkit recognise it as main thread?
i just modified Minecraft serverThread instance during an execution of a sync task
so it does
concerning...
if no problems occur it's okay
@void void famous last words
that's why im asking to test 😦
that doesnt make it viable
i need more examples
rather unsound tbh
proxi just reeeing again 
wat
it is unsound; a library shouldnt depend on internals of any kind to "make it work and be good"
It was my suggesting to reflect the main thread instance to fool the async catcher 😂
It's just the async catcher proxi
still, not a good idea
it is unsound; a library shouldnt depend on internals of any kind to "make it work and be good"
@minor badge N M S
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
the charging brick on the new macbook air is so tiny
though java doesnt make it possible to do it any way afaik, needs compiler help for that (yay, kotlin)
actually really cool how small everything is considering how powerful the machine is
also no fans
god it's dope
Actually, I thought before of including what toshi did into paper
Then it would be supportable

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?
The idea is that you skip all the pain of taskchain
I haven't found "potential issues" after the update
And can switch context with just a method call
that's why im testing rn
Instead of dealing with futures or callbacks and shit
I wish Java had context switch API ;w;
Where do you block the main thread?
To execute something on "main"
Yea, but where
You block main and let the task thread execute
is it done pre-tick? arbitary interupt?
These should be running Ubuntu server by the end of today :)
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();```
Not what I was asking
its done in a scheduler task
is what I was asking
which is dumb
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
You're hijacking the caller when you could just tell it to run there?
unless of course im misunderstanding the entire lib
then you could be stopping it in the middle of a tick?
remove an entity mid entity ticking, i dare you
also paper has tick events afaik
so should be possible to listen to those instead of scheduler
removing entity
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
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
@olive marlin Box<Cat> :>
How old is she/he?
he is 18, a few months older than me
OMG serverThreads are everywhere
I have to rewrite them all to make it work ;_;
pay for the library
imma work on it tmmr
now this is cursed
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
btw is there any library like that
public class TestCommand {
@Sender
Player sender;
@Parameter
Player player;
public void run() {
sender.sendMessge("Hello, " + player.getName());
}
}```
[03:01:27] <gabizou> fuck you and the lombok horse you rode in on
uh no
not exactly like that, however
theres ACF, cloud, and many more
if you wanted custom annotations, you'd need custom injection
as cat said, but theyve got the same premise if you just want a command
i already made one but tab completion is so annoying
so i wanted one which already exists if there is
cloud, ACF, and more
Poop
I hear async
Did someone mention Lombok 
.lombok
[03:01:27] <gabizou> fuck you and the lombok horse you rode in on
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
go tell 'em minidigger
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? 😂
ah ok sounds like dummies
100% approval to go full karen on 'em
anyways, y stackoverflow error :c https://hasteb.in/ipizuran.halp
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
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
guess for now I just won't call createVanillaChunkData
ya ill wait for it to get back in stock then
Apart from RTX and Nvidia jazz.
RoboMWM there's an open issue for that that I have been meaning to look at
o
Anyone see McProHosting's new Minecraft plans yet? They're, uh... something
.g mcprohosting
(DiscordBot) https://mcprohosting.com/ -- MCProHosting: Home: "MCProHosting is the World leader in game server hosting."
Lmao
ngl still want to try hosting a proxy
1gb for 25 slots 
Throw a 1k Bungee on that.
Yeah that's the new one
If it ain't a pi krusic ain't buying
I'm using Hetzner. 
I mean
Since I don't care about the DoS protection, but I do like complaining about it.
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.
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
Or realms.
32G of ram is moronic as no singular server should ever need that much, however...
Just stick to realms kids.
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.
Says mr lock your devs in a basement
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.
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
Daemons.
youll be thrilled to learn of dockers existence
or use something like pterodactyl
that looks really cool
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...
Should have ran ClearLinux. It's actually faster.
no i wasnt?
at computer start
i was testing arch vs ubuntu
Okay, arch then.
ClearLinux or 🚪.
trust me im not that dumb but i kinda am not smart 
Is using a cname dns for redirecting www to non www a "proper" way to do that?
imo no
is it better to just let nginx handle it or so?
yes
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 🤔
I'll just delete it and try to use nginx
hmm
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
stackoverflow does not occur if I haven't unloaded/loaded world via mv load
interesting
also, did someone say antilag?
Server plugin specifically designed for the MLG Fortress Bukkit server: mlg.robomwm.com - MLG-Fortress/MountainDewritoes
hmm, alright ^^ Also, an A record - should that be *.domain.com ? or is domain.com enough? 🤔
I'm using both now
that's two different things
Just making sure, I'm using both now, is that a proper way?
Both are needed in your case.
there was something on cname flattening
Since *.domain.com does not include domain.com.
can't recall, but has to do with official protocols n stuff
I'm remaking some things and cleaning nginx etc.. so I'm making sure I do it correctly etc ^^
All I needed to see.
plugin.dispatchCommand("plugman unload " + pluginName);
gotta make sure they're purged as much as possible
A man of culture.
didn't feel like making a script to mv jars
I assume you are also running Shevs Bungee plugin manager? 
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)
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.
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? 🤔
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 🤷♂️
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
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 😄
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
🤔 I still have to finish that PWM inverter.
just, make sure to grab a cheap pink usb charger, from china
This is a song about cheap shitty pink USB chargers and how they can blow your prized technical possessions up and potentially blow YOU up in the process.
Of course, they don't HAVE to be pink, but it's all the more humiliating if they are.
The simple fact is that many of the cheap USB chargers sold on ebay and directly from China are designed w...
Allow: /folder/index.html
Disallow: /folder/*
``` would this work in a robots.txt file?
I get it down from 3,7% to 2,4% with the Paper and Waterfall-Change 😄 👍
helllp
my computer is having a heart attack
i can hear static and the thing is lagging
im going to restart
Might just be hardcore coil whine.
I forgot all about coil whine until your comment just now
I have to live with it.
From 120 FPS to 275 FPS I can hear.
Then anything above 500 FPS starts it again.

i heard static in my headphones*
Could be anything in that case.
oh, ok. well that's different
?kick @void void money scams? either way advertising is not okay
Shotz#0001 was kicked | money scams? either way advertising is not okay
Lol
Came in, had piles of questions about dupes, and then advertised "easy money". Sounds legit.
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!

totally legit
very legit indeed
the new ui is cool
Wow even more pings now
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
I prefer to be pinged 95% of the time.
@olive marlin ok
i mean its only annoying when someone spams @everyone every 5 secondss
If there's just me and you talking actively, don't ping.
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
If you left for 5 minutes, chances are I already left monitoring the channel.
“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
I mean, one thing that really pisses me off is the "please ping me once when you reply"
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”
i might as well redo the entirety of this part of my website
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.
unless you want something special
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
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.
lemme work on a redesign using bootstrap then
But I know many people expect getting everything within 2 minutes, or they ask somewhere else.
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
wpf is alright
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
i actually dont do javascript since ive never really had to use it
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.
living under a rock?
Learn the fundamentals of Web Assembly in 100 Seconds, then build your first WASM binary with AssemblyScript. https://fireship.io
- WASM Docs https://developer.mozilla.org/en-US/docs/WebAssembly
- Figma's Story https://www.figma.com/blog/webassembly-cut-figmas-load-time-by-3x/
- AssemblyScript https://www.assemblyscript.org/
#webdev #wasm #10...
it was plastered all over tech news :L
Me neither, but my hate to JS ecosystem and language pushed me to find alternatives :)
oh we have replying now, epic
yeah we had a whole philosophical conversation about it before
Yay
Good night, I know you say don't report here, but I'd like to know why these kinds of things happen to see if I can take them, it's already very common for this to happen to me, will anyone have fixed it?
https://pastebin.com/v5ZHh3A1
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
packet spam?
I don't know much about it 😦 what's that about?
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
what is the record for players on a single Minecraft world (any version and 1.16.x) ping me
lll
Too many
i feel like the reply UI could be... less confusing?
like this just with the person's name
Not too much, sth around 220 or so
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
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
thats almost impressive lol
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
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?
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
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%
yeah I've had this open for like 20 minutes on battery and the battery is at...100%
I’m pretty stoked for them.
8 GB of ram for a pro is a little light too I think. Hope they have a 16GB variant next year.
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
they do have a 16GB variant
With the M1?
Yeah but not a 32
I wasn't gonna do 8GB, 16 minimum
Wait I must’ve missed something
Pro is 16. Air is 8.
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
Yeah, I hadn’t gotten that far. I was just looking at the first page which just says 8
Ah I thought Pro was 16GB by default and Air was 8GB but you could upgrade
Nah, pro has 8 by default as well
But yeah the M1 doesn’t have more than 16GB right now. If you’re coming from 32GB that might be a bummer.
Got 512 GB storage rn, don’t see myself needing more for a laptop.
Depends on use case of course.
and screenshot from my SO's macbook air: https://i.imgur.com/uZcubqY.png
512GB is decent.
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
I haven’t messed with Big Sur yet.
I used to run beta OSX but now I’m too skittish. :)
it's kinda pretti
Yeah and you can’t add more. So may as well get 1TB if you think you might need it.
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
Does Slack still ignore the fucking system Do Not Disturb?
3 to be specific
macbook air on the right is my SO's machine
one in the back is my personal 2017 mbp
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
Are you inadvertently building a world gen plugin? :)
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
no I don't define it there
May helps
no
my plugin needs to load after nearly everything
cuz it hooks into like 1/4 of the plugins on my serbur
uuu never mind than 😄
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
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
I should really consider doing a GitHub template at some time
idk how many times I've copied poms, gitignores, plugin.ymls, etc. lol
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
but they do loadbefore?
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?
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)
ah yes cursed bukkit worldgen
Na just try to add the genearator in bukkit.yml
worlds:
yourworldname:
generator: YourGeneratorNAme
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
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
Xbox is great and quick resume is godly
do yer own homework bruh
That makes no sense even
There's probably a big ass graphic on top of Problem 1
Maybe it's one of those highschool half assed class 
Ig this is about an ethernet frame or something
Ok, is this reply thing new on discord?
This thing
Way better than quotes
Z you gonna update your irc bot thingymajiggy to handle the replies?
or irc users just miss out 
does it not?
I hate that on the iOS the menu order got changed
did they do some weird shit
No it just sends the person's message
fucking discord
Not who they replied to
there’s no clean way to bridge that
How did it do quotes?
quotes were just messages with context
SEND PIC
of the reply to IRC
lmao
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
lol
Not really a big deal I guess
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
👍 or people on IRC will be missin a lot of context
could do like (in response to <name>) in front of the message?
or just do > name
have to see what I like
i started sumthin
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
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
ircv2 would let me bridge edits
but you know that’ll only come after the year of the linux desktop
yeah we’ll see
v2? We're already on v3!
errr might have meant v3
IRC not this one
he might've blocked me for that
would be the right call
I just wanna make a bot to join those ebook channels and autodownload shit
could probably do that with just hexchat and a python script
I don't block people
just joking :p
And yeah, I'll add DCC to kicl.
👀
WHEN YOU PR IT
wait for i t
FUCK
I actually had a PR going on it but deleted it because it was disgusting
Maybe one day
There's a partially complete DCC PR that I started trying to salvage but never felt motivated to finish.
Anyone know where i can find paper 1.16.3 download? I would like to revert back
Z is in a good mood tonight
I mean, I just typed it out from memory
kek
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
what :(
I dunno man this bot's way meaner than I am
Where is that lmao
👀
that's syscraft, third from bottom community guild
oh
anyone know why players are invis in 1.16.4?
Probably a plugin?
I'll update viaversion maybe that's why. Don't know why that'd be it though
anything with packets, entity trackers, replacement mobs, etc
is usually where you wanna start on those sorts of issues
ah yes and tab plugins
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
could be, depends what it did before it was disabled
Why would a tab plugin cause this?
the client uses the tab list for all sorts of shit
one of the more annoying changes they ever made
Nvm move on
ofc it could still be via or some protocollib plugin that wasn’t updated or something
wont know until you try I guess
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
hello
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
#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
oh
thank you
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

Is yatopia server jar good?
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
lmao yatopia
testing paperweight build times on x86 vs arm JDK running on apple silicon

oh ok spotify redeemed itself, it's playing t swift
better not ever disgrace me like that again
Swift 🥰
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
Of course that one line is the top rated comment on the YT video for it
@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
@upper flicker yeah that's what I'm using
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
and that's with no fans
The subtle flex
nothing more fun than sitting in a meeting and all the sudden whirrrrrrrrrrr
lol
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
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
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
lol
I'm imagining you discovering that and just hollering.
For a solid 3 or 4 seconds.
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
rip
it's currently...about neck and neck
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
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
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
the efficiency stuff people are talking about is the killer feature
yeah my macbook pro is already down to 30%, charged it earlier today
macbook air has been on battery all day installing shit, 73%
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
Error: unhandled argument thermlogsud
Usage: pmset <options>
See pmset(1) for details: 'man pmset'
i would say yes too
wonder if thats new to big sur
im running big sur
oh whoops
macbook air running through rosetta was...<drum roll>
20 seconds faster than my macbook pro
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
that I do not know
okay testing arm64 zulu build of the jdk
at least a few minutes
interesting
running under translation the OS listing even says x86_64
guess that makes sense for compatibility reasons
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
demonwav’s gf suddenly gets a 2017 15” mbp instead
I will say the decompile steps aren't even close. It's remarkably faster
like noticeably without needing to measure
wonder if thats just because of how w i d e the architecture is or what
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
its warm now
so yeah numbers looking the same
i literally felt the bottom of it and thought "well only a little" before i realized you meant the JVM was warm
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
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%
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
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
Ive heard of a few apps that wont run even under rosetta but I don’t recall any that I actually use
it's basically in a totally different league
and apple has the ecosystem so wrapped around their finger they’ll be updated soon enough
yup
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
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
and people were worried about arm on the macs
then they just show up and blow everybody away
only people that haven't been paying attention to the ipad tbh
yeah but the ipad is so restricted
right, but the performance is what is interesting here
the question was how it’d scale to “real” apps
and how good rosetta 2 would actually be with x86
well I heard electron was really bad and installed vscode and it worked fine?
because OG rosetta was just tolerable
I think eventually it wont be. Aren't there rumors they're bringing xCode to the iPad?
I didn't notice any slowness over normal
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
the iPad has gotten so much closer to a "laptop" in those years tho
“ok so now its gotta talk to real hardware, do we worry about the simulator, etc etc”
it's really hard when you don't even have a native terminal or filesystem on the ipad
they really need to redo the files app
yeah, its annoying to use, the few times I need to use it on my phone
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
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
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
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
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
I know final cut will restart the whole thing in x86 if you have x86 extensions
well thats good
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
also the macbook air has the better keyboard and ugh god this butterfly keyboard is so shit
yes, very glad apple switched the keyboards
yeah 2 less ports is the only downside, other than smaller screen
my laptop has had 1 USB-C and a headphone jack. had it for 4 years now and been totally fine port wise.
Demon the keyboard on the new Air is the same as the 16”, right?
what do people even put in the ports?
normal people or me?
Seems to be mostly charge stuff, external drives, and external displays.
For most folks.
well you I guess. cause I only charge, and occasionally throw a USB stick in there.
I connect all kinds of shit.
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
is the laptop your main computer? I can't imagine plugging an ethernet cable into mine. Kinda ruins the portability aspect.
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
ah
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
yeah, I would think so
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
apparently there’s some BS with the M1 macbooks where they can only drive one external monitor directly
@ancient bolt how’s the M1 Air keyboard compare to the Intel 16”?
yet some docks will drive two of them just fine still
not sure how they managed that
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.
Been meaning to have my friend plug in two to see what happens.
hi
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
idk if that’s some thing specific to that dock doing some weird faux display adapter thing
or just some even weirder hardware thing
@cosmic raft important performance benchmark #general message
probably flesh itself out as time goes on and people continue messing with it
nice
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
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.
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
just buy that one gaming laptop with the mechanical keyboard at the bottom
clack clack clack
@upper flicker uwu
hi proxi
helo
250 hello ocelotpotpie
cant wait to see the numbers when they upgrade the imac, mac pro, etc.
buying one for sure
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);
}
});```
@viral hornet
@void void that's kinda weird
Randomly browsing Spigot's forums... click on "Drama"... notices the link has a sixty-nine next to it https://i.qcfb.ca/20201121031830.png
fun fact: FAWE has very similar feature
Blazingly fast world manipulation for artists, large networks and developers: https://www.spigotmc.org/resources/13932/ - boy0001/FastAsyncWorldedit
🤣
I'd probably like it more if it was like...
stop kek'ing me 
Tasks.sync(task -> {
while (true) {
task.sync(() -> {
System.out.println("This is sync");
callBukkitApi();
});
task.await(1000);
// ....
}
});
or something
ok sowwy 😦
easier to see what's what
you have to use effectively final or a lot of AtomicReference ot make use of return values
bwoce
in your style
more clear to me :p
do you really want to write a code like this
OfflinePlayer player = Bukkit.getOfflinePlayer(name);
task.sync(task->{
System.out.println(player.getUniqueId());
});
});```
bwuely
bwoccowy
i prefer that to your previous example toshi
it's a lot clearer when and when you're not in sync
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
the task chain style is even nicerer though
what is broccy god or smth
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
Yea, it's a lot more clear what context you're in like that
pogging
my new headset is so comfortable 😭
what headset
if so
i can barely notice it's on 😭
just use taskchain
no :p
i got some beyer dt990 pros
nice nice
I use my own stuff for most things
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
i think if you gonna do task.async(task -> ...)
task chain is better
cuz the previous one may increase nest
i had to get an expensive amp for them tho
didn't realise that when i ordered them i am sound noob
does that make me a bad programmer? yeah, probably
i used to use task chain, didn't need it since i switched to cloud
ik what it is
@waxen panther what amp
i got a uhh
it better be a bluelytech amp
ah
oh yeah usbc is nice, my interface has usb c
the reviews for it where good for this headset specifically
i'm sure the mods won't be happy with that one
lmao
😦
boost your own server
?kick @void void No, this is not the place to advertise.
Not_Apoorv#2420 was kicked | No, this is not the place to advertise.
moderators 

@worn pasture uwu
wat
way too early for code 
Yey im getting new keyboard uwu
what you getting?
@minor badge
@waxen panther hello bluely stan
hello qt

god that emote is still the worst thing i've ever seen
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
@minor badge uwu
@twin lagoon uwu
NONNOnononon please
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
its easy simple
I think, lemme draft smth
I have an idea
is the weird spacing part of it?
or can I ignore that?
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
would * be placeholders or operators?
If you can assign numbers to these two operands, it's very easy. What is allowed and what isn't
Those are multiplication operators
nvm that peach one is even worse than proxi's flushed
:D

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
have a dog
OMG
AHHHHHHHHHHHHH
cute dog michael
eeeeeeeeeeeeee
mmmh I don't get it

* + * + 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
???
You have to use a queue


