karthik karthik

0

votes
0

answer
3

views

How to get more metrics(Threads count, Handles Count) other than the compute metrics offered by oracle cloud for an instance?

I launched the windows instance. I found the config.yml file in the oracle cloud agent folder under program files. config.yml file looks like below telemetry: endpoint_format: 'https://telemetry-ingestion.{}.oraclecloud.com' endpoint_path: /20180401/metrics submission_headers: accept: application/js...
karthik_varma_k
1

votes
1

answer
628

views

Passing parameter to Azure Function (HttpTrigger) in URL as querystring

Created a new Azure Function in Visual Studio 2017 (HTTPTrigger based) and having difficulty passing parameters with custom route. Below is the code excerpt: [FunctionName('RunTest')] public static async Task Run( [HttpTrigger(AuthorizationLevel.Function, 'get', 'post', Route = 'orchestrators/contos...
Karthik
0

votes
0

answer
6

views

How to manage multiple clients website having same code structure but different UI?

I want to create websites for many colleges using MVC. Since coding structure will be common for all the client websites but the website templates will be different I need suggestions on handling this. Do I need to create a core framework for this and use the same for other website projects? If I do...
Karthik
0

votes
1

answer
59

views

Constrain logic in Linear programming

I'm trying to build a linear optimization model for a production unit. I have Decision variable (binary variable) X(i)(j) where I is hour of J day. The constrain I need to introduce is a limitation on downtime (minimum time period the production unit needs to be turned off between two starts). For e...
Karthik K S
1

votes
3

answer
908

views

Could not locate device support files in Xcode [duplicate]

This question already has an answer here: How to fix Xcode error: Could not locate device support files on iPhone with Xcode 4 answers I got following error in Xcode when run my app in my Device. Xcode Version is 10.01, My Device iOS Version 12.2 (iPhone 5S). Could not locate device support files.
Karthik
1

votes
1

answer
491

views

Angular material date-picker min and max date validation messages

How to show the validation messages for min and max dates validation errors in Angular Material Datepicker Date is Required Here Required validation has been set. Like same I want to show Date should be higher than 01/01/2019 message if user typed the date which is less than minDate. I knew that all...
Karthik Arwin
1

votes
1

answer
296

views

AWS Lambda Versioning - How do I have two separate lambda alias in a production stage?

I have a mobile app that invokes an AWS Lambda say for e.g. 'Hello'. Let's assume that there is a change to the 'hello' lambda function and it's published to a new version 2. But this lambda function will be invoked by the mobile App version 2 and will be available to users who have updated the App....
Karthik Shivkumar
1

votes
1

answer
110

views

How to debug this runtime error?

This is a part java file which has the function loadMenu and when the corresponding intent opens, the app closes unexpectedly. private void loadMenu() { FirebaseRecyclerAdapter adapter = new FirebaseRecyclerAdapter (Category.class,R.layout.item_menu,MenuViewH...
Karthik N
1

votes
1

answer
713

views

Multiclass classification of text in R

I have build a random forest for multiclass text classification. The model returned an accuracy of 75 %. There are 6 labels, however out of the 6 classes, only 3 are classified and rest are not classified. I would really appreciate if anyone could let me know what went wrong. Below are the steps i f...
Karthik Shanmukha
1

votes
1

answer
85

views

Writing to external storage?

I have written codes from the tutorials of SLIDENERD to save info in different areas as internal cache,External cache,Private information and public information with the following codes. EditText uname,pwd; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceSt...
Thakur Karthik
1

votes
1

answer
865

views

Error: iterator should return strings, not bytes (did you open the file in text mode?) when converting csv from text

I tried to run this code: txt_file = r'Fun.txt' in_txt = csv.reader(open(txt_file, 'rb'), delimiter = '\t') csv_file = r'NewProcessedDoc.csv' with open(csv_file, 'w', newline ='') as csvfile: swriter = csv.writer(csvfile, delimiter = ' ') swriter.writerow(in_txt) print('done! Check NewProcessedDoc.c...
Karthik S
1

votes
2

answer
1.9k

views

Query S3 bucket files by creation date

Is it possible to query and get the files in an s3 bucket in the latest creation order with pagination? I can even store the creation timestamp as suffix in my file name. Any help would be appreciated.
karthik.zorfy
1

votes
0

answer
214

views

liac-arff to read arff file TypeError

i want to read arff file but i am getting this error. Could any one help me with this import arff, numpy as np dataset = arff.load(open('ckdfull.arff', 'rb')) data = np.array(dataset['data']) Traceback (most recent call last): File 'C:/Users/username/PycharmProjects/ckd/ckd.py', line 2, in dataset...
Karthik
1

votes
0

answer
337

views

strategy pattern with dictionary lookup

I'm writing a validation engine. I'm given with an a object payload containing around list of ~40 different properties. Every property will undergo different validation. The validations include checking if the field is a string and validating if the length exceeds permissible limit set by db and the...
Karthik Chintala
1

votes
1

answer
169

views

Unable to resolve com.github.corda.crash:crash.shell:jar:9d242da2a10e686f33a3aefc69e4768824ad0716 when building CORDA using MAven

I am trying to build a corda node from IDE using MAVEN. I get the following dependency failure . Downloading: https://nexus:8443/nexus/content/groups/public/com/github/corda/crash/crash.parent/9d242da2a10e686f33a3aefc69e4768824ad0716/crash.parent-9d242da2a10e686f33a3aefc69e4768824ad0716.pom Downloa...
Karthik
1

votes
0

answer
61

views

JPA package name / structure - does it matter

I have a class Comm in a package called com.dto.testkk. I have another class Cntc that is in a package called com.dto.needsWork. Each of these maps to a corresponding table in a database, with Comm containing Cntc_id as it's foreign key. The issue I am facing is if I refactor Comm into com.dto packa...
Karthik
1

votes
1

answer
313

views

Machine Learning Output on Kivy Screen

I am learning python kivy for some project. I have a machine learning code ( Sentiment analysis on movie reviews) and i want the output to be displayed in a kivy window. I tried various things , but am still struggling ! Can anyone help me out with this ?!! **main.py** from kivy.uix.boxlayout import...
Karthik Bhojaraj
1

votes
1

answer
37

views

How to display value on dialog and console in different ways for an object array using paper-check box inside dom-repeat

How to display value on dialog and console in different ways for an object array using paper-check box inside dom-repeat This is the program and How I want the output is mentioned below. Please check the code and help me solve this. Polymer({ is: 'check-list', properties: { checkdata: { type: A...
Karthik
1

votes
1

answer
532

views

Angular 5 npm build crashing (Rebalance Allocation failed - process out of memory)

I have build an Angular 5 web portal. When running the command on my local mac it is successful. npm run build However, when running the same on linux server it crashes with an error: Cannot get stack trace in GC. FATAL ERROR: NewSpace::Rebalance Allocation failed - process out of memory 1: node::Ab...
Karthik Nagaraj
1

votes
0

answer
56

views

Logstash-5.6.0 and Elastic Search-6.2.1

I have the below configuration in logstash.conf, Started my logstash with the following command ` logstash --verbose -f D:\ELK\logstash-5.6.0\logstash-5.6.0\logstash.conf` and Elastic search is running at 9200 port but logstash is not pipelining the parsed log file contents into elastic search. did...
Karthik Suresh
1

votes
1

answer
44

views

How client knows zookeeper is lagging behind in transaction?

Can anyone tell me what happens in following scenario There are five zookeeper servers s1,s2,s3,s4 and s5 When client connected to the s3 it was up-to-date client made a write request to create /test node to s3 it forwarded to leader(s5) As s1,s2,s5 completed that request successfully,Client got the...
1

votes
2

answer
182

views

ActiveAdmin translation_missing in login page

In active admin I am using corp_id instead of email for Admin User to login their account. But in login page I am getting incorrect label name as Title instead of corp_id.I tried to change that label using CSS but it doesn't work for me. How to change the label name of Title to Corp-ID Please let me...
Sethu Karthik
1

votes
0

answer
74

views

How to save a shapely object as an image

I have a shapely object in python. It is the outline of the map of the US. How do I save it as an EPS or PDF?
Karthik
1

votes
1

answer
26

views

Popup with call email and sms function

I am a beginner in android app development.. i have made an app now and there is a pop up in it which shows a persons name and details.. i have added 3 buttons there like CALL,SMS,EMAIL.. i went for call activity, but its not working. no error is there still call button is not making calls.. The sam...
Karthik SK
1

votes
0

answer
14

views

Jquery Loadar Modal Getting Freeze Until Ajax Succcess

Currently i have 2516 records to display in table format, so i have used Ajax call to get 2516 records for that i set an loadarimage but the image is freezing, until ajax success response call.. This is My Modal Code: This is my Jquery Code: $('#newloadarModal').modal('show'); var url = '//drugset/g...
aenugula karthik
1

votes
0

answer
112

views

Issue in showing PDF file print view using Android print framework

I have followed this sample code to show a print view by passing existing PDF from my file system. But I noticed that it is not able to show all the PDFs in print view. PdfDocumentAdapter.java public class PdfDocumentAdapter extends PrintDocumentAdapter { Context context = null; String pathName = ''...
1

votes
1

answer
215

views

Issue in running nodes locally

When i run nodes locally using './runnodes --log-to-console --logging-level=DEBUG' all the nodes and webservers starts successfully. But none of the operations work - for example, i need to submit a document for review - but when i do it does not submit. On investigating further it says 'Party name...
Karthik
1

votes
1

answer
68

views

Removing ExtJS default menu listeners

I am using extJS 3.4. I have a pop up menu item in which there is a textbox which can take keyboard input (for form submit). Whereas, I cannot traverse the already typed text if I have to modify the already typed content in the text field. After analyzing, I found that in the event listeners there...
Karthik
1

votes
0

answer
48

views

Printing data.tree in Shiny app without wrapping

When I try to print a data.tree object in a Shiny app, the text wraps around. This causes the tree to be distorted. I have recreated this below with the GNI2014 data and printing some of the columns again. Server Code: output$text
1

votes
4

answer
46

views

Enable the multiple checkbox using Id

I have multiple checkboxes. I need to enable the checkbox at a time using Id. The is working fine while using the following code $('#canReadFlag'+index).prop('checked', true); $('#canShareFlag'+index).prop('checked', true); $('#canUpdateFlag'+index).prop('checked', true); $('#canCreateFlag'+index).p...
Karthik Subramani
1

votes
0

answer
51

views

Scala shell rendering very slowly in Windows 10 command prompt

I have my Apache Spark running on my Windows 10 machine. In that I use Command prompt to interact with the Spark-shell. Spark-shell(Yarn mode) started normally. But while I execute any command in the shell, it prints the command very slowly like character by character. Due to this issue it delays...
karthik
1

votes
0

answer
54

views

How to sum up three form values automatically and result would be filled to another form input automatically in Angular

I have a requirement as four form inputs which take only numbers as input, the three form inputs should be summed and add that sum to fourth form input. As code says if Upper capacity, lower capacity, and Ac capacity has filled the sum of these three fields output must be filled in Total capacity....
Karthik
1

votes
0

answer
29

views

scrapy does not login to webpage using FormRequest.from_response

I have below code to login and scarp given url. But login is never attempted. It moves between login and forgot password screen. I tried passing login cookie and no luck. Not sure if FormRequest.from_response ever worked for anyone. Please help.. import scrapy from scrapy.selector import Selector cl...
1

votes
1

answer
112

views

Getting javax.net.ssl.SSL.HandshakeException:sun.security.validator.ValidatorException

I am trying to use the karate tool for rest API testing. I have set up Karate with below dependencies in pom.xml com.intuit.karate karate-apache 0.7.0 test com.intuit.karate karate-junit4 0.7.0 test The feature is as shown below. Feature: test get Scenario: get method Given url 'https://xxxxxx.com'...
karthik holla
1

votes
0

answer
18

views

download a file from url to ram in chunks and upload it directly to another url

import requests odxvchsauth = # source authcode (parsed as header) session_ID = # destination authcode (parsed as header) srcurl = 'https://us-texas-1-14.vchs.vmware.com/api/compute/transfer/75b72a35-e0c1-4f50-a728-bd01fc311c09/file' desturl = 'https://66.70.145.232:443/cls/data/19dcf53b-d98d-41f7...
karthik dhanusu
1

votes
1

answer
51

views

Setting up Log Based alerts in StackDriver across multiple projects in Google Cloud

We have a project in Google Cloud called 'A' where we ship our application logs to Stackdriver and have a few Log Based alerts configured. Now we have another project in Google Cloud namely B. Is there a way we can set up Log based alerts in Project B which can access logs from Project A? Asking thi...
1

votes
1

answer
211

views

Checkbox tree-view

I am new to clarity design. I am trying to implement checkbox treeview. But I am not able to read the values which user selects in treeview i.e, not able to achieve 2-way binding. I am trying to do it using ngModel and ngValue. Can you please help?
Nithin Karthik
1

votes
0

answer
154

views

Error in exception handler: View [errors.error] not found in laravel

I have migrated the laravel project from one server to another server. Both servers are the same configuration but I am getting following error Error in exception handler: View [errors.error] not found. in /home/pheonixsolutions/public_html/demo/wmp/vendor/laravel/framework/src/Illuminate/View/FileV...
1

votes
0

answer
121

views

How to change http method using chrome.webRequest API

Am using chrome.webRequest API to modify incoming requests and responses. However, I recently encountered a scenario where am required to intercept a POST call and change it to a GET call. I tried changing the method in object that I get in the callback, but in vain. chrome.webRequest.onBeforeReque...
1

votes
0

answer
34

views

Performance issue in my web app due to i18n

I'm using i18n in my mvc web app to localize the content of my web app. While profiling my application, we found that the i18n module takes more CPU time compared to other modules. So we've removed i18n from the web app and load tested the app. We got the below results, 25 users with 5 minutes durat...
Karthik

View additional