text string | meta dict |
|---|---|
Q: VBA script to loop through Word docs in a directory, extract text, and append it into an Excel file never does anything and I can't figure out why First time posting here and a novice in VBA. This is a step up from anything I have ever done before with VBA. Basically, I have to extract a specific score from each Wor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Optimizing C# memory allocation I ran into a rather peculiar thing today when trying to optimize. I use the Monogame framework and want to create textures on the fly. I use .NET 6 in Visual Studio Community 2022.
So this is the straightforward code for doing this, which is working fine:
public static Texture2D C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WordPress Plugin Boilerplate Activator class is not running the code I am using the WP Plugin Boilerplate and I am requiring files and admin notices within the activator class but my Kirki panel is not showing up in the customizer and the admin notice isn't appearing. I am also not getting any error messages.
Also P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Take random sample of rows from dataframe with grouping variables I have a dataframe with the following structure:
dat <- tibble(
item_type = rep(1:36, each = 6),
condition1 = rep(c("a", "b", "c"), times = 72),
condition2 = rep(c("y", "z"), each = 3, times = 36),
) %>%
unite(unique, item_type, condition... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reverse Sine function in Python So I was playing around with the mathlibrary with sin, cos etc.
For example:
x = math.sin(1)
result = 0.8414709848078965
My question would be, is there a way to convert ratio to original number, like reverse sine? From 0.8414709848078965 to 1
A: Yes, the Python standard library incl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-7"
} |
Q: How to create a recursive folder menu using pystray? I am trying to create a navigable tree of folders and subfolders using pystray. I am having trouble creating a recursive menu with pystray.
I am getting an error
"TypeError: MenuItem.__init__() takes from 3 to 8 positional arguments but 1757 were given".
Yes my f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: List based off multiple selections disappears I have this code for a form I have developed. The user selects from a multiple selection box and the selections are to appear right below the box. Add/remove buttons are included. When a selection is selected, the value does show in the list below the box, but it only fl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: recursive function with a promise to iterative I have a function emailIterator which reads messages from a stack and sends them one by one using an emailer
I'm currently handling it recursively by calling emailIterator back with the same messages but only with one less message each time since it already got sent.
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Domain join account password change - issues? There is a MS Active Directory. There are several computers that used the domain_join account to join the domain. Now I need to change the password of domain_join account. I have tested using a test machine and a domain_join_test account and nothing changed, the machine ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Yarn version 3 made me tired! Can I go back with my Storybook project intact? How do I revert to do minimally faulty version of Yarn? I installed the "Storybook" (with nextjs) project by activating corepack. Chrome Browser freezes occasionally. (Win 11 - Chrome:110.0.5481.177).
Anyone having the same question about ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: React-query - how to check when refetching has been finished I have a component where I am fetching data with react-query and setting initial form values:
const { data: caseData, refetch, isRefetching } = useQuery({
queryKey: `caseData-${caseId}`,
queryFn: () => fetchCaseById(caseId),
staleTime: Infinity,
});
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: 'Making' a project with cmake. Running into an error with regards to my inclusion of I apologise for any inaccurate language - I'm very new to writing in c++ and using cmake
I'm using the cmake gui to do the generation. My generator is MinGW. The generation goes fine but when I try to run mingw32-make in the build ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Capturing types from parameter pack and creating an array of unique_ptr from them I want to build a container class for my Component instances. Component is an abstract class and every type in the parameter pack should be derived from it.
template<typename... TComponents>
class ComponentContainer {
using Compo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I find out what is the cause of my delete record to time out I have a delete by ID that is timing out for older records. There are multiple tables involved with the cascade on delete for the foreign keys.
Parent
-child
—-grandchild
-child
Etc
I am using Entity Framework for .NET framework.
The production ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to force canvaskit renderer while using service workers? I am having trouble with my Flutter web app when I tried to publish it because it cannot be loaded on mobile devices, even if they are set up to show the computer version.
@override
void paint(Canvas canvas, Size size) {
var center = Offset((size.w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Quarkus and javax libraries I'm wondering if there is any technical reason behind the fact that Quarkus still relies on javax namespace instead of using the new jakarta namespace.
What confuses me more, is that many docs report the usage of Jakarta libraries (e.g. see here https://quarkiverse.github.io/quarkiverse-d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can shared object access memory of app that loaded it? I am new to shared libraries (Qt5/C++/Linux). I managed to create an app which can load one of many .so files (one per animal: dog.so, cat.so, mouse.so). So far works great.
I assumed that methods in the shared libraries could call methods in the app (eg: dog.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cmake doesn't find headers despite given INCLUDE_DIR_HINTS I'm trying to compile AliceVision, commit ID 03e6a7df4a1f89f1bf71d02de9133beabdb52f20, with the following command:
cmake \
-Bbuild \
-GNinja \
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Having trouble writing a WebSocket server and client I'm trying to write a WebSocket server in NodeJS that functions as a very basic chatting app where users can send either text or images. The system I have created to process data frames sent by the client (Firefox) falls apart when messages with a payload over 655... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android onKeyDown keyboard detection I have onKeyDown(int keyCode, KeyEvent event) override method in my activity class. This class has both physical USB keyboard and emulated keyboard (that android uses, pops up on screen during text entry). I want my method to be able to only react when, say for example, the 'A' k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Remote call and caching inside ksqldb udf Trying to figure out if it’s possible and/or correct to define a ksqldb UDF (user-defined function) that would make a remote call to a service and cache the result somewhere?
I think the RPC part is pretty straight-forward but I’m not sure if the UDF class can have a state (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why can we await the function that only has a console.log This is the code I'm wondering about.Why can I await all that function without return promise?
async function main() {
await taskOne();
await taskTwo();
await taskThree();
await taskFour();
}
main();
function taskOne() {
setTimeout(function () {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Running tests in a no_std crate yeilds error `start` lang item not found I'm writing a simple kernel/OS with help from https://os.phil-opp.com. when I got the step about testing I could not for the life of me get it working so I ended up skipping it altogether, but now my lack of testing is starting to get quite ann... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: USB Drive Broken or Hidden Partition Recently, I bought a Kingston USB flash drive, downloaded an ISO image, and made a boot loading flash drive. My system then was Ubuntu 22.04.
After that, I installed Manjaro Xfce Linux on my PC using that drive. And here the inexplicable began.
After installation, I decided to fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Error on Salesforce validation using SFDX CLI Code:
echo ${{ secrets.force://PlatformCLI::5Aep861ZBQbtA4s3JXC5p9rWRasRVsbuWSRp4ElE0xh3ZuRSQwa.mLgCnMs5CwlG8zoa4doRoQTcKddL.Vqn6ie@atacom4-dev-ed.develop.my.salesforce.com }}
./force://PlatformCLI::5Aep861ZBQbtA4s3JXC5p9rWRasRVsbuWSRp4ElE0xh3ZuRSQwa.mLgCnMs5CwlG8zoa4d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Admin LTE Laravel, loading css and js with "HTTPS" When I access the LTE admin panel, the content loaded is just html. CSS and JS files are loading with "HTTPS" and I'm using locally over http. I'm a beginner in laravel, how could I solve this?
[enter image description here](https://i.stack.imgur.com/LYOHx.png)
I've... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Component is rendering before data is fetched, resulting in error? UseEffect question So I have the following component that returns data of a post.
Where I am confused is how is my data undefined in the return statement even though I successfully fetched it. It seems the return is running before my data is fully fe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575674",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Extraction of keywords from dict format pandas My dataframe looks like this( attaching a picture here, since it causes confusion otherwise):
An example of one of the second value:
{'paths': {'modified': {'/mmds': {'operations': {'modified': {'PUT': {'responses': {'added': ['201'], 'modified': {'204': {'description'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why am I getting an error when starting minikube? I am using this command : minikube start --kubernetes-version=1.22.4
getting this Exiting due to PROVIDER_HYPERV_NOT_FOUND: The 'hyperv' provider was not found: exec: "powershell": executable file not found in %PATH%
This happens despite the fact that I've added Powe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Create clean data frame in R from list generated by ocr I have a table I imported into R using the ocr function from tesseract which I need to format into a table that can be used to create graphical representations from.
I have done a bunch of different transformations on the data and so far have the first 3 column... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I smoothly transition an invert filter (black to white)? I am currently trying to figure out how to transition my icons from black to white. The only way I could really find to do this properly was to use this: filter: invert (100%). When I try to transition it, it decides to change normally without a transit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spreading tuples and also applying optional attributes Can the code below be modified, such that Test2 produces: [string, boolean?, ...string[]] by factoring in the optional field?
type Def = { type: any, spread: boolean, optional: boolean }
type A = { type: string, spread: false, optional: false }
type B = { type... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Multiple list for fetching image file from different directory Have different images in various folder categorized according to the size of the folder. And Each folder have multiple directory like CX and MX OR VX. Each of this CX/MX/VX have SER00001, SER00002, SER00003 And each of this folder have all the images.
Us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apache WordPress subfolder .htaccess: DirectoryIndex not allowed here I have a working WordPress site that also serves an old flat-file folder. I have set up a clone environment with Ubuntu 22.04 and XAMPP at home and while the WordPress part is fine trying to access the subfolder causes an error.
[Sun Feb 26 17:36:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use Navigation Controller? enter image description here
I have this app with UIKit.
What I want to do is that when the Start Animal Quiz button is pressed in the question view controller, animal questions are displayed. If Start Soccer Quiz is pressed, soccer questions are shown in the question view controlle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Iterate through object's proprieties and add to an array So, i was looking at the API of the Ghibli movies and the JSON response is kind of odd.
Instead of returning an array of movies, its just one big object where every propriety is a movie itself.
To model and decode the JSON Response, my struct starts like this:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Bug or feature? Is there any logic behind this behaviour of user defined types? why plot(p.x) behaves differently from plot(y) (please see the comments in the script below):
//@version=5
indicator("My script")
type pp
float x
p = pp.new(1)
p.x :=1
y = 5
plot(p.x) // plots 1
plot(y) // plots 5
p.x:=2
y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make rounded corner in top in jetpack compose I am using Scaffold in my @Composable function. Inside content = { I am using LazyColumn. I want the Top Start and Top End to corner. Something like this
Expected Output
I tried this piece of code from here, but it didn't work.
package com.example.scrollcompose
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: footer adding alot of unwanted margin to bottom tailwind devs,
I'm creating random projects to get more knowledge with tailwind Css and react etc.
I'm facing this issue with a footer that is adding so much unwanted margin to my page, this question might be a duplicate but... I looked into all StackOverflow question... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simple struct increasing size of C++ Android binary Why does adding the below struct to my public header cause my android binary size (libMyLibrary.so) to increase by 4KB?
#define EXPORT __attribute__((visibility("default")))
struct EXPORT ITest
{
inline static const std::string TestString = "TestString";
};
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trying to show Count by department in Python This is a simple piece of code for some reason I can't think of at the moment. I am trying to get the count of task by status by department. For instance something like this:
Department Task Status
Sales Sell Pendiing
Sales ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Curried class constructor with more than two levels of currying I have been using currying with scala for literally years, but recently had reason to write a class constructor that is sort of a builder, where I don't want c and d to be optionals, so I don't want the class to be instantiated until they are available... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: InfluxDB - BadRequest response I have DB that already has a few measurements and working fine.
Now I tried to add new measurement manually in current DB but I get an error.
I don't understand what i'm doing wrong.
Could you explain why I have an error?
Use InfluxDB ver 1.8.0 and write queries in InfluxDB Studio ver ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filtering results given html file I'm trying to filter results by some criteria having a big html. I don't know if what I am trying to ask is achievable, but it costs nothing to ask.
I'm playing a browser game which as a big map 100x100 and for each pixel it has an island. Each island has a different cave ( of diffe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add imaskjs with rails and hotwire stimulus but it doesn't work I'm trying to make stimulus controller to mask 2 input field, "gross revenue" and "operating cost" to display thousand separator on both fields. I've tried imaskjs with stimulusjs, but I don't know why it doesn't werk at all.
<div class='' data-controll... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to select the very third paragraph ignoring everything else app reader
This is an app that can scrape text(novels) from websites and has a CSS injector.
I used this code to get rid of every 3rd paragraph making them transparent
p:nth-of-type(3){ color: transparent; }
but this applies also on the third paragraph ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to build a custom scheduler for Spark For a personal project, I am looking into implementing some scheduling algorithms into Spark and measure their performances in terms of time and other metrics. I have found that Spark implements two algorithms which are FIFO and a Fair scheduler and that it uses a backend su... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: load OBJ file from blob in three.js I'm trying to load an OBJ file from a blob with three js.
I've referred to this and got STLs to load. But it's not working for OBJs.
The error I'm getting is:
TypeError: text.indexOf is not a function
at OBJLoader.parse (OBJLoader.js:482:13)
Here's my code:
// this gives ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Objects are not valid as a React child error when adding elements I'm doing a react app that have a list o food itens, and i can add them to a cart, my for some reason every time that a i try to add something to the card, the app crashes and the message error appear:
"Objects are not valid as a React child (found: o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575722",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keycloak social IdP restricted users I'm new with keycloak and I'm wondering if I can achieve following scenario. I cannot find any example in web about something like this.
I want to use Keycloak as Identity provider for my app. I want to allow 3 types of authentication: local username + password, Azure AD and Goog... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is .Where acting as IEnumerable insteading of IQueryable? I implemented an extension/helper called WhereIf of Type IQueryable, as you may have guessed by the name of it, it applies the filtering only if a pre-condition is met and is chained in EntityFramework query by code, but there were two problems with it an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Retrieving ASCII image data from SQL Server back into an image I'm working with Topaz signature capture system,SigPlusNet.
The SDK has a method for storing the captured signature into a long ASCII string.
'Method 1--storing as an ASCII string value
strSig = SigPlusNET1.GetSigString()
I've taken the stor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hyper Ledger Fabric: Query the History for a Range of Keys I want to get all the state versions for given range of keys.
I wrote the following Chaincode function:
async queryOrderHistoryForKeyRange(ctx, startKey, endKey) {
const results = [];
for (let i = startKey; i <= endKey; i++) {
c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Concatenate CSVs into dataframe based on timestamp I have a dir of subdirs that contain CSVs, and I want to concatenate those into a single dataframe. But I only want to do so with files that are the 'the most recently' exported based on a timestamp in the filename.
For example, this is a list of files contained in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to return value from mysql2 query to nodejs function I've tried to do this a variety of different ways but no matter what I do, the checkGolferExist function is executed async. In the console I see the Ids printed at the top of checkGolferExist, then RETURNED: undefined for the whole loop. Then I see all the res... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pygame not recognizing my path but VS Code does? MY PYTHON VERSION IS 3.10
MY PYGAME VERSION IS 2.1.3
I have the following problem:
*
*I'm using pygame, more especifically mixer. When defining the path of the archive I want to play, I run into the following error:
FileNotFoundError: No file '../Assets/Music/abili... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: i`m getting this error and i can`t know how to solve it 'My error :
The following StateError was thrown building StreamBuilder<QuerySnapshot<Object?>>(dirty, state: _StreamBuilderBaseState<QuerySnapshot<Object?>, AsyncSnapshot<QuerySnapshot<Object?>>>#51143):
Bad state: field does not exist within the DocumentSnapsh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to sort a Hashmap> according to the elements on the list? Java 8 I'm trying to sort this in natural order byKey and byValue using lambda expression and Stream Pipe line Java 8:
Map<String, List<String>> result = new HashMap<>();
So, the first part (sorting by natural order) is easy but I am having difficulty wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Error loading main.py to MicroPython on NodeMCU Lilin V3 I have a NodeMCU board and I'm trying to use it for IoT. I'm using mac and this is the commands I'm using to install MicroPython:
esptool.py --port /dev/cu.usbserial-110 erase_flash esptool.py --port /dev/cu.usbserial-110 --baud 115200 write_flash --flash_size... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hide/Show Elements What is preventing my hamburger menu (top left) from being hidden on Desktop view?
How to rectify?
Ideally, I'd like to put company phone number there instead when viewed on Desktop.
Have tried the reverse method to the one I used to hide the main menu on mobile, but it doesn't work.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75575739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: nerdctl compose error: FATA[0000] error while creating container portainer: exit status 1 I am running lima on a M1 mac with OSX Ventura. I have a docker compose file that works perfectly when I try to run it with docker cli.
docker-compose:
version: "3.8"
services:
portainer:
container_name: portainer
ima... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to pass credentials for ApiClient generated by openapi-maven-generator-plugin? I am using openapi-generator-maven-plugin to generate an api client from an existing yaml specification file in a Java and SpringBoot project .
The API endpoint are protected by Basic HTTP Security scheme (username and password) this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Display "Splash" image until new uploaded image, then display new image for x seconds I want to create a html/javascript page that displays a splash image (splash.jpg) until there is an image file (latest.jpg) has been overwritten.
I want to display this latest.jpg for 90 seconds and then switch back to splash.jpg u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NextJS/Sanity: Error: Failed to collect page data I have a local repo of a live NextJS/Sanity website, but I've set the Sanity projectID to a different blank Sanity project to avoid overwriting the live website.
After running npm run build, I receive an error
Error: Failed to collect page data for /industries/[slug]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python - execute mysql string I am working on creating tables and loading them with python in vs code. I get the following error:
mysql.connector.errors.ProgrammingError: Could not process parameters: str(INTO TABLE coffee_meta_stackexchange_com.posts
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' ESCAPED BY ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: scanf() statement is asking for first input and then skipping second, outputting my switch and then exiting, I want scanf to ask for both and no exit scanf is outputting, and not asking for input, immediately outputting my switch statement menu and the exiting my code. I want to have it ask for both inputs and then ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Converting Binary-charSet TXT files to ASCII or UTF-8 -- in Batch -- on MacOS To eliminate redundancy in text files, I found Kdiff3 has the needed functionality -- just keep the uncolored text. But attempts to automerge flag text files as non-UTF-8 -- despite re-saving as UTF-8.
file -I FN.EXT
shows them to be binar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: torch.cuda.is_available() returns false despite installing pytorch with CUDA running nvidia-smi gives,
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 528.33 Driver Version: 528.33 CUDA Version: 12.0 |
|-------------------------------+---------------------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: hierarchal multi-label Complex .json Nested dict-list keys to python for decision tree I'm currently working to build chatbot for car faults using car symptoms (Smell, Hear , Feel etc.) and target(title in this .json)using decision tree.
The symptoms i got was in .json file includes nested keys leads to targets, and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP does not display database table, despite no error being returned I keep testing my code for a simple table display of the sql table, but nothing happens. The error number that is returned is 0, which means there's no error, yet the table will not show up. I tested the query itself in sql at it works fine, so the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: The program on xamarin forms is installed on android, but does not start made a trial program on xamarin forms, debugged everything, through debugging via usb everything worked fine, made an apk, through publish, everything is as it should. The apk is installed, but the open button is not pressed, the application is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why Have Certificates with non-Exportable Keys in Azure Key Vault? I feel like I must be missing something obvious or I'm being very dense. If I generate a self-signed certificate with Key Vault, or import a PFX with a private key, but do not mark the private key as exportable, as far as I can tell there is literall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I do not receive information (FormData) I was trying to send information from my client's site to my server, but on my server I am not receiving the information. I am using a FormData to send information to my server.
This is my code in my server:
import express from "express";
import bodyParser from "body-parser";
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Long-running cell in Vscode Jupyter: Reconnecting to the kernel Whenever I run a Jupyter cell in Vscode that takes a long time to complete, it does not ever seem to complete running the cell.
At the bottom of Vscode, I will see the notification
Reconnecting to the kernel myvenv (Python 3.8.16)
Is it possible that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find Alternate Data Stream (ADS) files name by using python I don't get what I want when running the code, especially in the line:
myhandler = kernel32.FindFirstStreamW (LPSTR(self.filename), 0, byref(file_infos), 0)
this is the code I do :
from ctypes import *
import sys, os
kernel32 = windll.kernel32
LPSTR ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot set lockscreen in Windows 10 I'm attempting to set a lockscreen image in Windows 10 using a Powershell script.
This appears to work fine on my Windows 10 Business PC, but when I attempt to use it on a Windows 10 Pro device the registry key is created successfully, but when the screen is locked only the defaul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am struggling to find any BOOKS or comprehensive guides on glib, gtk 3, 4 and related apis, libs I have tried everywhere. Not a single book about glib or gtk. I am amateur C programmer (made few small apps) and now I am looking for a way to extend my knowledge on glib, gtk and related apis, but help is nowhere to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamically get/set gravity forms rich text area value using javascript I am trying to get and set the value of a Gravity Form rich text area (i.e., the textarea with the TinyMCE editor) using JavaScript. I am using the jQuery library to access the textarea and get its value.
Here is the HTML code for the textarea:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to decode vcalendar source to json string? I used get request in php but prints only text
<?php
$url = "https://www.officeholidays.com/ics-clean/united-kingdom/england";
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$headers = array(
"Acce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying understand tensorflow sequential summary I can't figure out a summary of my model. For example first 2 rows of the summary(tf.keras.Sequential.summary()):
Layer (type)
Output Shape
Param #
zero_padding2d (ZeroPadding2D)
(None, 70, 70, 3)
0
conv2d (Conv2D)
(None, 64, 64, 32)
4736
I don't understa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculating Euclidean distance matrix of 2 image datasets via broadcasting I'm trying to learn broadcasting, so as an exercise, I'm trying to understand how to calculate a Euclidean distance matrix of two image datasets with only 1 loop.
This is the naive implementation that has been verified to work
for i in range(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is Jaxb2 pluggin (Java11) failing to generate base class - Spring Boot It is a clean project and i have a simple xsd to generate its classes. Everything goes right till i try to set a tns type, then parse error apperars: (Unable to parse input schema(s))
xs:element name="cufdRequest">
<xs:complexType>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why i can't use v-skeleton-loader with vuetify i don't know why i cant use v-skeleton-loader. anytime i use the component the console throw me this warning : Failed to resolve component: v-skeleton-loader.
i use vuetify": 3.1.4
<Suspense>
<template #default>
<boutique_data />
</templ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GuildPrefix Command Confused @bot.command()
async def guildprefix(ctx, prefix):
with open('prefixes.json', 'r') as f:
prefixes = json.load(f)
prefixes[str(ctx.guild.id)] = prefix
with open('prefixes.json', 'w') as f:
json.dump(prefix... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: cmake + vcpkg : how to verify platform toolset for VC/Windows builds? I have a cmake project that targets both windows and linux. For the windows build, I'm specifying the v142 platform toolset using VCPKG_TARGET_TRIPLET, with a custom triplet that specifies the appropriate VCPKG_PLATFORM_TOOLSET, because the users ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Copy Eventlistener doesn't fire in Firefox I have a copy eventlistener set up for a div. It works in Chrome but not in Firefox. I've tried setting oncopy instead, but without any success. Google search doesn't bring up any mention of this. Any ideas what is the problem and how to fix?
As an example, the below snippe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem removing 1 item from a database array SQL So I'm making a use command for discord the Database I use is Postgres SQL I'm having an issue with getting to only remove 1 of the multiple items with the same name
await client.db.query(
`UPDATE inventory SET bag = array_remove(bag, $2) WHERE user_id = $1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I control my bot to post in the Telegram channel? I want my bot to auto posting all today's matches with details, but I don't how to make it
So, the question is, how to make my bot auto posting all today's matches with details to the channel?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75575789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reverting the style of the class I am learning how to code and unfortunately, I am stuck on one exercise.
I have a table containing 2 different rows of colors, and I want to invert the colors — the tr class .vermelho needs to be .azul, and .azul to be .vermelho.
I tried the following JS code, but it's setting the wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to assign new column value based on max value in another column preceding date I would like to create a new column called CDAT in the following dataframe. With CDAT equal to the "DATE" of the last "BRED" EVENT from the same ID, LACT and FDAT combination that preceded the "PREG" Event
Effectively I need to group... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: max-in-flight kafka vs reactor Kafka has max.in.flight.requests.per.connection property. reactor-kafka has maxInflight here - https://projectreactor.io/docs/kafka/release/reference/#api-guide-sender.
Updating this value does not change max.in.flight.requests.per.connection.
How are they different? can you give speci... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: installing mathgl properly on windows I have installed the precompiled 64bit binaries of mathgl for windows specifically vscode, and unpacked the archive to the location of the compiler (i.e. mathgl/lib in mingw/lib, mathgl/include in mingw/include and so on)
And then I tried the example that they put up
#include <m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Hitting breakpoints in strange order with simple code I was working on some C++ code and noticed my breakpoints were getting hit in a strange order and I don't understand why. I'm using Visual Studio 2022 with cl.exe version 19.35.32215 and link.exe version 14.35.32215.0. As a simple reproduction I created a new C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575800",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use feature flags to disable application.properties setting I understand that I can use @ConditionalOnExpression to enable or disable a component such as a @RestController, or @Service, or @Entity. That is all clear.
However, Spring Boot has more. It has application.properties configuration, it has @Autowir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575801",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: filter regex to percentage I would like two examples of regular expression to filter percentage:
I have the following cases:
Case 1:
Increased % 3.05
Increased % 8.05
Increased % 12.05
Case 2:
Increased % 3.05
Increased % 8.05
Increased % 12.05
In case 1, I would like a regular expression to filter any percentage ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I wrap multiple `with x() as val_x, ...` in a with statement into function for reuse? I am writing what should've been a simple unit test, but to it turns out I need to mock a bunch of things, and all similar tests will need those. I am using mock.patch from standard library, and now the code looks like this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Futures closing order I have code that supposed to open order and upon fulfilling conditions close all active orders
`sell_gain_market_long = client.futures_create_order(
symbol=symbol,
side='SELL',
type='TAKE_PROFIT_MARKET',
stopPrice=take_profit_price,
closePosition=True
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Expo go - Cannot launch app on phone without internet I already work on an expo app project (Déc 2021 - August 2022) and it went well. I was able to run my app on my phone even without internet connection.
But since last week, i started a new app project but i cannot run the app through my wifi/lan without an intern... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: switching key and values for values and keys in dictionary doesn't work properly I'm trying to count the occurances for nodes with number of neighbors from an edge list which is working except when I want to switch between keys and values, elements get lost, although it's working on other lists but this one it's not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: MATLAB: Processing specific columns of a LARGE matrix using another matrix as the column keys/indices I have a matrix A which is 6 rows x 40 columns. It is populated with random numbers.
I used nchoosek(1:40, 6) to create a matrix B of the indices of all possible linear combinations of the columns; one possible comb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75575812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |