All Questions
21,058,250
questions
0
votes
0answers
3 views
Unpivot table in power bi using DAX(direct query)
I have table like below:
product month1 month2
abc 10 40
def 20 50
rty 30 60
Output desired is:
Product month demand
abc month1 10
def month1 20
rty ...
0
votes
0answers
4 views
Getting a exitcode 2 error using celery in flask
Question on flask and celery -
init.py
from celery import Celery
from flask import Flask
app.config['CELERY_RESULT_BACKEND'] = 'redis://localhost'
app.config['CELERY_BROKER_URL'] = 'redis://localhost'...
0
votes
0answers
4 views
How to check whether a small portion of audio (let's say a particular Audio Ad) is present in the complete Audio log file (All Audio Advertisements)?
I am new to the Audio analysis. What I want is let's a brand ad is played during breaks of a TV commercial which contains many ads of other brands.
I want to check how many times my brand ad is played ...
0
votes
0answers
7 views
How to properly handle camera intent in android if the user chooses some random camera app?
I am working on a project where I am using a camera intent to take picture of the user. The code is typical, I create an intent and give it the output file's URI, and onActivityResult, I get the image ...
0
votes
0answers
27 views
Notification send to multiple device in android java using Firebase
is there any way to send a notification to multiple device when a button is clicked in android(java) using Firebase.?
0
votes
0answers
17 views
Responsive 2 column layout in Angular Material with mat-grid-list
I want to create an Angular Page with 2 columns and many rows. I was able to achieve it with mat-grid-list. The grid will have mat-card inside of it.
<h1 class="mat-h1">Account</...
0
votes
0answers
5 views
USMap in R plots only one point regardless of longitude & latitude
I am using a macOS Big Sur
This is the simple code I am using- regardless of the city I only get one point in the map, centered around Nebraska.
library(maps)
library(ggmap)
library(usmap)
library(...
0
votes
0answers
3 views
Coding a custom product configurator with a (live) review image
I'm looking to build a custom product configurator, which shows the customer a live preview of how his/her product looks like.
Now here's some information on what I need to do:
Customer can choose a ...
0
votes
0answers
10 views
Iframe. How to redirect outside iframe?
image explaination
this is my currenct code :
window.parent.location.href = "/";
i want to redirect the browser but not iframe.
is it my code right?
0
votes
0answers
19 views
What is wrong with my Java palindrome function
I have a method that takes integer parameter, processes it into a reversed number and returns output but when i check with a number like 21, it prints 2 not 12 as expected...
public static int ...
0
votes
0answers
15 views
Is it possible in WPF to bind a property to two properties?
I'm developing a C#/WPF MVVM application and I have the following controls in my Xaml:
<TextBox Text="{Binding ElementName=PriceSlider, Path=Value, Mode=TwoWay}"/>
<Slider x:Name=&...
0
votes
0answers
12 views
Get an object by coordinates without using a name in Squish
I have a problem, waitForObject or findObject only works with elements that are in names. But I need to get these objects simply by coordinates, I use x, y.
Is this in principle possible in Squish?
0
votes
0answers
5 views
Scala sbt assembly jar doesnt work (class implementation not found) but code works when through IntelliJ
When launching my code with scala -cp assembly.jar class.A --config-path confFile I get java.lang.IllegalStateException: No LivyClientFactory implementation was found.
But when launching through ...
0
votes
0answers
15 views
How can I generate a linear bounded automaton (LBA)? (C#, C++ ) Can anyone pls help pe?
I need to write a program that generates a LBA. I know what it is but I don't know how to put that into code. I am a beginner and I don't know what to do.
0
votes
0answers
4 views
Webpack unhelpful warnings after compilation with Laravel Mix
I'm trying to use CSS grids polyfill for IE10-11 with postCSS and Autoprefixer. I'm using Laravel Mix in a Laravel project. I'm having the most difficult time debugging Webpack's output.
After I run ...
0
votes
0answers
6 views
clean untracked directories only
If I rename some directories, then commit and push to the origin, and later pull from another computer I will find both the old an new directories. In the old directories there will be some ignored ...
0
votes
0answers
35 views
Refused to apply style from 'http://localhost:3000/assets/styles/signup.css' because its MIME type('text/html')is not a supported stylesheet MIME type
Similar questions have been asked and I'm asking again after reading many of them(including this most upvoted), trying and getting no positive results and banging my head for around two hours. Please ...
0
votes
0answers
12 views
How to upload AWS S3 file to YouTube API
Here is a difficult one... I have managed to adapt the AWS API easily but Google's Oauth2 is not working in my code... I have tried adapting code from StackOverflow and other sources... I have tried ...
0
votes
0answers
12 views
How to delete existing controls in angular?
I have generated angular tabs dynamically using ngFor directive.
when array gets update, instead of deleting old tabs they get append with new tabs.
0
votes
0answers
13 views
How can I return a post that has only 2 comments associated with it using aggregate?
I'm trying to figure out a way to aggregate all posts that have 2 comments associated with them.
Given the fake data below, only post 1 should return because comments 10 and 11 have post uuid 1 ...
0
votes
0answers
29 views
init a list with vars flutter
I am trying to init a list of objects (it doesn't metter which object- they all give the same error), so for the example I am using Strings:
String str = 'str';
String str2 = 'str2';
List<...
-1
votes
0answers
40 views
memorize a url with javascript
I need to "save" an url in a variable using javascript. i tried with
var url = window.location.href;
but when I change page, the var url is updated and I need that it remains, also if I ...
0
votes
0answers
13 views
Is there a way to show info-Window, if i click back-Button (Browser) that warn and the reacitveForms reload
i use reactive Form with 5-simple Breadcrumbs. If i fill the first Page und go to the second and after that i click on the back-Button (Browser) i would like to get like info Messagebox, that Forms ...
0
votes
0answers
10 views
SUM(IIF) returns the incorrect values
The below query is supposed to return Total Leads, Outbound Calls, Credit & Correspondence for last month and 2 months ago from my MS Access database. It detects the quoted values from Description ...
0
votes
0answers
21 views
Python 3 - Passing a pickle serialized object back and forth between a subprocess
I am trying to pass a serialized object between a main and a child using a subprocess. I managed to pass from the child to the main script the object, however I can't pass an object from the main ...
0
votes
0answers
11 views
Why can't I get java bindings (GDAL) to work
I downloaded Gdal release-1928-x64-gdal-3-2-1-mapserver-7-6-2-libs.zip and decompressed it to C:\Program Files\Gdal_321.
I tried to get help from gdal-dev for three weeks now, but without any luck.
...
0
votes
0answers
19 views
laravel - Display validation error in the proper tab
I am using the bootstrap tab to navigate between three different tabs for a user. First tab(primary tab) is to display user details and second tab is to edit the information and the third tab allows ...
0
votes
0answers
16 views
Fail to run php 8 with apache 2.4 on ubuntu
I compiled and installed both apache 2.4 and php 8 from source code. With the httpd server running, I tried to access a php file located on the server with the browser on another machine, but the php ...
0
votes
0answers
11 views
What is the name of the action that closes the File Structure popup in IntelliJ?
Is there an action that will close the File Structure popup? ESC (the key) works for me, but only if I don't have an action assigned to ESC.
0
votes
0answers
15 views
I am getting this issue when I build my project
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$6(ClassBasedTestDescriptor.java:337) ~[junit-jupiter-engine-5.5.2.jar:5.5.2]
at java.util.stream....
0
votes
0answers
13 views
Slack bot user authentication
I'm building a slack bot and I have a question related with user authentication. My bot sends a notification that contains two buttons which channel users can click on (basically two emojis). Once ...
-1
votes
1answer
41 views
Why do character pointers have nonsense? [duplicate]
int main() {
int x = 69;
int* px = &x;
cout << px << "\n" << *px << "\n\n";
float z = 69.69;
float* pz = &z;
cout << ...
0
votes
0answers
9 views
How to import to the Project's Description and Owner field and Tasks' Status Manager fields into MS Project from Excel using VBA
Thanks to Rachel Hettinger's assistance I've been able to create a VBA macro to open an Excel workbook and create a new project from a worksheet. I am able to import to almost all of the project-level ...
0
votes
0answers
18 views
I have a login cookies error when I try to login to admin
I have a login error because of cookies. I have followed the instructions however I am still getting the same error. Any advice? I have watched a video on how to diagnose the problem but it is still ...
0
votes
0answers
11 views
Flink MapStateDescriptor update List value
I use a MapStateDescriptor for my stateful computation. Some code here
final val myMap = new MapStateDescriptor[String, List[String]]("myMap", classOf[String], classOf[List[String]])
During ...
0
votes
0answers
11 views
Linear Interpolation grouped by ID and treatment
enter image description here
Hi everyone!
I have a problem here.CHECK THE PICTURE ABOVE.
I need to linear interpolate "MedianCD4" for every PATIENT(I have repeated meassures) and by cART(0-1)...
0
votes
0answers
17 views
Ingress with cert-manager and clusterIssuer is opening in an insecured mode
I am trying to create an ingress for a service with service type as clusterIP in an AKS cluster where I have installed haproxy ingress controller. I have deployed cert-manager and clusterIssuer ...
0
votes
0answers
30 views
Take lines between two specific values from different columns in a txt file
How can I get the lines contained between values of different columns from a .txt file?
I have a text file (as shown below) with many columns and I need to get the lines contained between the position ...
0
votes
0answers
14 views
Best practices to store geographic data - Firestore
I am currently working on a project involving geographic data which I am not used to handle and even after searching on the net I still don't really understands what I should do.
For the project, I ...
0
votes
0answers
18 views
C# - Change Label Text in opened Form from another Class
I am coding a Program in C# using WinForms which has language Support, means a user can for example change the Program Language from English to German.
Now I have Form1 with Label1 and a Class1.
...
-1
votes
0answers
18 views
I keep getting this error, i´m trying to add data to my database
sqlcon.Open();
SqlCommand sqlCom = new SqlCommand(@"INSERT INTO [dbo].[Table](Username, Password, Name, Surname, email) VALUES (@Username, @Password, @Name, @Surname, @email)",...
0
votes
0answers
9 views
Xamarin.Forms Essential Share, not converting Stream to File
I'm trying to implement Share functionality from Xamarin.Forms Essentials. This is my code:
private async void Button_Clicked(object sender, EventArgs e)
{
var fn = "...
0
votes
0answers
10 views
Find full path from list of tree subpaths
Is there a simple way to find the full path and update it for all topic with such data structure.
TOPIC_0000070
|
TOPIC_0000054
/ ...
0
votes
0answers
18 views
If an array_name is a pointer how isnt int *ptr = array_name not a pointer to a pointer
I am a beginner in C and have recently came across the fact that an array name is a pointer to the address of the first element of an array, that is a pretty understandable concept since a pointer is ...
0
votes
0answers
6 views
Blazored Typeahead ConvertMethod does not work
I want to use Blazored.Typeahead componebt but due to the ConvertMethod it returns this error:
Severity Code Description Project File Line Suppression State
Error CS0411 The type ...
0
votes
0answers
14 views
Printing special characters in Assembly
I'm making a simple bootloader. I want to print some non-latin text on the screen but it can't print the character 'ü' correctly. How can I make the OS to print characters like 'ü'? I've searched for ...
0
votes
0answers
23 views
Laravel : Search with posted parameters
I am new to Laravel so please be patient with me.
i have to implement search functionality in Laravel. i am able to send form data to the search controller and receiving it as well
public function ...
0
votes
1answer
12 views
PL/SQL if then else statements not running
I have written following code in oracle pl/sql
create or replace procedure sorting_criteria(criteria in varchar)
as
begin
if(criteria='lowest price')
then
declare
p_name product.p_name%type;
...
-1
votes
0answers
16 views
Merging datasets by columns with different characters in R
I have a dataset df with the column snp that looks like this:
df <- data.frame([[rs7513574_T, rs1627238_A, rs1171278_C],
[2.635489e-01, 9.836280e-01, 6.315047e-01],
...
-1
votes
0answers
22 views
Load checkpoint for fine-tuning from TPUEstimator
I would like to load a checkpoint from a model that was trained and saved with TPUEstimator class. The method used for saving was TPUEstimator.export_saved_model(). Doing some research, i found that ...