text
string
meta
dict
Q: Algebra Finance DEX I am reading algebra finance DEX white paper. I am unable to understand their working sigmoid function and how did they derive it. Can anyone explain it to me? I tried to derive it myself but wasn't quite there
{ "language": "en", "url": "https://stackoverflow.com/questions/75577975", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to explicitly set the amount of visible memory from inside the docker container I am using complex multi-container setup via docker compose. I wish to limit each container's max amount of memory. I set max amount via deploy.resources.limits.memory section in docker compose: deploy: resources: l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unique of Line Segments Array let array= [ [[396.72, 241.07],[396.72, 241.07]], [[1,2]],[[2,1]] ,[[396.72, 241.07],[396.72, 241.07]], [[3,2],[9,1]] , [[2,1]],[[1,2]] ]; Unique Output: [ [[396.72, 241.07],[396.72, 241.07]], [[1,2],[2,1]], [[3,2],[9,1]] ] For example, treat [[1,2]],[[2,1]] as a segment [[x1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Keep Content Of Tab View Custom In Scroll View SwiftUI When changing the tab custom, I want to keep the content tab including Pineview if it is available in a scroll view and I'm using a view modifier to keep scroll content with Pined View. But in this case, the scroll had 2 tabs, and the sizes of the tabs were diff...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NuGet package for linux and windows alike I'm using the nuget package net.ibm.data.db2 (->windows), which is also available as net.ibm.data.db2-lnx (->linux). Now when building my own .Net 6 project MyProj.csproj in VS 2022 using net.ibm.data.db2(or -lnx), I can simply choose which one to use depending on build conf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Select from a list of objects where a value occurs more than once I have a list of the below custom object in python. I want to create a new list of objects where the 'ledId' more than once (like a list of duplicates based on an id) The object class CustomObject: def __init__(self, id, ledId): self.id = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Spring boot Service Layer Tranction not working i am trying to achieve spring boot Transaction service layer bit not able to achieve: Here is my code @Service public class EmpService { @Autowired EmployeeDao employeeDao; @Autowired EmployeeRepo empRepo; @Autowired EmployeeHealthIn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why can't I assign a value to an "in" value When I tried to assign a value to an in value like this: const char* fragmentShaderSource = "#version 330 core\n" "out vec4 FragColor;\n" "in vec2 TexCoord;\n" "in vec3 Normal;\n" // <------here is the value I want to assign "in vec3 Tangent;\n" "in vec3 biTangent;\n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: React useEffect triggering on unMount when in Production I am running a React (Typescript) app with a dotnet backend and locally all works alright, but once I deploy it to azure my useEffect hooks start misbehaving. For example, this call: const getContacts = useCallback( () => { getAvailablePartne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to display latest value in line graph across multiple filters in powerBI I have created a line chart between regions and category sales data. It also includes filter across 3 different categories(retail, wholesale, manufacturer sales). So totally 3 lines with different colors are visible in chart How do I displa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: FastaAPI - CSS loads, but is not rendered in jinja2 template It seems that the HTML in my FastAPI app is not rendering my CSS properly, even though it loads the file. What could cause this? I have mounted the static files: from fastapi import FastAPI from starlette.staticfiles import StaticFiles from st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578001", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: "Not allowed to load local resource: chrome://favicon/..." after migrating to manifest V3 I'm getting the error Not allowed to load local resource: chrome://favicon/size/16@1x/https://google.com/ This happened when I tried to migrate a manifest for a chrome extension from v2 to v3. I need to fetch favicons for bookm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to create an aggregated javadoc gradle task on the root project when using buildSrc? I am currently attempting to migrate a project over to buildSrc. I previously had a task javadocAll in the root build.gradle: task javadocAll(type: Javadoc) { source subprojects.collect {project -> project.sourceSets...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update a field in MongoDB from another field value? I am trying to update a field name Date in collection-B from collection-A by comparing the articleid of both fields. if articelid id matches then the date will be inserted in the matching document of collection-B How will I update the date field? Collection-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I use Chart.JS for minute-by-minute data? I am trying to use Chart.JS to visualize temperature and humidity patterns throughout the day for an automated garden. For each day I have a JSON file which has a temperature and humidity reading logged every minute by a Raspberry Pi. I've been able to pull this data...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578008", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does my Spring Boot 3 RestController with @GetMapping require header "content-length: 0" to be set? My Spring Boot 3 @RestController and @GetMapping responds with HTTP status code 400 "bad request", unless the HTTP request contains header "content-length: 0". I am using spring-boot-starter-parent:3.0.2 and requi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Cross region AD network connectivity I have a setup where webapp, AD and DB are setup in azure region 1 and all network is connected by Hub VNET1 and spoke model. Same implementation is done for region 2 with for DR resiliency for AD and DB with Hub VNET2 and spoke. application need to authenticate with AD, this set...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Easy and convenient way to implement custom services I need to implement Service base class that is going to be an MVC API Controller with 3 requests Check, Pay, PayStatus. Every request and response has its base properties, and additional parameters as generic class to use individually for each service. Example: pu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578015", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Memory leaks when stream video from Zoneminder using nodeJS I want to stream a video from Zoneminder app using NodeJS. ZoneMinder stores video from ip cameras and can stream it into HTML . I have issues when access external zoneminder server with self-signed certificate because my web-app requires https. So I decide...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578016", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to generate grad-cams using onnx? For my grad-cams generation I am using trained squeezenet model from https://pytorch.org/hub/pytorch_vision_squeezenet/. For heatmap generation I am using this repo https://github.com/jacobgil/pytorch-grad-cam and it works flawlessly. The layer of interest is 'feature...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578017", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the impact of replication factor using RepartitionByCassandraReplica? I have at my disposal 16 nodes and I am using Spark, Cassandra and Spark-Cassandra Connector(SCC). I want to evaluate the performance of this cluster from time perspective when a specific statistical test is implemented on some specific da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578019", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP - File_Get_contents/Curl on large file - Clear Memory afterwards I'm doing some tests on my server and it involves importing a large 2gb file then decoding it to an array. However each time i load the page, my system memory is reduced by 2gb and it is not being freed up. So if i reload the same page 10 times, i'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The code is isn't running like how i want it to so the code basically will take a input from user with is the dna code then it transcribes it into mrna by switching the letter T with the letter U then codes every codon which is each triplet of the code sequence into protein symbols like Met and His using the first d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Parallelize the Sort() function for List on Unity I am trying to improve the performances of a game by parallelizing some code. One of the bottlenecks I have regards this sorting function: _list.Sort((obj1, obj2) => obj1.Distance.CompareTo(obj2.Distance)); The variable _list is a List<Object>. There is a way to par...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace `securityContext: privileged: true` in Kubernetes for DinD (docker in docker) If we want to to build OCI container images with docker and e.g. want to the following pod setup: apiVersion: v1 kind: Pod metadata: name: dind spec: containers: - name: build image: docker:23.0.1-cli com...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to resolve 'ModuleNotFoundError: No module named 'termios' Error for the following code: from google.colab.patches import cv2_imshow I get `ModuleNotFoundError: No module named 'termios' I saw in the other similar questions that there is no termios module in Windows. If so, is there any substitute for this (I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular Chart js is it possible to create a multiple data with multiple date and time series Is it possible to create a chart like below in X phone numbers and in y Axis Date need to create a bar chart with total calls expecting an above chart is possible in chart js This is the response using this need to form abo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Mui's Transition animation problem on item's position change within a list Based on a Mui's TransitionGroup example I've tried to implement the transition of an item's position upon clicking. Functionally it does work, as the selected element is being moved to the top of the list, but unfortunately without the trans...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Image similiarity I want to create a telegram bot that will search for similar images in the dataset based on the user's image. New data is added to the dataset every day. The data is stored in the dataset for a certain period of time, after which it is deleted The dataset consists of pictures showing users in diffe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to split NVarchar and convert the result into int in sql I need help please in SQL, I try to convert nvarchar separated with comma to int but I have a problem, I tryied to use PARSENAME(REPLACE()), it works fine, but it take a long time to execut code. I have alot of tabels but I here is an exempel. I have a col...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Async Function with API TypeError: The view function did not return a valid response. The return type must be a string, dict, tuple, Response instance, or WSGI callable, but it was a coroutine. I need to use asynchronous view function in Flask, and the interface function predict should return the result of calling t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Testing Binary Classifier on three levels I have a binary classification problem predicting arrival (T- Arriving, F - Absent). I want the end product to be the likelihood of a person to arrive, arranged in red yellow and green, green being likely to arrive, and red not likely. I currently have an XGBClassifier, and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How Update my react-native appliction in app/play store without click How can i update my installed application without clicking update button if there is a new update ? I tried this library react-native-version-check import VersionCheck from 'react-native-version-check'; // ... useEffect(() => { VersionChe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Image not updating on Swiper JS slider (vue) for custom next and prev buttons that show image on next and prev slides I have a swiper js slider (swiper 9) in my vue 3 project. I want to show the next slides image on the next button, and the previous slide's image on the previous button. As slides update, next button...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578057", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java Binary file upload to APIGateway with S3 backend I have an Amazon ApiGateway that handle the upload and download from S3 buckets as explained here: https://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-s3.html The client is written in plain java using some AWS example co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way to implement virtualization to react-sortablejs I am trying to implement virtualization with react-sortablejs for lists with more than 500 items. I have tried with react-virtuoso, but react-sortablejs wraps the entire react-virtuoso component as a single item. Is there any way to target the li eleme...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Visual Studio 2022: Increasing font of the app Just to make everyone aware. My question is not about VS Code. My question is about Visual Studio 2022. Similar name, but two different products! I am on Windows 10. Is there a way to increase the font of the Visual Studio 2022 app? I do know how to increase the font of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can i resolve value error ("f missing scheme in request url: {self._url}") Whenever I try to run the script using scrapy crawl I get the ValueError. What am I doing wrong? I went through this site, and others, and came up with nothing. I got the idea of yielding a request through another question over here, but ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: swapping list variables in nested loop unexpected result (single array?) If i have a multidimensional array that is a square like this: [[1, 2, 3], [4, 5, 6], [7, 8, 9]] And I want to turn it 90 degrees clockwise like this: [[7, 4, 1], [8, 5, 2], [9, 6, 3]] I can print out the changed square like this: for i i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change highlight color of word occurrences in Find results window when using dark mode When I click a word in the find results window (that I was popping up using Shift-F12 to get all accesses of a certain variable), all occurences of that word will be highlit. When using dark mode, that makes the text unreadable as...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578072", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: wxmaxima, why my function don't integrate well? jk_hermite(n,v):=expand((-1)^n * exp(v^2)*diff(exp(-v^2),v,n)); jk_prob1(k):=block( [], int1:integrate(abs(jk_hermite(k,x)*exp(-x^2/2))^2,x,minf,inf), b:sqrt(1/int1), int2:integrate(abs(jk_hermite(k,x)*b*exp(-x^2/2))^2,x,-sqrt(2*k+1),sqrt(2*k+1)), p:1-int2 ); Thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578073", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vaadin application deployed to tomcat can't start I have completed my Vaadin application. It is working almost as expected in my IDE. Now I need to deploy it to the production server to the Tomcat container. I have changed packaging to WAR and followed instructions on https://vaadin.com/docs/latest/production/spring...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django OAuth2 authentication error: "invalid_client" I'm trying to implement OAuth2 authentication in my Django web app using the django-oauth-toolkit package. I've registered my app on the OAuth2 provider and obtained the client ID and secret. However, when I try to get an access token using the authorization code,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578075", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make job catagories based on job title I have the following data some where : * *IT recruiter *recruiter *HR recruiter *Recruiter in IT All these labels are Job title (could be CEO, CTO, ...). My human mind has no difficulties to identify that all of these match a single category => Recruiter. These la...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to modify the api call while building api interface in compose I am trying to build an api interface to access the following https://api.unsplash.com/photos/HNCSCpWrVJA?client_id=//...// my API interface looks like this in jetpack compose @Singleton interface PhotoViewApi { @GET(value = "photos") suspend...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTML in a data-attr tag I want to put a link in my Tooltip Text, like for example: <div tooltip="Look at following: <a href='https://google.com/' target='_blank'>Website</a>" flow="right"></div> But if I do so, the tooltip will display the HTML in Text - How can I let the data-attr read Code ? I want to just put a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578079", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter TextFormField validator text is too long So I have this TextFormField inside a small container. The problem is my validator message text it too long for the container so it just get cut. How can I get around this problem ? I need the user able to read the whole text. How to make the message moving as like a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578082", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Firebase Hosting Useage/Downloads embed videos count towards that? I have a website with 6 embed YouTube videos and after you start is it send a 2MB POST request in every second or every time you skip. As you can see in the picture below I have 193MB transferred already and as I see that in the firebase console its ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: C++: Is there a case when a struct can have different sizes depending on the endianness? So I read on a textbook that there are specific cases when the struct can change sizes when the endianness is changed. I am not sure, but I think that the example was struct X { int a, char b }; Can someone explain if this is t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter module not loading in Android I have been following a medium post at https://medium.com/flutter/put-flutter-to-work-95f5fdcc592e. I have built the aar. I have built the Android project and it runs and shows the list of items. When the list is scrolled it seems to try to load something but nothing actually re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Javascript to dyanamically spawn bootsrap 5 Navbar * and I would like to ask for your help. I store text to constant.js file example below. export const navLinks = [ { id: "manage", title: "Manage", }, { id: "transactions", title: "Transactions", }, { id: "r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578093", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: PWA Vue Application pages not render at the first on safary I'm having an issue with my PWA I develop with Vue.js(v3) application, I if redirect to the some pages with a link button or something else, that pages not render at first on Safari browser, and it needed to reload the page again after that everything will ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQLAlchemy: proper way to specify connection URL in python Using SQLAlchemy (version 2.0.4)to connect to a remote MySQL server from python via the pymysql driver. If I declare my connection URL in the "simple" way, it works: import sqlalchemy as db engine = db.create_engine("mysql+pymysql://dbuser:verysecret@myhost....
{ "language": "en", "url": "https://stackoverflow.com/questions/75578098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to set cookies in react using express but can't set This should set cookies in my react app I think but it is not working. i tried postman to check this API and it is most definitely setting cookies but it is not working in react app.post("/", (req, res) => { const { username } = req.body; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578100", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to plot a pairs plot with pyspark or pandas? I would like to create a pairs plot like this one using pyspark or pandas. This plot has histograms plots along the diagonal, the Pearson correlation above it and the bivariate scatter plots below.
{ "language": "en", "url": "https://stackoverflow.com/questions/75578103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Auto Removal of files in Sharepoint Online I have a SharePoint Online Site. In its Document I've multiple folders , sub folders and files of different types. The thing is that I need to somehow delete all the files(only) under each and every folders or subfolders which are Created on or before year 2022. It should n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to prevent hotlinking for web fonts in nginx? I need to prevent hotlinking for web fonts, but I am not able to make it work in the nginx config file. Here is what I have tried: App: https://app.example.com Location: /etc/nginx/conf.d/main.conf map $sent_http_content_type $expires { "text/html" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Everytime i save my Changes in Svelte, getting the Below Error Error in console. package.json of my fresh installation of svelte { "name": "my first app", "private": true, "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview" }, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is my scroll snap not working? (total noob) I don't really know what else to type here so here is some information about the project: I have to create a web-portfolio about myself at school and i was planning to do a one-pager with scroll snapping, but somehow it doesn't work and im really close to just giving u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error CS8803: Top-level statements must precede namespace and type declarations I don't know how to write c# code. I am trying to run a sample code here - https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/quickstart-dotnet?tabs=azure-portal%2Cwindows%2Cpasswordless%2Csign-in-azure-cli#create-account This is th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: group by and collect rows to multiple columns i am having following data i am looking to get the following i am not sure how to do this. i tried the following df = df.groupby('SKU').pivot('Com_Brand_1').agg( F.first(F.col('Comp_1_Name')), F.first(F.col('Comp_1_match_type') ))
{ "language": "en", "url": "https://stackoverflow.com/questions/75578111", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mapped route in next.config.js exportPathMap not working when type a path in address bar, only work when click on the link my next.config.js exportPathMap is like this exportPathMap: async function ( defaultPathMap, { dev, dir, outDir, distDir, buildId } ) { return { "/": { page: "/" }, // ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: optimization of Beta neutral portfolio Can any one solve the maximization problem in the picture attached regarding following info: this photoA factor can be made beta-neutral (i.e., no exposure to the overall market), dollar-neutral (no notional exposure, that is, an equal amount of money in, respectively, risky lo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error when using inListFilter filter in GA4 Data API V1 Beta I am going to import the data using the inListFilter of idimensionFilter. However, an error message appears as below. "Fatal error: Uncaught Error: Class 'Google\Analytics\Data\V1beta\Filter\inListFilter' not found" Please check which part is wrong. I've d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Rotate 3D object using OpenCV I load one object in the PyBullet environment and get the image and the mask of the object. Then I rotate the object in 30 degrees. How can I rotate the original mask to match the rotated image. Here is the image I generated. * *original image *rotated image *original mask The probl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Oracle SQL exclude rows when columns are empty I have this Oracle SQL query which selects several columns containing values: SELECT DISTINCT name, age, weight, height FROM my_table I want to exclude rows from the report that contain no values but they should be reported if they have 0.00 as ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578130", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is this C code snippet properly written according to its desired funcitonality? I came to this piece of code and I would like to know your opinions whether is functionally correct and whether it could be improved or not. The main idea here is to map the abstract module id to be addressed (aka index_t index) into its...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578131", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I integrate vuetify into storybook in a NUXT 3 application? I have vuetify ^3.1.6 installed and functional in the app Installed storybook using the command npx -p @storybook/cli sb init --type vue3 My .storybook/preview.js content is as follows import { withVuetify } from 'storybook-addon-vuetify3/dist/decora...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578133", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Failed to load resource: the server responded with a status of 500 () in ASP.NET CORE MVC I am getting this error on my console screen. I'm doing post with Ajax. The post process is happening but I'm getting this error. I couldn't find a solution. This is my ajax code $.ajax({ type: 'POST', url: '/V...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578135", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix the error of debug module is not working in Express? I am trying to use the debug module in my app.js file. But I am getting this error on running set DEBUG=* & node app.js This is the error I am getting At line:1 char:13 + set DEBUG=* & node app.js + ~ The ampersand (&) character is not allo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578137", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Converting BigDecimal to String error in Java I am building an application in Java Spring Boot and I have to take some data from an Oracle database that is number and I understood that it comes as BigDecimal. Here is the code and the error: Service: private List<VersiuneSafir> getNomenclator4(List<Map<String, Object...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Japanese text in Google search results I have virus in my website nerdroot.com i have already contacted google about it can u please let me know if there is any other way reaching google and updating there database.
{ "language": "en", "url": "https://stackoverflow.com/questions/75578139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: jQuery - Appending 10k Rows to a Table after AJAX call I have a web page that will receive 10k-row CSV data on which I have to call API to get more details after a successful ajax call I have to append all these 10k rows (5 columns - 4 input fields with jQuery validation rules). After successfully appending 10K rows...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: perform two-sample t-test with for loop(exclude one subject and include in the next loop) I want to conduct two-sample t-tests using a for loop. I have two independent groups(A(4 subjects),B(3 subjects)) and want to conduct multiple t-tests comparing the mean data from each group, excluding one sample per loop like ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578147", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pick free ports randomly I've followed a tutorial step by step about python sockets, and at first it worked. I had a server.py and a client.py file. But sometimes I got random errors like : OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted so I cha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578148", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why rollback not working in Access linked to sharepoint list I'm trying to insert data from Excel into an Access table that is linked to a Sharepoint list. I got this working, except for the fact that my transaction is not working. The new item always shows up in Sharepoint immediately after the rs.Update line. And ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578149", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I clone A repo in B repo github actions if two repo is in same organization, not using PAT? In B repo, I have to clone other repos in same organization. like, in B's action I want to clone A/C/D/E... and other repos dynamically. I don't want to add each other private repo's PAT, because all repos are in same ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: The number of files in a bucketed table in Spark when saved I was reading about Spark bucketing to figure out how many files bucketing would create when saved. I was expecting to see some relationship between the number of buckets and the number of files saved (for the bucketed table). But I couldn't see that. The ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578154", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pass parameters to an API url from JS Hello i have this api url http://127.0.0.1:8000/api/outlay that brings default values now i want to add filters to this url i tried to follow the example of postman that does it like this: http://127.0.0.1:8000/api/outlay?startdate=2023-02-14&enddate=2023-02-15 This is w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CUDA and Tensorflow compatibility I am trying to run a deep learning model on my ubuntu system (version = 22.04 ). The model is based on Tensorflow-gpu=2 and the compatible Cuda and cuDNN version with this version of Tensorflow is CUDA = 10.0 and cuDNN = 7.4. However, my operating system does not support these versi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578160", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Transposing columns to rows SQL Server My table: expressing the evolution of interest rate in time In order to be more useful in a BI context, this table should only be composed of 2 columns, [date] and the according [Interest_rate], unfortunately here, it is not the case. Can you help me write the necessary SQL cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578163", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Add a dropdown menu to plotly created bar chart using a loop I want to create a bar graph with plotly that shows the age group on the x axis and the prop on the y axis. Then I want to have a dropdown mwenu that update the figure by reg. My actual data has 20 regions so it will be great to a function with a loop that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578165", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: cannot use ydlidar on ros2 rolling I downloaded the official package to use YDlidar X4 in ROS2 rolling, but every time i run ros2 launch ydlidar_ros2_driver ydlidar_launch.py, the following error occurs: INFO] [launch]: All log files can be found below /home/ohmin/.ros/log/2023-02-27-02-37-46-155449-ohmin-13510 [INF...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Image Processing: Segmentation of Optic Disc I'm new in image processing. I work in my project now to segment optic disc in retinal images. I did the ROI selection, red channel extraction, applying filter, thresholding, and then morphological operations. Here is the code ROI from numpy.ma.core import ndim def getROI...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Show SSRS report in AngularJS + WCF + DevExtreme web app is it possible to display the SSRS report with its parameters in a web application written in angularjs, wcf, devexpress? Is there any free library that will generate a report based on a link? or in other way?
{ "language": "en", "url": "https://stackoverflow.com/questions/75578172", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make marginBottom for section working? In Laravel 9 app I use phpoffice/phpword 1.0 and I made a function to simplify text output with different text size. For bigger text bottom margin must be bigger: $this->phpWord = new \PhpOffice\PhpWord\PhpWord(); $this->addTextLine(__($this->translationFile . '...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578173", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Navigation of android project to external library Recently I've been working with android project and would like to externalize the navigation of my project to other library. I got the following structure: And would like to create a library to get instances of the views externaly. I want to create, get info from th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578175", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Client registration with Qt + pjsip I'm trying to make a sample application with pjsip in qt. I think I added pjsip to Qt correctly because I can see the methods in the library. But I don't know how to use them. Can anyone help me create an account with pjsip? This is my .pro file QT += core gui greaterThan(Q...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578176", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I convert this textFinder to only return the email it finds in a specific column? I currently have a Spreadsheet table of employee details. The code below works fine as long as the email is unique (only one occurrence in the table's column E). However, other user emails are also found in the supervisor/manage...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578178", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to prevent ListView.builder widget from rerendering when item is clicked I am using a ListView builder widget inside a stateful widget class to display a categories menu. Inside this categories menu I created a method which is passed as parameter to CategoryItem class to handle the click event. Inside the Catego...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a Multi-step form with different flows depending on the user's choice I am creating a multi-step form with different tabs to display (for example, eight tabs). On the third tab, I am asking the user to choose one option from option 1, option 2, and option 3; when the user selects one option, the flow w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578184", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to intercept the dbus method calls in C/C++? I want to disable a dbus method(like org.gnome.Shell.Screenshot Screenshot). I want to disable a dbus method(like org.gnome.Shell.Screenshot Screenshot).
{ "language": "en", "url": "https://stackoverflow.com/questions/75578185", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: I got error when I run python manage.py makemigrations When I run python manage.py makemigrations I got this error: (venv) ubuntu@ip-172-31-44-136:~/easy_django_repo$ python manage.py makemigrations /home/ubuntu/venv/lib/python3.10/site-packages/django/core/management/commands/makemigrations.py:143: RuntimeWarning: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: handshake failure with OpenShift+load balancer and legacy server I've been trying for a long time to do a mtls with my OpenShift apache php app using IBM cloud internet services in front of it to connect to other customer server which allows connection only using certificates. I don't know what am I doing wrong but ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578187", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My site page speed is low, how i can improve it? My site page speed is low, how i can improved it? My friends suggested me rabbitloader plugin. Is it the right plugin for page speed optimized? I need to optimize site speed
{ "language": "en", "url": "https://stackoverflow.com/questions/75578189", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I modify the values in another document in mongoose? I want update reactionResult in UserSchema. I tried to update using updateOne and populate, but I failed. How can I use userSchema's nickname to modify the value of the reactionResult? This is UserSchema and ReactionSchema. const UserSchema = new Schema( {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578194", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React useEffect called on remount when dependencies haven't changed I have a component where I am fetching data with react-query and setting initial form values: const { data: caseData, refetch, isRefetching } = useQuery({ queryKey: `caseData-${caseId}`, queryFn: () => fetchCaseById(caseId), staleTime: Infinit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578198", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ag-grid vue server render Feed server pushing update data base on client subscription. Lets say client call subscription('[BTC,ETH,SOL]') server will push update value for only those 3 items. So now I have a few problem with ag-grid. * *Users must subscribe only current visible rows. *Every time when users scroll...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: when setting splash private mode to false Lua error occurs a nil value I crowl https://web.archive.org/web/20200116052415/https://www.livecoin.net/en/ website about RUR features. My code works but after i want to set splash.private_mode_enabled = false the Lua error occurs and show the nil value but this is not true...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a Linux function to check if a filename with differing case exists? Is there a Linux function to check if a filename with differing case exists? e.g. to find the difference between Hello.txt and hello.txt For example if I wanted to open Hello.txt I would like to do: * *try to open a file ( try Hello.txt) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578204", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }