Question: I have two big numpy arrays, I need to divide them.

Since I am working on Python 32-bits, and the arrays are too big, to avoid `FloatingPointError`, I am doing, for example:

```
x = numpy.array([...],dtype=object)
y = numpy.array([...].dtype=object)

```

The problem is that, inside the array `y`, some elements can be 0.0

So, my question, how to handle the calculation `x/y` and avoid `ZeroDivisionError`.

For exmaple, I would like to force `nan` if the element in `y` is 0. So that, for that particular element inside the array, the calculation `x/y=nan`

Answer: 
This was written in 2017 for around version 5.1~5.2. Use some common sense before you use this on later versions of Laravel.

I decided to write my own script to ease some of the pain of setting up projects.

Run the following inside your project root:

```
wget -qO- https://raw.githubusercontent.com/defaye/bootstrap-laravel/master/bootstrap.sh | sh

```

Wait for the bootstrapping to complete and you're good to go.

[Review the script](https://raw.githubusercontent.com/defaye/bootstrap-laravel/master/bootstrap.sh) before use.
I found an even better solution to this. 
Its caused because php is running as another user by default.

so to fix this do

`sudo nano /etc/php/7.0/fpm/pool.d/www.conf`

then edit the
`user = "put user that owns the directories"
group = "put user that owns the directories"`

then:

`sudo systemctl reload php7.0-fpm`