1,171 questions
3
votes
1
answer
739
views
Data Masking policy error on shared database
I am trying to apply data masking policy on shared database where we have access to only views.However I provided grant to databases also.I am not able to apply this masking policy
here is my code
...
-1
votes
1
answer
830
views
How to mask every third digit entered in input textbox. On click of a submit button, the original unmasked values must be displayed
Right now I am able to mask the digits only on blur.I need to mask them in the display as they are typed. On click of the submit button, the original entered values need to be displayed.
I have ...
0
votes
1
answer
188
views
createjs combine 2 shapes in a mask
I have a symbol S1 with two shapes (lets say sh0 and sh1). On the stage I have an instance of another symbol mc. At run time, I will create an instance mc1 of the symbol S1. Using createjs, how can I ...
0
votes
1
answer
464
views
Masking latitudes and longitude area variables with not classic nc file with python
i'm trying to understand climate data from satellites. If you want to see ncdump of file here:
netcdf NSS.AMBX.NK.D08214.S0740.E0931.B5312324.WI {
dimensions:
nscan = 2495 ;
npixel = 90 ;
...
-1
votes
2
answers
1k
views
Masking colors using opencv
I tried to mask image by its color using opencv.
import cv2
import numpy as np
import matplotlib.pyplot as plt
After importing libraries, I load the image
img = cv2.imread('gmaps.jpg')
image = cv2....
0
votes
1
answer
57
views
I'm working with JS, I know the use of replace method,Can you explain this specific code => /.(?=.{4})/g in the below function?
function maskify(cc) {
return cc.replace(/.(?=.{4})/g, "#");
}
0
votes
1
answer
4k
views
Why can't I dynamically update the mask of an input using ng-neat input-mask?
I'm currently playing around with a stackblitz here: https://stackblitz.com/edit/angular-ivy-qr7yav?file=src%2Fapp%2Fanother.component.html
With both ng-neat's input-mask found here https://github.com/...
0
votes
1
answer
166
views
Conditional replacement of values in a R dataframe
I wanted to mask any values under 5 in my R dataframe and was looking for a solution to do it in one go for the entire dataframe.
0
votes
1
answer
2k
views
Masking an image to the transparent section of another Image in SwiftUI
I have a ZStack like such
ZStack {
Image("source")
Image("source")
}
Where one layer is a solid square image and the other is hexagonal image that's slightly smaller than ...
0
votes
3
answers
124
views
why after cleaning the 1 by 0 , its is returning 1 in Bit masking
See in this problem I want to clear the i_th bit which is 1 so after performing this method it should be 0 and should return 0, but its not and should return 0 but its returning 1,
I don't know why, ...
1
vote
1
answer
3k
views
How to code a input mask for currency using TextInput in React Native (using Expo)
I have an app that makes extensive use of react-native-paper's TextInput. Many of these inputs have to deal with monetary units. I know that TextInput from react-native-paper provides a render prop ...
0
votes
1
answer
911
views
How to mask out shadows from LANDSAT/LE07/C01/T1_TOA?
I want to use the LANDSAT/LE07/C01/T1_TOA collection in google earth engine and I am struggling to understand how the bits work in order to mask out areas with clouds and shadows. I managed to write ...
-1
votes
1
answer
624
views
Masking middle 4 digit number using Javascript
I have Json Array data as shown below:
{
"AccountNumber":[
"123456789012",
"234567891012",
"345678912012"
]
}
Now I want to ...
1
vote
1
answer
2k
views
React input mask issue with onChange event focus on cursor position
I am trying to implement Input Mask with children as input component, I used https://github.com/sanniassin/react-input-mask. The problem is while onChange() event triggers setState() is called and the ...
0
votes
1
answer
139
views
How to detect masked region on an image in PHP?
I have some images and each of them has a masked (transparent) rectangular region inside of the same size. How can I detect the coordinates of those regions? I searched for libraries but none of them ...
1
vote
1
answer
765
views
Python numpy array row extraction based on another's array column - faster solution required
Two 2D numpy arrays are given (arr_all and arr_sub) whereas the second is a random subset of the first. I need to get the rows of the first one (arr_all) that are not included in the second one (...
2
votes
1
answer
188
views
Python/Numpy: Reduce two boolean arrays based on conditionals relating to both arrays
I have two boolean Numpy arrays of boolean indicators:
v v v
A = np.array([0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1], ...
0
votes
0
answers
97
views
Calculating the histogram value inside circles (houghcircles)
I have been trying to convert this matlab code How to detect defect/missing pills in blister pack? (Matlab) into python, and I have been stuck on this issue for a while.
I am trying to find the ...
0
votes
0
answers
138
views
To implement masking based on position of characters in string on column
I want to implement masking based on position, we will give lower and upper bound for string in column.
Let me explain with an example. I am trying below code
columnname = "phonenumber"
...
1
vote
1
answer
596
views
Hive UDF to mask/transform certain attributes of an array<<struct>> data type in Hive
I need to mask certain attributes of a column with array((struct)) data type in Hive. For example, a field, biodata = [{'name':'Rahul','age':20,'gender':'male'},{'name':'Kavita','age':25,'gender':'...
0
votes
1
answer
221
views
Issue while using filtering or masking in TensorFlow
Here is my jupyter code:-
boxes1 = tf.random.normal([19, 19, 5, 4], mean=1, stddev=4, seed = 1)
boxes2=np.random.randn(19, 19, 5, 4)
and here I have found value of filtering_mask variable
...
2
votes
1
answer
190
views
Python/Numpy: Vectorizing repeated row insertion in a 2D array
Is it possible to vectorize the insertion of rows?
I have a large 2D numpy array arr (below) and a list of indices. For each index of arr in indices I would like to insert the row at that index back ...
1
vote
1
answer
443
views
Replacing sections of 2D array with a smaller 2D array using masks
How can I replace multiple instances of a pattern in a large 2D numpy array with a smaller 2D numpy array?
I am looking for a vectorized solution using a boolean mask to minimize the performance ...
1
vote
0
answers
120
views
How do I mask only the output (labelled data). I don't have any problem in input data
I have so many Nan values in my output data and I padded those values with zeros. Please don't suggest me to delete Nan or impute with any other no. I want model to skip those nan positions.
example:
...
0
votes
2
answers
3k
views
Input field masking in Laravel
This is my input field section
<div class="form-group">
<label for="accountNumber">Account Number <span class="validate_star">*</span>&...