Recently I had some questions about how to operate my side business under the intellectual property agreements I’d signed at my full-time job. I needed a lawyer. Having little experience working with attorneys before, I had no idea about the right way to go about finding somebody who could help my business succeed while not also bankrupting me. Here are a few things I’ve learned from going through the process.

The first thing to do is to get a list of possibilities together. I leveraged my personal contacts as much as possible, asking them for recommendations. If you’re on (or know people on) email lists of local entrepreneurs, that’s a great place to ask for suggestions. Hacker News can be a great resource also. Once I got the list together, I narrowed it down to 6-8 that were highly recommended and seemed to be in line with what I was looking for.

Every lawyer will give you an initial consultation to figure out more about your business and sell you on their abilities. This is a great time to talk about what you’re trying to do, as well as specific issues to try to get their opinions. Since you’re not paying for this, you might as well get as much advice as possible! They’re not going to draft anything for you, but if you’ve got conceptual questions, this is a great time to get them answered.

You also want to get some basic information about the lawyer you’ll be working with and their payment practices. Questions to ask during the consultation:

How much of your time is spent on emerging businesses or startups? - Legal recommendations are very different for small businesses versus the Fortune 500. There are so many lawyers out there focusing on startups that there’s very little reason anymore to work with someone who isn’t.

How much of your time is spent on technology businesses? - Someone who knows your subject area will know common practices and be able to give you better advice than someone for whom you have to explain basics. For example, there are ways to structure an apps business that make it easier to sell one of your apps to another company. Someone with experience will know when this is a good idea and be able to proactively suggest this. As above, there are so many attorneys specializing in working with technology companies that you might as well find someone who knows your business.

Are you full service? - Some law firms are “full service”, meaning they have departments specializing in most issues you’ll come across, like intellectual property, M&A, and litigation. That can be helpful, but usually comes at a price. Many startups can do fine (and save money!) with a smaller law firm. Many full service firms have offices in all the major markets, like New York, DC, and Silicon Valley, which can be helpful if you’re thinking about moving to or raising money in another city.

Are you the partner/associate that’s going to be doing my work? - At big law firms, many times the partner you talk to sells clients on the firm and handles high level details, but for day-to-day stuff you’ll be dealing with an associate. If this is the case, make sure you also talk to the associate. They’re going to have a lot bigger impact on your relationship than the partner. If you’re dealing with a one-person or boutique law firm, odds are good you’re talking to the person you’ll be working with, but it’s always good to check.

How much is your hourly rate? - Every lawyer is going to spin this differently, but there is definitely a case to be made for the rate vs efficiency argument. If you’ve got an inexperienced lawyer who’s going to have to do a bunch of research, they might charge you two hours for something that would take an experienced lawyer 15 minutes. This can add up quickly! If rate is a primary concern, a good balance can be found in somebody who worked at a big firm for years, then started their own practice. They’ll have lots of experience, but lower rates.

Is there a retainer required? - If you don’t have a lot of work to be done, putting down $5000 for a retainer makes no sense and can be a real drain on your finances. In many cases, you can work out an agreement where the firm will do work without a retainer as long as there aren’t an unreasonable amount of hours unpaid. When I was first starting, the initial work ended up getting completed in 2-3 hours, so I wasn’t a big payment risk. Obviously if you need hundreds of hours of work, they may evaluate the risk a little differently. This is usually negotiable and if they want your business, they’ll find a way to make it work. If you’re just starting out and don’t have a lot of legal needs, paying a large upfront retainer or a monthly retainer makes no sense.

Do you mainly work with clients who’re raising money? - Some of the big firm lawyers can help you raise VC or angel money through introductions to contacts. In many cases, they’ll float you the incorporation and setup fees in exchange for getting paid when you raise money, since closing a round generates a boatload of legal fees. This can be very helpful if you’re trying to raise money, but result in unwanted pressure if you aren’t. I was starting a lifestyle business, so raising money wasn’t a goal. One of the guys I talked to told me they mainly dealt with people who’re trying to get to a liquidation event, and most of their clients raised money. In that case my interests weren’t aligned with theirs, so we both agreed that working together wasn’t the best idea.

How much will it cost to incorporate my business? - If you’ve already incorporated, ignore this section. I was surprised at the variety of rates I heard for this service. If all you need is a standard business set up, it should be fairly affordable. Most lawyers I spoke to were in the $500-$800 range. Obviously if you have a lot of custom work required, it’s going to cost a lot more, but there’s no way you should be paying $5000 just for a fill-in-the-blanks operating agreement and incorporation papers.

Once you’ve met with everybody on your list, you should be in good position to decide. I’m no expert on the legal realm, so let me know if there are other issues I missed here.

I’m in the process of writing a simple game engine for the iPhone and have been doing a lot of research about game engine design. I also looked into using a prebuilt iPhone game engine, but decided it would be more fun to write it myself. Here are some resources I found helpful.

BooksGame Engine Architecture - A textbook about game engine design, this presents options and tradeoffs for each piece of the engine. Light on actual coding, so you’ll have to be able to develop things yourself, but jam-packed with useful information. I found this invaluable while in the design stage.Game Coding Complete - Walks through the process of building a game engine and using it to create a full-fledged game, complete with AI and multiplayer networking. Found it useful in tying the pieces together, but only presents one approach to most problems.

Engines for other platformsUnreal - One of the most successful game engines on the market. Worth reading through the documentation to pick up on design considerations. Separates out most game logic into a custom scripting language called UnrealScript.Source - Valve’s engine for Half Life 2 and many mods. Extensive wiki documentation.idTech 3 - Engine from Quake III Arena, now open sourced. A few years out of date, but shows a lot about client-server programming as well as insane performance optimizations. There are a couplepeople who have gone through the source and give pointers on things to look at, which is immensely helpful.Panda3D - Open source engine written in Python and C++. All game logic is written in Python. Does a good job of showing how to separate engine code from script.OGRE - Open source C++ engine in process of being ported to iPhoneCrystal Space - C++ open source engine

At any new job, there are a lot of things for engineers to learn. It’s easy to get distracted by platforms, languages, team characteristics, the industry, business models, etc. One area that gets frequently overlooked is learning your company’s core competency or technology. At every company (or department within a large company), there’s an area that’s their specialty. For Apple, it’s building intuitive products. For Oracle, it’s organizing huge amounts of data. While you can come out of a job and say that you grew your general software development skills, it’s better to do that and gain a new area of expertise.

Your company’s core strength may not be part of your job description. You may be working on back-end enterprise reporting for a company that prides itself on brilliant user interfaces or doing interface work for a company that specializes in data analysis. While you may not ever be directly working on the core competency, it’s still possible to learn enough to be useful later on. If it’s something that can be researched on your own, grab some books and do some reading. Talk to people who are working on it and get their opinions and ideas. Unless your company is highly secretive, you probably have source code access. Look into what tools are being used and read the source. You don’t necessary need to know it line by line, just enough that you understand the concepts involved and could participate in a discussion about pros and cons.

Obviously, if you’re working on web applications you should be very familiar with web programming. It’s going to be assumed in the future that you’re an expert in the language and platform on which you spent the most time. While it’s essential to learn these things, most companies’ core competency is not knowledge of a platform or language. 37signals aren’t focused on Ruby on Rails, they design simple, clean products. ngmoco don’t pride themselves on knowing iPhone APIs better than anyone else, they’re good at making fun mobile games. While learning the platform is essential, it’s important not to confuse that with learning the company’s core competency.

Being familiar with your company’s core competency enables you to be part of the important discussions that go on every day. When you don’t understand the key concepts involved, you’ll have a hard time participating in conversations about changing the core product. When you have the knowledge and can offer suggestions, you’ll get involved more and will be seen as more valuable to the company. If a key project needs another person, you’ll be much more likely to get on it. A developer with key domain knowledge is also much more difficult to replace, which can benefit you financially and in terms of job security.

Unless you’re staying focused to one specific industry, these things are usually fairly unique. In the first two jobs I’ve had out of college, I’ve learned all about call platforms (the software that manages automated phone calls), machine learning, and ad servers. While some of these are more generally applicable than others, I’ve had all of them come up in conversations about unrelated topics. When you’re applying for your next job, every other applicant is also going to list being good at web programming. It’s the other interesting details that make your resume really stand out.

When I got Snow Leopard, I decided to do some house cleaning. I wiped the disk and reinstalled everything from scratch. I didn’t have any problems along the way until I went to install my favorite network protocol analyzer: Wireshark.

Installing is a simple matter of dragging the application into your Applications folder, but there’s also a startup item that sets some necessary permissions. To set that up, go into the Utilities folder on the Wireshark disk image, and drag the ChmodBPF folder onto the StartupItems shortcut. It’ll prompt you to authenticate and then copy. If you restart at this point, you’ll get an error message that says “Insecure Startup Item disabled. - “/Library/StartupItems/ChmodBPF” has not been started because it does not have the proper security settings.”

Using information from an Apple support article, I realized you need to change the owner of the scripts for them to be run on startup. Run the command below and everything will work fine!

cd /Library/StartupItems
sudo chown-R root:wheel ChmodBPF

Update (7/14/2010) - Make sure you restart your computer after running this command. The script only runs at startup, so just changing the permissions doesn’t do anything by itself. You have to restart for the script to run.

Update (1/26/2011) - From whaefelinger (in the comments): No you don’t need to [restart your computer]. To check whether the script gets automatically executed, just log out and log in again. Strictly talking, you don’t even need to do that. Just run the script like ‘sudo /Library/StartupItems/ChmodBPF/ChmodBPF start’ to get going.