Skip to content

Instantly share code, notes, and snippets.

View biesnecker's full-sized avatar

biesnecker

  • Orlando, FL
  • 03:57 (UTC -04:00)
View GitHub Profile
Resolving dependencies...
Build profile: -w ghc-9.4.2 -O1
In order, the following will be built (use -v for more details):
- rdf4h-5.0.1 (lib) (first run)
- rdf4h-5.0.1 (exe:rdf4h) (first run)
Configuring library for rdf4h-5.0.1..
Preprocessing library for rdf4h-5.0.1..
Building library for rdf4h-5.0.1..
[ 1 of 30] Compiling Data.RDF.BlankNode ( src/Data/RDF/BlankNode.hs, /Users/jbiesnecker/projects/rdf4h/dist-newstyle/build/aarch64-osx/ghc-9.4.2/rdf4h-5.0.1/build/Data/RDF/BlankNode.o, /Users/jbiesnecker/projects/rdf4h/dist-newstyle/build/aarch64-osx/ghc-9.4.2/rdf4h-5.0.1/build/Data/RDF/BlankNode.dyn_o )
[ 2 of 30] Compiling Data.RDF.IRI ( src/Data/RDF/IRI.hs, /Users/jbiesnecker/projects/rdf4h/dist-newstyle/build/aarch64-osx/ghc-9.4.2/rdf4h-5.0.1/build/Data/RDF/IRI.o, /Users/jbiesnecker/projects/rdf4h/dist-newstyle/build/aarch64-osx/ghc-9.4.2/rdf4h-5.0.1/build/Data/RDF/IRI.dyn_o )
version: 2.0
jobs:
build:
docker:
- image: cibuilds/hugo:latest
working_directory: ~/hugo
environment:
HUGO_BUILD_DIR: public/
steps:
- run:

Keybase proof

I hereby claim:

  • I am biesnecker on github.
  • I am biesnecker (https://keybase.io/biesnecker) on keybase.
  • I have a public key ASDIAATTVmqkniBe9VTfvAZW2groMGBcueN_jZr1iBUi0Ao

To claim this, I am signing this object:

# Reference makefile:
# https://gist.github.com/anonymous/b469f85762e93ea1b51f0f0f97e19acc
# All the flags created by configure
OPT = [
"-DNDEBUG",
"-g",
"-fwrapv",
"-O3",
"-Wall",
<form method="GET" action="http://amazinggirls.s3-website-us-east-1.amazonaws.com/bib.svg">
<p>Name: <input name="name" type="text"><input type="submit"></p>
</form>
@biesnecker
biesnecker / the_internets_twitter.md
Created July 22, 2016 16:15
The Internet's Twitter

The internet's twitter

In response to Dave Winer's post.

I think the short answer is "something like XMPP." XMPP has a lot of things going for it:

  • It's an open standard (we can all build our own implementations and fork our own features and at a base level it will remain compatible as long as we're not dorks and break the interface).
  • It's federated (I can choose who I trust, and I don't have to pay for everyone to use my server).

It needs payloads and doesn't need arbitrary length limits.

The muzzle grows tighter

Barack Obama and Hillary Clinton condemned both the video and the reaction to it. General Martin Dempsey, then chairman of America’s joint chiefs of staff, contacted Terry Jones, a pastor in Florida who had previously burned a Koran in public, and asked him not to promote the video.

“Consider for a moment: the most senior officer of the mightiest armed forces the world has ever seen feels it necessary to contact some backwoods Florida pastor to beg him not to promote a 13-minute D-movie YouTube upload. Such are the power asymmetries in this connected world,” writes Timothy Garton Ash in “Free Speech”, a fine new book on the subject.


Second, technology firms are having to grapple with horribly complex decisions about censorship. The big global ones such as Facebook and Twitter aspire to be politically neutral, but do not permit “hate speech” or obscenity on their platforms.

@biesnecker
biesnecker / a_billion_voices.md
Last active June 5, 2016 23:45
Notes from "A Billion Voices" by David Moser

asking the question ‘Do you speak Chinese?’ is akin to asking ‘Do you speak Romance?


As the conference wore on, attacks became increasingly personal. Ironically, dialect differences themselves became fuel for the ire of delegates. At one point a member of the southern faction, Wang Rongbao, happened to use a Shanghai expression for rickshaw, huangbao che, which northerner Wang Zhao misheard as a standard Mandarin curse wangba dan ‘son of a bitch’ (literally, ‘turtle’s egg’). Incensed, Wang Zhao proceeded to bare his arms and physically attack Wang Rongbao, pummelling him with his fists and chasing him from the assembly hall.


In 1919 the National Language Dictionary based upon the committee’s compromise standard was published, under the editorship of Wu Zhihui. But before the champagne bottles could be opened, the dictionary immediately came under harsh criticism. Many scholars continued to argue for a system based on the Beijing dialect. Wu, in his typical bombastic fashion, defended all att

import asyncio
import functools
import random
class Message(object):
def __init__(self, message, payload={}):
self.message = message
self.payload = payload
self.result = None
@biesnecker
biesnecker / amazon_rds_connection.rkt
Created March 15, 2015 18:19
Connect to an Amazon RDS instance over SSL.
(require db openssl)
; connect to a Amazon RDS MySQL instance using SSL
(define sslcontext
(let ([ctx (ssl-make-client-context 'tls)])
(ssl-load-verify-root-certificates! ctx "./rds-combined-ca-bundle.pem")
(ssl-set-verify! ctx #t) (ssl-set-ciphers! ctx "DEFAULT:!aNULL:!eNULL:!LOW:!EXPORT:!SSLv2")
(ssl-seal-context! ctx)
ctx))