Yeah the title bothered me @adriarichards: 9 Clueless Things White People Say When Confronted With Racism #diversity http://t.co/p5ci9EsrmS
Archive for October 14, 2014
page 1 of 1
@lmorchard yeah man. Coincidentally, boxpub now has rudimentary cache-busting based on Dropbox webhooks.
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.
Glad that I don't fall into several of these categories, and squirming that I do. #themoreyouknow http://t.co/cWqlHUdT4k
— Steve Ivy (@steveivy) October 15, 2014
Solve for Value
@adriarichards @femfreq The value of hearing a message is proportional to the level of insanity raised against it.
— Steve Ivy (@steveivy) October 15, 2014
Doxx-audit: tool to help you work through @adriarichards “if you are doxx’d by trolls list” - someone build?
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
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.
page 1 of 1