Questions tagged [disambiguation]

This tag refers to the process of making something less ambiguous.

Use this tag for questions related to reducing or eliminating the ambiguity of something, such as code.

63 questions
2
votes
0 answers

How does App-Engine disambiguate custom domains with wildcards?

If I add a custom domain like *.example.com to my app-engine project, I can then selectively add CNAMEs to that domain pointing to ghs.googlehosted.com to forward subdomains to this project, which will then identify versions in the project. For…
2
votes
1 answer

Expression precedence and disambiguation

I'm currently working on making Rust-lang parsable with Rascal. The originally used syntax is made for Bison and so I'm translating it to be usable. The stumbling blocks that I have reached are the expressions. Rust has four types of expressions in…
Adrian Z.
  • 904
  • 1
  • 12
  • 29
2
votes
1 answer

How do hash tables resolve bucket ambiguity and probes?

I am reading Data Structures and Algorithms & Software Principles in C to try to wrap my head around some internals of data structures, and two things are really bothering me: (1) How do hash tables deal with deciding which item in the bucket is…
Dmytro
  • 5,068
  • 4
  • 39
  • 50
2
votes
2 answers

Note in §8.2[dcl.ambig.res]/2 in N4140

In §8.2[dcl.ambig.res]/2 we have the following note (emphases is mine): [ Note: A declaration can be explicitly disambiguated by a nonfunction-style cast, by an = to indicate initialization or by removing the redundant parentheses around the…
Belloc
  • 6,318
  • 3
  • 22
  • 52
2
votes
1 answer

Ambiguous Outer Joins?

I am getting the following error message... "The SQL statement could not be executed because it contains ambiguous outer joins. To force one of the joins to be performed first, create a separate query that performs the first join and then include…
Ben
  • 107
  • 1
  • 2
  • 8
2
votes
5 answers

How do you extract various meanings of a certain word

Given "violence" as input would it be possible to come up with how violence construed by a person (e.g. physical violence, a book, an album, a musical group ..) as mentioned below in Ref #1. Assuming if the user meant an Album, what would be the…
Rpj
  • 5,348
  • 16
  • 62
  • 122
2
votes
2 answers

Disambiguate cast operator when the target class has multiple constructors

I am trying to make utility for converting strings as I have a bad mix of interfaces needing strings in various containers (char*, std::string, custom string type) and formats (utf-8, utf-16, utf-32). So I had the idea to create a wrapper with cast…
Jan Hudec
  • 73,652
  • 13
  • 125
  • 172
2
votes
5 answers

C# - 'Double' is an ambiguous reference

I have the following files in my code base: StandardUnits.Numbers.Double using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace StandardUnits.Numbers { public class Double : Number { …
weberc2
  • 7,423
  • 4
  • 41
  • 57
1
vote
1 answer

How to specify which part of a regex takes precendence when faced with an ambiguity?

I have a regex with two named parts and an optional hyphen separator. ^(?xxx)-?(?yyy)$ (I've simplified the actual regex down. Instead of 'xxx' and 'yyy', imagine two really long and complicated regexes.) However, because the hyphen is…
billpg
  • 3,195
  • 3
  • 30
  • 57
1
vote
0 answers

Deep linking flutter app when user clicks google maps link disambiguation dialog not showing

In my flutter rider app when user click on google map link outside of my flutter rider app when my app not active.Then disambiguation dialog is not appearing to select my app.I just wanted to list my app in the disambiguation dialog when user clicks…
1
vote
1 answer

Fill NaN if values in another column are identical

I have the following dataframe: Out[117]: mydata author email ri oi 0 X1 NaN NaN 0000-0001-8437-498X 1 X2 NaN NaN NaN 2 X3 …
bryantz
  • 23
  • 4
1
vote
2 answers

Is there a way to use dplyr distinct() to consider similar values as equal?

I have to do an analysis of scientific papers published in a list of over 20,000 journals. My list has over 450,000 records but with several duplicates (ex: a paper with more than one author from different institutions appear more than once). Well,…
André Brasil
  • 35
  • 1
  • 4
1
vote
2 answers

Perl variable disambiguation within regex

I want to ensure variables are interpolated as they are within perl regular expressions. Would rather avoid binding over to other variables in a cascate of "ifs" that would rarely need that variable throughout the code execution. How could I ensure…
Avenger
  • 177
  • 1
  • 8
1
vote
2 answers

How to Disambiguate Between External Class and Nested Class

I have a situation in which one of my classes is called SpaceMine, and another class I have is called Ability and has a class nested within it called SpaceMine: public class SpaceMine { } public class Ability { public class SpaceMine : …
1
vote
1 answer

Turn list to various columns in a data frame

I have a dataset (columns below), and I am having issues with one of the variables. Here's a snapshot of the data. [1] "id" "parent_keywords" "tag" "venue_name" "normalized_venue_name" [6]…
Daniel Vargas
  • 980
  • 2
  • 13
  • 21