1,171 questions
2
votes
2
answers
780
views
masking pasword in eclipse IDE java by bypassing the eclipse bug for console.readPassword()
im trying to mask password when i type my user input password it must be hidden or *. im using this readPassowrd method which has issues like null pointer error for performing the task in IDE but fine ...
3
votes
1
answer
808
views
BodyPix - running toMask() and toColoredPartMask() in node.js throws an error: ImageData is not defined
I am trying to get segmented person parts colored mask in TensorFlowJS bodypix model. Below code works fine before toColoredPartMask or toMask which throws an error "ImageData is not defined"...
1
vote
2
answers
963
views
Data masking of CSV files from S3
My company works in germany and we have some rules to handle data.
I have CSV files in a bucket. And those files have some PII (Publicly Identifiable Information) and non-PII data too. I want to mask ...
2
votes
0
answers
836
views
Masking passwords in Quarkus with default JBoss logger
In a Quarkus application i do some http calls where username and password are in the URL as query parameters (3rd party, I can't change this). The problem is, that the JBoss logger in DEBUG mode ...
1
vote
2
answers
185
views
How can I temporarily unmask a password cell of a datagridviw?
In my datagridview control I masked the password column like this:
private void dataGridView2_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
if (dataGridView2.Columns[e....
0
votes
0
answers
997
views
Updating vue input default value when combination of veevalidate and cleavejs
Hello fellow developers.
I'm developing a masked birthday input in vuejs that need to check that the date is now minus 18 years, to check if my users can buy alcohol.
It's working great, but i'm ...
0
votes
1
answer
195
views
How to join two alpha images horizontally and vertically?
I have created right-angle triangle images using alpha masks. I would like to join them vertically and horizontally.
The masks:An alpha mask for right angle triangles
Another alpha mask for right ...
1
vote
3
answers
1k
views
Regex to mask multiple phone numbers (~) separated except last 4 digiits
I am trying to find a regex which masks phone numbers except last 4 digits.
example: phone=9988998888~7654321908~6789054321
Desired output : phone=******8888~******1908~*****4321
I tried below regex ...
2
votes
0
answers
708
views
How to create a custom layer using the keras Functional API, that supports masking?
I want to use the Functional API to create a custom layer that supports masking, meaning that it propagates a mask on the input tensor so that the output is also masked.
There are explicit ...
0
votes
1
answer
988
views
Partial Masking in SQL - Oracle
Given table has debit card numbers. I want to write a code to mask the debit card numbers in which the middle 4 numbers are replaced with X. The table is as follows:
I want the following output:
I ...
0
votes
1
answer
1k
views
Error when trying to create a maskig policy: "Unsupported feature 'MASKING POLICY"
I get the following error when trying to create a masking policy. Below is the screenshot of the Snowflake sql command and error.
Thank you
Yoram
0
votes
1
answer
275
views
Dynamic masking from a Java program
I am new to Snowflake.
I am trying to understand if it is possible to set (and unset) dynamic masking on a specific column for certain roles from a java program and not using Snowflake web UI.
Is ...
1
vote
2
answers
175
views
How to change a cell in pandas dataframe according to boolean condition
I have to following dataframe.
I successfuly deleted all Feb 29 days from leaping years this dataframe because I intend to groupby "Day of year" column (which was create using .dt.dayofyear) ...
0
votes
1
answer
204
views
Masking Policy Architecture: can the masking policy be set across multiple databases or schemas?
I am exploring using "masking policies" for my current company. Currently, they leverage secure views for PII information. Ideally, I am trying to use masking policies to hide this ...
-2
votes
1
answer
4k
views
Python Image masking and removing Background
I have two images: the temple and the mask (the heart). I want to mask the temple with the shape of the heart and leave out the black background. The result should be a heart shaped cutout from the ...
0
votes
1
answer
318
views
Data masking in snowflake
How to create a SQL UDF in Snowflake to achieve this? I could able to achieve the same in JS
Need suggestions on Data masking in snowflake ?
Actual :
Customer John from Boston, calling to add newborn ...
3
votes
1
answer
769
views
How to apply masking in a textbox
I have a grid in which there is a textbox that is currently accepting numeric numbers. However I want to apply masking in that textbox using javascript or jquery without any plugin.
I have searched ...
0
votes
1
answer
2k
views
Vue component get and set conversion with imask.js
I am trying to use iMask.js to change 'yyyy-mm-dd' to 'dd/mm/yyyy' with my component however when I am setting the value I think it is taking the value before the iMask has finished. I think using ...
2
votes
2
answers
2k
views
Keras multiple inputs masking
I am building a LSTM model with multiple inputs (the number is given by n_inputs). I scaled the inputs in (0, 1) and replaced all the NaN of the inputs with -1. Now I want the model to ignore such NaN ...
2
votes
3
answers
2k
views
java regex mask all elements in a list with last 4 characters visible
I have a list of alphanumeric strings as below
["nG5wnyPVNxS6PbbDNNbRsK5zanG94Et6Q4y74","GgQoDWqP7KtxXeePyyebu5EnNp8XxPC1odeNv","GgQoDWqP7KtxXeePyyebu5EnNp8XxPC1o12NN"]
...
1
vote
1
answer
352
views
How to mask all values with a certain key name in a nested hierarchical object using the DataWeave update operator?
I'm trying to selectively update some values in a nested hierarchical data structure.
I have nested input data such as
var flights =
{
"flights": {
"flight": {
"...
3
votes
0
answers
533
views
Is any additional masking required after setting padding_idx=0 in the nn.Embedding()?
I am passing a batch of sentences to the GRU. The sentences are of varying length and have been padded (padding_idx = 0) to form the batch. The sentences vary a lot in lenghts, from 32 words to 105 ...
0
votes
2
answers
959
views
How to Format Turn Floating Point into Exponent Using Constants in C
So I'm given
const int mask = 0x7F800000
const int shift = 23
const int bias = 127
int exp (float number) {
unsigned int u = *(unsigned int*)&number;
int field = 0;
Honestly, I'm just ...
1
vote
0
answers
172
views
Masking input in react managed by state
I have a code where I try to mask my phone input so it will look good, here is how it formats the phone:
onPhoneChange = (e) => {
const phone = e.target.value
if(!phone || ...
1
vote
1
answer
2k
views
How to make an HTML input show as asterisk "like a password input" except for the last 4 digits?
I have a form that allows a user to type in a social security number. I want the HTML input to hide the first 5 digits while only showing the last 4 digits.
For example, if the user types 123-45-6789, ...