All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

Can't connect to IoT Central using X509 certificates

Using the sample code from this article, I've been able to connect to IoT Hub using DPS with a Group Enrollment based on X509 certs. However, using the same code and certs to connect to Central, the ...
0
votes
0answers
2 views

Regex select only dot but before and after there should be not any number

How do I select the only dot(.) from the string and before and after there should be no numbers My Try ([^0-9])?(\.)([^0-9])? String -MEGACLAV-375MG.TAB. MEGACLAV-625MG.TAB.# -CALCY-250MG. TAB. -...
0
votes
0answers
2 views

Xamarin - StackLayout inside NavigationPage.TitleView won't use all space?

I have a TitleView on some of my app's content pages, and I want the StackLayout that contains all the text to fill the available space. However, setting its HorizontalOptions to Fill or FillAndExpand ...
0
votes
0answers
3 views

Convert LISTAGG to XMLAGG

I have a query using LISTAGG function that need to convert to XMLAGG in order to handle string concatenation more than 4000 characters: LISTAGG(FIELD_NAME|| INPUT || DESCRIPTION_KEY || ' ' || '<...
0
votes
0answers
5 views

How to write proper regex to get links in href tag

I wanna get all URL that links to the detail page of every teacher. This is the link I want to crawl: http://maths.tju.edu.cn/szdw/jsdw.htm But it seems that I just can get the first(use greedy ...
0
votes
0answers
4 views

use sql to find average rating given by each user

The task asks me to use proc sql to find average rating given by each user that have reviewed more than 5 recipes. and datasets are below: user_id recipe_id date rating 231 245 ...
0
votes
0answers
13 views

DIV text formatting inconsistency

I've stumbled upon <div> behavior I've never noticed. <div> doesn't inherit text formatting styles from the <p> tag. Only from the <p> tag. Even when using class selector. ...
0
votes
0answers
6 views

Javascipt Percentage Calculation on JSON Response

We're using a Booking Engine that retrieved Data and Promo codes from the REDZY APi and we're currently struggling to have percentage amounts working. Here our current code ... var ...
0
votes
0answers
3 views

AWS elemental media converter Examples

I am new to AWS Elemental Media Converter. I am a node and angular fullstack developer. I have gone through the official documentation of AWS but am unable to figure out how to incorporate this into a ...
0
votes
0answers
5 views

The compiler is unable to type-check this expression in reasonable time SWIFTUI?

We are trying to create GridView by using SwiftUI, we are getting issue, the compiler wants to break the expression but we don't know where exactly it occurs. The following code take from https://...
0
votes
0answers
7 views

Form validation for email not working in Vue js

When I enter the email id still notifying Email required error message. Screenshot: https://prnt.sc/pkw6ll I need when enter the email id, the error message will not show. HTML: <form class="...
0
votes
0answers
3 views

Error found: Error: Cannot find module 'node_helper'

I installed the google assistant on the magic mirror, installed MMM-Hotword and MMM-Assistant2 and even npm rebuild, but when I run npm start it showed cannot find node_helper. Starting MagicMirror: ...
0
votes
0answers
7 views

Joined tables in entity framework C# efficient method

I'm developing a software using SQL-Sever which it previous version was on a Access database. In Access I could make different queries with joined tables but now that I'm using C# EF method for ...
0
votes
0answers
5 views

Tensorflow1.14 LocalCLIDebugWrapperSession doesn't launch debugger session

I added the following code for debugging a runtime error. sess = tf.Session(config=config_proto) sess = tf_debug.LocalCLIDebugWrapperSession(sess) K.set_session(sess) But when I run the ...
0
votes
0answers
5 views

How to seperate logs into separate files daily in Node.js using Winston library

I have a node.js app. I need to log each event in this program and I use winston library for this. I am trying to create a log file for each day. All logs should be separated day by day. I want to ...
0
votes
0answers
4 views

Share dynamic text from application to facebook - JavaScript SDK

I have a web application, where I want normal button to share some text on FB using JavaScript SDK. I've tried some answers on stackoverflow, but not able to post any text, it just shows preview Image ...
0
votes
0answers
16 views

Is this possible to group in SQL?

I have a query that returns a list of dates, now what i want to achieve is to group them and identify the grouping with a null. Sorry for my English. Example: Query SELECT *, ROW_NUMBER() OVER(...
0
votes
0answers
5 views

how to fix the 'django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library'

I am trying to store location of stores in my django database, i tried installing geodjango for the purpose which gives me the above error. i have installed python postgresql osgeow psycopg2 also ...
0
votes
0answers
12 views

Coding Challenge

So, recently I was checking one of a coding challenge. The problem was quite intriguing so just want to know whether there is a better way to do it in terms of time and space complexity. Problem: ...
0
votes
0answers
10 views

Deleted then recovered (local) git repo says: fatal: not a git repository

I accidentally rm -rf'd my entire projects folder with dozens of projects, many of them git repos. A few minutes later I used EaseUS to recover the folder and everything came back. Note, I did not ...
0
votes
0answers
5 views

Ionic 4 nested firebase list based on month

I am trying to list events based on months names list. My firebase data looks like this: The output that I am trying to reach is like this: As you can see, I have the date of each event entered ...
-4
votes
0answers
12 views

which is better React or Vue [on hold]

I'm going to learn one of these frameworks but I want to know the pro and cons for each framework. I don't know much about either but if you could leave a comment as to which one is better - this ...
0
votes
0answers
13 views

Paint Over Image Javascript

🖐 I want to paint a selected apartment with code. I'm using vue js on my proyect, did someone can recommend something for do these? I need to paint over the image Happy Code! 👌🚀👨‍💻
0
votes
0answers
7 views

use useEffect to respond to Redux state change

I need something to run every time a prop changes. With React classes, I could do: componentDidUpdate(prevProps) { if (prevProps.x !== this.props.x) { // do something } } I know in hooks it ...
0
votes
0answers
7 views

elasticsearch post mapping in search query

I have an Elasticsearch index, where each record looks like that: { "id": "some-id", "vendorFilter": { ... }, "storeFilter": { ... }, "content": { ... } } All fields like ...
0
votes
0answers
6 views

WaterMark, Logo and Thumbnail in Azure Media services V3

Just curious to know How to implement Watermark, Logo and Thumbnail in Azure Media services V3? Can some please provide some sample code for same. Regards Hamendra It works in Azure Media services ...
0
votes
0answers
3 views

how to deserialize object in viewmodel in xamarin form

i need to deserialize object ,as i tried some ways which are commented but that are not working public async Task FetchData() { using (HttpClient hc = new HttpClient()) { ...
0
votes
0answers
3 views

How to enable conditional formatting based on if-else condition on 2 previous cells containing dates?

Cell A1, C1 always contains a date. Cell B1 contains either a date or NA or maybe empty. If B1 contains date, then I want C1 to become red on 2nd work day onwards after B1. If B1 is empty or contains ...
0
votes
0answers
5 views

PySpark udf returns null when function works in Pandas dataframe

I'm trying to create a user-defined function that takes a cumulative sum of an array and compares the value to another column. Here is a reproducible example: from pyspark.sql.session import ...
0
votes
0answers
9 views

alerts according to 'if' statement

Depending on the value of the variable name I need to show an alert, If it is empty it must show me an alert and if they contain value it must show me another different alert, my code that I am using ...
0
votes
0answers
4 views

Invalid SMTPAPI Headers in PHP

I am using Sendgrid API to send mail, but I got error something like A message was received from this address by our systems that had errors in the SMTP API header, and cannot be processed. ...
1
vote
0answers
12 views

How to draw JSON text in Java Canvas?

How can I write a JSON object/string with pretty formatted in Android Canvas? For example, val jsonText = "{"profile":{"name": "Robert","account_id": "31"}}" will be drawn to a Canvas which looks ...
0
votes
0answers
8 views

iOS: Is it possible to trigger the LED flash for alerts programmatically?

This is an accessibility setting within the app: Can this flash be triggered in iOS?
0
votes
0answers
3 views

3d graphs support in react-native or highcharts

Is there any library to support 3d charts in react-native.is There any 3d support for react-native highcharts.I am trying to develop a react-native app which works with highchart library . but it ...
0
votes
0answers
5 views

macro to convert shif-JIS to UTF-8 encoding

i have a macro to convert oracle SQL file to postgresql file and the macro is working fine. since all the SQL files are saved in Shift-JIS encoding,but now i want this macro to be expanded to convert ...
-1
votes
0answers
5 views

MFMessageComposeViewController does not show message body on ios 13 but works on lower versions

[][]2] check the ios version in both images the message body appears in the ios 12 and not in 13
-4
votes
0answers
12 views

I want to store contents of html table into database using php and also i want to retrieve the data from database

I am doing a project eamcet web counselling.I need to store the contents of table in database and also retrieve it
0
votes
1answer
3 views

No signature of method: static com.kms.katalon.core.testobject.ObjectRepository.findTestObject() is applicable for argument types: (java.lang.String,

I'm using katalon to do some automation test for mobile app. I used a mobile keyword in the if...else..., but it looks like the logic is not right. Mobile.waitForElementPresent(findTestObject('...
0
votes
0answers
2 views

Micronaut http client inside Grails 4

In a Grails 4.0.1 app I'm use Micronaut http client to call an external web service. Parameters are automatically url-encoded into utf-8. How can I force the encoding it in windows-1252? thanks in ...
0
votes
0answers
6 views

Node Cron only execute specific function based on the schedule

I'm using node-cron for scheduling in my express backend, here is the example. I set my scheduling configuration in index.js, and I've develop the function that will execute by cron in training.js ...
0
votes
0answers
4 views

Wordrpess plugin in MVC way

does anyone have the mvc wordpress boilerplate for the WordPress plugin development. Please share with me. Thanks in advance.
-2
votes
0answers
12 views

How to sort JSON arrays in absolute values and then split it into 2 arrays?

I have the following data. There are arrays of data for the elements. The only data that I want to sort out is category A,B,C,D,E,F,G in absolute values descending order. For category "Planned" and "...
0
votes
0answers
8 views

Ignore camelcase check for particular variable in jshint

We have used few global variables which are not camel case. Ex. lang_code. We can not make this variable camel case. I know there are ways to avoid checking camel case at file level and function ...
0
votes
0answers
11 views

Emojis from api are not displayed properly

I have this string from api \ud83d\ude18\ud83d\udc4c\ud83e\udd70\ud83d\ude02\ud83e\udd73\u2708\ufe0f\ud83d\udc4a\ud83d\ude01\ud83d\ude01\ud83e\udd23\ud83d\ude04\ud83d\ude01\u2708\ufe0f\ud83d\ude01\...
0
votes
0answers
3 views

Problems with gensim installation

I tried installing gensim on my jupyter notebook with pip and i get the message of "The following command must be run outside of the iPython shell" The message i get
0
votes
0answers
6 views

Iterating in OSMNX

I am trying to iterate over some polygons using OSMNX in Python based on this example but am having issues with the output. The set up: import geopandas as gpd import matplotlib.pyplot as plt import ...
0
votes
0answers
10 views

How to match password and confirm password in Flutter?

I just learned Flutter. Here I want to ask how to match passwords and confirm passwords. Here I will give my code. I also use TextField. and I don't use a validator here to validate ...
0
votes
0answers
5 views

Set up vpn server in my university lab and client will be my computer in different network

Install VPN server in a university lab machine and install VPN client in your own machine in a different network or in your mobile. And access to the lab network. Please help if it is possible..!!!
-1
votes
2answers
18 views

How to display a text with dots when resizing the browser window?

How can I display my text with dots when I resize the browser window using CSS ? Eg: My text 'Hello world! Welcome to Coding' After resizing Hello world! Welcome to Co... Hello world! ...
-1
votes
0answers
16 views

how is the output is 0 for this array

for (l = 0; l < dice; l++) { productofface *=(faces[l]); } for (k = dice; k <= sumofface; k++) { cout << "Probability of " << k; ...

15 30 50 per page