The biggest side project I've had this last year has been organizing the SF Python Meetup. The year has been a resounding sucess for the meetup. We've met consistently 1-2 times per month since PyCon. We expanded our meetings to provide a "Project Night" experience as well as our traditional talk nights and we've seen the community gain many new and diverse faces. I've taken enormous personal satisfaction from the very many people new to the Python community who have enjoyed themselves and learned something to at our project nights. And of course the talk nights have continued to feature high quality talks on interesting topics as evidenced by the usual attendance counts of ~200.
I'd like to take the occasion of the Holiday to give thanks for all this Python goodness!
Posted November 28th, 2013 in Python (Comment)
Last week I gave one of the talks at our monthly SF Python Meetup talks night. Our theme was Python Magic and we had a great talk by Jess Hamrick on metaclasses and I talked about descriptors. There was a bunch of advanced Python knowledge laid down and we had good Q&A from the approximately 150 attendees afterwards.
Posted November 17th, 2013 in Python (Comment)
Evan over at the NewCircle was nice enough to post the video of my lightning talk on @contextlib.contextmanager from a couple months ago. The video is embedded below - I only see one or two mistakes! Not bad for 30 minutes of slide prep in a busy day!
Posted September 29th, 2013 in Python (Comment)
There are big changes afoot in my life. You might already have seen the news - the training company that I work for has been acquired by Twitter to help launch a new initiative at Twitter dubbed Twitter University. Marko and Sasa Gargenta, my bosses here at Markana are now leading that initiative and I'll be working with them at twitter.
Posted August 14th, 2013 in (Comment)
Last night we had a full house for Tom Hatch discussing his project Salt at SF Python Meetup. Salt seems like an interesting technology - more interesting than just a better chef/puppet! I'm looking forwards to digging into it.
Posted July 11th, 2013 in Python (Comment)
I recently talked at USF for the guest lectures in Computer Science series. They were interested in a beginner-oriented talk about Django or a talk about cool features in Python.... so I did both! The video for the talk is available on Marakana Stream and here are the slides as well - just hit space to advance the slides.
Posted July 11th, 2013 in Django Python (Comment)
I enjoy the regular SF Python Meetup nights. We feature awesome speakers deep-diving cool Python technologies (seriously: next up is Thomas Hatch talking Salt Stack on July 10th). Lately, however, Grace, Hy and I have been trying to figure out how to be more welcoming to the beginners in the Bay Area's Python community.
Posted June 30th, 2013 in Python (Comment)
I'm teaching a virtual class right now and with a week break thought a refresher video for my students was in order. If you've ever wanted to learn to use sorted/map/filter/reduce and friends in Python - watch on. (20 minute video after the jump).
Posted June 17th, 2013 in Python (Comment)
I'm at Google IO blogging the talks I go to...
Posted May 16th, 2013 in Programming Technology (Comment)
All are welcome tonight @ 6:30 at the University of San Francisco in the Kudlick Classroom (Harney Science Center 235) where I'll be presenting for the Special Lectures series for the Computer Science department there.
Please see the Special Lecture Series schedule for details. My talk is titled Django - Tips, Tricks and a dash of Python Magic. I'll be giving a brief overview of the fundamental pieces of the framework, a quick run-through of essential 3rd party Django apps, and discussion of advanced Python language features we can use to make our code more
Djangoic Djangoish Djangoical like the rest of the Django code we use.
Posted April 17th, 2013 in Python (Comment)
My video interview from the PyCon 2013 Poster session is up!
Posted April 17th, 2013 in Python (Comment)
Just getting this up quickly in response to the very enthusiastic responses I received today at PyCon. Nobody yelled at me! (Guido did frown a bit though.) And very many of you came to tell me the same two things:
- I agree.
- What can I do to help?
I'll have more to say - both in explaining my ideas and in answering that second question - but in the meantime I just wanted to put up my poster for those who asked (warning: 1mb .pdf). Thanks again to everyone who stopped by my poster to chat. If you just can't wait to begin the conversation (or you didn't get a chance to yell at me!) I can be reached on twitter @simeonfranklin or via email (simeon at marakana dot com).
Posted March 17th, 2013 in Python (Comment)
Recently the Modesto Scripting Language Meetup had another hack night. The theme of the meetup was Twilio apps and API's in general. We had presentations on Twilio and the Meetup REST API.
Posted January 3rd, 2013 in Programming (Comment)
After discovering that I was answering somebody else's test questions for them yesterday I'm less likely to answer questions like:
McDonald’s sells Chicken McNuggets in packages of 6, 9 or 20 McNuggets. Thus, it is possible, for example, to buy exactly 15 McNuggets (with one package of 6 and a second package of 9), but it is not possible to buy exactly 16 McNuggets, since no non- negative integer combination of 6's, 9's and 20's add up to 16. To determine if it is possible to buy exactly n McNuggets, one has to find non-negative integer values of a, b, and c such that 6a + 9b + 20c = n
Posted November 3rd, 2012 in Python (Comment)
I get random questions from the internet… I hate to be helping people with their homework or interview questions - but sometimes the questions are fun! A commenter writes:
I have to write a code in python to concatenate two strings together, by successively alternating elements of each string (starting with the first character of s1). If one string is longer than the other, then the remaining elements of the longer string should simply be added at the end of the new string. For example, if we lace abcd and efghi, we would get the new string:'aebfcgdhi'.
Ok! Let’s tackle this problem a couple of different ways.
Posted November 2nd, 2012 in Python (Comment)
A student wrote in to ask about using the
sched module to schedule re-occurring tasks at a particular time of day in Python. Here's what I came up with...
Posted August 14th, 2012 in Python (Comment)
In a recent Django class one of my students posed the problem she was learning Django to tackle - she would be responsible for writing a web-based administrative interface to a database whose structure she wasn't allowed to modify. Can Django do that?
Absolutely - and Django even comes with a management command to bootstrap working with a legacy database. Let's create a brand new project, use a popular sample database as our target, and using Django's multi-db support to store Django's built-in model data in a separate database.
Posted August 13th, 2012 in Django Python (Comment)
Ok, perhaps I jest. As a Python instructor decorators are a topic I find students consistently struggle with upon first exposure. That’s because decorators are hard to understand! Getting decorators requires understanding several functional programming concepts as well as feeling comfortable with some unique features of Python’s function definition and function calling syntax.
I can’t make decorators easy - but maybe by walking through each piece of the puzzle one step at a time I can help you feel more confident in understanding decorators. Because decorators are complex this is going to be a long article - but stick with it! I promise to make each piece as simple as possible - and if you understand each piece, you’ll understand how decorators work!
Posted July 1st, 2012 in Python (Comment)
Modesto Scripting Languages Meetup is up to 22 members and 4 consecutive meetups!
Posted June 4th, 2012 in Programming (Comment)
I teach Python classes and enjoy exploring language features from the perspective of newbie's to the language. Usually I can explain the rationale for Python language features by showing a compelling use case. But what about generator functions?
Posted May 22nd, 2012 in Programming Python (Comment)