Questions tagged [segments]

segments are divisible parts of something usually associated:

  • in programing with memory segmentation (memory pages, or array/table/file division)
  • in Graphics with polyline/polygon parts or any visual division of objects (like hatching,grids,...)
  • in HW architectures,linkers,compilers with separate memory/code areas for program,data,stack...
138 questions
0
votes
1 answer

How to know when a vector changes direction suddently?

I have a polygon where I'm looking for 2 segments that are approximately 90 degree (+-20°). I always found the first one which is between p1 and p2 and I want to find p3, but in the image below, we can se that between p3 and p2 it's not a direct…
user3314570
  • 237
  • 4
  • 14
0
votes
1 answer

iOS Segmented Control Set Segments After Creation

In a custom uitableviewcell, the segmented control is created when the row is created. Each row is a question in a form. Depending on the type of question, the segmented control can have different answers. In the UISegmentedControl reference it only…
Austin Haws
  • 364
  • 2
  • 6
  • 15
0
votes
1 answer

Angular js - replace url segments/pieces without refreshing

Hi i'm trying replacing site.com/u#asd with site.com/u in browser url bar , and i would like to not refresh the page while replacing url Is this possible? I tryed: $location.replace("#asd",""); but it obviously won't work
itsme
  • 48,972
  • 96
  • 224
  • 345
0
votes
1 answer

New segments no longer available in API

For a long time I'm using advanced segments created in GA in my API calls. I never experienced any trouble with this. However since last week new created segments don't show up in the management API. I checked it with several profiles, but new…
Paul
  • 329
  • 1
  • 8
0
votes
1 answer

Analytics advanced segment filter is showing home page results

Using a simple filter, Page contains /test but the results displayed include /, /blog, /photos pages. Any idea why this would be happening on such a simple segment?
Ninjasys
  • 169
  • 1
  • 11
0
votes
0 answers

iOS Segmented controls change text taken from plist file

i have a master detail application where in the detail view there is a text field with some information taken from a plist file store in bundle in viewdidload i define self.description.text=[self.myobject objectForKey:@"description"]; now i would…
0
votes
1 answer

R google analytics segment definition

I've just started learning a bit of R in order to pull and analyse data from Google Analytics. What I'm struggling with is querying the management API to pull certain account data. My desire is to be able to pull the definition of a segment or the…
Fox87
  • 127
  • 2
  • 2
  • 10
0
votes
1 answer

Determine if there are intersecting segments among others

I have a problem. I have some array of segments(their coordinats) and need to determine which of them are intersecting. I know how to determine if 2 segments are intersecting, it is a bit obvious, but how to do in with an array of segments and with…
ratkke
  • 469
  • 1
  • 4
  • 13
0
votes
0 answers

Can Apache Derby embedded db file be split into multiple file?

I am writing a java app with an embedded Derby DB. Because the storage is going to be massive, the db file as well grows huge. I wonder if the db could be switched to new file or segment once a certain limit is reached. Is this achievable with…
sabbir
  • 686
  • 1
  • 9
  • 15
0
votes
1 answer

ARM GNU GCC trying to zero out the .bss section

I am having a problem, ARM GNU GCC is trying to 'zero' the .bss section , I dont want it to do it as my startup code is doing it already. Due to this the final image size is increased by the bss size filled with zero's . I am already using NOLOAD in…
user2807984
  • 23
  • 2
  • 7
0
votes
1 answer

Assembly stack basics

So on my quest to jump into Assembly, I've "hlt"'d on one thing in this real mode binary.. This is preparing a stack from 9FB00->90000. The guide I was following assumed I had knowledge of segments and I was hoping I could get an explanation as to…
0
votes
1 answer

ZURB Foundation Fixed Topbar 4 doesn´t work in mobile mode with URLs like www.mysite.com/segment1/segment2

I use the fixed Topbar 4.3.1. On small screens (mobile mode) the Topbar will only expand, if the page I´m on has a URL like www.mysite.com www.mysite.com/segment1 If I´m on a page with a URL like www.mysite.com/segment1/segment2 the Topbar will…
awa
  • 171
  • 1
0
votes
2 answers

How can I draw the contour of a segment

I am using the R function segments and would like to know how I can draw "around" the segment (the contour), in say black. plot(0) segments(.9,.1,.8,.3, lwd=10, lend='square', col='pink') Here I would get a black rectangle around the pink segment
statquant
  • 13,672
  • 21
  • 91
  • 162
0
votes
2 answers

How to click the segmentedControl object and use it to change view?

I want to implement just like interface builder segmented control, and click it to change views , I don't know under the segment if a NSBrowser or not. and how to change the view , can you give me some sample codes or a demo? Thank you very much!
jin
  • 2,145
  • 5
  • 27
  • 44
0
votes
2 answers

Add extra url segment to a url in Wordpress

I'd like to add an extra 'non-functional' url segment in front of the next url segments e.g. I now have a url http://www.domain.com/news/newspost1/ but I'd like to add a cityname in front of the url so like…