Questions tagged [region]

Can refer to many different things depending on the use of other tags with it.

768 questions
8
votes
2 answers

Is mark active if and only if region is active in Emacs?

Does "mark is active" simply mean the same thing as "region is active" in Emacs, regardless of whether Transient Mark mode is enabled? Therefore to activate mark is the same as to activate region? I am confused because two phrases seem to be used…
Jisang Yoo
  • 3,670
  • 20
  • 31
8
votes
1 answer

Is there any API for getting all countries and passing country get all States/Region and again passing State/Region get all cities in it

I am creating a web page in asp.net where I have to populate all countries in a dropdown. On selecting one country I need to populate all States/Region in that country to another dropdown. finally on selecting the state/region need to populate all…
user1879363
  • 101
  • 1
  • 3
8
votes
3 answers

Using Regionerate on VS2012, or alternative addin

I tend to use Regionerate quite extensively for reorganizing my code files. My only problem is I can't get it registered with VS2012. I've abandoned VS2010 fully in favour of VS2012 and it's galling to have to flip back just to run a macro to…
Richard Moss
  • 1,550
  • 3
  • 26
  • 43
7
votes
2 answers

Region(Circular and Beacon) detection in background sometimes fails in iOS 15

We are developing an app that should respond to an iBeacon and circular regions in the background. Sometimes it works perfectly, but sometimes the beacon and circular region enter/exit stop suddenly. In the app, we are using(in background…
7
votes
1 answer

Is there a way to change the default thread culture in visual studio team service

I have a VSTS account within the region of US. And I have a bunch of Unit tests, which run successfully on my local server. But when deployed to the VSTS, all the tests related to the date time are failed. I guess this is because the interpretation…
7
votes
3 answers

How to monitor more than 20 regions?

I'm working on an app in which there are 66 annotations. These annotations are centers of regions and whenever user enters a region, a notification appears, but that works only for first 20 of them because there's a limited number on monitoring…
andre
  • 773
  • 1
  • 6
  • 16
7
votes
1 answer

Is Rust using region-based memory management?

For instance, if we forget about return value optimization, and have the following code: fn func() -> Box { Box::new(String::new()) } fn main() { let boxed_string = func(); } will the compiler create regions to manage the memory or…
antoyo
  • 11,097
  • 7
  • 51
  • 82
7
votes
3 answers

How to create a clickable irregularly-shaped region in c#

I have an irregularly-shaped picture like a heart or any random shape. I can make it transparent visually, but I need to make it clickable only on the shape area. I heard that I should use "Region" for this, but I can't figure out how. I tried to…
İsmail Barış
  • 142
  • 1
  • 11
7
votes
3 answers

Is there any good reason why the #region and #endregion does not work in F#

This is very useful in organizing and browsing the code. Why is it not implemented? And if it would prevent some constructs why not have something similar for F#?
Moonlight
  • 545
  • 5
  • 15
6
votes
5 answers

iphone CLLocationmanager Region monitoring callbacks not triggered

I am trying to use monitoring regions to track if users have visited landmarks. the location manager is initialized in a viewcontroller along with a mapkit in viewdidload of the view controller: if (self.locationManager == nil) { // …
tzl
  • 1,540
  • 2
  • 20
  • 31
6
votes
2 answers

Prism / MEF: How to RegisterViewWithRegion Without Hard-Coding the Region Name

We are building a WPF Prism application. We have different developers working on different module projects, and multiple modules are injected into the main Application Shell. The main application is also a separate project. We also want to be able…
D'Hag
  • 591
  • 8
  • 11
6
votes
2 answers

Why is an AMI tied to a region on ec2?

I understand that when I launch an instance on ec2, that the instance has to be located on a particular data center, and that after launching you can't change that. I also understand that an AMI is created from an instance. But what I dont…
citizen conn
  • 15,300
  • 3
  • 58
  • 80
6
votes
0 answers

Losing Base table data after a region server dies

I have a issue with HBase cluster. I have hosted an HBase cluster with Phoenix on EMR emr-5.8.0 and storage as S3. I have 1 master and 5 slaves 4.x large nodes. I’m losing the data while querying a table after a region server dies. I face this…
Nandakishore
  • 981
  • 1
  • 9
  • 22
6
votes
2 answers

Region.IsVisible(PointF) has very slow performance for large floating point values

I have run into a strange performance issue, and it would be great with an explanation to the behavior I'm experiencing. I'm using System.Drawing.Region.IsVisible(PointF) to determine if a point is inside a polygon. This usually works very well,…
larsjr
  • 665
  • 7
  • 17
6
votes
2 answers

"re-replace-region: Match data clobbered by buffer modification hooks"

After upgrading to Aquamacs Version 3.3 (emacs 25.1.1), I'm getting the error mentioned in the title when running re-replace-region (as defined below), trying to change a string of 9s in a region (e.g. "99" or "999") to 0s. I've never had this…
peak
  • 105,803
  • 17
  • 152
  • 177