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: 
I have used this snippet for more than 3 years.

```bash

laravel new demo 

cd demo 

sudo find ./ -type f -exec chmod 664 {} \;    
sudo find ./  -type d -exec chmod 775 {} \;

sudo chgrp -Rf www-data storage bootstrap/cache
sudo chmod -Rf ug+rwx storage bootstrap/cache
sudo chmod -Rf 775 storage/ bootstrap/

php artisan storage:link

```

And @realtebo recommendation looks good. I will try.

```bash
sudo find . -type d -exec chmod g+s {} \;  <----- NOTE THIS

```
Mac OS Big Sur

1. In my case artisan couldn't access   

`/var/www/{project_name}/storage`   
to create files ex. in /logs folder
so I had manually to go to
`/var` and create the structure of folders that Laravel need to make symlink.
2. Add access to folder
`sudo chgrp -R $USER /var/www/project_name`
3. Then I could use
**`php artisan storage:link`** without any problems.