Google Summer of Code 2016 #1 (North South University Campaign)

Post on 22-Jan-2018

329 views 3 download

Transcript of Google Summer of Code 2016 #1 (North South University Campaign)

initializing….

Credits: NSUSS

CSE115CSE115

CSE173CSE173

CSE215CSE215

CSExxxCSExxx Why do I even exist?Why do I

even exist?

I know lot’s of stuff,

but what now?

I know lot’s of stuff,

but what now?

Competitive ProgrammingCompetitive

Programming

Competitive Programming is ratherCompetitive Programming is rather

FreelancingFreelancing

Projects might not reach outProjects usually do not credit you

Projects might not reach outProjects usually do not credit you

class Paginator(object):

def __init__(self, object_list, per_page, orphans=0,

allow_empty_first_page=True):

self.object_list = object_list

self.per_page = int(per_page)

self.orphans = int(orphans)

self.allow_empty_first_page = allow_empty_first_page

self._num_pages = self._count = None

def validate_number(self, number):

""" if number > self.num_pages:

if number == 1 and self.allow_empty_first_page:

pass

else:

raise EmptyPage('That page contains no results')

return number

Your code remains lonely

I know you want to be this “famous sire”

Source CodeCompiler Final

Software

Open Source Software

You matter

def main():

# Check arguments

parser = argparse.ArgumentParser() parser.add_argument('pot_filename', type=argparse.FileType('r')) parser.add_argument('po_filename', type=argparse.FileType('w')) parser.add_argument('locale') args = parser.parse_args()

# read POT file pot_cat = pofile.read_po(args.pot_filename, ignore_obsolete=True)

# Create the new Catalog new_cat = catalog.Catalog(locale=args.locale, last_translator="pseudo.py", charset="utf-8") num_plurals = new_cat.num_plurals

You CAN work at

Image credits: explosm.net

Your codecan reach

mill ions

Your codecan reach

mill ions

$Caree

r

Experience

Connections

How can

GSoChelp you?

How can

GSoChelp you?

opportunity mentorship motivation

$

An experienced

mentor

$5500

You can

Thanks!

Wait

Let’s build a community