I'm going to in the other direction here. Depression is reasonable. It's your brains way of telling you you are screwing up, becoming a liability, a drain on other people, a darwinian/genetic failure, or something like that. It's telling you you have a problem and you need to solve it. The beauty of this is that YOU CAN.
In this case, the fact that you went on Tinder to solve it is pretty telling. It means that you want to, frankly speaking, make sure you're not a genetic failure, or a failure on the status hierarchy, or both (probably both). The suicide impulse is, in my VERY UNSCIENTIFIC opinion, an evolved impulse to reduce your potential drain on the tribe. And some quirk of the male brain (not a scientist, just a man) says "not worthy to reproduce (in the eyes of women)"="not worthy to exist/drain on the tribe." The solution is to make yourself not a drain on the tribe, by making yourself useful in some capacity and/or progressing towards reproductive/social status success. The solution is not to die, it is to earn the right to live, by your own reckoning. Having faced the same sort of thing a few years back, here are my suggestions.
1) Go lift some weights, if you don't already. Stronglifts 5x5 to start, or some similar beginner linear-progression weight lifting program for 3-6 months (no more than that), followed by something like 5/3/1 will help you mentally, physically, and socially (yes, socially). The effects on your brain are important. Beyond just the hormonal effects of weightlifting, you also get the sense of progression from seeing the weights go up on the barbell every single workout. From the perspective of someone who feels they aren't really making progress in life, that can be a very enlivening feeling. Finally, even the beginnings of a real, male physique, which you'll see after 8-12 weeks of hard work on a beginner program will make people more inclined to talk to you, like you and respect you.
2) Take some Vitamin D. It's important for your hormones. Vitamin D deficiency might be an issue, might not. But take some and make sure that it isn't an issue.
3) Make small talk with every person you meet. Not every woman, every person. No expectations. Just have fun. In the starbucks line? Chat. At the grocery store? Chat. Water cooler? Chat. Library? Chat. You will suck at this at first, but you'll get good at this in time. This should fix the isolation/shunned by the tribe/status hierarchy failure problem, or at least ameliorate it.
4) Do you have an older male mentor? Not one for programming. You'd be better off hitting up a boxing gym or BJJ gym or something.
5) Eat some red meat, some eggs, some other stuff that's conducive to high testosterone levels. No crazy snake oil stuff, but just healthy, nutritious food that makes you feel good and does good things for your body.
6) Get a social activity of some sort. If you're still in school (grad school?) join a club of some sort. If you're out of school, maybe hit up some meet ups. The hobby kind, not the professional kind.