Skip to content

Instantly share code, notes, and snippets.

View selenamarie's full-sized avatar

Selena Deckelmann selenamarie

View GitHub Profile
-- we should probably add an index on product_versions.sunset_date
-- addons
WITH crash AS (
SELECT json_array_elements(processed_crash->'addons') AS addons,
product_version_id,
signature_id,
reports_clean.date_processed::date,
reports_clean.os_name
FROM processed_crashes
-- this output is interesting :)
SELECT json_object_field_text(ucm.rewrite, 'rewrite_to') as release_channel,
json_array_elements(ucm.rewrite->'BuildID') as buildid, -- yeah this is not good here :D
product_versions.product_version_id,
trim(both '"' from (ucm.rewrite->'Version')::text) as version_string,
product_versions.version_string
FROM
product_productid_map ppm
JOIN update_channel_map ucm USING (productid)
JOIN product_versions ON ppm.product_name = product_versions.product_name

Keybase proof

I hereby claim:

  • I am selenamarie on github.
  • I am selenamarie (https://keybase.io/selenamarie) on keybase.
  • I have a public key whose fingerprint is 27DF C0BB 7DD6 5ED2 EA12 E223 C34E 5747 E23D D677

To claim this, I am signing this object:

During the PyLadies lunch here at PyCon, I heard 5 people stand up and say that they would not have given a talk if an individual (in many cases Jessica McKellar) hadn't pestered them repeatedly to give a talk. I saw later that someone else had heard this from 10+ people at the lunch.

Increasing speaker diversity is both about sending emails "to the right mailing lists" but it is also largely dependent on individuals reaching out to new (and veteran) speakers to get them to submit talks.

So - a lot of this work has to happen on multiple fronts at the same time - the CFPs need to go out to lots of lists, and individuals need to reach out to lots of individuals.

The only way I have seen this be consistently successful is if many people on the conference committee are all making individual requests to speakers, and the people making the requests are trusted by the talk submitters. It's a systemic issue involving visibility, trust, mentorship in general, talk submission mentoring, and mentorship of talk c

@selenamarie
selenamarie / rvlvvr_notes.md
Last active August 29, 2015 14:08
Poking around rvlvvr.net client code
@selenamarie
selenamarie / gist:fec696bf042164ea123e
Last active August 29, 2015 14:09
testing the dataservice_app.py
# start dataservice_app.py
socorro/dataservice/dataservice_app.py
# insert these into postgresql:
insert into bugs values (1, 'done', 'good', 'stuff');
insert into bug_associations values (1, 'a signature');
# test POST
@selenamarie
selenamarie / gist:ad413cc50c453e2a5925
Last active August 29, 2015 14:09
infecting django with configman notes
* how would you write a pure restful service in django from scratch?
https://gist.github.com/peterbe/4337d96d0afd53505cbb
from django import http
def meaningoflife(request):
return http.HttpResponse(json.dump({'number': 42}}, mimetype="application/json")
* where in config/setup do you put this information
@selenamarie
selenamarie / carbon_x1_dec_2014.md
Last active August 29, 2015 14:11
Setting up Carbon X1laptop - Dec 2014
from crashstats.dataservice.models import magic
globals().update(magic)
import sys
# totally useful - echo the command and '| sudo sh'
http://www.linuxjournal.com/content/running-complex-commands-sudo
# from irc:
To inline a package, but include it at the end of the file:
Package->import;
<some stuff>