Latest Questions

how to analyse crash report

i need to collect crash reports, but i don't understand them. For testing purposes i make the app crash with just these 2 lines in a viewDidLoad(): var test:Str

AWS Glue - IllegalArgumentException: Duplicate value for path

I have a messy data source where some field values can come in with two different names but should map to one conformed field name on the output. e.g. data sour

Deserialize array that was Serialized with BinaryFormatter, without using BinaryFormatter to deserialize

BinaryFormatter is now obsolete for security reasons. Unfortunately, there is a ton of old legacy records that were serialized to array using the BinaryFormatte

How to destroy resources created using terraform in azure devops pipeline by using PowerShell

I have a project where I'm using Terraform in Azure DevOps Pipeline create Infrastructure but want to destroy the infrastructure in a PowerShell script running

How to add multiple Google Analytics trackers on website? (HTML, JS)

I'm working on a portfolio, and I had an idea to add a section saying: "My work has been seen by this __ many people." In order to do this I have settled on usi

How to replicate a function for a nested list

I have a nested list (datalist) which I'd like to repeat the following function for. Within datalist are multiple dataframes (e.g., A-F). After doing the follow

Itering and compare struct element with different size

I've a tricky question and I don't know if there is any solution. Basically I've populated a struct using x-macros, for example with the following macro: #defin

How to use once in telegraf

Im writing telegram bot in node.js with menu tree, i done folder tree, but in one i must send id in callback_data, im using this code bot.on('callback_query',

How to filter datagridview using multiple checkboxes using ComboBox

I want to filter the datagridview by checking / unchecking one or more of the treeview checkedboxes and should display me the selected item in the datagridview

Recursion python - counting vowels in a string

The following code is from geeks for geeks - link When I executed to visualize the code line by line on pythontutor.com, I understand that n is being reduced to

Resolve content in subdirectory but keep the path in the browser

My goal is this: We have site that lives in a webroot which is /web. It contains the .htaccess file but we want to serve up the content from /web/content but we

While sending request to Auth0 to get access token, is it possible to hide payload with secret keys which are visible?

I'm using Auth0 for sign in/sign up flow and user has possibility to update his profile information. In order to do that I'm requesting a token from auth0 using

get position item from a multiple json array

Hi i'm beginner of android and I have a big problem. I have this JSON file: {"People": [{"boy":{"name":"Jack","id":"11"}}, {"girl":{"name":"Rose","id":"22"}]}

Adding attribute to markdown NSAttributedString goes out of bounds

I have user input which can contain markdown or not. I want to show the user input on screen with rendered markdown. For some reason, I want to add my own stati

Create Firebase dynamic link inside onCreate of firestore using Firebase Cloud functions

I was wondering to create a dynamic short link when the item is created on firestore. I want to create a dynamic link when onCreate method of firestore cloud fu

How to navigate between NavigationLink while leave a part of main window stay the same in SwiftUI

I would like to navigate between different NavigationLinks in NavigationView while some part of the main window stay the same. For example, I want to make a mus

need to replace hyperlinks in email body template html

I have an email body template for sending email to a customer with shipping tracking nos and links to the tracking site. The logic enables me to use this templa

Docker from scratch CMD bug

I have the following Dockerfile FROM golang as builder ARG CADDY_HASH=4b4e99bdb2e327d553a5f773f827f624181714af WORKDIR /root/caddy RUN wget -qO- github.com/cadd

Rmarkdown document not rendering properly in Shiny App

I have a parametrized rmarkdown document based on Shiny inputs. The rmarkdown pdf renders properly when the app runs locally. However when hosted on the shiny s

Use boolean variable as lowercase string in Azure Devops YML pipeline script

I have the following variable in my pipeline script: variables: is_main: $[eq(variables['Build.SourceBranch'], 'refs/heads/main')] And I want to use it like

async template bind from subscribe angular 13

I'm trying to bind data on subscribe on ngOninit, here is the page profile.component.ts below. export class ProfileComponent implements OnInit { public userDe

How can I create a launch.json to use pipenv scripts?

I have the following folder structure in a monorepo repository /--.vscode /--Services --/Service1 --/Service2 --/Service3 In each service, I am using pip

AWS STS - SignatureDoesNotMatch error from HttpWebRequest but exactly the same signature works in Postman and Python

Due to our system complexity, we chose to follow the hard way of calculating the signature for AWS API instead of using AWS SDK. Below, 3 different ways for sen

What's purpose of __linecapp in getline, when it'll auto resize?

It's all about second parameter of getline in stdio.h, I'll name it 'n' or '__linecapp' below. According to the document: If the buffer is not large enough to

DElem<T,N> derives from BElem<T> and DContainer<DElem<T,N>> derives from BContainer<BElem<T>> How to code it?

The question is easy to explain in code. I have coded several template classes that they derive from a unique template class: template<typename T,unsigned N&

Remove video play-button when iOS mode is "lower power"

I autoplay my videos and this is working perfect. The only problem is, when a iOS user is on lower power mode the videos are not autoplaying. Then the videos al

Fixing django inspectdb after importing postgresql sample database

Context: I'm playing around with setting up a DRF project using the postgresql sample database located here: Postresql Sample DB Problem: The sample database is

DLLs not working after installing Visual Studio Setup Project

I have a C# project that I am creating which uses a few DLLs located in a separate folder in my project. I have added these files into the application folder on

How to Fix Firebase invalid API key

I'm using my API key stored in a .env.local file. And it setup correctly but not working assert.ts:128 Uncaught FirebaseError: Firebase: Error (auth/invalid-api

Virt-manager filesystem passthrough not working

I'm new to the ubuntu/linux environment so I don't have a lot of knowledge before hand. I'm currently trying to set up a filesystem passthrough between my host