Join a group, any group.
Close friendships come with time, make the time for that friend and do things together even if it's dumb. You're not there to impress them or vice versa but just the best of them and the best of you sometimes meet up and show the other person that there is something admirable, in morals and values or skills like your programming. You have something to share and time is the most valuable. So make some time with the people you want to be close to.