All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

Navigate to the same component after the session expire

I have a token based API where a session is valid for 10 mins if the user is idle for more than 10 mins token will be changed and error response will be received from the API where the user will be ...
0
votes
0answers
2 views

in that query i want inprogress=0 records how to do that

SELECT access, count(*) from visitors where type of visitor = 'complaint' and access = 'open' or access = 'inprogress' or access = 'onhold' or access = 'closed' and apartmentid = 72 ...
-1
votes
0answers
5 views

How to get object attributes in JavaScript

every one, i am trying to take object attribute to use but it not work, it is a backbone model i name it 'task', I was try to use console.log(task.cid) it is work and log c69 but when i use task....
0
votes
0answers
3 views

Rectangle Image conversion using Imagick

Rectangle Image conversion using Imagick. the sizes are 720X820. But Getting the square image through imagick. how to convert to rectangle images. list($srcWidth,$srrHeight)=@getImageSize($...
0
votes
0answers
2 views

Unit test file utility class with delete directory method

I have a file utility class with the deleteDir function @Override public boolean deleteDir(File file) { File[] contents = file.listFiles(); if (contents != null) { for (File f : ...
0
votes
0answers
4 views

Binding dependency property to DataTemplate DataType?

I have a Person view. I am setting the DataContext to an instance of PersonViewModel in the code behind constructor. I need to bind the Name DependencyProperty to the Name property of the Person ...
0
votes
0answers
3 views

image not saved from image load

I am trying to use imageload to open an image but the error I get is "Conversion from string literal loses const qualifier" and I can not work around this depreciated syntax and successfully open the ...
0
votes
0answers
4 views

How to select a certain value in various rows and transfer it into a new column?

I have a data frame like this: > dput(df) structure(list(vehicle1 = c("No", "No", "No", "No", "No", "No", "No", "No", "No", "No", "No", "No", "No", "No", "No", "No", "No", "No", "No", "No", "No",...
-1
votes
0answers
10 views

Can anybody decrypt this hash for me?

34daf4fd5a4abe080b762006c20286bc This is the hash that I want to decrypt. It contains a mail id. Can anybody decrypt or explain me how to decypt for me. Encryption is given to be either AES, MD5, ...
0
votes
0answers
2 views

Exim4 - 550 Bad HELO - Host impersonating domain name [some.domain.pl]

Have some website on http://some.domain.pl/, where I'm sending e-mails via sendmail (which uses exim4). E-mail address used for sending is powiadomienia@some.domain.pl. Only address e-mails from ...
0
votes
0answers
2 views

Summernote store text without the html tag using Razor in asp.net mvc

Summernote store the data without html tag using Razor syntax in asp.net mvc core. what can i do? can i filter the tag in c# code or in html itself?
0
votes
0answers
5 views

How to declare a public value (val) in a Kotlin class to initialize it later. Cannot use var in this particular case

I'm trying to make a simple camera app on Android Using Kotlin. I'm not able to convert some java code into Kotlin. How do I declare cameraDevice in Kotlin? Java Code: class MainActivity extends ...
0
votes
0answers
3 views

Sequelize postresql id not converted to serial type on migrate

Is this a bug in sequelize or my config is wrong? Postgresql version: 11 sequelize version: 5 latest nodejs version: 12 model const Sequelize = require('sequelize'); const db = require('../config/...
0
votes
0answers
2 views

Embedded executable JS from Rails

How to make embedded executable JS for other sites? I have a Rails application (3000 port) in which: routes.rb get '/embed/:tag_name',to: 'embed_widget#tag_name' embed_widget_controller.rb ...
0
votes
0answers
5 views

Failed to start program. Path or permissions wrong? in Qt windows

Starting D:\code\Qt\URC\URC\URC\debug\URC.exe... Failed to start program. Path or permissions wrong? D:\code\Qt\URC\URC\URC\debug\URC.exe exited with code -1 The process failed to start. Either the ...
0
votes
0answers
4 views

How to navigate to a page section using vueJS/Quasar (q-tree)

I am using Quasar for vue.js development. I want to use the q-tree but instead of loading a q-tab-panel when tree objects are selected, I want it to navigate to a specific section of the same q-tab-...
0
votes
0answers
4 views

List width and height of all images in a folder from Linux command line

I want to see the image dimensions of all the jpg images together in a list through a command line in Linux. Following code works for only one image. identify -format "%wx%h" xxxx.jpg
0
votes
0answers
4 views

VTK Camera Clipping with 2 Renderers

Current Setup: I have 2 renderers, gridRenderer and geoRenderer, within 2 layers of a render window: gridRenderer->SetLayer(0); geoRenderer->SetLayer(1); RenderWindow()->SetNumberOfLayers(...
0
votes
0answers
4 views

Hive function to sql workbench conversion

I need help in converting below hive function to SQL workbench(PSQL) to_date(from_unixtime(UNIX_TIMESTAMP(date_column,'dd-MMM-yy'))) > cast('2019-08-05' as date) I tried this function in PSQL, ...
0
votes
0answers
4 views

How would i silence the output of libcurl without feeding to /dev/null?

How would i stop -* Trying <ip address>... * TCP_NODELAY set ...
0
votes
0answers
6 views

how to save the result from a predicter file and show in webpage-flask

I'm having an issue developing a flask prediction api for my ml model.I have been searching the internet but none of it showed how to call the predictor python file(all the work is being done in that ...
0
votes
0answers
11 views

Why is there no native support for source maps work when catching errors

Pretty much all modern browser support source maps and also use them when an exception is shown in the developer tools. Still (as far as I know) no browser offers an API to automatically use the ...
0
votes
0answers
4 views

Apk Analyser showing question mark on library file.so

Adding ABI split code in grade : android { splits { // Configures multiple APKs based on ABI. abi { // Enables building multiple APKs per ABI. enable true ...
0
votes
0answers
5 views

how to check BLE Gatt Client Mode is supported by device?

In android i have used BLE both mode as Peripheral and Client. But i want to check isBLeGattClientSupported() As we know some devices in android is not capable to act as Ble Gatt Client so jut want ...
0
votes
0answers
5 views

java.sql.SQLException in firebird2.5 DB

I try to make 2 query from firebird 2.5 DB, I use 2 separate Statement object, but when in second query program try to use data from first query it get an error java.sql.SQLException: The result set ...
0
votes
1answer
9 views

error:assigning to an array from an initializer list c++

I have declared a global multidimensional array int possw[8][2] then I called a function to make changes to it by using another array which I initialized int w[2] possw[8][2] = {{b[0]+1,b[1]+2},{b[0]...
0
votes
0answers
4 views

On android, how to deal with createLink failed with access denied

On android 8(API26), I want to use Files.createLink to create a hard link. I am very sure fExists does indeed exists, and f does not exist. And both of them are in app's data storage area. fExists: /...
0
votes
0answers
7 views

Why Two row SQL Statement getting error in VBA

When i write two row SQL query in VBA, i get an error. But when wrote one row query, it is running true. Example Sub Run_Report() Dim Server_Name As String Server_Name = "SRV2" Call ...
0
votes
0answers
6 views

VSCode - Show Keyboard Shortcuts and keybingings.json side-by-side by default

If we set the following two lines in settings.json - "workbench.settings.editor": "json", "workbench.settings.useSplitJSON": true, We get split screen with json. So when we press Ctrl + Comma we get ...
0
votes
0answers
20 views

How could I open a file from a user input?

How to properly use a user input from one function to process data from a file in another function? What I've tried below is two if conditions. The first if condition works but also returns a none ...
0
votes
0answers
8 views

Removing unnecessary blank page in Latex

I am working on a project in Overleaf. I want to use the package algpseudocode but adding it creates an extra blank page at the top. How can I remove it?
0
votes
0answers
10 views

problem for making a searchbar in react-redux

this is my searchbar component import React from "react"; import { connect } from 'react-redux' import { search} from '../../redux/actions/SearchAction' class SearchBar extends React....
0
votes
0answers
5 views

Error while running annonate function for grouped bar chart: annotate() got multiple values for argument 'xy'

I am using a dictionary "my_dictionary" containing key and a list containing two int items. Dictionary - {key : [men_mean, women_mean]}. Counts: Values of men_mean and women_mean are close to 2000. ...
0
votes
0answers
5 views

How to create page to show layout on your view using mvc asp.net?

Who can help me, i have a create button on my View layout for login, it has this fields username and password, login button(this validates if the user exist) and create(this i am struggling to link it)...
0
votes
1answer
4 views

Using SonataMediaBundle, how can I find out which media providers are available?

I am hoping to create a fixture image in a Sonata-based CMS, which is using Symfony 4.3.9. I have the following logic in AddMediaFixtures.php: public function load(ObjectManager $manager) { $...
0
votes
0answers
7 views

How to find all member of a class file by using ASM library or other similar library if more efficient?

I would like to create classpath scanner based on bytecode analisys, is there a way to find all members (Constructors, Methods, Fields) of a class file by using ASM library or other similar library if ...
0
votes
0answers
11 views

Handling multiple screen types while working with recycler view

I'm working on layouts for supporting multiple screen sizes.It is working fine but the problem rises when the recycler view layout is same for normal or large screen sizes. It is showing same listitem ...
0
votes
0answers
5 views

Able to delete, but no confirmation

I have question for Google App Maker. I need a delete confirmation for every record on table. I already learn this url Dynamically Bind Data source to app maker popup, but It's not work with my case....
0
votes
0answers
7 views

Connecting older version of mongo with python

I am using pymongo module to connect to remote mongo DB. It works fine for me for all the latest versions but for older versions I am getting an error as below can you help me out how to connect older ...
0
votes
0answers
5 views

Bitbucket CodeDeploy integration: This app is hidden from public view because it no longer meets the requirements for Atlassian Marketplace

I am trying to deploy(continuous deployment) my bitbucket repository using AWS CodeDeploy and following the blog by aws http://aws.amazon.com/blogs/apn/announcing-atlassian-bitbucket-support-for-aws-...
0
votes
0answers
5 views

How to apply date format in pyspark SQL

we get below data from below pyspark sql query Script:: from pyspark.sql import SparkSession spark = SparkSession.builder.master('yarn').appName('myAppName').getOrCreate() df = spark.read.parquet('...
0
votes
0answers
5 views

Removing duplicate legend bar plot matplotlib

I want to edit my legend to make it only shows the labels once I use for loop to create my bar graph. How can I remove the duplicate legend? It should only show week and month once This code give me ...
0
votes
0answers
7 views

Crop a circle area (ROI) of a image an put it into a white mask

Halo, i want to crop a circle area of an image (ROI) and put it in to a white mask with same dimensions and positions. build a white mask h, w = img.shape[:2] mask = np.ones((h,w,3), np.uint8)*255 ...
0
votes
0answers
5 views

Turn on cyclmatic complexity in JSHint

I am using JSHint and I want to turn on cyclomatic complexity. From JsHint homepage and JsHint Docs , JsHint seem to be able to measure it. But after I ran this command jshint test.js to test the ...
0
votes
0answers
3 views

Signed Excel VBA AddIn (*.xlam) not running despite properly installed certificate

This is a tough one. We developed an Excel VBA AddIn. That's an *.xlam file. This AddIn is quite complex and transforms Excel into a software of it's own (well sort of - it still look pretty much ...
0
votes
0answers
6 views

Calculating large exponential shares / probabilities

I do multiple exponentiations on e (or another constant value) using very large exponents, producing a series of results. Then for each result (R): (R*A)/(sum of all Rs) to find a 'share' in A, ...
-3
votes
0answers
13 views

Software Architecture Design

We will start a new project and need to make architecture design decision. The architecture is basically Domain driven architecture. Our layers : App.Entities, App.Common, App.UI, App.BLL, App.DAL. We ...
0
votes
0answers
8 views

Integrated GUI with functions for plotting - Pandas, PyQT5, QTDesigner

I am trying to build a simple GUI that will ease my plotting capabilities through matplotlib, pandas and PyQt. I have not been able to display a plot, though the diagnostic print commands before and ...
0
votes
0answers
13 views

Issue with php price filter:

I have an issue with price filter on php web page. I am not that good in php to find the problem by myself and even more, I came across this filter after the developer left( Could anyone please check ...
0
votes
0answers
7 views

IS Insert Select FROM CTP an atomic transaction

Dear fellow developers, Can someone please tell me if insert select from CTE is still an atomic transaction? Here is my example: WITH SELECTION AS ( SELECT [Code], [Field1], [...

15 30 50 per page