find the limit of $\lim_{x \to 0} \frac{1}{8}\sin(x)^{1/x^2}$ 
$$\lim_{x \to 0} \frac{\sin(x)}{8}^{\frac{1}{x^2}}$$

$y=\lim_{x \to 0}\frac{1}{x^2}\cdot \lim_{x \to 0} \ln(\frac{\sin(x)}{8})=-\infty$
So we have $e^{-\infty}=0$?

The limit is $0$.
We have for $0 < x < 1$ the inequality
$$-\log x = \int_x^1 \frac{dt}{t} \geqslant \frac{1-x}{1} \\ \implies \log x \leqslant x - 1$$
If $x > 0$, then as $x \to 0+$
$$\frac{\log \sin x}{x^2} \leqslant \frac{\sin x - 1}{x^2} \to -\infty.$$
If $x < 0$, then, extending into the complex plane,  as $x \to 0-$
$$\frac{\log \sin x}{x^2} = \frac{\log\left( -\sin |x|\right)}{|x|^2} = \frac{\log\left( \sin |x|\right) + \log(e^{i\pi})}{|x|^2} \to -\infty.$$
Hence
$$\lim_{x \to 0} (\sin x)^{1/x^2} = \exp\left(\lim_{x \to 0}\frac{\log \sin x}{x^2} \right) = \exp(-\infty) = 0$$
