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
0 answers

python segment data from column

I need to open an excel work sheet, and create different excel sheets segmenting from data. Ancienneté Site 1 - Mon territoire -Direction Générale 2 paris 2 -COMEX 0 paris 2 -Direction Générale 12 paris …
oezlem
  • 237
  • 2
  • 12
0
votes
1 answer

BeanIO 2.1 Wrapped Segments

Hello guys I am using BeanIO to write to CSV file. I have a complex class structure that I want to output in one column. And here are the classes I am using. "Main" class is GprsEvent: public class GprsEvent { private ListOfServiceData …
SimpleThings
  • 147
  • 2
  • 12
0
votes
1 answer

what the difference of segment in ELF and memory

In ELf load use the conception of segment, and in memory management, logical address also use segment to search operator or instruction. So, is the segment same with each other? ELF files are load into memory to segment, and this segment is just the…
lyndon
  • 43
  • 1
  • 4
0
votes
1 answer

FFmpeg segmentation and inaccurate/wrong framerate

I use ffmpeg to save on files an RTSP stream at 15 fps. The command is similar to this (I've simplified it): ffmpeg -y -i rtsp://IP/media.amp -c copy -r 15 -f segment -segment_time 60 -reset_timestamps 1 -segment_atclocktime 1 -strftime 1…
0
votes
2 answers

Use segmentcontroller to change tableview

I want to use XMSegmentController(https://cocoapods.org/?q=segmen) to change the different tableview,I do not know what is missing in my program, which leads to a black situation when I run. Does anyone know what to add to my program? Thank…
廖豪豪
  • 93
  • 9
0
votes
1 answer

Ionic 2 segments, content disappears

I've created segments options in one of my pages. The code is the following:
Crear zona
0
votes
1 answer

ionic 2 - Using Highchart in the Segment

I use HighChart library in the Segment, my segment have 2 tab DASHBOARD and NEW, my Chart in the DASHBOARD tab. First run: My Chart run, but i click to New tab and come back DASHBOARD tab => My chart not run ? [sorry, i'm not good english] -- My…
ManhLH
  • 21
  • 4
0
votes
1 answer

Apache Druid segment merge task submition failure

I am using Druid 0.9.1.1 and trying to merge all the segment of a datasource per day to a single segment. Whereas the merge task initiation fails with error : {"error":"Instantiation of [simple type, class io.druid.timeline.DataSegment] value…
Jnana
  • 61
  • 5
0
votes
1 answer

Putting active class dynamically using Laravel segment method (Not working)

I have four steps. Urls of each steps are - basic-info : localhost/project/public/user/sell/basic-info product-info : localhost/project/public/user/sell/5/product-info photos : localhost/project/public/user/sell/5/photos price-info :…
Keshari Nandan
  • 1,040
  • 9
  • 22
0
votes
2 answers

Python If Else Segmentation 'Invalid Type Comparison' Error in Dataframe

I have a sample dataframe (df_merged_1) shown below: The Revenue column is a float64 dtype. I want to create a new column called 'Revenue_Segment'. This is what I want the end result to look like: Below is the code I used to segment: if…
PineNuts0
  • 4,740
  • 21
  • 67
  • 112
0
votes
1 answer

php find distance of a point and a line segment not a line in 2D

I have two point of a line like p1(a,b) and p2(c,d) my point is X(x,y) I've searched and find like here but it isn't php can anyone help me
0
votes
0 answers

Get intersection segment between 2D line segments

I'm facing a problem to get the range segment when two segment lines are colliding. If they just cross each other in one point, I'm using the algorithm provided by Gavin in this answer from the book Tricks of the Windows Game Programming Gurus (2nd…
Kaz
  • 31
  • 8
0
votes
1 answer

Adobe Target, placing user in experience based on URL contains

If I have an Adobe Target experience that shows content in Experience A to 50% of users and content in Experience B to the other 50% of users...how can I insert someone into one of these two experiences? I was thinking of having a button the user…
dilonv2
  • 53
  • 8
0
votes
1 answer

Cannot see Segment in MixPanel when using Java

I have segment working and sending events to MixPanel using javascript. Now we want to do it using Java. I tried to follow the example on https://segment.com/docs/sources/server/java/#selecting-integrations Copying from the link above, I added,…
ThaisK
  • 365
  • 1
  • 4
  • 22
0
votes
0 answers

Finding number of overlapping ranges for a given input range

What I have as input is a Range[] arr of size n where Range is class Range{ int upper, lower; Range(int upper,int lower){ this.upper=upper; this.lower=lower; } } Now, for q queries, I get a Range r as input and I have…
Rajarshi basu
  • 330
  • 1
  • 10