1 is better as it has 8GB of RAM, but that SSD is barely enough for just the OS, you will have to replace it.
2 only has 4GB of RAM, not really enough, will need at least 8, but the HDD has 1TB so enough space for what you need.
I'd get #1 if those are your only choices, buy a 500GB - 1TB SSD...