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
// https://docs.google.com/file/d/0B4nP_B5KDxyPdnFySDJhVDI2Ujg/edit?usp=sharing | |
// https://groups.google.com/forum/#!searchin/hazelcast/ngoc/hazelcast/aeSPHp82Dcs/R5ZzkIfvCukJ | |
package test | |
import com.hazelcast.core.Hazelcast | |
object TestManyTopic { | |
def main(args: Array[String]): Unit = { | |
val c = null//new Config |
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
C:\Users\tanaka\Downloads\xitrum-demos-2.10\target\xitrum>java -Xmx1024m -Xms256m -XX:MaxPermSize=128m -XX:+HeapDumpOnOutOfMemoryError -XX:+Aggressive | |
Opts -XX:+OptimizeStringConcat -XX:+UseFastAccessorMethods -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+CMSClassUnloadi | |
ngEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Djava.awt.headless= | |
true -server -Dxitrum.mode=production -cp "C:\Users\tanaka\Downloads\xitrum-demos-2.10\target\xitrum\bin\..\lib\*;config" demos.Boot | |
[INFO] Slf4jLogger started | |
[INFO] Using configuration file at C:\Users\tanaka\Downloads\xitrum-demos-2.10\target\xitrum\config\hazelcast_cluster_member.xml | |
[INFO] Using configuration file at C:\Users\tanaka\Downloads\xitrum-demos-2.10\target\xitrum\config\hazelcast_cluster_member.xml | |
[INFO] Prefer IPv4 stack is true. | |
[INFO] Picked Address[192.168.1.12]:5701, using socket ServerSocket[addr=/0.0.0.0,localport=5701], bind any local is tr |
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
[info] Set current project to bar (in build file:/Users/ngoc/tmp/x/) | |
[info] Generating Scala API documentation for main sources to /Users/ngoc/tmp/x/target/scala-2.10/api... | |
model contains 4 documentable templates | |
java.lang.AssertionError: assertion failed: | |
while compiling: /Users/ngoc/tmp/x/src/main/scala/foo/B.scala | |
during phase: global=terminal, atPhase=typer | |
library version: version 2.10.1 | |
compiler version: version 2.10.1 | |
reconstructed args: -Yno-self-type-checks -d /Users/ngoc/tmp/x/target/scala-2.10/api -classpath dummy_82279db5 -bootclasspath /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Libra |
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
// From http://code.google.com/p/android-native-egl-example/ | |
#include <stdint.h> | |
#include <unistd.h> | |
#include <pthread.h> | |
#include <android/native_window.h> // requires ndk r5 or newer | |
#include <EGL/egl.h> // requires ndk r5 or newer | |
#include <GLES2/gl2.h> | |
#include "logger.h" |
This file has been truncated, but you can view the full file.
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
. | |
├── AHEM____.TTF | |
├── android_fallback_fonts.xml | |
├── android_main_fonts.xml | |
├── android_webview | |
│ ├── AndroidManifest.xml | |
│ ├── AndroidManifest.xml.d | |
│ ├── AndroidWebView.ap_ | |
│ ├── AndroidWebView.ap_.d | |
│ ├── assets |
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
This is *exactly* what the trace BIFs are for | |
erlang:trace(PidSpec, Bool, TraceFlags) does what you want. | |
Here is an example: | |
-module(tracer). | |
-export([start/0, loop/0, watch/1]). | |
start() -> |
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
package recfun | |
import scala.collection.mutable.ListBuffer | |
import common._ | |
/** https://class.coursera.org/progfun-2012-001/assignment/view?assignment_id=4 */ | |
object Main { | |
def main(args: Array[String]) { | |
println("Pascal's Triangle") | |
for (row <- 0 to 10) { |
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-04 06:33:57.968: I/ActivityManager(273): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=vinova.vss.moneymanagement.view/.MoneyManagementActivity } from pid 508 | |
09-04 06:33:57.976: E/ResourceType(273): Style contains key with bad entry: 0x01010361 | |
09-04 06:33:57.976: W/WindowManager(273): HistoryRecord{4098eaf0 vinova.vss.moneymanagement.view/.MoneyManagementActivity} failed creating starting window | |
09-04 06:33:57.976: W/WindowManager(273): java.lang.RuntimeException: Binary XML file line #25: You must supply a layout_height attribute. | |
09-04 06:33:57.976: W/WindowManager(273): at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:491) | |
09-04 06:33:57.976: W/WindowManager(273): at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:3599) | |
09-04 06:33:57.976: W/WindowManager(273): at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:3678) | |
09-04 06:33:57.976: W/WindowManager(273): at android.widget.Line |
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-04 01:31:34.960: D/MediaPlayer(2268): switchStereoView IN, Stereo Type = -2 | |
09-04 01:31:34.960: D/MediaPlayer(2268): switchStereoView, Stereo Type = 0 | |
09-04 01:31:34.992: E/VideoView(2268): VideoPlaybackBroadcastReceiver intent is NULL! | |
09-04 01:31:35.000: D/skia(1462): Loading ARM decoder... | |
09-04 01:31:35.046: W/(157): [SHDISP_EPP]shdisp_epp_api_overlay_set_output start | |
09-04 01:31:35.203: E/AudioHardwareALSA(157): RE-OPEN AFTER STANDBY:: took 196 msecs | |
09-04 01:31:35.203: W/AudioFlinger(157): write blocked for 197 msecs, 3 delayed writes, thread 0x7fff0 | |
09-04 01:31:35.328: W/IInputConnectionWrapper(508): showStatusIcon on inactive InputConnection | |
09-04 01:31:36.796: I/ActivityManager(273): Starting: Intent { cmp=com.iamme.fuckingbirds/.MainActivity } from pid 2268 | |
09-04 01:31:36.976: I/WindowManager(273): Setting rotation to 0, animFlags=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
09-04 00:51:16.320: W/dalvikvm(3421): threadid=8: thread exiting with uncaught exception (group=0x4002d560) | |
09-04 00:51:16.328: E/AndroidRuntime(3421): FATAL EXCEPTION: AsyncTask #1 | |
09-04 00:51:16.328: E/AndroidRuntime(3421): java.lang.RuntimeException: An error occured while executing doInBackground() | |
09-04 00:51:16.328: E/AndroidRuntime(3421): at android.os.AsyncTask$3.done(AsyncTask.java:200) | |
09-04 00:51:16.328: E/AndroidRuntime(3421): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:274) | |
09-04 00:51:16.328: E/AndroidRuntime(3421): at java.util.concurrent.FutureTask.setException(FutureTask.java:125) | |
09-04 00:51:16.328: E/AndroidRuntime(3421): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:308) | |
09-04 00:51:16.328: E/AndroidRuntime(3421): at java.util.concurrent.FutureTask.run(FutureTask.java:138) | |
09-04 00:51:16.328: E/AndroidRuntime(3421): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088) | |
09-04 00:51:16.328: E/AndroidRuntime(3 |