Skip to content

Instantly share code, notes, and snippets.

View sanity's full-sized avatar

Ian Clarke sanity

View GitHub Profile
//// Two player example
TrueskillCalc trueskillCalc = new TrueskillCalc();
// or, to use non-default gameInfo
TrueskillCalc trueskillCalc = new TrueskillCalc(GameInfo gameInfo);
Rating playerRating1 = trueskillCalc.newDefaultRating();
or
getPairSql = convertStreamToString(RankStuff.class.getResourceAsStream("get_pair.sql"));
final Query getPairQuery = JPA.em().createNativeQuery(getPairSql);
getPairQuery.setParameter("category_id", category.id);
Description Resource Path Location Type
The method getBeta() is undefined for the type GameInfo FactorGraphTrueSkillCalculator.java /JSkills/src/jskills/trueskill line 66 Java Problem
The method getBeta() is undefined for the type GameInfo FideEloCalculator.java /JSkills/src/jskills/elo line 20 Java Problem
The method getBeta() is undefined for the type GameInfo GaussianEloCalculator.java /JSkills/src/jskills/elo line 19 Java Problem
The method getBeta() is undefined for the type GameInfo GaussianKFactor.java /JSkills/src/jskills/elo line 12 Java Problem
The method getBeta() is undefined for the type GameInfo PlayerSkillsToPerformancesLayer.java /JSkills/src/jskills/trueskill/layers line 48 Java Problem
The method getBeta() is undefined for the type GameInfo TeamDifferencesComparisonLayer.java /JSkills/src/jskills/trueskill/layers line 24 Java Problem
The method getBeta() is undefined for the type GameInfo TwoPlayerTrueSkillCalculator.java /JSkills/src/jskills/trueskill line 70 Java Problem
The method getBeta
JSkills master $ javac -cp "lib/*.jar" -d classes -sourcepath src src/**/*.java
src/jskills/GameInfo.java:1: class, interface, or enum expected
package jskills;
^
src/jskills/Guard.java:1: class, interface, or enum expected
package jskills;
^
src/jskills/ISupportPartialPlay.java:1: class, interface, or enum expected
package jskills;
^
1/11/11 4:56:25 PM CST: Missing artifact net.liftweb:lift-mapper_2.8.1:jar:2.2-RC3:compile
1/11/11 4:56:25 PM CST: Missing artifact ch.qos.logback:logback-classic:jar:0.9.26:compile
1/11/11 4:56:25 PM CST: Missing artifact ch.qos.logback:logback-core:jar:0.9.26:compile
1/11/11 4:56:25 PM CST: Missing artifact org.slf4j:slf4j-api:jar:1.6.1:compile
1/11/11 4:56:25 PM CST: Missing artifact com.h2database:h2:jar:1.2.138:runtime
1/11/11 4:56:25 PM CST: Missing artifact javax.servlet:servlet-api:jar:2.5:provided
1/11/11 4:56:25 PM CST: Missing artifact junit:junit:jar:4.7:test
1/11/11 4:56:25 PM CST: Missing artifact org.scala-tools.testing:specs_2.8.1:jar:1.6.6:test
1/11/11 4:56:25 PM CST: Missing artifact org.mortbay.jetty:jetty:jar:6.1.25:test
1/11/11 4:56:25 PM CST: Missing artifact org.mortbay.jetty:jetty-util:jar:6.1.25:test
Delivered-To: [removed]
Received: by 10.216.45.137 with SMTP id p9cs124697web;
Thu, 23 Dec 2010 09:16:49 -0800 (PST)
Received: by 10.151.84.5 with SMTP id m5mr12303813ybl.188.1293124607041;
Thu, 23 Dec 2010 09:16:47 -0800 (PST)
Return-Path: <bounce@mailer.33mail.com>
Received: from mailer.33mail.com (mailer.33mail.com [174.143.203.5])
by mx.google.com with ESMTP id c5si32420330ybi.16.2010.12.23.09.16.45;
Thu, 23 Dec 2010 09:16:45 -0800 (PST)
Dear Dr. Laura:
Thank you for doing so much to educate people regarding God's Law. I have learned a great deal from your show, and try to share that knowledge with as many people as I can. When someone tries to defend the homosexual lifestyle, for example, I simply remind them that Leviticus 18:22 clearly states it to be an abomination ... End of debate.
I do need some advice from you, however, regarding some other elements of God's Laws and how to follow them.
Leviticus 25:44 states that I may possess slaves, both male and female, provided they are purchased from neighbouring nations. A friend of mine claims that this applies to Mexicans, but not Canadians. Can you clarify? Why can't I own Canadians?
I would like to sell my daughter into slavery, as sanctioned in Exodus 21:7. In this day and age, what do you think would be a fair price for her?
I know that I am allowed no contact with a woman while she is in her period of Menstrual uncleanliness - Lev.15: 19-24. The problem is how do I tell? I have tried ask
Well, I can't say it was a smooth trip but we are finally here in Constanta, Romania, and its really
beautiful (and that's having only seen it in the dark!). Things started to go wrong at Amsterdam
Schiphol, when we realized that the transfer desk for our flight to Romania, which we need to go to
to get our boarding pass, was on the far side of immigration and security.
Worse, the hotel we had booked a room in to get a few hours sleep during our 5 hour layover was on
the *other* side of security, and because of that, and one or two other screwups we ended up having
to go through immigration and security 4 times during our 5 hour layover! Airport layout fail!
Then we were told by airport staff that we could bring water through security if it was in a
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.uprizer</groupId>
<artifactId>uprizer-net-engine</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>uprizer-net-engine</name>
uprizer-net-engine master $ mvn compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building uprizer-net-engine
[INFO] task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/ian/workspace/uprizer-net-engine/src/main/resources
[INFO] snapshot com.uprizer:sensearray:3.1-SNAPSHOT: checking for updates from morphia