Abhishek Abhishek

1

votes
1

answer
584

views

Expand collapse a layout in recycler view

I have a recycler view which has header element and child element at starting time the visibility of child element is gone. I want that when I clicked on header element suppose position zero child elements of that position should be visible (mean expand) I achieve this successfully. The only problem...
Abhishek Bhardwaj
1

votes
0

answer
237

views

How does Network I/O happens in node.js?

I have been searching about the node.js internal thread pool for I/O and found out that Network I/O does not use threads for requests. 1) Then what puts the cap on limit of network request processed asynchronously in my node.js server? I am trying to use cluster module on my octa core processor and...
Abhishek Yadav
1

votes
0

answer
56

views

Scaling node.js servers

I have some basic doubts regarding node.js scaling Problem Explanation I am solving a problem where I have multiple devices that send data at high frequency, I need to process the data(Based on the data, some network I/O has to be done) and save it to the database. I first designed this architecture...
Abhishek Yadav
1

votes
0

answer
643

views

How to use Vue in laravel blade?

I am going through vue 2 laracast videos I am stuck in the 1st tutorial itself. @{{ message }} var data = { message: 'Hello Vue!' } new Vue({ el: '#app', data: { message: 'Hello Vue!' } }) don't work, gives an error Use of undefined constant message - assumed 'message' @{{ message }} gives me the r...
Abhishek Ganguly
1

votes
0

answer
196

views

How to make bootstrap thumbnail caurosel responsive?

Hello i am trying to make a slider using bootstrap(thumbnail slider) and it is sliding but i want to slide one by one column (like first column: 1-2-3, second: 2-3-4, third: 3-4-1 and so on) but don't know where i am misleading, please help me out to make it. hints: in initial it will show column: 1...
Abhishek Rawal
1

votes
0

answer
48

views

BeautifulSoup4 Not detecting Select tag

I am trying to learn web scrapping, I need to get the all the select tags in the web page. But they are not getting detected by BeautifulSoup4. Here is my code in python 3 from urllib.request import Request, urlopen from bs4 import BeautifulSoup import lxml req = Request('https://www.nseindia.com/'...
Abhishek Gangadhar
1

votes
0

answer
205

views

How to set eom byte in jmeter?

I am load testing a tcp server in jmeter in gui mode and getting this error I read about adding end of line byte but my data kind of has 2 bytes as ending message byte = '0d0a' How can I use BinaryTCPClientImpl class and set this eombyte? 2) I have always used the gui mode, do I have to extend the B...
Abhishek Yadav
1

votes
2

answer
4.3k

views

how to take Char/arithmetic operator as input from user without using Scanner

Thanks for having a look at my question. I wanna ask that can i take character or arithmetic operator as input from the user without using scanner? This is my code to Write a program using the arithmetic operators to perform algebraic operations on two numbers. (Algebraic operation is +, - , *, /, %...
Abhishek
1

votes
0

answer
124

views

Show SearchView underline in Toolbar on API 23+

My SearchView edit text is not showing any underline. How do I show edit text underline of AppCompat SearchView. I have tried this ((View)searchView.findViewById(android.support.v7.appcompat.R.id.search_src_text) .getParent()).setBackgroundResource(R.drawable. abc_textfield_search_default_mtrl_alpha...
Abhishek Bansal
1

votes
0

answer
62

views

How to load assembly files using Edge.js when hosting the app in iisnode

Is it possible to use edge.js with an application which is hosted on iisnode. A simple inline code like this- var hello = edge.func(function () { /* async(input) => { return '.NET welcomes ' + input.ToString(); } */ }); works properly when the server.js file is handled using iisnode. But in case the...
Abhishek Neogi
1

votes
0

answer
560

views

Spark job dataframe write to Oracle using jdbc failing

When writing spark dataframe to Oracle database (Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit), the spark job is failing with the exception java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection. The scala code is dataFrame.write.mode(...
Abhishek Joshi
1

votes
1

answer
56

views

bulk_delete in mongodb using mongoid ruby

I have 10 million documents in a mongo collection as of current_date and want to destroy 6 million documents which are older than yesterday. Is there any bulk_delete option in mongoid ? I know I can bulk_insert as Mongo::my_collection.collection.insert(data) which fires only one insert command. Sim...
Abhishek
1

votes
0

answer
2.3k

views

Automation server can't create object on IE11

I am trying to run .exe file in javascript Code: var objShell = new ActiveXObject('WScript.shell'); objShell.run('C:/Program Files (x86)/IBM/WAcoount.exe', 1, false); an error is : Automation server can't create object For this i changed setting IE 11 Tools -> Internet Options -> choose the Securi...
Abhishek Mahapatra
1

votes
2

answer
71

views

linker command issue With weak library

I am creating an app where I am trying to scan business card details. For this I used TesseractOcrIos library with CocoaPod. the pod is :- 'TesseractOCRiOS', '4.0.0' . But when i integrate that in my project it is giving linker command ld: -weak_library and -bitcode_bundle (Xcode setting ENABLE_BIT...
Abhishek Sharma
1

votes
2

answer
95

views

Data Extraction using Beautiful Soup : Data Visible on Website But No Text or Value present in HTML Tags

I am trying to extract data from a website with HTML I am unable to extract text from HTML.I am using Python,Selenium and Beautiful SOUP to extract data.I checked from jquery using CSS Selector. How to select value using python as it is working in jquery
Abhishek Choudhary
1

votes
1

answer
303

views

How to get progress bars work in jenkins console

How do i get progress bars work display correctly in jenkins console log I am running jenkins master and slave in a docker container and my build job is getting laravel installed before testing it. But composer install looks very ugly, i am pretty sure there is a way to make it look pretty and user...
Abhishek Salian
1

votes
1

answer
1.9k

views

Enabling sticky sessions with nginx ingress, not working

I have a v1.8.4 deployment running nginx ingress controller. I had an ingress which works fine. But now I am trying to enable sticky sessions in it. I used kubectl edit ing mying to add these annotations: nginx.ingress.kubernetes.io/affinity: cookie nginx.ingress.kubernetes.io/session-cookie-hash: m...
Abhishek Chanda
1

votes
4

answer
910

views

how to getattribute of a span class value in selenium web driver

I used .getAttribute('value'); but it gives null value .gettext() method also gives null value.Kindly suggest way forward.Snapshot of xpath Please fill required fields Absolute xpath for the element is: html/body/div[5]/div[2]/div/div/div[2]/div[3]/span[2]
Abhishek Gaur
1

votes
0

answer
99

views

recyclerview checkbox checked/unchecked automatically when i am scrolling in android

//this is my QuestionHolder private class QuestionHolder extends RecyclerView.ViewHolder implements View.OnClickListener { private JSONObject question; private CheckBox checkBox; private TextView question_txt; public QuestionHolder(final LayoutInflater inflater, ViewGroup parent) { super(inflater.i...
Abhishek Reddy
1

votes
0

answer
667

views

Get source code for libc for debugging in gdb

I am currently debugging an api from shared library libc6 using gdb getaddrinfo() which is being called from python module: socket.getaddrinfo() I have managed to set a breakpoint at getaddrinfo.c and I wish to navigate the execution in single steps. Source files: ldd --version tells that I have g...
Abhishek Agarwal
1

votes
0

answer
376

views

Angular 5 Form validation, not accessing validators properties

I have created a registration form and trying to validate it using Angular 5 form's validators. I have gone through other threads on StackOverflow also tried the solution explained in - Angular 5 ngx-bootstrap form validation but i am unable to solve my issue. My html is - First Name My component -...
Abhishek Chokra
1

votes
1

answer
560

views

How to Intercept angular 2 HTTP Calls using angular 4 HTTP interceptor?

I am trying to import a custom library which has angular 2 HTTP calls(http imported from Http) into an Angular 4 Project. in my library module, http calls are something like this. import { Http } from '@angular/http'; @Injectable() export class SampleService(){ constructor(public http: Http){} sampl...
abhishek gangwar
1

votes
2

answer
72

views

Performing external operations after Elasticsearch indexing

I'm currently indexing webpages to elasticsearch. The indexing are done through java (Spring) and also through Apache Nutch. I met with a situation that, I have to call an external API just after indexing or updating a document in elasticsearch. The API processes a field value in the index and store...
Abhishek
1

votes
0

answer
368

views

Unable to load RJDBC package in RStudio

I have successfully installed the RJDBC in RStudio. install.packages('RJDBC') trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/RJDBC_0.2-7.zip' Content type 'application/zip' length 70232 bytes (68 KB) downloaded 68 KB package ‘RJDBC’ successfully unpacked and MD5 sums checked Howeve...
Abhishek Singh
1

votes
0

answer
535

views

Powerline fonts not working with vim on archlinux

I get bad symbols in places $ pacman -Qqe | grep powerline powerline powerline-fonts powerline-vim $ pacman -Qqe | grep vim-airline vim-airline vim-airline-themes $ python --version Python 3.6.4 $...
Abhishek Bhatia
1

votes
0

answer
29

views

Uploading file to webserver

I am trying to upload files to the server but files are not uploading. User selects a file from document and send to php when user clicks on submit button. I tested it on two devices it always says 'forbidden-403'. I referred this link-https://www.coderefer.com/android-upload-file-to-server/
Abhishek c
1

votes
0

answer
37

views

copy data from one block device and write to another block device using python sockets

To achive this, i have written socket_client.py and socket_server.py. I put all my affort, but i could not achieve the result. In the current code, i want that a socket_client.py should read block device data and send to socket_server.py with the offest value from where data has been read. In socke...
Abhishek Verma
1

votes
1

answer
392

views

validation touched event is not working with angular 5.2

I have one input type like: Enter email Invalid email but it seems like touched event is not working, the same event was working before with angular 4.3.But after switch to angular 5 the touched event is always be false.when i print like {{emaill.touched}} it is always be false even after touch the...
Abhishek saini
1

votes
0

answer
309

views

ncat listener - send data from client to script and script output to client

I am trying to setup a simple TCP socket service on Linux (SLES 12) with ncat. The client will send a single string to socket that must be passed to a shell script. Based on the string the script will do some work and print the output through echo. This output must be passed back to the client so th...
Abhishek Kumar
1

votes
2

answer
133

views

Minimum previlage to Renew Microsoft Graph Subscription expiry Date

We are using webhook to get AD user changes within our system through subscription. For this we have a App registered within Azure AD which has read access to user changes through Graph API . As webhook subscription expires in 2.5 days we require to renew the subscription through our application....
Abhishek Kumar
1

votes
0

answer
163

views

I want to apply a filter in composite chart on the legends click in DC.js

This is my composite chart with bar and linear chart attached to it by custom method I want to click on one of those legends (ex: Negative) and it should filter based on that sentiment only, expecting only a red line be shown and all other dc chart filter based on this. tried something like this on...
Abhishek Jain
1

votes
2

answer
57

views

How to stop storing integers and special characters in String in Java?

I wrote a program to read username from keyboard. When I enter any integer or special characters, it is taking that values and displaying on console. But I want that it should not take any integers and special characters. It should take only letters and if any integer or special character is there,...
Abhishek Kumar
1

votes
1

answer
23

views

Ionic Grid not updating when Item size changed

I'm using grid for showing my products. I'm getting products successfully but when I get new product my view is not updating. when I adding a toast then view updates. I'm new to very new ionic 3 and angular 5. Please tell tell whats I'm doing wrong . Any help would be appreciated. My Product html co...
Abhishek Singh
1

votes
0

answer
765

views

Runtime Crash with Proguard enabled Room Persistence Library

I have been facing following crash with Room stable version when proguard is enabled FATAL EXCEPTION: main Process: .debug, PID: 27841 java.lang.RuntimeException: Unable to create application .DebugBaseApplication: java.lang.RuntimeException: cannot find implementation for .database.c. c_Impl does n...
Abhishek Bansal
1

votes
0

answer
253

views

Not able to provide additional User-Data in instance groups through kops edit

I'm trying to pass Additional user data to the nodes in k8s cluster deployed on AWS. To do that, I edited the IG 'nodes' and set the configuration to this... apiVersion: kops/v1alpha2 kind: InstanceGroup metadata: creationTimestamp: 2018-02-07T13:25:13Z labels: kops.k8s.io/cluster: example.com name:...
Abhishek
1

votes
0

answer
96

views

segmentation fault while loading libutils.so in android

While loading your library, I am getting error on loading libutils. so I am new to NDK, so don't know much. Error log: I/CallRecLib: Error: dlopen failed: library 'libutils.so' not found 02-06 18:11:12.960 21141-21141/com.superreceptionist W/google-breakpad: ### ### ### ### ### ### ### ### ### ### #...
Abhishek Singh
1

votes
0

answer
402

views

Stack based VS heap based buffer overflow

Why is heap-based buffer overflow difficult than stack-based? Also, what is the difference between them? I know that memory is allocated dynamically in case of heaps but, is that it?
abhishek bv
1

votes
0

answer
54

views

How to update different sub documents based on string in mongo

The following is the document i'm trying to update : { '_id' : '12', 'cm_AccAmt' : 30, 'cmPerDaySts' : [ { 'cm_accAmt' : 30, 'cm_accTxnCount' : 2, 'cm_cpnCount' : 2, 'cm_accDate' : '2018-02-12' }, { 'cm_accAmt' : 15, 'cm_accTxnCount' : 1, 'cm_cpnCount' : 1, 'cm_accDate' : '2018-02-13' } ], 'cpnPer...
Abhishek
1

votes
1

answer
147

views

Not able to delete kubernetes ingress-object through kubernetes python client

I am getting this error while deleting the ingress objects. Reason: Internal Server Error HTTP response headers: HTTPHeaderDict({'Content-Type': 'application/json', 'Content-Length': '161', 'Date': 'Wed, 14 Feb 2018 10:14:03 GMT'}) HTTP response body: {'kind':'Status','apiVersion':'v1','metadata':{}...
Abhishek
1

votes
0

answer
43

views

Multilingual Entities Wit.AI (import app)

ImportApp #Multilingual I want to make multilingual chatbot.Currently made a chatbot using the English language with 30+ entities. Query: How you doing Entity: E1 Want to check results for the Spanish language.So I exported app and imported to a new app with language equals to Spanish. Query : comme...
Abhishek Choudhary

View additional