text
string
meta
dict
Q: Entity Framework fluent one-to-one - property/navigation already exists I have two entities, Movie and UserRating. I want to be able to specify table names and column names myself. UserRating shall have a foreign key to Movie in the database, but I'd like both entities in my code to have a reference to the other. Wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I extract all fields from my DB Connect results in Splunk? I have configured a Database Input in DB Connect to pull in data from an Oracle view. A sample string from one of the events follows: 2023-02-28 15:40:50.760, AUDIT_TYPE="Standard", OS_USERNAME="Administrator", TERMINAL="unknown", DBUSERNAME="RACOON"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606730", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do you plot a segment on a figure where the axis is categorial? I managed to create a scatterplot using seaborn and matplotlib where I have the continuous variable LifeExp on the y-axis and the categorical variable continent on the x-axis, and I plotted the life expectancy for the 3 different continents (with so...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to solve a double integral with any code? I have an double integral: Because exp(−^2) is a non-integrable function, I have tried to solve this using the quadgk function in MATLAB, but I don't get a good result. Changing the integral's upper limit from infinity to some exact value may be a good compromise. I had...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: creating class instance counter and updating it below is python code which counts the number of times the Employee class was created and saves this value as self.id why do we use Employee.new_id instead of self.new_id or just simply new_id when assigning or updating a class variable class Employee: new_id = 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL query optimization for fetching data from a large table We have a table that contains 420 million data. I have written a query to fetch the data from this table between 2 dates. But this query is taking 24 hours to fetch the data. Can anyone help me with the optimized query for my operation? Oracle query: select...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Base class method operating on instance attribute set in subclasses I don't have a lot of experience with inheritance in Python, and I have a C++ background. I'm currently working on creating a base class that an existing class will inherit from. The existing class (minimized down) looks like this: import attr @attr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: cannot convert 'short int (*)[1001]' to 'int (*)[1000]' for argument '3' to 'int lee(int, int, int (*)[1000])' I was writing a fill for a problem and got this error: error: cannot convert 'short int (*)[1001]' to 'int (*)[1000]' for argument '3' to 'int lee(int, int, int (*)[1000])` this is my code: int v[10...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Convert Json string to IFormFile in .NetCore I'm trying to convert a JSON string into a FormFile (using .net core 6). Options I tried: var memoryStream = new MemoryStream(Encoding.Default.GetBytes(JsonConvert.SerializeObject(content))); var formFile = new FormFile(memoryStream, 0, memoryStream.Length, "test", "test...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Supabase cron job I have created two cron jobs: SELECT cron.schedule('Every minute testcron','*/1 * * * *', $$UPDATE testcron SET number = number + 1 $$) SELECT cron.schedule('Every minute','*/1 * * * *', $$UPDATE testcronwithdate SET Date = Date + interval '1 day'$$) The first cron job 'Every minute testcron' run...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: resample('D').interpolate() fills value, but resample('Y').interpolate() produces nans? Let's start with two dates, two days apart, resample daily, and interpolate: In [1]: ts = pd.Series([1, 2], index=pd.DatetimeIndex(['1950-01-01', '1950-01-03'])) In [2]: ts.resample('D').interpolate() Out[2]: 1950-01-01 1.0 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Laravel Schedule Command Not Working In EC2 with Sail I have the laravel app running with Sail in EC2 Ubuntu AWS server. I already have the command emails:send-weekly that I have tested with both php artisan emails:send-weekly and ./vendor/bin/sail emails:send-weekly working as expected which is sending emails to al...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: R loop is not working when there is only one marker in the file I am calculating allelic median for different alleles of a marker. I wrote some R code, they are working fine when I have more than one marker in the file but when I have only one marker they are not working and giving NA values instead of median for al...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Laravel Has One Through a Pivot Table HasOneThrough a pivot table, not getting the desired results in a FilamentPhp relation manager. I got this structure: projects * *id projects_users * *project_id *user_id *participation_id participationtypes * *id *name Inside the participationtypes table, I got thre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vue Layout is not working as layout for other pages and not allowing them to display data I'm working on vue3 & larave9 project here is My Index.vue: <template> <div v-for="listing in listings" :key="listing.id"> <Link :href="`/listing/${listing.id}`"> <ListingAddress :listing="listing" /> </Link> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: increase value of a column by 1 for next row I have table like eventid seid rowNo 900253 2 1 900253 0 2 900253 0 3 900253 0 4 942484 69 5 942484 0 6 942484 0 9 I want to update the subeventid by 1 based on previous value partitioned by eventid i want get the output table like below eventi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there a tidy way to ignore few rows and use summarise function? My data looks like: id type value x1 A 1 x1 A 2 x1 A 3 x1 B 2 x1 B 4 x1 B 6 x1 C 1 x1 C 3 x1 C 5 I want to summarise two columns from the above data * *median of the values for each type and *median of the values for al...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Swift UI textfield not starting from 0? Displaying -0.30 instead of 0 I am trying to get the textfield to start from 0.00 instead of 0.30 after inputting the sum. Currently I have tried a few things that have failed. I was wondering it if would need a if statement for if 0 input display 0.00? I imagine it could be w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to calculate the no-show rate for medical appointments based on previous appointments in a pandas DataFrame?" I am working on a healthcare dataset from Kaggle (https://www.kaggle.com/joniarroba/noshowappointments), which contains information about medical appointments in Brazil and whether or not the patient sho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wordpress - How do i display the search results in a grid format? My current search results page (https://movieaddict.co.uk/?s=paint) is showing the results as a list and i need them in a grid format. I can't seem to figure how how to? Any help appreciated as been trying for hours Current Search.php <?php /** * Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is core data is not retrieving relationship values through extension? I have 2 entities in Core Data, Plans and Places. They are connected with one-to-many relationship (one event in a plan ("Space Mountain"), to many in Places "Magic Kingdom")). The expectation is the user can tap on an item, like "Space Mounta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does my program display "╠" characters after drawing the map? #include <iostream> #include <Windows.h> #include <time.h> #include <stdlib.h> #include <cmath> #include <cstdlib> using namespace std; //Screen dimensions const int width = 800, height = 600; //pixels deimensions const int dw = 8, dh = 16; //800/8...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: child element in front of all the other elements outside the parent, css I want a child element to be in front of the element below the parent element without making the parent of the child to be in front of the other element. Is that possible or is there a better solution for this? The slider is supposed to cover t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i make character of the game have different emotions (neutral, sad and happy) using CSS and JS? So i have only recently started coding and began my education at the university. I have to design a simple game, i want to make a game where there are different foood items dropping down. My issue is i cant make it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Using ControlNet alongside my own .ckpt weights file I'm building an API to generate images using Stable diffusion. So far I'm using this repo to generate my images https://github.com/CompVis/stable-diffusion Now I'm trying to implement ControlNet for my API. There is even an extension for the webui developed by Aut...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to use gtkdatabox in windows gtk ( msys2+vscode)? i don't know why my boss want make gtk windows OS he want to like this image gtk image the problem is right side graph's i can't install gtkdatabox in windows environment i want know gtkdatabox is can work in windows? and similar way to make graph like that? (use...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Chart.js I can't show all my data in line chart? I have a line chart in chart.js. I have 7 dates and 39 values. I want to show 39 values but I can only show 7 values. How can I show all values? data: ["562.98","499.79","501.34","1908.0783","160.15","68.1","892.0366","66.0","467.66","1598.29","1293.98","1583.694","1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: git api - how to get parents (and their trees) of a commit? I am working on a new git built-in. I am taking a commit (that I am pulling using lookup_commit_reference_by_name) and then I want to go through the parents to check their trees. I try to get the tree object with get_commit_tree, unfortunately it fails to p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Noob question. How to install package to venv in PyCharm I have PyCharm and python 3.11 installed. I've created new project with venv (without inheriting setting). When I try to install package using Terminal - it gives me "Requirement already satisfied" because it is installed on my main interpreter. How can I inst...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: NativeWind/TailWindCSS not being applied correctly when running web version on react native expo I am using NativeWind for my CSS in my React Native Expo project, but the styling is not being applied on the web version. Also the image is not being shown on the web version. The styling works fine and the image shows ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: EWS API to get folder using AUTH returned Token in JAVA We are trying to authenticate through Azure AD and return a token to do a call using EWS API. if my scope https://outlook.office365.com/EWS.AccessAsUser.All/.default then it returns "com.microsoft.aad.msal4j.MsalServiceException: AADSTS500011: The resource prin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Outlook Add-in - how do I use ItemSend so that the function that is called can access html on current pane/Page I am creating an outlook Add-in in Visual Studio, when a User is Composing an email a pane opens where the user can select some data via checkboxes. What I need to be able to do is when the email is sent c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Monaco Editor: Fold and unfold specific part of the code I'm using monaco-editor for educational purposes about one topic. I was trying to fold and unfold specific part of the code to let the user understand what each part of the code do. For example, I would like to fold all the functions but one and visualize the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Downloading file from Azure blob storage via Memory Stream I currently have an endpoint in my .net 7 API that when hit, should download a specific file from my blob storage by using the file name. When I test out the endpoint I get a 500 error stating "Time outs are not supported in this stream". I have attached th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Spring Batch MultiResourceItemReader count records per file I'm using MultiResourceItemReader to read all files under a folder by PathMatchingResourcePatternResolver, and all records of every file will be written into a table (a table of detail records), and I also have to keep count of records in per file into anot...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trigger email firebase extension permission error I've previously successfully configured trigger email extension and wanted to reuse it in another project i'm working with. The problem I have is that I receive a permission error and i'm not sure what to do with it. Data is added correctly into database let db = fir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MySQL + Docker Compose - Create database after dropping gives database exists error I have a docker compose file in which I create a MySQL container: database: image: mysql:5.7 command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci ports: - "3306:3306" expose: - "3306" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pick a key from a nested Object? From interface Person I am trying to pick a key let's say address. interface Person { ( name: string, age: number, lang: string, address: { postalCode: number; city: string; street: string; } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Replace/modify `new Function` in JavaScript [to use `TrustedScript`] The objective I've been working on a polyfill of sorts for the Trusted Types API. Part of what Trusted Types does is update handling of "injection sinks" such as Element.prototype.innerHTML and new Function() to accept TrustedHTML and TrustedScript...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to read partial fragmented mp4 from buffer or stdin I am facing a weird challenge. I am still wondering if there's something wrong in my understanding of fragmented mp4 concepts. I have a buffer stream of a video file, that I am streaming from AWS. Subsequently I am passing it to stdin and using ffmpeg to encode...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I cant change the text view inside onDataChange function I want to update a textView which gets its data from a Firebase-Realtime-Database. The textview update code is nested inside a onDataChange function which in turn is nested inside an onClickListener. Code db.addValueEventListener(object : ValueEventListener { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606816", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: VS Code extension Error: command 'code-cognition.genCode' not found | I'm creating a VS code extension. The extension activates successfully when I launch it locally. However, It throws this error when I try to activate it after publishing. command 'code-cognition.genCode' not found This is my package.json file { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pulumi Azure Native - How to manage multiple Azure Subscriptions using Python? I have 2 Azure Subscriptions(say Subscription A & B) already created, service principal is also configured. I want to configure diagnostics in Subscription A so that I can send data to a workspace in Subscription B. I'm using Pulumi as Ia...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: D3 brush & zoom: if zoom multiple times the 2+ transforms are based on original parameters and not updated I trying to create an interactive zoomable map using D3 that have hoverable points. The user can drag a rectangle on the map to zoom into that area. So far I've implemented it so the first brushing and zooming...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Redshift federated query to RDS (MySQL) when encryption is not enabled I'm trying to run a federated redshift query on a schema tied to an RDS instance (data encrypted at REST, but the connection doesn't require SSL encrpytion. For any query I send, I get this error: Connection to remote MySQL server was not encrypt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Message using Slack API won't send I'm trying to send a message to two Slack channels but it's not sending anything and I don't know what's wrong. The code does create and save the pdf file but the sending message part doesn't work. What am I doing wrong? $dompdf = new Dompdf(); $dompdf->loadHtml($mensaje); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: I’m on my first ever django-python web project. CSS is messing up a lot The html code: <section> <div class="main"> <img src= '{% static "mncrs/image/image1.jpg" %}' alt="image1" class="second-image"> <div class="about-text"> <h2>WHAT IS NARCO<span>BOT</span>?</h2> <br><br...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Upgrade of @opentelemetry/exporter-trace-otlp-grpc cause No Connection Established Im trying to update a previously working Typesscript service exporting metrics and traces to an opentelemetry docker container to use the newest API and I'm getting a connection error which seems to be related to a recent API method: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Skill linking is shown as successful with code 200, not updated as 'Account Linked' on UI Using Alexa App from phone, When I click on 'Link Account', I am able to see my login screen, which redirects to Microsoft login and then returns back to Account Linking. However, 'Account Linked' message is not shown, it fails...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606825", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: styles with height auto react native not working this is expected result--> and this is my result --> The colors are fine, that doesn't matter. the problem is efectly in the line connector. This is the code of is a reusable component. import React from "react"; import { StyleSheet, View } from "react-native"; ty...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use an AppleScript with Python to send individual imessages to a group of phone contacts listed in a CSV File I am attempting to make a program in Python with embedded AppleScript to send individual messages to phone numbers from a CSV file in iMessage. Assuming phone numbers are in the first column of the CS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606830", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Selenium Python webdriver condition My script can give me 3 separate webdrivers based on what I want i.e., my script can either install the chromedriver or safaridriver, or firefoxdriver. As an example: * *chromedriver: <selenium.webdriver.chrome.webdriver.WebDriver (session="8032fa9146e8fc2a764aa278a1521014")> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there a local Graph DB (e.g. Neo4j) for Flutter that optionally syncs with the cloud? do you have a smart approach to tackle the following challenge? A flutter app wants to model its data in a graph structure. This graph structure includes meta information about objects, text based information and links to files ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ewhile using javascript variable with EJS ERROR post is not defined if i use the var "postContent" in the second paragraph tag i get this error but if i directly put in post.content.substring(0,50) in the paragraph tag it works for some reason <h1>Home</h1> <p> <%= content %> </p> % let postContent = post.content....
{ "language": "en", "url": "https://stackoverflow.com/questions/75606834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to display Image on a Python FMX GUI App? I've made a small Form App using the DelphiFMX GUI Library for Python, but I'm not sure how to add or display an Image onto the Form. Here's my current code: from delphifmx import * class frmMain(Form): def __init__(self, owner): self.Caption = 'My Form' ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert array of sound data to wav file and play it in react I have an array of data that Bluetooth records. I want to convert this array to sound and play it online. I searched a lot and I came up with this solution: const prepareWavFile = () => { const wav = new Blob([sound], { type: 'audio/wav' }) var u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: html css grid use article area with columns, header as row above Im looking for a possibility to use a row for a header with the following articles in columns. As I added the h2 semantically to the article_area I want to realise these two parts in different layouts inside one object. Currently it looks like this: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why doesn't xterm.js accept any input even though it was configured to do so? I'm currently making an app with vite & WebContainers and have no prior experience with the API or xterm. I followed this tutotial and everything worked well until I decided to add tabs to switch from the terminal, to the editor to the pre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: tweepy.errors.Unauthorized: 401 Unauthorized for .get_users_tweets() I keep getting this error: tweepy.errors.Unauthorized: 401 Unauthorized and I am not even trying to post anything, just want to get the tweets of one account. I have regenerated and updated my api_key, api_secret and bearer token three times alread...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606843", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RDP users getting Certificate Expired error, but in Windows MMC Certificates - Local Computer folder list, there is no Remote Desktop folder Good morning! I have inherited a network setup from a predecessor who didn't document much and have encountered an issue with a feature I didn't set up. Our users normally clic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Stuck code during saving an image wiht plotly express I have an issue when trying to save image as png with plotly express. I dunno why but the code stuck there. fig = px.line(BV01_VOC_t, x=dates, y=y_data, template="simple_white", labels={"index": "Tempo Trascorso [h]","value": "VOC [ppm]"},markers=True) fig.update...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How I can unit test js function which has readline-sync input? It seems that it is possible with spyOn function in ject. But I don't exactly understand how it is working. Need to test this function: const getInputGuess = (numGuesses, numDigits) => { let guess while ( isNaN(guess) || !Number.isI...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to extract the sheet tabs name from an excel? I'm recently learning to create, modify and extract information from a book in excel, and this question came to my mind. I was searching on internet but I couldn't find this option, maybe I missed something on the search. I want to archive for example: Sheet Tabs Thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How would I extract the value for the key eventAction? I am using REGEXEXTRACT in Google sheets, and I need to extract the value of the key eventAction. In the example below, the value = Made searchable. {"parentFolderId":"1112","type":"ua","fingerprint":"1671037591717","consentSettings":{"consentStatus":"notSet"},...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: vacuum do not scan all blocks on a database I loaded data into an empty database. Before loading, the autovacuum parameter is set to off. At the end of the loading this parameter is set back to on. The database is 58Gb. In the vacuum statistics view pg_stat_progress_vacuum the heap_blks_total is 505714 so we have: s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I get OpenCV CalcHist output to a picturebox? OpenCV seems to streamline their calculated histogram data through their designed Windows Handle. I have produced the images I need, and calculated the data for raw images that I have taken, but I can seem to for the life of me get this output to a picture box. [...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python singularize on word endings I am using the singularize function from pattern library to loop through a lot of strings and singularize them. The problem I have encountered is that if the words that needs singularizing is at the end of a string, it will still do so. So Flour, will become Flmy Some code for repl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pandas.resample with min and max of each time period I have the following dataframe (top 30 lines shown, its weather station data at 5 minute intervals, 2 years of data) and need to resample it into days with mean values for each column, I also need to get the min and max of 'hum' and 'temp' columns for each day. I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Discord.py 2.0.0 voice chat disconnection problem @commands.command(name="disconnect") async def _disconnect(self, ctx): voice_state = ctx.author.voice if voice_state is None: return for voice_client in ctx.bot.voice_clients: if voice_client.channel == ctx.author.v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sub stringing a column by a number of characters after a certain value I have a field that looks like this: Non Compliance Risk Situation 1 - domain D-G101 Regulatory licenses and relations with regulators. I want to create a new column that starts after "domain" and contains only the value D-G101. All the rows h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: trying to fix this error with shutil.chown When I try this code it returns an error: from shutil import chown import os path = 'H:/desktop images/Screenshot 2022-12-17 112523.png' user = os.getlogin() chown( path, user) Error: Traceback (most recent call last): File "C:\Users\lenovo\Desktop\fort - Copy.py", line ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ibm watson integrate with give wp Through the give api, create a function in ibm cloud functions in python that calls the form data: import requests import json def main(args): # Definir los parámetros de la solicitud api_key = args.get('c7a1b1d5932a4ec9b7d6d9dfaa3cc486') api_token = args.get('7f26caf9f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spacy displacy.render produces tags which are not xml compliant I am using SPacy for NER on various texts. The dataframe is being parsed into XML for storage and analysis in eXist-DB and I want to take the visualizer results as html to store and show alongside. So far so good. However, the html generated contains <...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Downloading from web using threads(inside a separate process) and multiprocessing queues I have the following class to download from web: class Downloader: SENTINEL = END_QUEUE_SENTINEL def __init__(self, to_download, downloaded): self.to_download = to_download self.downloaded = downloaded...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Data Factory Filter JSON Object Data From Notebook Activity I am trying to call the one of the API in our databricks notebook and it will give the appropriate output. finally we will get JSON object NoteBook activity in ADF. I would like to Filter the empty array object, which is one of the array object ( nest...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606875", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .render() TypeError: the first argument must be callable Someone graciously helped me create the following beautifully formatted table (from this post): import numpy as np import pandas as pd import locale money = [10000000, 2200000000, 10241100000.4521, 20224400000.75895] honey = [30.6427984591421, 9584.287922569...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to copy and paste on Ubuntu Server default terminal? It is the black-white terminal of Ubuntu Server 24 LTS and I am in Virtual Box. I have the shared clipboard and Drag and Drop in Bidirectional option activated. The ctrl+shift+v and ctrl+shift+v neither works. I tried to copy long codes and links to the termin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In 3d array, multiplication in axis=2 import numpy as np arr = np.array([[[1. , 1. , 4. , 6. , 4. ], [1. , 1. , 4. , 6. , 6. ], [0.16666667, 0.16666667, 1. , 0.25 , 2. ], [0.125 , 0.125 , 2. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do i port imgui_widgets.cpp so i can use the theme in java? I am looking for a way to use cpp imgui themes to use in my java projects. Im still looking for a way to port the cpp theme to java
{ "language": "en", "url": "https://stackoverflow.com/questions/75606883", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Branch feature is ahead of origin by X commits after merge dev Let's say I'm on featureOne, someone else is on featureTwo and there is a dev branch. Both of us merge our work into dev. I now want to grab the dev branch and merge into featureOne so I can grab the changes from featureTwo as well and continue my work. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606884", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to convert pandas dataframe to numpy to improve performance I am using pandas frame to read in two text file that has 600K rows each and try to find the rows that has matching values between the two files. My current implementation is incredible slow, and I was wondering if there is anyway to use numpy to speed ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to let the value of a python variable change dynamically? For example, take the code import numpy as np np_function = np.add np.__dict__.update({"add": 10}) print(np.add, np_function) np.add gives 10, but np_function still points to the original numpy function, since it was assigned before the updat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OAuth2 flow for WordPress plugin I am working on a project that involves secure communication between the WordPress site and my API server. My API server acts as an Authorization and Resource server, where I set up an OAuth2 provider (via Doorkeeper Ruby gem). My use case is as follows: * *WordPress plugin is open...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606894", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Adding values to dataframe in cycle There are 3 lists of values: dates = [1,2,3] (number of weeks) stores = [101,102,103] (number of stores) items = [12344,4544] (number of stores) And there is an empty df with the same columns [date,stores,items]. So i have to add data from 3 lists above to the empty df. Data addin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript generic types with callback When I worked on React(with Typescript) project I faced with the type assertion error: Codesanbox to reproduce I want to pass multiple props to JSX. It could be string or boolean with defined names. All another props should be void functions like () => void; with dynamic names....
{ "language": "en", "url": "https://stackoverflow.com/questions/75606900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to return only specific fields in error response using Model Binding in .NET? I am trying to return an error response message with 200 Success status code (for some reason), but I want to return only the error message, and remove the rest of the fields generated in the response. Here is an example of the respons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606901", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to get CUDA 11.4 to work on HPC system? I am trying to get CUDA to work on a HPC system. There are two versions of CUDA installed: /usr/local/cuda (CUDA 10.1) and /usr/local/cuda-11.4 (CUDA 11.4). I want to use cuda-11.4. Hence I add the required paths as: export PATH=/usr/local/cuda-11.4/bin${PATH:+:${PATH}} ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606903", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i am trying to develop a code to print heart-rate value from a pulse sensor from pulsesenor.com i am using ESP32 and trying to write a micropython code for heart rate. the raw signal changes when touching the sensor but the BPM start high and then stays at 60 all the time whether i am touching the sensor or not. can...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to call v-for variable to function I am using vue3 and c_cid is important for me to implement the function. here is what I have. <div class="client_card" type="button" v-for="c in all_clients" data-bs-toggle="modal" data-bs-target="#add_delievery_address" > <div class="modal-footer" style="background...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606907", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unresolved reference: getSensorList in SensorManager.getSensorList I am writing a simple code to find out all available sensors in an Android System. I don't know why I am getting this error. Neither Android docs have mentioned any exception as such that may occur nor I think I am doing any mistake in writing code. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606908", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I find all databases which are not running at the server compatibility level they could? Some databases might not have their compatibility levels set to the most recent version of SQL Server which is installed. I want to automate that detection without ever typing in the current compatibility level, how can I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: if-else condition for custom libraries in VHDL I want to make two FPGA builds using the same source code but with a slight variation. The variation is defined in terms of a constant defined in the library file. Some instances are enabled or disabled based on this setting. For one build I need something like this: co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606911", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extract content class with Xpath I need to extract the content only of class ah_sec_product_price <div class="col-12 order-1 order-sm-2 col-sm-8"> <div class="ah_sec_product_price_del"> <span class="discount_badge">٪۲۴</span> <del>۳۷,۰۰۰</del> </div> <div class="ah_sec_product_price"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Powershell: New-Item : Access to the path 'influxdb' is denied I am trying to follow the official website to use the following command on Powershell to install influxdb: wget https://dl.influxdata.com/influxdb/releases/influxdb-1.8.10_windows_amd64.zip -UseBasicParsing -OutFile influxdb-1.8.10_windows_amd64.zip Expa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to register with 10DLC if I have another platform requesting me the same as twilio * *Do we absolutely have to register with The Campaign Registry (TCR)? *what happens if we don’t *Confirm that when I fill out the paperwork through Crelate (my other platform) and have to start paying $10 a month to the regis...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606915", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get data in JSON from laravel web page? I have done a web page using laravel. This web page is to store courses with sudents and some data. Now I`d like to get information as JSON but I don´t know how to do it. Here´s my funtion show in my controller to show all the students stored in a course: public functio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: My css styling isn't applied after that Express server rendering my views? I prepare a blog with EJS to generate my partial views (header + footer). On one of my nav bar items, I have a drop-down menu. On that I return via hréf a different PATH (/views/:params) depending on the user choice : <ul class="dropdown-menu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606919", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: react setState not changing state of an object while one nested value differs from previous state I have a pretty large object named cardRouteData (simplified in this example) and an array of integers named comulatedTimeOnSpotArr. I am trying to change the attribute value of "duration-with-stops" whenever comulatedT...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606922", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to combine ggMargin plots using patchwork in R? I generated a couple of plots in R and attached a x-axis histogram using ggMargin (from package). When I tried to combine those plots using , I get the following answer: "non-numeric argument to binary operator". Combining already combined graphs works...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Make if logic work to display php variable in custom HTML title I am trying to incorporate logic into my website so that the $customTitle is working with the $nav1 variable. Below is how the page in question is structured. <? $customTitle = "$nav1 | Example.com"; include_once("_common.php"); include_once...
{ "language": "en", "url": "https://stackoverflow.com/questions/75606927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-6" }