41
CodeCraft meeting May 2012 Mariusz Nowostawski @praeteritio

What you did last summer?

Embed Size (px)

DESCRIPTION

Mariusz Nowostawski from dothinger team was talking at CodeCraft about his two summer projects: TabacooFree and DoThinger.

Citation preview

Page 1: What you did last summer?

CodeCraft meetingMay 2012

Mariusz Nowostawski@praeteritio

Page 2: What you did last summer?

About myself

• Lecturer– Information science: telecommunications, AI,

programming (software engineering), security, network administration, design, multi-agent systems

• Scientist– Virtual machines and machine learning, evolutionary

computing, self-evolving software, mobile and ubiquitous technologies, modeling life

• Adventurer and others…– Running, mountain climbing, cycling, paragliding, etc.

Page 3: What you did last summer?
Page 4: What you did last summer?
Page 5: What you did last summer?

Today’s talk

Summer project 1 applied research

Summer project 2 scaffolding for doing things

Page 6: What you did last summer?

A: How many?B: How many what?A: How many people smoked in cars?B: 3. There 78 cars and only 3 had smokers.A: Any children in the cars?B: No. There were no children.A: That’s good.

Page 7: What you did last summer?

A: How many?B: How many what?A: How many people smoke in cars?B: 3. There 78 cars and only 3 had smokers.A: Any children in those cars?B: No. There were no children.A: That’s good.

(pause)

A: Why do people smoke?

Page 8: What you did last summer?

Person A

Page 9: What you did last summer?

A: How many?B: How many what?A: How many people smoke in cars?B: 3. There 78 cars and only 3 had smokers.A: Any children in those cars?B: No. There were no children.A: That’s good.

(pause)

A: Why do people smoke?

Page 10: What you did last summer?

Smoking debate

How many people smoke in cars?

Page 11: What you did last summer?

Approx. 16,000 cars checkedone city, 4 locations

2 weeks, 4 data collectorsfixed protocol

2.0 – 6.4 % of smokers (depending on the area)

Page 12: What you did last summer?

Crowdsourcing

Page 13: What you did last summer?

• Wikipedia• Community based designs: threadless.com

www.local-motors.com (The Forge)• Community based voting: iStockPhotos• www.microtask.com – paper form transcribing• …• reCAPTCHA. Stop spam. Read books.• Voice-to-Text (cloud-based, like Google)• …

Page 14: What you did last summer?

Counting smoking in cars

(summer project 1)

Page 15: What you did last summer?

GLOBALink

• Vimal (Wellington)• Hamish (Otago)

• mid-October, kickstart• 3 skype meetings, drafting project specs• GIT repository, initial prototyping• Work on Android application continues…

Page 16: What you did last summer?
Page 17: What you did last summer?
Page 18: What you did last summer?

TobaccoFree

• December – Androd App ready• January – web app ready, primitive and buggy• Mid February, initial “launch”• Working on iOS version in spare time• Localization• Bug fixing, new functionality, protocol

Page 19: What you did last summer?

Summer Project

Source Line of Code:2136 Android Java1205 iOS ObjC1181 Web Python

Totals grouped by language:Java: 2136 (47.24%)ObjC: 1205 (26.65%)Python: 1181 (26.12%)

Page 20: What you did last summer?

TobaccoFree.nzdis.org

Page 21: What you did last summer?
Page 22: What you did last summer?

“Big” software project

• Various software engineering skills• Project management skills• UI design, interaction design, specs/analysis• Deployment and Testing• Database skills (no-SQL, mongoDB backend)• Java & Android programming• Web apps, RESTful APIs, HTML, CSS, JavaScript• Google Maps integration

Page 23: What you did last summer?

Lessons learned

• Full stack vs. Glue frameworks• No-SQL: the good and the bad• Frameworks integration• Multi-source-language development, 3 core

languages, plus JavaScript.• Localisation, coordination, updates• Testing, bug fixing, growing codebase,

managing complexity

Page 24: What you did last summer?

“Big” software projecton $5k budget

Total Physical Source Lines of Code (SLOC) = 4,522Development Effort Estimate:

Person-Months: 11.70Schedule Estimate, months: 6.37Estimated Average Number of Developers = 1.84Total Estimated Cost to Develop = $ 131,746(assuming average salary = $56,286/year)

Page 25: What you did last summer?

Deployment and Testing

• Public key cryptography, certificates• Publishing, setups, procedures

• Bureaucracy, administrative tasks (considerable)

• Funding: grant applications

Page 26: What you did last summer?

Myths

“Oh, that’s easy. I can hack it in a week.”

“We just hire a programmer and it all will be done in no time.”

“Students will help. Students can do that.”

Page 27: What you did last summer?

Further research

• Crowdsourcing: incentives, management

• TobaccoFree: smoke counting, models, stats

• Software engineering and curriculum rethink

• People will help to collect data

Page 28: What you did last summer?

Students and participants

• Larger participation? Incentives would help? • Is building up skills an incentive enough?

• Skills. Tasks scope.

• Vertical vs. Horizontal specialization.

Page 29: What you did last summer?

Summer project 2

Page 30: What you did last summer?

Startups

• Topic for another talk– World 45, private consulting (praeteritio)– Ngarua

• Tomek (Wroclaw, Poland)• Murad (Helsinki, Finland)

Page 31: What you did last summer?

Lapland

Page 32: What you did last summer?
Page 33: What you did last summer?

Motivation

• System for active lifestyle. example: new place, holidays

• Social networks. Actually, open social networks. example: email

• Innovation, agility, progress. imagine that• Research data. example: personal Science Lab• People behavioral data FOR PEOPLE (not for sale)

Why people do what the do?

Page 34: What you did last summer?

We need to start somewhere

• Active lifestyle. • Open and transparent.

Page 35: What you did last summer?

do thinger

• Doing things with friends vs. • Doing things with anybody vs. • Doing things on your own

• A “different” social/non-social network

Page 36: What you did last summer?

dothinger.com

Page 37: What you did last summer?

Things

Page 38: What you did last summer?

Threads

Page 39: What you did last summer?

What have I done last week?

go and check on DoThinger

Page 40: What you did last summer?

doThinger

• We do not know yet where it is going – Tell us: you can and you should

• Event’s/trips photo sharing – Tomek

Doing something fun, learning, exploring things

Dunedin deserves it’s own Social Networking site

Page 41: What you did last summer?

Thank You

Questions?

Discussion, feedback, comments welcome

@[email protected]