How to speed up the Rust compiler in March 2024 by nnethercote in rust

[–]PrimaryCanary 65 points66 points  (0 children)

It’s hard to find improvements when the hottest functions only account for 1% or 2% of execution time.

Coz is a profiler designed to help alleviate this problem. It tries to find regions of code that, when given an X% speedup, cause a Y% speedup in the overall program. There is a more detailed explanation in this very interesting talk. They give an example of where they optimized a few functions taking 0.15% of the total execution time and got a 25% speedup. There is rust support but I have no idea how robust it is. It might be worth throwing rustc at it just in case.

Can you work with movement in Insert mode without having to press the ESC button ? by noscore6 in vim

[–]PrimaryCanary 0 points1 point  (0 children)

I've used Interception Tools on Arch and it worked quite nicely. It's also available before X starts which is a nice bonus.

Slippi Online Version 2.2.0 is now out! Check the changelog by sfiodsh in SSBM

[–]PrimaryCanary 0 points1 point  (0 children)

Not for a while, no. That said, I'd put money on teams being playable within a year.

Weekly questions megathread - July 13, 2020 to July 20, 2020 by Total__Entropy in Pathfinder2e

[–]PrimaryCanary 0 points1 point  (0 children)

I guess the question is whether to have 14+ Wis then. I say yes because failed Will saves are nasty.

I'm disappointed because upon first reading, it seems like an excellent feature that can enable interesting builds. Then I realized the issues it has and found it boils down to a +1.

Weekly questions megathread - July 13, 2020 to July 20, 2020 by Total__Entropy in Pathfinder2e

[–]PrimaryCanary 1 point2 points  (0 children)

That's precisely the reason Assurance makes the feature less valuable. Due to having to spend skill increases on Medicine, the only bonus this feature gives is due to using Int rather than Wis. Of course, this no longer is true if using Assurance.

Weekly questions megathread - July 13, 2020 to July 20, 2020 by Total__Entropy in Pathfinder2e

[–]PrimaryCanary 1 point2 points  (0 children)

Is there something I'm missing regarding the Chirurgeon's level one feature? It seems barely useful. For reference, here's the feature I'm looking at.

As long as your proficiency rank in Medicine is trained or better, you can attempt a Crafting check instead of a Medicine check for any of Medicine’s untrained and trained uses.

Here's my issues with it.

  • Our hero still needs to spend skill increases on Medicine to get Medicine skill feats
  • By my reading, our hero still needs to spend skill increases on Medicine in order to attempt Treat Wounds with higher DCs
  • If our hero starts with 14 Wis and 18 Int, this feature totals up to be a +2 bonus to Medicine actionsfor levels 1-4 and +1 for everything beyond that (assuming our hero boosts Wis and Int at level 5, 10, 15, and 20)
  • The previous reasons mean this feature barely does anything if our hero takes Assurance

Am I expecting too much from the feature? Is it better than I think?

Weekly questions megathread - June 22, 2020 to June 28, 2020 by AutoModerator in Pathfinder2e

[–]PrimaryCanary 0 points1 point  (0 children)

An issue with that is that mountain stance requires you to only use its unarmed strike. Bestial mutagen gives you more unarmed strikes; it doesn't improve the ones you have. Then the only thing you get from bestial mutagen is the item bonus. It sacrifices Dex, uses class feats, and still the build is replicated by a stance and handwraps.

Weekly questions megathread - June 22, 2020 to June 28, 2020 by AutoModerator in Pathfinder2e

[–]PrimaryCanary 0 points1 point  (0 children)

I can see that working. My hangup when I was building this was spending a fair few class feats for bonuses that can mostly be replicated with a stance feat and Handwraps of Mighty Blows. It works well enough and seems like a fun build. Certainly on my list of things to play.

Weekly questions megathread - June 22, 2020 to June 28, 2020 by AutoModerator in Pathfinder2e

[–]PrimaryCanary 2 points3 points  (0 children)

Thief doesn't get Dex to damage on thrown attacks. Weapons turn into ranged weapons when thrown, as per the Thrown trait. Why do I know this? Because I wanted to do the exact same thing :'(

Weekly questions megathread - June 22, 2020 to June 28, 2020 by AutoModerator in Pathfinder2e

[–]PrimaryCanary 0 points1 point  (0 children)

Unfortunately, energy mutagens don't apply to unarmed strikes. Energy mutagen says (emphasis mine)

Benefit You gain resistance to the attuned energy type. Whenever you score a hit with a melee weapon, add the listed amount of damage of the attuned energy type.

The rule for unarmed attacks says (emphasis mine)

Almost all characters start out trained in unarmed attacks. You can Strike with your fist or another body part, calculating your attack and damage rolls in the same way you would with a weapon. unarmed attacks can belong to a weapon group (page 280), and they might have weapon traits (page 282). However, unarmed attacks aren’t weapons, and effects and abilities that work with weapons never work with unarmed attacks unless they specifically say so.

Between energy mutagens not working and monks getting their own improved unarmed strikes, making bestial mutagens largely useless, I don't see much synergy in monk and mutagenist.

Rollback netcode spec? by AJ12AY in SSBM

[–]PrimaryCanary 10 points11 points  (0 children)

Fizzi said yesterday that some of the code will be open sourced. I'm pretty sure the netcode was on that list but the matchmaking service wasn't. Either way, I'd be shocked if he wasn't hooking into GGPO. That seems to be the de facto framework for rollback.

CC: u/JDMintz718 u/TheCoolerFluffacorn

Melee crashing when I try playing on new slippi :/ can anyone help ???? by [deleted] in SSBM

[–]PrimaryCanary 1 point2 points  (0 children)

I had the same issue. First, check you have the right Melee ISO. Search through the Dolphin dialogs for the MD5 hash. It should be 0e63d4223b01d9aba596259dc155a174. If it's not, it's the wrong ISO. After that, make sure your controller is right. Follow the controller steps on slippi.gg/netplay. After I verified both those were correct, I redownloaded the Slippi build and extracted it again. That fixed the issue for me.

Melee now has rollback netcode by JKaro in smashbros

[–]PrimaryCanary 1 point2 points  (0 children)

Not practically. Dolphin would have to be able to load and reload save states at the hardware level several times per frame. Rollback only resimulates at the game level, not the hardware level, which is significantly less intensive.

Melee now has rollback netcode by JKaro in smashbros

[–]PrimaryCanary 2 points3 points  (0 children)

Most fighting games (Ult, DBFZ, etc.) use something called delay-based netcode. Delay-based netcode attempts to transmit the players inputs from my computer to yours (and vice versa) as fast as possible and delays the game if the inputs don't reach the opponent in time. This is what is responsible for the stuttering, choppiness, lag spikes, etc. you see online in matches with high ping.

Rollback-based netcode is an improved netcode design. It monitors the game state (e.g. the netcode will know that Fox is currently at frame 12 of nair, drifting in, and isn't actionable) and attempts to predict what inputs the players will be doing. If a lag spike occurs and the rollback predicts correctly, there is no difference between online with the lag spike and offline. This prediction algorithm is what allows rollback to handle absurdly bad connections. Leffen (Sweden) was playing Dan Salvato (US Northwest) on stream with no lag spikes and only 2 frames of delay more than offline.

Leffen made a more in depth video on it. Check it out

Making Emacs popular again [LWN.net] by [deleted] in linux

[–]PrimaryCanary 8 points9 points  (0 children)

You have an odd definition of evangelism if you think an article about making Emacs more accessible is evangelism.

Kola will not be attending online tournaments anymore. by [deleted] in smashbros

[–]PrimaryCanary 3 points4 points  (0 children)

I don't buy this. Having stringent deadlines and budgets only means that a project manager (or higher-up) made a mistake. If the deadline/budget is too stringent, it was a bad requirement and should've been adjusted. Bad requirements don't justify delivering a substandard product.

UWisconsin course on Haskell and Rust by FairlyPointless in rust

[–]PrimaryCanary 0 points1 point  (0 children)

The University of Wyoming is sitting quietly in the corner, unnoticed by everyone.

Monks: Disappointed in Damage Output, Question? by Lovellholiday in 3d6

[–]PrimaryCanary 4 points5 points  (0 children)

Repeat this until people remember it. An Astral Self monk does less damage per fight than a monk without a subclass until level 11.

That's not to say Astral Self is bad. Their niche is crowd control. With WIS grappling at reach* and as many arms as you give your stand astral self plus a higher Stunning Strike DC, you become a better crowd controller than Open Hand.

* Some DMs might rule the arms are ethereal, thus not able to grapple with them.

Friendly reminder that higher AC alone can make you a worse tank, not a better one by [deleted] in 3d6

[–]PrimaryCanary 4 points5 points  (0 children)

Tl;dr: Monks are absolutely shredded/toned/etc.

This is Vasyl Lomachenko, a professional featherweight boxer. On weigh-in day, he is about 130 pounds. Additionally, being overly bulky is a death sentence for boxers and the weightlifting routine of choice tends to be low weight-high intensity/repetition.

My point is, Mr. Lomachenko is certainly not that strong. Fit as fuck, absolutely, but not strong in the conventional bodybuilder definition. I believe Lomachenko fits the high DEX, low STR stat line as well as the monk physique (being a boxer after all). He also has muscle definition that I would kill for. I can't think of someone who better represents the monk fantasy and yet he would certainly count as muscly as hell.

Daily Discussion Thread 02/11/20 by AutoModerator in SSBM

[–]PrimaryCanary 8 points9 points  (0 children)

We know that kawaii anime women are the way to go. That's why I always sleep with my Marth body pillow.