This file contains hidden or 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
java.lang.NullPointerException | |
at com.google.apphosting.utils.config.BackendsYamlReader$BackendsYaml.toXml(BackendsYamlReader.java:44) | |
at com.google.apphosting.utils.config.BackendsYamlReader.parse(BackendsYamlReader.java:185) | |
at com.google.apphosting.utils.config.BackendsYamlReader.parse(BackendsYamlReader.java:166) | |
at com.google.appengine.tools.admin.Application.<init>(Application.java:221) | |
at com.google.appengine.tools.admin.Application.readApplication(Application.java:290) | |
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:186) | |
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:102) | |
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:98) | |
at com.google.appengine.AbstractAppCfgMojo.executeAppCfgCommand(AbstractAppCfgMojo.java:242) |
This file contains hidden or 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
Unable to configure backend: | |
java.lang.NullPointerException | |
at com.google.appengine.tools.admin.AppAdminImpl.configureBackend(AppAdminImpl.java:177) | |
at com.google.appengine.tools.admin.AppCfg$BackendsConfigureAction.execute(AppCfg.java:1693) | |
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:219) | |
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:102) | |
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:98) | |
at com.google.appengine.AbstractAppCfgMojo.executeAppCfgBackendsCommand(AbstractAppCfgMojo.java:253) | |
at com.google.appengine.appcfg.BackendsConfigure.execute(BackendsConfigure.java:32) | |
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) |
This file contains hidden or 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
$ mvn appengine:devserver | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building lastcalc 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
...snip unit test output... | |
[INFO] | |
[INFO] --- maven-war-plugin:2.3:war (default-war) @ lastcalc --- | |
[INFO] Packaging webapp |
This file contains hidden or 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
{"notify_request": {"timestamp":"2013-01-28 20:06:06","user_id_64":6327291030808759029,"response_time_ms":27,"fail":true,"error":"Invalid HTTP response code 1425806080","error_id":13,"tags":[{"id":1128022,"auction_id_64":6650444562080857093,"payment_rule_id":196067,"notify_type": "lost"}],"responses": []}} |
This file contains hidden or 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
-nosplash | |
--launcher.defaultAction | |
openFile | |
-vm | |
/Library/Java/JavaVirtualMachines/jdk1.7.0_08.jdk/Contents/Home/bin/java | |
-vmargs | |
-Xincgc | |
-Xss1m | |
-Duser.name=FirstName LastName | |
-Dfile.encoding=UTF-8 |
This file contains hidden or 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
Full thread dump Java HotSpot(TM) 64-Bit Server VM (23.4-b01 mixed mode): | |
"Worker-9" prio=5 tid=0x0000000112381000 nid=0x5c07 in Object.wait() [0x0000000119d24000] | |
java.lang.Thread.State: TIMED_WAITING (on object monitor) | |
at java.lang.Object.wait(Native Method) | |
- waiting on <0x0000000705b0b468> (a org.eclipse.core.internal.jobs.WorkerPool) | |
at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188) | |
- locked <0x0000000705b0b468> (a org.eclipse.core.internal.jobs.WorkerPool) | |
at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220) | |
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:50) |
This file contains hidden or 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
ian@vega ~/Applications/eclipse/Eclipse.app/Contents/MacOS> cat eclipse.ini | |
-nosplash | |
--launcher.defaultAction | |
openFile | |
-vmargs | |
-Xincgc | |
-Xss1m | |
-Dfile.encoding=UTF-8 | |
-Dosgi.requiredJavaVersion=1.7 | |
-Declipse.p2.unsignedPolicy=allow |
This file contains hidden or 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
dog = 13 | |
cat = 8 | |
woof A B = A+B |
This file contains hidden or 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
MacOS $ cat eclipse.ini | |
-startup | |
../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar | |
--launcher.library | |
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.101.v20120109-1504 | |
-product | |
org.eclipse.epp.package.jee.product | |
--launcher.defaultAction | |
openFile | |
-showsplash |
This file contains hidden or 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
final LinkedList<PredictionCalibrator.Prediction> predictions = Lists.newLinkedList(); | |
for (int x = 0; x < 10000; x++) { | |
final double prediction = Misc.random.nextDouble(); | |
final double outcome = (Misc.random.nextDouble() < Math.pow(prediction, 2)) ? 1.0 : 0.0; | |
predictions.add(new Prediction(prediction, outcome)); | |
} | |
final PredictionCalibrator pc = new PredictionCalibrator(predictions); | |
for (final Prediction p : pc.calibrationSet) { | |
System.out.println(p.prediction + "\t" + p.outcome); |