text string | meta dict |
|---|---|
Q: AspNet Web API Filering - Exclude from results Trying to determine how to exclude records from results in ASPNET Web API. A PSQL example query would be:
select
*
from
vwpurchaseorderlist
WHERE
not status IN ('Closed','VOID','Deleted');
How would you implement a filter to handle this where a consumer o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to implement string in a file name location how to include a string in the file location in c sharp
string is the File
string File = @File;
path = @"C:/Temporary/@File.pdf";
A: First of all, in Windows those should be \ characters, rather than forward slashes /. But then, once you have the @File value in a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using the prediction accuracy as the gridsearch score i wondering if can I use the prediction to find the best score instead of the cross validation in the GridSearchCV in sklearn?
I have a imbalanced dataset that I used RandomUnderSampler() to get a balanced train_test_split and used this to train a RandomForestCla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Deployment problem of google auth provider my react app firebase google auth provider working on localhost but not working after deploying on vercel
solution that working on production mode is there any update with firebase google auth so tell me
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75582125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: pls-00306: wrong number or types of arguments in call to procedure 'pr_1' on VB.Net OracleCommand We have a VB.Net class that access an Oracle stored procedure.
Its goal is to get a simple set that could be moved to a list of String.
We're getting this error:
pls-00306: wrong number or types of arguments in call to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Interface to describe "rangable" items Is there any interface for rangable items (slice, string, maps)?
Use cases:
func Test(items Rangable) {
for _, item := range items {
...
}
}
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75582128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I handle UUID query parameters when generating NoSQLBench tests? I am using NoSQLBench version 5 to generate queries against a table in a Cassandra database (DataStax DSE 6.8). The query goes by the primary key, a UUID column.
A simple example:
create table test.tab01 ( id uuid, nm text, primary key (id) );
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Google Colab Pro+ can't reconnect to live session when tab has been idle but continues background execution So I've been training a model with colab pro+, and the main reason I have for it is the background execution.
However after a while of not using the tab it always times out and I can not reconnect.
I think it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: https request on port 8443 through Fastify I have setup Fastify on my wordpress site which is hosted on dreamhost. I would like to send https request to port 8443 where Fastify is listening. But when I do this curl -k -v https://example.com:8443 , I get error
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Completed memory flashing instead of big latency and errors (using openocd and gdb) I want to use ST-Link V2 to program and debbug microcontroller LPC1115 through the SWD interface. The problem is that I get multiple warnings and error during sending the commands and flashing takes very long time, but in final every... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Logging not working in my react native app I have a react native app that is running on my android studio emulator and the logging does not show in my terminal nor in my active remote debbugger in Chrome when debugging is enabled. For example when I want to log a simple text in one of my components:
import React fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Moving rows on button click AgGrid I need to move a row up or down when click a button.
I tried use rowDragging but it didn't work well, when i use it with tree data.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75582145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set alpha flag in VP8X chunk of webp image having transparency I am working on encoder decoder for animated webp image using pure java. I have to write static webp image from each from of animated webp image. It works fine but for the image having transparancy in image. reader gets flags for animation and alp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TLS handshake is failing I'm stuck, hope somebody can help me.
I need to write a python test (under 'pytest') to verify TLS communication between a windows PC and an embedded target board.
As an intermediate step I have downloaded and built openssl from here https://www.openssl.org/source/ and run it from a cmd wind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: M365 Dev Program E5 Subscription Errors My institution has recently signed up to the MSLE (Microsoft Learn for Educators) program. We are currently trialing MS-900 with one of our 2nd year IT groups.
We are trying to set all students up with a M365 E5 Developer Subscription, but students are unable to create this. W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: -SOLVED- How to upload a photo to WordPress Media Library via WordPress REST API with Python? Unable to upload a photo to WordPress Media Library via WordPress REST API for the second day.
WordPress version 6.1.1
I am well aware that this and similar questions have been raised on StackOverflow many times, I have rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error in mounted hook: "TypeError: introJs.apply is not a function" enter image description hereenter image description hereenter image description here
package.json
*
*
"vue-introjs": "^1.3.2",
*
"intro.js": "^6.0.0",
i have tried
const introJs = require('intro.js')
introJs.introJs().start()
but the same erro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What is the InputObjectGraphType for an object? I am learing GraphQL in .NET Core 6 and running into the issue with Mutation. I figured out how to use object in the Queries but getting following error on Mutation.
Error:
System.ArgumentOutOfRangeException: Input type 'UserInputType' can have fields only of input ty... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I resolve this light house error in github workflows ? ( Error completed with exit code 1) My lighthouse report turn up like this
lhci autorun --upload.target=temporary-public-storage --collect.staticDistDir=.
shell: /usr/bin/bash -e {0}
env:
FORCE_COLOR: 1
> ✅ .lighthouseci/ directory writable
Configuratio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How create a IF and then function in R I would like to create a function for generating new columns based on values from existing column.
Following example below:
day1 weight1
20 .
25 190
26 167
27 189
28 200
60 300
120 127
conditions -> IF day1 > 20 AND day1 < 200 then weightAd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: powershell add a computed column to an array I have this json which have to convert to an array and then add a column with values that i found in that json based on a key
$SomeJson = '[
{
"FullInstanceName": "ServerName\\InstName",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cloud Function Crashed getting KeyError "project" Created a cloud function to Enabling real-time email and chat notifications for webex notifications from google support document and function is failing.
Error Message in Test Function
Error: function terminated. Recommended action: inspect logs for termination reaso... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Xamarin Forms - Context not casting to Activity I'm trying to cast my Android.Content.Context object in my custom entry "CustomEntryRenderer" to Android.App.Activity. This worked in Xamarin.Forms 3.6, but not in 5.0.
public class CustomEntryRenderer: EntryRenderer
{
private Context context;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flask application not rendering My flask app is not rendering the page even though it is receiving the GET request. The signup page code uses the google signup popup from the documentation and stores the data into a sqlite3 database and then redirects to the index page.
@app.route("/", methods=["GET", "POST"])
def i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Add class on horizontal scroll with the scroll class add to the box I want to add class on horizontal scroll with the scroll a class add to the box like in the image with the sroll a class added then i add image on the class and also remove class when scroll back.
I tried to add class but i can't.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75582165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sorting and reshaping long DataFrame I have a DataFrame that looks more or less like this:
key_1
key_2
value
angle
A
B
10
1
A
C
15
1
D
F
12
1
A
B
11
2
T
R
17
2
D
G
14
2
D
G
19
3
B
N
18
3
D
F
13
3
My goal is to group the values by the column angle and turn the long table into a wide one ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Write a function in C with linked list Write the C function which receives as input two linked lists with pointers L1 and L2 of float values, and two float values, target1 and target2 and operates as follows:
• Search for elements in L1 with value equal to target1, and elements in L2 with value equal to target2;
• D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to play the element of the video acquired by "IntersectionObserver" I got the video currently displayed by "IntersectionObserver".
After getting it, I want to run "play()" to play the video.
However, it seems that it cannot be executed directly from the "Element" type.
What should I do?
const observer = new Inte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gatling-Scala : How to consolidated( group strings) from a loop output to a String Array or Vector Array Gatling-Scala : How to consolidated( group strings) from a loop output to a String Array or Vector Array
*
*I need to loop with array value providing string output
*consolidated all the retrieved string output... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Print hello in any programming language without print? In Any programming language? Can we print hello in different colours and make it blink without using print or any other function, I want to tell that is there any library or any other way which I can use to print any string or character with out using print func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Json schema, generic "one or more" Imagine a user writing some config files with some of the properties accepting either a plain value or an array of values of the same type.
The use case is convenience and readability from a user perspective where you don't want to clutter the file with unnecessary array declaratio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combining xarray datasets with combine_by_coords() for 2 dimensions simultaneously in python I have multiple xarray datasets with the dimensions: target-latitudes (180) and target-longitudes 360) and one variable: variable1. Each of these datasets represents a source-gridcell and thus corresponds to a particular sou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Macro in Combo Box (Form Control) does not work after copied into another cell I am new to VBA. The idea of this macro is that once Release option is chosen in row 17, row 18 will be hidden based on image.
It works fine until I tried to copy the combo box into another cell, in this instance row 23:
Sub ComboBox... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: bixby how to open the another app (using android common intent?) when i
ask Bixby to run a specific app, it will run it. Does Bixby run apps using android common intent? So, can Bixby not run apps that do not implement android common intent?
i would know bixby how to run (open) the another app
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75582180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: scatter on a Axes3D figure is not plotting from a for loop This code is part of a larger one, in which the rest works superb. After several tries I wasn't able to find a solution to this. We begin with "masa, costo volumen" which are lists that append new sublist depending of the user's will. After it's done, im try... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React component that don't use Tailwind global CSS I have a Next.js app that uses Tailwind. I want to load a third party document viewer that has it's own styles and there's a clash between this viewer and Tailwind styles.
Is there a way to avoid the naming clash?
One way is using iframes, but I would like to avoid ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Div shifts upwards when the text is too long (Angular/CSS) The goal:
Colored Boxes with text underneath it, displayed in a grid.
The colored Box is a div, the text is in a div as well. Both are surrounded in another div.
The problem: As you can see in the following screenshot, when the text is longer than one line, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: wildfly error: ELD-001318: Cannot resolve an ambiguous dependency When I run wildfly server with intellij, I get the following error message. It Was working last week. I am completly new to Wildfly can someone tell me what should I check? It is strange as nothing was changed in the code. I have unzipped wildfly-26.0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: poor ping performance via shell with asyncio I am working on an application that can monitor many IP addresses in a short time. For this I am using asyncio to launch the pings sequentially while waiting for a response. The problem is that I have detected that when the script validates several IP addresses (for now 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I make a bottom bar with a fab button in the center of the bottom bar in kotlin compose? I'm currently making a bottom bar, I think I've done everything right but it's not working properly. the background is completely black and the fab button appears in the center of the screen and the other buttons are not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linear regression between one global data(raster) and one variable(a fixed value for all grid cells) I have time series of a global dataset(raster) and a variable(a fixed value for all grid cells) related to this dataset for the corresponding year.
Global dataset example(not sure why cannot assign the order as a val... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does timestamp() show an extra microsecond compared with subtracting 1970-01-01? The following differ by 1 microsecond :
In [37]: datetime(2514, 5, 30, 1, 53, 4, 986754, tzinfo=dt.timezone.utc) - datetime(1970,1,1, tzinfo=dt.timezone.utc)
Out[37]: datetime.timedelta(days=198841, seconds=6784, microseconds=986754... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Replication issues after restart - SYNC node thinks that it is MAIN I have Memgraph 2.2.1 (Docker using memgraph-platform image)
I'm setting up a replication scenario. I have three instances:
While testing replication I created multiple instances:
Insta1: docker run -it -p 7687:7687 -p 3000:3000 -v mg_lib:/var/lib/m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React - How to split UI in components that depend on Context So we have a webapp that has a big component (it's all isolated in a folder, with all isolated subcomponents).
It's a fairly big component which connects with different services and only takes one prop which is an ID.
The thing is, right now in our code we... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python django todo list with comments I have a todo list app created with django and I need to add a comment model. In the app, user can add response/comment to todo lists and items, admin can assign user to comment a list/item (to deal with the to do item), and user can update to do list status by adding comment. H... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why Feature/ExampleTest fails on my Laravel app? I want to implement some tests on my laravel app and I begin a simple tutorial to do it.
Before making custom tests I ran php artisan test to verify the tests examples of Laravel.
I have this feature test :
<?php
namespace Tests\Feature;
use Illuminate\Foundation\Te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DOMPurify changing Mustache-Template-Structure I am trying to sanitize an user-submitted template by using DOMPurify. This template is using the mustache-syntax to embed variables etc. The sanitizing itself works without issue, but Mustache-Sections are being moved to different parts within the template and DOMPurif... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: pyspark fill missing dates in dataframe and fill other column with minimum of the two adjacent values looking to fill the pyspark dataframe and load the missing values.
Existing Pyspark DataFrame -
ID
Date
Qty
100
2023-02-01
5
100
2023-02-03
3
100
2023-02-04
3
100
2023-02-05
3
100
2023-02-08
3
100
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP Regex Pattern To Match Emoji Unicode I am using this pattern in
preg_match_all( "/'s|'t|'re|'ve|'m|'ll|'d| ?\p{L}+| ?\p{N}+| ?[^\s\p{L}\p{N}]+|\s+(?!\S)|\s+/", $text, $matches );
to tokenize my $text variable content...
$text variable contains : "Hello!! I'm Sajjad Hossain Sagor. It's 2023. w00t :D \ud83e\udd17"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Exception in thread "main" java.lang.NoClassDefFoundError: when running jar file build using Maven I am trying to package a quickfix/j application which I have built using Maven with archetype as maven-archetype-quickstart 1.1 and when I am trying to do Run As maven install then running it using the java -jar fixini... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unity: Android logcat spammed by "addLayerName, tid: 17835" message I'm trying to debug my Unity Android app, but the logcat is spammed with the above mentioned message. I cannot see where in the code this line is produced. Probably something internal to Unity (!)?
Does anyone know where this message comes from and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ubuntu with x86_64 binaries installation on Apple-Silicon I teach a "Computer Architecture and Assembly Language" course. The assembly I teach in the course is Intel x86_64 but apparently many students have Mac M1/M2 (Apple-Silicon) laptops.
My question is: is there any way to install Ubuntu OS with x86-64 bit binar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: I getting like this while i am connecting to another server in ubuntu cat ~/.ssh/known_hosts
cat: /root/.ssh/known_hosts: No such file or directory
cat ~/.ssh/known_hosts
cat: /root/.ssh/known_hosts: No such file or directory
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75582215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to sort div container content vertically using css? I'm trying to display div container content vertically (One under another). using css.
<div class="container">
<div>
<h1 class="enwan">This is an h1 element</h1>
</div>
<div>
<h2 class="enwan">This is an h1 element</h2>
</div>
CSS
#co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Attempting to write Powershell script with nested ElseIf Statements. Script is not performing as anticipated I want to preface by stating that I am not the most versed in Powershell scripting.
I have written a script that uses the system date function to determine what drives to copy my downloads folder to based on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mongo-Db mapReduce options types understanding I am trying to understand types for mapReduce function, there we have this types for mapReduceOptions (also, I know this is depreciated)
export interface MapReduceOptions<TKey = ObjectId, TValue = Document>
extends CommandOperationOptions {
/** Sets the output targe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sqlite3 in python. Problem with alert in SQL query I have a problem with alert in python. The goal is to have a notification that will tell me when I enter radno_mesto = 'programer'. However, I am not getting any notification. What's the problem with the code?
import sqlite3
konekcija = sqlite3.connect('data/napredn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regex pattern matches a comma when there isn't one I am looking for this pattern:
match = re.findall(f"{idiomas_alt},",prueba_regex)
in which idiomas_alt is the following list: idiomas = ["Gall","Port","Fr","Val","Cat","Prov","Cast" glued by |.
in this string:
'Cat., Cast. y Gall.'
I would expect it to return:
Cat
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Rcpp Armadillo: how to pass an array of sparse matrices from R to Rcpp? I would like to write algorithms for Kalman filtering and smoothing using Rcpp Armadillo and its sparse matrix object.
If the state-space form is time-varying I have a sequence of matrices that have to be passed to Rcpp Armadillo and iterated by... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I create a function that iterates through a multidimentional array, identifies which array of numbers is even, and returns the even array? I am a n00b and I have this challenge to do:
Instructions
Write a function named getValidPassword that takes a two dimensional array as parameter.
Each entry in the array... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MQTT on_publish gives no feedback and connection gets lost every 90 seconds despite keepalive=930 I am using paho-mqtt in my python script and the values of my temperature sensor are published every 15 minutes as they should, so this works fine. But on closer consideration of my logfile the MQTT connection gets lost... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Return the result of a function input in procedure this result When the returned result of the function is one cd, the procedure is running. But when there are more than 2 cd the procedure does not accept the result and does not return a value. The goal is when the function returns multiple results that all those re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant I have this CSOM code inside my Azure Function inside Visual Studio 2022:-
var certificate = GetCertificateByThumbprint(Environment.GetEnvironmentVariable("CertificateThumbPrint"));
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How a program that uses two child process stop, while first child is not done yet This is the program
The program is an implementation of pipe ( | )
#include <stdio.h>
#include <fcntl.h>
int main(int ac, char **av, char **env)
{
int end[2];
int file[2];
char **cmd1;
char **cmd2;
int status;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: React Native: Deep link handler doesn't fire on Pixel 6 The listener for deep-links successfully registers my handler:
Linking.addEventListener('url', handleUrlDeepLink);
But on Pixel 6 for some reason the handler doesn’t fire when clicking on a deep link.
The app opens up, but nothing happens and no logs appear.
W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: openoffice sdk c# error "File contains corrupted data" but opens fine in Calc Brand new to OpenOffice and having a problem from the start. Just installed the latest NuGet version of DocumentFormat.OpenXml in VS 2022 and I'm trying to open and save an .xlsx file as Tab delimited in C# but get an error but get this er... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: My selector options are undefined but the selector length is good I send to my twig page an array composed of 3 objects (my unit tests are valid, my objects are not null here):
echo $this->twig->render('form/index.html.twig', ['verbalAggressions' => $verbal_aggressions]);
Then I get :
const verbalAggressions = {{ v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a Quizz in php/MySQL I'm sorry to disturb you,
I'm coming to SOF to ask you for some precisions,
I'm a beginner in PHP and I would like to create a multiple choice or single choice quiz (both cases are possible) with a return after submit to display the score of the candidates,
Thank you in advance,
good... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Add a carriage return after TYPE I created a batch file to merge some files
The files are generated automatically and named like this:
TimeEntries_2023-02-24 070714.txt
TimeEntries_2023-02-24 082025.txt
TimeEntries_2023-02-25 082025.txt
etc.
So my batch looks like this:
TYPE "C:\TimeEntries_2*" >> "C:\TimeEntries_Me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582248",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JavaScript array length seems to be 0 even after data gets populated into it from fetch I am using the Google Custom Search JSON API in my app. I have a simple Scraper class that I use to scrap data from Google Search using the API, here is its code:
class Scraper {
constructor(apiKey, cx) {
this.apiKey = apiK... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to resize the view in height and width depending on the contents of the label in it? I want to make the view get bigger or smaller depending on the contents of the label in it.
There is no idea for implementing this behavior. Where to look? Please advise me.
A: UPDATED :
I thought you say the view ( means the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Python Folium Drawing Polyline and adding metadata/attribute information # Download the OSM map data for the bounding box
G = ox.graph_from_bbox(north, south, east, west, network_type='drive')
# Convert the graph to a GeoDataFrame
gdf = ox.graph_to_gdfs(G, nodes=False, edges=True)
# Create a folium map centered on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to add a new file in notepad++ using jN-npp-plugin? Question
Would you show me how to 'add a new file in notepad++ through jN-npp-plugin'? or would you recommend alternative that might probably fulfill my requirements?
Background
Bult-in Macro is not powerful enough for my requirement. Hence, I'm trying to write... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Can I somehow interactively debug a compiled JavaScript/React project that only works when hosted? We have a project setup that I expect is pretty common, and I am looking for a better/any way to properly debug it. I have taken over the project, so I'm not the one who set it up like this, nor can I get permission to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to remove blue background from app icon? MAUI Hybrid I use a transparent PNG icon, the application displays correctly in the taskbar, but when I add its shortcut to the desktop, the system adds a blue background. How to fix it?
Correct icon on taskbar:
Incorrect icon on desktop (shortcut)
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75582259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Swift tableView insertRows at the top while maintaining proper index Problem:
I need to top populate the tableView in order to keep the content of existing cells loaded such as playing a video.
ref.child(live_mode).queryOrderedByKey().queryLimited(toLast: 200).observe(.childAdded, with: {snapshot in
self.posts.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AWS Kinesis Firehose + Lambda: How to handle multiple record creations/updates that occur at the same time I have a Lambda function linked to my Kinesis data stream as part of a Kinesis Firehose workflow. All the lambda function really does is take serialized records that are coming from DynamoDB, and deserialize th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Random error in Azure Function: (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) I have an Azure Function that connects to my on-premises SQL Server database.
I am randomly getting the above error; it seems to appear more frequently during times of high usage.
Exception while ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What should I do to have a symbolic solution in minimization? Is this possible? I want to solve y variable from "expression" equation in terms of p_s and p_h. I solved it with "solve" method but does not solution because with this parameters it is not possible. I thought, I can solve it with minimization but I don't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using strreplace with variables against running script? Update:
A lot of progress was made to the ini result and the self-editing-code result; however, only the functions that make the edits are finished, not the gui/implementation. Will add more soon.
My roommate is trying to replace a section of a script while the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a same index if string of list in one row present in another rows I am trying to create a index column in pandas dataframe for every row if string in list of string is available in another row then I should apply same index for that new row
if string of row[0] is in row[1]
then index of row[1] should h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Github Actions with Private Github Repository as Source for Terraform Modules I have a github organization account under which there are two repositories.
*
*tf-modules ( Reusable codes are written here )
*tf-consumer ( Modules are consumed here )
I'm trying to use the "github.com/custom-organization/tf-modules/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to put a count or sum to all duplicates and make every unique data has a row I have this table called Table1 with fields subkey, category and frequency. I want to populate the frequency by counting per category.
Subkey
Category
Frequency
AA
apple
BB
apple
CC
banana
BB
grapes
AA
apple
AA
ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to compare prediction value with actual value in LSTM Timeseries encoder-decoder model I'm using the lstmencoder-decoder model model.
We created a model that takes a week (674 data) and learns a day (96 data) as follows.
train.shape, test.shape # ((85608, 1), (22176, 1))
def split_sequence(sequence, look_back,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Column name same as spark data type issue i have a table with column name "interval" which is a kind of data type in spark 3 , while processing the table data we are failing due to this issue ,we cannot rename the column name as it is from different source location, any suggestion on this please.
i tried replace in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamic update of js files via node js I made my own discord bot on node js. Sometimes I change js files and want them to automatically update on the server. How to do it?
P.s I dont use Express
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75582274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: system.text.json - jsonarray convert to list object I have a jsonarray object which like
var arrayObject = result.data!["shop"]!.AsArray();
there have some array of jsonobject inside
How to convert into list of object
I have try the is not working
var convertobject = getObject.GetValue<List<shop>>();
it throw exce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What is the meaning of the getcwd() method? import os
cwd = os.getcwd()
df.to_csv(cwd+ "/BA_reviews.csv")
I didn't understand this code properly. Can someone help?
A: os.getcwd docs
Return a string representing the current working directory.
so
import os
cwd = os.getcwd()
df.to_csv(cwd+ "/BA_reviews.csv")
mea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: When i call Method of Parent Class Using Super.displayInfo Values are not printing Question
*Here is My Code *
*I need to Override displayInfo Method. so i have used super.displayInfo and than printing interest calculated by the respective class savings or fixed deposit. the interest is getting printed but other de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Posting a number value to an endpoint in flutter web final response = await http.post(
Uri.parse(url),
body: {"id": 0, "name": "bhag"},
);
Why do i get the following error when i execute the above code in flutter web? and is there any other ways to pass number in the post body?
ERROR:
ChromeProxyService: Failed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Popup position not close to the cursor position in FireMonkey I'm experiencing a very strange behavior of the TPopupMenu in Firemonkey (Delphi 10.4).
I've placed a TPopupMenu component on the form and I have assigned a couple of messages to test the functionality.
I have also assigned the Popup1 to all the main comp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I capture the Looker User's Groups as an Additional Param (in JDBC/Snowflake Connection) I am trying to pass the Looker User's Groups as an Additional Param in my Looker Snowflake Connection. This will help me to differentiate between customers and use cases for a shared user/role/connection to Snowflake.
I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tron full node on Google cloud I want to run a Tron full node on Google cloud and be able to broadcast transactions, listen to addresses etc. with that node, with an API call from a code in my local computer, can you point me to a step-by-step guide on how to do that?
On Tron github I found tron-deployment and grpc-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does Docker stack in Portainer support `Docker compose profiles`? I am using the next tools versions:
*
*Ubuntu version: 22.04.1
*Docker version: 23.0.0, build e92dd87
*Docker compose version: v2.16.0
*Portainer version: 2.17.0
I am trying to setup the stack from Git repository via Portainer by following the n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to start with (install) mayavi on Jupyter by Anaconda on Win10? Question
How to install mayavi module so that I can use it in Jupyter Notebook? I use Windows 10. For me it's a nightmare.
I use the latest Anaconda and in order not to break dependencies, I don't want to use PIP (I'm not sure if this sentence makes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issues writing ampersand into a file from windows batch script For reasons outside the scope of this question, I need to create a batch file dynamically from another batch file. In essence, I have a serious of commands like so:
echo some command > newfile.cmd
echo more commands >> newfile.cmd
echo and more commands... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Input string was in an incorrect format Whenever i run this C# console application I can't read second value:
DateTime tiemposVuelta = new DateTime(1970, 1, 1);
DateTime tiemposPits = new DateTime(1970, 1, 1);
Console.WriteLine("Programa de resultados estadisticos para formula 1");
Console.WriteLine("Formato de uso:... | {
"language": "es",
"url": "https://stackoverflow.com/questions/75582293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Setup cloudwatch alert for aproaching max number of pods in cluster How would I go about setting up cloudwatch alerts for when I am aproaching EKS pod limit.
I can calculate the number of pods active using the query:
SELECT SUM(node_number_of_running_pods) FROM SCHEMA(ContainerInsights, ClusterName)
I can calculate... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to get Refresh token OAuth I have this code working, the problem is I am unable to get the "refresh token". Searched the internet a lot, but could not find the solution. Thanks for the help in advance :)
$scope = 'https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtube.upload';
$authU... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to force vue router to redirect more than once? I have a view for a route, let's say "form/:step", that reads and controls the route parameter "step".
I want to be able to go to said view without specifying the step, and then, based on a set of rules, I set the step parameter with:
this.$router.replac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75582297",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |