Python code

import itertools
import time
import math
from turtle import *
import random

# Takes a polygon p and returns its perimeter
def perimeter(p):
perim = 0 # perimeter
numPoints = len(p)
for i in range(numPoints): # for the P above, i will count 0, 1, 2, 3
perim = perim + EKdistance(p[i], p[(i+1)%numPoints])
print perim

# finds the distance between points p and q
# p and q are both tuples p=(0,3) q=(1,5)
def EKdistance(p, q):
return math.sqrt((p[0]-q[0])**2+(p[1]-q[1])**2)

def Is_Counter_Clockwise(P):
sumDet = 0
numPoints = len(P)
for i in range (numPoints):
sumDet = sumDet + EKdet(P[i], P[(i+1)%numPoints])
if sumDet < 0:
return False
return True




Computer Science wins Trunk or Treat!


Hello, all,

We won! The ACM Student Chapter just got the first place prize in Trunk or Treat. I’d like to thank everyone who volunteered to help out, especially Jack, who let us use his car even though he couldn’t be there himself, John Peter, who programmed the robot and dressed up like Darth Vader, and Ted Morin, who helped weaponize the robot and got costumes for the rest of us. Now we have $75 more for public events, so let’s start thinking about how we can use it!
Thanks again,
Brian McCutchon

Interesting Workshop — Free! End of April. Register now.

This year we are repeating the AT&T IoT and IFTTT Coding Workshops 4 times – the content is identical, so chose the one that works best for you.

Session 1: Wednesday afternoon, April 20

When: 12 – 4 p.m. (registration & lunch 12 – 1, workshop 1 – 4)


Session 2: Wednesday evening, April 20

When: 5 – 9 p.m. (registration & dinner 5 – 6, workshop 6 – 9)


Session 3: Thursday afternoon, April 21

When: 12 – 4 p.m. (registration & lunch 12 – 1, workshop 1 – 4)


Session 4: Thursday evening, April 21

When: 5 – 9 p.m. (registration & dinner 5 – 6, workshop 6 – 9)


(All sessions are the same.)

Free and open to everyone. Note that you must register on Eventbrite (links above)

Additional Info:

Excited by the Internet of Things (IoT)? Interested in learning about IFTTT (If This Then That)? Then join the AT&T Developer Program and Texas Instruments as we expand on last year’s IoT DevLab Coding Workshop. This year we have added labs on IFTTT and AT&T Flow Designer (a web-based development environment for designing, building, and deploying IoT solutions). In addition, TI will join us to talk about hardware solutions in the world of IoT.

Attendance at last year’s DevLab is not required to participate in this year’s event.

This year we will be using the TI MSP432 LaunchPad and CC3100 SimpleLink Wi-Fi BoosterPack Internet-connected development boards – yours to keep – for our lab exercises. An extra perk? Attendees will be entered in drawings for a TI Educational BoosterPack MKII and a CC2650 SensorTag Bluetooth kit!

This is a 3-hour, hands-on coding workshop in which AT&T and Texas Instruments subject matter experts show you how to work with Internet-enabled devices then provide help as you go through coding examples yourself.
The event is free and we will be serving dinner. So bring your Windows or Mac laptop and join us for an afternoon of learning, coding, socializing, and eating!

Tools: Using Postman, cURL, and JavaScript for the lab exercises. More technical details on the Eventbrite registration site. So bring your laptop and join AT&T, Girl Develop It Chicago, and TI for an afternoon or evening of learning, coding, socializing, and eating!

Seating is limited so sign up soon. (Note that the content of all workshops is the same.)

Tech EdVentures is hiring for the summer


Tech EdVentures teaches engineering, coding and design to kids in grades K-8. Now in our third year of operations, we are experiencing dramatic growth.
We currently have openings for summer staff between May 31 and Aug 19. For details see our website.
We are also looking for undergraduates/grad students at UTA, UTD, DBU and SMU to help us recruit staffing for summer and year-round programs.