All Questions
21,731,671
questions
0
votes
0answers
2 views
postgresql multiple column in where clause on RLS table
I have enabled RLS on table and using a procedure in policy for debug etc.
CREATE OR REPLACE FUNCTION fun_rls_products(key int)
RETURNS boolean
LANGUAGE 'plpgsql'
STABLE
AS $body$
DECLARE
...
0
votes
0answers
4 views
How to interpret SQL Time datatypes (e.g. timestamp_ntz)
New to SQL and data analysis. Tried reading the Snowflake documentation for timestamps and need the ELI5/practical version.
https://docs.snowflake.com/en/sql-reference/data-types-datetime.html#...
0
votes
0answers
2 views
Displaying delete button only if the logged in user has ADMIN authority in react
What is the best way to show a delete button on a component in react only when the logged in user is an ADMIN
My Member entity is saved to postgres from Springboot backend private String authority;
I ...
0
votes
0answers
10 views
Removing an array of int form a list of type int array
I intend to have a field of type List<int[]> that holds some int array (used in Unity to record some grid positions), looks roughly like:
{
{0, 0},
{0, 1},
{0, 2}
}
But when I try to remove ...
0
votes
0answers
9 views
I load my variable to the dataframe using loop but it only print last varibles store in data all others variable are discarded
I try to load my data to csv file by using this code but I couldnot do it. it only load last loop variables values...
`import csv
import newspaper
import pandas as pd
from newspaper import Article
df =...
0
votes
0answers
4 views
Error while using LottieView for Splash screen in expo
I am trying to create a splash screen with Lottie animation but it crashes whenever I use LottieView with an error
animated node with tag 2 does not exist
However, I am already using Lottie ...
0
votes
0answers
4 views
Is it easy to do PYTHON programming?
I need someone to explain to me how to do some coding because I don't know where to start and I am a beginner , I don't understand some of the questions asked . I need a clue on how to start coding
0
votes
0answers
4 views
In woocommerce show the check payment option when an order total is 0 dollars
On my wordpress, woocommerce website I am trying to add something to the function.php of my theme that will enable the pay with check option if the order total is 0 dollars.
what I have so far:
...
0
votes
0answers
5 views
How do you get a count (the number of) of all responses with certain attributes dplyr
Right now my code looks like this:
Data <- Other_Data %>%
dplyr::filter(Description == "Information" & Category == 1 & Cost >= 1000)
It creates a new table, which DOES ...
0
votes
0answers
4 views
Docker errors when trying to build in ARM64 Apple M1: "Failed to resolve full path of the current executable [/proc/self/exe]"
I'm having trouble building docker containers on an Apple M1
The project uses sdk 2.2 which is incompatible with arm64 architecture. So I changed the sdk and aspnet cores to 2.2-alpine3.8 and they ...
0
votes
0answers
4 views
Changing the Woo Commerce default Shipping message based on selected available shipping country
I'm currently adding the below code in woocommerce/cart/cart-shipping.php to change the no shipping method message for a country that is not in the Shipping country list of woo-commerce. But the ...
0
votes
0answers
4 views
Error in post hoc test for lmer(): both multcomp() and emmeans()
I have a dataset of measurements of "Y" at different locations, and I am trying to determine how variable Y is influenced by variables A, B, and D by running a lmer() model and analyzing the ...
0
votes
0answers
4 views
Android Kotlin - Glide listener download image as Bitmap to variable and make placeholder onerror
I need to download an image and keep it as variable to put it into a notification:
.setLargeIcon(bitmap)
This is the code, I hope, it's clear by the comments what I try:
var bitmap = ...
0
votes
0answers
4 views
C# NEST Dynamic type for Search<T>
So, I have some Events:
All Events inherited from BaseEvent.
So to speak: from Utils.ConstructEvent(update, ts) I get some Event.
var readyUpdate = Utils.ConstructEvent(update, ts);
Further, for ...
0
votes
0answers
3 views
Can I verify my domain once in AWS SES and allow my other accounts to use this?
I have successfully verified my domain in AWS SES on one account. I would like my other accounts to send from this domain, and as such I have created an Authorization policy with this in mind (via ...