Skip to content

Instantly share code, notes, and snippets.

@andrewfowlie
andrewfowlie / hugo_academic_from_arxiv.py
Created August 29, 2017 04:55
Convert arXiv webpage into markdown entry for webpage in Hugo academic theme
"""
Convert arXiv code into markdown entry for webpage in Hugo academic theme
=========================================================================
Main usuage e.g.,
>>> markdown('1607.06608')
to scrape https://arxiv.org/abs/1607.06608 into a publication for Hugo
academic theme.
@joshuamckenty
joshuamckenty / COUNTING.rst
Last active December 21, 2015 03:29
COUNTING.RST Our community (being OpenStack) is guided primarily by aspirational standards, rather than expository regulations. We have HACKING.rst for coding style. This is a proposed COUNTING.rst to talk about how we measure ourselves. It's based on conversations I had with Stefano Maffuli and others, after the launch of Stackalytics.com and s…

COUNTING.RST

Open Source projects and communities, like most things, are full of humans. Humans have egos.

WE FOCUS ON the CARROT, and not the STICK
  • COUNT things in a way to PRAISE many, without CONDEMNING some.
0. Count all the things
  • Don't report on just coding
@derekcollison
derekcollison / gist:4227635
Created December 6, 2012 19:40
Early results from high-performance NATS server
I have some early benchmark results for our work on a high performance NATS server in Go.

Quick Summary:
We can process ~2M msgs/sec through the system, and the ingress and egress are fairly well balanced.

The basics of the architecture are intelligent buffering and IO calls, fast hashing algorithms and subject distributor/routing, and a zero-allocation hand-written protocol parser.

In addition, I used quite a bit of inlining to avoid function overhead, no use of defer, and little to no object allocation within the fast path. I will share more details and the code at a future date.
@adamhjk
adamhjk / crazytown.md
Created August 24, 2012 22:59
Out-open crazytown

Openstack

Okay, so here is the thing. Yeah, some of the folks who have started companies around Openstack have tried to put on the mantle of being the open-est of open clouds. It's a silly argument (reference the Eucalyptus guys open sourcing the whole thing from the beginning, or any number of smaller projects that have existed for a long time.) Other folks have done the same (We're more open because we're part of the apache foundation. We're more open because we're AGPL. The list goes on.)

It's marketing rhetoric, it's tiresome, and it's actively subversive to what should be a delightful community of cheerfully competitive peers. But hey, it is what it is.

License Choice

Businesses that create open source software get to choose the terms under which their software, and as a side effect, their communities, evolve. The first thing that impacts this is the choice of license for the software itself. I've been pretty vocal about my personal beliefs here, and advocated for them at Opscode. In general ter

@lfborjas
lfborjas / gist:817504
Created February 8, 2011 23:12
Filter even numbers in a list; fork it for maximum fun!
#these are meant to be run in a REPL, and the java one in beanshell of something of the sort:
#ruby
[1,2,3,4].select{ |x| x.even? }
#python
[x for x in [1,2,3,4] if not x%2]
#or, more norvingly
filter(lambda x: not x%2, [1,2,3,4])
#clojure