text string | meta dict |
|---|---|
Q: My ASP.NET Core application doesn't work on EC2 (Windows 2022) "AccountServer": {
"commandName": "Project",
"launchBrowser": false,
"launchUrl": "api/account",
"applicationUrl": "https://52.79.136.53:8888;http://52.79.136.53:8889",
"environmentVariables": {
"ASPNETCORE_ENVIRONME... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is QMUX.request() method designed to pass the timeout parameter compulsorily? I am connecting to a host using the config below, which has the timeout property too.
Now my question is why do I again need to pass the timeout param to QMUX.request(msg, timeout) ?
my understanding is that, the purpose of <property n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Getting the uri of the file passed to the program and copying it I'm trying to get the uri of a file from the intent when the program is launched from the explorer by passing the selected file into it. For further copying of this file and processing.
To make an application appear in the "Send to" list of a selected ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can i export the table as pdf in agular I'm new to angular and I'm trying to make a simple form site. I want to export the table as pdf but they usually save the data in an array and pull the data from there, but I'm using json-server so I'm having a hard time what to do.
product.service.ts
import { HttpClient }... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Avoiding functions repetition in activities and viewholders How to avoid repeating functions that are used in activities classes and view holders? If put all the functions in a root class that extends activity class I will not be able to use that class in a view Holder as it extends activity class. If I use an inter... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to import css file in Next js Packages I'm working on a new package for React Js which contains CSS files, I added it to a react project and it has worked as expected.
But when I try to add it to a Next JS application, I got the following error.
global css cannot be imported from within node_modules
How can I f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I implement this Python script in Arduino I've tried a lot, but I don't understand the assemblers in Arduino.
Here's how to use it. In python it works on my pico. But how can I implement this in Arduino.
https://docs.micropython.org/en/v1.9.3/pyboard/pyboard/tutorial/assembler.html
CLOCKS_BASE = 0x40008000
C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Modify rows in a 2d array so that datetime stamps are contiguous I have a 2d array of jobs and each job contains a start time, an end time which is always 60 minutes after the start time, then an "add" value which is the number of minutes until the next job should start.
I need to adjust all rows so that each start ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SSIS package doesn not run in a SQL Server job My package is used to extract data from xml to a database.
When I execute the package in Visual Studio, it completes all tasks successfully.
But when I deployed the package to server and execute the package under Integration Services Catalog, it fails to get the xml sch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: NGINX: Use variable for scheme in proxy_pass I'm trying to use a different scheme for the proxy_pass rule based on the value $host variable.
However it doesn't seem to work, here's the behavior we're observing.
If we set proxy_pass with a constant scheme like this proxy_pass https://$upstream; everything works well,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to I exclude the E-commerce sites from google search results for any keyword? I am doing search by Keyword (like: Computer) from my Backend NodeJS server and I don't want to show the e-commerce sites from the search results to client. Please let me know how to achieve this.
I want to detect the e-commerce sites ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Writing a JavaScript test for XMLHttpRequest Whilst testing a function which uses Sinon's fakeXMLHttpRequest, when I run the test I get:
Error: connect ECONNREFUSED 127.0.0.1:80
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
I serve up an Express location in my server.js - it sends a variable w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: problem with j index in this C function but only in the second loop, not the first I need to create this function: "count number of vowels and consonants and put them in *dstV and *dstC, i.e vowels, and consonants"
this is my full solution:
int count_vowels_consonants(unsigned char* src, int* dstV, int* dstC) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: python eyeball mouse opencv mediapipe pyautogui Traceback (most recent call last):
File "C:\Users\anura\PycharmProjects\pythonProjectanurag\main.py", line 2, in
import mediapipe as mp
File "C:\Users\anura\PycharmProjects\pythonProjectanurag\venv\lib\site-packages\mediapipe_init_.py", line 15, in
from mediapipe.pyt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Is it possible to debug PHP files on VirtualBox/Ubuntu by mounting them via sshfs onto WSL/Ubuntu and using VSCode/WSL target on local/Windows? Nginx is running on Ubuntu in VirtualBox, and the project root is mounted using sshfs on WSL/Ubuntu.
Editing is done using VSCode's WSL target. (192.168.56.2 is the address ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ** server can't find api.dxlsandboxxxxx: NXDOMAIN I tried nslookup for a server within vpn it fails with the error:
** server can't find api.dxlsandbox.safaricom.co.ke: NXDOMAIN
But running the same command outside of vpn it executes successfully.
Kindly assist
I tried nslookup for a server within vpn it fails
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: The js file is louded before dart file and I get error not found in js package flutter My code by using js Package from flutter :
@JS()
library callable_function;
import 'package:js/js.dart';
import 'package:flutter/material.dart';
@JS('someData')
external set _functionName(void Function() f);
......
void... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: undefined method `fetch' for nil:NilClass for Active Storage migration file I run into an issue after trying to reset my local database.
To rebuild my database I run:
rake db:drop db:create
But when i Try to migrate the database with the rake db:migrate command i run into the following issue with an old Active Stora... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Avast threat neutralized when building tika-parser-pkg-module-2.7.1-SNAPSHOT-tests.jar so I've just download tika repo from github and I was trying to build it.
But the build failed due to
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.1.0:install (default-install) on project tika-par... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Missing class properties transform, error when using react-chartjs-2 I want using chart.js in react js
After install package and import to project, i am facing this error:
.../node_modules/chart.js/dist/chart.js: Missing class properties transform
class DatasetController {
> 568 | static defaults = {};
| ^^^... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to have different data in cart and checkout woocommerce I wanted to have different data in checkout and cart. means, when someone clicked a product directly to checkout, moves just the product to checkout without items that are in the cart.
or preventing the cart from going empty after checkout paymen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CBLite Replicator not re-syncing after purging documents We have an iOS application using Sync Gateway and Couchbase Server to synchronize data between our mobile clients.
Now we have a use case where we are syncing Documents, by specifying Channels to replicator configuration. This first sync works fine and we ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PlayWright - Selecting link with nth-match and value in href I have a page, where I need to select a link. The links on the page are (for example):
<a href="/animation?ID=11111\&model\_id=AAAAA">Preview Results</a>
<a href="/animation?ID=11111\&model\_id=BBBBB">Preview Results</a>
<a href="/animation?ID=2222... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to serialize only some fields in json in python? I've already read a lot of different sites, but I can't find information on how to exclude some fields from json serialization in python. I would like to serialize only the necessary pair of fields
I have a check_method field in the Host class. Here it is set usin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: embedding short python scripts as an alias for Bash In my.bash rc file, I want to assign quick Python scripts to a bash alias. Is there a way to do it without using zsh's join?
A: Yes you can do that, here is how:
myscript() {
python -c "print('Hello, world!')"
}
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I want to know, what is happening on highlighted line? I want to print this array [1,2,3,4] as a 2D array [[1,2],[3,4]]. This is the code. I am not getting these line
vector<int> aux(&original[i], &original[i+n]);
ans.push_back(aux);
how the syntax of 2D vector is working? Here is the function code?
class Solution ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to represent missing value in web / React / TypeScript? I can use null, undefined, or "" in web to represent ie.e in a login form then no value is set yet. Which is the best approach?
It is so much easier in Swift. There is only nil as option for missing value. What to do in web?
I face now with two constrains
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Image augmentation tensforflow I want to apply data augmentation to my images to help with over-fitting. In my training dataset, there are 25 classes and 7982 images.
I loaded the traning images using the code below:
Loading data
train_images = image_generator.flow_from_dataframe(
dataframe=image_df,
x_col='... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flet paking into macos application I'm trying to convert a python flet application into a macos application.
I'm using the flet cli with the command flet pack.
The project files tree is:
PyFlutter
|_ assets
| |_ fonts
| | |_font
| |_ image.png
|_ backend.py
|_ credentials.log
|_ main.py
|_ icon.png
The command ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting mad with Microsoft Oauth 2.0 Azure Apps ... can't understand tenants and microsoft account types I'm trying to add Oauth2.0 to my app ... (through Socialite library of Laravel, but the framework or language is not the problem).
I've signed to Microsoft with a normal account (name@mycompany.com), I don't have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to infer generic parameter from mapped type? I use template literal type as keys of a mapped type and I need somehow to infer the generic param to use it for values. Here is the gist of my issue:
type EventsMap = {
// how can I infer SaveKey from `update-${SaveKey}` and pass it to SaveValue<>?
[K in `update-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: measure time in python 2.7 I have a function(A) and somewhere in that function, another function(B) gets called, what I need to do is measure how long will the execution of function B takes and return it on function A. It is python 2.7 version project, Id appreciate more simple explained answers :3
def A(B):
#stuff... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: PETsc mpiaij matrix is shrinking with added number of processprs I am trying to do some matrix matrix multiplication using PETsc but if I increase the number of processes using the mpiexec -n, the matrix would be smaller than expected by the factor of number of processes.
The matrices seem to also be splitting block... | {
"language": "hr",
"url": "https://stackoverflow.com/questions/75571157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does connectMicroservice and startAllMicroservicesAsync in nestjs? I saw connectMicroservice and startAllMicroservicesAsync in the appliactions that using nest code.
What they do?
I could'nt able to find information about them in nestjs docs.
A: Those methods are for a hybrid application where you're running a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Laravel 9 Delete Confirmation with SweetAlert not working I am trying to delete data from resource controller with sweetalert in laravel 9. However, it is not working.
blade.php
<a href="{{ route('employee.destroy', $item->id) }}" onclick="confirmation(event)">Delete</a>
controller
public function destroy($id)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Redux toolkit useSelector return undefined when I log in I dispatch the login, setUserToken, setUserData reducer functions and I console.log them and I see that their state has been updated as intended.
but when I try to receive the data back for later use it is undefined/false.
configure redux store
store.js
import... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to read excel file column by column I want to read excel file column by column.
but my code read data row by row.
On Error GoTo errhand
Set ws = oBook.Sheets("Sheet1")
Set rngSize = ws.UsedRange
Dim row As Range
For Each row In rngSize.Rows
Dim cell As Range
For Each cell In ro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: cv2 imshow right click dropdown menu disappears immediately Problem
When I use cv imshow with the code below, I cannot use the right click to see the dropdown menu.
Code
import cv2
image_path = "/nas/data/IST/FODCam/230216/c6/p838_v4/85349980.jpg"
cv2.namedWindow("Image", cv2.WINDOW_NORMAL)
cv2.resizeWindow(window_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C# Implicit conversion confusion with generics Why do I get this error from my code?
OtaqGetAllRq cannot be used as type parameter ... There is no implicit reference conversion from OtaqGetAllRq to CrudGetAllRequestBase<BaseAxtarishVM>
This is the code in question:
public class OtaqGetAllRq : CrudGetAllRequestBase... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Facebook app is not active and i can not login enter image description here
I tried to login to school page i have already loged in before when i tried this time this problem appeared to me i do not know why and this page is important for me and i need to open it but i can not
I have tried alot of videos on the inte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Download model 'en' for spacy produces "TypeError: can only concatenate list (not 'tuple') to list" While installing spacy-2.3.6 after chatterbot-1.0.8 in virtualenv-20.19.0 with python-3.7.0, I receive error message
OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link,
a Python package or a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: react-native-youtube-iframe ref returning undefined I'm building a TypeScript React Native mobile app. I'm using a YouTube iframe package and I have built some custom controller elements to control it with the functions of the YouTube iframe ref object. But the ref of the object always returns undefined value. Need ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to parse arbitrary tokens in Rust's procedural macros? I am currently developing a parser for a DSL in Rust. I am using syn, quote and proc-macro2 to help with that.
What causes problems for me is, that there are certain literal types in that DSL that I cannot parse. One example are single-quoted strings:
My TDD... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Value not updated when using watch to add field (vuejs) I am trying to create 1 from to input and edit values but it seems that when i add some fields for easy customization, when i update the new field value with @click but it doesn't seem to change.
this is the structure of an object inside the array: object
Her... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: put an element into table cell without losing overflow scroll I have a table which contains a cell with a long line. I want this line to be scrollable but when I put exactly this element into the table it loses the scroll.
I expect 2 scrolls on the page but only the non-table copy of the text is scrollable.
* {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mongo / Mongoose : How to access a dynamic prop inside an array of objects? Im using the $in operator inside a condition, but it only works if I hard code the property im searching for. Im not sure how to do it if the property is dynamic (i am iterating over an object where the value of key is an array with objects.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How Can I Take Input in Python as name="John" as whole in index 0 I'm creating a Python application that gives out the SQL Query as output,
for example, I need to add AND / OR conditional Statement then I need input as name = "John" as Whole String and store as an array and when specify the index the condition must ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Illegal offset type in isset or empty on Laravel 10 I want to upgrade my project on Laravel 8 to 10
After few packages conflicts, I am done and Composer updated all packages !
But now I have an issue with migrations. At first I though it was an issue with PHPUnit when I execute "sail artisan test" but I think it's a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to call gen2 Cloud Function, that requires authentication, from CloudBuild step I created a gen 2 Cloud Function, added a role Cloud Run Invoker to cloud build default service account, calling the function following way:
gcloud functions call <func name> --region europe-central2 --gen2 --data "$(<payload.json)"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: NextJs 13 :Customizing Next.js layouts based on route hierarchy I am working on a Next.js 13 project where I have a route named problems/[slug]. On the first level of this route (e.g., problems/react), I have a sidebar and a content section, which I am displaying using a layout.tsx. However, on the next nested level... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way for fluentd to read config from Azure Vault? I have fluentd instance that I'm using to collect application logs and store them into mongodb using mongo-plugin .
It works well but the problem is that I have to put mongo credentials inside fluentd config file and those configs are saved in Azure Vault S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating Outlook rule with python win32com library i want the script to create an outlook rule which is "to forward new coming emails whose subject contains 'verification code' to 'osam1399@gmail.com'" but i get the error that it has no 'Rules' attribute.
Following is the code:
import win32com.client
re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Shopware 6 API media upload from same server as API I would like to upload a productimage which is alredy located at the server but unknown to shopware.
I can upload images with http:// url location as payload for the API, but how do I handle images which are already loacted there?
For example, I want to use an imag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Conditional types based on string union fail with error 2344 I'm trying to create a conditional type based on a string union type, but I'm having an error 2344 with the latest option in the conditional type.
// Those are available column types.
export type ColumnType =
| "boolean"
| "calculated"
| "count... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why are the bundle built using lodash and lodash-es in development mode very different in size? webpack.config.js
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
mode: 'production',
entry: {
app: './src/index.js'
},
plugins: [
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mongodb: flatten/ merge object with arrays to single array for all documents in collection I have the following document structure in my collection:
ISSUE:
{
"fruits": {
"brasil": [
"pineapple",
"mango",
],
"france": [
"apple",
"grape"
],
},
}
GOAL:
{
"fruits": [
"b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What format of versions should be return when performing go list -m -versions What format or regex corresponds to the versions returned when I request 'go list -m -versions'?
I could not understand it from https://go.dev/ref/mod#go-list-m
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: increase value of field_a by (x_number - field_b) in mongodb there exist a User Model which has the following fields:
{
......
wallet: {
type: Number,
default: 0,
},
wallet2: {
type: Number,
default: 0,
},
.....
}
I wanted to run a findByIdAndUpdate query on this Model that would increase th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Selection in two lists with UUID in SwiftUI I have simplified my code to show my problem:
struct ListItem: Identifiable {
let id = UUID()
let name: String
}
struct ContentView: View {
@State var sel1: UUID?
@State var sel2: UUID?
var body: some View {
HStack {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ggsurvplot doesn't work and the basic plot of the survival curve shows the cumulative hazard plot instead for a project I'm conducting a survival analysis in R on two datasets analysing how much survival time depends on some blood biomarkers; one was used for development and one for validation.
The problem is when I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to sort vector of pair decreasing order in C++? Trying to sort an vector<pair<int,int>> decreasing order in C++.
sort(v.begin(),v.end(),greater<int> ())
A: The elements of your vector are pair<int,int>, so you should use greater<pair<int,int>> () instead of greater<int> ().
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Trouble with macro using another macro in lib I'm making an ECS lib (the Foundry), with a macro that allow to iterate over any tuple of components.
Here is how it goes :
struct Position{}
struct Velocity{}
for (position, velocity) in iterate_over_components(components; Position, Velocity) {
position += velocity
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Display figure/img 100 width when Bootstrap 5 float classes (float-sm-start / float-sm-end) removed at breakpoint I'm updating my HTML files to Bootstrap version 5.2.3.
In the current version (4.6.2.) I'm using the float classes left and right to position images with text wrapped on their respective sides. I also ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cant start my new project by "npx create-next-app --use-npm" I'm tring to start my new project by following command.
npx create-next-app --use-npm
but I'm getting following error, what should i do?
npm notice
npm notice New patch version of npm available! 9.5.0 -> 9.5.1
npm notice Changelog: https://github.com/npm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: PUT http://localhost:8080/api/update/19 404 (Not Found) on ReactJS and Axios I am new to react and trying to create a simple crud app, and i cant quite get the update part right. i am using mysql as my database. here are my code:
App.js
import React, { useState, useEffect } from "react";
import axios from "axios";
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: trying to use pqxx in my project. errors with cmake and also syntax errors in clion Something very weird is happening.
Steps i have done:
Cloned pqxx.
Ran: ./configure && make && sudo make install
All fine - installed well under /usr/local/include
So i referenced that in my CMakeLists:
target_include_directories(unt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CSS marginless printing of multiple pages. Where is this tiny additional height coming from? Live Demo, sorry for the messy CSS, I've been trying out a bunch of things.
I am trying to "print" PDF files using the browser print dialog. Each file contains 4 pages in the DIN lang format plus 3mm on each side.
In the HTM... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I check authentication while searching local media servers via libvlc or libvlcsharp I'm now testing the local network feature of libvlcsharp.
I've checked the example here worked fine when listing different servers in the local network.
But I don't know if I missed something when opening some SMB servers tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Display data in 5 minutes interval I wanted to display the data in the interval of 5 minutes(i.e As per the shown table, the first record should be 14/02/2023 15:00:00 and seconds record should be 14/02/2023 15:05:00.
Note: The database records remains same.
Support me with my code(as first image) from angular conce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Python `breakpoint()` attributeError - 'StringStream' object has no attribute 'readline' I have a complex environment where I want to stop execution of the child process at the start. In js you have debugger; while Python's alternative is breakpoint() or pdb.set_trace().
I tried placing breakpoint() at the start of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Override old data in a Grafana gauge panel With transformation, is it possible to filter data older than a certain period?
I would like to reproduce the same behavior of the SQL clause:
WHERE "time_frame" > (NOW() - INTERVAL '5 minute')
But I would like to avoid filtering the data in the selection query, which is wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: remove node_modules and .env from git history I uploaded a project to github and after pushing about 7 commits I realized that it uploads it together with the node_modules folder and the .env file.
I have now fixed it and added .gitignore
But the problem here - how i can deleted from history commits? How do I delete... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Can not create IntelliJ Maven Project(Unable to import maven project. see logs for details ) I need Create Maven project. But IntelliJ is not work correctly and I can not download dependencies for maven projects. IntelliJ is always show this message.(Unable to import maven project )
try google solutions but not succ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: discord.py anyone know this? I want to know how can I make a function call without spaces ?
I want it to look like this
sayhieveryone
@bot.command(name="sayhi")
async def toxic(par, *, args):
word_toxic_response = ["hi", "hi2", "hi3"
]
await par.send(f"{random.choice(word_hi_response)}{args}")
@bot.command(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to implementing custom stemming on elasticsearch this is my first time working with elasticsearch and I use version 7.17.9 on ubuntu server, I found this python library for stemming PersianStemmer, How can I use this library for stemming the text on elasticsearch
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I remove the zoom buttons on google map view without loosing the ability to zoom manually? I'm using Microsoft.Maui.Controls.Maps.Map in my NET Maui app using xaml UI rendering. I want to remove/replace the standard zoom buttons (bottom right) but still allow the user to zoom using pinch behaviour and some cu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use a button in a link in react? I'm a beginner with react and I have this code:
import {NavLink as Link} from 'react-router-dom'
return (
<div>
{posts.map((actualData, index) => (
<Link to={'/' + actualData.id}>
<div className='format_link'>
<div className='image_link'>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to define type-safe dynamic interfaces in Typescript I am trying to find a way to define dynamic interfaces that would allow creating completely type-safe objects. Currently, only the nested object keys are picked up by intellisense, which is only halfway type-safe. When defining a standard JS object, the intell... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to trigger multiple different paths under Recurrence and when a file is created or modified trigger My work flow is i had only one logic app on that logic app we have to maintain two triggers recurrence and when a file is created or modified under Recurrence there will be have two actions and under when a file i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Select Option with Custom Post Type <?php
// get all post categories
$cats = get_categories();
if ( !empty( $cats ) ) {
echo '<div class="page-header page-top-header">';
echo '<select class="myselect">';
echo '<option data-url="' . get_home_url() . '">All</option>';
foreach ( $cats as $cat )... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replace formulas on cells having values with their values obtained in a column I have a button to replace the vlookup formula in sheet 2 column "O" with just the values for the entire column. I am using an excel workbook with three sheets.
The issue now is that every time I press the button, all of the column formul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I pull the react children span data? I am trying to access a span data from a website written in React. For example: How a beautiful day. It has 4 arrays and I need to combine them to arrive as a whole. However, I cannot access it as a whole because it is formed as children.
It probably has a much more compl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Usage of this keyword in java I need to understand this program. This is from an article from Geeks for Geeks . I am unable to understand how 'this' is being passed in here in different classes and how objects of A and B class interact with each other. Please explain the flow of the program. The code is given below ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context Please, help me to solve the problem with my connection to SQL Server.
I got an error:
SqlException (0x80131904): The target principal name is incorrect. Cannot generate SSPI context.
I've already tried to follow these... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Operator '*' cannot be applied to operands of type 'Vector3' and 'bool' i'm trying to make a plane propeller spin when e is pressed but i can't use bool in transform.Translate
here my code
public class SpinPropeller : MonoBehaviour
{
public float speed = 300.0f;
bool switchInput = false;
// Start is cal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: .NET: Is it OK to use async/await in classic threads? I'm using "classic" threads to run multiple independent workloads in parallel.
Threads are started like this:
var thread = new Thread(() => ThreadFunc(somecontextvariable));
thread.Start();
Inside ThreadFunc I'm using async/await. ThreadFunc's return signature i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How Do I Show Notification Through Notification Channels? I am creating a app that is using a foreground service with a notification. The service is working fine, and it's not being killed by the system when I check running services under developer options on the device. However, when I start the service, it's not s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Toggle @import 'light' or @import 'dark' via Javascript? My goal is to use a darkmode toggle in one of my projects. I also use the SASS (.scss) architecture rather than plain CSS due to the scale of the project.
I had the following in mind: throughout my .scss files I will use variables for the light color mode (e.g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Google cloud deploying in app engine showing 500 error I have a FastAPI application that connects to a MySQL database using mysql.connector. When running the application locally, everything works fine, but when I deploy it to App Engine, I get a 502 error. Here's my code:
main.py file \n
from fastapi import FastAPI
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ImportError: numpy.core.multiarray failed to import. how to fix it ? python 3.8.5 I use python 3.8.5
When i running a code i get this error: ImportError: numpy.core.multiarray failed to import
This is the version list i have (from conda):
Package Version
----------------------------- ---------
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Reset/change password of postgres docker image I was given a task at my college to continue a website previously done by other students, but the access information regarding postgres is wrong, especifically the password.
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=postgres
DB_USERNAME=postgres
DB_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get bpftool to attach a program to a tracepoint? I have the following simple eBPF program:
#include "vmlinux.h"
#include <bpf/bpf_helpers.h>
struct sys_enter_execve_ctx {
unsigned short common_type;
unsigned char common_flags;
unsigned char common_preempt_count;
int common_pid;
int __syscall_nr;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Composer install squizlabs/php_codesniffer PHP 7.4 on Windows 10 is failed to install I have the following error installing squizlabs/php_codesniffer with Composer v. 1.10.20 on Windows 10 with PHP 7.4.4:
[Composer\Exception\NoSslException]
The openssl extension is required for SSL/TLS protection but is not avail... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Android: Access to "/data/user/" in Android Handy without root? I am developing an app for Android Handys. The data directory for this app is in
"/data/user/0/com.companyname.myapp/files"
To see what is happening there while programming, I would like to access to this folder. Read rights would be enough.
I didn't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Like button not recording the data I have implemented a like button onto my view_post page, but the like's aren't been registered. When the button is clicked the page is redirected correctly but no likes are added.
views
def get_post(request, slug):
try:
post = BlogPost.objects.get(slug=slug)
except ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: HomeBridge update AccessoryInformation I've been updating a simple HomeBridge Plugin, and as I can see the data for the HomeKit Accessory Information in the the API response from the connected advice, I'd like to populate that data into HomeKit.
The problem is AccessoryInformation only seems to accept data when I fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pickling self doesn't work on a class that Inherits a DataFrame? I'm trying to implement a df.name attribute for my Dataframes. I have a lot of reasons to do this and store other metadata in my class that inherits pd.DataFrame, but I won't get into that here... I'm using the 'name' as an example of metadata. If t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problem of automatically entering and exiting a home_activity? I have created an android app with MainActivity as login and home_activity , and when you log in with the aim of going to home_activity the page appears and goes back to MainActivity.
How can I solve this problem?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Asynchronous function with Tkinker and Bleak I can't get a realtime value back to the GUI.
I'm using Bleak and I want to return my device's RSSI in real time, and not after the scan end. I tryed to insert a thread, I have the same problem. Thanks for your help
# définition du thread
class MonThread (threading.Thread... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Optimization of Travelling Salesman Problem Nearest Neighbor algorithm with Limited Weight per cycle Currently working on a TSP problem, and the idea is to optimize it for the use of restaurants, thus making food delivery easier. One of the criteria is that each path the courier takes has to have cumulative weight l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |