Firstly I think you should tell us a bit more details. For example, if you were houseless, like a lot of us on here, you need to alter your training techniques, what with not having a crate, house, yard, pads, etc. If that is the case you may want to crash at someones house as your pup is growing up, depending on the age when you get it. My puppy is 7 months now, but I got her at 8 weeks and we stayed at my grandma's house until she was 4 months or so. This was nice because puppies sleep a shit ton when they're little.
Gender is purely subjective. Many people suggest the opposite of your gender, because male/male or female/female couples (especially un-altered) can be difficult to train through their alpha-male/female bullshit. Personally, I've always gravitated towards female companionship, even for non-romantic relationships; I didn't have to think about it much to know I wanted a girl. Females are also smaller than males, some breeds more so than others. Keep this in mind.
Teaching them they're name: Start one-on-one with your pup, look them in the face, say their name and praise praise praise. Treats are good too. It is good to start teaching them their name BEFORE any other commands like sit, lay down, stay. So go slow, focus only on their name at first, and do it regularly. Have other people do the same thing, say the name, when they respond, praise treat praise. At this point you can start other commands, but it is important to keep the name. BEFORE any command, say their name, so they know you're talking to them. "Fiona, sit" (that's my pup) "Fiona, lay down". Another good technique which is fun for the puppy is to have 2 or 3 or however many people with treats, in different places. Take turns saying the puppy's name clearly and offering a treat. He should respond by looking and running towards said treat-giver. Do this as long and as often as you'd like.
As far as general potty training techniques: in the beginning take them out MORE than you need to, so they don't even have the chance to go in the house/camp. [at 8 weeks this should be around 8 times a day. after each meal, play session, walk, or nap] Praise them each time they eliminate outside and start giving potty time a name. Say it before you take them out, say it before they go, and praise praise praise. When they do go inside/in camp (they will, so count on it), do not yell, hit, shove their face in it, etc. They don't know why they're not allowed to poop, so tell them why you're mad, be smarter than them. Carry the poop/pee rag outside to where you DO want them to go and place it on the ground, allow them to sniff it and then praise praise praise! Do this every time they go where you don't want them to, and don't forget to drill in the potty time command. Over time this works wonderfully. My puppy was potty trained within two weeks. Don't get comfortable though, they will inevitably do it again, regardless of how well they're trained, and it's part of having a dog. No matter how old they get if they go where you don't want them, carry it to where you do, let 'em sniff, praise praise praise.
As far as barking, I've never met any puppies that barked a whole lot, but if/when it is an issue, it's as simple as waiting for them to stop, treat/praise them and give it a name. 'Quiet' works well. Let them stop on their own a few times to get the idea that the treat/praise/"quiet" wasn't a one time thing. Then start telling them to "quiet" when you need to. In general, don't repeat commands too quickly. "Fiona, quiet." Wait a second. Try again if it didn't work. Keep saying their name each time also, to get their attention.
The same concept will work for most training. Use treats AND physical praise EVERY TIME they do something good. This will eventually lead to not using treats at all, but only a scratch behind the ear.
An important thing to keep in mind is socialization. When your pup is young you HAVE to get it acquainted with the world, as it's mother would. The more sights, smells, experiences, different kinds of people, etc. that your pup meets will make for a well rounded, calm adult dog. For example many dogs HATE skateboards/boarders. Make a couple short trips to a skatepark or something and hang out. Treat them and praise them and let them relax around the skaters. Similarly, meet/greet many types of people; fat people tall people, crazy people, babies, people of color, etc. Diversity is key.
As far as general good behavior, use your own attention as discipline. Puppies are just like babies, they like both good and bad attention, so yelling/hitting won't work. When they start pushing the boundaries (just like babies/kids) its all about body language. [In general start watching how they communicate with you, ignoring you or moving away and looking away when they don't want your attention] Do this to them; if they start jumping/bitting/trying to play with you, push them backwards and very purposefully look away from them. Cross your arms so they can't play with them, even turn around if you want. If you're petting them and they keep trying to bite, simply draw your hand away, look somewhere else, wait; try petting again. Repeat as necessary.
Some suggestions from a so-far-successful puppy trainer with no house: get to know your dogs personality like your own; figure out what makes him tick, what he loves and what he needs. Do this by reading up on your breeds unique characteristics and by spending tons of quality time with them. If some training doesn't work try something else until it does. You are a parent now and parents need to be creative; no two dogs are alike, just like humans, so there's no manual.
Let him respect you, you are his mother/friend/pack leader. Your pup will learn to trust and to respect you over time, but some suggestions are to feed them after you eat, enter doors before them, and in general don't give them a reason NOT to trust you. The rest is genetic and dates back thousands of years, for dog truly is man's best friend.
Enjoy your friend, for he/she will love you unconditionally and teach you many things.
Did I miss anything?