Wednesday, July 23, 2014

class: Django QuerySets and Functional Programming #2

The class last night at TrueCar was a lot of fun!  Lots of friendly people.
Here the the slides, in web and raw Markdown format:

Django QuerySets and Functional Programming #2 slides -- source

Thanks so much to Chris at TrueCar for asking me to talk. Thanks to Chuck for the review, Goz for the feedback, and An-lon for the support. Thanks to all of you for coming out!  I look forward to the next talk.

Here's the view from the office just off the Pacific Ocean(!) in Santa Monica:

There was a good attendance:

Not pictured: cute pug dog who snored at my presentation.  I like to have my participants feel comfortable ;)

Monday, July 21, 2014

talk TOMORROW in Santa Monica

I'm proud to be the inaugural speaker at the Professional Python (ProPy|LA) group!  We'll be meeting Tuesday 7/22/2014 in Santa Monica at TrueCar.  Food and drink will be served.

The talk is "Django QuerySets and Functional Programming."  A version of this talk was given before, but it has been expanded for tomorrow's session. The ProPy group is a higher-level group, so this talk will go right to the good stuff: benefits of Functional Programming, FP with iterators in Python, and using this view to clearly understand Django QuerySets.

Hope to see you there!

event: Let's meetup and talk Python! ~ ProPyLA

- john

Thursday, June 12, 2014

upcoming talks: new Django, also concurrency

In development are my next three talks.  The first is a short one (~20 mins) on "New Stuff in Django 1.7" which highlights things added or extended over the last two years.  Next is the major feature for 1.7, "Django Migrations in 1.7".  TLDR: it's like a simpler, nicer South.
The third talk is on "Plentiful Perplexities in Parallel Python."  There are at least five different ways to do have multiple things be running at once -- I'll go over them in terms of ease-of-use, generality, and reliability/ease of debugging.  There's a lot of non-intuitive features and side effects. I'll go over the most common.
I'm always looking for ideas for new talks and classes.  Please email me!

Friday, May 30, 2014

devops: per-process swap usage

awk '/Name/{name=$2}; /VmSwap/{printf "%20s\t%s %s\n",name,$2,$3}END{ print ""}' /proc/*/status

inspired from: adnans

     chromium-browse 19664 kB
     chromium-browse 6128 kB
        avahi-daemon 320 kB
        avahi-daemon 220 kB
              colord 644 kB
                smbd 840 kB

Thursday, May 29, 2014

ref: fio I/O performance/stress tool

"fio is an I/O tool meant to be used both for benchmark and stress/hardware verification. It has support for 19 different types of I/O engines"

fio – Freecode

Tuesday, May 27, 2014

StackOverflow: achievements unlocked

 Python Topuser

I'm now one of the StackOverflow "Top Python Answerers" of all time!  I'm also a Top Answerer for Multiprocessing.