yash

0

votes
0

answer
3

views

Is there a way to send multiple mails on a single thread?

I need to send data in a form of a spreadsheet, the requirement here is to send multiple mails on a singe thread. Is it something to do with thread ID? And if so how to use it? I went through Google app script documentation, but I'm quite confused now. I have a hunch that it can be done using thread...
Yash
0

votes
1

answer
29

views

Convert a select statement to update statement of sql

I have this sql query select x.*, (y.updated_max_insulin_inj_start_time - x.age) as time_to_insulin from ( select * from archetype ) x left join ( select x.*, case when max_insulin_inj_start_time = -1 then null end as updated_max_insulin_inj_start_time from ( select physiology_lifestyle_id, max(ins...
Yash Gupta
1

votes
2

answer
35

views

Update a dataframe with nested fields - Spark

I have two dataframes like below Df1 +----------------------+---------+ |products |visitorId| +----------------------+---------+ |[[i1,0.68], [i2,0.42]]|v1 | |[[i1,0.78], [i3,0.11]]|v2 | +----------------------+---------+ Df2 +---+----------+ | id| name| +---+----------...
yAsH
1

votes
4

answer
75

views

Trying to find even and odd number count using reduce

I'm trying to solve the problem below using reduce but I'm not able to get the correct count of even and odd numbers in the object. Can someone please guide me what's wrong in my code? Create a function countBy that accepts an array and a callback, and returns an object. countBy will iterate through...
Yash
1

votes
2

answer
62

views

substr on std::string doesn't work correctly due to presence of some characters that are invisible, but look like spaces

I have a std::string that contains characters that I am unable to see, like \xc2, etc. I want substring of my string which is not working correctly due to presence of characters like '    ' When I replace it with spaces in ' ', the substring is giving correct answers. Although this problem h...
yash.agarwal
1

votes
1

answer
342

views

get_job_info() giving item not found error : python-jenkins

I am using python-jenkins and python 3.6 Trying to get the information regarding the jobs in jenkins but facing an error. File '/usr/local/lib/python3.6/dist-packages/jenkins/init.py', line 359, in get_job_info self._build_url(JOB_INFO, locals()) File '/usr/local/lib/python3.6/dist-packages/jenki...
YaSh Chaudhary
1

votes
0

answer
316

views

To bold “selected” text in textarea with javascript/jquery

I have a code which bold the complete text present in textarea but i want to Bold only selected text to be bold present in text area. Note that i don't want the text to be in Div tags. I want to do the same with text area only. here is my code: This is some text in our textarea and here is my javasc...
Yash Katiyar
1

votes
0

answer
22

views

How to disable autosizing of images into PowerPoint 2016?

I have a VBScript which copies images from Qlikview tool and pastes them into PowerPoint. Earlier we were using Office 2010 in that this worked pretty well however we are now migrated to Office 2016 and the images are all distorted. The reason is Office 2016 resizes the images on its own to fit the...
Yash_792
1

votes
1

answer
169

views

Cannot find symbol method setRadioPower()

I'm trying to turn off the cell radio whenever the phone is idle. But the following error pops up on building the project. Error:(41, 23) error: cannot find symbol method setRadioPower(boolean) I have referred to a lot of resources and everywhere the way is followed its not working for me. I am post...
Yash Verma
1

votes
0

answer
1.3k

views

MessageBodyWriter not found for media type=application/octet-stream, type=class java.io.ByteArrayOutputStream

I have a Jersey Server, where I send an OutputStream of data on GET request. The data stream will be consumed on the client side. I am getting the following error on the server side: org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor aroundWriteTo SEVERE: Messa...
Yash Shrivastava
1

votes
1

answer
878

views

System::Collections::Generic::List of Custom class objects c++/cli

I am trying to create a list of my custom class 'Bandset' to a System::Collections::Generic::List in a Singleton class. But whenever I add any new item to the list, all the previous elements also become the same. Please find the code below. BandsetData.h namespace ConfigToolApplicationData { using n...
Yash Kapoor
1

votes
1

answer
468

views

attempt to write a readonly database (code 1032)

import Expo, { SQLite } from 'expo'; const db = SQLite.openDatabase('db.db'); export function create(){ db.transaction(tx => { tx.executeSql( 'CREATE TABLE if not exists material_mg (ID INT PRIMARY KEY ,order_number VARCHAR(10) ,truck_number VARCHAR(10) ,enter_mine_date TEXT ,vehicle_owner_name VAR...
Yash Sharma
1

votes
1

answer
22

views

stuck on error related to android studio. it is showing error on below lines of code

1> if (id == R.id.action_settings) { return true; } // I am getting red text on action_settings 2> getMenuInflater().inflate(R.menu.homepage, menu); // here i am getting red text on homepage I had reused the following code but getting red text over those two lines of code tManager = (TelephonyManage...
Yash Bhomle
1

votes
2

answer
45

views

Storing $_GET and using it again in POST request

I am trying to store $_GET in variables and re-use them in a POST request, but the problem is that as soon as a POST request is sent the URL becomes empty and there is nothing to store in variables or the data stored in variables is removed as there is nothing in the URL [email protected]
Yash Karanke
1

votes
1

answer
85

views

React router component divison creates redundant printing?

I've also posted similar question and I got the answer, but as I divides component and merge them the routing creates some problem. Please help me to find solution and for that i'm sharing my git repo: https://github.com/yashchks87/homepage.git Please download and see as I press sign up button I on...
Yash Choksi
1

votes
2

answer
44

views

How can I clear the canvas screen?

Here is my code for the activity main package com.example.dell_7560.experiment6; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanc...
Yash Tibrewal
1

votes
1

answer
37

views

Close every other panel apart from the one being opened using Angular 2

I'm trying to click on a panel and open it's body attached to it. However, I'm opening all the bodies. I've got the following HTML code: {{ title }} Export Rate Grid {{ contractInstructions }} Contract Information Firm Fees Product Selection Product Level Fees Footnotes and Exceptions And my .ts fil...
Yash Chitneni
1

votes
0

answer
56

views

Getting Import Error for _ARC4.so: undefined symbol: PyUnicodeUCS2_FromString

I have configured my django with apache and all the configurations seems to be ok. Ubuntu system 14.04(server). While i am getting the import error as shown in below. Please help to sort out issue. **Django Version: 1.10.7 Exception Type: ImportError Exception Value: /usr/local/lib/python2.7/s...
yash
1

votes
1

answer
38

views

Function over react class how it's executed?

I'm react newb. Trying to learn react-firebase tutorial from this link: https://www.robinwieruch.de/complete-firebase-authentication-react-tutorial/ and can't able to get what is going on with some function and class. Here is code: import React from 'react'; import { connect } from 'react-redux'; i...
yash Choksi
1

votes
0

answer
333

views

How to view <swagger-ui-url>/app.yaml content in the browser and not download the yaml file instead?

I am using swagger api documentation tool for my backend, and I need to view the contents of the .yaml file in the browser when the url is called. But instead, I always end up having the file downloaded. This is the content of my SwaggerUI tag: window.onload = function() { // Build a system const u...
Yash Soni
1

votes
0

answer
44

views

I am getting this error "The Exception type is not generic it can't be parameterized with the argument <ActionEvent>

package mat; import java.awt.Event; import java.beans.EventHandler; import javafx.application.Application; import javafx.event.ActionEvent; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.layout.StackPane; import javafx.stage.Stage; import java.awt.*; public class...
Yash Agarwal
1

votes
0

answer
316

views

Get subdomain value in laravel 5.3

I am new in laravel, I am creating a subdomain in same project main domain localhost.vibrant-invitations.com and subdomain sadmin.localhost.vibrant-invitations.com on local, now I want to get subdomain value like sadmin. I am trying following the code Route::group(['domain' => '{subdomain}.localhost...
yash Raj
1

votes
1

answer
371

views

Github Push failed: Failed with error: RPC failed; curl 56 LibreSSL SSL_read: error:140943FC:SSL routines:SSL3_READ_BYTES:sslv3

When i am Trying to push my android project to GitHub i got this error Failed with error: RPC failed; curl 56 LibreSSL SSL_read: error:140943FC:SSL routines:SSL3_READ_BYTES:sslv3 alert bad record mac, errno 0 The remote end hung up unexpectedly The remote end hung up unexpectedly
Yash Verma
1

votes
1

answer
148

views

Unable to Handshake with iOS Device. Getting PList Error

I want to Access iOS Device Connected with USB into my c# Application. i am using iMObileDevice Library for that. But When i try to Handshake with Device than it Gives me Following Errors on Different Devices:- Additional information: An Lockdown error occurred. The error code was PlistError This i...
yash
1

votes
1

answer
313

views

Angular 5, Please tell me List of types supported by ngx formly in FormlyFieldConfig

This question is related to ngx formly and Angular 5 here type is input. I want to know List of types supported by ngx formly in FormlyFieldConfig I have the below code export class AppComponent { form = new FormGroup({}); model = { email: '[email protected]' }; fields: FormlyFieldConfig[] = [ { key:...
1

votes
0

answer
45

views

Importing your R module in python scripts

Let say I have script calc.R with a function add. add
Yash
1

votes
1

answer
169

views

Getting an UnsatisfiedLinkError (undefined symbol) in Java while loading JNI dependencies even after successfully loading the required object file

I'm using Google OR-tools library (v6.4) for a project (though my question is not specific to this library). This consists of one jar, which has a few native dependencies (a bunch of '.so'/'.dylib' object files, depending on the OS). This build for my project is being made on Ubuntu 14.04 The proble...
Yash Ugrankar
1

votes
1

answer
61

views

This is the query I am trying to run in neo4j but it takes too long to run:

I am trying to run this query using Neo4j but it takes too long (more than 30 min, for almost 2500 nodes and 1.8 million relationships) to run: Match (a:Art)-[r1]->(b:Art) with collect({start:a.url,end:b.url,score:r1.ed_sc}) as row1 MATCH (a:Art)-[r1]->(b:Art)-[r2]->(c:Art) Where a.urlc.url with r...
Yash Mishra
1

votes
4

answer
38

views

calculating array of array values in index manner

I am receiving an object from server that seems something like var response = [ { 'id':'1', 'series':{ 'eoy':[10,20,30,40,50,60], 'eom':[20,30,40,50,60], 'now':[30,40,50,60,70,80] } } { 'id':'2', 'series':{ 'eoy':[30,40,20,50,10], 'eom':[20,10,50,70,20,50], 'now':[30,10,70,20] } } ] inside series, t...
Yash Jain
1

votes
1

answer
35

views

Angular 2: Passing multiple inputs and comparing to respective properties in JSON file and retrieving appopriate objects

I have multiple inputs in a form as you can see some of them below. These are search inputs. In this application, I want to retrieve contracts with the appropriate properties in the JSON file matching the search. This is what I currently have: HTML: Component.ts searchResultsWithFirmName() { this.co...
Yash Chitneni
1

votes
0

answer
40

views

Drawing UI text on GUI.DrawTexture , How to do it?

I am building a bar code scanner , and needs to show the barcode data on GUI.DrawTexture the code is : GUI.depth = 100; //this method is not working GUI.DrawTexture(screenRect, camTexture, ScaleMode.ScaleToFit); // {draws the camera screen on screen .I am using camTextue to used zxing ( barcode sc...
Yash Gupta
1

votes
1

answer
90

views

Show gridlines over graph in chart.js, show bold x-axis label in chart.js, mixure of intersecting graph colors in chart.js

Well very new to chart.js. having some doubts on this and can't figure out how. well i want my graph looks like as in the image below. image1.jpg This is how i styled till now. image2.jpg Required stylings. I don't want gridlines to expand after scale lines as in image1.jpg. custom axis label font w...
Yash Majithiya
1

votes
0

answer
37

views

Dimension error

I am trying to make a cnn using flux in Julia. However I am getting the following error. LoadError: [91mDimensionMismatch('')[39m while loading untitled-65dcf75c74c0859bdf206a333b2e1081, in expression starting on line 165 #conv2d!#48(::Tuple{Int64,Int64}, ::Tuple{Int64,Int64}, ::Int64, ::Int64, ::Fl...
yash bhargava
1

votes
0

answer
31

views

Not able to navigate user in.Undefined is not an object(evaluating this.props.navigation.navigate)

I am using react-navigation for routing in my react app. Whenever I click on sign up button and it shows Undefined is not an object(evaluating this.props.navigation.navigate) Frontend Logic constructor(props){ super(props); this.state = { username: '', password: '' } } register(){ API.userRegister(...
Yash
1

votes
0

answer
58

views

Keep a track of filters in DC js aggregated data tables used for drill down using clickable rows

I have created an aggregated data table that filters other tables using clickable rows. Tried to create a drill down capability using DC.js aggregated tables and was able to put together a solution that works, thanks to Gordon's solution here on stack overflow. However,currently I am not able to fig...
Yash Nigam
1

votes
0

answer
20

views

How to make reactangle which bends a little from top to bottom ? I mean top to bottom curve at the top

I don't want white color oval because it shows up in button background. I want this shape ane rest of the part transparent.
Yash Mehta
1

votes
0

answer
33

views

google game play services only works for first time then doesnt signin again

i have setup google play services. when i sign in for the first time in device it works and signs in. but when i restart the app it does not sign in and returns null. can any one tell me proper steps to configure google play game services please ? private boolean isSignedIn() { return GoogleSignIn.g...
Yash Mehta
1

votes
0

answer
566

views

Android things PeripheralManager Error

I wrote a simple code to get the gpio list on raspberry pi 3 using android things but came across a lot of errors. Here is my code @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); PeripheralManager pioManager...
yash kushwaha
1

votes
0

answer
226

views

Neither Title nor tabBarIcon shows in createMaterialBottomTabNavigator in react-native

I am using react-native for developement. I used to use tabNavigator for navigation..But now it is deprecated.So I am using createMaterialBottomTabNavigator, in which I am having an issue like the title and icon on tab bar bottom does not seem to show up etc. import { createMaterialBottomTabNavigato...
Yash
1

votes
0

answer
59

views

How to use css-modules with bootstrap?

when i using this webpack config, it is showing errors , what could the possible reasons for that and how it can be resolved.is this error due to webpack version if not can you tell how to write webpack config for that. when i using this webpack config, it is showing errors , what could the possible...
Yash Gandhi

View additional