how do I tell the difference between flirting and friendliness?
Flirting is tinged with sexuality, either explicit or subtle. Maybe a touch on your arm, a wink, or innuendo. A lot of it is context-dependent, as well: for instance, the exact same words and behavior can be flirting when a guy says it to a girl, but not when a guy says it to a guy (the social default is that everyone is straight; this is different in a gay bar, for instance).
Also, how do you go from talking to someone at the beginning/end of class (or other activity) to actually being the kind of friends who see each other elsewhere and do activities together?
You have to actually be active and ask the person for their phone number, invite them to get coffee, go bowling, whatever. It doesn't always work out -- you may not meet up with 90% of them -- but the other 10% will become your friends.
I am beginning to suspect that it is surprisingly common for intelligent, competent adults to somehow make it through the world for a few decades while missing some ordinary skill, like mailing a physical letter, folding a fitted sheet, depositing a check, or reading a bus schedule. Since these tasks are often presented atomically - or, worse, embedded implicitly into other instructions - and it is often possible to get around the need for them, this ignorance is not self-correcting. One can Google "how to deposit a check" and similar phrases, but the sorts of instructions that crop up are often misleading, rely on entangled and potentially similarly-deficient knowledge to be understandable, or are not so much instructions as they are tips and tricks and warnings for people who already know the basic procedure. Asking other people is more effective because they can respond to requests for clarification (and physically pointing at stuff is useful too), but embarrassing, since lacking these skills as an adult is stigmatized. (They are rarely even considered skills by people who have had them for a while.)
This seems like a bad situation. And - if I am correct and gaps like these are common - then it is something of a collective action problem to handle gap-filling without undue social drama. Supposedly, we're good at collective action problems, us rationalists, right? So I propose a thread for the purpose here, with the stipulation that all replies to gap announcements are to be constructive attempts at conveying the relevant procedural knowledge. No asking "how did you manage to be X years old without knowing that?" - if the gap-haver wishes to volunteer the information, that is fine, but asking is to be considered poor form.
(And yes, I have one. It's this: how in the world do people go about the supposedly atomic action of investing in the stock market? Here I am, sitting at my computer, and suppose I want a share of Apple - there isn't a button that says "Buy Our Stock" on their website. There goes my one idea. Where do I go and what do I do there?)