sourav

0

votes
0

answer
2

views

XHTML to Docx conversion using docx4j not reading font-size style

XHTML: 18F, Mirae Asset CENTER1 West Tower converted document.xml: 18F, Mirae Asset CENTER1 West Tower font-size:8pt; not getting converted to in ooxml. If font-size is given as small,x-large,etc. it gets converted.
Sourav
1

votes
1

answer
35

views

Convert Multiple pandas Column into json

My dataframe df is like: col_1 col_2 col_3 A Product 1 B product 2 C Offer 1 D Product 1 What i want is to convert all this column to json with the condition that row of col_2 and col_1 should be key value pair. I have tried the following: df['col_1_2'] = df.apply(lambd...
sourav khanna
1

votes
1

answer
649

views

No service dependencies found in Jaeger UI

I am new to jaeger and I am facing issues with finding the services list in the jaeger UI. Below are the .yaml configurations I prepared to run jaeger with my spring boot app on Kubernetes using minikube locally. kubectl create -f https://raw.githubusercontent.com/jaegertracing/jaeger-kubernetes/mas...
Sourav
1

votes
0

answer
272

views

Implement OAuth 2.0 in ColdFusion API

We have a coldfusion API which we want to be accessible with OAuth2.0 Access Token Functionality with ADFS. I am unable to find any library related to OAuth Access Token Validation against a certificate or expiry status.
Sourav Das
1

votes
0

answer
62

views

User defined Webapp class loader in Apache Tomcat server

I have a requirement where I need to load my web application using a custom classloader. From the documentation, I could make out that Webapp class loader handles the loading of class from /WEB-INF/lib and /WEB-INF/classes. Is there a way to override this class loader with a user-defined?
Sourav Kumar Sarkar
1

votes
0

answer
433

views

Use SAML SSO in IONIC App

I have already implemented OAuth for ionic app using ADFS 4.0 as the service provider. Now, there are some internal web sites which are added as links inside the app which are registered via ADFS SAML. I have the following parameters from ADFS Registration Authentication protocol: SAML Relying part...
Sourav Das
1

votes
0

answer
60

views

how to create a zoom transition using custom navigation transition?

I'm new to navigation transition. I'm using Swift language for development. What i'm trying to do is, whenever user click on the tableview cell the new view will open and it look like it coming from the image view of the cell. I created a class of UIViewControllerAnimatedTransitioning. class Thumbn...
Sourav Mishra
1

votes
1

answer
32

views

i want to read a text file again and again for a specified time interval in jQuery/javascript unless a condition is satisfied

After a lot of digging i came up with using $.get() method and implemented it as follow - var id = setInterval(frame, 1000); function frame() { if (progressBar.dataset.size == 100) { clearInterval(id); } else { $.get('Progress1.txt', function (data1) { progressBar.dataset.size = data1; foreground...
sourav
1

votes
1

answer
394

views

What is the insert overwrite work around in bigquery?

I have already tried this: update `cmi.sourav_test_bq_mg` b set b.name=a.name from `cmi.sourav_test_bq_mg_2` a where a.id=b.id but it only worked for for rows where the condition matched, rather than for all of the every data. How can I updated all of it?
Sourav Chatterjee
1

votes
0

answer
52

views

Debugging Meteor on intelliJ IDEA

I have IDEA 2107.3 version ultimate edition. To debug the meteor codebase i added a plugin. But the debugger doesn't stop at the breakpoints i specify in the editor.In the debug console I keep seeing this message: => App running at: http://localhost:3000/ W20180214-00:22:16.105(5.5)? (STDERR) Debug...
Sourav Prem
1

votes
1

answer
188

views

Get rid of LLVM's Unconditional Branch

Consider this IR: label0: ret i32 0 br label %1 How do I get rid of the unconditional branch instruction? I have type casted it to BranchInst class and used removeFromParent() or eraseFromParent() but I'm getting this error. BranchInst *BI = dyn_cast(i); if(BI->isUnconditional()) BI->removeFromP...
Sourav Das
1

votes
2

answer
421

views

Attaching role while creating boto3 ec2 Instance Error

I just started to read about AWS and am trying to create an ec2 instance and attach a role to it. As far as i have read i need to create an instance profile, attach a role to it and then attach it to EC2 instance but i am unable to do so because of the errors described below. I dont have enough time...
Suman Sourav Singh
1

votes
1

answer
106

views

How to display Youtube 10 Trending Video with video id?

please help how to display youtube 10 trending video with video ID. i using this code but not show video id help. but correctly show trending video. function CURL($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_...
Sourav Sarkar
1

votes
0

answer
25

views

How to search a artifact without groupid in maven repo using aether

The issue is like I have two maven remote repository. Repo A and Repo B. My task is to find out all the artifact that is available in Repo A but not in repo B. The artifact may have different groupid in the two repositories. I am using Aether. Is there any option to find the repo B with artifactid a...
Sourav
1

votes
2

answer
150

views

Is there any sure way to know that siri is launched while my app is running?

Suppose, while the user is using the app he long taps the home button and siri opens up. Is there any way to know this through some event or notification or delegate methods? I want to know if siri is launched while my app is running. Is there any sure way to know?
Sourav Ganguly
1

votes
0

answer
306

views

“Out Of Memory Error” while using Glide

I have been getting too many out of memory errors while using recyclerview and loading images from urls. The memory profiler shows that memory allocations keeps on increasing even if we revisit the same fragments again. I have also read several SO questions regarding this and haven't found a solutio...
Sourav Nag
2

votes
1

answer
338

views

Firestore doesn't immediately start listening to changes when Internet Connection Resumes

If I start the app without Internet connection, and then turn on internet, Firestore takes some time before it starts listening to changes. Can this behavior be changed? Like can it start listening to changes as soon as Internet connection resumes.
Sourav Nag
1

votes
0

answer
362

views

Crashlytics not sending reports from the app [android]

My app is unable to send reports through CrashLytics. The log shows CrashlyticsCore: Cannot send reports. Settings are unavailable. I have also tried doing this but with no result CrashlyticsCore core = new CrashlyticsCore.Builder().build(); Fabric.with(context, new Crashlytics.Builder().core(core)....
Sourav Nag
1

votes
1

answer
146

views

Spark ClassCastException cannot assign instance of FiniteDuration to field RpcTimeout.duration on Scala 2.10.5

I am facing this exception when I try to submit a job. What to try? JAR is compiled on Scala 2.10.5 and uses kafka_2.10-0.8.2.0.jar , kafka-clients-0.8.2.0.jar Here is the full stack trace of the exception java.lang.ClassCastException: cannot assign instance of scala.concurrent.duration.FiniteDur...
Sourav Mandal
1

votes
0

answer
151

views

Out Of Memory (OOMs) using Fresco in recyclerview

I was previously using Glide but it gave me too many OOMs. Then I started using Fresco from facebook. Still I am getting OOMs. I am using Fresco in recylerviews. I have tried the following holder.image.setImageURI(item.getImageUrl()); and ImageRequestBuilder imageRequestBuilder = ImageRequestBuilder...
Sourav Nag
1

votes
1

answer
106

views

Forked repository mirroring failing

I fail to update my forked repository https://gitlab.com/sourav_roy_gngl392/api from its parent repo https://gitlab.com/mirach/kounsel/backend/api. It runs into the following issue , '2:Fetching remote upstream failed: fatal: could not read Username for 'https://gitlab.com': No such device or addr...
Sourav Roy
1

votes
0

answer
156

views

How to package and deploy a Node/Express Web Application in some NON-CLOUD environment?

I am a beginner in NodeJS. All the examples seen so far deploy the app in some Cloud environment. Coming from a Java background, deploying app in Jboss, is there anything similar for a Node/Express application ? Or running 'node server.js' is the only way to doit.
Sourav
1

votes
1

answer
70

views

Which way of scaling nodejs app is better?

I need to scale across different servers as well. Will that be possible with only pm2 since it is only forking childprocesses from the main process, that too sharing the same port. Is using a reverse proxy like Nginx, is the way forward for horizontal scaling?
Sourav
1

votes
0

answer
76

views

Is the Power BI Javascript API supported in Power BI Report Server?

I would like to know if the Power BI Javascript API is supported in Power BI Report Server. If Yes, then how?
1

votes
1

answer
367

views

How to get Adjusted R Square for Linear Regression

Using sklearn.metrics I can compute R square.How I can compute Adjusted Adjusted R square using Linear Regression model?
Sourav Saha
1

votes
3

answer
522

views

Pycharm cann't find the packages or modules installed with pip on windows

Pycharm doesn't sync with the pip packages though i have added the path in environment variable. The following elements will clear the topic: already installed sklearn package: pycharm can't find that package: environment variable:
sourav
1

votes
0

answer
25

views

While Running My Phonegap Project its Give me console error,How to solve this error?

While I am Setup my phonegap project and Running.Its Create a Console error with given URL i don't know whats its mean.While I am Setup my phonegap project and Running.Its Create a Console error with given URL i don't know whats its mean.While I am Setup my phonegap project and Running.Its Create a...
Sourav Tapadar
1

votes
1

answer
68

views

Export data from sqoop to couchbase 5.0

I have a use-case where I need to upload 20 million rows in couchbase from hive table using sqoop. In couchbase documentation, I found couchbase Hadoop connector 1.2 which is for couchbase 2, whereas I am using couchbase5.0. Can anyone suggest if an upgraded connector is available now? Or any alter...
Sourav Ghosh
1

votes
0

answer
31

views

Why i am getting the message Ran 0 tests

i am getting Running tests... Ran 0 tests in 0:00:00 OK from selenium import webdriver import unittest import HtmlTestRunner from selenium.webdriver.common.keys import Keys class Login(unittest.TestCase): def enviroNment(self): chrome_options = webdriver.ChromeOptions() chrome_options.add_argument('...
sourav
1

votes
0

answer
154

views

Load French characters in Amazon Redshift from S3

I have a .csv file which contains French characters. The data is like this: Antonie Bégarder,12345,6789,France The file got loaded to S3. I am using COPY command to load the file from S3 to Redshift. I was getting the error: String contains invalid or unsupported UTF8 codepoints. Bad UTF8 hex seque...
Sourav Gupta
1

votes
1

answer
281

views

Import Data from Oracle using Spark

In Databricks I am using the following code to extract data from Oracle. %scala val empDF = spark.read .format('jdbc') .option('url', 'jdbc:oracle:thin:username/password//hostname:port/sid') .option('dbtable', 'EMP') .option('user', 'username') .option('password', 'password') .option('driver',...
Sourav Paul
1

votes
1

answer
305

views

Why getting error AttributeError: 'WebDriver' object has no attribute 'executes_script'

Getting error for line self.driver.executes_script self.driver.executes_script('arguments[0].click();', new_notification) AttributeError: 'WebDriver' object has no attribute 'executes_script' None but their is a class name with it import unittest from selenium import webdriver from selenium.webdriv...
sourav sharan
1

votes
2

answer
140

views

PrimeNG p-orderList disable multiple selection of items

I am using PrimeNG's p-orderList. By default, the metaKeySelection attribute is true which implies that a metaKey(ctrl key) is needed to be pressed to select multiple items. I was rather looking for a way to completely disable selection of multiple items. I should be able to select ONLY ONE item in...
Sourav Patra
1

votes
0

answer
46

views

How to use sheet-js git library in Google AppScript?

I am trying to convert a 2d array in excel file using google appscript. For that I am using sheet-js library.. but it is showing me error. I am using xlsx.min file as xlsx.full.min is causing another error. After using jszip.js still it is not resolving my issue. Could you please suggest the appro...
Sourav Chatterjee
1

votes
1

answer
221

views

What is the code to install BiocManager package?

I needed to install Rgraphgviz package, for which i found this code if (!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager') BiocManager::install('Rgraphviz', version = '3.8') It seems I need to install BiocManager package as well. Can anyone help me with this? or is t...
Sourav Kumar
1

votes
0

answer
66

views

pandas time series boxplot

I have the following pandas dataset. You can take a look the data in here in as an image. I need to create a time series box plot. However, when I use the following code df.boxplot(showfliers=False) I am getting this box plot where each dates data are equally spaced in X-axis. No matter what time...
Sourav
1

votes
1

answer
48

views

How to click on the image through Selenium using Python

I've been trying to select one image tag, however, since it doesn't have any name and id I'm having trouble while doing the same. HTML: ACD DETAILS NEW ACD Details //IMAGE THAT I NEED TO SELECT AND CLICK Code: driver.find_element_by_xpath('//img[@onload='this.__gwtLastUnhandledEvent='load';']').clic...
Sourav
1

votes
0

answer
44

views

Post-generate-script for Maven archetype is not working in Eclipse

Hello Everyone i got a strange error while generating a project from archetype . There is a postscript groovy file archetype-post-generate.groovy(in archetype project) which is supposed to runs after any project gets created from that archetype . This works fine if i am creating a project from cmd u...
Sourav Purohit
1

votes
0

answer
47

views

Using firestore for spring-boot rest api

I want to make my own rest-api using spring-boot. Should I jump into using firestore as my primary database ? I have searched over internet but found nothing essential for using sping-boot with firestore database. I don't know the issues of using normal database or firestore with spring boot.
Sourav
1

votes
0

answer
48

views

Missing Number Picker and many other in palette from android studio 3.3?

I am using Android Studio 3.3.2. I didn't find the NumberPicker in the palette which was in Expert tab on older versions of Android Studio. What to do?Screenshot of my palette are given below:
Sourav Bhadra

View additional