Questions tagged [bidirectional]

"Bidirectional" refers to any process or structure that works in two directions. Use the tag `bidi` for bidirectional text instead of this tag.

"Bidirectional" is a general concept and can have a lot of meanings:

  • bidirectional text, see
  • bidirectional associations of data
  • bidirectional synchronization
  • bidirectional mapping
  • bidirectional communication
  • bidirectional search algorithms

See also: https://en.wikipedia.org/wiki/Bidirectional

493 questions
0
votes
1 answer

Better way to create bidirectional communication

I recently did a project on Android 3.2 to send strings to a server in my PC with a TCP connection. I had to do a thread to achieve this, something that I didn’t have to do in a Java program. I also used the AsyncTask method, but I couldn’t send…
Barscunes
  • 3
  • 2
0
votes
1 answer

Adding bidirectional functionality to a SelectionListener

I'm having some trouble with my selection listener, currently I have independently trialed selection of text from TOP to BOTTOM, and BOTTOM to TOP (Mouse movement), however these trials won't work together i.e. the one SelectionListener is…
0
votes
1 answer

Why did the caret move in this bidirectional text?

Consider the following bidirectional text in MS Word 2010, where the caret was positioned with a mouse click right at the left of the Hebrew letter dalet. If I then press Delete, the caret moves to its new position : As far as I can understand…
Belloc
  • 6,318
  • 3
  • 22
  • 52
0
votes
1 answer

Can Unity and Flash communicate between eachother if they coexists in the browser?

In other words, can Flash trigger methods in Unity if both are present on a webpage, and both are setup with some exposed methods to talk to eachother? Would JavaScript be the middle-man doing the communication between the two? I'm thinking that…
-1
votes
0 answers

How to do bidirectional synchronization between multiple Redis severs

I am using multiple Redis servers , here one is master server and other one are replicas server. Suppose I wanna write something in master server then the changes will be reflected on replicas by default but if I make changes on either of replica…
-1
votes
1 answer

Disorganization of Persian-English sentence in word file (.docx) created by Apache POI

When I try to create a paragraph with English-Farsi words (first photo), and using Apache POI to create .docx file and save the paragraph or save to table, the sentence becomes messy and unreadable (second photo). How to solve this problem? You can…
nik ravan
  • 1
  • 3
-1
votes
1 answer

Better way of communicating between Web App and Desktop App (Windows)

I have a Web App (PHP + Javascript) and a Desktop App (.NET C#). Sometimes I need my applications to communicate in a bidirectional way, where web app send a information to desktop, the desktop processes the information and returns to webapp. I'm…
-1
votes
1 answer

Is one bidirectional Doctrine2 relationship less performant than two unidirectionals relationships?

Related to Doctrine2 best practices : https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/best-practices.html and related to that post : Why is it recommended to avoid bidirectional relations in ORM? I need to understand if two…
Nicolas
  • 167
  • 8
-1
votes
1 answer

Time Complexity of Bidirectional Search

Give the time complexity of bidirectional search when the test for connecting the two searches is done by comparing a newly generated state in the forward direction against all the states generated in the backward direction, one at a time.
-1
votes
1 answer

Lightweight, multi-language and bidirectional RPC

I am currently developing a client-server system, where each client owns one object exclusively on the server. Basic interaction between the client and its object shall be done via remote procedure calls (RPC). Additionally, a client must be able to…
Bengt
  • 3,798
  • 2
  • 21
  • 28
-1
votes
1 answer

ManyToMany bidirectional [Semantical Error] User has no association named service

I have two netities user & service and the join table user_service generated by doctrine, i tried to add a manytomany relatioship here is the annotations that i added : Entity User side : /** * @ORM\ManyToMany(targetEntity="Service",…
sibko1
  • 3
  • 3
-2
votes
3 answers

Efficiently designing relationship between classes

I want to know if the below relationship model between classes can be improved. I am using MongoDB as a database layer. public class TodoItem { private String description; private Person person; } public class Person { private List
jsf
  • 2,851
  • 9
  • 30
  • 33
-4
votes
1 answer

right both right to left and left to right in python

i wrote a code which write in a text file a String which contains both a language whose wrote in right to left (like hebrew )and left to right like english i used unicode code to make it right to left and left to right u'\u2067' + hebrew +…
1 2 3
32
33