Questions tagged [segment]

Segment is an ambiguous tag and one should refrain from using it. It has several, very different, meanings in CS. Please try and pick a more accurate tag for your post.

  • Segmentation (memory), the division of computer memory into segments
  • Image segment created in computer vision
  • String segment, the substring of a pattern delimited by two don't cares or one don't care and beginning or end of the pattern
  • Network segment, a part of a larger computer network
  • A protocol data unit of the transport layer in computing, e.g. TCP segment
625 questions
0
votes
1 answer

swift - add subview to segment control causes invalid behavior

i have a segment control let mySegmentControl = UISegmentedControl() i add two titles for it mySegmentControl.setTitle(title: "one", forSegmentAt: 0) mySegmentControl.setTitle(title: "two", forSegmentAt: 1) i add a label badge to "one" let…
coders
  • 2,287
  • 1
  • 12
  • 20
0
votes
1 answer

Range Minimum Query above a constant value

Given an array of n elements . Find minimum value of element in range [l...r] such that a[k]> p . ( l<=k<=r and p varies with each l and r). Is there any solution that works in log(N)?
0
votes
0 answers

Dynamic Width, Color Series Base On Value TeeChart .Net

I using Teechart on winform to learn . I draw line, it have threshold value, i want if Yvalue less or more than threshold value, the line will be have another color and width, it means: have multi color and width on a line. How can i do that ?…
0
votes
1 answer

How do I input a string into the text segment instead of the data segment in assembly (MIPS)

I have an assignment in which I am asked to change each lowercase letter of a given string to an uppercase letter. My problem is that the professor has asked us to input the string into the text segment and not the data segment. I have tried using…
stvllar
  • 1
  • 3
0
votes
1 answer

Codeigniter URI get confused because of hashed_password

So what i did is an email verification function which stores my email in uri upon redirection from gmail to localhost the problem is that the email is encrypted and sometimes it does generate a result of "/" which confuses the uri segment and…
Hanthony Tagam
  • 111
  • 3
  • 13
0
votes
2 answers

How to apply filter at segment level while fetching content from json file

I am trying to fetch content from json file while moving from one segment to another in ionic 2 application. So the problem says, I have three segments 1. board, 2. grade, 3. mybooks, navigating to grade from seg1 to seg2 by selecting board it…
supriya chauhan
  • 289
  • 1
  • 5
  • 19
0
votes
0 answers

How to increase the space of a segments in assembly 8086

I am currently doing some stuff with assembly x86, using emu8086, anyways i want to create a big stack but i see that when you define a new segment that you can use as stack it does not give it as much space as i need. So is there a way for me to…
Bl4ckC4t
  • 104
  • 1
  • 10
0
votes
1 answer

OnsenUI with VUE vue-onsenui v-ons-segment not working. Why?

OnsenUI with VUE vue-onsenui v-ons-segment is not showing correctly, and instead of a button bar in a row, I'm getting standard buttons. The code is in a modified Monaca CLI project with the minimal VUE template, inside a .vue file: in page2.vue,…
pashute
  • 3,965
  • 3
  • 38
  • 65
0
votes
0 answers

Include Wifi menu in android application

In my android application I want to create a segment where the user can connect with the WIFI. All avaiable WIFI Networks are supposed to be shown in a list where the user can be connected to a WIFI network just by tapping the required network. I…
MIsterX
  • 31
  • 6
0
votes
0 answers

Piwik custom dimension in segment

We use Piwik cloud (innocraft.com) for analytics and have a custom dimension called channel_perm_id with scope Visit, it's called dimension1 and is transmitted via JS Tracking API. Using the piwik admin panel we can verify that the dimension is set…
Kr0e
  • 2,149
  • 2
  • 24
  • 40
0
votes
3 answers

Javascript remove url last segment if found is numeric

I have javascript function to map url and hyperlink to highlight menu items, however I can't do this in deeper page with url last segment come with number, which a url looks like: http://localhost/story/89 I want to remove the last url segment if it…
Ben Koo
  • 79
  • 1
  • 7
0
votes
1 answer

What happens if a process calls out to code belonging to another process?

What happens if a process calls out, for code execution, to a far pointer that belongs to another process? In 32-bit operating mode, the GDT is non-trivially used and segmentation can be fully used. So, what happens if the requested CS pointer…
0
votes
1 answer

Plot geom_segment on geom_rect background

I want to plot line segments (to be precise: geom_segment element) on a geom_rect with a dark green fill. I use the following code: ggplot(data, aes(x=X0, y=Y0, xend=X1, yend=Y1))+ geom_segment(aes(colour=Result)) + …
hooty
  • 3
  • 3
0
votes
0 answers

Chart issue when using it inside a segment on Ionic2 project

I'm trying to use a chart (imported from Chart.js) controlled by a segment at Ionic2, but when I put the chart inside the segment condition, the following error occurs: Runtime Error this.barCanvas is undefined Outside the segment control, the…
0
votes
1 answer

Pushing segment registers on the stack for far calls

When the hardware pushes a segment register on the stack to save a far pointer because the calling procedure called a procedure in another segment, apparently, it does not save the invisible part of the segment register (the cached segment…
user5209336