Tag Archives: CS

Recursion in real life

7 Oct

This semester, I am teaching a new class: Intro To Programming. I try to find ways to explain stuff so that all of my students (and me) understand it. Recursion is complex, but it reminds me of trying to make lunch plans when several people are involved. And when a function calls itself, it’s like putting a conversation on hold. Recursion

Recursion is when three calls are put on hold before a lunch decision is made.

Asha would like to have lunch with Blake.

They call Blake.

They say: Hi Blake, would you like to go for lunch in the student center?

Blake says to Asha: That’s a cool idea, but I was hoping to meet with Cynthia today.

Let me put you on hold and call them.

They call Cynthia

They say: Hi Cynthia, would you like to go for lunch in the student center?

Cynthia says to Blake: That’s a cool idea, but I was hoping to meet with Danny today.

Let me put you on hold and call them.

They call Danny

They say: Hi Danny, would you like to go for lunch in the student center?

Danny says to Cynthia: That’s a cool idea, but I was hoping to meet with Emilia today.

Let me put you on hold and call them.

They call Emilia

They say: Hi Emilia, would you like to go for lunch in the student center?

Emilia says to Danny: Yes! I’ll meet you at the student center.

Emilia hangs up

Danny says to Cynthia: Yes! I’ll meet you at the student center.

Danny hangs up

Cynthia says to Blake: Yes! I’ll meet you at the student center.

Cynthia hangs up

Blake says to Asha: Yes! I’ll meet you at the student center.

Blake hangs up

Asha is happy. All phone calls are ended and our friends can go to lunch!

 

Jobs in physiology and CS at SFSU

16 Nov

There are two job searches that interest me this year on our campus. One in our department (Biology) for an animal physiologist (the committee already started looking at applications, so if you are interested, you need to be fast!). The link to the ad is here .

The second search is in the Computer Science Department, and the ad is here. They are looking for someone with a “background in the database area, but also in areas related to social networking and collaboration, mobile computing, cloud computing and/or human/computer interaction.”

Both jobs are open to candidates at the assistant or associate professor level.

SFSU is a great place to work. Here are all the reasons why I am happy to be at SFSU.

If you are interested in doing research, training an extremely diverse student body and living in San Francisco, you should apply! Shoot me an email if you have any questions (pennings at sfsu dot edu).