Skip to content

Instantly share code, notes, and snippets.

View stevenschlansker's full-sized avatar

Steven Schlansker stevenschlansker

  • Wholesail
  • San Francisco, CA
View GitHub Profile
12:39.28 In file included from /Users/pale/jenkins/workspace/tycho/default/obj-x86_64-apple-darwin12.5.0/dom/media/mediasource/Unified_cpp_media_mediasource0.cpp:110:
12:39.28 /Users/pale/jenkins/workspace/tycho/default/dom/media/mediasource/TrackBuffersManager.cpp:1671:10: error: no matching constructor for initialization of 'nsTArray<TrackBuffersManager::TrackData *>'
12:39.28 return tracks;
12:39.28 ^~~~~~
12:39.29 ../../../dist/include/nsTArray.h:1823:16: note: candidate constructor [with Allocator = nsTArrayInfallibleAllocator] not viable: no known conversion from 'nsTArray<mozilla::TrackBuffersManager::TrackData *>' to 'nsTArray_Impl<mozilla::TrackBuffersManager::TrackData *, nsTArrayInfallibleAllocator> &&' for 1st argument
12:39.29 MOZ_IMPLICIT nsTArray(nsTArray_Impl<E, Allocator>&& aOther)
12:39.29 ^
12:39.29 ../../../dist/include/nsTArray.h:1812:3: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
12:39.29 nsTArray() {}
[steven@luminol:~/ot-code/service-discovery](master|✔)% grep -C 2 'otj-parent' pom.xml
<parent>
<groupId>com.opentable</groupId>
<artifactId>otj-parent-spring</artifactId>
<version>91</version>
</parent>
[steven@luminol:~/ot-code/service-discovery](master|✔)% mvn clean install -DskipTests
...
[INFO] BUILD SUCCESS
import com.fasterxml.jackson.databind.JsonNode;
public class RecastAction {
enum Actions {
CAST_STRING {
@Override
JsonNode cast(JsonNode input) {
// TODO Auto-generated method stub
return null;
}
Hi jgroups-users,
I am developing my first JGroups 4.0.0b3 based project.
It is a relatively simple replicated state machine.
Each state transition is sent as a Message.
Members may join or leave the cluster at any time.
My hope is that I can end up in a situation where no matter what sequence
of member join / leave / crash (barring a total outage where all members die)
2016-12-07T22:09:24.051Z INFO <> [jgroups-3,discovery,gf] org.jgroups.protocols.TCPPING - gf: received GET_MBRS_RSP from 0e43df17-3a7f-350f-df2e-6b2da70837cf: 0e43df17-3a7f-350f-df2e-6b2da70837cf, name=FH, addr=10.70.7.5:31714, coord
2016-12-07T22:09:24.052Z INFO <> [main] org.jgroups.protocols.pbcast.GMS - gf: discovery took 29 ms, members: 1 rsps (1 coords) [done]
2016-12-07T22:09:24.053Z INFO <> [main] org.jgroups.protocols.pbcast.GMS - gf: sending JOIN(gf) to FH
...
2016-12-07T22:09:31.120Z INFO <> [jgroups-14,discovery,gf] org.jgroups.protocols.pbcast.NAKACK2 - gf: message FH::14 was added to queue (not yet server)
2016-12-07T22:09:31.121Z INFO <> [jgroups-14,discovery,gf] org.jgroups.protocols.pbcast.NAKACK2 - gf: message FH::15 was added to queue (not yet server)
2016-12-07T22:09:31.127Z INFO <> [main] c.o.s.d.c.MyReceiver - [gf] Cluster topology now [FH|1] (2) [FH, gf]
2016-12-07T22:09:31.139Z INFO <> [main] org.jgroups.protocols.pbcast.STATE - gf: asking FH for state
2016-12-07T22:09:31.160Z I
[main] DEBUG io.netty.util.internal.logging.InternalLoggerFactory - Using SLF4J as the default logging framework
[main] DEBUG io.netty.handler.ssl.JdkSslContext - Default protocols (JDK): [TLSv1.2, TLSv1.1, TLSv1]
[main] DEBUG io.netty.handler.ssl.JdkSslContext - Default cipher suites (JDK): [TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA]
[main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple
[main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.maxRecords: 4
[main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available
[main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available
[main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available
[main] DEBUG io.netty.util.internal.PlatformDependent0 - direct buffer constructor: availab
package com.dao.impl;
import java.sql.ResultSet;
import java.sql.SQLException;
import org.skife.jdbi.v2.StatementContext;
import org.skife.jdbi.v2.tweak.ResultSetMapper;
import com.pojo.Student;
interface Config<C extends Config<C>> {
C createCopy();
}
interface Factory<C extends Config<C>> {
}
class Registry {
private static class Entry<C extends Config<C>> {
@stevenschlansker
stevenschlansker / event stream
Created July 29, 2016 22:11
event stream no network ip
{task_added={task={agent_id={value=fdbb3ff5-47c2-4b49-a521-b52b9acf74dd-S21},
container={docker=
{force_pull_image=false,
image=docker-ci-uswest2.otenv.com/demo-server:demo-server-1.0.0-SNAPSHOT-20160722_182049_steven,
network=BRIDGE,
port_mappings=[{container_port=31281, host_port=31281}, {container_port=31282, host_port=31282}],
privileged=false},
type=DOCKER},
framework_id={value=Singularity},
labels={},
package org.skife.jdbi.v2.sqlobject;
import static org.junit.Assert.assertEquals;
import java.lang.annotation.Annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.reflect.Method;