Questions tagged [two-way]

Refers to a procedure, a function, or a case where the data has two sides.

Refers to a procedure, a function, or a case where the data has two sides. Often these are referred to as input and output, and sometimes they are referred to as beginning and end. In some contexts, two-way might mean information that flows into two separate directions, or a simultaneous execution of two processes.

165 questions
105
votes
10 answers

Two way sync with rsync

I have a folder a/ and a remote folder A/. I now run something like this on a Makefile: get-music: rsync -avzru server:/media/10001/music/ /media/Incoming/music/ put-music: rsync -avzru /media/Incoming/music/…
mwm
  • 1,897
  • 2
  • 15
  • 21
85
votes
3 answers

Two-way SSL clarification

I am somewhat confused as to how two-way SSL works. How does the client create its certificate to send to the server? Is it generated from the server and distributed to the client? Also, what is the advantage of two-way SSL over one-way SSL?
sworded
  • 2,419
  • 4
  • 31
  • 48
29
votes
3 answers

Support for two-way TLS/HTTPS with ELB

One way (or server side) TLS/HTTPS with Amazon Elastic Load Balancing is well documented Support for two-way (or client side) TLS/HTTPS is not as clear from the documentation. Assuming ELB is terminating a TLS/HTTPS connection: Does ELB support…
pd40
  • 3,187
  • 3
  • 20
  • 29
10
votes
2 answers

AngularJS: Parent scope not updated in directive (with isolated scope) two way binding

I have the following code, which can also be fiddled on http://jsfiddle.net/garukun/u69PT/. View:
{{pkey}}
Steve
  • 151
  • 1
  • 1
  • 6
10
votes
2 answers

My SSL client (Java) isn't sending a certificate back to the server in two-way SSL handshake

In a Java 1.7 app running on Windows 7, I'm trying to do 2-way SSL with a server (a smartcard token is providing my client certs via openSC). The server's certificate is getting verified by the client just fine, but the client doesn't respond to…
PaulP
  • 527
  • 1
  • 7
  • 16
9
votes
4 answers

Android : Implementation of two way Endless Viewpager

What I want: I have been trying to implement two directional Endless viewpager in Android, Left to Right & Right to Left What I did: I have implemented Endless viewpager adapter, it works fine for right to left direction, I have set current item…
Hiren Patel
  • 52,124
  • 21
  • 173
  • 151
8
votes
3 answers

Two-way binding cannot resolve a setter for java.lang.String property

I am playing with the two-way binding of the data binding API which was introduced in Android Studio 2.1 AFIK. I get this interesting error: Error:Execution failed for task ':app:compileDebugJavaWithJavac'. > java.lang.RuntimeException: Found…
rekire
  • 47,260
  • 30
  • 167
  • 264
7
votes
1 answer

Two-way authentication using ssl in dotnet

I have a project where I need to send a datafile through a web request. We need to setup Two-way authentication also known as mutual authentication. We are not sure if we need a special cert or not but we know that it needs to be level 3. I am…
Nick
  • 841
  • 2
  • 9
  • 30
7
votes
1 answer

How can I create a two-way SSL socket in Ruby

I am building a client Ruby library that connects to a server and waits for data, but also allows users to send data by calling a method. The mechanism I use is to have a class that initializes a socket pair, like so: def initialize @pipe_r,…
ostinelli
  • 225
  • 3
  • 7
7
votes
6 answers

Angular2 How to get all selected check boxes

So I am working on an Angular2 application. I have a table where each record represent a student and includes a checkbox At some point user will click on a button that needs to…
Abdelrahman Shoman
  • 2,882
  • 7
  • 36
  • 61
6
votes
3 answers

angular2 data binding between service and component properties

I need some clarification on binding between service and component properties and data binding in angular2 assume i have a service(singleton) and a component export class Service { name = "Luke"; object = {id:1}; getName(){return this.name}; …
Han Che
  • 8,239
  • 19
  • 70
  • 116
5
votes
1 answer

How do I achieve two way binding for a contenteditable element using ng-bind-html in Angular js?

I'm just getting to grips with Angularjs and have seen the below in the documentation, how can I adapt this to use ng-bind-html as oppose to ng-model. I assume using both ng-bind-html and ng-model together would…
user3197788
  • 165
  • 4
  • 14
4
votes
1 answer

R: In anova.lm(g) : ANOVA F-tests on an essentially perfect fit are unreliable

I am pairing up online guides with an old text to learn R (page 182 - http://cran.r-project.org/doc/contrib/Faraway-PRA.pdf). When I use data from a package from R (as in the tutorial examples) there is no problem. However, when I use data from my…
tora0515
  • 2,479
  • 12
  • 33
  • 40
4
votes
3 answers

Two-way insertion sorting error

I'm trying to make a two-way insertion sort. It's supposed to take the very first value in an array, and then sort the following numbers in an array by comparing it to that first value. If the number is greater, it gets placed behind the first one…
execut4ble
  • 138
  • 8
4
votes
1 answer

Better way to handle two-way binding in PyQt?

Currently I'm using PyQT, which I very much like so far. However, I need to have two-way bindings and from the sparse information I could find on the internet this is the way to do it. Create a PyQTProperty, attach a getter, a setter and a signal…
me me
  • 395
  • 1
  • 3
  • 14
1
2 3
10 11