monkinetic the blog

Daily Digest for Tuesday, Oct 14, 2014

☀️ Earliest posts come first.

Steve Ivy

Neighborhood power outtage.

~ # 04:01 ~

Steve Ivy

RT @freebsdgirl: Calling Oakland police. Fuck everything about this. Let’s see what they say.

~ # 05:19 ~

Steve Ivy

Good night peeps: remember, if you are tempted to doxx someone, just don’t! #needssayin

~ # 05:35 ~

Steve Ivy

@freebsdgirl hang tough. Thanks for the example.

~ # 05:37 ~

boxpub: The circle is complete

My new blog software - boxpub, which runs this site - got a new feature last night. Fairly recently, Dropbox implemented webhooks for applications, so I added two simple webhook handlers (for the verification step and the data step). How am I using this?

I run this site behind Fastly, a great caching proxy service / CDN based on Varnish. I use it because it basically gets me an insanely fast front end to my little gunicorn app running on a fairly meager Linode. Fastly caches all my HTML permanently (the way I have it configured) unless explicitly invalidated. How do I invalidate? Fastly supports a great Varnish setup that allows me to send a PURGE request (`curl -X PURGE

`) to my home page and Fastly invalidates the cache for that page, and it is re-fetched and generated on next request. Think of it as a just-in-time in-memory static site generator (buzzword bomb).

So, in the current naïve implementation:

@boxpub.route('/webhooks/dropbox', methods=['POST'])
def dropbox_webhook_handle():
    url = CONFIG.SITE_DATA['url']
    try:
        log.info('PURGING site index')
        purge_resp = requests.request('PURGE', url)
        log.debug(purge_resp.text)
        resp = make_response(purge_resp.text)
    except Exception, e:
        log.exception(e)
        resp = make_response("ERR: " + e.message)
    log.debug(resp)
    return resp

Still to do is determining what post or page changed, and purging those particular URLs.

Steve Ivy

@the_spinmd @monkchips isn’t a wearable incubator a uterus?

~ # 17:16 ~

Steve Ivy

@uberfuzzy you cannot make the codez, you can only realize there are no codez.

~ # 19:02 ~

Steve Ivy

@steveklabnik @hone02 @freebsdgirl 4 startups are now pivoting. “Twitter, but for bug tracking!”

~ # 20:17 ~

Steve Ivy

Doxx-audit: tool to help you work through @adriarichards “if you are doxx’d by trolls list” - someone build?

~ # 20:20 ~

Unintentional Sexism

Ways Men in Tech are Unintentionally Sexist. I’m in the process of re-educating myself on these issues. If it isn’t your thing, it should be. If you’ve been on the receiving end of this and want to talk about it, feel free to get in touch. If you’ve been on the receiving end of this kind of this and I was the oaf dishing it out, even more so.

Steve Ivy

@lmorchard yeah man. Coincidentally, boxpub now has rudimentary cache-busting based on Dropbox webhooks.

~ # 21:23 ~

Steve Ivy

@mattgemmell aka “Star Lord”

~ # 23:19 ~

Steve Ivy

Yeah the title bothered me @adriarichards: 9 Clueless Things White People Say When Confronted With Racism #diversity http://t.co/p5ci9EsrmS

~ # 23:36 ~