I hereby claim:
- I am proycon on github.
- I am proycon (https://keybase.io/proycon) on keybase.
- I have a public key ASBvbebQL-kGBKB23DsFOOMsWhmnFqpYBdWbv-Omnhc_oAo
To claim this, I am signing this object:
#!/usr/bin/env python2 | |
from pynlpl.formats import folia, fql, cql | |
import glob | |
import os | |
import sys | |
#querystring = '[ pos = "LID\(.*" ]? [ pos = "ADJ\(.*" ]? [ pos = "N\(.*" ]' | |
#querystring = '[ pos = "LID\(.*" ]? [ pos = "ADJ\(.*" ]{2} [ pos = "N\(.*" ]' | |
#querystring = '[ pos = "LID\(.*" ] [ pos = "ADJ\(.*" ] [ pos = "N\(.*" ]' |
from __future__ import division | |
from visual import * | |
AU = 149597870700 #m | |
scene.center = (0,0,0) | |
scene.width = 800 | |
scene.height = 600 | |
scene.range = (2.1*AU,2.1*AU,2.1*AU) |
from __future__ import print_function, unicode_literals, division, absolute_import | |
import math | |
import numpy | |
def unit_vector(vector): | |
""" Returns the unit vector of the vector. """ | |
return vector / numpy.linalg.norm(vector) | |
def angle_between(v1, v2): | |
""" Returns the angle in radians between vectors 'v1' and 'v2':: |
#!/usr/bin/env python | |
""" | |
@author Sunil Mallya | |
Sample code to show a parent - child like process communication model where parent listens on a port and passes the pickled file descriptor | |
to the child process to read the bytes off the socket. The communication in this snippet is via a Queue which is thread/process safe | |
Just to be clear, the parent process is still accepting the connection and we are sending a live fd to the child | |
""" | |
import os | |
import sys |
package com.anaproy.homecontrol; | |
import java.util.ArrayList; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.speech.RecognizerIntent; | |
import android.view.View; | |
import android.view.View.OnClickListener; |
Rougly 40% more compression on the data: | |
-rw-r--r-- 1 proycon proycon 221M Oct 9 23:24 europarl7-en.txt | |
-rw-r--r-- 1 proycon proycon 96M Oct 9 23:26 v1/europarl7-en.colibri.dat | |
-rw-r--r-- 1 proycon proycon 59M Oct 9 23:26 v2/europarl7-en.colibri.dat | |
Comparison with other compressions on plaintext (default settings): | |
-rw-r--r-- 1 proycon proycon 71M Oct 10 00:11 europarl7-en.txt.gz | |
-rw-r--r-- 1 proycon proycon 71M Oct 10 00:14 europarl7-en.txt.zip | |
-rw-r--r-- 1 proycon proycon 49M Oct 10 00:12 europarl7-en.txt.bz2 |
[ | |
{ | |
task: "tokenisation", | |
name: "Ucto", | |
homepage: "https://proycon.github.io/ucto", | |
creators: ["Maarten van Gompel, Ko van der Sloot (CLST, Radboud University Nijmegen)"], | |
contact: { | |
person: "Maarten van Gompel", | |
email: "proycon@anaproy.nl", | |
}, |
I hereby claim:
To claim this, I am signing this object:
# Implementing lamblin's workaround at https://github.com/Theano/Theano/issues/1399 | |
# BEFORE: | |
# bestIndices = T.argmin(s, axis=0) | |
# Time in Function.fn.__call__: 3.870916e-02s (99.867%) | |
# <% time> <sum %> <apply time> <time per call> <type> <#call> <#apply> <Class name> | |
# 77.7% 77.7% 0.029s 2.93e-02s C 1 1 theano.tensor.basic.MaxAndArgmax | |
# 7.0% 84.7% 0.003s 2.64e-03s C 1 1 theano.sandbox.cuda.basic_ops.HostFromGpu | |
# 6.9% 91.6% 0.003s 1.30e-03s C 2 2 theano.sandbox.cuda.basic_ops.GpuFromHost | |
# 6.2% 97.8% 0.002s 2.35e-03s C 1 1 theano.sandbox.cuda.blas.GpuDot22Scalar |
#!/usr/bin/env python3 | |
#possible range of real ages based on physical observation on sightings | |
#in Erasmus gebouw (broad estimate) | |
possiblerealages_guess = range(24,33) | |
#possible real ages based on cryptic 1000 age with unknown base | |
possiblerealages_decoded = [ base**3 for base in range(0,15) ] | |
#insersection of the two |