How can I optimize my build for large (10+ players) parties?

I plan to soon join a 5e group with over 10 PCs in the party at any given time. Are there any feats, builds, classes, etc that can be used to capitalize on this very large party size?

This may seem like a very broad question, but I’m struggling to find anything at all that meets this criteria, so I can only assume that few answers exist. The obvious solution was to seek out anything that affects something like "all allies within 30 feet", but I’ve had difficulty finding any such thing. The first place that I checked was the Battle Master Fighter’s maneuvers, but all of those seem to only affect one ally at a time. Furthermore, due to Bardic Inspiration allowing only a single target, the Bard has very similar restrictions. Where else can I look?

Can someone help me optimize my Elan Psion (3.5)?

I’m currently playing in a 3.5 game in which the DM plans to take to very epic levels (65). My current character is level 30, and he’s an Elan Psion (Shaper). He has the power psychic reformation, which allows him to reselect feats, skill point allocations, and power selections for 50 xp per level backwards he wishes to reform. It’s an extremely powerful campaign, and our ability score generation shows that (5d6, reroll 1s and 2s, add highest 3). I’m conserned that my character is underperforming, and would like to know what I can do to optimize my character. I can essentially re-select feats, choose new skill point allocations, and new powers known. What is your recommendation?

Note: Our enemies have been chaotic in nature, (LvC campaign, we’re Lawful), and generally focus around chaotic outsiders. Our enemies tend to have high AC, ridiculously high saves (compared to my DCs, which at the moment is Power Level + 27), and extremely high DCs (in the high 50s and 60s). They also usually sport a SR that has me rolling 18+ in order to defeat.

Any help will be greatly appreciated.

Edit: My current ability scores are: STR 21, DEX 22, CON 22, INT 44, WIS 16, CHA 16

My current feats are: psicrystal affinity, overchannel, talented*, psionic meditiation, extend power*, boost construct, psicrystal containment, twin power*, power penetration*, expand knowledge (schism), greater power penetration*, enhanced elan resistance, epic manifestation, improved overchannel, empower power*, maximize power*, burrowing power*, epic psionic focus

My current saves (with buffs in parentheses): F +29 (39), R +27 (37), W +30 (40)

Edit 2: My current feats and powers shouldn’t matter, as I can restructure them anyway. For the purpose of what I’m asking, let’s pretend I have 7 non-epic feats, 4 epic feats (21, 24, 27, and 30), and 3 epic psion feats (23, 26, and 29) available. I also have a total of 56 powers known (5 up to first level, 4 up to second level, 4 up to third, 4 up to fourth, 4 up to fifth, 3 up to sixth, 3 up to seventh, 3 up to eighth, 26 up to ninth) available.

If anyone would like more info, just let me know.

Tricks to optimize a maximization problem

I am dealing with the following piece of code, to study a problem in quantum mechanics:

L[n_] := KirchhoffMatrix[CompleteGraph[n]];  c[n_] := 1; w[n_, p_] := Table[KroneckerDelta[k, p], {k, 1, n}]; P[n_, p_] := KroneckerProduct[w[n, p], w[n, p]]; s[n_] := 1/Sqrt[n]*Table[1, {k, 1, n}]; Ps[n_] := KroneckerProduct[s[n], s[n]];  H[n_, \[Lambda]_] := \[Lambda] L[n] - P[n, c[n]];  U[n_, t_, \[Lambda]_] := MatrixExp[-I*t*H[n, \[Lambda]]]; \[Psi][n_, t_, \[Lambda]_] := U[n, t, \[Lambda]].s[n]; prs[n_, t_, \[Lambda]_] := Abs[w[n, c[n]].\[Psi][n, t, \[Lambda]]]^2;  Prob[n_] := NMaximize[prs[n, t, \[Lambda]], {t,\[Lambda]}][[1]] 

The NMaximize function takes quite a while on my machine to compute $ \text{Prob}(n)$ , so I would be interested in any suggestion to increase the efficiency of the code – taking into account that the input graph could be a different one. Probably the hardest part to compute is taking the exponential matrix of $ H$ , but I’m not aware of any way to optimize it.

Optimize a druid for debuff and healing

I would like to play a druid (preferably circle of dreams).

If possible, a wood-elf would be useful, but any race that can be tall (6ft+) is acceptable.

I would be starting level two, and probably heading until level 5 or so.

Multiclass is allowed, but not prefered.

I would like to focus on healing and debuffs, and my DM will allow a small editing of spell lists, as long as it is relatively balanced.

The party are all level two, and have a divination wizard, a assassin rogue, and a fighter, who’s archetype isn’t yet confirmed but probably will be champion.

All sourcebook and UA allowed.

Point buy/standard array scores.

Feats allowed.

(Thanks in advance, and please edit if you think it needs reformatting)

How to optimize algorithm which tries to get the lowest sum for a task

I have a puzzle game which I am not sure how to prove that I have the right answer. I am sure that a code can be written to get all the possible solutions and find the best one from them. However, I am not sure what logic this code should follow. I managed to write a code which can follow my logic, but it does not try all options and therefor maybe a better option exists

The Puzzle is the following:

We have a wizard which makes very special jewelry. However, because they are so special there are some rules that he should follow when creating them.

He has 30 types of beads and unlimited count from each type. Every bead has different color but for simplicity lets name them (B1, B2, B3, B4 … B30 because this is not important). The important part is that every bead type costs different amount of gold coins

B1 -> 1 gold coin

B2 -> 2 gold coins

B3 -> 3 gold coins

B30 -> 30 gold coins

There are three special operations that he can use when creates a jewelry:

  1. He can buy beads, but every time when he buys a bead he should put it at the end of the jewelry.

For example:

  • When he starts the jewelry no bead is added, so he can buy for example B4 for 4 gold coins and put it on the first place

  • After that he can buy another bead, for example B6 for 6 gold coins and he should put it at the end.

    Now he has jewelry from B4 – B6

  • After that he can buy another bead, for example B11 for 11 gold coins and he should put it at the end.

    Now he has jewelry from B4 – B6 – B11

The total amount of gold coins that he used for creation of this jewelry is 21

  1. He is so good that if he has jewelry from some beads he can cast a magic and he can increment all the beads with one. However, this magic costs 2 gold coins.

For example:

  • If we continue with the jewelry from the previous point B4 – B6 – B11, he can cast this magic and the result will be a new jewelry B5 – B7 – B12. This operation will cost for him 2 gold coins.

  • If he continue incrementing one more time, the jewelry will become: B6 – B8 – B13. This will cost him 2 gold coins.

From these two steps he spend 4 more gold coins and the total amount of the jewelry at the moment is 25

  1. The third and the last operation that he can use is to switch position of two adjacent beads. This will cost him 1 gold coin.

For example if we continue with the jewelry from previous step B6 – B8 – B13:

  • He can change the position of the second and third beads and the new jewelry will become B6 – B13 – B8 and the cost for this operation is 1 gold coin.

  • Now he can change the position of the second and first beads and the new jewelry will become B13 – B6 – B8 and the cost for this operation is 1 gold coin.

From these two steps he spend 2 more gold coin and the total amount of the jewelry at the moment is 27

The question is what is the smallest amount of gold coins that he should use to create the following jewelry:

B18 – B1 – B16 – B19 – B6 – B22 – B14 – B15 – B2 – B12 – B27 – B18 – B11 – B1 – B14 – B9 – B23 – B1

One thing to notice. The start and end bead of the jewelry are not connected. So there is no easy way to swap their positions with one move. You should move through all other beads.

The general approach of solving that I took is:

Instead of starting from 0, I start from the complete jewelry. If I have B1 at last position, I just remove it (this conforms to buy B1 action). If it is not a last position I move it to the last position and then remove it. If I do not have B1, I decrease until I have B1 and repeat all the other steps. If we are left with 2 beads just use them.

var final = [18, 1, 16, 19, 6, 22, 14, 15, 2, 12, 27, 18, 11, 1, 14, 9, 23, 1]; var totalSum = 0; var resultTable = [];  function sum() {     return final.reduce((acc, el) => acc + el, 0); }  function removeOne(arr, indexOfOne) {     if (indexOfOne === arr.length - 1) {         totalSum += 1;         arr.pop();         resultTable.push({ action: "remove last", arr: arr.toString(), cost: 1, totalCost: totalSum });        } else {         var nextOfOne = indexOfOne + 1;         var temp = arr[indexOfOne];         arr[indexOfOne] = arr[nextOfOne];         arr[nextOfOne] = temp;         totalSum += 1;         resultTable.push({ action: "swap", arr: arr.toString(), cost: 1, totalCost: totalSum });       } }  function decrementAll(arr) {     final = => el - 1);     totalSum += 2;     resultTable.push({ action: "decrement", arr: arr.toString(), cost: 2, totalCost: totalSum }); }  var i = 2;  while (sum() > 0) {     var indexOfOne = final.lastIndexOf(1);      if (final.length === 2) {         totalSum += final.pop();         totalSum += final.pop();         resultTable.push({ action: "sell", arr: final.toString(), totalCost: totalSum });         break;     }      if (indexOfOne !== -1) {         removeOne(final, indexOfOne);     } else {         decrementAll(final);     } }  console.table(resultTable);  

It can be run here:

However, without using a code I managed to get answer 129, 128.

Do you have any idea how can I improve the code to get the right answer. Maybe this involves finding all solutions, but I really do not know how I can make it. A general idea how to approach such kind of tasks is also a good start for me.

Any code in different languages is also OK. I can run it and observe how it works to check logic behind finding all possible solutions. I know how to get all solutions if I have only one operation to test, however here there are three operations for 18 positions and I really do not have idea how to approach this problem

Thanks in advanced

optimize user interactions to solve ambiguity in natural language questions

am doing research about how to reduce user interactions with the system to solve ambiguities in natural language questions to retrieve data from databases. note: those systems for technical users to enable them to restore data from databases without knowing query languages. Anyone have a suggestion for reducing those interactions.

What to optimize a Skald for in such a party?

Our party

I have formed a party to play in Pathfinder Society Organized Play with. It contains 7 players, including me.

  • Me, a Conjuration School Savant Arcanist. I’ve just hit level 2 and am allowed my last respec.
  • My friend, another Conjuration School Savant Arcanist, however, they might respec because it was a bit hard for them.
  • A party face Sorcerer with Charm Person and Color Spray (it was the player’s choice to play with this spell set).
  • A Summoner with Augment Summoning and Cha 20, generally focusing on actually summoning stuff.
  • A blaster, see this question to learn about their build.
  • An Inspired Blade/Empiricist X. The build is not set in stone yet, but it will most likely be a generalist doing some damage, and a second party face.
  • A Skald, about whom I am currently asking.

An eighth player has recently joined us, but they will play different characters depending on their mood, they are an active PFS player.

The Skald’s player desires

The Skald’s player clearly wants to:

  1. Be a Skald, as they love the theme.
  2. Deal damage using a bow.

Current experience of the said player

The said player has only played two sessions now, and has never played Pathfinder or any other tabletop RPG before.

Which combat and non-combat roles can their character take?

Basically, I ask for the list of options trimmed to things possible in such a party.

Dealing damage

While the character will deal some damage using a bow, it will eat a significant amount of their wealth and feats. Due to no Ranger bonus feats and medium BAB, the character will not be able to keep up with other classes.

Bardic knowledge

This seems nice, and might actually help a lot. However, a Skald cannot afford to have an Intelligence score above 12, maybe 14, because they need Dexterity, Strength, and Charisma a lot, and they cannot dump Constitution (brings HP) or Wisdom (garners Will save). At the same time, an ability to roll ALL Knowledges is nice. I might ask the Skald player to roll the first so they have more chances to succeed before the Int-based casters bring their rolls.

Lore Master

Well, kicks in really late. Still, it’s something helpful.

Raging Song

A really cool buff… but almost nobody needs Strength in our party, and almost everybody wants to remain concentrated. The Investigator will use a Dex-based build, and hence won’t care about Strength. Essentially, only Summoner’s units will like this buff. I have not learned much about the Rage Powers yet, but I doubt that more than a couple of people will benefit from them.

Versatile Performance

Well, allows to be another party face. But the Skald cannot afford a full focus on the Face stat, so they will fall behind the Investigator and the Sorcerer. Anyway, since the Discipline of our players is not very good, another person at least semi-capable of being a party face should be nice.

Spell Kenning

Nice and cool, but only one per day, and the Skald is kind of short on spell slots, and falls behind Arcanists, and the Arcanists can Quick Study… BTW, how can one even optimize for Spell Kenning?

Current build (subject to changes)


Half-Elf. Player’s choice, this is not to be changed. Arcane Training as an alternative racial trait (it’s the only thing for which we can trade Multitalented (2nd Favored Class) without trading something else too.


Skald (Fated Champion). We lose practically nothing, but get the ability to cast lots of Divination spells with a discount and a bonus to Initiative.

Ability scores

STR: 14

DEX: 16 (14+2 for being a Half-Elf)

CON: 12

INT: 12

WIS: 11

CHA: 14


Shelyn. The best Deific Obedience, access to Persuasive Performer. Alternatively, worship Irori and get a bonus to all Knowledge checks, but be a worse Party Face.


  1. Perform (Sing)
  2. Knowledge (History)
  3. Knowledge (Local)
  4. Knowledge (Planes)
  5. Knowledge (Religion)
  6. Use Magic Device
  7. Perception

Might sound sub-optimal, but I actually had to choose the skills in a hurry, as I owed a build to the Skald player and had to go already.


Reactionary, Talented (Sing). Yes, the choice of the second Trait was almost random.


Here is a list of feats that I have found to be fitting this concept.

Archery feats

Well, easy. Being an archer consumes lots of feats in Pathfinder. 1. Point-Blank Shot. This feat was the one chosen for the said character. 2. Precise Shot 3. Rapid Shot 4. Deadly Aim 5. Arcane Strike 6. Manyshot 7. Deadly Aim

I don’t know which of those to take, as a Skald cannot take all of them.

Other cool feats I’ve found

  1. Improved Initiative — obvious.
  2. Skald’s Vigor — fast healing.
  3. Greater Skald’s Vigor — fast healing for everyone.
  4. Persuasive Performer — choose Sing, still use it for Diplomacy, get a +2 bonus. Even with a rather low Charisma, this build can accumulate a lot of bonuses to Diplomacy, Bluff, and Sense Motive.
  5. Deific Obedience. +4 to Perform, which turns out to be +4 to Diplomacy, Bluff, and Sense Motive.
  6. Battle Cry +1 to Attack Rolls, +4 to saves against Fear, and ability to reroll one save.

My actual question

What is it a good idea to optimize in such a party so that the Skald’s player doesn’t feel useless? Is the way I have currently chosen a potentially good way?

How to optimize a rogue for highest attacks/round and damage/attack?

Using only the 3.5e Player’s Handbook and Dungeon Master’s Guide, how can I make my rogue the most powerful possible?

What I have so far:

Professor Peppy Littleman – Halfling rogue, level 5

Str 10, Dex 22, Con 10, Int 18, Wis 12, Cha 11

24 hp, two +1 daggers, Gloves of Dexterity +2, 900gp, Chaotic Evil, Leather Armor (+2 AC)

Feats: Weapon Finesse and 2 Weapon Fighting

I was planning on taking a Fighter dip at level 8 to immediately get Improved Two Weapon fighting and another Dex point, along with Improved Initiative at level 6.

I put nearly all of my 108 skill ranks into regular rogue-type skills (bluff, hide, move silently, sleight of hand; along with spot, search, listen, etc.).

My campaign is mostly fighting humanoids and sometimes undead in city-, crypt-, and random buildings–type environments.

I have also talked to my DM about possibly using a permanent polymorph later on in the game (level 12+ or so), and he seems to be okay with it, as long as it isn’t too overpowered.

I’m trying to get him to hit as many times as possible per round and as hard as possible, with and without sneak attack taken into account.

Optimize CPU Efiiciency [closed]

I am running a process on a HPC. if I check the job with seff $ JobID I get this output:

Job ID: 21153876 Cluster: csd3 User/Group: ls760/ls760 State: CANCELLED (exit code 0) Nodes: 1 Cores per node: 12 CPU Utilized: 00:00:03 CPU Efficiency: 0.13% of 00:38:24 core-walltime Job Wall-clock time: 00:03:12 Memory Utilized: 0.00 MB (estimated maximum) Memory Efficiency: 0.00% of 132.79 GB (132.79 GB/node) 

To my understanding, this hob is not using the memory in the most efficient way , hoe can I improve it?

I am using a software called tombo (here and I don’t how I can improve the memory usage.

Thank for your help