text
string
meta
dict
Q: Why I am getting 404 Not Found when trying to like a product? My goal is to allow a user to like a product and add it to the list of liked products, one user can like multiple products and each product can be liked by multiple users. But when I hit AddLike endpoint in LikeController in Postman I get 404 Not Found, h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618409", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting java.lang.IllegalArgumentException: Expected URL scheme 'http' or 'https' but no colon was found I´m trying to use retrofit to get data from a laravel web page I have developed, but I don´t know why I keep getting this message. Here`s my API: public class API { public static final String BASE_URL="http:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert MathJax formula to image in base64 format I'm trying to convert a MathJax formula into png (base64) format. Below is the code and HTML i'm using. HTML file: <html lang="en" xmlns="http://www.w3.org/1999/xhtml\"><head> <meta charset="utf-8"> <title></title> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618413", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to change the format of a KPI in SSRS? I would like to see if someone can help me, I installed SSRS and I am generating a KPI to show certain information, everything is going well, the problem is that the thousands format appears with "." instead of ",", could someone help me to give it the correct format. enter...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618415", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flexbox set with 0 gap and margin still has a small gap between rows I'm trying to use a flexbox to show a few 600x300 images and for some reason, I'm getting a small gap between the rows even though I'm specifying a 0 gap and margin. Screenshot: https://imgur.com/QsKRzXB .gallery { display: flex; width:100%; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I group a flatten array in js for below flattened array in javascript [{ "category": "FRESH MEAT NON PI", "categoryId": 76, "subCategoryId": 12, "subCategory": "BEEF-THIN MEATS", "itemThreshold": null, "sellItem": "BEEF SHORT RIBS", "sellItemId": 980217310, "key": "76-12" }, { "category": "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618417", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Increase clock resolution in C++ I am using a script in C++ in Visual Studio that acquires position data, and this data is then saved in a csv file. At the moment the working code I am using is as follows: auto time_start = std::chrono::high_resolution_clock::now(); std::chrono::duration<double> elapsed = std::chron...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618418", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Trying to use Calendar instance for p:datePicker component I am working on a PrimeFaces project and since the 10.0 migration the p:calendar component in my xhtml is deprecated. I have replaced it with p:datePicker, but I don't know if I can still use these line of codes to get the DatePicker instance in the bean: Ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618420", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have performance issue with apex charts I have 3 async charts on one page and total number of data on the page is about 15k, but the chart is lagging a lot. Data is from the backend I use Django templates to iterate over specific data and add that data to the chart. First chart: var options = { serie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618422", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ApolloError: Cannot read properties of undefined (reading 'firstName') on the client Description of Problem I'm trying to implement user regsitration for a facebook clone. I'm using apollo server and apollo client. The mutation is working on the backend and is succesfully creating a new user and adding them to the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618423", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ConfigParser read option name and write option names and key under section Need to read option names under sections too. And after that get all the info into a CTkTextbox. After that i need need to be bale to edit the CTkTextbox and write both option and key to the ini file. Or if i need to i can also read and outpu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618424", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to handle conditional JSON response from API with pagination I have a scenario where I send a request to a 3rd party API that provides a response like the following: data: [ { id: 111, highPriorityItems: [ { "time": "2022-01-01T00:00:50Z", "price": ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How could I call a Javascript function within the view of my ASP MVC application? How could I call a Javascript function within the view of my ASP MVC application? Assign the href value to the anchor tag inside the C# foreach loop. The value will be retrieved from the Javascript function. How can we achieve this fun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618426", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is best way to get all UnicodeBlocks? I need to iterate over all instances of the Character.UnicodeBlock. For some weird reason it is not an enum. How can I get the values inside a Collection or array. The HashMap that holds them all is private. A: It seems there's no way to get access to these things without ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: image-link three steps onclick process to show (1) icon (2) additional information (3) back to image The code below switches from an anchor image to an icon that gets shown on top of the picture once you click the img. If you click the image again the icon disappears showing the image back as shown in the code. I am...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618430", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL Queries in Big Query I am trying to execute a query to display the order number and amount from the orders table that does not have an order line item in the order line item table. I would appreciate it if could someone help with this query. The data flow is order connects to the order line item. In other words,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618431", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how could they be different? public class Solution { public static int countSetBits(int n) { // Write your code here. int count = 0; while(n>0) { int bits = n&1; if(bits == 1) count++; n=n>>1; } ret...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618434", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What is the best way to gather an annual revenue number by company from a dataset? So I have this data set with 393 companies. I need to find the annual revenue for each one. How can i get that data for each company without doing it manually? is there a website to do that with? or some kind of prebuilt webscraper? m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618440", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: API Gateway 403 with IAM authorization enabled I've created an API on API Gateway and without authentication I'm able to access the API without any issues. I then enabled IAM authentication and now I get 403 on Postman and this message: { "message": "Forbidden" } On Postman I'm sending the authorization as AWS ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618442", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I don't understand why Gmail doesn't show 'to' value when I get mail via smtplib def send_me_mail(email_message: str): with smtplib.SMTP("smtp.office365.com", port=587) as connection: connection.starttls() connection.login(MAIL_ID, PASSWORD) connection.sendmail( from_addr=MAIL...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mysql month and year function not working for retrieve date with varchar data type I am retrieving the start date from my table using some parameters. This parameters i cannot change table - topic_details license_id (int) start_date (varchar 200) 123 2023-01-01T00:00:00+04:00 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618447", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: What simulators can I use to test my DRL-based task offloading method (IoT, edge, cloud)? I'm working on a DRL-based task offloading method for IoT devices in the edge cloud continuum, what are the best simulators I can use and why? I found references to ifogsim and EdgeCloudSim simulators
{ "language": "en", "url": "https://stackoverflow.com/questions/75618449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to add background color in a SVG tag? background-color in SVG tags? I am unable to change a background color in a SVG tag in tailwind from white to deepBlue. plz help to clarify my doubt
{ "language": "en", "url": "https://stackoverflow.com/questions/75618450", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Coverting sort function to assembly How exactly do I convert this C program into assembly code? I am having a hard time understanding this process or how to even start it. I am new to this. Any help would be appreciated! int cmp(char *str1, char *str2){ while(*str1 && (*str1 == *str2)){ str1++; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618456", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Python script execution stops when performing multiple PyODBC sql queries I am trying to write a loop that runs over multiple tables in a database, stores the result in a dataframe and then writes that dataframe to an excel workbook. However, even though I have 29 tables in my list, my code execution stops after a s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: where do default arguments "live"? #include <fstream> #include <vector> // this one does not work // error: use of deleted function ‘O::O(const O&)’ class O { std::fstream f; }; // works class O { O(std::fstream fs) : f(fs) {} std::fstream &f; public: O() : O(std::fstream()) {} }; // also works c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PowerShell 7 Cmdlets not recognized when using AWS SSM Automation document script Trying to figure out why 3 powershell cmdlets are not working when using AWS SM Automation inputs Script, but they do work when running them in a local script directly on my Windows instances. The cmdlets: get-ciminstance and rename-co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618465", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter error: NoSuchMethodError: The method '[]' was called on null My Flutter app shows the following error: E/flutter (13058): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: NoSuchMethodError: The method '[]' was called on null. E/flutter (13058): Receiver: null E/flutter (13058): Tried ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618467", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to validate precondition of sql before submit for liquibase Our SQL script gets failed in Liquibase if the SQL script contains a "GO" statement. We deploy 30 to 50 SQL scripts on every release. How does everyone check the preconditions of the sql file before submitting it for the Liquibase build? I am getting er...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618469", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Superset dashboard -Write back to DB I am pretty new to superset dashboards and I have a requirement in chart where user can enter comments in a text box and write back the comments to database table ? Is this feature can be achieved in superset ,Thanks A: No, this feature is not supported in Apache Superset. Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MacOS Command Line for Trackpad Settings In Ventura MacOS, I am trying to use a command line script for affecting the trackpad settings. Specifically, in this case, I am trying to turn on tap-to-click. But I would also like to turn on double-tap to drag, and change the scroll direction. The command that I have foun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618473", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Yup schema validation (is & then) Even if the amount is superior at 1€ the error is still displaying. export const infosFormValidationSchema = Yup.object().shape({ [InfosFormKeys.PaymentLinkType]: Yup.string().required(), [InfosFormKeys.Amount]: Yup.number().when([InfosFormKeys.PaymentLinkType], { is: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618474", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to properly call React component again? How to properly call React component again? There are Parent component and Child component. There is a code that Child component doesn't render until showResults is true {showResults && <Child arr={animals} />}. It renders only when I click on Load button. Parent.tsx ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618476", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make the value attribute of an input element unclearable? Example: When the user is filling the field, I want that the user should not be able to clear or delete the value i.e "Friend". Is it possible to achieve this using CSS or JavaScript? A: Is it possible? Sure. Anything is possible. input.addEventListe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618477", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Time and Space Complexity Calculation What will be time complexity for insertion and space complexity of below HashMap? Map<Integer,List<Integers>> numMap = new HashMap(); When calculating time and space complexity, do we need to take consideration of values in hashmap? I mean will time complexity for insertion be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618478", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: cycle identification for groups depending on column in data frame I have the following data structure for n firms. Date, firm id, and some variable. The column cycle is what I expect. Note that always you have a positive number (could be negative), followed by some unknown amount of zeroes. The idea is to assign cyc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Set ContentColor for a card depending on the current containerColor I'm implementing a note card, each card can have different background color and I want the content color to change corresponding to the given background color Card( modifier = modifier, colors = CardDefaults.cardColors( c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618482", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Check the presence of a number after nth digit and then filter your dataframe in Python My data consists of a date column, which looks like - Date 20221201 20221202 20221203 20221101 20221102 I need to filter the dataframe only for the month of december, I tried something like - df = df[df['Date...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: flexsurvreg Error in `[.default`(Y, , "time") : subscript out of bounds Given the following data from the Surv function, and trying to fit a model using flexsurvreg I'm getting an error stating: Error in [.default(Y, , "time") : subscript out of bounds I'm not sure why this error is occurring. I must be something ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: System that calls multiple external API calls and waits on them I'm trying to design a system that makes multiple external API calls. I need the response from all of them to make a certain calculation. In addition, some of these APIs could take a significant amount of time to return a response. What are the best pra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618489", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to install elastic search fleet agent on Kubernetes I think I have been going round and round with the whole setup. I am able to get the fleet connection working when working with ECK on cloud. Since it's a managed instance it comes prebuilt with fleet server installed. while installing agents on my OTHER Kubern...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618491", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rabin-Karp and kmp algorithm for solving string matching problems There are many algorithms for string matching problem. Two of them are Rabin-Karp Algorithm and kmp algorithm. Both are used to reduce time coplexity of string matching problems. For a specific problem of string matching, which one is better than othe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618494", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to test linear independence of boolean array in python? The rows of this matrix are not linearly independent, as the first two rows can be added (or XORed) to produce the third: matrix = [ [ 1, 0, 0, 1 ], [ 0, 0, 1, 0 ], [ 1, 0, 1, 1 ], [ 1, 1, 0, 1 ] ] One could do brute-force reduction of the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618498", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Wordpress Multisite, htaccess 301 redirect for permalink change I´ve got a running Wordpress Multisite where I want to change the Permalinks and 301 redirect with htaccess. Changing the permalinks in Wordpress isn´t a problem but all the Links that are around to my site would be broken so I want to fix this with 301...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using cookies from homepage to access subpage on Axios (JS) I am trying to access a subpage of https://termmasterschedule.drexel.edu/, an example would be https://termmasterschedule.drexel.edu/webtms_du/courseList/ANIM. I need to get the cookies from the homepage, including the session ID, and use them to access the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618503", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MacOS Finder Error Domain=NSCocoaErrorDomain Code=4 I'm running MacOS 13.2.1 and started getting long periods of beach balling that seemed related to Finder activity. I found my console with dozens of consecutive Finder errors: TCFURLInfo::OSStatusFromCFErrorShallow CFError = Error Domain=NSCocoaErrorDomain Code=4 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618505", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rasa will not save slot from entity of intent new to the rasa framework. I've been trying to make a simple bot that would simply recognize the intent of me providing my name and then rasa responding with a phrase including my name. The problem is that it does seem to recognize the intent but if the name I give it is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Where to find the Java PComm HACL library I've developped for my company multiple VB macro interacting with IBM Personnal Communication but I'd like to switch all those macro to Java for various reasons (mostly because I really hate working with VB and it is extremely slow) While searching for solutions I've found m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a monitoring system for health-checking a Telegram bot? I've searched for an out-of-the-box solution to monitor a Telegram bot, but it resulted in monitoring systems just sending the alerts via Telegram. However, my use case is different: I want to monitor a bot itself and check periodically whether it resp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618509", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kentico web analytics - countries I have a Kentico 7 website I need to know the trafic and from where . I've enabled Web Analytics, it's recording page views. It is recording entry and exit pages, and visitors in general, but I noticed in visitiors - - countries a trafic visitors from country I don't sell my website...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618511", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vuejs with Laravel production: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory this question might asked before but the sulotions sugested did not solve my problem. I'm using Vue2 inside Laravel 7, in Live vps server when I run npm run prod I get below error. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618512", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spark reading parquet-file with time[us] fails with Illegal Parquet type: INT64 (TIME(MICROS,false)) I can read a parquet-file that contains a column of type time[us] with python: from icecream import ic import pyarrow.parquet as pq tpq = pq.read_table(pq_file1, columns=['Col_time']) ic(tpq) Output: ic| tpq: pyar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why aren't I getting suggestions for fields of a function argument with other overloads? I'm working in a JavaScript codebase with Sequelize models that have types documented using TypeScript declaration files (.d.ts). I'm using mode.update() to update some properties on the object: This problem can be reproduced as...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618514", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: JavaScript code snippet to print products to console I am trying to print to the console all the products on the page and i have made this JavaScript code snippet. only it seems i have a problem when scrolling and loading new products on the page feed, it kinda bugs or does not print at all the new products to the c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618515", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a pre-commit.com hook that runs an entry which is located in the same repository I would like to create a repository for pre-commit.com hook with a hook that runs an entry located within this repository. I have created a repository with a hook: my-pre-commit-hook> ls -a .pre-commit-hooks.yaml my-script...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Port from OpenPhone to HighLevel (LeadConnector) I was told by HighLevel (aka LeadConnector) to create a Twilio account but after entering my existing virtual phone number (originally bought from Vumber, transferred to Dialpad, transferred to OpenPhone), I received a message saying a Twilio number cannot be used. Al...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error trying to access a remote database in SQL Server with C# I am trying to access a database I have recently developed remotely from another computer but on the same network. However, I always get the same error when trying to connect the database to the system built from C#: System.Data.SqlClient.SqlException: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618526", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spark UI history server - OOM This is via cloud formation Spark UI template for a glue job. The unique thing about this spark ui file was it was >100mb. Others lower in size run ok. Is there a --conf that can be set to negate this issue in a way that doesn't limit driver's memory too much? SPARK_DAEMON_MEMORY=2g is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618530", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to select and save time period after setting index So I have a data includes huge amounts of stock information during 2010 to 2020. However, I only want data from 2015 to 2019. After df= pd.read_csv('equity_2010_2020', parse_dates=['DATE']) df.sort_values('DATE', inplace=True) df.set_index('DATE', inplace=True) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618536", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get termination event with ptrace I am trying to get the termination of a process with ptrace. I've already tried PTRACE_O_TRACEEXIT, but the process could end also with a return and the event will not be caught. What can I do? I would like a ptrace solution only, without waitpid
{ "language": "en", "url": "https://stackoverflow.com/questions/75618538", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How might I pass a list as a variable in a python gql query? Based on the example from the gql documentation, I have the below, working query: from gql import gql, Client from gql.transport.aiohttp import AIOHTTPTransport # Select your transport with a defined url endpoint transport = AIOHTTPTransport(url="https://...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618540", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Only pick selected fields when ingesting mongodb data with airbyte I need to ingest data with airbyte from a mongodb collection into bigquery. The documents contain hundreds of fields, some of which we would prefer not to ingest for security reasons. Is there an easy way to collect only specific fields from the mong...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618542", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pytorch DataLoader for custom dataset I am trying to write a custom data loader for a dataset where the directory structures is as follows: All_data | ->Numpy_dat | | | -> dat_0 | -> dat_{0}_{0}.npy | . | . | -> dat_1 | -> dat_{0}_{0}.npy | -> dat_{0}_{1}.npy | . | . |->mask_numpy...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618543", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: failing to use ffi-napi with webpack to ship to users so am trying to use ffi-napi to import Go HTTP client that send valid TLS check it out here so my problem is that am always getting this error when running the exe No native build was found for platform=win32 arch=x64 runtime=node abi=93 uv=1 libc=glibc node=16.1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618544", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Etcdctl to GET key that contains bash invalid symbols I cannot use Go nor Python etcd APIs to perform interaction with etcd. I need to query: env ETCDCTL_API=3 etcdctl --endpoints=server:2379 --cert ca.pem --key ca.key --cacert cacert.pem --command-timeout=60s get $(echo L3ZvdGUvADHd0kmW58d9JqTD8whMYS9vY3Nw | base64...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: OpenStreetMap Warnings how can I fix warnings when embedding OpenStreetMap into static site:
{ "language": "en", "url": "https://stackoverflow.com/questions/75618549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: packages / import statment I have virtual environment package structured as following: apps/ __init__.py main_app.py (storing the execution function) st/ speedtest.py __init__.py quota/ quota.py __init__.py main.py In some cases I will the program from apps/main_app.p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Laravel, how do I destroy a dispatchable object after it has been dispatched to a job? In Laravel how do I remove from memory a Dispatchable object after it has been constructed and serialized to the jobs table? I'm sending a long list of large email messages, and my ProcessEmail class (it implements ShouldQueue ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618552", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am not sure I got an idea of to set a range of sizes for the GoogleAds As described here - https://developers.google.com/ad-manager/mobile-ads-sdk/android/banner#multiple_ad_sizes there is an option to set multiple sizes for the ad, however, my question is which way it is going to be used. Because there is still o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618559", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to scan a C# solution using the SonaType CLI (Nexus IQ CLI) command We are trying to locally scan a .net6 webapi solution using the Nexus IQ CLI (sonatype cli scan). When we try to scan a .csproj file, its perfectly scanning the dependent packages and generating the report. But we could not find a support docume...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JBoss EAP 7.4 returning 403 when attempting to access Spring Boot application I have a Spring Boot application that was created using the built-in Tomcat server. Our production server is on JBoss, so I'm working to update the configuration to run on JBoss. I am able to get the application deployed and can see the co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# regular expression to match all words except exclude list w/external match I've been searching StackOverflow most of the day and can't seem to find a regular expression in C# that will allow me to accomplish what I want. Here is the gist of it: Match a string of characters [a-z\-]+ but don't let that string star...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create sub modules for importing from libraries in NX similar to @angular/material I have moved my code successfully into libraries in my NX workspace. However, I have some libraries that are rather large (utilities) with a number of small functions. As such, I would like to be able to break the import into smalle...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Visual Studio 2022 how to disable vcpkg injection? I'm trying to run this code > cmake_minimum_required(VERSION 3.25) project(exampleHowToPybind) set(PY_EXE "C:/Program Files/Python37") set(Python3_ROOT_DIR "C:/Program Files/Python37") set(PYTHON_EXECUTABLE "${Python3_ROOT_DIR}/python_d.exe" CACHE FILEPATH "Path to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't install packages in PyCharm i'm trying to install packages in PyCharm and I get this error: ERROR: Could not install packages due to an OSError: Failed to parse: http://proxy-XX:XXX WARNING: There was an error checking the latest version of pip. my interpreter is python 3.10 the same error appears also when I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618574", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: POWERSHELL - Check lastwritetime of FileA and delete content of a folder if FileA older 50 days So as the title says, I want to check the LastWriteTime of a specific file (always have same name), and if that file is older than 50 days, i want to delete the content of a folder (which is next to it). There can be 2 ty...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618575", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why MassTransit is sending message to skipped queue and giving timeout exception I am using Mass Transit(8.0.6) in .Net core web API, one of the alternate message is always going to skipped queue and failing with timeout exception. 1 request is passing and next is failing. Exception: at System.Runtime.ExceptionServi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Retrieve output message from sqlserver procedure in php I have this procedure in SQL Server where functions are executed, and I want to collect the output in PHP. The problem is that the first result that it returns is the "result" and then it returns another one with the outputs. How can I collect these outputs? Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Axios and MongoDB Can anyone help me. So im trying to "link" my database with my react app with axios but when i post a username it says : net::ERR_CONNECTION_REFUSED. And also my post request dont seem to work when im not using nodemon. Btw im using MongoDB for database. Heres the code: import React, { Component } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618578", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to change color in heart icon when i click on it I would like to make this heart icon favorite when I click it change color from this html code and css. I post html and css codes. <div class="title-reviews" id="favorite"> <form name="favoriteForm" method="post" id="favoriteForm" class="favoriteForm" action="...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: iOS build cannot resolve two Cocoapod dependencies with the same version In my iOS project I have a pod dependency which I am specifying like so: pod 'PromisesSwift' For some reason, the dependency PromisesObjC is appearing twice in the Podfile.lock, even when I delete this file and the Pods directory before runnin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618581", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a shortcut or special-case when transforming long numbers from base-256 to base-255 and back? I have many large numbers which are several hundred bytes long. How can I efficiently transform these from base-256 into base-255, such that the numbers become up to one byte longer but don't use the value (or digi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Postman Pre-req how to verify post body that has correct body with correct field For the post request I have this knid of body { "callbackUrl": "http://test.io", "secret": "ygc28gc2VjcmV0" } I want to verify does the body has all requied fields such as callbackUrl and secret. How do I check it in Pre-req sc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In SAS, how to perform a nested test to compare two nested cox regression models? In SAS, is there a PROC that can let me perform a nested test to compare two nested cox regression models? If so, how to do it? I've searched and tried the following, but it didn't work: proc phreg data=mydata; model time*event(0) = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: k-means clustering by blocks for large images I'm trying to find a way to run a k-means clustering over a large image size (16GB) without loading the whole array into python. I already have a code that is able to read the image by blocks to make other kind of raster calculations, but I haven't been able to figure ou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Text of Text Box resets when I go to other pages After writing In the TextBox, I go to my SettingsPage and when I go back from there, my text is reset. Code to navigate to SettingsPage from MainPage: if (Window.Current.Content is Frame rootFrame) { rootFrame.Navigate(typeof(SettingsPage)); } Code to navigate to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: App crashes when entering cyrillic text and emojis in search field I have an app made in Swift/SwiftUI with Xcode 14.2(if that matters). I have a search field which when changed runs a search() function which parses text and makes an HTTP query. There is some sort of a problem with the way I'm parsing the query (i t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multitenancy with Spring boot and Spring JPA Need to map 1 entity class to multiple (more than 2) tables which are dynamically created with same table structure . If it is possible ? If yes it will be great if you can give me some example or point to some resource. I need to do data isolation that is why using the s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Zig 'expected error union type, found 'void'' I have an array of a struct and I am being unable to sort it. The compiler returns error: expected error union type, found 'void'. var general_purpose_allocator = std.heap.GeneralPurposeAllocator(.{}){}; defer std.debug.assert(!general_purpose_allocator.deinit()); const ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: easepick calendar custom localization I need the calendar to be translated into Macedonian. Currently, the easepick calendar doesn't support Macedonian language, so I need a solution to add a custom translation, if possible. Could you please help me with this issue? I have tried it this way: const macedonian = { m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to drop column from organize by column table in DB2? Please help how to drop column from organized by column table is it possible to drop i by alter table drop column? A: You can’t issue an ALTER TABLE ... DROP COLUMN statement to drop a column from a column-organized table. If you need to drop a column, you’d ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Could not load type of field Plugin Fingerprin I try to authenticate with Plugin Fingerprin Using .NET MAUI I have the following code private async void OnBiometricClicked(object sender, EventArgs e) { var request = new AuthenticationRequestConfiguration("Validate that you have fingers", "Because without them...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get row names based on column values, R, multiple conditions Using the sample data set mtcars head(mtcars) mpg cyl disp hp drat wt qsec vs am gear carb Mazda RX4 21.0 6 160 110 3.90 2.620 16.46 0 1 4 4 Mazda RX4 Wag 21.0 6 160 110 3.90 2.875 17.02 0 1 4 4 Dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Systemverilog reading SRAM data when changing index at posedge problem I design a instruction cache, my problem is that when I change the sram index at posedge clk it returns the value of the previous index. When I test sram module it behaves normally, but I instantiate it in data_array and tag_array module it does ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Python script that inserts data from a text file into an excel file I need a python script that reads some trees from a text file and puts them in an excel file. Go through each tree from the last node to the root and enter the data in a specified excel. The text file contains trees with nodes that contain informati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Working with raw output from ffmpeg 'gdigrab' on Windows I'm trying to capture high quality screen recording with the minimum CPU load (what we're recording is already CPU intensive and suffers slowdown if encoding is being done at the same time as screen recording). I'm using this command: ffmpeg -f gdigrab -t 00:0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DataFrame styler not causing an exception when displayed using data_table When using styler to format the dataframe and present it with the interactive data table functionality an error is received: TypeError: object of type 'Styler' has no len() import pandas as pd from IPython.display import HTML from google.colab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Really basic for-loop seemingly gets bypassed in JavaScript, details to follow I've only just started to learn JavaScript and I'm stuck with this basic for-loop. All it has to do is add up the items of ourArr onto ourTotal and then display ourTotal on the console. For some reason ourTotal remains 0. I've tried to st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: Auto login after registration Spring Boot 3/Spring security 6 My question is targeted mainly to Spring Boot 3.x/Spring Security 6.x but it may apply to older versions too. I've a small trivial project with form login. Here is a sample configuration. @Configuration public class SecurityConfig { @Bean public Secu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Fix Someone Else's Neural Network to Get Rid of "CUDA error: CUBLAS STATUS EXECUTION FAILED"? I am currently trying to train a convolutional neural network I got from Github, however, it seems that there are potential mismatches in the libraries between the code and my conda/python environment. The person who...
{ "language": "en", "url": "https://stackoverflow.com/questions/75618621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }