We’ve moved!

There have been some exciting changes in the department over the past few semesters, and the Tufts ACM has been adapting to the changing needs of the students.

First of all, we’ve changed our name! We are now the Tufts Computer Science Exchange. We think the name change will encourage involvement with students from all backgrounds, and make the group a more open and welcoming environment.

Second, we’ve moved our internet presence! We now have a Facebook page http://www.fb.com/tuftsCSX that is updated regularly and an elist https://www.eecs.tufts.edu/mailman/listinfo/acm for Tufts students to stay up-to-date (this link can only be accessed from a Tufts wireless network).

If you are a group or individual with an interesting event idea for the CS students at Tufts, you can contact our executive board at acmexecs [AT] eecs [DOT] tufts [DOT] edu. We love to hear your ideas!

Keep on coding!
Marcella

Technical Interview Tips

Looking to land an internship or job at that company you’ve had your eye on? Slaying a technical interview will undoubtedly be a major step toward getting your foot in the door. Tufts’ Ming Chow has plenty of advice for you.

See the original post with comments here

First things first, be yourself.

Here are questions I and many interviewers will ask:

1. So tell me about yourself.
* The reasons for this question: to check if the interviewee has a pulse and can communicate clearly. Also, I love it when the interviewee speaks about his/her experiences in the field and why he/she wants the job!

2. Tell me about a project that you have worked on.
* If the interviewee talks about a side project or a research project, great! Look, there are lots of smart people out there. But passionate developers are another breed, very hard to find.

2A. Why did you choose to work on this?

2B. Did you use revision control for this project?
* A yellow flag if the interviewee says “No.”

2C. Why did you choose this algorithm / data structure / framework for this project? Why didn’t you use this other algorithm / data structure / framework?
* I want to understand the interviewee’s rationale and thinking process. I also want to see if the interviewee can make tradeoffs. Also, if the interviewee says “I don’t know,” that’s not a bad thing! Admitting to not knowing something is always better than bullshitting through the response.

3. This gem.
* The reasoning for this question: to check if the interviewee can actually program! You do not believe how many people interview for a programming-related job but, well, don’t know how to program! Last spring, a number of students thanked me for stressing this question as this question was asked on their interviews!

4. A data structure / algorithm-related question. Some questions I’ve asked interviewees in the past include:
* Given a sorted array of integers, how would you search for an element? Also, what is the time complexity and can you do better?
* What is the time complexity (in Big-Oh) of traversing (preorder, postorder, or inorder) a binary search tree?
* Given a recursive function, can you make it into a non-recursive function?
* A singly linked list is filled a character in each node. Write a function to determine if the linked list is a palindrome.
* How can you create a queue using two stacks?

4A. More specific tech questions depending on the job position:
* What are the differences between C++ and Java?
* Tell me how you can design…

5. Do you have any questions for me?
* Serious red flag if the interviewee does not have any questions. This is the question to identify who really wants the job!

One last thing, and this is very important about job interviews these days: I (as the interviewer) will know a lot about you, the interviewee, before you come for the interview (thanks to Facebook, Twitter, Google+, LinkedIn, etc.). The job interview should confirm everything that I already know.

2 Upcoming Events

On Saturday, October 13th collegiate hackers from the Boston area will assemble for the Boston Preliminary Programming Contest at Harvard. Teams of 3-4 will compete to write C, C++ or Java programs that solve a variety of puzzles and challenges. The winning team from this contest will qualify to compete against other regional winners in the International Collegiate Programming Contest (ICPC). It’s a fun event with free food and an opportunity to show your problem solving skills. If you are interested in competing, email Hashem.

Also on the 13th, the OWASP Boston chapter will be hosting the third Boston Application Security Conference (BASC) at the Microsoft New England Research and Development Center (NERD). It’s a free event with breakfast, lunch and evening social time but in order to get these benefits you must register here.

Tufts CS Research Speaker Series, i = 1

Following the success of the first Tufts ACM Speaker Series talk will be a presentation from Professor Sam Guyer. He will be speaking about one of his current projects, HeapViz, software that offers developers a visualization of the heap–a large chunk of memory used for data allocation–and navigation tools to go with it. Once again, meet in Halligan 108 on Tuesday, October 2nd from 3:00 to 4:15pm to enjoy food, drink and a closer look at CS research happening here at Tufts.

Startup Bootcamp 2012 at MIT

Want to learn more about startups? Or just hear talks from startup founders of all kinds? RSVP for Startup Bootcamp at the MIT Kresge Auditorium. The event takes place on October 8th and begins at 9:00 a.m. with breakfast and coffee and closes with an afterparty from 6:30 p.m. to 10:00 p.m. The event is sponsored by the Microsoft New England Research & Development Center (NERD) and Women 2.0.

Tufts CS Research Speaker Series, i = 0

Tufts ACM kicks off a brand new series of presentations catered to undergrad CS students next week. The first such talk will be given by Professor Ben Hescott on computational biology. Come to Halligan 108 on Tuesday, September 18th from 3:00 to 4:15pm as we launch into a exciting lineup of professors and graduate students excited to share their diverse CS research taking place right here at Tufts. Food included!

Greenhorn Summit @ Kendall Square

Want to meet entrepreneurs and tech startup professionals located in the Boston area? New to computer science and just curious about what kind of careers are out there? Sign up for the Greenhorn Summit in Kendall Square. It’s a great opportunity to get your foot in the door with all kinds of employers and learn what Boston tech startups are all about. The conference takes place Saturday, October 6th but you’ll get a 50% discounted ticket price if you sign up by Friday and use the promotional code, ‘earlybird’.

@GreenhornBoston

Make use of your Tufts CS web space in seconds

The expectations for branding yourself as a developer are at an all time high. Employers are checking out your LinkedIn, GitHub repositories and, of course, your personal web site. Luckily for Tufts CS students, you can utilize your university provided web space in seconds. Simply do the following:

1) SSH into your Tufts CS directory (more info here).

2) Create a directory named public_html if it does not already exist.

3) Enter chmod 755 public_html to change the public_html directory permission code to designate read/write/execute permission for you (7), read/execute permission for system users (5) and read/execute permission for the world (5). More about permission codes here.

4) Create a file name index.html in the public_html directory.

Optional: Edit the your html file to include the following html markup.

<!DOCTYPE html><html><head></head><body>Hello world!</body></html>

5) While in the public_html directory enter chmod 644 index.html to change the index.html permission code to designate read/write permission for you and read permission for system users and the world.

6) View your site at http://www.eecs.tufts.edu/~YOURUTLNHERE

Example: http://www.eecs.tufts.edu/~amonac01 for Anthony Monaco.

Dethorning STEM: Connectionless Protocols

Max Goldstein E’14 eats, sleeps, fixes segfaults, keeps WMFO on air, and writes essays about minds and machines on his personal blog, Dethorning STEM.

It’s a common joke among computer scientists to liken themselves to the machines they work with. While not as prevalent at Tufts as other schools, the language of memory errors or HTTP status codes creeps into our understanding of ourselves and of our social situations. It’s a whimsical combination of metaphor and geekery. ACK?

There are two primary protocols that computers use to communicate with each other across a network. The first is UDP, which is fast and lightweight. UDP is a single packet hurled across the Internet to whatever fate may befall it. TCP is a more sophisticated protocol that makes various guarantees about the message that it is sending.

For one, TCP is reliable, while UDP is not. The term “reliable” has a special meaning in this context: a reliable protocol ensures that the message will get there. TCP is courteous enough to ask for retransmission if it didn’t receive a packet it was expecting. I’d like to apply to term back to human beings talking to each other.

If we put more emphasis on reliable communication, we’d spend less of the conversation talking and more time listening, to make sure we understood everything that was said. If not, it’s as simple as asking “come again?”, and being patient enough to repeat yourself. Ensuring a reliable connection places value on what other people say, which will lead to more friendships and tolerance. Efficiency and courtesy go hand-in-hand.

Secondly, TCP is serialized, which means it tolerates packets coming in out of order. It puts them in the right order before handing them off to the program above it, say, your mail client. UDP is not serialized, so different parts of the same file can arrive out of order.

Relationships used to be serialized. Courtship rituals bare a striking resemblance to network protocols, algorithmic dances of identification, verification, and only then communication. Or something. Serialization has been left on the sticky concrete floor of the frat house basement. If you’ve spent most of your Saturday nights in Halligan, I should remind you that many of our classmates have the inscrutable tradition of making out before so much as exchanging first names. (It’s as insecure as it sounds.) We’ve lost the notion of “not on the first date”.

In fact, we’ve largely lost the notion of dating altogether. Like UDP, hookups are a connectionless protocol, something we do blindly and without preservation of state from one to the next. It would be awfully hard to have a friendship if every time you started talking you had to introduce yourselves. TCP’s solution is the abstraction of a two-way stream of data. This connection must be set up by hand-shaking, maintained while in use, and eventually torn down. Similarly, only by effort and memory can we form lasting relationships and “connections” to other people.

You may remember the final scene of The Social Network, where Mark Zuckerberg (Jesse Eisenberg) lazily hits refresh to see if the woman he was dating at the start of the film has accepted his friend request. He has been trapped by his own creation. I think that computer scientists have a unique vantage point in our increasingly technologized world. By understanding the limitations of our machines, we are better equipped to, when necessary, put them aside and have a conversation with other human beings.