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
11
votes
1 answer

CouchDB conflict resolution

How does CouchDB handles conflicts while doing bi-directional replication? For example: Lets say there are two address book databases (in server A and B). There is a document for Jack which contains contact details of Jack. Server A and B are…
Sundar
  • 1,204
  • 1
  • 14
  • 17
10
votes
1 answer

Solving Persian Characters in Sublime Text With Bidirectional text

I'm using sublime text v3 and find out there is a problem with persian characters in sublime text, i find the solution by using Bidirectional text package This is a image of my problem: But i have to use ctrl+b everytime i typing persian…
Arash Yazdani
  • 294
  • 3
  • 18
10
votes
4 answers

Android mixed language text - BidiFormatter on String with RTL and LTR text

I have a ListView with custom View where I have a TextView :
NickF
  • 5,637
  • 12
  • 44
  • 75
9
votes
3 answers

What Java data structure is best for two-way multi-value mapping

I'm relatively new to Java and I have a question about what type of data structure would be best for my case. I have a set of data which are essentially key-value pairs, however each value may correspond to multiple keys and each key may correspond…
9
votes
1 answer

Difference between "bdo" element and other elements with "dir" attribute?

What is the difference between using bdo CIBARA english EMOS and using most tags with dir attribute like CIBARA english EMOS I know this question is similar to should i always use bdo for text…
obsessiveCookie
  • 1,130
  • 2
  • 18
  • 33
9
votes
1 answer

JPA/Hibernate bidirectional many-to-one results in StackOverflowException

I have entities User and GrantedRole that have a bidirectional one-to-many relation. When I try to add a GrantedRole to the Set in User, there is no exception thrown, but when I debug the variables for the User and GrantedRole object have a…
Johanneke
  • 5,443
  • 4
  • 20
  • 33
8
votes
2 answers

Bidirectional JSON-RPC over TCP socket Java implementation

Does anyone know if some Java implementation of the JSON-RPC protocol exists with bidirectional support (there is no Client/Server, both entities can send and receive the same messages). I know it exists in Python: bjsonrpc Thanks!
nbarraille
  • 9,926
  • 14
  • 65
  • 92
8
votes
1 answer

How does python handle and print strings that contains RTL and LTR languages?

I have been searching the web and asking people about this subject but I really did not get a satisfying answer, let me explain my issue here with python. let's say I have this string: a = 'حصل طالب على (80) في (something) واجتاز الشرط بنجاح' the…
imBaraa
  • 81
  • 4
8
votes
4 answers

equals() method for classes with bidirectional association

I am trying to implement equals method for Java classes Book and Chapter in my application. Book has a set of Chapters, while a Chapter has an associated Book. The bidirectional association is shown as below: class Book{ private String isbn; …
markjason72
  • 1,653
  • 8
  • 27
  • 47
8
votes
4 answers

How to use multilayered bidirectional LSTM in Tensorflow?

I want to know how to use multilayered bidirectional LSTM in Tensorflow. I have already implemented the contents of bidirectional LSTM, but I wanna compare this model with the model added multi-layers. How should I add some code in this part? x =…
8
votes
2 answers

Issue with the direction: rtl CSS property

I have an HTML element and I need to display a folder / file path within it that can sometimes be very long. I also want to keep it on a single line (within a width constrained container) so I obviously need to add some ellipsis to it. Another…
Zubzob
  • 2,653
  • 4
  • 29
  • 44
8
votes
2 answers

should i always use bdo for text direction?

In HTML, the tag is used to override the current text direction. When i have a
tag, should i use tag inside it?
TEXT
Or instead i should use a CSS class for the
tag:
Sadeq
  • 7,795
  • 4
  • 34
  • 45
8
votes
4 answers

Bidirectional bindings of different properties

I just tried to bind a Integer and a String property. After some googling this should be possible with one of the two provided methods: public static void bindBidirectional(Property stringProperty, Property otherProperty, StringConverter…
dethlef1
  • 81
  • 1
  • 1
  • 2
7
votes
1 answer

confusion regarding bidirectional and full-duplex in articles about http/2

Some articles describing http/2 are praising it for being both bidirectional and full-duplex. AFAIK bidirectional means that communication is in both directions so duplex is by its nature bidirectional, yes? Duplex can be created by one simplex…
marzelin
  • 10,790
  • 2
  • 30
  • 49
7
votes
1 answer

Mapping a bidirectional list with Hibernate

I don't understand the behavior of Hibernate when mapping a bidirectional list. The SQL statements that Hibernate produces seem not optimal to me. Can somebody enlighten me? The scenario is the following: I have a one-to-many parent-child…
jbandi
  • 17,499
  • 9
  • 69
  • 81
1
2
3
32 33