text string | meta dict |
|---|---|
Q: How can I make shapes not draw over each other in pygame? I want to make a line that extends out to the spiraling circles on the screen, with the circle constantly drawing a spiral shape, but the line simply growing longer as an "tether" from the center of sorts. However, the line seems to keep drawing over the shap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: mypy doesn't understand class and interface are the same from abc import ABC, abstractmethod
class IState(ABC):
"""Interface para o padrão de projeto State."""
@abstractmethod
def sucesso_ao_pagar(self) -> None:
pass
@abstractmethod
def despachar_pedido(self) -> None:
pass
... | {
"language": "pt",
"url": "https://stackoverflow.com/questions/75566539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IntelliJ can't find Maven dependency even though it exists I'm using IntelliJ and I'm trying to build a Java project using Maven. However, IntelliJ keeps giving me an error that it can't find one of my dependencies, io.jsonwebtoken, even though I know for a fact that the dependency exists in my Maven repository. And... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566541",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: adding my games on the site in categories rather than randomly leaving them like that online I have a website full of some old games, reviews, DOS games, etc. and they r over 2000+ games scattering around without organization what so ever and I want to fix that but was looking for something to automate this because ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: My model changes the size when the animation is started When the game starts, the animation starts with it, how do I make it so that the animation will not change the size of my model.
I tried adding the animation which ended up being successful but the animation changed the size of my model as well as the position,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem with matplotlib date formatting and conversion from epoch time: OverlowError: int too big to convert The time on the x-axis of my plot is in seconds since the epoch, and I want to convert them to "Year-Month-Day Hour:Minute" format. I follow the documentation here, and I get this traceback:
Traceback (most r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R function working with scalar input, but not working with vector input I am running the following function:
ll = function(b){
o = numeric(length(d))
l = numeric(length(d))
for (i in 1:length(d)) {
for (j in 1:nrow(a)) {
if (a[j,1]>=d[i]){
if (a[j,3]==1){
o[i] = o[i] + 1
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error when using command Val rdd in Spark-shell I am working on a lab assignment to follow an online tutorial, reference link, https://sparkbyexamples.com/
When I replicate the following attached screenshot below:
Tutorial Screenshot
I receive the following error message in Spark-shell, please see the attached seco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel migration failing because the database is empty I've been building a laravel application, then xampp gave so many issues so I deleted it with the databases. Then created new empty database and tried to migrate, but it giving me this error:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'accept.us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566552",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: BSD-3 Licensing in Flutter's Documentation Flutter Documentation code samples are licensed under BSD-3, does that mean when learning from it and then applying that to my code I should include the license in my code (and how would I do that), or only when copying substantial blocks from the documentation into my code... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VirtualAlloc in specific memory range (Windows, x64) I am trying to allocate a memory region with a specified maximum absolute distance from a given base address.
For example, let's say the base address is 0x007FFFFFFF400000 and I want to allocate a block of memory with size size that is reachable through a relative... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create arrow in this ego network? import networkx as nx
import matplotlib.pyplot as plt
G = nx.Graph()
G.add_edges_from([('A', 'B'), ('A', 'C'),
('B', 'C'), ('E', 'F'),
('D', 'E'), ('A', 'D'),
('D', 'C'), ('C', 'F'),
('D', 'E')])
ego ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to resolve String cannot be converted to double error? Basically I have created a object i.e. Smartphone where it has attributes like name, price, color, ram, rom. I want to assign random values to the name and price attributes so I have created two separate methods for that purpose. Method to assign random stri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-6"
} |
Q: How to use the dataset comes from pytorch random_split()? I'm new to pyTorch and this is my first project. I need to split the dataset and feed the training dataset to model. The training dataset must be splitted in to features and labels (which I failed to do that). Here is what I have tried so far, however, I don... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stripe subscription (reactjs and nodejs) is succesful lbut no confirmation I have a strange problem ....
I try to set up a subscription via Stripe in my ReactJs project. The payment goes through, I can see it in my Stripe dashboard, but my program doesn't continue to work ( I dont get a confirmation).
This is the fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R replace misspelled words I have a dataframe:
state=data.frame(ST=c('ANDAMAN & NICOBAR',
'ANDHRA PRADESH',
'APO',
'AR',
'ARUNACHAL PRADESH',
'ASSAM',
'BIHAR',
'CHANDIGARH',
'CHHATTISGARH', ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I cast a void pointer to struct type? So I want to know what can I do to type cast a void pointer to a struct type.
Code-
#include <stdio.h>
struct man {
int age;
int var;
};
struct woman {
char c;
int age;
int var;
};
void *ptr;
struct man mlist[2];
struct woman wlist[2];
struct man ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Separating array component from tuple component in intersection or getting a usable tuple out of it This problem is popping up more and more in my generic code in a variety of situations and I am sick writing ad hoc utility types for each situation:
The tuple spread syntax is broken when a tuple has been intersected... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sending message from Mattermost golang bot to any user How i can send direct message from mattermost bot to user? I find similar question, but it not works for me:
package main
import (
"github.com/mattermost/mattermost-server/v5/model"
)
func main() {
client := model.NewAPIv4Client("https://server.name.h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I use df.to_sql() with SQLAlchemy AsyncSession/AsyncEgine Expecting similar things where engine is AsyncEngine:
df.to_sql("temp_data", engine)
I tried to use:
await session.run_sync(df.to_sql, name="temp_data")
but return error:
AttributeError: 'Session' object has no attribute 'cursor'
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75566585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: NoClassDefFoundError when using Log4J I wrote a small script to try Log4J, but always an error occurs:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager
at de.redstonepfalz.cachebuilder.CacheBuilder.<clinit>(CacheBuilder.java:7)
Caused by: java.lang.ClassNotFoundE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Installing problem of app showing that app contain trojan from android studio I have made a Android app install via USB from Android Studio contain Trojan showing in MI phone why?
App doesn't contain any stuff except Hello World text in the centre of the app. It does not have any third party library or any dependenc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: What is a good pattern to share a custom dispatcher for Exposed in KTor With Koin I've been a huge Kotlin fan for a long time, but generally have only used it as a Java-replacement, ie with traditional Java libraries & frameworks like Spring. I'm currently going down the rabbit hole of exploring "pure kotlin" soluti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to know where a file (like show.aspx ) is used in .NET project in Visual Studio? How to determine where a file (like show.aspx) is used or addressed in a .NET project in Visual Studio?
I want to know the path through the web pages.
In some editors, it is easy to right click on it's name on solution explorer and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is PySpark rollback possible with parquet files I have an ETL pipeline implemented in pyspark. I have implemented change data capture (CDC). Source and destination both are Parquet format tables.
My ETL reads a set of tables from source, processes them and stores the same set of tables in destination with additional... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python doesn't detect an installed module I started creating a voice assistant in python, but my python don't detect the speechRecognition module. Anyone can tell me what I do wrong?
Thanks for the response
I listed and it in the list. I tried to detect it and the pip said it in the library
A: can anyone find the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Null check operator used on a null value with flutter and dart I resently came across this error while building my flutter app.
======== Exception caught by widgets library =======================================================
The following _CastError was thrown building StreamBuilder<QuerySnapshot<Object?>>(dirt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to skip null bitmap value from a database when retrieving an image I am trying to set a flowlayoutpanel to show images from access database VB.net, but when it reads an empty cell from the image column is gives me error saying
specified cast is invalid
the image data is in bytes I just don't know how to proper... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you get Swagger/OpenAPI to use JsonPropertyName attribute value instead of the C# property name In this example
[JsonPropertyName("perPage")]
public int? PerPage
{
get;
set;
}
Swagger/OpenAPI documents the proeprty as PerPage not as perPage which is how it will be serialized json. HOw do you get Swa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't do npm i in Angular My project was going fine until i pull from github some new changes. After that my project build failed when i do npm run build. I think that was because of my node modules so delete them and do npm i on my project but it is giving me error. I tried everything by changing on different node ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: intel alderlake performance degradation after spin wait I'm tunning my program for low-latency.
I have a tight calculation function calc(); which is using SIMD floating point instructions heavily.
I had test the performance of calc(); using perf command. it shows that this calc function is using ~10k instructions an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: PySide2 timer.timeout.connect can't call any function I can't call functions inside the main class with both timer.timeout.connect() and button2.clicked.connect
When I did not use Pyside2 with MainWindow class it worked.
My goal is to stream the video from picamera to the application through tflite and openCV (what ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you listen for changes in the length of the input array I made a MenuComponent component and I want to sense that list length has changed and do something like make a request.
import { Component, EventEmitter, Input, Output } from '@angular/core';
type List = {username:string}[]
@Component({
selector: 'ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get NGRX/Redux to stop transmitting data to subscribers when the data in the store hasn't changed? When the user completes a test in MatchingPairsComponent, the following function is called to transmit the user's result to the backend.
private updateUserTestRecord = (testType) => {
const newTestRecord = {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to hide popular Star section in Oxoo app How to hide popular Star section in Oxoo app
I have created android app Using Android Studio but I'm unable to hide this section from Home screen.enter image description here
Expecting to hide this
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75566610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filtering Core Data with predicate to only show entries for today (filter stops working) Expected behavior:
*
*The user enters at least one entry per day.
*The user sees a button for "Please make an entry"
*Unless they already have then the button says "Saved" and if they tap it it goes to HistoryView. (The butt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom Hook React Native I have script that needs to validate textInputs. I want to move the 'validate' function to another script to make it reusable. I have created 'ValidateInput' function, but, I am not sure as how to move it and how to pass the parameter from 'Form.js' to 'Validate Input.js'.
This is the initia... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why request is not going to server? Why useLazyQuery request is not sent to the server
I was trying to the users details using graphql useLazyQuery() when "/chat" page reloads.
// Query
const GET_USER = gql`
query GetUser($userid: ID!) {
getUser(id: $userid) {
id
email
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do virtual methods in C++ not work as expected with stack allocated variables? I have these simple classes:
class Entity {
public:
virtual std::string getName() {
return "Entity";
}
};
class Player : public Entity {
private:
std::string name_;
public:
Player(const std::string& name): name_(n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I hide specific content from screen capture on Android? I am developing an app on Android using Java. There is specific content on the app that I want to be hidden from screencapture (recordings and screenshots).
This content should be made transparent, so you can see what is behind it (e.g. an image behind ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: can't access to usb key my usb key is recognized by windows, i see this in disk management
but not see it on diskpart,
ho to recover it?
same problema on another usb port or pc
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75566619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Adding Material3 dependency conflicts with androidx.compose.runtime.livedata Have faced pretty odd behaviour with Compose dependencies.
I need
implementation "androidx.compose.material3:material3:1.1.0-alpha07"
But after it is added to the build.gradle and sync successfuly I have a variable
val someVal by viewModel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is not a function using prototype in js vanilla This is my error, but I have some functions like that and they work. What am I doing wrong?
I try to change the prototype's name but it's the same error
function Pendejo(nickname, edad, pendejo) {
this.nickname = nickname;
this.edad = edad;
this.pendejo = pende... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to Extract Zip File from gmail using script I want to extract a csv file from ZIP file in the Gmail attachment. I want CSV data to be written is spreadsheet. I'm using the below script -
var gmailThread = GmailApp.search("from:abc@xyz.com subject:\"Mailer on\"", 0, 1)[0];
var attachment = gmailThread.getM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vertical scrollbar causes horizontal scrollbar in TailwindCSS I am using TailwindCSS. Whenever I have a page, a vertical scrollbar appearing (because the page is higher than the screen), also causes a horizontal scrollbar to appear. The issue only appears in Chrome and Edge, but not in Firefox or GNOME Web.
I narrow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use prefix syntax to retrieve a deeply nested setting [array] from an appsettings.json file Is there a way to retrieve a specific WriteTo object from the following Serilog json snippet from my appsettings.json file using the prefix syntax?
here is the file section
"Serilog": {
"Using": [ "Serilog.Enrichers.Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Redirect after Alert button is clicked - Angular I'm building an app in angular and C#.
I'm sending a message (using SignalR) from one user to another.
The message is sent as an Alert (popup window) to the other user, but the problem is that I want to redirect that user (the one who got the message) to another compo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to sum (totalize) a variable in grid using for each? UI'm new in genexus and I'm trying to make a simple sales system.
I'm trying to totalize a variable using a For Each line in Grid
Here's my screen:
SaleScreen
My SubTotal works but Total stay one step behind
And here's my code:
Event GridProduct.Load
For Eac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Importing data from Google Sheets to Wordpress MySQL database and vice versa I am looking for either PHP or Javascript code, that will be importing data from Google Sheet to the Wordpress MySQL database and will be updating MySQL database after doing change in the Google Sheet. And vice versa, update of Google Sheet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Entity Framework Core keeps throwing error "'No database provider has been configured for this DbContext" I am about to go insane. I am studying software engineering and we are doing C# with .NET currently. So we are supposed to use Entity Framework to create and send/receive data from a database locally on our PC w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Have column with multiple values and want to put values into one cell based on unique value I am dealing with three tables - "Assignment Table", "Instructor Table," & "Course Table".
Assignment Table contains this type of information:
enter image description here
Course Table contains this type of information:
enter... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fused Location Provider method getLastLocation() returning null values I am implementing a location android app , using fused location provider client .It has been working few days ago but actually it craches because it is returning as value null and here is what i got as error message : java.lang.NullPointerExcept... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Applying MongoDB patch to in-memory object in C# I want to apply changes on a C# object from a mongodb like update definition. For example lets say I have the following code:
using MongoDB.Bson.Serialization;
using MongoDB.Driver;
class Program
{
class Employee
{
public string LastName { get; set; }... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Playwright. How to skip all tests in a group if selector not found? I am developing E2E tests with Playwright for angular app. I have to ensure that needed conditional selector exists in order to proceed, otherwise skip further tests.
In other words I need to skip all tests in a group if await page.isVisible('button... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GraphQL Federation Uploading File - This operation has been blocked as a potential Cross-Site Request Forgery (CSRF) I try to upload images to Cloudflare R2 bucket. But when I upload a file on Client side, this file comes to Gateway successfully. After this step, it doesn't go to subgraph and gives this error on dev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: IoT Edge: SimulatedTemperatureSensor not working on my Raspberry 3 A+ I have a Raspberry Pi 3 A+ and I downloaded Raspberry Pi OS 32 bit to my hardware. I have installed IoT edge in accordance to these instructions: Create and provision an IoT Edge device on Linux using symmetric keys. Connecting to the IoT Hub and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python matplotlib subplot only show one figure with imshow I am trying to plot multiple colored graphs using matplotlib.
But my problem is that it plots only the last one of my subplot no matter what I try.
I have located another subject with the same title on the forum but it is not the same problem as mine.
Any he... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Exposing domains using R-ArcGIS bridge (package arcgisbinding) I am using the R-ArcGIS bridge via the package arcgisbinding to access a file geodatabase in AcrGIS online.
I can bring data into R using arc.select but cannot see coded domain names. For example, if I have coded domains Y, N for 'Yes' and 'No', then I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Noob trying to code a twitterbot trying to scrape accounts. Error filtering data for accounts in twitter ""statuses" not recognized" in py I am new to programming please, help.
I am trying to build a bot that scrapes twitter accounts that are based in the US with followers between 10k and 50k and then exports it to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unhandled Exception: type 'List' is not a subtype of type 'List?' I have this list JSON output
"invoiceItems": [
{
"description": null,
"id": "13",
}
],
I use below code to convert it to List<InvoiceItemDto>
invoiceItems: json['invoiceItems'].map((data) => Invoi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: One of several values as a type in Mongoose (union type) I'm trying to make an API for sign-up, where user needs to enter their gender: "male" or "female". I tried this:
{
gender: {
type: "male" | "female"
required: true
}
}
But this does not work. I searched for solutions but I have not found a solutio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use find to identify directories with more than X Megabytes So I've been trying to solve a university exercise that asks to create a script that identifies directories whose size is greater than a given dimension.
I was thinking about using find to do this, using the following command:
find -type d -size +100M
This... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why main.jpg not showing why main.jpg not showing
<!DOCTYPE html>
<html>
<title>W3.CSS Template</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="middleEastern furniture" />
<link rel="stylesheet" href="https://www.w3s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Build failed while trying to deploy website ( @parcel/transformer-css: Unexpected token '.') I was trying to deploy a static website using CloudFlare when the build failed :
This is the log :
Cloning repository...
From https://github.com/The15Coder/SNNN
* branch 55e8dffa9fe96940dd521b5541866bc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why this arrow function is returning 6? This is a short piece of code of JavaScript. And why this arrow function is returning answer 6?
var arguments = [1, 2, 3];
function foo(n) {
var f = () => arguments[0] + n;
return f();
}
console.log(foo(3));
I was expecting answer to be 4.
A: arguments is a keyword a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: node_modules directory is empty in packaged app when using @electron-forge/plugin-webpack In an electron application im using the @electron-forge/plugin-webpack plugin. Here is my forge.config.js file.
module.exports = {
rebuildConfig: {},
publishers: [
{
name: '@electron-forge/publishe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AttributeError: 'Ui_MainWindow' object has no attribute 'show' pyside6 Im using Pyside6 with pyqt6 on Qt designer. I just tried to make a basic pushbutton (which does nothing) inside a grid layout inside the main window on the Qt designer. I saved that file in ui format and converted into python file using the uic.e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error: Unable to resolve module react-native Using react native with typescript template, no expo, Everything was working well, until i tried to add react-native-image-picker, i thought i'd fixed it, but somehow i get a lot of trouble with my modules,, the build is successful, but metro keeps giving me this error :
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Suggest DOM event when coding Javascript I want to show code hints like: onclick, onblur..... Is there any extention that can help me do that?
I tried installing tabnice,JavaScript (ES6) code snippets but look at the picture below, I typed .oncl but vs code doesn't suggest onclick as expected.
enter image descriptio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to copy all zipped csv files from a folder in a table in postgresql? I want to copy from following folder 'c:\test\202201' all zip files with timestamps into a postgresql table.
The zip filenames contains the date and time from the creation of it.
*
*202201_010206_file.zip
*202201_010509_file.zip
*202201_010... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: MS Access RunLoop=false in other forms how can i stop a loop in another form?
I am running a loop in formA and i want it to stop when a button in Form B is clicked.
is this possible?
Kind Regards-
i tried [forms!FormA!Runloop=False
A: Possible communicate between forms, using public members of form. Please see exam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get ranges from numbers I have a data frame table called "trips" from which I wanna create two new tables with new variables.
*
*Existing data frame "trips" where I have the number of rides with particular trip duration in minutes:
Trip duration (min)
Number of rides
0,5
50
1
300
3
500
14
200... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Blocking poll for new commits in remote I have a git workspace and am running a script which executes git pull --rebase every minute.
But I am looking to be able to blocking poll for new commits in remote which then runs git pull --rebase right away, instead of being at most delayed by the minute.
A: If new commits... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: python don´t excecute when start container with crontab I try to execute a python when the container start.
I use crontab in the container:
crontab -l
@reboot python3.10 /opt/django/manage.py runserver 0.0.0.0:8002
But when I stop and start container with portainer the python didn't execute
A: The way you're tryi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is there a way in R to create a table from an edge list that lists all connections for a node in a single string? I have an edge list with names of organizations and their connections to other organizations. I am wondering whether there is an efficient way in R to create a table in which one column lists the outgoin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Question on Haskell syntax. Continuation monad example trying to understand Continuation monad examples implemented in Haskell.
Question:
where does fn in 1st line of goto on the right - in out fn part comes from? Is it some omitted argument or some destructuring of out [same with out (fn, num) in gotoC]?
Imagine yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pegasus automatic summarization - partial failure to summarize. PROBLEM: "All images are copyrighted." I've written some code in python that scrapes a news website homepage to take all of the URLs, each linking to the different stories on the page.
The code then parses each individual story using BeautifulSoup. The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pyighton cannot generate PNG Image unload the PNG image, and I have an image with a white background, and the background should be transparent, help how to make the background transparent, thanks a lot in advance.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75566703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how to change size unit in flutter I was developing an app that worked smoothly on the emulator and my phone but when I tried it on a third device there were yellow zones ( only a part of the screen was displayed).
I thought using sizedbox(height: 30), will work for any device cause I didn't specify the measurement ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How do I make a gameobject I am placing collide with an already place gameobject? I am trying to place a gameobject, but if I try to place it on the ground it does not collide with other placed objects and vice versa. The object I am placing has an inactive Box Collider, because if it is active before placing it, un... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is a more reliable way to wait for a service to be up and running in Drone before one of the steps tries to connect to it? See this section from Drone's official documentation:
kind: pipeline
type: docker
name: default
steps:
- name: ping
image: redis
commands:
- sleep 5
- redis-cli -h cache ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: space keycode not working in python pygame I can use the arrow keycodes only for making my text print when I try to use space nothing happens but it does with work the arrow keys here is my code
if event.type == pygame.KEYDOWN:
if event.key == pygame.K_SPACE:
print("hello")
I tried changing the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: JQuery/JavaScript Get Object in Array that has attribute of specific value I have an array of Objects with IDs. The Array looks something like this:
var array = [
{
"id": 0,
"name": "Test"
},
{
"id": 1,
"name": "Test2"
},
]
I'd like to k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use this parameter on non-static class property object attribute? I am not sure why, but I have two methods that both use this as a type, but one works and one doesn't. I get the following error:
A 'this' type is available only in a non-static member of a class or interface.
export abstract class BaseModel ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why i cannot add png image to pdf using pdf-lib? I tried to add png image in nest.js using pdf-lib
import { PDFDocument } from 'pdf-lib';
import * as fs from 'fs';
const existingPdf = await fs.readFileSync(
'./agreements/1431993ded73f6a0be5653a3e3fc680f.pdf',
);
const pdfDoc = await PDFDocument.load(e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I want to download text inside placeholder,i want this code to work on my chrome extension option page? I want to download text inside placeholder as text file in my chrome extension options page.it is working well in w3schools compiler but not working in chrome extension
here is my code:
<script>
function downl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Images that imported in JavaScript not showing after parcel build I am building my app with parcel. I have some images that I implemented their path in JavaScript . for example I am using lightGallery and I gave images path (src) in JavaScript file. after I build with parcel it gives me a dist folder with all photos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: tkinter windows won't open now i'm trying to make an AI that beat the snake so i decided to make the game and it worked but then i added some calculations and the tkinter windows won't open
there is no errors
my code is not perfect but it is here: (i worked on setoutput before it didn't work, avance is the main func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: when is the call stack really empty? https://promisesaplus.com/#point-34
onFulfilled or onRejected must not be called until the execution
context stack contains only platform code.
Promises (then(), catch(), finally()) and async functions are executed until the call stack is empty.
Therefore, does this basically m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Conditional formatting using openxlsx package in R not working I have the following code, where I want the column Score to be conditionally formatted based on the value of the column max. If the score is 8 and max is 8, green. If the score is 4 and max is 8, yellow. if the score is 4 and max is 4 then green. If the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: As no valid configuration was found, execution cannot continue, when i run DataJpaTest I have application that create Course and Instructor, for this application i write some test. But they does not work correctly. Few days ago, everything work correctly, but today not!
So when i run my DataJpaTest, i have some prob... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python Subprocess.call gives error with print passed through I'm getting an unexpected error with subprocess.call() and trying to execute a print statement.
Here's a simple version of my code that will reproduce the same error.
import subprocess
cmd = "print(1)"
subprocess.call(cmd, shell=True)
When I run this cod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566733",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Been developing mobile apps with android studio 32 version but my enumerator can only display a blue screen after split view Android studio can't show up the white screen ebumerator.
I have been developing simple apps and it was ok though when i tied to launch a portal, well, some how the white screen is not visib... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to close main window upon login to open another window? I am new to PyQt and I have been trying to build a GUI where upon login, the first window should close and open a web-view in a new window. After some research and going through some similar posts, I have managed to run the code in PyQT5, but it does not wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Windows, the http.sys component rejects any incoming post requests that do not include a 'Content-Length' header How is it possible to ignore the Content-Length header validation check for incoming requests of the HTTP.sys component?
I have not found any way to ignore the Content-Length header validation check of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Databinding EditText.setText() doesn't work I know that question were asked several times, but I can't get it working. EditText not gonna filled in onCreate(), onResume(), onPostResume().
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
binding = ActivityLoginBinding.i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Scipy Minimize - Keep getting a singular matrix error I'm trying to optimize a 52x5 matrix to maximize a return value y. There are 3 types of constraints that I need to include:
*
*Total sum of all the elements must between a min and max range
*Total sum of each column must be between a min and max range (provide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In the following code, when doing a runtime analysis what should be considered as the n that the runtime depends on? public static void method(char[][] c) {
if (c.length >= c[0].length) {
for(int i = 0; i < c[0].length; i++) {
c[i][i] = ’*’;
c[i][c[0].length -1-i] = ’*’;
}... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Modifying Python N-Queen program to show all possible solution instead of just one I've found a code that uses Constraints module to create a N-Queen problem solver. My goal with it is to make it show all of the possible solutions, instead of just one it currently shows. I am asking for instructions and explanation,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Can some one please help me? I made a code of dalle api
And when i finished my code it's tell me
promt_input = ctk.CTkEntry(
TypeError: CTkEntry.__init__() missing 1 required positional argument: 'master' ```
I didn't know what i must do so can any one help me?
---
This is the code
from auth import aut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75566746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |