All Questions

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

Show total from column group as row

Im trying to get a row with the total for a column group with SSRS. This is my report: +-----------+---------------------------+--------------------------+--------------+ | | John ...
0
votes
0answers
29 views

C++ oop - classes and data structure

I was practising some c++ before my test and I came across this task which says: a-) Design class RankingList with three type parameters name, evaluation, id defining 3 features of each element ...
0
votes
0answers
12 views

How to get the name and the path of the picture I've just inserted to document (MS Word) by C#?

I have a document and I insert a picture (name koala.jpg from C:\Data) to this document. I want to check that I inserted the exactly picture (koala.jpg from C:\Data not another picture). So I hope I ...
0
votes
0answers
4 views

How to make the colormap of 4D plot transparent in matlab

enter image description here Hi, I am tryna edit the color image of 4D data like the pic attached. I want the high valued part of the image to be transparent(getting higher value, getting more ...
0
votes
0answers
10 views

How to parallelize a for loop with variable update using joblib

The algorithm that I would like to parallelize has the following logic: initiliaze weight for i <- 1 to n do work on w to get a reward r // r <- f(w) update w return r For example: ...
0
votes
1answer
13 views

Completable Future exception handling runAsync & thenRun

Let's say I have this sample code and an exception is encountered inside runAsync. My question is would this exception prevent the thenRun from getting executed as thenRun runs in the same thread as ...
0
votes
0answers
4 views

Unable to run cucumber scenarios using intellij and ubuntu, implement step definitions but they are already implemented

I am trying to run a sample feature file with a couple cucumber scenarios, but when i run them i get that i did not implement the step definition, but i actually did, i have a folder called ...
1
vote
2answers
14 views

Why do these two ways of specifying a callback for onPressed work?

I would like to learn about why these two ways to call the same method work (and why a third does not). In the included sample app, the _MyHomePageState widget has these defined: int _counter = 0;...
0
votes
0answers
6 views

How can I change the recording audio device of SoX?

In the title: How can I change the recording audio device of SoX? I am using MacOS (installed with homebrew). I am interacting with SoX through a Node.js library called node-audiorecorder that ...
0
votes
1answer
21 views

Violation of PRIMARY KEY constraint. Cannot insert duplicate key in object - SQL Server - simple table

I've had a look at some of the other answers to this kind of question, but as a beginner, they didn't quite make sense. Could someone please advise what I'd need to change in the queries below to ...
0
votes
0answers
9 views

How to setup babel to read package.json in laravel mix?

I"m new to react and front end stuff, so today i learned stuff about @babel/plugin-proposal-class-properties in babel plugin. I learned that in babel you can put the presets and plugins together in ...
0
votes
0answers
7 views

retrive all keys of child in firebase and compare with another child

I have two child in firebase with name tutor and check. each child has information of user. I want to iterate all keys from tutor and compare with keys in child check. If any key from tutor matches ...
0
votes
0answers
22 views

Why is this giving me a segmentation fault on one system but not another?

I'm running a program that creates a dictionary tree by reading in words from 'words.txt', and then can search to see if certain words are in the tree. Running this program on https://www.onlinegdb....
0
votes
0answers
5 views

Node.js - Firebase-admin fails while installing

I get an error when I try to install Firebase-admin sdk. I do not receive any errors while working on my own computer but I could not set up a shared hosting. MY CONNECTION CODE: var ...
0
votes
0answers
5 views

Problem Installing spacy for python3.7 mac

I'm trying to download spacy to use for python3.7 I tried installing it using pip, and it says the requirement is already satisfied but then when I try to download a dataset (or even just try and ...
0
votes
1answer
21 views

How to delete through the VIEW?

I use Microsoft SQL management studio 2017 I have tables: alter table dob( PIB int primary key, naziv nchar (10) not null, broj_racuna int) alter table ddob( PIB int primary key, tel nchar (10) not ...
0
votes
0answers
3 views

ISSUE WITH UPLOADING GeoLite2-City.mmdb.MISSING FILE IN MAUTIC

Kindly assist, I have a mautic marketing autamation installed on my server (am a beginner) However i replicated this issue when configuring GEOLITE2-CITY... IP lookup *Automatically fetching the IP ...
1
vote
0answers
4 views

Drools Rule Engine: Is it possible to have a params be a list and you run the condition for each value in the list in a Decision table?

I am trying to create a rules engine via a decision table. I want to run a rule on each value in a given list. For example, I have the following condition column: Decision Table Column Picture I ...
0
votes
1answer
22 views

Scaling number e+xx to e+00 in python

I want to scale the numbers from e+xx to e+00. For example, 1003 -> 1.003 or 0.00372 -> 3.72. How can I change these numbers in python? (It is good if the code is one line)
-1
votes
0answers
8 views

Google Maps Single JSON Overlay Property Visibility On Checkbox

Without separating JSON into 5 separate files I want to control the visibility of each JSON property based on the checkbox. I have a single JSON overlay file. Each JSON feature has a property AREAID....
0
votes
2answers
35 views

Python IDLE - How to type code after a loop

I'm trying to familiarize myself with IDLE by executing the following code from Automate the Boring Stuff with Python by Al Sweigart: name = "" while name != "Mark": print("What is your name?") ...
0
votes
0answers
22 views

How to combine 2 rows in 1

I'm trying to reshape a data frame but I'm totally lost in how to proceed: > test # Time Entry Order Size Price S / L T / P Profit Balance 1 1 2017-01-11 00:00:00 buy ...
0
votes
1answer
17 views

local emulator firebase callable functions working, however, deployed callables return error

I have integrated callable functions in my firebase api with react on the client. I am using firebase emulators to emulate the callable functions to test locally at localhost:5000. When calling the ...
0
votes
0answers
5 views

PUN 2 Player respawns on every client join

I'm having this problem where players will respawn at spawn points every time a new player joins the room. Each player should only be moved to a spawnpoint every time they join a room. This does ...
0
votes
0answers
9 views

How do I get an Image from latitude and longitude using Google Places Api in Android?

I'm trying to get an image from latitude and longitude information using Google Place API. Is this possible?
0
votes
0answers
7 views

Query nvidia gpu architecture from command line

I would like to programatically determine which the architecture (e.g. Volta, Turning, Pascal) of a particular NVIDIA GPU on a system. I've tried looking at nvidia-smi and lspci, but I don't see ...
-1
votes
0answers
10 views

Stream completed tasks and cancel job if result is found

Is it possible to parallelize a job and as results are returned from workers, pragmatically cancel the current stage is something is found in the result? For example, something along the lines of: ...
0
votes
1answer
15 views

BindingResolutionException: Target class [path\to\class] does not exist (Laravel 6)

I'm using Laravel 6 and php 7 along with ReactJS. I'm following Build a Basic CRUD App with Laravel and React tutorial to learn how to make a CRUD app. In the tutorial, it says that I need to enable ...
-2
votes
1answer
10 views

add a custom disable input on component not working in angular

I have a component in angular which contain a button. I have set the component to get an input name disabled like this : export class ConfirmationButtonComponent implements OnInit { @Input() icon:...
0
votes
0answers
16 views

Move image directory on button click [duplicate]

I'm trying to make a simple image sorting program that, on button press, moves the selected image to the desired directory. There will be multiple buttons all linked to a unique directory. In my ...
0
votes
0answers
7 views

How to create custom time zone in PostgreSQL?

I need a time zone which UTC+02:00 in winter time and switch to summer time (UTC+03:00) at first Sunday of March and switch back at first Sunday of November (the same as American DST rule). All city ...
0
votes
1answer
17 views

creating two plots side by side in matplotlib

Im having trouble plotting a data frame and a circle next to one another. My code: import matplotlib.pyplot as plt import pandas as pd import numpy as np df = \ pd.DataFrame({'data': {'Performance': ...
0
votes
2answers
24 views

linking to another page in React

I want to link from one React page to another on a static site, but my routes keep linking to /#/info which doesn't seem to do anything. my index.js file: ReactDOM.render(<App />, document....
-6
votes
0answers
23 views

MYSQL - what the best table types? [closed]

I am starting to build a web-page, and would like to have a good base to start with on the database. I am trying to figure out what the best table types for the following items: CREATE TABLE ...
0
votes
0answers
11 views

Can we escape verbatim string containing curly braces in Python?

I am using pyodbc library to connect my Python program to a SQL Server database. I want to construct Connection String using a verbatim string as under. connection_string = f"DRIVER={SQL SERVER};...
-2
votes
0answers
8 views

How to transmit audio using WinForm

I have a WinForm application which runs with my game client in the tray. It is a utilitary and I was wondering how could I do to transmit audio from TeamSpeak(or any other software like it), in a way ...
0
votes
1answer
15 views

Why can't GridLayout allow components to be changed by row and column?

This is perhaps more of a whine than a question, and I'm aware there's a workaround to the problem described in this post. But I have a situation where I have to add components to a GridLayout, ...
1
vote
0answers
10 views

Moving Resources, what happens to policies? Can you move read locked resources?

Moving resources in Azure seems to be a hectic process. I have two resource groups RG1 and RG2. RG1 has a virtual machine VM1 (delete locked). RG2 has a virtual machine VM2 (read-only locked). I ...
-2
votes
1answer
18 views

Main tag in Main tag

I am trying to code a website in html and am looking for ways to structure my code (without spams of divs) And I was wondering, are you able to have a <main> tag inside another <main> tag?...
0
votes
0answers
12 views

Advanced Conditional Formatting in Excel

I have tried few ways but still could not apply the following rules for a single cell in excel. If Utilization < 30% and/or Expiry Date < 3 months from today's date, return Red Colour If 30%&...
0
votes
1answer
19 views

Call to a member function diffForHumans() on null only in “updated_at”

In my User model I have created_at and updated_at columns. When I cast the created_at successful but when I cast the updated_at it returns an error below: protected $appends = ['created_at_formatted',...
0
votes
0answers
5 views

Keep getting XMLHttpRequest Error in Flutter web with flask backend

The flutter web program with do a http.get to the flask backend. The flask backend will echo the message back. Upon receiving the echo message, it displays on the screen. The problem is the frontend ...
0
votes
2answers
22 views

How to create new columns by looping through columns in different dataframes?

I have two pd.dataframes: df1: Year Replaced Not_replaced 2015 1.5 0.1 2016 1.6 0.3 2017 2.1 0.1 2018 2.6 0.5 df2: Year HI ...
0
votes
1answer
8 views

How to add a field for filename, that populates the filename for each row of data extracted from the parsed pdfs?

I am parsing files from a directory and compiling the data into a csv. I want to add the filename of each file parsed to my output by creating a column called "Label". Below is my current code that ...
0
votes
0answers
24 views

Advantages of Separating Javascripts from HTML [closed]

I'm studying javascript and html. I just wonder that, what is the advantages when I separate javascript from html? When I separate javascript from html, I just found that it gets faster. I wonder ...
0
votes
0answers
6 views

Web scraping cheerio and node js

Is It possible indent cheerio package inside HTML tag "script"? Example: <script> "cheerios code" </script>
0
votes
0answers
9 views

R shiny router redirect to URL containing parameters

I want to perform redirect to URL with parameters, like https://www.google.com.tw/webhp?newwindow=1, which works well in basic shiny app as below: library(shiny) jscode <- "Shiny....
0
votes
0answers
5 views

Is this a logical bug in TensorFlow's tutorial on tf.distribute.Strategy?

Looking at the example described here: https://github.com/tensorflow/docs/blob/r1.15/site/en/guide/distribute_strategy.ipynb, it seems that in the train_step() and step_fn() functions, the optimizer ...
0
votes
0answers
10 views

Pairwise raster comparison in R: alternative to for-loop?

How to efficiently compare pairs of distribution rasters (raster layers containing only 0 and 1)? I need to get a measure of the similarity among ~6500 individual global rasters. Istat from SDMTools ...
0
votes
0answers
5 views

WHM/cPanel - Multiple IPs pointing to one root dir

we need our new dedicated IP address (and all future ones) to "point" to the same root directory of our VPS' "parent" domain (main domain with all business logic, where $_SERVER['host'] is detected to ...

15 30 50 per page