text string | meta dict |
|---|---|
Q: Not finding file using pop_loadbv function I'm using EEGLab and I'm having an issue. Indeed, I'm trying to load a vhdr files in order to preprocess datas. However, an error message occurs each time.
The error message goes as followed:
"Error using fopen Unable to find file. Ensure file exists and path is
valid.
Err... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to authorize a user on the site through the application on the phone? I have website with facebook login button and it works correctly. I want to make authorisation on mobile device via facebook native application installed on device.
To call facebook modal dialog i used:
window.FB.api("/me/", {
access_token: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I dont understand why 2d array is used in this Dynamic programming solution to a competitive programming problem (Similar to Knapsack problem) The following is the problem description:
This is a solution to the problem :
import sys
while True:
# Read input
line = sys.stdin.readline().strip()
if line ==... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-7"
} |
Q: java.lang.ClassNotFoundException: Files\WSO2\Identity I have an issue with installing WSO2 locally.
I already follow the steps in the installation guide and when I try to run the server I got the following error.
JAVA_HOME environment variable is set to C:\Program Files\Java\jdk-11.0.17
CARBON_HOME environment varia... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to draw image at particular position in jetpack compose I want to draw image at specific X position where white arc ends. I draw arc with the help of this answer. Now I want to draw image above the arc. I tried this answer to draw the image, but there is no option to draw image at specific X position. So I tried... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568572",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Facebook Browser Keypad Entry Broken? I have a web application with some e-commerce functionality that works across all browsers and mobile devices. However, when someone opens a link using the Facebook app on iPhones, the website is opened, by default, using Facebooks browser - and some functionality is not working... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Get URL of images uploaded to firebase I trying upload multiple imges to firebase and get theris URL for my app. I want to do something like send data to backend. I used
const [urls,setUrls] = useState([]) to get URLs. When i console.log(urls) in handleUpload() it return []. When i console.log(urls) outside handleUp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I replace values in R data frame by their categories? Consider e.g. the following data frame:
data <- matrix(c(12, 6, 13, 15, 2, 7, 7, 14), nrow = 4)
data <- as.data.frame(data)
Variable 1
Variable 2
12
2
6
7
13
7
15
14
Suppose that the values of the Variable 2 are instances of two categor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uncaught ReferenceError: checkbox is not defined expected checkbox to be defined as it is the input type.
I am trying to unsubscribe a user with the deleteSubscription function which passes in the dataset to process via the checkboxChanged function.
checkbox in html:
<div class="ml-3 flex h-5 items-center">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can't I retrieve Refresh Token using the expo-auth-session/providers/google? I am unable to obtain refresh token from the response of useAuthRequest. (I am using expo for my react native app). Upon pressing a login button a promptAsync({useProxy:true, showInRecents: true}) is being executed, then on the response... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Some array indexes not being assigned correctly I have the following piece of code, intended to reformat some strings in a CSV file:
foreach ($rows as $key => &$row) {
print $key;
print "\n";
if ($row === count($rows) - 1) {
break;
}
$columns = explode(";", $row);
$columns[30] = str_r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert a column in a dataframe to a numeric value based on a specific code I have a column in a dataframe in R that has vertebrae levels coded as characters from C7-S2.
df_example <- data.frame(c("S1", "C2", "T3","L1"))
df_example
I need to convert each row to a numeric value based on a separate dataframe t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Difficulting in accessing information by Web Scraping I have seen a few videos on the topic of Web Scraping and I wanted to do a personal project on for getting NBA statistics. I tried webscraping it but I don't know how to do it as the data that I am looking for does not appear in my soup object after searching for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I return an impl Trait where the type's reference implements the trait? Given the following items:
trait Trait { ... }
struct Thing { ... }
impl Trait for &Thing { ... }
Is it possible to write a function that returns a Thing but such that:
*
*The concrete type, Thing, is hidden from the consumer.
*The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Automatic project build during system rebuild I have a default.nix script. Once launched (nix-build), it downloads and builds the project from github. How can I put this script in configuration.nix to build automatically during nixos-rebuild ?
buildGoModule rec{
name = "hhh";
version = "1.4";
src = fetc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Executing Apache Beam's code in GCP Dataflow I already wrote a whole pipeline that suscribes from and to Kafka topics and do some operations using Apache Beam.
Here is a piece of my current code:
public static void iot_topic_connection(String IP) {
System.out.println( "Initiating connection with iot topi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is it that, the text on the right of the images is there instead of down?
.samsung {
float: left;
width: 25%;
padding: 5px;
}
.iphone {
float: left;
width: 25%;
padding: 5px;
}
.xiaomi {
float: left;
width: 25%;
padding: 5px;
}
<section class="phones">
<h3>Best phones you can chose in 202... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dont work MainButton in Telegram web apps I'm using Google Apps to write a telegram bot and a web app. In the Telegram app on IPhone, the code works fine except for the tg.sendData("string to send") method - the button is clicked but sendData doesn't fire, the sent message is "string to send" is not displayed in the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I solve this error that it cannot find context in scope? I was writing this homework app but it's always showing me that it cannot find context in scope when I try to save my data in core data!
Here's my code:
import UIKit
import CloudKit
import CoreData
class ViewController: UIViewController, UIPickerViewD... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: SuperCollider: How to process a log file in real time I'd like to use SuperCollider to generate programmatic music based on output from a log file, generated on the same server.
Programs will write to the log file and my sclang script will respond to the lines, in real-time, as they are written. The code will modif... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I use sys_exec ? Last time it was modified was 2013 sys_exec is a user-defined function (UDF) that enables executing external programs or commands from within MySQL queries. It allows running system commands, shell scripts, or other executable files and passing arguments to them from within MySQL.
The sys_exec f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: java.lang.ClassNotFoundException: org.jboss.resteasy.client.jaxrs.internal.proxy.ProxyBuilderImpl while running springboot in Docker
i need a help to fix an issue related this :
FYI i'm Use @Asynch
java.lang.RuntimeException: java.lang.ClassNotFoundException: org.jboss.resteasy.client.jaxrs.internal.proxy.ProxyBuil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to display radio buttons circle and text on same alignment text? I work on blazor asp.net .net core 7 . I face issue I can't displaying radio button circle and text with same alignment .
I need to add alignment circle radio and text internal or external on same line
and add space between circle radio and text i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Threads aren't joined in multithreading (Python) So I have some simple code that is using multithreading. It's working just fine however I'm noticing that the threads aren't being destroyed after returning the values since everytime the script runs, the Thread number in console goes up and the RAM being used also go... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Should I just create a Category Schema instead? I want to create a Drawer Component that lists a Main Category and a Sub Category underneath it. When a user clicks on the sub category link, I want to render a component (Accordian.jsx) that shows a list of products related to that sub category.
What I also want to oc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pass shared array buffer to Rust-generated WASM without wasm-bindgen I would like to pass a shared array buffer into a small Rust processing kernel in a web worker. Since it is simple and numeric, I would like to avoid the complexity of wasm-bindgen.
I have defined a function in sim.rs, as follows:
#![no_main]
#[no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Call api on client side from server, project will be hosted on firebase https://ipinfo.io/ this is the api I need to call to get user's detail/ip but I need to call it from client's computer as it relies on the ip address,in localhost works fine but if I host it on firebase hosting It returns ip details of firebase.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Strip Punctuation From Text I am writing a code for class that is supposed to use the Caesar cipher and I need to strip the punctuation from the text. However, whenever I enter a phrase with punctuation, it gives me a weird output, but not an error. The code works fine as long as I don't enter any punctuation.
#REQ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a process to process all item in order fulfillment simulation I asked a different question about this simpy simulation model before, and Michael answered it and helped me tremendously. Now I have a new issue with this model, and I hope you guys can help me out. You can find that question here
Let me first d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: HH:MM:SS (Time Duration) Maximum Value I have a CSV file with 4 million rows. One of the columns(ride_length) has a time format as HH:MM: SS. I want to get the max value of the column. Some of the commands I tried and the error messages are as below. What should be the command to get the maximum value in HH.MM.SS fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: I cant get this discord.py afk command to work I am having issues with an except
I did find this on youtube here https://www.youtube.com/watch?v=KAsE-RGgjZk&t=17s
I did try to message the owner of the account but I didn't get anywhere
I am getting this error:
25.02 16:35:41 [Bot] File "/cogs/warn.py", line 420
25.02... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to make a pairplot have a diagonal histogram with a hue using seaborn? I'm trying to make a pairplot of kind scatter plot with histogram diagonals, but when adding a hue the histograms become invalid.
My code before hue:
import seaborn as sn
sn.pairplot(dropped_data)
Output:
My code after adding hue:
sn.pairpl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Merge scatter and line type with chart.js I have to display a graph that represents points taken from a database and a preset straight line.
I have to see with respect to this straight line the points where they are located
I started writing the program to create the 2 graphs that works, but I can't display them tog... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Fractal Information Dimension and Correlation Dimension I have a task to compute fractal dimensions of a given image (of a fractal). Specifically, I want to compute the dimension of information and the dimension of correlation (Grassberger, 1983; Grassberger and Procaccia, 1983). I wasn't able to create my own imple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Change working directory to file importing my module I've found plenty of similar questions online but I'm unsure if they solve my problem. I'm coding a Python module with that structure :
mymodule
|--- __init__.py
|--- resources
|—-- myfont.ttf
|--- ...
It uses pygame and need to load a font file. So my __in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add static/fixed size text on map leafletjs I want to add text to my map that will not change size (compared to map) when zooming.
I currently have:
var myIcon = L.divIcon({
iconSize:null,
html:'test'
});
L.marker([50.505, 30.57], {icon: myIcon}).addTo(map);
But it always "change" size when zooming... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: image slider working left to right , but not right to left I've built an image slider using only HTML and CSS without using Javascript. It uses a hash based image selection and the :target CSS selector to access the hash name.
The problem is, that the sliding is working from left to right, but not right to left.
Cha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using flutter_adaptive_scaffold package, the bottom nav bar appears on top of the keyboard I'm using the flutter_adaptive_scaffold package. When I use a TextField, the bottom nav bar appears above the keyboard instead of underneath it as expected.
Adding resizeToAvoidBottomInset: false to the Scaffold within adaptiv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: WPF XAML Binding Resources Opacity I want to have several different SolidColorBrushes that are different colors, but should all have the same opacity (based off of the opacity that is returned by the converter in x:Name="numCol". That way I don't need to calculate the opacity for each SolidColorBrush. From tutorials... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Spark job fails with org.apache.spark.shuffle.MetadataFetchFailedException: Missing an output location for shuffle I have a Glue job that process about 500MB of data. There are a bunch of outer join operations in my code, and there are 2 dataframes with size is 1 million rows. The outer join operations do not blow u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trouble sorting DDanish letters correct in MySQL In MySQL I have a table with zipcodes and cities. In the database fx. Copenhagen (København) i shown as København, but written in PHP it is correctly shown as København. The table is utf8_general_ci.
When I want to get the entire list of citites, the sorting goes wro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to scroll by the amount displaced by the keyboard on a mobile device When the keyboard appears, my React app does not not automatically scroll to the amount displaced by it. How to do that?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75568652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Finding optimal weights in regression I am new to linear regression and sklearn.
I have a problem where I have input feature x1, which contains 101 ones and input feature x2 100 ones and then a zero. The output y is all 101 ones.
I am trying to find the optimal value of w1 and w2.
I tried writing the below code:
f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: integrating a hero and header code to my website for improved UX I am working on a Pomodoro Study Timer Website. The website will have a 25min timer with a 5 minute break timer running after it. I also added a task managment section underneath the timer. However it is not very organized and does not have a high user... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Is there a way to pass a variable from PowerShell to the R environment? Assume I have a PowerShell command that runs a R script:
& "C:\Program Files\R\R-4.2.2\bin\Rscript.exe" C:\Users\UserName\DocumentsMyScript.R
Is there a way in this command that I can define a variable in the R environment so that it can be use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to import flutter .dart configuration file into a package or main project? I have the following project flutter project structure:
I want to be able to import config.dart into my authentication_reposotory (or wherever I need it), but can't import it. Import throws an error suggesting that the path does not exis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I am trying to combine multiple csv files by date and time values to extract matching values I have multiple csv files that I need to combine all the data into one and I want to extract matching time values to pull those exact values but I cant seem to get it right. I have thousands of columns I cannot match it up m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jasmine, clicking a div with 'button' role I have a mat-table in an angular component, it uses matSort in the headers and i would like to test that my table is changed after clicking on the sorting option.
it('Should properly sort table', () => {
const compiled = fixture.debugElement.nativeElement;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: no method or default for coercing “dgeMatrix” to “unpackedMatrix” When I was trying to run a robust linear mixed model(rlmer), I met a error whose content is 'Error in as(B, "unpackedMatrix") : no method or default for coercing “dgeMatrix” to “unpackedMatrix”'.
I'm wondering what the meaning is and how to solve it.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Spring Boot 3 redirection issue in secured POST method I have this single file in my sample Spring application
//skipped imports
@SpringBootApplication
@Controller
public class SpringMvcExampleApplication {
public static void main(String[] args) {
SpringApplication.run(SpringMvcExampleApplication.class,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why is my wrapper not rendering my component at all using jest? I am trying to create a react jest test for one of my components I have created a mock component for the test just to make it easier to see what the test is actually testing.
For some reason my wrapper seems to be empty I have no idea why
test file:
imp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: best practice to publish an ionic miniapp in an elementor html section I would like to be able to post a mini app made in ionic to calculate currencies quite complex (
It is very difficult to recreate it in php) but I would like to place or call it in an HTML section (a element) of elementor Wordpress Builder I have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Make ModalBottomSheet take content height as height parameter I use Accompanist Material Navigator and I want to make my modalBottomSheet measure exactly the size of his content.
The problem is that when in certain device the modalBottomSheet take more than 50% of the height, the ModalBottomSheet goes in the center ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best way to set properties in struct I have below two struct
struct ReqViewData: Codable {
let data1: [String]?
let data2: Int?
let data3: Bool?
}
struct ReqData: Codable {
let data1: [String]?
let data2: Int?
let data3: Bool?
let data4: [Int]
let data5: String?
}
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: it seems `ESC[2J` just scrolls page instead of actually clearing screen, is there an ansi escape sequence that actually clears screen? I'm trying to develop a Linux CLI game in C. Here is part of the code
int main(){
while(1){
printf("\e[1;1H\e[2J");
printf("\e[?25l");
printf("* *\n* *\n");
fflus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to transition AngularJS 1.8.x. -> Angular CLI version 11.2.3? I’m trying to update the angular version for a web app. Is there a simple way to do this?
A: That is a rewrite. AngularJs is a different framework than Angular TypeScript. There is a hybrid mode to run the two side by side while upgrading but it is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Query fails only when like = '%CI%' The folloiwng code is a pretty simple select doing a like and is run a few times a week with different two character values in $cclike (surrounded by %, as in '%GA%'. Yesterday it failed unexpectedly when $cclike ended up being equal to '%CI%'. I can repeat this error as much as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: listview builder moves out of the container bounds when i add content in my list Container(
height: MediaQuery.of(context).size.height * 0.35,
width: MediaQuery.of(context).size.height * 0.45,
decoration: const BoxDecoration(
gradient: LinearGradient(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Git: Is there any sane setup for work and personal identities on the same computer? I work remotely, and I have two main folders on my PC – one for personal projects and another for work projects. I obviously need to keep the identities separate for repositories residing deep down in those folders. Git doesn't nativ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PyTorch Datasets: Error while inheriting from parent class I am working with a custom dataset which is inheriting Dataset from torch.utils.data when calling an instance of this class.
class Dataset(Dataset):
def __init__(
self,
folder='/content/scar',
image_size=64,
exts = ['jpg',... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating a 2-D array of integer triplets in C# I am trying to create a 2-D array of integer triplets R, G and B using the following code:
BitmapColours [,] PrevImage = new BitmapColours [1, 1];
public class BitmapColours
{
public int R { get; set; }
public int B { get; set; }
publ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DropDown Menu reopens when its already open this is my code
@Composable
fun MyComponent() {
val items = listOf("Option 1", "Option 2", "Option 3")
var selectedIndex by remember { mutableStateOf(0) }
var expanded by remember { mutableStateOf(false) }
Column {
IconButton(onClick = { expanded =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is this selection on a ForEach in SwiftUI not working? Can someone please tell me why this selection isn't working?
If I click one of the rows of the ForEach nothing happens :/
@FetchRequest(fetchRequest: ContentView.manufacturerByName)
var manufacturers:FetchedResults<Manufacturer>
@State private var selection... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Overload type hint with Literal and Enum not working in PyCharm I want to typehint an overload function. For that I use the overload decorator from typing. I want to set multiple possible callees based on a parameter's value. This parameter is color.
I have this code:
from typing import Literal, overload
from enum i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I exploit the vulnerabalties from my container via my host VM I am using this vulnerable image to learn pentesting:https://hub.docker.com/r/tleemcjr/metasploitable2
I ran the container using this command: docker run --name container-name -it tleemcjr/metasploitable2:latest sh -c "/bin/services.sh && bash"
Ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Problems writing types for a modal I have a modalSlice in redux which looks like this
export const modalSlice = createSlice({
name: "modal",
initialState,
reducers: {
openModal(state, { payload }: PayloadAction<IModalAction>) {
state.value = {
args: payload.args || {},
type: payload.t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remove Duplicates from array of objects but keep empty string value objects I have this function which works pretty well, removes duplicate of emails.
contacts.filter((v,i,a)=>a.findIndex(v2=>(v2.email===v.email))===i);
But it seems to remove objects with empty email strings but I want to keep those objects. Just e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do I get "TypeError: 'module' object is not callable" error? Whenever I run my bot I get this:
Traceback (most recent call last):
File "C:\Users\Clicx\AppData\Local\Programs\Python\Python311\Lib\runpy.py", line 198, in _run_module_as_main
return _run_code(code, main_globals, None,
^^^^^^^^^^^^^^... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: "Error in .local(obj, ...) : cannot derive coordinates from non-numeric matrix" in sampbias package in R I am using the calculate_bias function package from the sampbias package to evaluate the spatial bias of citizen science data. I formatted the input data the same as the example data provided in the package, but ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to axios post list of items dynamically to MongoDB with React Redux application? I'm creating a React Ecommerce website with Reduxjs/toolkit for practice.
I've already setup Backend part and connected to MongoDB with Postman API testing. I'm using react-stripe-checkout to take care the payment transaction proces... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am new to flutter and I am facing this issue (Null check operator used on a null value) Here is my code and it shows me that the error is in here somewhere, can anyone help?`
class UserProvider with ChangeNotifier {
User? _user;
final AuthMethods _authMethods = AuthMethods();
User get getUser => _user!;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568727",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Narrow the type of the first array element based on the length of the array? I'm working with an array for which the type of the first element is known, if the array has length one, and which could be one of two types, otherwise; i.e. something like the following:
type NarrowableArray<TKnown, TGenereal> = [TKnown] |... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: MultiThreading with Tkinter in Python How can i create an architecture, where i call function (ping function) in variable threads with variable IP addresses? As example: i'm starting the tkinter window, enter the ip and new separate window appear (with results of permanent pinging). At the same time i call new windo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IAM permission error with Google Project Factory Module when trying to use Shared VPC on Service Project I need help and I am sure it is something trivial but after 1 hour I tend to ask the experts.
When using the TF Module GCP project-factory and assigning the variable host_project_id for shared VPC setup the TF ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Websockets in a tomcat behind apache2 I have developed a web application written in java. The web app runs over a Apache Tomcat which is behind apache2 as a virtual host.
I think that the error is on the virtual host creation.
This is my conf file where I connect Apache and Tomcat
<IfModule mod_ssl.c>
<VirtualHost *... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accessing value from dictionary based on every value of for loop in jinja I am new to jinja and flask
I am trying print all employees information
Users table is having Employee name, dept_id and role_id, code is below:
HTML:
<table>
<tr>
<th>Employee Name</th>
<th>Department Name</th>
<th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Extract file string data within a time range pattern I am trying to extract the data within a specific range of time from an input log file.
The input file, has the following pattern:
2023-01-31 00:00:21.354 FINE AS2SenderModule: Message sent and response received in 438 millisecondsms
2023-01-31 01:00:21.352 FINE ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Semaphore can render asyncio.Queue redundant? My producer is a local sqlitedict (Very fast to iterate through). My consumer is fetching web pages. I need to limit the number of concurrent web-page scrapes. So I came up with:
from scraping import xpath_soup, get_page_content, links_from_soup
import asyncio
from sqlit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Looking for secure rules to access all existing usernames I am looking for a secure way to check whether a username is unique before creating a new account in the Firebase.
Since I use the function CreateUserWithEmailAndPasswordAsync() in Unity, the Firebase build in mechanism checks whether the e-mail address is un... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CloudFront & Route 53: The alias target name does not lie within the target zone I keep getting this error code:
[Tried to create an alias that targets d1rjnk9azrfd0f.cloudfront.net., type A in zone Z04732832HJZEKNE8JUGT, but the alias target name does not lie within the target zone, Tried to create an alias that t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Changing a datetime column into time elapsed in R add number 19 to "hh" I imported an .xlsx file in R and created a data frame with it called "bike_data". In the .xlsx file is a column "ride_length" which measures the amount of time that has elapsed between the start and end date of a ride, expressed in Excel as hh:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to discern this error message from React with out error boundaries? I received the error message below. However I am using functional components and can not add error boundaries per the suggestion.
I see the call stack of components F1 -> F1Page -> A1Bookmark. What does 28:66 represent? Are one of these numbe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: React Formik form not dirty after array value update I am trying to use Formik in my React app for handling form state for an array of checkboxes.
When a checkbox gets clicked, I create a copy from the old values, toggle the checked value of the one that got clicked and use setFieldValue to update the value with the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extracting figures(Form Xobjects) from scientific papers In scientific papers, figures are often PDF files later compiled into main file by latex compilers. I'm trying to extract such kind figures from a PDF file.
Before I started exploring this topic, I had little knowledge of PDF format, so sorry if I misunderstoo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R Shiny dynamic CSS within checkboxGroupButtons I am unable to dynamically alter the status of checkboxGroupButtons. Please see the following, where the choices alter dynamically, but the status only renders as the final variable within the for loop (in this case 3 is printed repeatedly, as opposed to 1,2,3).
librar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert decimal degree coordinates to DMS coordinates in Python? let's say i have a dictionary:
data = {"geometry": {"coordinates": [-122.8099976, 38.8323326]}}
how do i convert [-122.8099976, 38.8323326] to 38°47'24.0"N 122°44'09.6"W?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75568764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: How to make WebClient use custom context path when calling service registered in Eureka? I have a service that is using Spring Cloud configuration / Eureka service discovery, and is configured with a custom servlet context path:
In bootstrap.properties:
spring.application.name=my-service
server.servlet.context-path=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sanity Init Gives Authentdication Error Code #4058 I want to create a backend using sanity. I have installed sanity CLI using the command. After that, I create a project using the command sanity init. But It gives the following error when authenticating. But my google account and sanity account are already logged in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Apps Script as Web App: problems with doPost() Ultimately I want to post some data to my App Script from my Wordpress site.
This is the endpoint of one of my test deployments: https://script.google.com/macros/s/AKfycbxW3tb8htk3tm7J3YDDOf40yK17bdSryiJDkbbyqTA1eWodCw5TRZxW0vE1KMe66yR7hw/exec
My doGet and doPost... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Props with styles not applying until I change file (Material UI), what could be the problem? I'm trying to use Material UI's makeStyles to dynamically apply styles to a component based on props. However, I've noticed that the styles are not applied until I manually change the file, which is causing a lot of frustrat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rename refactor doesn't work when the symbol is in a .razor file I wanted to migrate to VS Code for my Blazor development, but this basic rename refactoring isn't working.
My Visual Studio Code version is 1.71.1
If I hit F2 on a property:
And that property is referenced in .razor components within a @code block:
@c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do service fabric templates use Thread.Sleep instead of Task.Delay? When I create a new service fabric application with a stateless aps.net core service, why is this line of code in the main method of the service?
// prevents this host process from terminating so services keep running
Thread.Sleep(Timeout.Infini... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Add particles on button click Here I want to display particles
Hi guys, I want to program in javascript that every time you click on the button a particle appears which then shows +1 for example.
Like in this cookie clicker (I hope you can see it):
I already looked at particles.js, but I didn't find the right resul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Designing joint table(s) that connects three tables with different relationships I have database with three tables related to my problem:
*
*Events
*Transactions
*LogBook
Now, the relationships between records/tables is like:
*
*Transaction can have just one Event and/or just one LogBook (both optional as tran... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: when running the command : pip install I had a Pip problem I am trying to install DNNV when I run :
pip install
I get this error :
You must give at least one requirement to install (see "pip help install")
I tried the command : pip install
A: You need to give it a library to install what you need to do is
pip i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: trying to use network layer but ,response is suceessful but my array is nil It was successful
AllCategoriesResponse(categories: nil)
base api :
class BaseAPI<T:TargetType>{
func fetchData<M:Decodable>(target:T , responseClass:M.Type , completion:@escaping(Result<M?,NSError>)->Void){
let method = Alamof... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to use two different React versions in a monorepo with Turborepo and avoid conflicts? I'm creating a monorepo using Turborepo and have two applications in my apps folder: app-x, which uses "react": "17.0.2", and app-y, which uses "react": "18.0.2". Additionally, I have a separate ui package component which uses ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not getting expected results when I merge 2 pandas dataframes I'm trying to merge 2 pandas data frames via a left join.
FYI, I could not get the table to format properly so please understand I tried.
Left table (265 rows) and many more columns:
I am expecting to end up with 265 rows.
Index ACCSNM Reason Not Do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I get ender 3 v2 bltouch firmware 220x220x250? From the official creality.com website (https://www.creality.com/pages/download-ender-3-v2), I downlaoded the firmware:
GD-Ender-3 V2-Marlin2.0.8.2-HW-V4.2.2-SW-V1.0.7_E_N_BLTouch
But it seems to be 235x235x250 instead of 220x220x250. Can I get a fixed bin file?
The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Distinguishing between structural & nonstructural regressor candidates in N Lassos run sequentially on N synthetic data sets In this collaborative research project working towards a second draft of a 2008 Working Paper which proposed a promising straight-forward, yet novel Optimal Variable Selection Algorithm in Sup... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75568810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |