Akshay

-2

votes
0

answer
23

views

Displaying Flir camera output on an MFC app

I am working with the FLIR USB3 BlackFly area scan camera. I need to display camera output in continuous mode on the dialog box of an MFC application without using OpenGL. I have gone through the FlyCapture SDK but the examples given there are only for OpenGL.
Akshay
1

votes
1

answer
823

views

What is Cognitive Complexity in sonar report?

Now a days i switched to sonar reports for static code review and performance improvement. Under the rules section I found that the cognitive complexity of my methods are high. You can find cognitive complexity error in sonar as: Go to Project->Issues Tab->Rules Drop-down->Cognitive Complexity Below...
Akshay Paliwal
1

votes
2

answer
5.1k

views

Remove escape character “\” from string

I need to remove \ character from imagepth string variable: imagepth = '# Eval(\'Name\',\'Gallary/\'' + imgwords[4] + '\'/Images/{0}\')';
Akshay
1

votes
2

answer
32

views

FileSystemWatcher: Ignore first change to the file

I am using FileSystemWatcher class in C# to track the changes on a file whenever the user saves the file after modifying it. FileSystemWatcher watcher = new FileSystemWatcher() { Path = DIR_NAME, NotifyFilter = NotifyFilters.LastWrite | NotifyFilters.CreationTime | NotifyFilters.LastAccess, Filte...
Akshay Khot
1

votes
1

answer
698

views

using React Native with Laravel

I need help regarding how to create an react native app of a project which is already made in the Laravel framework. As I am going to make a Laravel website. So I also want to create an IOS and Android app for it. Can anyone suggest me something for it?
akshay gaur
1

votes
4

answer
90

views

Compare two arrays containing objects including other objects, arrays, etc

Look at these examples of array comparative code: // example-1 let array1 = ['a', 'b']; let array2 = ['a', 'b']; console.log(array1.equals(array2)); // returns true // example-2 let array1 = ['a', 'b', 1]; let array2 = ['a', 'b', 1]; console.log(array1.equals(array2)); // returns true // example-3 l...
Akshay Maldhure
1

votes
2

answer
52

views

isEqual vs isMatch - Does isMatch ignore the order to nested array elements?

I'm using lodash for comparing below two objects: obj1 = { '_id': '57767', 'Re': { 'PropertyTypes': [ { 'AllocationID': 13870, 'Percentage': null, 'Type': 'Hotels', 'Value': null }, { 'AllocationID': 13867, 'Percentage': null, 'Type': 'Industrial', 'Value': null } ] } } obj2 = { '_id': '57767', 'Re'...
Akshay Maldhure
-4

votes
3

answer
139

views

.htaccess code showing 500 internal error

Hi there I'm trying to make a blog demo and I'm having some pretty URL codes already. i am having a url www.xyz.com and a search url www.xyz.com/search/this+is+a+search+text in search url the parameter search is a page name and this+is+a+search+text is a parameter that i'll be parsing I'm having a ....
Akshay Shrivastav
1

votes
0

answer
55

views

IllegalStateException at ActivityManagerProxy.stopServiceToken

anybody, please help me to solve the below Exception. java.lang.IllegalStateException: at android.os.BinderProxy.transactNative (Native Method) at android.os.BinderProxy.transact (Binder.java:496) at android.app.ActivityManagerProxy.stopServiceToken (ActivityManagerNative.java:4134) at android.app.S...
Akshay Kumar S
1

votes
3

answer
574

views

Why is font name not changing? (Java FX)

I'm having a problem with a javafx label. No matter what font I type in the below font constructor, compile and run the IntelliJ project, it doesn't change the font displayed. mainLabel.setFont(new Font('Gotham',18)); Here is my JavaFx Program so far: import javafx.application.Application; import j...
Akshay Chugh
1

votes
0

answer
1k

views

Cannot read property 'params' of undefined

I am trying to edit data in database using fetch but it shows cannot read property 'params' of undefined error where i am fetching it will not get that id using this.props.match.params.id here is my action const reportsFetched = (reports,r_id) => { return { type: 'REPORTS_FETCHED', reports, r_i...
Akshay Sharma
1

votes
1

answer
704

views

How to get index of changed array under $watch in vuejs

I am using an array of objects ({'code':'id1','color':'red','description':'eg1'}) where each object contains input fields.User can dynamically add and remove those objects. Now I want that when he enters code rest of the field should be filled automatically. For that I have developed an algorithm wh...
Akshay
1

votes
1

answer
221

views

Convert a Varchar/String with day name to Date in Sql Server

I have a string Sunday, November 19, 2017 in Varchar. How can I convert this to Date Format - dddd, MMMM, yyyy?
Akshay Mishra
1

votes
2

answer
1.3k

views

Connect to MySQL through SSH and by using Spring Boot

In my Spring Bootapp WAR, I have an application.properties file wherein I have defined following datasource properties: spring.datasource.url=jdbc:mysql://localhost/test?autoReconnect=true&useSSL=false&rewriteBatchedStatements=true spring.datasource.username=used spring.datasource.password=password...
Akshay Lokur
1

votes
0

answer
13

views

angular not getting response in json object

i want to show the response in ionic 3 html but the angular not getting it in json here is m code. home.ts code import { Component } from '@angular/core'; import { NavController } from 'ionic-angular'; import { Http } from '@angular/http'; import 'rxjs/Rx'; @Component({ selector: 'page-home', templ...
Akshay katale
1

votes
0

answer
28

views

C# 2010 Child form not showing inside MDI

I'm trying to open child form inside MDI Form it's not working in visual studio 2010. I've written following code. private void dashboardToolStripMenuItem_Click(object sender, EventArgs e){ Dashboard dash = new Dashboard(); dash.MdiParent = this; dash.Show(); } it shows Error : F...
Akshay Kotecha
1

votes
2

answer
305

views

Printing a list of files in a directory filtered by an extension in a modular way in nodejs

I am new to nodejs, so please bear with me: I want to create a program that prints a list of files in a given directory, filtered by the extension of the files where directory path and extension are given through command line arguments. var fs = require('fs'); var path = require('path'); fs.readdir(...
Akshay
1

votes
1

answer
47

views

show and hide multiple markers on clicking on parent marker

I have this code for showing and hiding markers with checkbox but I need is a parent marker on clicking on that marker it should show and hide multiple child markers. It like when I click on the main branch on the map it should show all the child branches.And without Refreshing the page I am new Thi...
Akshay Agrawal
1

votes
0

answer
31

views

Got hibernate Exception while doing multi-tenancy program

I developed code regarding multi-tenancy with hibernate.when I tried to run my code it gives exception in configuration.buildSessionFactory. Exception in thread 'main' java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationBinder.bindDefaults(Lorg/hibernate/cfg/Mappings;)V at org.hibernate.cfg.Con...
Akshay Kamble
1

votes
1

answer
50

views

How to post data in the web api by stored procedure and EF db first approach

I have a problem in posting data in my web API project, I have a action method and a stored procedure and a table by which a want to perform post operation but I am getting internal server error message when i am posting data from fiddler my table structure given below public partial class tblImage...
Akshay Tomar
1

votes
1

answer
63

views

Apache CLI CommandLine: Remove an option that was parsed

Description I have a CommandLine object that parses Options that I pass to it. Below I have passed 2 options to the commandline. String[] userInputs = {'-option1','value1','option2','value2'}; Options options = new Options(); options.addOption(OptionBuilder.create('option1')); options.addOption(Opti...
Akshay Singh
1

votes
2

answer
502

views

Reading dataframe from multiple input paths and adding columns simultaneously

I am trying to read multiple input paths and based on the dates in the paths adding two columns to the data frame. Actually the files were stored as orc partitioned by these dates using hive so they have a structure like s3n://bucket_name/folder_name/partition1=value1/partition2=value2 where partit...
Akshay Hazari
1

votes
1

answer
30

views

while installing zamfoo on server it failed and I entered this command now unable to install or uninstall or reinstall

the three command i entered are cd /usr/bin mv perl perl-backup ln -s /usr/bin/perl /usr/local/bin/perl this is causing me error bad interpreter: too many levels of symbolic links Please tell me how to undo this command
Akshay
1

votes
1

answer
465

views

What's the issue in publishing package-lock.json

I read use of package-lock.json from blog https://medium.com/@Quigley_Ja/everything-you-wanted-to-know-about-package-lock-json-b81911aa8ab8 and documentation https://docs.npmjs.com/files/package-lock.json However, its not clear, why its not allowed to publish package-lock.json or what problem might...
Akshay Vijay Jain
1

votes
1

answer
265

views

Google places api text search issue

If I use 50,000 meter radius in my query I get the results but very near by places get omitted. if I type same keyword in google maps results are completely different. but results are exactly same if I keep radius to 1000 meters why so ? Can anyone help me understand this ? https://maps.googleapis.c...
akshay_shahane
1

votes
1

answer
66

views

Create the stored procedure to compare records and update system generated record

I want help for this: I have 4 vehicle records from different users: vehicle_id vehicle_name vehicle_number date_update usr1 10 My Ferrari 1000 NULL usr2 11 My Ferrari 1000 NULL usr3 12 My Ferrari...
Akshay Thakur
1

votes
2

answer
158

views

Fuzzy C-means clustering in ImageSegmentation.jl

I am trying to cluster different regions of an image using Fuzzy C-means clustering with ImageSegmentation.jl using ImageSegmentation, Images fl = load('flower.jpg') fuzzy_fl = fuzzy_cmeans(fl,3,2) It gives an error like this: MethodError: no method matching fuzzy_cmeans(::Base.ReshapedArray{Float64...
Akshay Sharma
1

votes
1

answer
124

views

Google Translate hiding after routing to new page

I am using Google Translate to translate my site. I am putting the dropdown on homepage and it is working just fine. However,the main issue which I am getting is that whenever I navigate to login page or any other page it gets disappeared. I have researched the console and found out that the dropdow...
akshay
1

votes
0

answer
29

views

Predicting the next value of data points using LSTM and Keras having tensorflow as a backend

I have a data with 65 samples. Example: 2697,2825,2136,2824,3473,2513,2538,3051,2737.9805,3133.849,2350.8695,6000,3121.225 I've divided the data in training and testing (train and test), scaled it and also supervised it. I have to predict what would be the 66th sample value. 2697,2825,2136,2824,347...
Akshay Khurana
1

votes
2

answer
937

views

hiveserver2 is shutting down frequently in hadoop cluster

Facing this issue from quite sometime now and not able to track the reason why is it happening. Whenever we start hiveserver2 using command -> ./hiveserver2 & It starts and stays up for sometime but then shuts down. In hive logs it does show the following error while hiveserver is up and running. 20...
akshay naidu
1

votes
1

answer
407

views

Get data from two tables using foreign key in Django

I have a vendor table it has following structure: id vendor_name I have another table named purchases that have the following structure: id product_id us er_id vendor_id Then, there is auth_user table by default that has users email address, first_name, last_name etc. I need to create an API i...
Akshay Malhotra
1

votes
1

answer
89

views

Display corresponding details of user when selected from list

I have developed a screen where a no. of people from the database are displayed in a list view. I want to display the profile page of the selected person. So my question is how to bind each detail of the selected person like name, contact, etc. to the profile page which I have created? Will I have t...
Akshay Marathe
1

votes
1

answer
64

views

Get text between tags using regex from HTML mail

I came across a HTML mail format where some text is present between '' and '' tags. I want to extract the text between these tags using regular expression. Here is a sample text format Input: 'Index Value        ' Expected Output: 'Index Value       '
Akshay Mishra
1

votes
0

answer
51

views

PHP e-mail not getting sent

I am trying to execute following simple PHP program to send e-mail: But, when executed from my Mac terminal, I am getting following warning and email is not being sent: postdrop: warning: mail_queue_enter: create file maildrop/91512.35994: Permission denied Any clues? Thanks
Akshay Lokur
1

votes
0

answer
95

views

Unable to start EventDrivenSourceRunner

I am running Flume to extract data from Twitter. While executing this command, I get this error. I am not able to understand what's going wrong. 18/03/25 16:04:46 ERROR lifecycle.LifecycleSupervisor: Unable to start EventDrivenSourceRunner: { source:com.cloudera.flume.source.TwitterSource{name:Twitt...
Akshay Nagpal
1

votes
1

answer
142

views

android progress bar with text inside in center render issue

I've created a custom progress bar with text inside it. solution was working properly but now text gets created to top of progress bar instead of center. When Activity pauses and resumes. progress bar renders again and then text appears at the center. please see my code below. public class TextProg...
akshay bhange
1

votes
0

answer
21

views

Phone acceleration to image scaling

I'm building a solution in which there is an image shown on the app and if the phone is pulled closer to the user, the image zooms-in and if its pushed away, the image zooms-out. I tried using a lot of acceleration detector apps to understand the values. I could see that the movement is pretty much...
Akshay Sethi
1

votes
1

answer
113

views

Jquery validation place all errors in single div with li element [duplicate]

This question already has an answer here: Pass jQuery validate error messages to a single box (div) 1 answer I want to display all the validation errors under single div with li element. Following is my code $('#login_form').validate({ showErrors: function (errorMap, errorList) { $('#error_list').h...
Akshay Deshmukh
1

votes
0

answer
214

views

How to dynamically select multiple items in ion-select popup

I have a requirement for selecting multiple options in the ion-select popup dynamically. Is it possible to do so? Here is my code: field name {{item.Status}} Could anyone please help me out with this feature. Thanks in advance.
Akshay
1

votes
2

answer
355

views

ERROR : Cannot assign value of type '[Item]' to type '[String]'

I have added a search bar to my tableviewCell which has JSON data I have added a function which will be triggered when there is change of the text in the searchBar but I am getting an error. This is my Item class:- struct Item : Codable { var name = String() var symbol = String() var checked : Bool...
Akshay Jain

View additional