761 questions
0
votes
1
answer
66
views
ion-refresher triggers while scrolling when used with ion-segment-view
I'm seeing an issue where ion-refresher fires whenever I scroll down, even when the content isn't at the very top. This only happens when the page uses ion-segment-view. If I remove ion-segment-view, ...
4
votes
1
answer
113
views
How do I get the x86 current CPU mode (code bit size) using the GDB remote protocol?
I'm running qemu-system-i386 -s -S -singlestep (and sometimes qemu-system-x86_64), and I connect to it over TCP to address 127.0.0.1:1234 using the GDB remote protocol. I issue the g command to get (...
1
vote
2
answers
107
views
How to erase segments where NaN values in a plot [closed]
EDIT: I found the issue. Some lines were missing, which led to these unwanted segments on the graph. I was able to "erase" these segments by filling missing dates with NaN.
I have a date ...
1
vote
0
answers
31
views
On incorrect outputs in arithmetic involving large digits, especially in SDG
CGAL's Segment_Delaunay_graph has confirmed that given an input with very large digits due to minute numerical calculation errors, the correct result may not be obtained, but rounding the digits for ...
0
votes
1
answer
115
views
How to Implement Custom Middleware for Segment Tracking in Angular to Modify Events Dynamically?
I want to implement custom middleware in my Angular application to modify Segment tracking events dynamically before they are sent. The goal is to filter, modify, or enrich events based on specific ...
0
votes
1
answer
102
views
How is the address calculated for accessing data in MIPS data memory?
How is the correct address calculated for accessing data in the MIPS data memory? Considering that the dynamic data segment starts at 0x10010000 and goes up to 0x7FFFFFFC, when using the instruction ...
0
votes
0
answers
93
views
Segment date : start and end date
I have a Power BI report that includes a date segment visual based on a 'creationDate' column (in the 'Order' table) of date type. In the visual, the segment displays two dates: 'StartDate' and '...
0
votes
1
answer
41
views
Python program stuck or quit without warning or error (sometimes raise segment fault)
Code:
import subprocess
from PIL import Image
import colorsys
import numpy as np
for t in range(1,49):
in_file_name=f"Pf{t:02d}.bin"
subprocess.run(f"sz3 -f -i /home/jzz/...
0
votes
1
answer
117
views
Segmenting Time series with python
I have some task, where I just don't know how to solve it. I have a Time Series for productionsteps. Now I want to segment every productionstep and give it an ID. My Timeseries looks like this:
The ...
2
votes
0
answers
371
views
How to Set a Whitelist of Domains for a Segment JavaScript source WriteKey to Prevent Misuse?
I am working on a project that utilizes a JavaScript source writeKey to send data to Segment Analytics. Since this code runs on the client-side, I'm concerned about the potential for the writeKey to ...
0
votes
1
answer
144
views
How can I implement analytics.js to my page and send the tracking methods to my own backend
Is it possible to handle the analytics.js library to send the events to my own backend instead of going through configured third party plugins? Or is there any way to implement a plugin with my own ...
1
vote
1
answer
220
views
Why does R's predict segmented package not include effect of other covariates?
I have a fitted model using the segmented package.
This consists of 1 segmented variable and some categorical variables.
The problem is that when I use the model for prediction, it only predicts using ...
0
votes
1
answer
602
views
How to make a swipeable segmented control with custom view in SwiftUI?
I have a segmented control with two segments as shown in the image see image here. I want to enable the user to switch between the two segments by swiping right or left, and display the corresponding ...
1
vote
1
answer
341
views
OpenSSL3.1 C example of AES-XTS using EVP interfaces Unable to segment data for calculation
For AES-XTS encryption, I want to perform segmented input calculations on the data, but it has a problem.
#include <openssl/evp.h>
#include <openssl/rand.h>
#include <stdio.h>
#...
0
votes
0
answers
41
views
React Native always read UIApplicationLaunchOptionsURLKey with null
in react-native 0.68.3
using universal link iOS -> can't read UIApplicationLaunchOptionsURLKey always null
in iOS, iPhone 13, 17.1.2
i'm using real device when debugging.
open notes app.
add url ...
0
votes
1
answer
43
views
Get the segment number
let me try to explain what I want to do, with Wolfram Mathematica, with an example.
I have subdivided a 1.7 meter long rod in several segments with offsets
{0., 0.533, 0.617, 0.819, 1.131, 1.455, 1....
1
vote
0
answers
156
views
Why do "segmented" and "selgmented" functions in the package "segmented" give different outputs?
I am using the selgmented function in the segmented package to select the number of breakpoints in a time-series regression. This function behaves as expected and provides a segmented object. However, ...
3
votes
0
answers
165
views
Flutter Segment: Merge events for single user
I am using Segment for analytics that is inter connected with
Mixpanel.
I've used this package for Flutter segment. I am adding the identify events when the user completes the signup process.
...
0
votes
1
answer
379
views
Greenplum Database: Segment data directory does not exist
I am getting below error during Greenplum database initialisation step. Using 3 hosts including primary host and two segment without a standby primary. 3 segments folders already existing in both of ...
1
vote
0
answers
899
views
React Native segmented circular progress bar
I am trying to create a Segmented Circular progress bar (where each segment can have its own size) by using the 'react-native-svg'
here is my code:
const SMCircle = ({ segments }) => {
const ...
1
vote
1
answer
2k
views
Details about segment selectors in x86 system
I'm studying about protection ring of x86 system.
Examples of accessing data segments
In this picture, there are segment selectors.
My questions are...
segment selectors are in the RAM?
who create ...
0
votes
0
answers
170
views
How to find straight segments within an irregular curved line using R or QGIS
I have a shapefile (EPSG:4326 - WGS 84) containing many features with linestring geometries and I would really like to divide each line (like that one shown in the uploaded picture,example of ...
0
votes
1
answer
321
views
How to create this network setup, Router(IP 192.168.10.1) and connected 2PC in 2 ports: 192.168.30.1(in port enp4s0) and 192.168.30.1(in port enp5s0)
Required setup:
port:enp4s0 is assigned IP 192.168.10.23 => Connected to Machine 192.168.30.1 (gateway as 192.168.10.23)
port:enp5so is assigned IP 192.168.10.24 => Connected to Machine 192....
0
votes
0
answers
39
views
How to skip error and calculate error times in R
I try to test the statistical power of segmented regression using the Muggeo(2003) method.
The following is my code to compute structbreak's times. The method is Newton's method whose purpose is to ...
0
votes
2
answers
69
views
How to find corresponding X values when the curve equation is unknown in python
I have data belonging to cumulative distribution. But the range of the x-axis depends on the input data. The y-axis is equally divided into 5 segments. I need to find the corresponding X-axis segments ...
1
vote
1
answer
2k
views
Is reset() the only way to remove userId from segment analytics in typescript
I am using the @segment/analytics-next library to track the segment event.
Below is the code I initialize a segment analytic and set a userId
import { AnalyticsBrowser } from '@segment/analytics-next';...
0
votes
0
answers
186
views
How to get rid of border of segmented images after unpatchify the images
I was trying to patchify my images(Original image shape 1024,1024, 3 to shape 128,128,3) and then after doing some operations, I tried to unpatchify the image. But when unpatchify the image, the ...
0
votes
1
answer
702
views
Segment and Ad Blockers
I am not able to track user activity via segment when users are having ad blockers enabled?
do we have work around for this? so that we will be able to track user even though ad blocking enabled in ...
0
votes
1
answer
552
views
google Tag Manager datalayer payload difference
So when I was working with GMT to GA4, I was facing an issue such as the datalayer to which events are being pushed are a little different sometimes from one another. I am also loading GTM script ...
1
vote
1
answer
833
views
find coordinates of masks produced by segment anything by meta
text
the above link is to segment a image. It gives a perfect output of segmented image and also masks.
but how do i find the coordinates of the all produced masks.
when the code is giving the list ...
0
votes
1
answer
302
views
ggplot: colour of line segments according to variable value, like scale_color_gradient2
I have a df "test_data", which contains values of the recent year ("recent"), the year before ("before") and the difference between these two ("delta").
in the ...
0
votes
1
answer
144
views
How can I find the least number of segments to get from start point to end point using Python?
So, I have start number, end number and a list of segments.
start = 10
end = 100
li = [(50, 60), (10, 20), (10, 40), (40, 60), (60, 80), (75, 95), (95, 100), (35, 45)]
And I need to find the least ...
1
vote
1
answer
136
views
How can I clear a list of segments from nested segments (Python)
My respect, colleagues.
I have a list of segments which may include nested segments that should be deleted.
For example we have a list (or maybe other data structure) of tuples:
[(50, 60), (10, 20), (...
0
votes
0
answers
427
views
Counting segments containing certain subsegments
I have an array of N integers, and I have to find the number of such segments that they contain within themselves segments whose cumulative sum is equal to zero.
For example, if I have an array [5, -5,...
0
votes
1
answer
156
views
How to read 200 million partition keys in cassandra table without request being timed out
I have a table with huge no of unique partition keys , say a table having Unique Id of all the citizens of a country
Now what i need is full table scan and read only keys . Do i need to read segment ...
1
vote
0
answers
264
views
how to merge segmented m4s or find the init file with ffmpeg
i have this locked video that i can watch but looking at the responses i see that the video looks like its split into 3 m4s segments
this video seems to be hosted in vimeo but i can't seem to know ...
4
votes
2
answers
2k
views
Trouble setting up Segment with Next.js
I've been trying to just integrate Segment with Next.js, and I'm not sure why inserting the shippet into the Head isn't working. For some reason Next.js doesn't understand the syntax of adding a <...
1
vote
0
answers
238
views
Count the number of segments in audio file with python
I have the following audio file
When i plot it using the following code, i get this:
audio_data, sr = librosa.load('test.wav')
plt.plot(audio_data)
plt.show()
Wave plot of audio
I am trying to get ...
1
vote
0
answers
102
views
Metrics for time series segments
I am looking for a metric to evaluate a time series segmentation or classification task.
Suppose we have an ML model which tries at each time to classify a point as TRUE or FALSE.
All consecutive ...
0
votes
0
answers
97
views
Image Segmentation Demo
import java.awt.event.*;
import java.awt.image.*;
import java.awt.*;
import java.awt.color.*;
import java.io.*;
import javax.imageio.*;
import javax.swing.*;
// 이미지유틸리티.java, 이미지분할.java
public class ...
0
votes
1
answer
180
views
Remove excess points from polygon sides in JavaScript / D3
There is a random polygon where each side could have a random number of collinear points and, eventually, some of them lie between its ends and could be removed.
In other words, I need a function ...
0
votes
1
answer
2k
views
How to connect points according to grouping instead of connecting all points in ggplot?
As the title stated, I want to connect points in every group instead of all points.
Here is the original date:
df<-structure(list(TN = c(13.6, 18, 18.5, 17, 16.9, 13.6, 17.6, 14.8,
...
2
votes
1
answer
2k
views
When using `expo-analytics-segment`, do I have to provide the Advertising ID myself?
I'm about to submit a build to Google Play Store and the Play console now has this question I have to answer:
This question asks "Does your app use advertising ID" and has some further info:...
0
votes
0
answers
222
views
Positioning of segmented lines and annotated text in a bar chart with categorical horizontal variables in R
The question can be described with a MWE as follows:
df <- data.frame(Team = c("A", "B", "C"), Score = c(5, 8, 10))
plot <- ggplot(df, aes(Team, Score)) +
...
1
vote
1
answer
548
views
Data Backfill of Facebook Ads to Bigquery (with Segment)
I am using Segment for a data transfer for facebook ads data to Google BigQuery.
The Transfer is set up since yesterday. Now i can display only the curent status and by querying the changelog I can ...
0
votes
0
answers
111
views
Categorising consumers using segment data, using json format
I have a json data for segments like following:
{"Segment_definitions":[{"segmentName":"S1","definition":{"a1":[19.0,25.0],"a2":["Seg2&...
1
vote
0
answers
38
views
How to draw segments on image which is clickable and get the particular segment id in java
I want to draw the segments on image according to the segment co-ordinates but the segments is becoming disalign on different phone screen and i want to get the particular id when i'll click on a ...
0
votes
0
answers
54
views
How to ignore #VALUE! and make line segments in ggplot connect to each other?
I try to use goem_line to connect the dots with segments. Here is my original data:
df<-structure(list(Bloc = c(6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, ...
1
vote
1
answer
160
views
Find number of positives in segment of list
I have a unsorted list. I'm asked to print k-times number of positive values in a segment.The boarders for segment start with 1 not 0. So, if the boarder [1,3] it means that we should find all ...
0
votes
1
answer
128
views
Segments are constantly changing
I would like to get help about an issue that we have been experiencing on our Sendy system and that we have not been able to resolve for a while. We recently migrated the sendy system to a more ...