text
string
meta
dict
Q: How to enforce CORS with Spring Boot Data Rest? I have created a Sing Data Repository and made it accessible through Spring Data REST (Spring Boot 2.7.2). I would expect it to reject any CORS, but it does not happen. I double-checked: I have neither calls to addCorsMappings, nor @CrossOrigin annotation on the repos...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606928", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find peak values for smooth term in a GAM? I have a fairly simple generalized additive model (GAM) which looks like: GAM <- gam(var~s(julian)+s(location,bs="re"),data=df,family="binomial") My goal is to find the peak Julian date for my variable and the associated "likelihood" of the variable occurring on tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606929", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you perform one vs One classification using tensorFlow library I am performing a classification task on an imbalanced data on certain transformer embeddings. I performed One vs One classification successfully using MLP classifier in scikitleran, but in terms of metrics that I require(precision) doesnt exist i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606930", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How can I deploy and host a PERN app for free? It seems most resources to deploy PERN applications used Heroku's free tier which no longer exists. Could anyone explain to me how else to go about this or point me in the direction of helpful ressources? Not applicable here.
{ "language": "en", "url": "https://stackoverflow.com/questions/75606935", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Meaning of Ruby syntax ClassName.(params)? I am trying to understand what exaclty does the next block of code, and why is it the best practice to do it like this? dummy code: new_user = User::UserRegistration.( first_name, last_name, user_platform: get_platform ) It seems simil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606936", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Understanding @Access annotation (javax.persistence) I have some questions regarding the @Access annotation of javax.persistence. some background: I updated my hibernate version from 5.0.3.Final to 5.4.24.Final. for some reason, after the upgrade, the app did not load because I had a problem with some of my entity c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606937", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ansible regex_search with multline strings I have a string that looks like this in stdout "msg": [ "--------------------------------------------------------------------------------\nHostname : switch1\nChassis Type : 7144-d\nPart Number : 3HE1RA01\nSerial Number : 6309...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: calculate sum of a column after groupby based on unique values of second column I have a dataframe, where there are columns like gp1, gp2, gp3, id, sub_id, activity usr gp2 gp3 id sub_id activity 1 IN ASIA 1 1 1 1 IN ASIA 1 2 1 1 IN ASIA 2 9 0 2 IN ASIA 3 4 1 2 IN ASIA ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606940", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I change the start point of content display in mat-tab-group? Code: <mat-tab-group dynamicHeight> <mat-tab label="Short tab"> <div class="example-small-box mat-elevation-z4"> Common Div </div> <div class="example-small-box mat-elevation-z4"> Nav 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Meta Quest 2 controllers become inactive when switching from one scene to another in a Unity VR Build 1.0 Application goal: Allowing the user to upload a 3D model and adjust it in real-time (scale and texture) with buttons on a UI Canvas, and then bring that 3D model into another scene (e.g. a Kitchen environment) t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606943", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flask templates: Are empty blocks in parent templates common? Say I have a footer in my base template: <div id="footer"> <span>This will always show</span> {% block footer %} <span>This will not show if I have have a footer block in other templates that extend base.html.</span> {% endblock %} </div> Let's say I cre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606946", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to update and fix rpi issues i am trying to update libraries on my processor but when i run the command sudo apt-get update it gives the follwing error The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05 how i can fix it "Timed out waiting for PulseIn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Set SOAP Namepace in .net Core 6 with SOAPCore I am trying to create a SOAP API, I have it running, but when I post an Envelope I get an error stating my namespace is incorrect. How to I set up my .net Core 6 API Service to expect my desired namespace? Here is what I have: My Model: [DataContract(Name = "TestCustomM...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606952", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Expo/React Native Background/Sleep Mode Timer I'm currently trying to get a timer to work in Expo/React Native. I want that my timer is still running in the background when the user for example locks his phone screen or he just puts the app in the background. Is this somehow manageable with react native? I need this...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606953", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "bash: gcc: command not found" -- Error while installing GCC, GDB and G++ with MSYS2 I'm using that instruction to install MinGW, but face a problem on checking versions. The error that occuries after $ gcc --version looks like bash: gcc: command not found I've already checked my environment variables Path (both Use...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python script to transpose certain column's values into separate columns I have this data frame customer_id customer_location customer_contact_id customer_contact_location 1 ES 10 DE 1 ES 11 DE 1 ES 12 FR 2 FR 20 GB 3 ES 87 ES 3 ES 88 ES I need to transpose it in a way so there is one row per c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606958", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to assign a per-app HTTP proxy on MacOS? How do I assign a proxy server to a specific app? I've looked through sandbox-exec, Proxifier and MacProxy, and none of these seem to do the trick based on what I've done. I want to route a single app through an HTTP proxy, because I don't want a system-wide proxy and I d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I add string values from List to DataFrame and recreate DF? I have a data frame and list like below. df = pd.DataFrame({'player_id': [298, 118, 108, 109, 168, 198, 116], 'date': ['2018-06-22', '2018-06-23', '2018-07-24', '2018-07-25', '2019-06-22', '2019-06-25'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Keep screen state after navigating I have a navigator looking like this : <NavigationContainer> <Stack.Navigator> <Stack.Screen name="Home" component={HomeScreen} /> <Stack.Screen name="Support" component={SupportScreen} /> </Stack.Navigator> </NavigationContainer> HomeScree...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606962", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't v-bind a style property to a ref in vuejs 3 SFC https://vuejs.org/api/sfc-css-features.html#v-bind-in-css Adjusting the slider should change the image opacity but it doesn't. What am I missing? If I use an inline style :style="'opacity:'+o" it works fine. <script setup> import { ref } from 'vue' const o = ref...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: add to cart & change the qty in react I am adding products to the cart in my virtoal shop, and everytime i add a item, at the second time it writes the new price and the qty doesn't change. How I correct this program? my code: the cartReducer: const cart = []; const cartReducer = (state = cart, action) => { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606968", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: selenium-testng-include and exclude are not working enter image description here enter image description here enter image description here include and exclude are not working in testng of selenium, please inform the reason behind it
{ "language": "en", "url": "https://stackoverflow.com/questions/75606970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I make `backdrop-filter: blur()` effect work on iOS? I blur the background image of a container on my website, and it works on all browsers, except the browsers on iOS devices. The CSS and HTML code is as follows: .backblurred { backdrop-filter: blur(20px); width: 100%; } <div class="jumbotron top-spac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606971", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Docker multi stage build I came across this example . Here they made a 3 stage build. Is it necessary to have a 2nd stage (build-venv) ? Is it mentioned that having it can have an advantage of "Build the virtualenv as a separate step: Only re-execute this step when requirements.txt changes". But I was under assumpti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Output Caching vs In-Memory Cache Microsoft introduced Output Caching with .NET 7. As far as I understood, Output Caching caches the HTTP response while In-Memory Cache stores data in the memory of the server. I don't feel sure about which of the two I should use from now on. Is there a general recommendation? In ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GET API request - sub documents so I'm currently creating the backend API for a project. The project has a database that stores posts. Each post has a nested array for comments, and the comments array has another nested array for replies. I've created a GET request to retrieve all replies under a certain comment, ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606976", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to do using React JS Progress bar data wants to come api enter image description here depending on data progress bar needs to show, that data comes from api call <div className="w-full flex mt-2"> <div className="min-h-[104px] h-auto p-5 relative rounded-md border border-gray-100 w-[800px] max-w-[8...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606979", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How are the labels for causal language modeling prepared? I'm trying to understand how the labels for causal language model are prepared. I'm following this tutorial on HuggingFace and what they're doing is splitting some long tokenized text into segments (see pic below), and then use the last token of each segment ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to deploy mern stack app on production? I’m willing to deploy my mern stack app, I have been surfing through internet I didn’t find a production platform to host my app, I juste found host for test. Please help I tried to search but didn’t find anything suitable , I went on Heroku I couldn’t host react there A:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Browser sometimes ignoring CSS changes (cursor style) (This is an edited question, based on Adam H's help.) I have a complex web-app in Javascript. Some actions are lengthy, and I want to show the busy cursor during these actions. These actions take on many forms, in many places in the code. They inspect, modify and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Pronunciation Assessment SDK return wrong result compare with api call I'm using azure speech sdk to do pronunciation assessment, it works fine when i used api provide by azure, but when i use speech sdk the result is not correct. I follow the sample from cognitive services speech sdk Here is the code that i u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Angular why does app.module.ts run before the completion of main.ts? I need variables to set in my main.ts file before my app.module.ts runs. Is there any reason why this is not the default order? My understanding was that main.ts runs first in Angular and then bootstraps the AppModule. Example of my situation. m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606995", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Efficient way of applying calculations on dataframes with different conditions and levels I have a dataframe in the following format, it is sorted by the dates for each item, which have a determined frequency: df = pd.DataFrame( { "date": [2020-01-01, 2020-02-01, 2020-03-01, 2020-01-01, 2020-02-01], "item_ID"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to replay HTTP requests in Python I would like to replay an arbitrary raw HTTP request in python. As an example, lets use an arbitrary GET request from my chromium browser to Google: GET / HTTP/1.1 Host: google.de Cookie: CONSENT=PENDING+071; AEC=ARSKqsKvfEvPS9Vp1bDM6YMPdHpVOoH357W-7q3cqtdDwYeHf3MqPEO1xA; SOCS=C...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606997", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to send a JSON object in the response of a Node.js HTTP server? I'm building a simple HTTP server using basic Node.js and I need to send a JSON object in the response to a client. I'm using the built-in http module and I'm able to send a simple string or buffer, but when I try to send JSON it throws an error. co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove Python3.5 on Mac OSX10.13 I'd like to remove Python 3.5 and access Python 3.11.2. Follows is the output when I attempt to do so: OlympusII-2:Cellar johnyearsley$ python -V Python 3.5.2 :: Anaconda 2.5.0 (x86_64) OlympusII-2:Cellar johnyearsley$ pip uninstall python DEPRECATION: Python 3.5 reached the e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to package vips for distribution? I am trying to package the vips repository for distribution so I can double-click on it and install it on any Mac OS version. On Windows, this is easy - I just have to put the folder containing the binaries in the package. For Mac OS, I need to compile the binaries specific to e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Excel VLOOKUP for multiple items and combining them in one cell I have an excel sheet like this: Phone Number IMEI's SIM 1 SIM 2 I have another Sheet with same SIM's and IMEI numbers of phones in which these SIM's were. If SIM was in more than 1 IMEI i have it like this: Phone Number IMEI's S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Python script to extract data from an excel and put it in trees I have a python script that extracts data from an excel, more precisely, data from three columns: Finished Good, Parent Part Code and Material Code. The three columns look like this: Material Code Parent Part Code Finished Good M1 P1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607005", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Graph tool for assortative communities in signed networks I have a signed, weighted network where edges are real numbers that can take values in [-1, 1], this is calculated from the Spearman correlations between the nodes. I wish to detect assortative structures only, but where the sum of the positive edges within g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607008", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How select to aggregate root in EF .net I'm studying about DDD and doing some tests, I came across the following situation: I have two aggregated entities: https://i.stack.imgur.com/dFpxT.png https://i.stack.imgur.com/Ed3Vg.png According to DDD concepts, we cannot relate two aggregates directly, so in the Order enti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does the "Create App Packages" dialog have an option for Neutral/AnyCPU? Why does the "Create App Packages" dialog have an option for Neutral/AnyCPU? On Visual Studio 17.3 we could use it. But now it just gives an error of There was a mismatch between the processor architecture... (For more details of the err...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to hide the gunicorn port? I have a vcs with an uploaded soft. My app has 3 ports: 80 for Nginx, 8000 for Gunicorn and 3306 for MySQL. I wanna hide all the ports besides 80. How can I do it? My site is the same for both 80 and 8000 port. I wanna leave only 80.
{ "language": "en", "url": "https://stackoverflow.com/questions/75607014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Using power function in C I am writing a program in which I have to check whether the number entered by the user is armstrong or not to do the calculation I am using the power function but there seems to be an error. I tried to check for the erorr in my code so i printed out rem for each iteration of the while loop,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607016", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Restrict lambda invocation access accross all services and internet except an EventBridge event and an ECS task My set up * *A Lambda that performs some compute and returns a value *ECS Task which invokes this Lambda in #1 above for getting this value *An EventBridge event which invokes this Lambda in #1 I am l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607017", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cloudsearch still returns deleted documents when searching via SDK I'm trying to delete a document from cloudsearch, it successfully deleted in the AWS ui but when I run the SDK for searching the specific ID of the deleted document, it still returns a result. I tried uploading via xml: <batch> <delete id="r11799...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a file size limit for which Azure Blob Storage calculates and sets an MD5? I have been working with file uploading using Azure Blob Storage for a while now. However, I have observed that for some of the blobs, the MD5 is an empty string. I can observe this both when retrieving the metadata programmatically ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607020", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I filter CEF logs using SQL Here is the example of CEF Data on a single column named raw { "raw": "CEF:0|Check Point|New Anti Virus|Check Point|DNS reputation |Malware.TC.d8ccLeiq|Low|act=Detect cp_severity=Low cs1Label=Threat Prevention Rule Name cs1=Autonomous Threat Prevention cs2Label=Protecti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AsyncSelect react-select multi with active options in menu I have a simple react app with react-select Async select: const handleInputChange = (value) => { setValue(value); }; const loadOptions = async (inputValue, callback) => { setTimeout(() => { callback([ { value: 'apple', label: 'App...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to reverse a sentence in C and display it uppercased? I have a program that works but not the way I wanted, I want to write sentences back to front and in uppercase, but now I am reading the first word from the sentence and the answer is 1 word in uppercase and the next is the same word only in lower case. #incl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607028", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I brute force a 4-way handshake of my own WiFi network? I am learning hacking from the internet and I have managed to learn to capture a 4 way handshake by using deauth attack on a network. i am trying to use hashcat to brute force the handshake with a minimum of 8 characters and a maximum of 20 characters . ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Getting the error message "GraphQLError: Syntax Error: Expected ":", found ")"." when trying to start up server I'm not sure where I have gone wrong, I've been pouring my typeDefs file for two days trying to figure out where there is a end parathesis instead of a colon. Here is my typeDefs file: const { gql } = requ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I build a pre-configured distributable Raspberry Pi image? I want to build a Raspberry Pi image configured with a customised set of packages and configuration ready to image and distribute to push onto a SD card and boot from. i.e. I want to automate the manual process of: * *Download Raspberry Pi image *...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How can I center a ul with the dots on the left side in html? I want to center the ul in the center of the screen with all elements (li and the dots of ul) on the left side, but I couldn't do that ul { margin: 0; text-align: center; border: 3px solid black; border-radius: 5px; font-size: 30px; } ul a li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607034", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sylius - How to add a promotion to the cart programatically? I'm writing a plugin for Symfony. I want to add a promotion to an order. I manage to do it, but in general it is not charged. So how can I add a promotion to the cart so that it is charged? I am fetching an object of a specific promotion using PromotionRep...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: # how to solvemy jenkins output #output i get when i run same code. Started by user Onyinye Ezike Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/building [building] $ /bin/sh -xe /tmp/jenkins10267950197247538821.sh * *git clone https://github.com/CeeyIT-Solutions/JavaCalculator-1.git fatal: des...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: git | how to sync local repo with remote repo? I have my local git repo that and I want to attach it to a remote git repo in a way that the remote will be like a read only version of the local git repo and will present everything in the local git repository automaticlly, without the need to push from local to remote...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Remove data from text file based on ranking I am looking for a command line approach to do the following. The files are rather large so command line is possibly the only/fastest way of doing it. Any pointers would be appreciated. Thanks! What I have is: Query Hit Value 1 Human 0.99 1 Horse 0.99 1 Rat 0.9...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Merge wide and long dataset into wide dataset in R (by combining certain column headers and certain cells into new column headers) I've 2 datasets * *Participant performance: 1 participant/row *Participant ratings: >1 participants/row (1 rater/row) I need to merge the 2 datasets into 1 dataset with 1 participant...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607047", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create typescript object that has both dynamic and statically typed properties I have data coming from a server in the following structure. The structure is not ideal but it cannot be altered. Each object always has an _id property and then has limitless dynamically indexed objects. { "_id": : "123456", "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find A Cell Value in Sheet 1 and see if value exists in Column of Sheet 2 I am working on a doc to confirm if specific values exist, in a specific order of text documents. Essentially what I am trying to determine, is if a String Value from Cell B2 on Sheet 1(Campaign) exists inside of a column of String values on S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What replaced $this->html( 'headelement' ); in mediawiki skins? I have a mediawiki skin I set up some years ago. It is a simple fixed-width skin. I recently updated mediawiki, and now the skin does not work. I get the error below, which I understand -- that function is deprecated. What I have not been able to find i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cannot destructure property 'getstate' of '_ref' as it is undefined (asyncThunk) export const addTeamReview = createAsyncThunk( "team/addTeamReview", async (teamId, comment, { getState }) => { const { userLogin: { userInfo }, } = getState(); try { await axios.post(`/api/teams/${teamId}/r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Filter trough an array and get the nested array back Here is my countries array: [ { "countryCode": "HU", "countryName": "HUNGARY", "cities": [ { "cityCode": "BUD", "cityName": "BUDAPEST" }, { "cityCode": "DEB", "cityName": "DEBRECEN" }, { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Multiple individual chord diagrams in one figure in R I have the following correlation values in R namely ``dat` as follows: dat <- as.matrix(cbind(c(1.0000000, 0.5161944, 0.5190630, 0.3717464, 0.5719125), c(0.5161944, 1.0000000, 0.2549985, 0.8469740, 0.7761113), c(0.519...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607060", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MongoDB using set compare array in the document with the array being added by the value and update total { "_id": { "$oid": "63fe802ce956eaeaab686ce4" }, "date": { "$date": { "$numberLong": "1677542400000" } }, "videoId": "7853f3ef01f83d82a82f67052b778a78", "timeds": [ { "time...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My bash terminal is bugging when I write too many characters My bash terminal is bugging when I write too many characters. The maximum number of allowed characters before it bugs seems to vary with the terminal window size. To show this, I took some print screens. terminals with different sizes bugging I didn't try ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607063", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ExecutorCompletionService running with only one thread While using executor service,iam getting only only single thread(For ex:" pool-8-thread-32") in the thread pool and its not calling the submitted task and it is returning as null. And next run it running with the next sequence number thread (For ex:" pool-8-thre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Hasura table relationship I'm new to hasura and i'm searching how to relate a table with a column of int of array to another table. Let's say Users table is: ..and Products table is: I want to return products { id name number of users } A: Looks like you need a user_products table. Hasura is meant to track relati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pandas pivot to limited list of column values I have a pandas dataframe Type Name Cheese Mozarella Cheese Cheddar Cheese Pepper Jack Bread Sourdough Bread Rye Pepper Green I am trying to group by the Type column, collect the list of Names and split that into at most 2 columns. So the output wou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: FormFile Upload in Logic App to .Net Core API I'm uploading a excel/txt file which is downloaded from Email attachments in Logic App to a endpoint in .NET Core API. API: [HttpPost("uploadFile")] public async Task<IActionResult> UploadFile(IFormFile formFile, string param1, string param2, string param3) {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607071", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Custom elements - how does "this" inside the constructor become the node we (re)define? Let's assume I've defined a custom element like this: class ArticleElement extends HTMLElement { constructor() { super(); console.log(this); //the node we are (re)defining this.innerHTML = ` <article> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607073", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Plotting several plots in matplotlib using a list of dicts I have a simple plot function: def plot_data(dataset="boys", baby_name="David"): ax = dataset.T.sort_index().loc[:, baby_name].plot(legend = baby_name) list_of_dict = [{"data": boys, "baby_name": "David", "data": girls, "baby_name": "Su...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The specified type member 'AspNetUsers_ID' is not supported in LINQ to Entities The specified type member 'AspNetUsers_ID' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported. Description: An unhandled exception occurred during the execution of the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false` I am trying to implement a animation using sliding animation, but I keep hitting this error message each time Animated: useNativeDriver was not specified. This is a required option and must be exp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Will I have to approve a login for a daily script that will try to connect to databases using Azure Active Directory - MFA? there is going to be at least 1 database that I have to connect to using Azure Active Directory - MFA. I've been able to edit my connection string to connect using this method AUTHENTICATION = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607079", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Chrome page going blank So I recently had this issue with google chrome..When I search something the page goes blank after some seconds and after refreshing comes back but again goes blank after some seconds. I does not happen with a site but only with the page.. Here is what I am getting -> It's getting really ann...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I create a entity with a list of entities that has already been created I'm trying create a new entity (sale) with its attributes, one of them is a list of products that have already been created. When I try to save the sale with the repository I get a error org.h2.jdbc.JdbcSQLIntegrityConstraintViolationExc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607086", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Function in Databricks I am new to Databricks and Python, i am trying to write a function that checks if the values of a perticular column is present in a List of distinct value. Below is my code. def dist_values_validatio(input_df,input_col,temp_df,temp_col): dist_Codes = temp_df.select(temp_col).group...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I change my build to 64bit? I am using VSCode as IDE and Mingw as compiler Program 'a.exe' failed to run: The specified executable is not a valid application for this OS platform.At line:1 char:1 + ./a.exe + ~~~~~~~. At line:1 char:1 + ./a.exe + ~~~~~~~ + CategoryInfo : ResourceUnavailable: (:)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607088", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I sort the values in a column in Impala SQL? Is there a way that I can order the values in a column? Sample Table 1 Column A Column B Cell 1 a,c,d,b Cell 2 b,a,c,d Expected Output Column A Column B Cell 1 a,b,c,d Cell 2 a,b,c,d
{ "language": "en", "url": "https://stackoverflow.com/questions/75607089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Where directive on aggregate fields I have to create a report tool on data with GraphQL. On this tool, user can make group by on data, and make filter on it. For example, they can select the total number of posts for a user, and filter on the users that wrote more than 1000 posts. I want something really flexible so...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607090", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Failed to run in production mode Failed to run keycloak in production mode. I installed keycloak 16 (wildfly) in Linux server and started using below command. cd /bin/standalone.sh After starting I could see the localhost ip and port (120.0.0.1:8443) How to configure this in server?
{ "language": "en", "url": "https://stackoverflow.com/questions/75607092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to make a spiral that goes through a specific point I am in unity and trying to make an object have a spiral shaped trajectory that goes through a point. the movement I am trying to make is in 2D. Here is where I make the spiral shape: and I want to know the necessary var_length , radian, length and var_radian ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kustomize : mutate a string To deploy apps on ArgoCD I use Kustomize with this folder layout : - applications - base - app1.yaml - ... - production - app1-path-patch.yaml - staging - app1-path-patch.yaml - manifests - app1 - base - deployment.yaml - service.yaml - ... ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607095", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Missing required parameter "property" - Google Analytics Data API error from google.oauth2 import service_account from googleapiclient.discovery import build # Replace the values in the following line with your own credentials creds = service_account.Credentials.from_service_account_file(r"C:\Users\xxxx\xxx\xxx\xxx...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Speech Recognition Services wav file from http Stream When I try to download a wav file from an url to an AudioInputStream I get very poor transcription results. HttpResponseMessage wavresponse = await _httpClient.GetAsync($"{recordingUrl}.wav").ConfigureAwait(continueOnCapturedContext: false); using var httpStream ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607097", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android library dependency conflict I am building an android library for my company. The library does some network calls and Retrofit library is being used for that purpose. I have successfully built the library and hosted on a private maven repository. When I included the library in one of my apps which also uses t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607099", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why getStaticProps() is hearing the event two times? I´m having an issue in the Lesson 15. As the Moralis server doesn't work anymore for free, I took the decision to build my own server using the Next.js features for server-side code and MongoDB as a database. I manage to listen the events occurring in the blockcha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607100", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get value of a key in etcd if key contains binary value? I have an etcd key, which contains binary value: /person/��h��1Ðn��;�Fx/timestamp 20230301091005 I query that key-value by: env ETCDCTL_API=3 etcdctl --endpoints=server:2379 --cert ca.pem --key ca.key --cacert cacert.pem get /person/ --prefix I wish to delet...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607102", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Groovy script for Json to CSV conversion I need to convert the below json to CSV using groovy script. My input Json is below [{ "id":1, "campaign": { "cost":0, "name":"Test1" }, "visitorId":3 }, { "id":2, "campaign": { "cost":0, "name":"Test2" }, "visitorId":5 }] and i need the out put in the below csv format id,co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to do a sed in command section from a docker compose service? I have a problem while trying to make a replace in a file that I need for configuring a service on docker compose. This is what I'm doing I'm trying to include some font to selenoid to let drivers to use it. version: '3' services: chrome: image:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Lit - HTML Minifier - character being removed after the build I have a project using lit and I'm using webpack to bundle my project. I have installed the module minify-html-literals-loader to minify the html but I have a specific issue that I don't understand and I couldn't find the solution : it seems that the % ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: FATAL EXCEPTION SQLiteDatabase E/AndroidRuntime: FATAL EXCEPTION: main Process: com.hamid.invoicegenrator, PID: 13178 android.database.sqlite.SQLiteException: no such column: item (code 1 SQLITE_ERROR): , while compiling: SELECT invoiceNo, customerName, contactNo, date, item, qty, amount FROM MyTable at android.data...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Provisioning ADDomain Controller failed while deploying I've been trying to deploy a virtual machine with a template from the azure portal. This template is Sharepoint Server 2013. Everytime the machine is deploying, the component ProvisioningADDomain Controller, throws the code error VMExtensionProvisioningError, a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Native Expo @azure/cosmosdb and isomorphic-webcrypto causing me headaches Newbie React-Native Expo user and I'm getting tied up in knots with @azure/cosmosdb and the isomorphic-webcrypto dependency. This is causing me two problems. * *I'm getting a warning that expo-random is deprecated in favor of expo-cry...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Airflow DagRunNotFound I am new to Airflow and I am running tutorial example provided by Airflow Webserver. However, when I use the command airflow task run tutorial sleep 2023-03-01, compiler fetches me this error message: airflow.exceptions.DagRunNotFound: DagRun for tutorial with run_id or execution_date of '2023...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: null is written to the Postman environment variable I want to get the rating_id from the Json response and write it to an environment variable. But when sending a request, the "null" value is always written to the variable json request: { "data": { "rating_id": "{{$guid}}", "collection_id": "7a313397-00de-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607114", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Resultset has error for Java Jframe Swing // TODO add your handling code here: PreparedStatement st = null; try { Class.forName("com.mysql.cj.jdbc.Driver"); Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/xaramat","root",""); Statement state = con.createStatement(); Statemen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607115", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Use mutliprocessing Pool to read csv and change global arrays I prepared a serial process which reads a large csv file (step 1), creates some global arrays (step 2), and changes the elements within the global arrays based on each element of the csv file (step 3). The code is: import pandas as pd import numpy as np ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75607117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }