Abhinav

0

votes
0

answer
14

views

DBD-Oracle-1.76 installation issue

I am setting up a new server for POSTGRESQL, so we have to migrate from ORACLE to POSTGRES while installing DBD-Oracle-1.76 package. However, we are getting error even though we have exported ORACLE_BASE, ORACLE_HOME, LD_LIBRARY, LD_LIBRARY_PATH. Here is what I have tried: make rm -f blib/arch/auto...
Abhinav
1

votes
0

answer
123

views

Decrease delay for getting location of user

I am coding an app in which a specific module requires the user's location. Now I am using Google's Fused Location API which can be found here. The problem came when the location from the user's settings is turned off. I wrote a code which prompted to change the settings. I receive the changed setti...
Abhinav Upadhyay
1

votes
0

answer
225

views

SSLHandshakeException JAVA : client SSL call using key and certificate file

I have a cert file and its key. Using these two I am able to call a given service api successfully using postman. Now I am trying to write a client which should use these two and call the API.Before writing the java code,using openssl created a pfx file using the existing cert file and its correspon...
Abhinav
1

votes
1

answer
108

views

Passport Js documentation Custom Callback syntax

I am using passport.js for my node app. In the Custom Callback section I found the following code(lets say it Code A): app.get('/login', function(req, res, next) { passport.authenticate('local', function(err, user, info) { if (err) { return next(err); } if (!user) { return res.redirect('/login'); }...
abhinav coder
1

votes
0

answer
40

views

Add TeamTrack ID or Issue Tracking System to Webstorm SVN plugin

I am using WebStorm and trying to upload my code to the SVN repository. I am not able to share my project or commit anything as SVN is configured to require TeamTrack ID. Where and how should I provide this TeamTrack ID with my code? How can I integrate Issue Tracking System with Webstorm SVN Plugin...
Abhinav Tyagi
1

votes
0

answer
379

views

How to integrate Transaction API in Action on Google

Trying to integrate Transactions API for reservations only (No Payments required). While invoking transaction decision, the app is not responding and I hear “ is not responding right now. Try again soon.” Here are my steps: 1. Check if transaction is required using transaction check 2. Create o...
Abhinav Tyagi
1

votes
0

answer
189

views

Tableau: How to add parameters in Initial SQL

I've been stuck with the below and been searching for an answer. Also opened a ticket with Tableau support team and waiting for them to get back. My Question: I have some volatile tables that I created in Teradata. In Tableau with the Live connection I placed the volatile tables in Initial SQL and i...
Abhinav
1

votes
1

answer
67

views

Data passing from UITextField to HTML and Vice Versa in iOS

Send string Hi from UITextField to local HTML and display it in HTML then from HTML send hello and should be updated in UILabel using WKScriptMessageHandler
Abhinav Jha
1

votes
0

answer
342

views

how to uninstall pdftk completely from mac?

I am having trouble with pdftk on my Mac OS X 10.13 and want to remove all traces of it from my system before attempting to make a new install with the newest package 2.02 (using this https://gist.github.com/jvenator/9672772a631c117da151) which I already installed. Now i want to remove it completely...
Abhinav Garg
1

votes
1

answer
44

views

Hide Input Field data on Form Submit

I've got a login form with two input fields: username and password. Once the user submits the form, his username and password are shown in the browser's network attribute in form data section Request URL: http://localhost:8090/test/testPwd.html Request Method: POST Status Code: 302 Moved Temporarily...
Abhinav Parashar
1

votes
0

answer
201

views

How to bind nested listview within listitem of parent list, after applying grouping?

How to bind nested listview within listitem of parent list. I followed below posts, and now need help to bind ItemSource of a nested listview present within listitem data template. https://montemagno.com/enhancing-xamarin-forms-listview-with-grouping/ how to bind list inside litview in xamarin.forms...
Abhinav
1

votes
0

answer
58

views

Creating a Proxy Server in Java corrupts binary files

I am trying to create a proxy server in java using Spark Java. I listed for any incoming request and send any incoming request to the target server via Apache Http Client. I then transform the incoming request by coping the headers, status and text. Now this is working pretty fine, except the binary...
abhinav pandey
1

votes
0

answer
141

views

AVplayer not playing live audio stream

I have a custom UI for the AVplayer with all the bells and whistles like a scrubber to seek a button to play/pause the audio in a separate view controller. I have them on a two tab bar controllers, one of streaming audio and the next for live streams, when a playable stream is selected, the view con...
Abhinav Jayanthy
1

votes
1

answer
1k

views

CocoaPods install fails on Microsoft AppCenter for React Native projects

I am new to CocoaPods and I have been trying to build a RN project on MS AppCenter. My Podfile looks fairly simple: # Uncomment the next line to define a global platform for your project # platform :ios, '9.0' target 'recommendapp' do rn_path = '../node_modules/react-native' rn_maps_path = '../node_...
Abhinav Mishra
1

votes
1

answer
253

views

Getting KeyError in request.session

Here is my code for using session in Django. Everything seems fine but getting KeyError at /addfixeddeposit/ views.py def anotherpage(request, account_number): form = FixedDepositForm() context = {'form' : form} request.session['account_number'] = account_number return render(request, 'bankmanageme...
1

votes
0

answer
42

views

How to coordinate sound and animation in Libgdx?

I am trying to make an intro screen for an game which has 2 animations and 2 sound clips. I want it to play one after another (Animation 1 -> Sound 1(5 sec) -> Animation 2 -> Sound 2(2 sec) -> new Screen).I am using two listeners for animations secondAnimation.setListener(new OnAnimationComplete() {...
Abhinav Rajput
1

votes
1

answer
154

views

this.props.data.map is getting undefined error

while executing the code export default class Slides extends React.Component { renderSlides() { return this.props.data.map((slide)=> { return ( {slide.text} ); }); } render() { return ( { this.renderSlides() } ); } } the error is this.props.map() error
Abhinav
1

votes
2

answer
242

views

Invariant Violation: Could not find “store” in either the context or props of “Connect(AuthScreen)”

Invariant Violation: Could not find 'store' in either the context or props of 'Connect(AuthScreen)'. Either wrap the root component in a , or explicitly pass 'store' as a prop to 'Connect(AuthScreen)'. How do i do that . Getting literaly confused. here is my code for AuthScreen import React from 're...
Abhinav
1

votes
1

answer
203

views

Trouble authenticating Airtable API while creating a field with python

[newbie question] I'm trying to create a new record in my Airtable base using python 3. The curl commands in the documentation are as follows: $ curl -v -XPOST https://api.airtable.com/v0/restoftheurl \ -H 'Authorization: Bearer My_API_Key' \ -H 'Content-type: application/json' \ -d '{ 'fields': { '...
Abhinav
1

votes
1

answer
78

views

Django PUT TestCase fails if client initialised in setUpTestData() but passes if client initialized in setUp()

I am writing tests where every test case passes except the PUT from django.test import TestCase from rest_framework.test import APIClient class ViewTestCase(TestCase): @classmethod def setUpTestData(cls): cls.client = APIClient() def setUp(self): '''setUp() runs before every single test method.''' s...
Abhinav
1

votes
0

answer
148

views

Kafka consumer not consuming messages after restart

Below is the configuration and code for kafka consumer. It works fine on initialization but does not process any further records when consumer restarts after failure. ENABLE_AUTO_COMMIT is false, SESSION_TIMEOUT is 30 sec and POLL_TIMEOUT is 0 sec val props = new Properties props.put(BOOTSTRAP_SERVE...
abhinav singh
1

votes
0

answer
33

views

I'm trying to use concurrent futures for threading, but it seems some of the futures are not returning, they keep running indefinitely

def parallelize_task_by_thread(func, iterable, workers=4): with ThreadPoolExecutor(max_workers=workers) as executor: future_to_url = {executor.submit(func, i): i for i in iterable} result = [] for future in concurrent.futures.as_completed(future_to_url, timeout=120): response = future.result() resul...
Abhinav Anand
1

votes
0

answer
102

views

Dialog flow to skype Integration error

Dialog flow to skype Integration error- There was an error sending this message to your bot: HTTP status code BadRequest There was an error sending this message to your bot: HTTP status code BadRequest **is anyone has fixed this issue as the bot is sending the request from skype but from dialog side...
Abhinav Anshuman
1

votes
0

answer
177

views

AWS IOT End Point and Route53

Once we create a thing in AWS IOT Core, we get an endpoint which has to be used by java program in the device to connect to AWS IOT. The endpoint *.iot.us-west-2.amazonaws.com has region in it. This end point has to be configured in device which we want to avoid. The reason is to have low latency wh...
Abhinav Mutreja
1

votes
1

answer
118

views

Is there any limit to the size of PUT/POST data while indexing documents in Elastic Search via Http call?

I am creating a heavy-update search application using Elastic Search 5.0.1, wherein hundreds of thousands of records are indexed into elastic search. This happens every few seconds for multiple indices from my Java client using HttpURLConnection. I am using elastic search's Bulk API for which I cre...
Abhinav Gupta
1

votes
1

answer
42

views

Error in deploying my angular app to gh-page

I was trying to deploy my angular app, to GitHub-page, while ending up with this long error which I am finding difficult to understand. I tried online but nothing seems to help. Any suggestions/help would be appreciated. Thanks Background Angular version: 6.1.2 Command Used to deploy the app: npm i...
Abhinav Alok
1

votes
1

answer
51

views

How do i wait for 2 dateChange events and execute a function

I have 2 MatDatepickers for start and end dates and i'm firing a searchFilter function on dateChange like so: I need to apply my searchFilter with the event data if both of these are fired. I'm new to Observables. I'm aware of the zip method that i can use to wait for 2 observables, but how can i s...
Abhinav Upadhyay
1

votes
0

answer
71

views

How to send SQL query from JSP to servlet?

I have created a JSP page that sends the custom SQL query to the servlet to fetch records from the database. But the original query has been modified when I send the query with LIKE operator. I have applied but it will not work. Original query: select * from table where coloum_name like '%AF%'; To...
Abhinav
1

votes
1

answer
157

views

Can anyboy recommend a web based video player that can autoplay video on android mobile platform

According to this https://developers.google.com/web/updates/2017/09/autoplay-policy-changes Autoplay of video is only possible when they are muted. Some quora questions which I saw were Chrome video autoplay Chrome 64 Mobile Android not preload and not autoplay muted videos After doing some resear...
abhinav coder
1

votes
0

answer
96

views

JavaScript : Selenium : How to get total number of pending xhr request?

I have tried multiple options like jQuery.active, $ active and window.openHTTPs but are returning no pending requests in case of pending xhr request. So is there a way using JavaScript to identify a total number of pending xhr request. In browser tool I can see that xhr request is generated by dojo....
Abhinav Garg
1

votes
0

answer
33

views

Build and Train Quantized Neural Network using numpy

I am new to quantization and would like to learn how to build and train quantized neural network using numpy only. Would be really grateful if anyone could point me in the right direction. I would like to learn it using numpy as I will have a better understanding of the how the network behaves and c...
Abhinav George
1

votes
1

answer
127

views

Error when using Quantized Conv2D with tf.qint8 inputs

I am new to quantization and I was learning usage of QuantizedConv2D operation in tensorflow. The code is as below import tensorflow as tf a = tf.constant([1.5,1.2],shape = [1,1,1,2], name ='a') a1 = tf.constant([[2.0],[1.0]],shape = [1,1,2,1], name ='b') min_a= tf.reduce_min(a) max_a= tf.reduce_max...
Abhinav George
1

votes
1

answer
134

views

How to convert the results of qint32 to quint8

I am fairly new to quantization in tensorflow. I have the following code: import tensorflow as tf from tensorflow.python.ops.gen_math_ops import quantized_mat_mul from tensorflow.python.ops.gen_math_ops import quantized_add a = tf.constant([1.4,-1.2],shape =[1,2],dtype = tf.float32) a1 = tf.constant...
Abhinav George
1

votes
1

answer
499

views

Connection refused by Spring boot app running in different docker container

I have three apps running in 3 containers on the same host. CONTAINER ID IMAGE COMMAND PORTS 3f938111c1bf registration 'java -jar registration.jar' 0.0.0.0:8030->8030/tcp cb9c4782194e security 'java -jar security.jar'...
Abhinav Prakash
1

votes
0

answer
120

views

ng-bootstrap two collapse not working as needed in angular 6

Am trying to make a sidebar by using ng-bootrap and i am using collapse ng-bootrap collaspe by collapse i trying to trigger two collapse alternatively example :- 1) if home button is clicked only its submenu options should show other setting submenu should be closed. homecollpase 2) if setting butt...
Abhinav Sharma
1

votes
1

answer
55

views

In LinkedIn api i am getting “Access to connections denied”

I want to get the connections from linkedIn, but i am getting the above error, and on searching i found that i need to be registered in partner program. So, there are 3 options available: 1. Talent 2. Marketting 3. sales I am not sure which one to choose Please help.
Abhinav Dobhal
1

votes
0

answer
23

views

How to connect slim3 api endpoint to serve 3rd party php file

tldr I want to make an endpoint /tools/dbadmin to serve adminer file for database management. In slim 3 Question During slim 2 era, I simply used to put_file_content adminer file to an endpoint and use it. Heck I was even able to load its plugins. I know it isn't secure, so I moved on and never need...
Abhinav Kulshreshtha
1

votes
0

answer
37

views

Cassandra | How can I compare the current set of data with the previous one?

I am new to Cassandra DB and I have a need to store a set of data in a table periodically (in every 15 minutes). This set of data can be of 1500 records. Now, I have to insert this set of data in Cassandra table in such a way that all these 1500 records are tied with the same partition key, meaning...
ABhinav
1

votes
2

answer
94

views

How do i use Dialogflow V2 API in my spring boot application? I have successfully implemented it using V1 API

Okay so i have created a chatbot in ionic that makes GET request to my spring boot application. My spring boot application makes an API call to Dialogflow using the RestTemplate exchange method. I have successfully implemented it for V1 API. But for V2 integration the token expires in 1 hour. So i d...
Abhinav Parab
1

votes
1

answer
19

views

maven directory not found in Jenkins?

I am doing auto deployment of Java Application using Maven and Jenkins, but it is getting failed.Here is the console output: I have set the environment varaibles and also downloaded and configure all the required plugins. Need help to solve this issue. Thanks
Abhinav Goel

View additional