Latest Questions

Cannot read properties of undefined (reading 'loadCurrentSession')

I use shopify api, why I get this error message: Cannot read properties of undefined (reading 'loadCurrentSession') const Shopify = require('@shopify/shopify

Solana: Create PDA account on chain

I am trying to write a Solana program which creates a PDA account for me on-chain. I can't get it to work and tbh, no idea what I am doing wrong :/ I have the f

Why Ionic header changes are not showing in android phone?

I have build a android application. So I wanted to customize the header of the application Here is the HTML code <ion-header> <ion-toolbar>

Difference between excel's and python R2, Power fit

I'm trying to do a power fitting of the x and y arrays and estimate also the R2. I have already done it with excel and it gives me an R2 of 0.5389 while if I ru

Input not clickable native base, image on top

I am using Input from native base with expo app. I have an input button to select a date via datetimepicker react native library. Upon pressing the input button

how to see the values I send with the in-app event to Appsflyer?

I used the this tutorial to capture logEvent and then send data to AppysFlyer as in-app events. I can find the event in the dashboard, for example, how many log

WebOptimizer AddLessBundle works in Dev, but not when I publish to Azure

When I publish my core3.1 website to Azure the path to the css files returns a 404 www.mysite.com/css/StyleBundle.css Here is my config. app.UseWebOptimizer();

Cordova FileTransfer Plugin Got Error "open failed: EACCES (Permission denied)"

I'm using Cordova 11 and trying to transfer document files like pdf or Docx. It's ok with API < 29. But now I always get 'open failed: EACCES (Permission den

PHP extracting from hard array [duplicate]

How can I extract all elements from this array through PHP? I tried to do with array_slice but it didn't help My main problem is that I need t

What does "pending composition has not been applied" exception mean and how can it be avoided?

I have a working application, but sometimes, for reasons unknown to me, the application crashes with this message: java.lang.IllegalStateException: pending com

Load item description from json file

Recently i saw a post about someone making a program that could control a computer it was launched on. (it was this one) Add commands to user input I was really

Redis: single big hash vs many keys

I have some data which has million key-value pairs. So which way is better to store them in redis, single key with super big hash which has million key-value pa

flutter dynamic links open web page when app is not installed

So, I want to redirect user to my web app created in flutter with specific item id when user don't have mobile application installed Here is my code for create

(CEP/ExtendScript) Is it possible to include a JSX file from a server?

I am developing an extension for InDesign and I would like to store the jsx file on a server. This would allow me to update the plugin if I change something in

Change Feed Processor Issue

I am trying to test change feed processor in .net. I have tried to use the change feed processor from the beginning (as mentioned in documentation). When I star

Property 'accessToken' does not exist on type 'User' && firebase is not defined

I am using TypeScript in my React application and I have an error "Property 'accessToken' does not exist on type 'User'" when getting an accessToken of user My

Panda dataframe replace() method for row numbers

I need to replace some values in a column with a specific value using the row numbers list of the required values as an array like following array.Can I use dat

SQL If Value Exists then return that otherwise return whole table

Note: This is an over simplified version of what I am trying to do. Let's say I have a table called USERS that has FIRSTNAME, LASTNAME. Contents are: JOHN SMI

Set a time varying variable to its initial value in a dataframe

I have this dataframe, which I have data for US's states population for different time periods, I want to set the population of every state to its initial value

Return the data of a model directly instead of a dictionary Express.js and Mongoose

Probably the title isn't very clear and is a bit confusing, and to be honest, I do not really know how to ask this question since I'm new to JavaScript and Mong

How can I set variable php and mysql code

I want to set a variable "name", I tried: if(isset($_POST['name'])), But not result. I was also looking for other options but could not get results. I have a PH

I am making a discord.js bot and I want to know if there was an error

I am using the following code to figure out if there was an error. But I want to not run something if there was an error. I have tried to look it up and I could

React draft wysiwyg default font size

Could I ask you how to change default font size in react draft wysiwyg https://github.com/jpuri/react-draft-wysiwyg#readme? Class defining toolbar: export const

How to processing json data in a column by using python/pyspark?

Trying to process JSON data in a column on Databricks. Below is the sample data from a table (its a weather device records info) JSON_Info {"sampleData":"dataD

Configuring Visual & Installer in VS 2022 for x64

My config screen: Why is it that I can't select x64 in the list? In the Alarm Clock row there is Add / Edit in the drop-down list. But not for AlarmClockSetup.

Disable local authentication methods for Cosmos DB database accounts using Azure CLI

I am trying to create a cosmos DB account using Azure CLI. One of required policies I have to comply with is "Cosmos DB database accounts should have local auth

Hi there, I am trying to find the max consecutive ones but python throws an error

I have tried to implement this code but python just blocks me by saying that ValueError: The truth value of an array with more than one element is ambiguous. Us

Consume kafka topic JSON data to postgres using JDBC connector

We have a need to push the kafka topic JSON records to postGresSql database. the JSON are compliant to https://json-schema.org/draft-07/json-schema-release-note

How can I center an animation so it goes from the middle?

An example of what I want (the main text eg. subscribe): https://sounddrout.com/ My code basically has a repeating typewriter effect on it and it just goes from

How to I set a symbol inside the record separator of awk

How do I include symbols into the record separator of awk. I know the basic syntax like this: awk 'BEGIN{RS="[:.!]"}{if (tolower($0) ~ "$" ) print $0 }' which