Can I safely power my computer with a portable generator?

I asked the same question last year. The replies I got should be useful: