Wednesday, September 24, 2014

PPUG 2014.9.24 / Ongoing Threads

We're learning about how to use Django + Postgres to handle unstructured / schemaless data.  Clearly Postgres is an SQL engine, so this talk was about a kind of hybrid.  The searchable JSON field type is key, with binary JSON coming in version 9.4.  JSON is the de facto standard for web APIs.

I was in a somewhat grumpy mood on the bus, as I knew we'd be having pizza, courtesy of Energy Builders, or job-seeking sponsor of the evening, along with Urban Airship.  The Division bus 4 was running a bit behind schedule, not unusual during rush hour.  Contributing to my grumpiness was my ongoing thread with GS Chandy on math-teach.  The discussion is moderated and sometimes I'll spend a lot of time on a post only to see it vanish into oblivion, or at least not make it to the official archives.

With django-pgjson added, you can query JSON fields, impose orders and filters and so forth.  Basically you're doing the kind of thing SQL does but within JSON fields inside Postgres.  Don't imagine Postgres is necessarily slower than Mongo.  This seems like a cutting edge talk.

From my posting to GSC:
National governments generally use schools to instill nationalism, a form of patriotism.  This may mean familiarizing students with the roles and institutions available to them in civic government, or perhaps it means exerting peer pressure to enlist in a military service, provided that's a voluntary choice to begin with.  

In this model, schools are seen as extensions of recruiting offices by the military services.  That's another reason a Quaker family might homeschool in a given zip code:  the programming at the local public school comes across as too militaristic (e.g. mandatory ROTC for boys).

Lets start with a list of roles and then start looking at workflows.  

Roles + Workflows is how to analyze a Quaker meeting as well (where "Role" might be "on a committee" i.e. other objects need to be defined to give roles their sense -- but lets keep thinking in terms of theater and scripts).

"Role playing games" tend to be popular among young people yet how much time do we spend on the mathematics of "game theory" (closely related or perhaps a part of GST, as you know).
Also:
As you may know, in our geographic region, school has been used as a tool of cultural genocide in that native populations were forced to surrender their young to boarding schools / indoctrination centers the purpose of which was to expunge the region of local cultures and replace them with a uniform Anglo-Euro veneer. These boarding schools no longer exist as such, but their after-effects are still part of everyday experience in our region.

One purpose of these indoctrination camps or prisons was to make the "nuclear family" the only acceptable norm and to recast family relationships according to the "white man" model. The imposition of alien marriage customs was part and parcel of this genocidal program, as memorialized at the cultural museum on the Warm Springs reservation.

 A nation such as India will go into a region such as Ladakh and apply western concepts of "living standards" e.g. cash income per annum, to determine the indigenous lifestyle "poor" as in "under-developed". We're talking about a lifestyle that has evolved over millennia that includes a lot of hard manual labor, but then many adults with privileges and freedoms actively choose manual labor as a voluntary activity, so that in itself is not a sign of "poverty".

What are the criteria of "poverty" anyway? I'd say malnourishment is a sign of poverty and by that criterion the US population, in suffering from increasing obesity rates, is becoming increasingly impoverished over time. It's not really about money as in some economies that commodity is not so much needed. And yet the "dollars per annum per household" measure is still often quite mindlessly applied, as if money were the measure of all things.

 Some in my circle have been to Ladakh and we have actively discussed and been to events about whether "schooling" and "westernization" in general is helping improve living standards there, or whether it is actually having an overall negative impact in disrupting a 1000s-of-years old lifestyle by penning children into the "Free and Compulsory" new schools that India sees fit to provide.

Here's a blog post with Youtube on the topic.
I managed to get plenty of pizza and am glad to have salvaged at least some of my prose. We talked some about the ShellShock exploit / vulnerability.  This was during our "ask the audience" session wherein people poll the audience.  Who's using Python 3.x?  Who's using Flask?