#StackBounty: #r #regression #interpretation #goodness-of-fit #bias Ramsey's reset test (i.e. Omitted variable bias test) result in…

Bounty: 50

I have the Ramsey’s reset test result to find whether my regression has any omitted variable bias. I have the following result and shall I say I do or do not have omitted variable bias and why?

    > resettest(pt_logit,power=2,type="regressor")

            RESET test

    data:  pt_logit
    RESET = 39.307, df1 = 5, df2 = 20372, p-value < 2.2e-16


Get this bounty!!!

#StackBounty: #pseudo-random-function on CPA & KPA security of $boxplus$-Feistel

Bounty: 50

I am interested to identify the effect of replacing $oplus$ with $boxplus$ on basic balanced Feistel structure over $r$-rounds. Given;

$F_boxplus[L,R]= [S,T] = [R,L boxplus f(R)]$ where $f$ is PRF

$[L,R] in left{0,1right} ^{n} $

Q1 . In term of CPA and KPA security, does $boxplus$ replacement add security over 3 rounds, with proof?

Q2 . If $boxplus$-Feistel structure have better security bounds that $oplus$-Feistel, why do not we see it common?


Get this bounty!!!

#StackBounty: #networking #virtualbox #blocking How do I block traffic to "evaluated" IPs without using a separate DNS?

Bounty: 200

To test the ‘truthfulness’ of a network function, I have set up a virtual machine running windows 10. I’m running the Microsoft network monitor on the virtual machine, and on the next level up, I’m comparing the network requests of the virtual box to the network requests that the virtual box claims that it made.

Note that the virtual box has no network requests until I start a VM.

My current method of trying to block these network requests is to use the hosts file for any domains, and the firewall for any IPs. The Firewall has been working fine so far, It’s the hosts file that’s giving me a headache.

There seem to be certain “Evaluated” domains that the hosts file will not block, and I need them blocked

for example, here are some domains that you cannot block with the hosts file:

dm3p.wns.notify.windows.com.akadns.net
e1553.dspg.akamaiedge.net
e15275.g.akamaiedge.net
cs9.wac.phicdn.net
arc.msn.com.nsatc.net

How do I block requests to and from these addresses using only vanilla windows 10?


Get this bounty!!!

#StackBounty: #graphs #trees #graph-traversal Is there a name for this graph search strategy?

Bounty: 50

visit(root)
stack = [root]
while stack is not empty:
    node = stack.pop()
    for child in node.children():
        visit(child)
        stack.push(node)

For this tree:

  a
 / 
b   c
|   |
d   e f
|   | | 
g   h i j

The ordering produced is [a, b, c, d, g, e, f, h, i j]. It’s like a depth-first ordering except that all a node’s children are processed before any of their descendants.


Get this bounty!!!

#StackBounty: #node.js #mongodb #typescript How to connect to MongoDB using Node.js written in TypeScript?

Bounty: 50

I’m working on a Node.js server, connecting to MongoDB and written with TypeScript. When I try to use MongoDB it doesn’t create a connection, however when I check the mongo output it does appear to create a connection.

What am I missing in my code to define the connection in Node.js?

My connection string is 'mongodb://localhost:27017'

My connection method:

connect() {
    console.log('connecting to mongo') //this is called
    MongoClient.connect(this.connectionString, {useNewUrlParser: true})
    .then(client => {
        console.log('setting client'); //this doesn't get called
        this.client = client;
        console.log(this.client);
    })
    .catch(error => {
        console.log('error during connecting to mongo: '); //this also doesn't get called
        console.error(error);
    });
}

Mongo output:

2018-11-08T23:06:24.106+0100 I NETWORK [listener] connection accepted from 127.0.0.1:51345 #11 (2 connections now open)

2018-11-08T23:06:24.107+0100 I NETWORK [conn11] received client metadata from 127.0.0.1:51345 conn11: { driver: { name: “nodejs”, version: “3.1.9” }, os: { type: “Darwin”, name: “darwin”, architecture: “x64”, version: “17.7.0” }, platform: “Node.js v8.9.3, LE, mongodb-core: 3.1.8” }

My repository is at https://github.com/FrisoDenijs/MEAN-ToDo/blob/master/server/src/db/mongo.db.ts for the full code.

console.log(db) as asked by shkaper

MongoClient {
  domain: null,
  _events: {},
  _eventsCount: 0,
  _maxListeners: undefined,
  s:
   { url: 'mongodb://localhost:27017',
     options:
      { servers: [Array],
        caseTranslate: true,
        useNewUrlParser: true,
        socketTimeoutMS: 360000,
        connectTimeoutMS: 30000,
        promiseLibrary: [Function: Promise] },
     promiseLibrary: [Function: Promise],
     dbCache: {},
     sessions: [] },
  topology:
   Server {
     domain: null,
     _events:
      { serverOpening: [Function],
        serverDescriptionChanged: [Function],
        serverHeartbeatStarted: [Function],
        serverHeartbeatSucceeded: [Function],
        serverHeartbeatFailed: [Function],
        serverClosed: [Function],
        topologyOpening: [Function],
        topologyClosed: [Function],
        topologyDescriptionChanged: [Function],
        commandStarted: [Function],
        commandSucceeded: [Function],
        commandFailed: [Function],
        joined: [Function],
        left: [Function],
        ping: [Function],
        ha: [Function],
        authenticated: [Function],
        error: [Function],
        timeout: [Function],
        close: [Function],
        parseError: [Function],
        open: [Object],
        fullsetup: [Object],
        all: [Object],
        reconnect: [Function] },
     _eventsCount: 25,
     _maxListeners: Infinity,
     clientInfo:
      { driver: [Object],
        os: [Object],
        platform: 'Node.js v8.9.3, LE' },
     s:
      { coreTopology: [Object],
        sCapabilities: null,
        clonedOptions: [Object],
        reconnect: true,
        emitError: true,
        poolSize: 5,
        storeOptions: [Object],
        store: [Object],
        host: 'localhost',
        port: 27017,
        options: [Object],
        sessionPool: [Object],
        sessions: [],
        promiseLibrary: [Function: Promise] } } }


Get this bounty!!!

#StackBounty: #javascript #reactjs #google-chrome-devtools chrome js console: can I use it as ES6 react js component?

Bounty: 100

Is any way to have my own instance of Chrome console as react component in my application:

class App extends Component {
 constructor() {
   super();
   this.logger = null;
 }

 render() {
  return (
{this.logger = r}} />
) } event_handler() { logger.log("something happen..."); } }

I need to show certain events occur elsewhere. Console seems to be ideal for that. But I need it to be on my page, not in dev tools.


Get this bounty!!!

#StackBounty: #sharepoint-online #workflow #designer-workflow Overdue task emails suddenly stopped sending?

Bounty: 200

I have a 2013 workflow for Document Approval, and as part of the workflow, a task process is started with a SharePoint group, and sometime within the past 1-2 months, overdue task emails have stopped sending out… but no changes have been made to the workflow.

I have other workflows with task processes that send out overdue emails properly, the only difference I see between them is the one that no longer is working has an “App Step” (but after the task process).

Any settings I should check to help figure out where this is getting blocked up?

Update: The issue is taking place in Document Libraries, but not Lists as far as I can tell.


Get this bounty!!!

#StackBounty: #pseudo-random-function on CPA & KPA security of $boxplus$-Feistel

Bounty: 50

I am interested to identify the effect of replacing $oplus$ with $boxplus$ on basic balanced Feistel structure over $r$-rounds. Given;

$F_boxplus[L,R]= [S,T] = [R,L boxplus f(R)]$ where $f$ is PRF

$[L,R] in left{0,1right} ^{n} $

Q1 . In term of CPA and KPA security, does $boxplus$ replacement add security over 3 rounds, with proof?

Q2 . If $boxplus$-Feistel structure have better security bounds that $oplus$-Feistel, why do not we see it common?


Get this bounty!!!

#StackBounty: #xcode Set Info.plist Value from Build Phase

Bounty: 200

I have an iOS for which I want to run a build phase that reads a value from a JSON file, export that as an environment variable and then read that in my Info.plist.

I currently have:

enter image description here
enter image description here

# Build Scripts/SetAPIVersion
set -e

if ! which jq > /dev/null; then
echo "error: jq is missing. Be sure to git pull `dev-box` and run apply.sh"
exit 1
fi

export API_VERSION =$(cat ../src/version.json | jq .api)

echo "Set API Version to $(API_VERSION)!"

My application will build however the value does not appear to be set. What am I doing wrong here?


Get this bounty!!!