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
def test (x) = { | |
x*x+"hi"; | |
} |
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
<mx:Script> | |
<![CDATA[ | |
import org.papervision3d.core.geom.renderables.Triangle3D; | |
import org.papervision3d.core.geom.renderables.Vertex3D; | |
import org.papervision3d.core.geom.TriangleMesh3D; | |
import org.papervision3d.materials.utils.MaterialsList; | |
import org.papervision3d.objects.primitives.Cube; | |
import org.papervision3d.cameras.Camera3D; | |
import org.papervision3d.objects.primitives.Sphere; | |
import org.papervision3d.materials.ColorMaterial; |
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
09-02-24 11:16:50 INFO : SmileyMain : Response times for POST-RecommendResource : Avg: 27ms Max: 243ms | |
09-02-24 11:21:50 INFO : SmileyMain : Response times for POST-RecommendResource : Avg: 23ms Max: 75ms | |
09-02-24 11:26:50 INFO : SmileyMain : Response times for POST-RecommendResource : Avg: 29ms Max: 265ms | |
09-02-24 11:31:50 INFO : SmileyMain : Response times for POST-RecommendResource : Avg: 0ms Max: 0ms | |
09-02-24 11:36:50 INFO : SmileyMain : Response times for POST-RecommendResource : Avg: 0ms Max: 0ms | |
09-02-24 11:41:50 INFO : SmileyMain : Response times for POST-RecommendResource : Avg: 0ms Max: 0ms | |
09-02-24 11:46:50 INFO : SmileyMain : Response times for POST-RecommendResource : Avg: 30ms Max: 123ms | |
09-02-24 11:51:50 INFO : SmileyMain : Response times for POST-RecommendResource : Avg: 28ms Max: 98ms | |
09-02-24 11:56:50 INFO : SmileyMain : Response times for POST-RecommendResource : Avg: 0ms Max: 0ms | |
09-02-24 12:01:50 INFO : SmileyMain : Response times for POST-RecommendResource : Avg: 0ms Max: 0ms |
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
damp3 n x lr = (1-lr)^n * x + 1-(1-lr)^n | |
dampb x lr = x + lr*(1-x) | |
damp2 1 x lr = dampb x lr | |
damp2 n x lr = dampb (damp2 n-1 x lr) lr |
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
Vegas-2:SenseArray(doubleding) ian$ cat .git/hooks/pre-commit | |
#!/bin/bash | |
# Note that the last command in the script must exit with non-zero return | |
# value for the commit to be aborted | |
echo -n "Running unit tests: " | |
mvn test > /tmp/sa.tests.log && echo "Done." || (cat /tmp/sa.tests.log; say "Unit tests failed, commit aborted"; exit 1) |
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
5 tips for Californians visiting Austin for the first time for SXSW | |
------------------------------------------------------------------- | |
1) Take off your badge when not at the conference, the locals are not impressed (even | |
Platinum badges, in fact, especially Platinum badges) | |
2) Don't lecture us about how wonderful your local Whole Foods is, I can assure you | |
its not as good as our local Whole Foods | |
3) Don't think we're all Republicans |
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
{ | |
"tagInfluences":{ | |
"offer_id:5641":-2.658925950527191E-5, | |
"campaign_id:1881":-3.930926322937012E-5, | |
"gender:f":1.053791493177414E-4, | |
"country:us":-1.4863908290863037E-4, | |
"position:8":-1.8363818526268005E-5, | |
"traffic_source:panel":-6.482601165771484E-4 | |
}, | |
"ignoredTags":[ |
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
Here is the blurb, Janie, myself and some other friends will be there from 7pm: | |
------ | |
Come on over to The VORTEX today, Wednesday, April 1, 5pm-10pm to celebrate our new deck and the expansion of our business hours. | |
The VORTEX, 2307 Manor Road. www.vortexrep.org 512-478-LAVA | |
Don’t miss The Nematoads, twangy spaghetti western surf guitar, Attic Ted, psyco circus (www.myspace.com/atticted), and Outta Kontrol, B-boys, break dancing, and hip hop. All entertainment is FREE!! NO COVER!! |
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
#!/usr/bin/python | |
import sys,random | |
if (len(sys.argv) != 5): | |
print "Args: every input train test" | |
sys.exit(-1) | |
selectevery = int(sys.argv[1]) | |
inputfile = open(sys.argv[2], '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
[ | |
{ | |
"boosted":false, | |
"outcome":0.006310773861798976, | |
"tag":"offer_id:71" | |
}, | |
{ | |
"boosted":false, | |
"outcome":0.005512251287648309, | |
"tag":"offer_id:3011" |
OlderNewer