Unanswered Questions
7,249,606 questions with no upvoted or accepted answers
0
votes
1
answer
38
views
<img> with media query, how to get it work?
Could someone help me out with following code (not working)
.image2{ display: none; }
@media only screen and (max-width: 500px){
.image1{ display: none; }
.image2{ display: block; } }
<img ...
0
votes
1
answer
183
views
Listing all *.jpg files in all sub directory and copy to new folder
I build a custom Photon Weather station with all the bells and whistles. Final step is to install a solar powered camera that will upload photos to one of my servers and then pass it through to the ...
0
votes
2
answers
1k
views
Angular - How to invoke function from parent to child component
I have this situation: A parent component structured in this way:
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-parent',
templateUrl: './parent.component.html',...
0
votes
0
answers
196
views
I am getting error due to receiver type mismatch in android app developement using kotlin
Major error in my project is between layout code (.xml) and kotlin file . Actually it is an user registration layout where user need to enter data for registration. I have checked both
kotlin file and ...
0
votes
0
answers
45
views
Type or namespace definition, or end-of-file expected & Invalid token 'else' in class record
I have an error that I cannot figure out.
I have just put some text here, please guide.
Here's the error:
Type or namespace definition, or end-of-file expected
Invalid token 'else' in class record, ...
0
votes
0
answers
166
views
How to predict Y_train with two different X_train data
This is my first time working with python on machine learning.
I have a dataset that I split into a training dataset of length of 9000 and a test dataset of a length of 1000.
I would like to predict ...
0
votes
2
answers
155
views
Stm Cube IDE ERROR : Comparison error for function
I am experimenting with the STM32f407vg board through the STMBUBEIDE program.
First of all, I prepare my own library file and make the settings in the interrupt section.
What if the reason I can't get ...
0
votes
0
answers
42
views
innerHTML doesnt update permanently using a function. It goes back to original value once function is run
I have only copied a portion of my code here to simplify for readers. I have a navigation bar on a website with an "Add to Cart" button. I also have 15 products, listed with Selectlist array ...
0
votes
0
answers
835
views
Failed to provision volume with StorageClass "google-storage"
I'm testing K8s with my custom cluster on GCP. I'm trying to create a StorageClass with this yaml:
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: google-storage
provisioner: ...
0
votes
1
answer
748
views
How to use two different layout in a fragment?
I have a fragment called 'CategoriesFragment' which contains a list view. I want to show the products in a grid view when I click items in the listView. Here is my onCreateView method in the ...
0
votes
0
answers
78
views
SQL Server performs index scan when specifying columns rather than when using the * operator
I'm trying to optimize a query where we find the most recent records in a large table using a simple SELECT MAX(Timestamp) ... GROUP BY Id and I've narrowed down the query to some behaviour I don't ...
0
votes
1
answer
450
views
How can I get the controls closer to video in html
I'm adding a video to my html page but the controls are far from the video as you can see here How can I get them closer together and remove the grey space in between?
My HTML:
<div class="...
0
votes
0
answers
80
views
Add new row to WPF Datagrid with binding
I am working on WPF datagrid, which I am using to show options to the user by combobox. My code looks something like this:
<Grid>
<DataGrid x:Name="DgvPerson" ...
0
votes
0
answers
99
views
Can you match any compound type with _Generic in C?
I would like to detect if the macro call is done on a struct type. A naive approach didn't work:
#define IS_STRUCT(x) _Generic((x), struct *: 1, default: 0);
as _Generic requires a complete type in ...
0
votes
1
answer
611
views
VBA Excel issue when pasting charts
It's a first time I'm writing for help so sorry if any conventional errors, but I'm looking for over a month for a solution to my problem and couldn't find it anywhere.
I've got a code that is stored ...