Skip to content

Instantly share code, notes, and snippets.

View transistorize's full-sized avatar

Bryan Valentini transistorize

View GitHub Profile

Keybase proof

I hereby claim:

  • I am transistorize on github.
  • I am bryanvalentini (https://keybase.io/bryanvalentini) on keybase.
  • I have a public key ASCi2slSn-EWW5jKe_xZZpQRZO0QRa3tnDYDMN68QEqaDwo

To claim this, I am signing this object:

@transistorize
transistorize / DST.txt
Created August 24, 2015 19:49
Links For Data Science Toolkit
wget http://slides.nycdatascience.com/DataScienceToolbox/content/data/sql/iris.csv
wget http://slides.nycdatascience.com/DataScienceToolbox/content/data/sql/class.sql
@transistorize
transistorize / runner.coffee
Created November 14, 2013 08:01
Demonstrates the buffer overrun issues when not using the native bindings with NodeJS module 'pg', v2.8.2. Data is silently corrupted when using the copyFrom command.
# Hopefully, this demonstrates the buffer overrun issues when not using the native bindings.
# Works fine on Mac, corrupts the data on Linux. Switch the Linux version to use native bindings, and the issue goes away.
# Mac System: OS X Mavericks (10.9), NodeJS v0.10.21
# Linux System (output of cat /proc/version): Linux version 2.6.32-5-amd64 (Debian 2.6.32-48squeeze4) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Sep 23 22:14:43 UTC 2013, NodeJS v0.10.15
#$ cat package.json
#{
# "name": "pg",
# "version": "2.8.2",