text string | meta dict |
|---|---|
Q: How can I run both json_serializable and my custom builder? package:my_custom_type_generator
build.yaml
builders:
extractTypes:
import: "package:my_custom_type_generator/builder.dart"
builder_factories: ["extractTypes"]
build_extensions: {'$lib$': ['extracted-types.json']}
build_to: source
auto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tensorflow CNN Code saying ValueError: Exception encountered when calling layer 'conv1d_20' (type Conv1D) Here is my code:
import tensorflow as tf
from tensorflow.keras.layers import Dense, Flatten, Conv1D, MaxPooling1D
from tensorflow.keras.models import Sequential
import pandas
from tensorflow.keras.preprocessing.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: ffooter & boostrap & ejs I have a problem with the positioning of the footer of my project.
The problem is that I am using the ejs template engine to create a footer that I am later including in all my pages and I use bootstrap to style and position the footer
The problem is that there are two classes with which you... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get an AJAX request argument in Flask server? Im getting the request at the backened but unable to know the value. i tried many variations of request but nothing grants me the value of cars.
my flask file
import ssl
from flask import Flask, redirect, url_for, render_template, jsonify, request
from flask_dan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to calculate end date of subscription of many users without loading them all each day? This is my use case:
*
*users subscribe for a pass. It can be day, weelk or a month pass.
*when the end of the pass is reached, i want to set the status of the pass to inactive and send sms to my users.
private String id;... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error with recursion from call "random.shuffle()" Im trying to create a very simple blackjack game, and I think I'm almost done, but when I try to play the game I get an error:
Traceback (most recent call last):
File "c:\Users\nils.edstrom\github-classroom\NTI-Gymnasiet-Nacka\februariprojektet-Nilleni2\Main.py", l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: React app local storage not updating Menu component in Marvel API app I created an app using the Marvel API that searches characters, comics, events, series, and creators and displays their information. Everything is working properly except for the Menu.jsx component is not updating to the values that are in local s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to access a dictionary that dosen't have a name? Go to the data folder and use the https://github.com/Asabeneh/30-Days-Of-Python/blob/master/data/countries.py file.
1.What are the total number of languages in the data
2.Find the ten most spoken languages from the data
3.Find the 10 most populated countries in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Custom attribute text color Hello guys I'm new to all this. Sorry if I'm asking something simple. I want to change the text color of the custom attribute string.
attr.xml
<declare-styleable name="StoreCustomView">
<attr name="strLimit" format="integer" />
<attr name="strHeader" format="string" />
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to uncheck all checkboxes on two separate rows in google sheets I have a spreadsheet that will be used as a check sheet on an ambulance. There are two rows that have check boxes and I want to be able to have a button or a check box and set a trigger to turn these to false. I started using this and it worked the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Resolving Google Cloud Platform Bucket Permissions I'm trying to set permissions in Google Cloud Platform Bucket Permissions, but when searching using 'storage' for storage.bucket.list, I do not find it. So I am thinking to resolve it to new permission names like "storage legacy bucket reader". So is there a way to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Send mail with webmail.ferozo.com My code works for the Outlook mail server, but for webmail.ferozo it takes a long time to execute and when it finishes it generates the following error:
Unhandled exception. System.Net.Mail.SmtpException: The operation has timed out.
at System.Net.Mail.SmtpClient.Send(MailMessage... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to Implment feature similar to python's inspect module in rust? I recently started learning rust and this maybe a very stupid question.
I have a large-ish codebase in python that sort of looks like this (this is all pseudocode as I can't post the original code, it's proprietary):
main_package/
main.py
tran... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Floating label doesn't look right on datalist input in Bootstrap 5 Is there a way for floating label to show up properly for datalist in Bootsrap 5? This is how it looks like right now...
It works fine without the form-floating class but I'd like to use floating form.
<div class="form-floating">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Godot's Area2D not detecting collision immediately, sometimes I have a hotbar that sits at the top until the player gets close, then it moves to the bottom and vice versa. Area2D works great at the top, it reacts immediately at first touch, but the bottom I have to go a ways in before it reacts:
HotbarTop
HotbarBott... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Read millions of records from txt file using c# I am trying to read a text file that has multiple records. Below is the code that I am using which works fine. But the problem is, if the text file contains millions of records, then it might cause out of memory exception. Can someone help me how I can modify this code... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to perfectly synchronize gameobject positions in animations? This is a recurrent question for me as if I'm not able to fix this, the alternative would be to include sprites with the same player pose for each weapon which uses the same animation. I have a spritesheet for the player:
For which I'm currently inter... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I edit this python script to make sure all the file paths are unique too? Here is the script in question -
import os
import re
# Define the folder to start the search from
start_folder = "path"
# Define the name of the output file
output_file = "output.txt"
# Walk through all the subdirectories and files s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to redirect all come requests to my server from ip to domain name how to redirect all come requests to my server from ip to domain name
I use Ubuntu server and apache2
From xxx.xxxx.xxxx.xxxx to mydomayn.com
I know that I can use the .htaccess file in the site wall, and that can also be used from Apache. Please ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why isn't the while loop terminating when I make the condition false? I am making a project in C++ where I have to do various functions to an list of numbers.
I am using a while loop where the condition is a variable, isrunning. It is declared to true at the start of the program, and when the user presses Q, the var... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569590",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Nginx location directive not blocking URIs with '..' in the path Why does my NGINX location block only work for URIs that like "https:/domain.com/foo/boo../", but not for URIs like "https:/domain.com/foo/../"?
location ~* \.\./ {
deny all;
}
I am trying to deny every request containing .. in is path.
Judging fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: An error about TypeError is reported when running the script file command enter image description here
I tried adding (task="multiclass") in torchmetrics
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75569592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: extract specific object information from coco-stuff dataset I want fine tune mask-rcnn pre-trained model now, the custom dataset could simply extract from coco-stuff, however, I have try many times, and the new generated annotation files could not be read in both detectron2 and pytorch, also there may some error in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The destructor of the current Page in Frame was not called after I pressed "X" to close the application Compiling the following code snippet in Release mode. Running the application, and clicking "X" to close the application, it is found that the destructor of FirstPage has not been called.
*
*App.xaml.cpp:
#incl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569598",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NoMatchingViewException after closing the AlertDialog Espresso stops working after closing a dialog alert window.
I have this code for checking if button exists and this code works:
onView(withId(android.R.id.button1))
.check(matches(withText(android.R.string.str_button1)))
.check(matches(isDisplayed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is Kafka transaction API only for producer? Is Kafka transaction API only for producer?
For example, I have an input topic A.
messages are consumed from A, processed and then processed messages are sent to output topics B1 and B2.
Using transactional API, we can send messages to B1 and B2 together. all or nothing. I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Country based prices inclusive or exclusive of tax In WooCommerce the prices can be set inclusive or exclusive of tax. This is set through the option under Tax settings.
I have this set to "inclusive of tax" so that the customer pays only the product price (e.g. €100) including the tax (e.g. %20). This set up works ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I do Responsive Rectangular trapezoid figure - CSS Would like the responsive rectangular trapezoid figure to fit the screen at all times without white borders and that when it reaches mobile, it becomes a rectangle as a bar.
Rectangular trapezoid
Figure: Bar
When you reduce the rectangular trapezoid it beco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to get enabled Discord Bot Privileged Gateway Intents via the Discord API? I'm trying to locate a way to identify which Discord Bot Privileged Gateway Intents are enabled. Does anyone know if there is an API for identifying such?
I've attempted to utilize both the "https://discordapp.com/api/oauth2/ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: What is the required lifetime of struct kevent passed into kevent changelist? The signature of the kevent system call for OSX and BSD is as follows:
int
kevent(int kq, const struct kevent *changelist, int nchanges, struct kevent *eventlist,
int nevents, const struct timespec *timeout);
Suppose I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NextJS Dynamic Route Not Resolving GraphQL Async Request I have dynamic links like so localhost:3000/[username]. I query against a mongodb. If a username FooBar existed in the database then it would resolve; otherwise, it would say User {slug} Not Found.
I was able to verify my graphQL query is working fine. Request... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Highlight Second Duplicates across multiple columns in google sheets I'm trying to highlight only the duplicates (not the first instance) of various numbers across several rows. I'm about to do a large "action" where someone submits a form and I want google to automatically highlight any second, third, etc instances... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use Nginx to run a Spring WebSocket web application Really new to Linode, Nginx, and hosting in general.
I've gotten my website to work using Linode's tutorial but I run into trouble when connecting to a web socket and I believe that the issue is in my config file.
I've looked up a web socket guide but can't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Splitting dataframe at underscore within a range I have rows in a dataframe that I want to split on a range of underscores, and save the split values into new columns.
Type Name
Parent ABC_US_Test_en-us
Child ABC_12252020_US... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Correctly Using the Microbenchmark Function I am trying to learn how to use to Microbenchmark Functions within R.
As an example, I simulate a few random datasets of different sizes:
# load the lubridate package
library(lubridate)
library(microbenchmark)
library(forecast)
my_list = list()
index = c(100, 1000, 10000... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Flink Job Logs Not Showing up on Flink UI I have the following session cluster logging configuration setup.
rootLogger.level = INFO
rootLogger.appenderRef.console.ref = ConsoleAppender
rootLogger.appenderRef.rolling.ref = RollingFileAppender
# Uncomment this if you want to _only_ change Flin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use List inside owned entity The simplified version of my model is:
public class Product
{
public Guid guid { get; set; } = Guid.NewGuid();
public required string Name { get; set; }
public List<string>? Tags { get; set; } = new();
public List<ProductProperties>? Properties { get; set; }
}
[Ow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SwiftUI error: Consecutive declarations on a line must be separated by ';' i have a problem. When i try to pass configuration, i have this error.
I expect this works please
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75569635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-7"
} |
Q: Tag_add function in tkinter generates "_tkinter.TclError: bad text index "0" " In my python tkinter program, in which the user is entering text into a text widget, my program is supposed to compare two texts (one which is given, and another which the user is typing in said entry widget). After comparing texts, it is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it OK to put a JS fetch() request in a for() loop? I need the JS on a weather station website to fetch the value of each sensor (4 times total) and then update the corresponding HTML elements.
On the server side, the URL /reading?name=...&r=... returns the reading "r" (eg. temperature) of sensor "name".
What I ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Move data from dataframe to vertica without staging I am trying to push data from dataframe into a vertica table, currently I stage the data into a CSV and use COPY command to insert the data into final vertica table.
Is there a way to avoid the intermediate step of staging the data into a CSV or temp table and rath... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Transparent highlight in XKCD plot? I would like to use some XKCD style plots on my blog. Here is an example figure:
import matplotlib.pyplot as plt
import numpy as np
with plt.xkcd():
fig = plt.figure()
ax = fig.add_axes((0.1, 0.2, 0.8, 0.7))
ax.spines[['top', 'right']].set_visible(False)
ax.set_x... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use React.memo to not re render when a new element is added to the component? I have a parent component that renders a list of text messages. Before I used React.memo, every time I enter a key all of the message components would re-render.
After I use React.memo, it solved this problem.
However, when I press ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert numbers into letters and letters into numbers(Cryptogram) So i was working with cryptogram in one of my hands-on exercise provided by my professor. My own version of cryptogram is that in encrypt() it should convert the strings into numbers while the decrypt will convert back the encrypt() results into lette... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Drive Api: how to distinguish between files and folders In a list of files I get with the Google Drive API in Python I'm wondering how to determine if an entry is a file or a folder.
I'm listing all files that are on my Google Drive and that are shared with a service account in python:
service = get_se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Sort geom_point in ascending order along one particular facet Given the data below, I'm making a simple coefficient plot. I know I could supply a custom order and custom labels to manually rearrange 'var' using scale_y_continuous(), but surely there must be a way to reorder a continuous variable (coef, in my data) w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not able to get list of arrays I'm receiving data from my remote database, I'm stuck on how to print all arrays in one list.
<?php
include 'db.php';
$conn = mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
} else {
getCountryInfo();
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Function fopen(filename, "r") doesn't work on my Ubuntu I am running a simple program to open a file. Some details about the OS and processor:
.Ubuntu 64bits
.Processor AMD Ryzen 7
Everytime when i try to execute always receive this error: No such file or directory
Already installed sudo apt-get install lib32z1 b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569655",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can i avoid connecting two controllers in an MVC pattern? In my JavaFX project, i'm implementing a restaurant managing program for a university project. I already saw an almost identical question to mine, probably asked by another student who is developing the same project i'm doing, but since i'm not in contact... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Complex regex pattern in VS.Code with lookaheaed/lookbehind I have an XML that I need to search for some node combinations. In specific, I need to find posts where node2 is empty and node4 is empty too. So suppose the following XML:
<data>
<post>
<node1>111</node1>
<node2>222</node1>
<node3>333</node1>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot inflate android.widget.Toolbar after using PreferenceFragmentCompat [cause: RtlSpacingHelper] A FragmentActivity that is correctly inflating android.widget.Toolbar stops doing so after the first deployment of androidx.preference.PreferenceFragmentCompat.
The stacktrace indicates the underlying cause of the fa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to dm a specific person with a discord bot in python I want to make a command that makes my bot send a message to the mentioned person, but this one line of code keeps returning NoneType. how do i fix this?
user = client.get_user('user id')
A: get_ methods only work when the thing you're getting is already in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: template argument deduce error for raw C string literal but works for std::string_view I'm designing a PEG parser in C++, and the parser should support both std::string_view and std::span<Token> as the token stream input.
In the code, I see that one template class can only be instantiated by some code snippet like a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: R - Progressively adding scatterplots onto the same graph Given dataframe df
Date A B C D E
<POSIXct> <int> <int> <int> <int> <int>
2019-10-3 2 1 0 4 6
2019-10-4 1 0 3 3 5
2019-10-5 0 1 1 2 3
2019-10-6 6 5 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Grafana delaying the data by 5 hours when imported from MySql I am trying to understand why my grafana is showing the data with timestamp-5 hrs with data remaining the same. I don't know why. Presently I am in EST.
Here is the MySql database connection, and I defined no timezone.
But presently the time now at my lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: For loop Xarray (NetCDF) - how to append results of for loop to existing dataset Very new to python/coding and trying to work with NetCDF data via xarray. Essential I'm trying to work with climate model data to compare future projections to historical values to get a % reduction in a snow ('snw') to show projected t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What am I forgetting/messing up in this line of R code? I've got to create code to that solves a Galton Board question.
The question states:
Building on your R script from Exercise 1 and the information presented in this document, write an
R script that:
*
*has comments at the top that explain what the script does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Multiple scale selection in same Y axis I am trying to use a large dataset for visualization and my data is in long format. I would like to plot a variable Y1 on Y axis, and legend shall be different color based on another variable attribute.
Data looks like below:
Now, since Y1 values are quiet differing for each ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why can't I not see icons in the terminal fedora? I have installed a Nerd Font, JetBrains NerdFont in Mono, and changed the terminal font to that, the text seems to change but the icons, do not update. I have install oh-my-zsh and zsh and cannot see the icons? I am running fedora 37
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75569682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Is it possible to map a list within a main list into the main list? Let’s say I have:
List<Thing> myList = …
And Thing is a class that includes:
String a;
List<String> b;
…
Is it possible to map myList in a way that generates a List<String> that includes all a and all b?
I want to end up with a List<String> with a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python Dash framework triggering callback out of context I am trying to get acquainted with pattern matching callbacks, and the code I wrote mostly work, but I am left wandering why is the "update_total" callback is being triggered when I click the "new_children" P.
In the following example, I was hoping to see "Tot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter Dynamic object fieldname I want to create a dynamic widget for my riverpod_hook project like
final value = ref.watch(trProvider)
TrText(value : value,fliedName: 'newPassword', placeHolder: 'New Password');
i'm trying something like that
class TrText extends StatelessWidget {
const TrText({
super.key,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Error: Objects are not valid as a React child (found: object with keys {}). If you meant to render a collection of children, use an array instead." I am attempting to create a dropdown menu that displays a list of months and a list of days that the user can freely choose from, which are then added to a specific ind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Obtaining \n\n\n\n while scraping from web in Python enter image description here](https://i.stack.imgur.com/NQ6ZH.jpg)](https://i.stack.imgur.com/X8A8q.png)
how can scrape this site I try a lot
https://directory.bcsp.org/
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75569692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: In a Celery task, using subprocess.Popen to execute a shell command, but unable to capture the standard output of Popen @app.task
def run_shell(command: str):
p = subprocess.Popen(
command,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
shell=True
)
while True:
f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Equivalent function in Azure RTOS ThreadX I want to switch from FreeRTOS to Azure RTOS ThreadX. In FreeRTOS there is the function xQueueSendToBackFromISR() - It is used to write data to the queue from an interrupt service routine. FreeRTOS interrupt provides an interrupt safe version of queue API to read and write d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a more readable and efficient way to set up a grid than this in HTML and CSS? I recently began learning HTML and CSS and I tried to format my webpage. I ended up with something that is quite unreadable and it seems like there is a better way to do this.
Here is my HTML and CSS code:
body {
background-co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: the issues with mysql statement showing error 3065 I am getting a very starnge mysql error and the error is quite annoying
Here is my query
SELECT DISTINCT cw_options.option_name
,cw_options.option_id
,cw_option_types.optiontype_id
,cw_option_types.optiontype_text
,cw_option_types.optiontype_name
FRO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: If statement true for element attribute check, but breaks anyways So I am working on a selenium surf automation of this website ->
See attached image to understand the issue better
The problem im facing is, the code (see below) allows for two exact same (seemingly) ads to be true for the main if statement, which che... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Draw Rotated (Vertical) Barcode Using QPL (Quick PDF LIbrary) I need to draw rotated (vertical) barcode using qpl. I can draw horizontal (green marked) barcode, but can't find any way to draw vertical/rotated (red marked) barcode.
Note: this is sample/original pdf, i need to print similar barcode in output file
i h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extract the 7 words before every '$' that appears and the 7 words after it (or until period) This is for autohotkey and I imagine I would need an array for this, which I have set up already that I should be able to use this regex with.
As title says, trying to get 2 different regex codes:
*
*Extract the 7 words be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to click an image then it'll open the link in a new tab without using anchor tags, purely JAVASCRIPT Help me pleaz
let discordLogo = document.createElement("img");
discordLogo.setAttribute(
"src",
"https://media.discordapp.net/attachments/1079211646746099792/1079217653916377148/discord.png?width=4... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: React Native app compiled with many warnings with "Error: ENOENT: no such file or directory" after importing React Navigation The following 2 import statements caused this:
import {NavigationContainer} from '@react-navigation/native';
import {createStackNavigator} from '@react-navigation/stack';
Are the warnings so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uncaught SyntaxError: The requested module '/src/router/index.js' does not provide an export name default I am attempting to build a vue 3 with and typescript website and am getting an error but can't figure out why. The error I get is
Uncaught SyntaxError: The requested module '/src/router/index.js' does not prov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VSCode won't open on mac I was using the neovim extension it was working fine but recently wasn't able to go into normal mode. So I followed the instruction of https://github.com/microsoft/vscode/issues/86745 and deleted the files ~/.config/Code and
~/.vscode. After that I deleted the Vscode app and reinstalled it. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sequelize On DELETE, delete from junction table? I am building a spaced repetition notecard application and using Sequelize. I have two models:
*
*NoteCard
*LearningStack (A collection of NoteCards)
The two have a many-to-many relationship because a notecard can be part of a "DailyLearningStack", which are notec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does element-wise division on dataframes yields NaNs even when the indices are the same? I'm confused about why result_col is all NaNs and result_row gives the expected result. In other questions here, the NaN result has been attributed to "misaligned indices." I'm confused about what that means, since the row i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to pass mutiple parameters from YAML to Powershell Function I have to invoke POST METHOD from powershell function which is having 8-9 parameters and these parameter may contain big strings.
I am calling powershell function from Azure DevOps Yaml based pipelines and We have a configuration YAML file which contain... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Raspberry Pi 3B Bare Metal USB driver I've been trying to understand and implement on-board USB communication for the Raspberry Pi 3B in a bare metal environment.
If I understand correctly according to this repo https://github.com/rsta2/uspi/blob/cb82923c079853bc53e70c7afd620ae9a2154150/lib/dwhcidevice.c#L433
, the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to filter a pandas DataFrame to show the largest value for a given column? I have NBA data for every game played until January of 2023. I went ahead and combined all the points and now have it as this:
I used the groupby function to sum up total PTS
I wanted to filter the dataframe to show the most points scored... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: KeyError in text based adventure game python I have just about completed my text based adventure game and for the most part it's functioning as intended the only problem I have is that when the player moves into a room that has an item one of the possible moves becomes item. One of the actions that the player can ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Window displays screen without calling refresh()? In the python curses documentation, it states the following:
When you call a method to display or erase text, the effect doesn’t immediately show up on the display. Instead you must call the refresh() method of window objects to update the screen.
As a result, I wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Given that f(x) is a function satisfying f(1)=1 and for any x belongs to R, f(x+5) >= f(x) + 5 and f(x+1)<=f(x)+1. if g(x) = f(x) +5 - x, find g(2022) I am struggling to solve this problem,
I couldn't understand the mathmatics to solve this problem, it will be really helpful if anyone can help me with this problem.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get AWS ECS Task Description Tags in PHP Laravel I have dockerized Laravel application on AWS ECR/ECS using Fargate Task Definition. I have set some tag/value pairs in the Task Definition (ex: RDS_HOST, RDS_USER, RDS_PASS). And I want Laravel inside the running Task (Container) to access and use these values as regu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why string.split is not work with first space
const str="w-full from-[#b4abe3] to-[hsl( 252, 100%, 96%)]"
console.log(str.split(/\s+/))
I have already tried, but unfortunately it outputs 'w-full' 'from-[#b4abe3]' 'to-[hsl(' '252,' '100%,' '96%)]'.
I want the output to be
"w-full" "from-[#b4abe3]" "to-[hsl( ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create overloaded method that is Implemented recursively I am creating a mortrage calculator in Java using recursion and the first thing I did is to create a method that takes a payment amount and returns the number of months to repay the loan. If the payment amount is too low this method throws a PaymentExce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make wall collision on Pacman game? (Greenfoot) I want to make Pacman game but i so confuse with that, Whereas greenfoot does not support the detection of merged transparent image objects.
I tried to use getColorAt() but I tried to use getColorAt() but the image imported to greenfoot is the color as in the fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I want to make the 'toolheader' section invisible [enter image description here]
(https://i.stack.imgur.com/uVSQX.png)
i had wrote the question on attached image.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75569747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How can i fix BadZipFile problem in jupyter? df = pd.read_excel('C:\\Users\\Administrator\\Documents\\Tugas\\data.xlsx', engine='openpyxl')
When I run this in Jupyter, I get the following error:
BadZipFile: File is not a zip file
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75569748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FileNotFoundException exception for jar explicitly removed from war in tomcat We recently upgraded our application from Spring - 4.3.2.RELEASE to 4.3.30.RELEASE and started observing following FileNotFoundException for our application in .war format with following tech stack:
JDK - 8
Tomcat - 8
Spring - 4.3.30.RELEA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS layer errors out with "Runtime.ImportModuleError - Error: Cannot find module 'tslib'" I will try to be as clear as possible when I ask about this problem.
Context: I have a lambda function and a layer. The layer is a means of sending emails using the AWS SES. The lambda is merely a function that calls this layer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: this error appears when running any script: TypeError: unsupported operand type(s) for +: 'dict' and 'int' C:\botg\bottg1>py main.py
DB was not found(1/4)
DB 1 was create...
DB was not found(2/4)
DB 2 was create...
DB was not found(3/4)
DB 3 was create...
DB was not found(4/4)
DB 4 was create...
BOT was started!
Tra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: GoLand get dependencies: Access is denied Source code https://github.com/donhuvy/golang-fiber-jwt-rs256 , Windows 11 x64, GoLand 2022.3.2
Environment
Microsoft Windows [Version 10.0.22621.1265]
(c) Microsoft Corporation. All rights reserved.
C:\Users\donhu>go version
go version go1.20.1 windows/amd64
C:\Users\donh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tar doesn't work linux ubuntu doesn't extract tar.xz and tar.bz2 files it says Error is not recoverable: exiting now in most cases @DESKTOP-BK9717N:~$
And it is always returning:
tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
Try 'tar --help' or 'tar --usage' for more information... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is there a way to to do a 3-way TortoiseGitMerge on a file post-merge? The 3-way merge does everything I need, but once the merge is complete it goes away. I simply want to repeat the 3-way on a single file after a completed merge, and perhaps make different choices.
I know TortoiseGitMerge can do it with a command ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: a wordpress project with local by flywheel fails at sharing i made a Wordpress project using local by flywheel as hosting service, the problem is that when i try to visit my project from any other device, it appears like the page just doesn't exist. The page is correctly deployed and i already tried re-doing from ze... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: A mysql table was dropped leaving the tablespace information. What is the syntax for drop tablespace Due to some ssh tasks being orphaned I ended up with table space and no table. I can not figure our the syntax. The table is referenced in the following files in /var/db:
./mysql/mysql/innodb_index_stats.ibd
./mysql/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: spam emails sent from my google account after laravel google smtp configuration I recently setup my gmail account to send out automated emails for password reconfiguration and that sort of thing on my laravel project. And it works fine but this morning I got a message saying that my daily quota has been exceeded. Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Blazor Server Application - add or update claim after authentication It is required to add or update claim after user login/authentication.
We are using below code for adding custom claim, its working fine but when we reload page the previous added claim wont available or gets removed from Claims Identity.
public s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating Multiple Mutexes in Rust for Thread Synchronization I'm not familiar with Rust.
The program I'm trying to write will have the value of n determined at runtime.
I want the program to have the following behavior: n threads will be created, each interacting with a user and storing data (these are slave nodes).... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |