If your name or last name is quite unusual, I would personally go with a lastName.com. However, chances are it is already taken.
In case it is, I would go with a firstName.dev or lastName.dev as the second option. Dev stands for developer/development, and it is widely used by many of us.
If you plan to develop a technology-related app where users are able to interact with, instead of just being a static portfolio site, I would go with firstName.io or lastName.io.
Note that .io domains are more expensive than the ones previously mentioned, but you can get one for like $50 a year.