text string | meta dict |
|---|---|
Q: Mongodb $lookup when localField is Array of string and foreignField is in ObjectId formats I want to do a $lookup where the localField is a String of Array which representation of an ObjectId as string and the foreign field is an actual ObjectId.
This is order collection json
[{
"_id": {
"$oid": "63fc524dda1a2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623548",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I use np.array to speed up calculation instead of looping (with some preconditions)? I need to use the following code; is it possible to use np.array to do the exact calculation and get the same result faster?
data['daily_change'] = data.groupby('title',group_keys=False)['return'].pct_change()
for title in d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sharepoint - Failed to validate notification URL in /subscriptions endpoint I'm having trouble registering webhooks on document libraries using the /subscriptions endpoint.
When I use ngrok as the noticafication URL on my local environment, I am able to create the webhooks and listen to events successfully. However,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WkWebView has stopped the working due to unsupported browser restriction by Intune policy I have one iOS application fully developed with WKWebView which loads all the Auth-based URLs and Sharepoint content which requires the organisation login authentication. If we load the URL the first time it asks for the login ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623553",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am try to setup of flutter project at getting error I am try setup flutter project while getting different error.
*
*Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/firebase_core-1.24.0/lib/src/internals.dart': The system cannot find the file specified.
2 Error: Method not f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flutter - Get Product details connect an API to UI using GetX I am flutter beginner, using dart language. I am trying to integrate an API with UI in Flutter using GetX.
I created Json class and product controls. When I try to create the product list view, I get the below errors.
Thanks in advance!
Error lines:
1. it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Angular material focus border I recently updated from Angular 13 to Angular 15, such a nightmare with all the designs broken and I am still pulling my hair.
Most of the issues were with Angular Material upgrade to 15.
Here is a list of all my angular dependencies.
"@angular/animations": "15.2.1",
"@angular/c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does `Rc` factory methods clone the input's content instead of reusing it? We can call Rc::from(my_box) to convert a Box<T> into Rc<T>, but its implementation is cloning the content into a new buffer RcBox instead of reusing the old box.
The only convincing reason I can think of is that bookkeeping variables nex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My mat Autocomplete option is not working properly mat options is floating around and not sticking with the form field
I have used mat autocomplete in a form field and I cannot set the mat options correctly to a particular field. When I scroll it does not closes.
displayCountryDetails(event :any,formControlName){ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Trying to Finish BattleShip Game I'm trying to make a java BattleShip game for a school project and I think I have it mostly down but I'm wondering if I'm doing anything wrong or if i should start over with a better understanding of it.
I've tried looking up other solutions but haven't had any luck getting my Contro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In production strapi after deploy in vps server gets error Strapi Version: 4.7.1
Operating System: Ubuntu 22.04.2 LTS
Database: Postgres
Node Version: v18.14.2
NPM Version: v9.5.0
Yarn Version: v1.22.19
I have a problem loading content. I installed strapi on an AWS server. I did everything as written in the strapi d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix this error that occured using pinput package? Last number is different
I don't know this fix
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does Spinnaker CloudDriver support Redis Sentinel connection? I am using Spinnaker CloudDriver with Redis for caching, and I would like to know if it supports Redis Sentinel for high availability. I have searched the documentation and the code on GitHub, but I couldn't find any information about it. Can anyone confi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ajax in PHP MVC for my university project i built a simple mvc framework in php from scratch and i have come to a point of implementing ajax in the framework. After doing some googling i decided to create a single AjaxController to handle all ajax requests in the application. Is this the most optimal way to handle a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I know when an audio track has ended in MediaPlayer? I want to know when my audio track is ended to perform some actions.
I faced the problem that OnCompletionListener is not working even if I set mediaPlayer.setLooping(false)
Btw, MediaPlayer is working...
mediaPlayer.setOnCompletionListener(mp -> {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to unlimit index range in C# and Unity? I'm trying to get information from '.csv file' and send it one by one to a shader in Unity. I want to put more than 10,000 array information into the shader but the index has limitation upto around 1024 and when it exceeds that number, it says "indexOutofRangeException: In... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Using For Loop and If Statement Together I am trying to get a function, "mock_function", to iterate through the array, "x", and either square or cube its elements, depending on if the element is greater than 5 or not. I need the output to be an array as well, containing the elements squared or cubed. Instead I am ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Animate elements outside an each block I have a simple "todo list" style app that uses an {#each} block to render a list of <Item /> elements. I'm using Svelte's animate directive to make the list items slide up or down when items are added or removed. This works great.
The issue is that I also have a <Footer /> com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does Python backspace behave strange? Python escape character \b (backspace) behaves in a strange way.
Just look at the code below:
print("12\b345")
print("12345\b\b")
print("12345\b\ba")
output:
1345
12345
123a5
I was expecting:
1345
123
123a
A: The backspace character doesn't actually work like the backspa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Check if value exists in dictionary So I have this list of dictionary below -
([('1', ['1']), ('2', ['6']), ('3', ['11']), ('4', ['16']), ('7', ['']), ('8', ['31']), ('9', ['']), ('10', ['']), ('11', ['']), ('12', [''])])"
Now I'm looping using a for loop as below -
for k,v in list(d.items())
This includes all the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-6"
} |
Q: Restsharp - Change IP Address I've downloaded the latest version of RestSharp v107. My local machine has multiple IP addresses. Using an older version of RestSharp, I was able to choose which IP address to use using this code:
client.ConfigureWebRequest(req => { req.ServicePoint.BindIPEndPointDelegate = (servicePo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Spark and Yarn: What's the difference between Effective Capacity and Effective Max Capacity in Yarn? I can't understand what's the difference of two parameters in settings of Yarn Queue:
Effective Capacity: <memory:480407, vCores:66> (9.0%)
Effective Max Capacity: <memory:1601356, vCores:220> (30.0%)
What I ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NotADirectoryError: [Errno 20] Not a directory" error? Where am I making a mistake? I am trying to export files from an S3 bucket folder to an SFTP user folder named /import/, but I ended up with the following error. Any lead is much appreciated.
NotADirectoryError: [Errno 20] Not a directory: '/home/ubuntu02/projec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: why i cant access my local files with wsl2 on vscode im trying access my local files in vscode with wsl2 but when i connect to wsl2 and it starts on a vm and when i click local to access my local folder it closes wsl2 and starts on powershell vscode
is there a way to access local files without on vscode without conn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Migrating log4j to log4j2 2.17.X version. Recent log file as base file with format "fileNameyyyyMMdd_HHmmss_SSS.log" I am migrating log4j to log4j2 2.17.X version. Logs file rollover when size is x MB. file rollover format is -%d{yyyyMMdd_HHmmss_SSS}. I am using below code:
RollingFileAppender.Builder rollbuilder = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I want to have a button with a higher z order than hwndHost in wpf I want to have a button with a higher z order than hwndHost in wpf. Changing the z index in grid, panel and canvas did not work. Sources found in msdn documents state the hosted window in hwndHost will always stay on of other WPF elements in the same... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to find out which native libraries to link in buiding Rust static library I want to creat a static library using Rust, and then use it in a C program. The library is expected to be self-contained (i.e. all its dependencies are self-contained).
At first, crate-type = ["staticlib"] was added in Cargo.toml. But thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SOAP : GetAuthCode do not have a property of the name arg2 I am trying to deploy soap webservice in apache tomcat 9 on RHEL 7.9. I tried to debug and find solution but could not get root cause. I am getting below exception. How can i get rid of this error and successfully deploy my service.
com.sun.xml.ws.wsdl.Paylo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MariaDB column datatype DATE got converted to DATETIME datatype When I try to add a new DATE datatype column to my table, it gets automatically converted (see attached screenshot) to DATETIME datatype, is there some sql setting I must disable to prevent this?
MariaDB version is 10.6.11.
MariaDB [mydb]> describe my_t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you write a ViewModel Unit Test with Mockito in Java? I'm trying to write a Mockito unit test to prove that a ViewModel initializes properly.
I have a ViewModel with the following constructor:
public MyViewModel(@NonNull Application application) {
super(application);
repository = new Repository(applic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get the date of source content created in windows using python? I have a file with the following properties where I can retrieve created and modified dates by using pathlib (st_ctime, st_mtime) easily.
But I want to get the date displayed in the Details section of the same property tab, shown in the red box:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dota2 mod error: "attempt to index a nil value" when using CreateHTTPRequestScriptVM in addon lua script I am trying to run an addon in my Dota 2 mod and do an api call so I used CreateHTTPRequestScriptVM to generate a request but when I run the game it always shows error attempt to index a nil value. My addon_game_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: PySpark quickly starting problem on windows I just write the code like official documentation:
from pyspark.sql import SparkSession
from datetime import datetime, date
spark = SparkSession.builder.getOrCreate()
rdd = spark.sparkContext.parallelize([
(1, 2., 'string1', date(2000, 1, 1), datetime(2000, 1, 1, 12,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linux - DDWRT admin/management bandwidth limited to 70mbps , LAN clients are not limited (Asus N68U) I have a DD-WRT Asus Router RT-AC68U
Firmware: DD-WRT v3.0-r42729 std (03/18/20) (Tried latest 2023 release)
Running iperf3 from my VPS server.....
iperf3 -c MyWAN-IP
Connecting to hostyWAN-IP, port 5201
[ 4] local... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Processing speed rasterstats.zonal_stats What I think I need
Does anyone have any suggestions for how to run zonal statistics in a faster way in python?
zstats = rasterstats.zonal_stats(shapefile, raster, affine=affine, nodata=np.nan,
stats=stats, all_touched=True, geojson_o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Changing and displaying image immediately in Java Web Application Im doing change-profile-feature of customer in my Java Web, include of changing avatar. However, after I saved the new avatar to some folders in my app, the new one did not displayed immediately (still be the old one). It is only displayed when I refr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Destructuring an array in php into another array I want to perform Destructuring in php just like in javascript code below:
[a, b, ...rest] = [10, 20, 30, 40, 50];
console.log(a,b,rest);
Output:
10 20 [ 30, 40, 50 ]
How can I preform that operation in php?
My php code is:
<?php
$array = [10, 20, 30, 40, 50];
// ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Multiple parts with chapter number reset at each part -- how do I make hyperlinks go where they supposed to? I have a book document class which has several parts marked off with \part{THE BEGINNING} and the chapters reset using \setcounter{chapter}{0} with each successive \part{}. This works fine. But I also want ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Question about template literal parameters
function getPersonInfo(one, two, three) {
console.log(one);
console.log(two);
console.log(three);
}
const person = "d";
const age = 10;
getPersonInfo`${person} is ${age} years old`;
Why is the one array [ '', ' is ', ' years old' ]?
'is' and 'years old' can also ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623631",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cant do proper forest plot on R studio with actual OR? I am trying to do a forest with the predict function for the actual OR but I am having difficulties with the metafor package on R, any advice please?
I did it without predict, and the odds ratios are not correct this way
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SPARQL: Service with dynamic IRI I want to query an .owl remotely using the IRIs provided in another .owl file. For example:
The base file:
<rdf:Description rdf:about="https://example.com/data/syst1.owl#syst1"> <hasSub rdf:resource="https://example.com/data/sub1.owl#sub1"/>.
<rdf:Description rdf:about="https://exa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Celery: Would increasing the number of queues speed things up? I'm running my site on a VPS with 4 vCPUs, so by default each queue has 4 worker processes.
I'm running 6 queues simultaneously now for my Celery process.
The first queue, let's call it queue1, it's a very busy queue with multiple tasks/processes running... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handle Home Button in Android Box for custom launcher I wanted the app to come back to the home fragment when the home button is clicked. Everything is Fragments on an activity. I need the home fragment to be loaded when Home button is clicked from any fragment. I have been building a custom launcher for android box... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Parent activity view returns null I have a bottomNavView and when I try to access the parent activity view by using requireActivity().findViewById() in the default/first fragment, it returns null and crashes.
But it works on other fragments of the bottonnavview. Only the initial fragment shows this behaviour. Any Id... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I'm getting a error on "Optimize SEO Data" with no error code how do i solve this enter image description here
I have started a wordpress blog and when i'm clicking on Optimize SEO Data. It's giving me this error and there's no error code
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Find the unique rows in a file with python I am trying to take rows which are uniques. Here unique means cells should not share any letter.
I have an excel file like this with thousands of rows:
id
letters
1
A,B,G
2
B,G
21
C,D
30
E
35
K,M
40
E,F
The values in letters column should not be contai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: On ng serve command ,compilation goes into infinite loop in angular 14 enter image description here
Also on single time save file it generate 5 to 6 time compile project in node.js
enter image description here
Version information.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Implementing 2d viewer using helix I want to use helix tool kit as 2D viewer with panning and zooming functionality.
Need to show only line work with above functionality with MVVM support to lines.
A: First you will have to choose a plane to project (for example XY and ignore Z), then you can lock the rotation and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't log on to EC2 Instance? Sudo commands not working? All of a sudden, I'm unable to log on to my EC2 instance via SSH. Right before leaving terminal, I was getting the following error anytime I tried to run a sudo command:
/etc/sudo.conf is world writable
sudo: /etc/sudo.conf is world writable
sudo: error in /et... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to send message from mosquitto to rabbitmq? It took me 2 days now to figure out the issue of why I cannot send messages from mosquitto to rabbitmq. I have a task to do mqtt stuff, as they recommend using rabbitmq as a broker. I have this setup in my docker file
version: "3.2"
networks:
rabbitmq_go_net:
servic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Calculate vector of dot products how do i do the following dot product preferably using pytorch tensordot()
Let say i have vector A and vector B :
[a1,a2] . [b1,b2,b3] =
I want to get as a result :
[
a1 * b1 + a2 * b1,
a1 * b2 + a2 * b2,
a1 * b3 + a2 * b3
]
vector by vector = vector of dot products
A: The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Enum default initialisation solution I have an enum defined in a file. In another file I declare an instance of that enum. This declaration is inside a function . The function looks like
Fname(){
//Declare enum instance
If some condition is true
Initialise that enum instance
with an enum returned by ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Audio Issue in Videocalling with livekit in flutter curently i am working on videocalling project in flutter. i have ussed livekit for videocalling. but i am facing one issue between android and IOS videocalling if android and IOS user do first call audio will be fine but if they do second call one of the use cant g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R reading in large .dta files and replacing entire columns with NAs? I am working with a .dta file in Rstudio. It has over 90000 rows and over 90 columns. I am importing it with the read_dta function from the haven package. When I import it, it reads in the first 60 or so columns correctly, and then for the last 30,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add validationSchena dynamically in useForm object I am new to Vuejs and I am using Vue 3 with composition API. I am creating a Yup schema through custom fields. The problem I am facing that how can I add/assign dynamically created Yup schema to useForm().
Currently, what I have tried so far. I have created a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Import enum values declared in same file in Kotlin? How to to import enums that are declared in the same file into the current scope? So it could be used without type specification? playground
enum class E1 { a, b }
fun main() {
val e: E1 = a // I want to use just a, not E1.a
println(e)
}
A: You can impo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I efficiently access data stored across multiple excel spreadsheets? I'm working on a project that requires me to graph the daily Shannon entropy of a very large data set stored in multiple excel workbooks. In total there are about 8 million entries divided into groups of about 40,000. The groups aren't organ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to edit fasta header? I want to edit fasta header
from this
>NR_130660.1 Hanseniaspora uvarum CBS 314 ITS region; from TYPE material
AAGGATCATTAGATTGAATTATCATTGTTGCTCGAGTTCTTGTTTAGATCTTTTACAATAATGTGTATCT
>NR_131850.1 Cortinarius timiskamingensis NBM D. Malloch 3-9-81/2 ITS region; from TYPE material
GGAAGTAAAA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use your own id for Document in Spring Data Mongodb I have a entity which has a unique string value that I would like to use instead of the auto-generated objectId in spring mongodb documents. However, when I save the object it still generates an ObjectId. Here is the document.
@Document(c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Way To Launch Outlook Web Add-In When Outlook Window Opens I was having a outlook COM add-in. Which I have to migrate into web add-in.
I have following doubts regarding web add-ins.
*
*In COM, Add-In was able to be displayed on ribbon of outlook. How can I display web add-in on ribbon of outlook ?
*In COM, I was ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623676",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to schedule an R script on MacOS monthly in CronR I'm trying to use CronR to schedule a script to run monthly on my MacOS on the first of the month. Not quite sure what's wrong with the code.
When I use the following, it runs monthly on the first but ALSO weekly on mondays at the same time
cron_add(command=cmd, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apache kafka, springboot, group chat application, cassandra, redis, mysql, mongodb How to manage group created by many users of chat application and make works with Kafka consumer group.
I require complete example in springboot
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623680",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to put them all in the middle? How to make HTML automatically recognize whether the answer is right or wrong? I want to move all four boxes and buttons to the middle to be centered.
I try to enter the correct answer, but when I submit, it shows that the verification fails, so I want to know how to let HTML autom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unable to see colored cells in Pandas data-frame in PyCharm I am using PyCharm tool for Python coding. I have framed a data-frame using pandas. I have provided conditional font color formatting in the python code. But, in the output dataframe, I am not able to see the expected colors. Is it a problem with PyCharm or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623683",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Convert string to date and pass the query params in API I have a requirement to pass greater than date in query params for API. The original format is
params = {deleteddate="null", updateddate ='gt(2018-01-01)'}
The incoming data format is string and i am getting in a parameter and trying to pass it to params like ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does the execution of the expression not stop (FireBase) I registered a code that indicates that the user has points on the balance that he can write to Reset. When writing to Reset, the number of points specified by the user is subtracted from the total number and recorded.
Faced with the fact that the specifie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I make a vue component that accepts any prop? I know I can write a component that would take a single prop to render an icon as follows
<template>
<span class="material-symbols-outlined">{{ name }}</span>
</template>
...
But I was wondering is it possible to create a VueJS component (doesn't have to be an SF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Running flutter app on mobile via USB cable but appears black screen only Here is the message i get when i run flutter app on my android mobile and also i see just black screen on my mobile, though the app gets installed i can see icon of that
Launching lib\main.dart on SM A217F in debug mode...
Running Gradle task ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Run user script only if page has a password field I have a short piece of JavaScript code that I'm using as a user script. The action works fine, but I want to add if-statement to it and don't know how to structure it.
In plain language, I want it to do this:
*
*If there is a password input field on the page, then... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is hydration in react? Currently, I am learning about react and got to know about the term hydration I am not sure How it works, can anyone help please. thanks in advance.
I created react-app and it sometimes gives hydration error to solve this error I am not pretty sure how hydration works so I want clarity on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to embed GitHub repositories on my website? I am working on a website and I would like to display/embed a repository from my GitHub onto my website.
I have tried using Repo.js. However, I’m not sure whether I’m using it correctly or not. The problem I am having with Repo.js is that my repository from GitHub does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating a new instance of a custom hook when importing into a component I wrote my own hook to handle inputs in forms
const useForm = (fields) => {
let initialState = {};
fields.forEach((field) => {
initialState[field.name] = field.value ? field.value : "";
});
const [form, setForm] = useState(initialS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reloading but keeping the sessions I have made a simple Student Management system using php, JavaScript and CSS.
I want to be able to reload the php pages within my system but keep the php sessions that I have set.
Any Solutions?
Here is a snippet of code from a php page.
I made a button to go back to the previous... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Latex table issue enter image description here
When I use table, my table doesn't fit into the column.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Errors appear on android old version Good day. I would like to ask for a help. I want to modify my android billing system. When I open
the application. There's an error appear on the compiler. I am using the old version of android
studio. Version 2.2.3.
Error:
C:\Users\TziH\Desktop\Desktop File\BlueToothDEMO33\app\s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does the logo move to the right when zoomed in? I want it to stay in the same position When I try to zoom into the website, the logo moves and I want it to stay in place. I tried to ask ChatGPT about it but got no real good answers.
.logo {
width: 80px;
height: 40px;
backgro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: vscode debug c++/Rust in a conda virtual env I am trying to debug a program coded in Rust and python which Rust called a python file. The debuger is codeLLVM. But how can I use a conda virtual evn from Rust main?
I have tried it with a "preLaunchTask":"pythonenv",
the tasks.json like this:
{
"version": "2.0.0",
"tas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to perform XSS in location header How can I bypass XSS protection in order to inject an XSS payload in the location header?
The backend code looks something like this:
<?php
// Get the value of the "src" parameter from the URL
$src = $_GET['src'];
// URL-encode the "<" and ">" characters in the "src" parameter ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Vector transformation I have to copy the values of a 2D vector to another 2D vector only if the values are within some limits.
For that, I wrote.
[[nodiscard]] std::vector<std::vector<double>>
GetDataAfterApplyingLimits(const std::vector<std::vector<double>>& input)
{
std::vector output(
input.s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: mongoose code showing error of a call ack function app.post ('/create_contact',function(req,res)
{
contact.create({
name :req.body.name,
phone:req.body.phone
},function(err,newContact)
{
if(err){console.log('error in creating a contact!');
return;}
console.log('********',newContact);
retu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: can anyone help me with this error? how can i fix it? Error message:
can anyone help me, i need to use c# web development on vb.net and i get this error whenever i create a project. please i got many pending work to submit
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Can I run nunit3-console directly on Linux as a .NET 6 app or is it just compatible with .NET 6 test assemblies? We've been using Mono for years to run our .NET app. We've recently started building using .NET 6, which allows it to run directly without Mono. NUnit.ConsoleRunner.3.15.2 supports .NET 6. I'm wondering i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Building a website using python for the first time and getting an import error, does anyone know why? I'm using this tutorial to build my first website and my directory setup is identical as shown in the video: https://www.youtube.com/watch?v=dam0GPOAvVI
main.py:
from website import create_app
app = create_app()
if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Table won't sort cells without formulas I have the table below:
My formulas from D2 to G999 is:
=IFERROR(IF(OR(INDEX('Client List'!$1:$1048576, MATCH(A2,'Client List'!$A:$A, 0), MATCH($D$1,'Client List'!$1:$1, 0))="Complete - Late",INDEX('Client List'!$1:$1048576, MATCH(A2,'Client List'!$A:$A, 0), MATCH($D$1,'Clien... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Multi step large form validations Add validation in each fields of a every multi step of a form the next tab and the upper(header tab) will be enable when only all the fields are valid and filled. Submit button should be in last step which will enable when all the fields of last steps are fill with file uploads file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I have errors in debugging my application project in flutter My laptop computer cannot enable android emulator because It doesn't have Hyper-v (please I need help on how to install Hyper-v on windows 10). I connected my android device to my laptop computer and I started debugging and this Is the error I got
Exceptio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: portable ram which can be used like external ssd is there any hardware available which can connect ram to existing computer which can act portable ram (like 1Tb hard-disks) we can connect with any pc and ram get expanded?? or something related to it?
information related to it or any idea regarding the same.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I have created a digram for my question here, I am willing to achieve water flow effect using Flutter? Any Hints?
Animation should be like water is dropping from top to funnel and it is filling the pipe one after another. once first pipe is filled then it goes to second pipe and so on
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How may I debug the Heroku down cause? I want to know exactly at which point or call my app went down.
This call may be an API call or some event but I want to know so I can debug that point.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75623736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How the threshold value of a feature and gini value using CART decision tree are calculated for text classification? I tried the CART algorithm on a few sample (4) sentences for binary classification using bag of words vector representation. The result using Python and sklearn generated a decision Tree.
But I have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623737",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: With WinUI 3 and C#, how do I make ListView items not selectable (IsHitTestVisible="False") but still make CheckBox controls checkable? I have the following XAML code:
<ListView x:Name="filterListView">
<ListView.ItemTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: what is php regex for check if upload file name have german umlauts? what is php regex for check if upload file name have german umlauts?
file name : Screenshot_Erdös.png
i tried below but not working
if ( preg_match('(?<![äöüÄÖÜß\w])([äöüÄÖÜß\w]+)(?![äöüÄÖÜß\w])', $file_name )){
$file['error'] = __( "WARNI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: String-compare with approximation I need to match package-names of 2 different directories together.
e.g. for strings that match
xserver - xorg-xserver6
gcc_3.4 - comp_gcc_bin_3r4
systemd - systemd
nano_9.0 - nano9
...
e.g. for strings that must not match
vlc - clamavlcompare
kernel_dr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Eslint Parsing error: Unexpected token as when using operator 'as" I can't use the typescript operator as in my .vue files, When I commit code use lint-staged, it show erros as below:
const collapse = inject('collapse') as Ref<boolean>
// 14:36 error Parsing error: Unexpected token as
// eslintrc.js
module.export... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ViewPropTypes will be removed from React Native ViewPropTypes will be removed from React Native, along with all other PropTypes. We recommend that you migrate away from PropTypes and switch to a type system like TypeScript. If you need to continue using ViewPropTypes, migrate to the 'deprecated-react-native-prop-typ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The $.ajax() function inside a function is not invoked while the function is invoked There is a JavaScript function on a webpage I am creating. The $.ajax() function is called inside the previously mentioned function. When the so called function is invoked, every line of the function gets executed except the ajax pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to optimize this github action workflow to remove timeout and failures I am trying to deploy NestJS project on a digital ocean droplet. It has a configuration of 25GB SSD and 2GB RAM but I am still facing issues like timeout even just on npm i with SSH and if I run npm run build command with SSH digital ocean se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: react-redux giving an import module error in next.js This is the error I get from the next.js browser and in my terminal
SyntaxError: Cannot use import statement outside a module
import Provider from './components/Provider';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at Object.compileFun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Global class for all google ads in flutter i want to write all google ads code in a single class to prevent code repetation in every class in flutter
i have try to implement App open ad in a seprate class and call it where i wanted to show. but i want to show all my ads on different screens with single ads containin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623754",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I ran into a problem with the NET Framework, System.IO.Path in the application that was passed I ran into a problem with the NET Framework, System.IO.Path in the application that was passed to me but I didn't really understand it. The point of the application is to find file links and list them, can you help? I am a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75623756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |