All Questions
22,920,404
questions
0
votes
0
answers
10
views
can some one help me out to optimize below code?
hi need to optimized below code please help me out
Hello guys i am new to coding please help me out to optimize below code i have written.
public static void createConnectionRecords(List acrList,Map&...
0
votes
0
answers
9
views
How to know more about deep linking of android apps with redirect urls?
I'm working on a project which requires deep linking. I want to know what are the things I can use with the Deep linking URLs. For e.g. Suppose my URL to open instagram profile is instagram://user?...
0
votes
0
answers
5
views
How to convert a URI path to Array buffer to upload to S3 - Angular Ionic
I have a Ionic angular Application and I need to be able to upload files to AWS S3 using a pre-signed URL.
Files are stored locally and I have a function to get the URI path for the files. An example ...
0
votes
0
answers
11
views
Trying to pull a record from my database that has spaces in its content
I got a website and I'm trying to pull out data that contains a space in it.
So on this page it shows certain cars, so it would say 2016 Toyota SFR Racing. The year and the model name is stored in one ...
0
votes
0
answers
6
views
Saving weights in custom model in Tensorflow(using Custom Layers and low level API )
I have created a model in Tensorflow with the following structure:
def resnet50():
input_im = Input(shape=(train_im.shape[1], train_im.shape[2], train_im.shape[3])) # cifar 10 images size
x = ...
0
votes
0
answers
10
views
Error: Class extends value #<Object> is not a constructor or null, but not a circular dependency
Error message in terminal
Error: Class extends value #<Object> is not a constructor or null
At first I thought I was getting this error due to a circular dependency, but I checked using madge ...
0
votes
0
answers
8
views
Docker not creating files on configured volume in YAML script
I made the following script in docker-compose.yml, which tries to run a official PHP + Apache image from Docker Hub:
services:
apache:
image: 'php:5.6-apache'
container_name: apache
...
0
votes
0
answers
11
views
I have to send file as well as some json data to server using axios and decode it into express server to store json in mongodb and file using multer
I want to create an endpoint which should store file on server side as well as the some json data which should be received from same point is to be stored on mongodb.
I am using axios to send request ...
0
votes
0
answers
11
views
Python3 string conversion failure using html.unescape
I'm having trouble decoding a string.
Here's my code:
from html import unescape
s = "css?family=\u0026quot;+e,id:i"
print(s)
print(repr(s))
print(...
0
votes
2
answers
19
views
How to iterate through DOM elements changing id with Javascript
I have 36 divs with ids id="square-1", "square-2", etc., framed in a grid 6x6 container. I want them to be all square and be the size of each square of the grid.
I want to make a ...
0
votes
0
answers
24
views
How to get current hour in milliseconds since epoch? [duplicate]
To get current hour we use:
new Date().getTime()
To get current hour we use:
new Date().getHours()
How to get hours in milliseconds format?
For example:
For date: Fri Aug 19 2022 ...
0
votes
0
answers
4
views
New virtual machine says "/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by"
I've just created a virtual machine (Ubuntu/Linux) on AWS and copied-over the binary of my C++ application.
It was/should be statically-linked (so everything is included and I won't need to install ...
0
votes
0
answers
3
views
Put Azure Key Vault value in parameter array
I am trying to deploy a App service webapp via ARM template and need to put a secret from a key vault into an app setting (env variable).
I have always simply used an array of values from a parameters ...
0
votes
0
answers
8
views
Elasticsearch 7.x server not able to return search result on query with term "must"
I am attempting to do a boolean query with a few "must" terms. To my surprise, the some endpoints including _count is not returning expected results. I summarized the different behavior I ...
0
votes
1
answer
12
views
XmlException: Root element is missing. I am creating a xml load and save system using a tutorial but I can't figure out where the error is
Here is the error message:
XmlException: Root element is missing.
System.Xml.XmlTextReaderImpl.Throw (System.Exception e) (at <3df1727680a4410c8922c5d71cde3a04>:0)
System.Xml.XmlTextReaderImpl....