Skip to content

Instantly share code, notes, and snippets.

Chase Geigle skystrife

Block or report user

Report or block skystrife

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@skystrife
skystrife / sigir18-topic-models.ipynb
Created Jul 8, 2018
SIGIR18: Probabilistic Topic Models Hands-on 2 (Text Mining)
View sigir18-topic-models.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@skystrife
skystrife / sigir18-retrieval.ipynb
Created Jul 8, 2018
SIGIR18: Probabilistic Topic Models Hands-on Exercise 1 (Retrieval)
View sigir18-retrieval.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@skystrife
skystrife / KDD 2017.ipynb
Last active Aug 16, 2017
KDD 2017 Tutorial Notebook
View KDD 2017.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@skystrife
skystrife / llvm38.rb
Created Apr 16, 2016
LLVM 3.8 with clang, libc++, and libc++abi + CMake toolchain file for Linuxbrew
View llvm38.rb
class CodesignRequirement < Requirement
include FileUtils
fatal true
satisfy(:build_env => false) do
mktemp do
touch "llvm_check.txt"
quiet_system "/usr/bin/codesign", "-s", "lldb_codesign", "--dryrun", "llvm_check.txt"
end
end
@skystrife
skystrife / PKGBUILD.diff
Created Feb 5, 2016
Fix for mingw-w64-clang PKGBUILD
View PKGBUILD.diff
diff --git a/PKGBUILD b/PKGBUILD
index 5ecf3c9..acecc97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Mildred Ki'Lya <mildred-pub.aur@mildred.fr>
pkgname=mingw-w64-clang
-pkgver=r70.fc6bf05
+pkgver=r76.e3b174e
@skystrife
skystrife / default_argument_lambda.cpp
Created Sep 6, 2015
Example of default argument of a member function template being a lambda causing GCC 4.8.1 to ICE
View default_argument_lambda.cpp
#include <functional>
#include <iostream>
struct herp
{
template <class T>
void derp(T something,
std::function<void()> callback = [](){}) // <-- gcc 4.8.1 explodes here
{
std::cout << "Something: " << something << "\n";
// do some work
@skystrife
skystrife / gist:2434581
Created Apr 21, 2012
Add chained attr accessors using coffeescript classes
View gist:2434581
# utility that allows us to defined chained attr accessors on classes
Function::chain_accessor = (attrs...) ->
for attr in attrs
# add the function to the prototype. we wrap the function in a closure
# to ensure that "attr" keeps its value so we are accessing the right
# attribute when we call this function later
@::[attr] = do (attr) ->
(data) ->
return @["_#{attr}"] unless data?
@["_#{attr}"] = data
You can’t perform that action at this time.