Bala

1

votes
2

answer
3.7k

views

Jmeter response times - TTFB or TTLB?

Are these response times from JMeter TTFB or TTLB?
bala
1

votes
2

answer
4k

views

what is the meaning %*s in sscanf function [closed]

New to C programming , feel free to correct me. int main() { char sent[]='mugiwara is 18 years old'; char str[20]; int i; sscanf(sent,'%s%*s%d',str,&i); printf('\n%s->%d',str,i); return 0; } In the above c program what in the world %*s is doing in the sscanf statement ? I tried removing it and then...
ritam bala
1

votes
0

answer
166

views

Line graph automatically connects with other collection in DynamicDataDisplay WPF MVVM

In my project, i have to display multiple line graphs dynamically. If i bind more than one dynamic collection to my D3 line graph, every collection end point gets automatically connects with next collection first point. Please help me to differentiate line graphs.
Bala
1

votes
1

answer
21

views

“out of range” error inserting mobile number from servlet to SQL

I am trying to insert mobile number through prepared satement, but I am getting an error stating that type out of range even for Double type. pstmt.setDouble(6, 9677627718); How to insert mobile number from servlet to sql? It says that out of range even for double data.
Bala
1

votes
0

answer
222

views

Angular2 radio button not working in Production

I recenlty built an angular2 application using Visual Studio 2015 and MVC. The project also hosts WEBAPI along with angular code. I integrated MS Build with Angular build using the instructions shown here https://www.codeproject.com/Articles/1193423/Integrating-the-Angular-CLI-With-Visual-Studio I a...
bala
1

votes
2

answer
65

views

concatenate dynamic columns using google appscript

I want to concatenate columns that are dynamic, using appscript programmatically. See the screenshot what my data looks like and what output i am trying to achieve: I was able to achieve concatenation of static/fixed no. of columns using the below code. function concatenate() { var ss = Spreadsheet...
Bala
1

votes
0

answer
35

views

How to register callback function from C to Python using embedding python

I want to register my callback function(written in c) to python code from c/c++. How can i do that? can you please help me? pythoncode.py def receive_messages(arg, callbackfunc): event.eventfunction(callback=callbackfunc) sample.c void my_callback( char *msg) { printf('inside my_callback: %s\n', ms...
Bala
1

votes
0

answer
457

views

How to integrate CAS(single sign on) rest authenticate url with angular 4

we have spring boot application for back end api we have angular 4 for front end we are using CAS server for authentication(single sign on). how to authenticate CAs server(single sign on) in Angular 4 application as well we need to check every api has valid CAS token(TGT token).
Bala venkatesh
1

votes
1

answer
297

views

what is the difference db configuration in spring boot

1)This is class level configuration (@configuration).why we need this boilerplate code @Configuration @EnableJpaRepositories(basePackages = {'xxx.xxx.xxx.core.dao'}) @EnableTransactionManagement public class Repository { @Bean public DataSource dataSource() { DriverManagerDataSource dataSource = new...
Bala venkatesh
1

votes
1

answer
93

views

(Async & await) vs (without Async & await) in Web API

I am new with Async and await using C# Programming. In WebAPI, we have created two API Controllers one with Async and await Programming and other is without that. We have done load testing using JMeter and we have got following results. Users Sync Asy...
1

votes
5

answer
358

views

how to add padding to the logo in launch screen?

enter image description here I would like to add padding or space to the logo on both the sides and the code is added here.
Bala
1

votes
0

answer
22

views

Is it possible to transfer files from desktop application to the mobile application via Bluetooth/WiFi, built using Electron?

I am trying to develop an app using Electron that have to share the files between android and desktop using Bluetooth/WiFi technology. I surfed internet as how much as I can, but I didn't get any proper solution. Still I am confused whether it is possible or not. Can anybody clarify my doubt. If it...
Bala
1

votes
1

answer
215

views

AWS EMR - Saving Dataframe into hive external table on S3 - getting memory leak error

Hello i am writing spark using python and tring to write the dataframe into table and table is hive external and stored on AWS S3 below is the command : sqlContext.sql(selectQuery).write.mode('overwrite').format(trgFormat).option('compression', trgCompression).save(trgDataFileBase) Below is the err...
Bala Gorre
1

votes
1

answer
43

views

Error in gettext() method of edittext

I have try to develop a login page. But the gettext() method of EditText has produced a run time error with error message attempt to invoke virtual method on a null object reference. How to solve this?
Bala Manikandan
1

votes
0

answer
64

views

RESTCONF URI to access specific list elements in the container with multiple list elements

I need to create RESTCONF URI for GET operation on a payload with multiple list elements. As in: 'System': { 'tm-items': { 'adminSt': 'enabled', 'sensor-items': { 'SensorGroup-list': [ { 'id': '10', 'path-items': { 'SensorPath-list': [ { 'depth': '1', 'filterCondition': '', 'path': 'sys/fm/bgp', 'qu...
Bala
1

votes
1

answer
143

views

Azure Chat Bot Custom UI for skype for Business

a .Net Developer. I am developing chat bot for skype for business using Azure Bot Framework. I have observed some difference in Look and Feel of chat bot in Local Bot Emulator and Skype for Business. Can we have any custom UI feasibility for skype for business? I have used ThumbnailCard Attachement...
1

votes
1

answer
39

views

Asp.net date picker not showing correct position

I have a date picker in my web application, when i click the date picker text box then date picker pop up is not showing near the text box but its showing in page down i have used below scripts $(function () { var effDate = ''; var maxdt = new Date(effDate); var effdate_year = maxdt.getFullYear(); m...
Bala
1

votes
0

answer
70

views

Is there anyway to generate HAR file without setting up Proxy?

I want to extract all the resources under Network tab of Dev tools. The solution I found is using HAR file which in turn uses Proxy settings. But, I don't want to set up any Proxy. In my selenium, I am navigating to different pages. When each page is loaded completely, I want to extract the network...
Bala
1

votes
1

answer
47

views

constraint-layout:1.0.2' Dependency Added Automattically in android studio 3.1.?

Why Constraint layout Added Automatically when I can't using the New Layout? Following dependency is Added Automatically. implementation 'com.android.support.constraint:constraint-layout:1.0.2'
Bala
1

votes
0

answer
29

views

Replacing the Missing Values resulting from moving average at both ends

I applied ma (order=13) to one of the columns of the dataframe. This obviously leaves first and last 6 values with NA. All I wanted to do is to replace these NAs with median value of the ma series. I don't understand why the following does not work. df$mavg
Bala
1

votes
1

answer
46

views

How to write xpath for enabled item

In my scenario multiple element are in same xPath but only one element is enabled and remaining all are disabled. How to select that particular enabled element. Disabled: Enabled: How do I write xPath to select the enabled element?
Giri bala
1

votes
1

answer
145

views

On a responsive site, when printing, which breakpoint gets applied?

I have a responsive site in which I am trying to implement the print media query. When I preview using the Chrome Devtools (Rendering tab > Emulate CSS media > Print), it looked pretty similar to the actual website at that breakpoint but with the print css applied. However, on the print preview (CT...
Suthan Bala
1

votes
1

answer
68

views

UWP Swipe Control - List Items based on condition

I've a list view and the data template of that list view has a Swipe Control and a textblock within that swipe control. Now, there are 3 items in the Swipe control's Right Items, say: 1. Add 2. Edit 3. Delete I want to display the right items based on a condition. If the Textblock has no string, the...
Sethu Bala
1

votes
4

answer
89

views

unable to display value from previous activity

While displaying value to a textview on second activity getting error as expecting member declaration This is my code for Another Activity: package com.example.trial.sudoku_solver import android.app.AlertDialog import android.content.Intent import android.graphics.Bitmap import android.media.MediaS...
Bala Kumar
1

votes
0

answer
81

views

Airflow setting dag depends on past with trigger rule

I have a dag that sets depends_on_past=True. So for most task we want this to hold. And a particular task A, we set trigger_rule='one_failed' The problem is. This task A don't always get triggered cause it's parents don't always fail. But if it doesn't get triggered everyday (say if we schedule ever...
Bala
1

votes
0

answer
14

views

What is the noun for either a file or folder?

We have files and directories; what is the noun that we could use to generically describe both of these? For example, an apple or a orange can generically be described as fruit. Is there such a word? 'file system object' looks lengthy, have any short term?
BALA MURUGAN
0

votes
0

answer
3

views

dealing datasets with many text columns in correlation finding

I have a dataset that contain many columns. I would like to build a cost prediction model that predict the cost of an equipment based on several attributes that defines the equipments. In my case, i have supplier information, description of the equipment, category are the main features. The 'categor...
Bala
1

votes
1

answer
74

views

python 3.6.3. zlib compression

I am trying to Compress a string in python 3.6.3 using zlib, but getting an error(TypeError: a bytes-like object is required, not 'str') , it was supposed to work on python 2.7- versions, here is my simple code: import zlib a='hellohellohelloheeloohegregrf' b=zlib.compress(a) print(b)
bala bharath
1

votes
0

answer
265

views

rails - UTF-8 character encoding not working in csv files on excel

RUBY_VERSION = ruby-1.8.7-p358 RAILS_VERSION = rails (2.3.2) code snippet ``` def export_to_excel csv_text = get_csv_string headers['Content-Type'] = 'application/vnd.ms-excel' headers['Cache-Control'] = '' send_data csv_text, :type => 'text/csv; charset=utf-8; header=present', :disposition => 'atta...
Bala
1

votes
1

answer
57

views

Azure digital Twin UDF getting Space location

I have location added to a space that sits 2 levels above sensor but I am finding no way with the current client reference operation to get the location as I want to enrich the telemetry with space location information. I have used the following getSpaceMetadata getSpaceExtendedProperty(spaceId, pr...
Bala Takkallapati
1

votes
1

answer
33

views

How to prevent Create React App from forcing me to install TypeScript because a dependency has a ts file in it

I have a React app created using Create React App that was running fine until today. Something must have updated the last time I installed a new package. Anyhow, so whenever I try to start the app, it complains that there are .ts files (within node_modules folder) and forces me to install TypeScript...
Suthan Bala
1

votes
1

answer
45

views

pasting a value to xlsx using shell

I have a template file in xlsx format and I want to paste a dynamic value in one particular cell i.e based on the flow of program the value in that cell will change which in turn changes conditions in xlsx file for a different process. I have tried codes like awk -v value=$value -v row=$row -v col...
bala
1

votes
0

answer
197

views

How to access azure key vault secrets from web application hosted on local machine IIS and debugged by attaching IIS worker process?

The objective is to read all the secret values from from .net framework 4.6 web application hosted on local IIS? The application is bit legacy and it can only be debugged by attaching to worker process. I am trying to access azure key vault secrets by using the below code, so that storage of keys ca...
Bala
1

votes
0

answer
42

views

What is the use of java.text.annotation? I have referred java docs but couldn't able to grasp

What is the use of Annotation class in java.text package. Can you explain it with an example.
Bala Ji
1

votes
1

answer
20

views

LabVIEW Report Generation returns error code (-2147319779) when downgraded from MS Office 365 to Office 2013

I am using LabVIEW 2018 32 bit version. In our LabVIEW application, we use Excel Report Generation functions. It was developed with Office 365 installed. Now I want to use Office 2013 for the Report Generation instead of O365. The report generated fine with Office 365. I downgraded my system to Offi...
Bala Gopi
1

votes
2

answer
51

views

LabVIEW Timestamp calculations equivalents in .NET

I am trying to subtract one timestamp from another timestamp. When I did this using LabVIEW,the difference as '-21207.3'. Refer to the image attached: Now I want to replicate the exact same operation using .NET. What can I do in order to achieve this? Thanks in advance.
Bala Gopi
1

votes
0

answer
26

views

Android Daily Weekly leaderboard implementation?

Hi I want to implement leaderboard for my game. I just implemented google play leaderboard. But the question is I want Daily and weekly leaderboard. And I need to reset from google play console daily and weekly. @Thank you.
Bala Raja
1

votes
1

answer
55

views

why styles not applying in magento2.2.3 after custom css file is included

I am using magento2.2.3 version in my magneto theme added custom css file in below path project/app/design/frontend/vendor/theme/web/css/custom.css and added source file in default_head_blocks.XML file. after that added a page with following code in HTML content count down custom code in custom.css...
Bala
1

votes
1

answer
52

views

Can't get the array state value in React

When I try to get value ...this.state.users shows error in react React Code handleChange(i, e) { const { name, value } = e.target; let users = [...this.state.users]; users[i] = { ...users[i], [name]: value }; this.setState({ users }); } My webpack file const path = require('path'); module.exports =...
Rajendran bala
1

votes
1

answer
74

views

Microsoft.CognitiveServices.Speech.Core.dll not found exception

I'm developing hybrid xamarin forms application with cognitive services from microsoft azure on .Net standard 2.0. Got nuget packages of CognitiveServices 0.1.0, Microsoft.CognitiveServices.Speech 1.3.1 along with Xamarin.Forms 3.5.0. Nuget packages are updated to the latest. I'm running this on Win...
bala

View additional