One type is to envision the pain and suffering of people and respond compassionately in a way that eliminates their pain and suffering. When I was suffering terribly myself I constantly wished for others who were in similar difficulties to be freed immediately. This actually made me feel a lot better. The problem is that for some people dwelling on suffering is a real bummer.
The second type is similar to the text linked above: cherishing all beings as they are, as if they were your very children that you love so so much. Lately, my meditations have started to transition toward this type and I've felt spontaneous feelings of bliss and love toward others that grows the more I do it. And this kindness is naturally starting to come out in my behavior and interactions with others.
In both cases, the meditations develop "bodhicitta", which is a word that describes the attitude of wishing others well. It's said that this attitude, when trained, nourished, and grown is the very cause of all happiness and when perfected causes happiness to bloom uninterruptedly. Therefore, it is an extremely beneficial and powerful practice.
It's fantastic to see this text linked on Hacker News even without much context. Wishing you all well!