Skip to content

Instantly share code, notes, and snippets.

@jakirkham
jakirkham / build_mac_haswell.log
Created January 19, 2016 21:56
OpenBLAS build report ( DYNAMIC_ARCH=1 BINARY=64 NO_LAPACK=0 NO_AFFINITY=1 NUM_THREADS=1 )
We couldn’t find that file to show.
@jakirkham
jakirkham / xcode-clang-vers
Created January 29, 2016 02:23 — forked from yamaya/xcode-clang-vers
Xcode clang version record
# Xcode 4.3.3
Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
# Xcode 4.3.2
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
@jakirkham
jakirkham / plot_faces_decomposition.ipynb
Created February 22, 2016 05:37
Comparison between NMF, DL (with various non-negativity constraints)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jakirkham
jakirkham / plot_faces_decomposition_2.ipynb
Created February 22, 2016 13:15
Comparison between NMF, DL (w/o elastic net constraint)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jakirkham
jakirkham / tr1_unordered_map.log
Last active March 29, 2016 20:46
protobuf still using TR1 when it shouldn't (i.e. clang++ with -std=c++11 set)
$ clang --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
$ conda build .
Removing old build environment
Removing old work directory
BUILD START: protobuf-3.0.0b2-py27_3
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ..............
@jakirkham
jakirkham / meta.yaml
Last active November 3, 2017 20:19
WIP: A skeleton for generating conda-forge recipes.
{% set data = load_setup_py_data() %}
package:
name: {{ data.get('name').lower() }}
version: "{{ data.get('version') }}"
build:
number: 0
noarch: python
script: python setup.py install --single-version-externally-managed --record=record.txt
@jakirkham
jakirkham / test_cartopy.env
Created June 2, 2016 22:09
Cartopy test environment
cartopy=0.14.2=np111py34_0
cycler=0.10.0=py34_0
freetype=2.6.3=0
geos=3.4.2=1
icu=56.1=2
jpeg=9b=0
libiconv=1.14=1
libpng=1.6.21=1
libtiff=4.0.6=4
libxml2=2.9.3=6
@jakirkham
jakirkham / activate
Last active June 14, 2016 22:35
conda / conda_env activate / deactivate scripts
#!/bin/bash
# Determine the directory containing this script
if [[ -n $BASH_VERSION ]]; then
_SCRIPT_LOCATION=${BASH_SOURCE[0]}
SHELL="bash"
elif [[ -n $ZSH_VERSION ]]; then
_SCRIPT_LOCATION=${funcstack[1]}
SHELL="zsh"
else
@jakirkham
jakirkham / conda_activate_failure.txt
Created June 16, 2016 03:55
Activation issue with a simple environment
Last login: Wed Jun 15 17:09:10 on ttys004
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin
prepending /zopt/conda2/envs/test/bin to PATH
((test)) kirkhamj-lm1:~ kirkhamj$ env
PROMPT_VAR=PS1
TERM_PROGRAM=Apple_Terminal
SHELL=bash
TERM=xterm-256color
TMPDIR=/var/folders/jj/pp1xwt1n4zdgy9zxbxc22t8w66tr7q/T/
Apple_PubSub_Socket_Render=/tmp/launch-IbGiHb/Render
@jakirkham
jakirkham / spaces.md
Last active July 7, 2016 23:42 — forked from mcg1969/spaces.md
Conda hackery: spaces

Conda hackery: namespaces

Motivation

We would like to position Conda as a language-agnostic package manager, but at present it maintains a distinct bias towards Python. This is both inevitable and, frankly, reasonable. Nevertheless, as we begin to use it to subsume other packaging ecosystems, such as CRAN, NPM, Ruby Gems, etc., we are often going to run into naming conflicts.