## Which company registration is needed to complete the Facebook Business verification

I’m trying to complete the review process to get users_friends permissions for an application using Facebook API.

App Review Step 2 – Business verification required

The permissions and features review for “Application Name” is complete. Next, we’ll verify your business.

To do this, you may need to provide documentation like a business license or utility bill.

• Certificate of Formation or Incorporation
• Tax or VAT Registration Certificate

I’m just a single developer. My question is, Do I need to register myself as a Fictitious name or DBA (Doing Business As) with the state (US) to complete this process? Is this (DBA Registration) a valid certificate for Facebook in order to complete the Business verification? Has someone completed the Business verification using a DBA registration?

All topic

## Determine the domain of the inverse of \$f(x) = 2x^2 + 8x – 7\$, which is a function.

Determine the domain where the inverse of \$f(x) = 2x^2 + 8x – 7\$ is a function.

1. So, I started off switching the \$y\$- (the \$f(x)\$) and \$x\$-value, like so:

\$x = 2y^2 + 8y – 7\$

2. Then, I plugged these values into the quadratic formula, getting:

\$f^{-1}(x) = (-8 pm sqrt{120})/4\$

First off, is the inverse written correctly (this problem is different from the others I worked on)? And second, since I have a (\$pm\$) sign, does that mean there will be two different domains?

All topic

## Which DOS for a TRS-80 Model 4P?

Looking at the TRS-80 Disk Software Page, there’s a rather extensive selection of DOS options that seem to work with the 4P and also claim high compatibility with the Tandy “TRSDOS” option.

Considering that I have a 4P with two floppy drives, and I’d like to run Model III and Model 4 native software (not CP/M), is there a particular DOS which is considered superior? I think my main criteria are compatibility, ease-of-use, and easy booting into both Model 4 and Model III modes. The 4P has no Model III ROM, so the DOS needs to support disk loading it for compatibility with Model III programs.

Note: I’m not concerned about Y2K compatibility.

All topic

## Which monsters have immunity or resistance to non-silvered non-magical weapons?

The Player’s Handbook (p. 148) (and the Basic Rules) state about silvered weapons:

Some monsters that have immunity or resistance to nonmagical weapons are susceptible to silver weapons […]

Which monsters have immunity or resistance to non-silvered non-magical weapons?

All topic

## Any simple way to iterate through a c# array like in python, which allows going out of range?

How to achieve similar behavior in c# like in python lists and arrays?
Is there any existing class?

``````var colors = new Color [4] colors;
(colors[6] == colors[2] == colors[-2]) // Exception, and it would be false, but not in python
``````

I have tried this, but there seems to be a bug somewhere and I just wonder if there is an existing solution for c#.

``````    public class SafeArray
{
public T[] data { get; private set; }
private short index = 0;

public SafeArray(T[] values, short DefaultIndex = 0)
{
data = values;
index = DefaultIndex;
}

public T Get(int delta, bool MoveIndex = false)
{
try
{
var value = data[delta];
if (MoveIndex) index = (short)delta;
return value;
}

catch
{
// normalize to the array's length, e.g. if delta = 18 and array size 5, subtract 15 from delta
delta -= (int)(Mathf.Floor(Mathf.Clamp((float)(delta / data.Length), 0, float.MaxValue)) * data.Length);

if (index + delta < 0) delta = data.Length - Mathf.Abs(delta + index);

if (index + delta > data.Length) delta = delta - (data.Length - index);

if (MoveIndex) index = (short)delta;

return data[delta];
}

}

}
``````

All topic

## Wrap a cron job around a script which queries MySQL tables on host

I have an `input.sh` script which basically connect to mysql-db and query multiple tables to write back the output to the “output1.out” file in a directory.

I would like to pass an integer (unique_id = anything b/w 1- 1000) next to the script everytime I run the script which generates output file by that integer I passed (output1.out, output2.out …. etc….)

I simply run this command:

``````sh input.sh 88 |mysql -h XXXX -u XXXX -p XXXX ---> this writes back the output(output1.out) file to a location.
``````

What I need:

I would like to write a wrapper script and schedule with a cron job to run this script daily with multiple unique_id’s at once and write the output files with respective unique_id numbers ( output1.out, output2.out etc..) and send the resulting output file (output1.out) as an attachment to an email distribution list..

The format of the output file should be more manageable, for example, the email recipients(users) can change the format, so it can be read/edited in excel, add a column for action.

o/p file to send in email, for example:

``````output1.out --- email1.abc.com

output2.out --- email2.xyz.com etc....
``````

please let me know how does this works – let me know in detail steps.

All topic

## inverse() vs pinv() which one good for linear system

I have a linear system A*x=b. Here x value is unknown. So I have to find out the value of x. A is sparse matrix whose diagonal and off diagonal element have some value. Others are zero or tense to zero.

I am using matlab to solve it. I have two option

1. x= inv(A)*b

2. x=Ab

But both give me same result NaN. I know this will happen because A is a sparse matrix. So, I am trying pinv() which is pseudo inverse. Now I get some value.

I create this thread to take a opinion from stackoverflow community that is it good when inverse failed to produce result take a help of pseudo inverse? What type of result pseudo inverse produce? Is it authentic or it is a form of error?

All topic

## formula for a linear map which is a right-inverse on the image of given map.

Say \$\$L:mathbb{R}^nrightarrow mathbb{R}^m\$\$ is any linear map with matrix \$A in M(mtimes n, mathbb{R})\$. Then there exists a linear map \$\$K: im(L) rightarrow mathbb{R}^n\$\$ which is a right-inverse for \$L\$ (as a map into \$im(L)\$). So we may extend \$K\$ to \$\$tilde{K}:mathbb{R}^mrightarrow mathbb{R}^n\$\$ say by first projecting \$mathbb{R}^m\$ orthogonally to \$im(L)\$.

Is there some formula for \$tilde{K}\$ (or any other extension of \$K\$) that we can write down only in terms of \$A\$? I.e. without going in and picking out linearly independent columns of \$A\$ etc.

For instance if \$L\$ has rank \$m\$ we know that \$A^t(AA^t)^{-1}\$ is such a formula.

I suspect the answer is “no” so in that case is there some some plausible reason no such exists?

All topic

## Bundle a typescript project which requires webpack

I’ve been working on a project written in Typescript 3.0.1.
Webpack is imported as a dependancy and all works just fine (I use the webpack NodeJS API).

Finally, I was trying to bundle the whole project (which requires webpack)
with webpack.

I searched a lot for something similar but I didn’t find that someone has done this before.

I get some errors from fsevents and node-pre-gyp which I cannot solve:

```ERROR in ./node_modules/fsevents/node_modules/node-pre-gyp/lib/unpublish.js ERROR in ./node_modules/fsevents/node_modules/node-pre-gyp/lib/publish.js Module not found: Error: Can't resolve 'aws-sdk' in '/Users/uriahahrak/Desktop/ahrak/witty-cli/node_modules/fsevents/node_modules/node-pre-gyp/lib' ERROR in ./node_modules/fsevents/node_modules/node-pre-gyp/lib/info.js Module not found: Error: Can't resolve 'aws-sdk' in '/Users/uriahahrak/Desktop/ahrak/witty-cli/node_modules/fsevents/node_modules/node-pre-gyp/lib'```

and some warnings from same libraries and from fsevents.js.

I have tried these solutions:

1. Installing aws-sdk as a dev-dependancy and as a dependancy – that actually removed the errors, but kept the warnings. And the bundle would not work – it throws an error about a utils.js file which is not found.

2. Tried to add a noParse property to the webpack config, and that removed the errors, kept the warnings and again – the bundle would not work because of a utils.js.

3. Tried to compile with tsc, and then bundle the distributed js file as an entry point. Same errors.

After a lot of searches, the only way it works is with tsc, but there are many files generated and I would like to bundle them so it will be used as a standalone js program.

node – 8.12.0
npm – 6.4.1
typescript – 3.0.1

Let me know if you need more details.
Thanks a lot!

Uriah.

All topic

## Which ISOs support preseed?

The desktop ISO doesn’t seem to support preseed. Is it expected that only the Server ISO does?

All topic