text
string
meta
dict
Q: Nesting an if statement inside an array loop Trying to follow an exercise for college and completely lost. As an example app class and instan object challenge, we are tasked to create an app that asks a user for how many subjects they are taking (via scanner) and then using arrays to record each score they have for ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630322", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Declaring global instance variables in Laravel I have created a UniqueMessage class which I want to use in log statements inside /Console/Kernel::schedule() to suppress repeated log messages. I have tried to make an instance of my UniqueMessage class in the constructor for Kernel but it seems to me that the Kernel s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630323", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Combining tuples based on transitive relation I have a list of tuples: [(10,22), (10,20), (10,69), (34,18), (18,17), (89,990), (86,80), (174,175), (543,542)] I'd like to obtain a result like this: [(10,22,20,69), (34,18,17), (89,990), (86, 80), (174,175), (543,542)] I want to group together any of the tuples that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630324", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Python - extract float (billions) numbers from string So my question is how can I extract a number expressed in Billions who are actually a string. e.g: $5,518.51 B And actually that's work, but only for number lik 249.23 not for the number like 5,512.50 I want what is before the ',' also. I have tried like this: bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Fill in column values based on ID I wanted to fill in the na values in 'Col' by the ID number. I have tried groupby df=pd.DataFrame({ 'ID':[1,2,1,2,1,2], 'Col':['One','NaN','NaN','Two','NaN','NaN'] }) This is the expected output: df=pd.DataFrame({ 'ID':[1,2,1,2,1,2], 'Col':['One','Two','One',...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630327", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am new to struts 1.0 and I want to integrate my application to IDA . Need help how to set the provider URL ,resource URL when I run my application by triggering http://local host:8080/application-name .end goal I want to redirect it to IDA if session is not active I tried adding filter and to redirect. But I don’t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630328", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTML to Add label on Bars in Table view DOMO I am using an HTML code to generate a bar chart graph in an HTML table on DOMO. I am currently using this code to create the bar chart in the table but it does show the value label on the bars. Would anyone be able to tell me which HTML code snippet I should add to be abl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Accept text in edited cell scenario: I have a button associated to a script that copies data from cell A1 to cell A10. I start typing something in A1. With the mouse pointer I click on the mentioned button. Google sheet does not accept the text that was being typed in A1, that cell is still being edited. And the scr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630332", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I fix my jumping game, as I just stay in the air? (sense_HAT) I've just joined stack overflow. I would like to ask how I can fix my jumping game in python, displayed via the raspberry pi sense hat. It's based on google's 'no internet' dinosaur jumper. The bug is that if you hold up, you can just stay up in t...
{ "language": "es", "url": "https://stackoverflow.com/questions/75630333", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to redefine basic controls in MAUI.NET In WPF we could "Edit template" of ComboBox and define how it should look from scratch. How we can achieve this in MAUI.NET? I want to make a combobox have exact same functionality like it has, but get rid of some styling and most importantly change the shape of this small ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Installed gdal but the module can't be found I am trying to run a program that uses gdal. I have created a virtual conda environment that is using python 3.8, I have successfully installed gdal, for instance when I run pip install gdal I get the following message: Requirement already satisfied: gdal in /opt/anacond...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630335", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JavaScript error Uncaught (in promise) ReferenceError: can't access lexical declaration 'httpx' before initialization I got a js error Uncaught (in promise) ReferenceError: can't access lexical declaration 'httpx' before initialization generate_csrf_token file:///C:/Users/ememd/OneDrive/Desk/refresher-main/template...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630337", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I add some padding between the search field and the first navigation item of my sidebar? I've got a pretty simple NavigationSplitView set up like so: NavigationSplitView(sidebar: { List { ForEach(viewModel.pages) { page in NavigationLink(page.name, tag: page.id, selection: $viewModel.selectedId) {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630339", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: nested body response with separate pojos I have this xml <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Header> <MessageResponse GId="JPE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630340", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: tmap - Assigned data `as.numeric(...)` must be compatible with existing data I am examining race in Monroe County, NY. I got an error code: ! Assigned data as.numeric(...) must be compatible with existing data. Can you please help me address this issue? Thank you in advance, #The following is the R code I have used:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630343", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Renovate Dependency bot cannot find repos I'm trying to get renovate bot setup using the CLI so that I can play around with the config file before setting up it up to run in a docker container. I've created a private test repository in GitHub containing a simple "hello world" project that has a few outdated dependen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630346", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: eb command working in powershell but not in git I tried running the command eb --version and the result was not found while it is perfectly working for powershell. Please help me out. I tried eb --version and hoped that it will show me the installed version.
{ "language": "en", "url": "https://stackoverflow.com/questions/75630348", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: Could not find or load main class Main Caused by: java.lang.ClassNotFoundException: Main Error: Could not find or load main class Main Caused by: java.lang.ClassNotFoundException: Main i want solution how to sort out it
{ "language": "en", "url": "https://stackoverflow.com/questions/75630349", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: lldb not running - c Hey I've recently downloaded lldb and haven't been able to get it working properly. I'm compiling a c program with a segmentation fault and want to use lldb to help me solve the problem. This is the error message I recieve: charlielamb@Charlies-MacBook-Air jackCompiler % lldb compiled ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630353", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change "m3u8" to "json" and "ts" to "js" extension My question: output file "m3u8", "ts" extensions. How to change output "mtv.m3u8" file to "mtv.json" "mtv-123122313.ts" file to "mtv-123122313.js" ? using wowza For example: mtv.json #EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:1797 #EXT-X-TARGETDURATION:5 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630358", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Google Apps Script Error Exception: Argument too large: subject I'm trying to automate sending Emails from Google sheets but i get this error Error Exception: Argument too large: subject. I know that there is a limit but is there a way to not get this error? function sendEmaill() { var app = SpreadsheetApp; va...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630359", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to open a database file with .btv extension? I want to read a database file with the extension .btv, there is an application that was able to read it on Windows 11 system. On quick google search I see that this extension is for AppleTalk for MacOS(depreciated now) but that didn't help me much. Can someone help ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: r shiny - communication of inputId between shiny modules in order to use shinyjs functions like disable/enable/toggle I've been delving into Shiny modules, and so far, everything has been going well. However, I'm having trouble manipulating inputIds that come from another module. Specifically, I want to use function...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630361", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to log in using webDriver in Chrome I'm doing an automation test in ebay using Selenium. I want to log in. I managed to put the email, but I'm having a problem with the password. the code is : // put email address and press "continue" bottom driver.findElement(By.cssSelector("#userid")).sen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630362", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DynamoDB Shedlock Implementation I am trying to solve the issue of Cron job running on different instances. I understand that we need to create a shedlock table, but I am unclear about the columns and table name to be used. I have read shedlock documentation and it says : Please note that the lock table must be crea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630364", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Webscrapping IEEExplorer in Python I would like to experiment webscrapping to automated my technological watch on IEEExplorer. My goal is to get the year, title and abstract of all the articles with the key word "deep learning" and "radar" (for instance) published after 2017. The problem is only on IEEExplorer becau...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630366", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Create instance of a model remotely I have a turns model that i want to create based off a card id and a user id, the user id is passed correctly, but the card id is nil. This is the card turbo frame <%= turbo_frame_tag "play_card_frame" do %> <%= render "turns/form", turn: @turn, card_id: card.id %> <% end ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630370", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Edit Outlook .msg file - how to save it from Outlook Draft to desire location using Powershell Given: Using Powershell Copy folder with template file to different directory Re-name the .msg file and edit .msg file for recurring common values and Save. Problem: The outlook open the file and save it in the Outlook dra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630374", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: change the name of "create schedule service" to "reschedule service" if the service has been scheduled in AURA enter image description here enter image description here code description as follows : <aura:attribute name="buttonLabel" type="String" default="Create Scheduled Service" description="Label for the button ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630375", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use the Java API in Kotlin to send a POST request with JSON data to Elasticsearch 8.x? I'm trying to use the Java API in Kotlin to send a POST request with JSON data to Elasticsearch 8.x. I've set up my Elasticsearch client as follows: val restClient = RestClient.builder( HttpHost("localhost", 9200) ).bui...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630379", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I get Custom Elements / Web Component names to be suggested by VS Code's Emmett / IntelliSense? I've added a .html-custom-data.json file that's referenced correctly in the vscode -> settings.json, as hovering over a custom web component in HTML will display the description, and ctrl+space after the opening t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630380", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create VM from Image that Contains Data Disks within Image Trying to create a vm from a custom image - that image has 1 data disk with data in it already. When running our plan: Error: creating Windows Virtual Machine: (Name "xxxxxxxxx" / Resource Group "xxxxxxxx"): compute.VirtualMachinesClient#CreateOrUpdate: Fail...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Time out error while invoking endpoint in AWS Lambda function I am trying to create a AWS Lambda function for my project, which should invoke the endpoint and return prediction of the model as a result. I attached sagemaker invoke endpoint IAM policy for the attached IAM role to the Lambda funtion. Still,i am gettin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630386", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get the number of users who committed both GA4 events in Looker Studio? My Google Analytics 4 receives events such as "event_1" and "event_2" . How can I get the number of users who did both events in looker studio? What I tried to do: I successfully connected the GA4 and Looker Studio. I tried creating a Sco...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630388", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Subdivide tiles in ggplot2 geom_tile into quarters I am trying to create a more elegant correlation plot for seasonal data using ggplot2 and geom_tile(). I want to split each tile in the plot into four quadrants (one quadrant for each seasonal value). I already have code to plot each season's correlations separately...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to save current page in Tinymce I am trying out TinyMce and find that I must 'host' the editor's html file on my FTP site to get it to work, otherwise I get the "Referer" error and Tiny is not operational. And because of this I am unable to save my work. So my workflow has been: * *Edit my page in TinyMCE usin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630390", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Global navigator object not found with Tyepscript I am trying to use react-native-geolocation-service with in a React Native app and to do so the documentation says that to get the user's current location the following code needs to be added (see https://github.com/FaridSafi/react-native-google-places-autocomplete#m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630391", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# WCF pass through userName and password to another WCF service I have an existing WCF service(A) that is using custom user validation. I need to write another WCF service(B) that will work as proxy between client and existing WCF service(A). Is it a way how to get access to: ClientCredentials.UserName.UserName Cli...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: npm install electron failed with self-signed certificate in certificate chain error I am trying to install electron on a corporate laptop (with strong security setting). I use the following command: npm install electron but have encountered the following error: npm http fetch POST 200 https://registry.npmjs.org/-/np...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Datatables - Table header moves to child elements in responsive view I m using data table 1.10.20 and using the column-controlled child rows by setting the below : dataTableOptions: { columns: [{ title: "column 1", className: "col1", data: function (row){ ........ }"}, { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630395", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Handle pop up/modals in web scraping (data is lost after closing the pop up) I have a small java script on node.js that uses Puppeteer to scrape data from 2 websites. The loop runs indefinitely, every 10 seconds. I work in headless=false to see how the web pages behave. When opening, a pop up/modal warning "gambling...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630396", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I find an replace an array value based on another value in the same multidimensional array So I have a multidimensional array like the one below: [0]=> array(4) { ["id"] => 110 ["list"] => {} ["MainProduct"] => 2 <- Step2: Replace the 2 with a 5 where productName is Oranges ["produc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630400", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to resize flexbox to match screen resolution? I have a problem with my flexbox (i think) for my website. The flex box actually does work but it goes way down (see pictures attached). I found online that I have to use % instead of fixed sizes which I did and it does not seem to fix the problem. I also tried to u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630401", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Combine rows with same date and site I have a dataframe like this: I want to move the values of the substances that have the same station ID and date on an unique row. How can I do that? maybe with aggregateor matchor merge? A: If we want to remove the NA elements and keep only the non-NA, do a grouping by summari...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630402", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Sending a multipart/form-data message I am having a tough time understanding sending a multiPart message The message that needs to be sent looks like the below. I do understand the message just do not know how to send it. --5440585b006247a9a24fb4b81942c8c8\r\nContent-Disposition: form-data; name="key"\r\n\r\ne398f9...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630403", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Uneven number of plots in each row or adding figures without data with facet_wrap ggplot2 I would like to plot some gene expression figures on the same plot with ggplot2 with facet_wrap. Here is my facet_wrap(.~query+Species+Tissue, ncol = 4) For one unique query, there are 2 types of Species, 2 types of Tissues, i....
{ "language": "en", "url": "https://stackoverflow.com/questions/75630410", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python & pandas: Batching data where difference between timestamps < set value I'm trying to create a data set in python (preferably pandas) that groups together all rows where the amount of time between the end_time of the last entry and the start_time of the subsequent one is < 10 minutes. Example data: activi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630411", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: BIRT Report took too long to render Write now multiple BIRT Reports using 4.9.0 version. Some reports working fast enough. But some reports are surprisingly very slow. One report is extremely slow. Report is based on stored procedure, have 2 parameters. Contains two label with formatted text and one table with title...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Should i return an Aggregate root in Repository? I'm reading clean architecture. MyEntity extends AggregateRoot. And every time needs to find a record in database, I call repository method to find that, then convert the result to MyEntity, and apply an event to it. e.g. Entity use-case: @Injectable() export class My...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630417", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: I am having trouble finding the breakpoint of my code (Tabulate, Python) For a college assignment, I have been tasked with calculating the genotypes of approximately 200 generations, with the code stopping when BB is greater than .99 . I have checked in with my Professor, who stated that my code looked good but ther...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630420", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use props of generic list which is part of generic method - c# in my small app I would like to reuse method used for prices calculation for few different objects, that gives me an idea it could be generic method, sometimes it will receive main-products and return them, sometimes it will receive articles and r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630421", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting problem in flowing images from left to right (i.e. 1,2,3,4...... more) using grid Getting problem in flowing images from left to right using grid. Some images are not flowing from left to right as per number as shown in image (like 5th image should come before image 6. Same with image 9). Images should be sh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630423", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Conda commands fail with error "OpenSSL appears to be unavailable on this machine." I can make a new environment, but attempting to installing packages or updating conda in this env fails with the above error message. * *I've tried this on two machines with the same result. *I've run the conda cmd terminal as adm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630424", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to use "once per bar" feature in Strategy inputs as in Indicator. What should I do? I want to use "once per bar" feature in Strategy inputs as in Indicator. What should I do? I want the strategy to be traded immediately as in the indicator without waiting for the candle to close when the conditions are met . ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to update dataframe columns which are dependent on eachother I have a python dataframe which has two new columns called Open_Value and Close Value. When Open_Flag = 1 then Open_Value should = 1000, otherwise it should be the previous value in Close Value. However, Close_Value should be Open_Value * Daily_Change,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630431", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to avoid setting module source multiple times? My repository uses a Glue module from a different repo several times. Each usage begins with: module "bar" { source = "git::git@github.com:foo/modules.git//app?ref=v0.0.3" I have a whole bunch of such blocks, and all use the same source. It seemed not DRY to dupl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630435", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Systemtap Ubuntu 22.04.2 compile error: static declaration of ‘proc_set_user’ follows non-static declaration I have installed systemtap following their Ubuntu tutorial. I took my kernel debug symbols following Ubuntu's wiki tutorial. Since I have SecureBoot enabled, I am "using" a compile server (hosted on my machin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630436", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to manipulate vertical position of legend key for multirows legend labels? i have a legend label with multiple rows. the default display of the corresponding legend key (so the marker from the plot) is centered next to the multiple rows. however, i want the legend key just centered infront of the first row of th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630440", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert a map to a consumer of a map in java 8? I have a method A that takes (Consumer<Map<String, List>>) as a method parameter. public void myMethodA(Consumer<Map<String,List<String>>> someMap) { However, my method B which calls method A has a Hashmap with it: Map<String, String> myMap = Collections.singl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630442", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to solve the error when using nextron with serialport? When starting a new project using nextron npx create-nextron-app my-app everything works perfectly, however when installing serialport npm i serialport this error happens Error Image the communication with the device works, I can see it in the console.log,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Filter Graphene using Custom type SQLAlchemy i want to retrieve Departments and its Employee, with filter on both table something like this SELECT d.name, e.name FROM departments d JOIN employee e on d.id = e.department_id WHERE d.name = "Finance" and e.name like '%m%' here's my graphql query { findDepartment(nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: update hello set e_age=e_age+10 FROM hello inner join department on hello.e_dept=dept.d_name where dept.d_location='New York'; error occur in this update hello set e_age=e_age+10 FROM hello inner join department on hello.e_dept=dept.d_name where dept.d_location='New York'; error occur in this in this from is not a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630450", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Checkbox Triggered Time Stamp for Google Sheets I am very new to App Script for Google Sheets and am working on a project where I need to set multiple static time stamps that are triggered by multiple checkboxes. I've tried multiple copy and paste scripts to no avail. I did happen to find this useful script on youtu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630454", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Visual Studio C# - Don't break for any exception at this line I have code that frequently throws an InvalidOperationException. In this specific case, the exception is actually OK and I don't want the debugger to break when it gets thrown. However, I can't disable all InvalidOperationException breaks because that's j...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630455", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to use Puppeteer to copy text after the ::before psuedo-element? I am new to webscraping and Puppeteer and I'm attempting to learn the selector methods in the library. I am trying to select the text in the following code after the ::before tag. I also want the text in the span directly after it but the text in t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630458", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is PACT suitable for testing for JWT with various claims? Currently I am involved in a cluster of micro-services. Some of these micro-services are generating JWT with various claims (with/without expiration date, not before time etc.) My question is PACT suitable for JWT validation or not? Like generated JWT for mic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630461", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Preferences menu item appears as "Settings" In the storyboard for my macOS application, I've included a "Preferences…" menu item that appears as the third menu item in my application menu (first item is my Amount, second is a separator, third is "Preferences…", fourth is another separator). Choosing this menu item b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 'Nonetype' object has no attribute 'author' I am making a leveling system for my Discord bot and I am working on a "/level" command that displays a user's level or if they input a different user it will show that user's level. If they input a user it'll show that users level so if they don't input a user I want it t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630466", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why am i getting the error the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/json? I have a post in my products controller, I send requests by RequestBody from productDto and I send an image by file through my postman to be saved in amazon s3. But when I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630469", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: \n to move text below, which syntax to make text smaller? (ggplot) I am creating the following graph with labels being created for each variable as per the below. I can include \n and move the text below the as per the example below, but how can I make the text "Cat.1 [1-3] & Cat.2 [3-5]" smaller? I tried \small but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630471", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I run auto-corrections for lint in an Angular 14 project? I'm using Angular 14 and the corresponding lint version. I hvae this in my package.json ... "name": "my-project", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", ... "lint": "ng lint" }, When I run "npm run l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630477", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: An objective-c variable being assigned a value from a mutable array element is not being correctly assigned a type I have a situation I can’t explain why is happening, can’t fix it, and can’t figure a work around for it. I have a mutable object array that holds a variable number of objects. Each object is either a s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630479", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to handle null JSON in Retrofit2? My API returns either null or list of posts. Dataclass of posts is shown below @Serializable data class Post( val id: Int, val text: String, @SerialName("img_url") val imgURL: String, var author: User ) @Serializable data class User( val id: Int, @Serial...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get string similarity between elements from 2 dataframes I have 2 excels files. In the first one there is a catalog of items and the category they belong, in the second one, it is a massive recollection of data items. The problems starts in my excel with data, the strings items compared to the catalog excel f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630482", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Block input in hwnd keyboard/mouse input in C++ I'm trying making a program similar to ReWASD, I need to block keyboard/mouse input in app to avoid a conflict between two devices I tried use functions BlockInput()/SetWindowsHookEx() A: The only way to block input (without writing custom drivers) is to use SetWindow...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: VS Code suddenly started marking all React-Native imports in red saying "Cannot find module" "All of a sudden" all of my import statements from a project that has been working became underlined in red. It underlines both npm installs and files I have created. The app still builds and runs fine. It still shows errors...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630484", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Object properties must be on a new line with ESLint let's say I have the following variable: const myObject = { property1: 'value1', property2: 'value2', property3: 'value3' }; I want to enforce an eslint rule so that if an object has a minimum of three properties, then each property must go on a new line, such as b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React virtualized list not rendering components I'm trying to use react-window and react-virtualized-auto-sizer to virtualize a components list, but the <AutoSizer> component isn't rendering the list. this is the code: <AutoSizer> {({height, width}) => ( <List className="List" hei...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wix react native calendars doesn't render event I'm trying to add an event to the Timeline component, but it doesn't render anything. I tried the following <Timeline initialTime={{hour: new Date().getHours(), minutes: 0}} events={[ { id: '1', summary: 'Lorem ipsum ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630487", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert xarray dimensions to latitude and longitude I am looking at satellite netcdf format data using xarray, but I first need to convert the dimensions from scanline (the y index corresponding with the satellite scan direction) and ground-pixel (the x index corresponding with the direction adjacent to the scan dir...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630488", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: passport.js google oauth2 works locally but not when deployed I've set up a MERN app that uses the passport.js google-oauth2 strategy and everything works fine locally, but I'm unable to retrieve the user while deployed. I've tried all the solutions already given on this topic like adding the sameSite property to co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630490", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: powershell Get-Process MainWindowTitle On Windows I have a running Process with a MainWindowTitle. Process name Name MainWindowTitle ACDBServ.exe Acron Database Server Acron Database Server on Port: **** process with MainWindowTitle (Task-Manager) To show the MainWindowTitle i have the following power sh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630495", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to perform an action repeatedly when a Gesture Detector is held down Flutter I have programmed the Tetris game in flutter but I am having some problems with the Gesture Detector. I wish that when the button that brings the blocks down is held down it causes the block to go down very quickly, so I would like when...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630498", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am trying to import package in my flutter app...but its giving me error this error is flashing during excution of code..enter image description here[This is my code](https://i.stack.imgur.com/Xqwk8.png) how can i solve this error ??
{ "language": "en", "url": "https://stackoverflow.com/questions/75630500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Pusher Channels: Maximum subscribers number that can subscribe one private channel I'm new with the pusher channels, I read their documents, but I still have some confusion with some limits that are not mentioned in the documents, if someone can help. 1- What the Maximum subscribers number that can subscribe one pri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i make an adobe after effect render work on my github webpage? `I rendered a file in AE with help of "bodymovin". Then I uploaded it in my repository on github with other stuff I connected everything like it was said in this video. I actually changed links, because I met this problem earlier, when link wouldn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630503", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I fix Xcode build error "no such module 'myModule'" at "import myModule" in my Swift app after adding a swift static lib .a to my swift app? I have a swift app project. I create and build a swift static lib with public func test() { print("hello world") } I add .a to app project Build Phases > Link Bin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630505", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to transform Flow>>> to Flow>>? Consider the following, val tabs: MutableStateFlow<List<Path>> = getFlowPaths() // user defined //A function Path.contents(glob: String = "*"): Flow<List<Path>> val tabsFlow: Flow<List<Flow<List<Path>>>> = tabs.transformLatest { emit(it.map { path -> path.con...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: See if value exists in Python nested dict which contains dicts, lists, and strings I'm not sure if there is some library that handles this, or if recursion is the way to go. I am trying to write a recursion function, when I call it it always ends up returning False. Any help appreciated. item starts out as a dict. t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Google calendar with a service worker Trying to create events for a calendar on my personal gmail account from visitors from my website. However I can't seem to get it to work. Currently I am getting ... status: 200, statusText: 'OK', request: { responseURL: 'https://www.googleapis.com/calendar/v3/calend...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630509", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to save model when using pytorch lightning and huggingface transformer? I am using huggingface with Pytorch lightning and and I am saving the model with Model_checkpoint method. It saves the file as .ckpt. I want to load the model using huggingface method .from_pretrained(), but I would get the warning the all o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to upload m4a audio files to Google Speech to Text API with fluent-ffmpeg? I'm trying to grapple with uploading m4a audio files to Google Speech to Text API. A lot of existing questions suggest that using fluent-ffmpeg can solve this, but it is quite challenging for me. Details All below codes are written by Typ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Make chinese texts be divided in blocks I'm trying to learn html and css, and i'm trying to figure it out how to make languages that allow for vertical writing (chinese, mongolian, japanese, etc) to have their paragraphs begin in the right part of the screen, start new lines left of the previous ones and then start ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630514", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Find method on button click i have a wizard with footer as <footer> <button name="create_invoices" id="create_invoice_open" string="Create and View Invoice" type="object" context="{'open_invoices': True}" class="btn-primary"/> <button name="create_i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630516", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Confused about C++11 scoped enumerations I'm in the process of modernizing a code base and was about to switch from old-style, nested enum definitions to Scoped Enumerations (since C++11..??) In this particular example we're using enums for flags - Except the compiler won't handle bitwise OR for the variant with sco...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to generate fake data in Laravel? I want to create fake lastName, which has 256 chars. But this code not working and generate fake last name which have only a few chars. How can I use fake() to generate lastName which has 256 chars ? $fake = [ 'lastName' => fake()->lastName('256'), ];
{ "language": "en", "url": "https://stackoverflow.com/questions/75630521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: C mutex getting blocked infinitely So I gotta implement a queue in C with a system to protect it and make it accessible through multiple threads. To do so, I've used the producers-consumers logic: #include <stdlib.h> #include <threads.h> #include <stdbool.h> #include "queue.h" #include <stdio.h> int metidos=1; int ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Discord Python Bot only responds to dms The bot has admin perms, I have no idea why it would do this, seems really weird... any ideas would be great...... This code was generated by ChatGPT btw Hsggsss hshsssggs Shsyshgsvsvevsgs Jshsgscsccsvshshshyw Hshshsggsfsgs import discord import random from discord.ext import ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Changing a CAShapeLayer's bounds size height doesn't change the actual size, it changes it's position A CAShapeLayer is added as a sublayer of a view in a certain position: // Use Bezier Path to create a rectangle shape let barRect = CGRect(x: 0, y: 0, width: 10, height: 100) let barPath = UIBezierPath(rect: barRect...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630530", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to write reg_extract in informatica expression to fetch multiple email id from text I am trying to build the logic in informatica to fetch the email id from free text using reg_extract but its not working as expect.I have tried using this logic [a-zA-Z0-9-.]+@[a-zA-Z0-9-.]+[a-zA-Z].Can someone please help with t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }