Dungeons and Dragons – What random encounter resource embedded in third-party D & D includes combat / social / treasure / mystery encounters for each type of environment?

I had already found a nested random encounter resource, because there was a main table to determine if the game was discovering terrain, combat, mysteries, and so on. interesting, then find associated tables for these types of meeting for different environments: arctic, trade road, forest, meadow, submarine …

This book was very similar to Necromancer Games 2003 Mother of All Encounter Tables, with the exception of MOAET that I was looking for previously. a particular biome.

I do not remember much of the passages in this book, but one that has remained is that of the Arctic table where the party discovers a metal device generating heat in the snow, as if it involved a foreign technology or future.

Does anyone know the name of this resource or where to find it?

blockchain – what happens if a minor includes an existing transaction in another block?

Suppose I have a transaction A. (txA)
I send my txA to the bitcoin network and the full node validates it and puts it in Mempool and starts broadcasting it.

A minor A connects to a complete node to create a candidate block and gains the prisoner of war. In this block there is my txA

A minor B creates another block with all the different transactions except for my txA.

If block A and block B have the same previous block, the hash is a fork and if the chain of block A wins, all transactions in block B return to mempool.

But if B has the previous block hash of A?
After creating a block, is there another check of all transactions?
When TxA is in mempool, it is not confirmed when is confirmed?

What includes the sender of a transaction in the entry that allows the recipient to unlock / use?

The exit of the transaction has a property called scriptPubkey which is executed with the scriptSig when the output is spent in a transaction. An understanding of the Bitcoin script would be helpful.

Bitcoin uses its own scripting language based on a stack with a set of operation codes. This scripting language is used to determine if an unspent transaction output (utxo) can be used. When you send Bitcoin, you actually only give a Bitcoin value to a script. This value can only be used if the script executes correctly and generates a single true value on the stack. The script assigned to the output of the Bitcoin transaction is called the scriptPubKey. To satisfy the script, you must provide the correct scriptSig, which is also a script, which is added to scriptSig and run to test if the expenses were successful. Let's look at an example:

scriptPubKey (raw): 76a914306e2ea1eed91bf66dfe5d94f3957d4ba63bde8488ac
scriptPubKey (assembly): OP_DUP OP_HASH160 306e2ea1eed91bf66dfe5d94f3957d4ba63bde84 OP_EQUALVERIFY OP_CHECKSIG

Clearly, this script, once executed, will have the following effects:

  • OP_DUP: Duplicate the first item on the stack (place a copy of it on the stack)
  • OP_HASH160: Remove the top element of the stack, calculate that it is HASH160, that is, the RIPEMD160 (SHA256 ())and place it on the stack
  • OP_EQUALVERIFY: Pop the first 2 items of the stack, and if they are not equal, it will go out immediately and fail, otherwise nothing
  • OP_CHECKSIG: Pop the first 2 elements of the stack, and use the top as the public key, the second one as the signature and check the transaction signature

To use this output, we must provide a valid signature and a public key. We will simply provide 00 for signing this example, and do not worry about the final control op.


Let's see this example with a scriptSig. Let's use kallewoof btcdeb Script visualization tool. After the first order, you can type step once, then simply press enter each time thereafter to review each operation:

$ btcdeb & # 39;[00 030cfcefa07af9dd6dbe770b87d7dbdd2c31ba7f4fcf8f3a1196d502f13561b046 OP_DUP OP_HASH160 306e2ea1eed91bf66dfe5d94f3957d4ba63bde84 OP_EQUALVERIFY OP_CHECKSIG]& # 39;

btcdeb - type `btcdeb -h` for startup options
valid script
7 op script loaded. type `help` for usage information
script | stack
-------------------------------------------------- ----------------- + --------
0 |
030cfcefa07af9dd6dbe770b87d7dbdd2c31ba7f4fcf8f3a1196d502f13561b046 |
OP_HASH160 |
306e2ea1eed91bf66dfe5d94f3957d4ba63bde84 |
# 0000 0
btcdeb> step
<> PUSH battery
script | stack
-------------------------------------------------- ----------------- + --------
030cfcefa07af9dd6dbe770b87d7dbdd2c31ba7f4fcf8f3a1196d502f13561b046 | 0x
OP_HASH160 |
306e2ea1eed91bf66dfe5d94f3957d4ba63bde84 |
# 0001 030cfcefa07af9dd6dbe770b87d7dbdd2c31ba7f4fcf8f3a1196d502f13561b046
<> PUSH stack 030cfcefa07af9dd6dbe770b87d7dbdd2c31ba7f4fcf8f3a1196d502f13561b046
script | stack
-------------------------------------------------- ----------------- + -------------------------------- -----------------------------------
OP_DUP | 030cfcefa07af9dd6dbe770b87d7dbdd2c31ba7f4fcf8f3a1196d502f13561b046
OP_HASH160 | 0x
306e2ea1eed91bf66dfe5d94f3957d4ba63bde84 |
# 0002 OP_DUP
<> PUSH stack 030cfcefa07af9dd6dbe770b87d7dbdd2c31ba7f4fcf8f3a1196d502f13561b046
script | stack
-------------------------------------------------- ----------------- + -------------------------------- -----------------------------------
OP_HASH160 | 030cfcefa07af9dd6dbe770b87d7dbdd2c31ba7f4fcf8f3a1196d502f13561b046
306e2ea1eed91bf66dfe5d94f3957d4ba63bde84 | 030cfcefa07af9dd6dbe770b87d7dbdd2c31ba7f4fcf8f3a1196d502f13561b046
# 0003 OP_HASH160
<> POP stack
<> PUSH stack 306e2ea1eed91bf66dfe5d94f3957d4ba63bde84
script | stack
-------------------------------------------------- ----------------- + -------------------------------- -----------------------------------
306e2ea1eed91bf66dfe5d94f3957d4ba63bde84 | 306e2ea1eed91bf66dfe5d94f3957d4ba63bde84
OP_EQUALVERIFY | 030cfcefa07af9dd6dbe770b87d7dbdd2c31ba7f4fcf8f3a1196d502f13561b046
# 0004 306e2ea1eed91bf66dfe5d94f3957d4ba63bde84
<> PUSH stack 306e2ea1eed91bf66dfe5d94f3957d4ba63bde84
script | stack
-------------------------------------------------- ----------------- + -------------------------------- -----------------------------------
OP_EQUALVERIFY | 306e2ea1eed91bf66dfe5d94f3957d4ba63bde84
OP_CHECKSIG | 306e2ea1eed91bf66dfe5d94f3957d4ba63bde84
| 030cfcefa07af9dd6dbe770b87d7dbdd2c31ba7f4fcf8f3a1196d502f13561b046
| 0x
<> POP stack
<> POP stack
<> PUSH stack 01
<> POP stack
script | stack
-------------------------------------------------- ----------------- + -------------------------------- -----------------------------------
OP_CHECKSIG | 030cfcefa07af9dd6dbe770b87d7dbdd2c31ba7f4fcf8f3a1196d502f13561b046
| 0x

You can play with this using any of the opcodes listed in Script.

admin – requires / includes the php file in add_menu ()

I create a custom menu item from the WP Administration Bar with custom HTML code in the drop-down lists. With reference to this: https://codex.wordpress.org/Class_Reference/WP_Admin_Bar/add_menu

the HTML I want to use is quite large, so I've created a separate php file for this HTML. Then I try to include this PHP file in the menu item, but that does not print correctly. At the present time, all the shows inside the menu item are a 1 and the content is printed later in the DOM of the page.

Here is the code that I have:

$ admin_bar-> add_menu (
board (
& # 39; id & # 39; => & # 39; dh_row_layouts-content & # 39;
& # 39; parents & # 39; => & Dh_row_layouts & # 39;
& # 39; meta & # 39; => array (
& # 39; class & # 39; => & # 39; dh_hack & # 39;
& # 39; html & # 39; => include (& # 39; docs / row_layouts.php),


Implementation of a useful custom hints function that includes docstring but much shorter than python help ()

When I show others how to use this module, I ask them to create an instance of PROJECT, and then add other objects.

>>> of Abstracted import PROJECT

>>> project = PROJECT (& # 39; bob & # 39; Y_factor = 2, use_MQTT = True)
MQTT status: started
Yes, your new project named "bob" has been created

They can do this from a terminal that does not show document bubbles like IDLE and many other IDEs. So, instead, I've found a way for that, when they type the instance, only a few lines useful text appears. This contrasts with Help me() which can generate dozens of lines and scroll through their previous work at the top of the screen.

>>> project
PROJECT ("bob")
intantier with p = PROJECT (name, Y_factor = None, use_MQTT = False)
use later start_MQTT (), stop_MQTT () and
add objects with p.new_CARROT (name) or p.new_ONION (name, n_rings = None)
>>> carrot = project.new_CARROT (& # 39; carrot & # 39;)
a carrot has been added!
>>> onion = project.new_ONION (& # 39; onionne & # 39 ;, n_rings = 42)
an onion has been added!

Type the object and some lines with some "main methods" and useful tips will appear. This is the feature I'm asking about

>>> carrot
CARROT ("carrot")
instantiate with c = CARROT (project, name)
change the thread with c.change_thread_value (new_value)

>>> onion
ONION ("onionne"), n_rings = 42
instantiate with o = ONION (project, name, n_rings = none)
increase the number of onions with o.multiply (factor)

Question: Do I reinvent the wheel? Does this recreate something that python does naturally? I've only really learned about docstrings in the last 24 hours, so maybe there are better ways to do it?

here is Abstracted.py, an abstract version of a large module. All the features I request are contained here.

time of import, date / time, logging, socket, queue
thread Thread, Lock, Event import
#import paho.mqtt.client as mqtt

important_lock = Lock () # the rest of the thread not displayed

PROJECT class (object):
"" "intantiate with p = PROJECT (name, Y_factor = None, use_MQTT = False)
use later start_MQTT (), stop_MQTT () and
add objects with p.new_CARROT (name, X) or p.new_ONION (name) "" "
def __init __ (self, name, Y_factor = None, use_MQTT = False):

self.name = name
self.use_MQTT = use_MQTT
self.things = []
        if Y_factor == None:
Y_factor = -1
self.Y_factor = Y_factor
if self.use_MQTT:
status = self.start_MQTT ()
displays "MQTT status: {}". format (status)
self.info = (& # 39; {self .__ class __.__ name __} ("{self.name}") & # 39;
.format (self = self))
print Yes, your new project named "{}" was created ".format (self.name)

def __repr __ (auto):
return (self.info + & # 39;  n & # 39; + self .__ doc__)

def doc (auto):
print yourself .__ doc__

def start_MQTT (self, start_looping = False):
"" "(start_looping = False) creates an MQTT client attribute and connects it to" "
# do stuff
status = & # 39; started & # 39;
self.client = client instance & # 39;
return state

def stop_MQTT (auto):
"" "disconnects from MQTT" ""
# do stuff
status = & # 39; stopped & # 39;
return state

def new_ONION (self, name, n_rings = None):
"" "def new_ONION" ""

onion = ONION (project = auto, name = name, n_rings = n_rings)

self.things.append (onion)
print "an onion has been added!"
back onion

def new_CARROT (self, name):
"" "def new_CARROT" ""

carrot = CARROT (project = auto, name = name)

self.things.append (carrot)
print "CARROT has been added!"
back carrot

THING class (object):

def __init __ (self, project, name):
"" "THING .__ init__!" ""

self.project = project
self.name = name
self.Y_factor = self.project.Y_factor

def __repr __ (auto):
return (self.info + & # 39;  n & # 39; + self .__ doc__)

ONION class (THING):
"" "instantiates with o = ONION (project, name, n_rings = None)
increase the ion rings with o.multiply (factor) "" "
def __init __ (self, project, name, n_rings = None):
"" "OIGNON .__ init__!" ""
if n_rings == none:
n_rings = 7
self.n_rings = n_rings

Thing .__ init __ (auto, project, name)

self.info = (& # 39; {self .__ class __.__ name __} ("{self.name}"), n_rings = {self.n_rrings} & # 39;
.format (self = self))

def multiply (self, factor):
if type (factor) in (int, float):
self.n_rings * = factor

"" "instantiated with c = CARROT (project, name)
change the thread with c.change_thread_value (new_value) "" "
def __init __ (self, project, name):
"" "CAROTTE .__ init__!" ""

self.thread_value = 1

Thing .__ init __ (auto, project, name)

self.info = (& # 39; {self .__ class __.__ name __} ("{self.name}") & # 39;
.format (self = self))

def change_thread_value (self, new_value):
with important_lock:
self.thread_value = new_value

Logic – Check if one condition includes another

I have two conditions A and B in the form of a "tree".
How can I check that B is stricter than A?
That is to say. if B is true, then A is always true.


x = 1 and (b = 2 or c = d)

y = 5 and x = 1 and (b = 2 or c = d)

Does B understand A -> true

x = 1 and (b = 2 or c = d)

y = 5 and x = 1 and (b = 2 or c = d)

Does B include A -> false

This seems to be a common task for a specialist in logical mathematics.
But I only have basic knowledge of logical arithmetic.
All articles / studies on the subject appreciated.

The Lightroom 8.1 catalog backup includes lrcat-wal and uncompressed lrcat

I'm using Lightroom 8.1 on Windows 10 1809. I've chosen to always be notified of the backup of the catalog when going out, but after upgrading to version 8.1 (from Lr 8.0 on Windows 8.1), it seems that something is wrong with the backup. up. Each backup now includes the file lrcat-wal (temporary file sql lite) and the uncompressed version of the file lrcat. The size has gone from 200 MB to about 1.0 G for each backup and the output takes a lot of time.

Does anyone else have the same experience? I will probably file a bug report with Adobe, but it would be nice to know if I could have caused this problem by a commonly known problem.

My current solution is to not open a default catalog and not check the box to test the integrity of the catalog when opening Lightroom, then use a powershell script to start Lightroom, and then perform a back up the catalog with the Compress-Archive cmdlet after closing. In addition, I have to think about optimizing my catalog manually from time to time. I think this would keep my catalog safe enough, but it would be best if everything worked out as planned.

Special Dipshipping website fully loaded with Dp includes hosting

To integrate



Link of the image:

Nessus – includes items from one or more scans in a single report

I used nessus and some of my hosts became inaccessible while I was performing a baseline analysis. Because of this, some of them display the following error:

x.x.x.x has been disabled, has become stuck or has become inaccessible during the audit - the scan has been stopped before the end. 

Is it possible to resume or restart the analysis of these hosts? I would like to collect them all in the same report and for this reason, I prefer not to relaunch the full test.

Do you have an idea?

Plugin Development – Includes the problem causing WP-Load on PHP – MySQLi Prepared Statement

I have a custom php file and I'm trying to run WP_Query he including the wp-load.php drop here. The file simply obtains data from the external table as

$ sessien = $ _POST['xsession'];
$ stmt = $ conn-> prepare ("SELECT` id` FROM` maps` WHERE session =? ORDER BY` thedate` DESC ");
$ stmt-> bind_param ("s", $ sessien);
$ stmt-> execute ();
$ result = $ stmt-> get_result ();
while ($ row = $ result-> fetch_array (MYSQLI_NUM))
foreach ($ row as $ r)
displays "$ r";
print " n";
$ stmt-> close ();
$ conn-> close ();

this code works well until I've added it

        require_once (& # 39; ../../../../ wp-load.php & # 39;);
$ loop = new WP_Query ($ args);

after including the wp-load.php the code threw this error

Fatal error: Uncaught Error: calling a member of the bind_param () function on a boolean in

again as soon as I withdraw the wp-load.php from the page the query works fine. Can you please let me know why this is happening and how can I fix it?