View 28.ijs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((,-)(2*>:&i.14))+(4*i.28) |
View my functional things
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lazy semantics and lambda abstractions | |
point-free in style and pure computation | |
memoization gives simple caching | |
these are a few of my functional things | |
when the state bites | |
when the C stings | |
when impure is bad | |
I simply remember my functional things | |
and then I don't feel so mad |
View pb.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form> | |
<label for="fieldName">Field name (include object):</label> | |
<input id="fieldName" name="fieldName" type="text" size="100" onkeydown="if (event.keyCode == 13) false"> | |
</form> | |
<p> | |
<input type="checkbox" id="isPicklist" name="isPicklist" value="picklist"> | |
<label for="isPicklist">Picklist?</label> | |
<input type="checkbox" id="isNot" name="isNot" value="not"> | |
<label for="isNot">NOT?</label> |
View reduce_in_r.R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rolling sum using the Reduce function | |
EV <- c(1,.9,.8,.001,.001,.001,.001) | |
# Proportion of variance explained by each principle component. | |
prop_var <- EV / sum(EV) | |
# 0.3698224852 0.3328402367 0.2958579882 | |
# 0.0003698225 0.0003698225 0.0003698225 | |
# 0.0003698225 |
OlderNewer