I hereby claim:
- I am pbevin on github.
- I am pbevin (https://keybase.io/pbevin) on keybase.
- I have a public key ASBJUxKDucu4w1A5W35COnGciCDILCZJcTkLx9n3yd4Dfgo
To claim this, I am signing this object:
module Main exposing (..) | |
import Exts.Float exposing (roundTo) | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Svg exposing (Svg) | |
import Svg.Attributes as SA | |
import Svg.Path exposing (pathToString, subpath, startAt, lineToMany, emptySubpath, closed, open) | |
import Mouse exposing (Position) |
module Main exposing (..) | |
import Exts.Float exposing (roundTo) | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (on) | |
import Json.Decode as Decode | |
import Mouse exposing (Position) | |
import Keyboard exposing (..) | |
import Char |
module Main exposing (..) | |
import Exts.Float exposing (roundTo) | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (on) | |
import Json.Decode as Decode | |
import Mouse exposing (Position) | |
import Keyboard exposing (..) | |
import Char |
I hereby claim:
To claim this, I am signing this object:
q,r,t,k,n = 1,0,1,1,2,3 | |
loop do | |
if 2*q+r-t < n*t | |
print n | |
q,r,t,k,n = 10*q,10*(r-n*t),t,k,(10*(q+r))/t-10*n | |
else | |
r,t,k,n = (q+r)*k, t*k, k+1, (q+r*k)/(t*k) | |
end | |
end |
import Data.Char | |
e = map (intToDigit . fromInteger) $ stream next safe prod cons init lfts where | |
init = unit | |
lfts = [(1, k, 0, k) | k<-[1..]] | |
next z = floor (extr z 1) | |
safe z n = (n == floor (extr z 2)) | |
prod z n = comp (10, -10*n, 0, 1) z | |
cons z z' = comp z z' | |
type LFT = (Integer, Integer, Integer, Integer) |
e = g(1,0,1,1,2,3) where | |
g(q,r,t,k,n,l) = | |
if 2*q+r-t<n*t | |
then n : g(10*q,10*(r-n*t),t,k,div(10*(q+r))t-10*n,l) | |
else g(q,(q+r)*k,t*k,k+1,div(q+r*k)(t*k),l+2) |
<script type="text/javascript"> | |
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | |
document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | |
</script> | |
<script type="text/javascript"> | |
try { | |
var pageTracker = _gat._getTracker("UA-4171338-2"); | |
pageTracker._setDomainName("none"); | |
pageTracker._setAllowLinker(true); | |
pageTracker._setAllowHash(false); |
<script type="text/javascript"> | |
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | |
document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | |
</script> | |
<script type="text/javascript"> | |
try { | |
var pageTracker = _gat._getTracker("UA-4171338-2"); | |
pageTracker._setDomainName(".hover.com"); | |
pageTracker._setAllowLinker(true); | |
pageTracker._setAllowHash(false); |
class L | |
end | |
class Module | |
def has_logging() | |
class_eval { | |
log = L.new | |
define_method(:log) do | |
log | |
end |