Those tracks running off to the northeast of the nearby Hanoi railway station appear well maintained and in use, though I have to admit I have never seen a train passing on the several occasions I have walked by this location. As I recall, the first time I visited Hanoi in 2015, there were no cafes lining the sides of the tracks. Somebody decided, rightly it seems, that this location would appeal to foreign tourists visiting Hanoi. If you happen to be a train buff, you have probably noticed that Vietnam uses very narrow gauge tracks.
The old city in Hanoi has specialty streets. Hàng Giày is for shoes, to name one. There is a street for bamboo and streets for various kinds of dry goods. And one for Christmas decorations of all kinds. Not really what one expects to find in Vietnam, but here it is.