text
string
meta
dict
Q: can you search through a csv in vb.net (winforms) im trying to search for dates in a csv that has a few fields per entry, and im really struggling to find out how i can do this. Ive looked through google and some (even very old) forums, and i cant seem to find anything other than the info that vb.net has an inbuilt ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582499", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiply the first number of each cell import pandas as pd import numpy as np dataset ={ "g1":[(1,2,3), (1,4,5),(6,5,8)], "g2":[(6,5,4),(9,6,4),(5,8,7)], "g3":[(2,5,6),(6,5,8),(5,8,6)] } df = pd.DataFrame (dataset, index = ["g1", "g2", "g3"]) print(df) This is my dataframe. I want to m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get row number of an item in an indexed view of a SQLite table I have this simple table CREATE TABLE MyTable (MyText TEXT UNIQUE ON CONFLICT REPLACE); I have this SELECT statement that returns the table rows by descending order of their creation: SELECT MyText FROM MyTable ORDER BY rowid DESC; Let's say, it returns ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582504", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I open the product in new tab? i want my product in new tab for user. if any one click on product the product display in new tab. it's a woocommerce website which have multiple product but i want the product should be display in new tab. A: you can do this using JQuery, like $('a').attr('target' '_blank'); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582506", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Change admin password in WEB UI have error * *change admin password in WEB UI (harbor v2.1.0) *login in error happen, have success and unauthorized WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /root/.docker/config.json. Configure a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Adding HTML line break in a aspx view dynamically I am new to C# and I am stuck at a point where I would like to add a line break in a .aspx view based on the data being populated. Please find below my code below: <asp:GridView ID="SupGridView" runat="server" AutoGenerateColumns="False" CssClass="gridView" Allow...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582509", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to Sort by Values with NaN I have a dataset that I need to change the NaNs with a value when I do so there is no value stored. the data looks like this: id type status job_id 1 EMP Pending 1 EMP Pending 101 1 Contract Aproved 391 2 EMP ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to obtain column where value equals zero within a row without using max.col I have a distance matrix that I would like to get the column index for the row where zero occurs. If zero doesn't occur I would like the row to be assigned NA. So I generate an example distance matrix. m <- -replicate(10, sample(0:9, siz...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582512", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to build this caluculated columns in Pandas I need to get a dataframe that shows me, in correspondence with the warehouse loads, when the stock would run out (excluding subsequent loads) The starting dataframe is this: starting dataframe Here you have the code to build it: import pandas as pd data = {'warehouse...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't access data downloaded by sklearn.datasets fetch_openml I'm currently learning ML from the book Hands-On Machine Learning and I'm on the third chapter. In the start it says to download the MNIST dataset with this code: from sklearn.datasets import fetch_openml mnist = fetch_openml('mnist_784', version=1) And...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582514", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reverse order count sort vector deallocation I'm learning how sorting algorithms work. I've implemented the counting sort in C++: vector<int> counting_sort_dec(vector<int> &A, int k) { vector<int> B(A.size()); vector<int> C(k + 1); for (int i = 0; i < A.size(); i++) C[A[i]]++; for (int i = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: My return statements are not giving any output I wrote this code and it's not returning any output, I'm not sure why. As far as I can tell I have the returns correct but obviously since there is no output something is wrong. def main(): j = int(input("Enter a number ")) age = int(input("How old are you? ")) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: R Extract unique rows conditional on other columns' differences I have a dataframe like the following: Country A B C HONDURAS PL Partido Liberal 12.00000 HONDURAS PN Partido Nacional de Honduras 17.33000 NICARAGUA PN Partido Nacional 12.00000 CHILE P...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582520", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: NgRx state returns undefined I can't see a list of users in my application. Everything worked fine since I've updated the routing importing the modules using lazy loading. If I open the chrome developer console and I open up the Redux tab, it shows me the correct state and the list of users. But something is broken ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to communicate with the server to show dialog with resultCode using Retrofit(Android, Jetpack Compose) Implementing login functionality. When I input the email and password values and clicks button, the email and password values are used to communicate with the server, and if the login is successful and the resu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Loop in between function At the end of every month I need to build a package with records which end_date equals each day of the month + 180 days. Example: 01.01.2023 - 25 contracts (records) with end_date set to sysdate+180, 05.01.2023 - 100 contracts (records) with end_date set to sysdate+180, 10.01.2023 - 50 contr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I make one python file run another on Aws I am trying to keep my scripts in bucket and run multiple connected python scripts from one main python file. What is the best way in Aws for this??
{ "language": "en", "url": "https://stackoverflow.com/questions/75582524", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Spring MVC upload file java.lang.IllegalStateException I have Spring MVC app. I am trying to upload file there. My controllers` methods are: @RequestMapping("/addNewListening") public ModelAndView addNewListening() { ModelAndView modelAndView = new ModelAndView(); modelAndView.setViewName("admin-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582527", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Databricks SQL restful API to query delta table As of today, can we use any Databricks SQL Restful API to query Delta Tables stored in ADLS from any external UI?There is some information mentioned over this link https://docs.databricks.com/sql/api/index.html? but not sure how to use them!! Checked in Databricks docu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582528", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Deploying AR objects in specific coordinates in Unity Engine I hope this message finds you well. I am writing to seek advice on the development of an AR (augmented reality) app that involves placing AR objects in their real-world coordinates (latitude, longitude). I have tried using several tools such as geospatial ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why I debug at response var time display on console a promise without do nothing Code below: let getApiData = async function () { try { let response = await fetch("https://mdn.github.io/learning-area/javascript/apis/fetching- data/can-store/products.json"); console.log("\\n\\nResponsed Object") ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Does not Structure Equality in Golang works for me? Trying to benefit from GoLang structure equality feature. Using map[interface{}]interface{} to put my entities (struct{}s without pointers/slices fields) into, and be notified by map itself, if the entity is missing or different. // !found means new or different if...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Can you use a shared Redis cache across different cloud/compute platforms? We are looking to move our GPU based services to a cheaper specialized compute platform. Our backend is hosted on GCP and we're using a Redis Memory store between several services in GCP. Happy to switch to another Redis provider if needed. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582547", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to insert 6,500,000 records into a table that contains 126 columns? My application is running on .NET Core 6. I am using the BulkExtensions library which allows me to enter 2,400,000 records, then I get this message The node was low on resource: memory container fifi-web using 36045744Ki, which exceeds its requ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I extract only the numbers from the below data? From the below data I want to capture the Item name in the first row and its respective data in the consecutive rows sequentially FPC 0 CPU Top Left Front OK 51 degrees C FPC 0 CPU Top Right Rear OK 57 degrees C FPC 0 CPU Top...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Find file recursively excluding subfolders with specific substring I need to get all paths which has a specific file: find apps -type f -name "project.json" This returns something like apps/sub/frontend-e2e/project.json apps/sub/frontend/project.json apps/sub/backend/project.json But I want to exclude all paths w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to handle import error in sas db and go to a next import? Hi I wanted to introduce error handling in a macro, that imports multiple excel files: %macro ReadIn(input = , output = ); proc import datafile = "&input." dbms = xlsx out = &output._input replace; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582555", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Alter angle of labels on Bar graph using ggplot 2 in R Created a Bar Graph where each bar has a percentage label affixed. I'd like to change the angle of the text to make it easier to read. Months are aligned along the x axis and the sum of transacyions for each month are aligned along y, with a user type separating...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can a workflow decide dynamically whether to run an “Archive” step? I have an iOS app that uses Xcode Cloud as its CI system. I have a workflow configured so that whenever any branch is updated, Xcode Cloud runs the Test and Archive actions and pushes the resulting binary to TestFlight. I don’t actually need or want...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I need a python program to detect QR Codes in camera RAW files I need to loop through a folder of camera raw (cr2) files and detect whether the image contains a QR Code and if so capture the data. I need to run this as an Automator program hopefully as a python script. I can do this with jpg or png files but I need ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: It is possible to use result from sql aggregate function from other table as a field value in table? I am trying to use result value from MySQL avg() function a field in other table, but i dont know how to do it. I was looking for similar questions but i didn't find any. That's how my database looks like : database ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582562", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use tqdm with while loop if counter is conditionally updated In below code, I want tqdm to show progress bar for counter variable i. Note that i is conditionally updated and the condition or decision to increment itself involves randomness. import random totalItr = 100 i = 0 actualItr = 0 while i < totalItr:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How would you implement some of the measures for class imbalance treatment into fasttext? For example Weighted Cross entropy? Or focal loss? How much is this implementation demanding? Are there any open resources to it? I would like to make some modification on the objective function or to create some methods for lo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Implementations of the `GRU` cell is different from the descriptions I need to put GRU cell for inference on certain hardware. And as I just found, definitions, available on Internet from multiple sources, for example, https://en.wikipedia.org/wiki/Gated_recurrent_unit, is not agree with cell implementations on both...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Godot GUI. GUI objects do not stick to the position when the window aspect ratio is changed too much While in the editor everything works well and my GUI objects retain their relative position relative to their size, in the build of the game you can see that the GUI tries to maintain its aspect ratio. My settings Pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582568", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Uploading files/photos securely in React Native (Expo) I am building a mobile IOS app using React Native (Expo Go) that allows users to upload sensitive files and images with previews of them displayed on the app. So far, I have Firebase authentication and Postgres database set up. I am using the Firebase UID to sto...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582570", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Anylogic: Counting the times an agent goes through a serviceblock to then decide if the agent should leave the system or not I have a serviceBlock which is connected to a selectOutput. This selectOutput is connected back to the serviceBlock (False) and to a sink (True) I want to count the amount of times an agent go...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Unable to set policy to block files download from OneDrive/Teams on mobile devices In our company we want to limit the ability to download files/attachments from Teams/OneDrive only from devices that are enrolled in Intune. I tried to set it up using Conditional Access policy in Azure Active Directory. The issue we ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: gphoto2 --capture-image-and-download fails with Sony ILCE-7RM4A I try to take photo, but it does not work I tried gio mount -s gphoto2, but it did not help Name the OS Ubuntu 18.04 Name the camera Manufacturer: Sony Corporation: Model: ILCE-7RM4A device version: 1.10 serial number: '00000000000000003285301003379424'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding a filter to Leaflet Map `Hi all, I'm currently designing a map of local services in the Stockport Area. So far, I have written code which produces the leaflet map as expected with markers showing where the services can be found in Stockport. I have also created a pop-up, displaying more info and a link to the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: LaTeX Beamer -- Numbered table captions without \begin{table} I'm working on a beamer template and I'm trying to figure out how to create tables with numbered captions, but without using the table environment (\begin{table}...). The reason for not using the table environment stems from the possibility of a custom ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: getpath in lxml etree is showing different output for absolute xpath I am trying to get the absolute XPath of an element but it is giving different output. I am trying to get the full XPath of search button in Google. Here's the code I have tried: import time import random from selenium import webdriver from seleniu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Concatenate multiple values from a column based on substrings from a single string on another column I have an Oracle table with the following columns and strings: | Name | Id | Path | |---------+----------+-----------| | Base1 | B1 | /B1 | | Mid1 | M1 | /B1/M1 | | Top1 | T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: pyspark - concatenating columns and surround by two strings Question: How can we concatenate the columns in the following df and surround each column with two strings (as shown in the desired output)? from pyspark.sql.functions import concat_ws from pyspark.sql import functions as F df = spark.createDataFrame([["1"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to pass env variable to Gradle test via command line? I have a standard java project layout and in some of my tests i have System.getenv("my_var"). I'd like to do run my tests using command line (from CI server) and pass the value of env var. Something like ./gradlew test -Dmy_var=xyz but of course, this one do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to use Angular Date-picker in Json format Year DD/MM/YYYY only? I am trying to use Date-picker in a reactive form. Also, implemented MomentDateAdapter to customize: export const MY_FORMATS = { parse: { dateInput: ['YYYY-MM-DD'], }, display: { dateInput: 'L', monthYearLabel: 'YYYY', dateA1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error in pytorch OutOfMemoryError: CUDA out of memory I am facing below mentioned problem while trying to run pytorch code on my system using CUDA-GPU: OutOfMemoryError: CUDA out of memory. Tried to allocate 554.00 MiB (GPU 0; 1.96 GiB total capacity; 1.14 GiB already allocated; 140.94 MiB free; 1.16 GiB reserved i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: regex for extracting all html tag names and values (as key/value pairs) Imagine I have following HTML: <html> <body> <p>test1</p> <b>test2</b> <div> something <b>more</b> </div> </body> </html> I am trying to figure out regex for the following output (parsing right after <bod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: I wanted to create a kind of table and put it on the side of the text but I don't know how to do it How can i do this So, I would like to mirror something like this on the website however in no way works out for me I want it to look like the image above. A: Try using a grid container. Then you can align your elemen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: downloading r-studio, the git command line requires command line developer tools I have just downloaded R studio to a new computer, and i get a message saying ' the git command line requires command line developer tools, would you like to install'? I use R for educational purposes but don't know too much about thing...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is this element not affected by my CSS rule? I have the following HTML and am trying to make the header row of the table bold. <!DOCTYPE html> <html> <head> <style> table>tr>th { font-weight: bold; } </style> </head> <body> <table> <tr> <th>Amount</th> <th>Name</th> <...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using Apple MDM, I can't get ByPass Activation Code Is it possible to create Bypass Code for devices without DEP? * *https://developer.apple.com/documentation/devicemanagement/activation_lock_a_device *https://developer.apple.com/documentation/devicemanagement/device_assignment/activation_lock_a_device/creating...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using a custom filter(across) function with map_if on list of dataframes with R I'm trying to do some filtering on several dataframes from a list (with a character column that is date-like). I know that all my df have n (here 10) entities, and then i try to spot long_df format where each row is a couple entity-date....
{ "language": "en", "url": "https://stackoverflow.com/questions/75582604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Named JPA queries with multiple schemas and multiple Data Sources in Spring Boot Application I want to know a way to configure which will automatically connect the schemas with their entities in their respective data-sources so that all the previous named-query-methods will also work fine along with the nativeQuery ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to store post-request results in variables? I have this php code here to post request and echo the response then store otp into a variable $url = 'https://api.inkryptvideos.com/api/s1/videos/ID/otp'; $headers = array( 'Authorization: API-KEY', 'Content-Type: application/json' ); $data = array( 'ttl' ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how can i add the Unselected Multiselect to Traineemul in zoho creator using deluge script variable = List(); for each r in input.Trainees_Present { variable.add(r.Intern_No); } input.Trainees_Absent = variable.tostring(); input.TraineeMul:ui.add(variable);` //In this variables added in TraineeMul is which are sel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: pgAdmin4: Instance '' is not persisted I have used pgAdmin v3 and v4 to access my dB without any problem. However, after deleted all the connection list and add new server or server group, I got this error: "Instance '<Server at 0x1f19e9854c0>' is not persisted" This occurs only at pgAdmin4 and pgAdmin3 still works ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: D365- Virtual Entity - Lookup is not able to filter while Typing the values We have created a custom Connector(Plugin) for retrieving data. We have a lookup of virtual entity in case and while searching data in lookup, We are not getting the filter condition in plugin.From advance find we can get the filter conditio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582612", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do I have form data post to a database and also redirect to another page I have a form data that sends data to my sqlite database and I'm using express.js as middleware. I have the form data like so res.send( 'app .route("/login") .get((req, res) => { res.send( <h1>Login Page</h1><form action="/redirect" method=...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to color like numbers in a table with the same color? I have the following scenario: * *The numbers will keep changing randomly and in real time; *It may be that these numbers come with random or equal values ​​compared with the next one; What problem am I facing? I did a test with the algorithm below, but i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582618", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Shutting down jupyter kernel deletes output figures I have several notebooks open in jupyter lab. Just to simplify the number of files open, I occasionally shut down kernels, especially after saving a file. When I reopen the file, the figures from the last generated output are gone. I have to rerun the notebook. Fur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582619", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Update an existing bean instance with mapstruct and keep some old fields I want to update an existing bean like asked here. Using @Mapping( target = "id", ignore = true ) to keep the old id and only update all the other fields does not work though. The id is still updated. This also applies to using @BeanMapping(ign...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582620", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to open a file from a mounted drive (nas in home network) in postgresql and win 11? I want to open a csv file with the copy command. The file is on a sahred drive in home network and connected in win as w: . Over DBeaver from the sql command to copy the csv i get the error - No such file or directory. SQL comman...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shared folder between SCO Unix 5.0.6 guest and windows 10 host on Virtualbox I try to create a shared folder between a SCO Unix (IBM software) guest virtual machine running on virtualbox and the host OS (Win10) . I created a entry on the virtualbox menu to map the source directory (guest) to the destination one (hos...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Settings.py: environment variables -> `getenv` or `environ`. What's better? What's the best approach to be able to, also, see my project locally? I have one project in production on AWS Elastic Beanstalk. In my settings.py I'm using os.getenv, so I'm able to get my environment variables from AWS Elastic Beanstalk en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: apache mod_crypto CryptoKey issues I've been experimenting with the new mod_crypo module in the development version of Apache 2.5 here: https://httpd.apache.org/docs/trunk/mod/mod_crypto.html What I'm trying to do is simply serve an encrypted file at rest that will be run through the output filter and decrypted and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why an empty test makes another test bug in Django because of its name? This is the weirdest thing I saw in my programmer life (not very long but still). I am trying to test a Django app with pytest and I realized that one of my tests is ok when run alone, but fails when I run the whole file. So I decided to test so...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to open big text files in UWP Textbox? I want to open big text files (1MB and over). I can open 500KB-700KB sized text files with my code. How can I open 1MB and over text files. My file opening code: FileOpenPicker openPicker = new FileOpenPicker() { ViewMode = PickerViewMode.Thumbnail, SuggestedStartLo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582634", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wildfly org.jboss.security.auth.spi.DatabaseServerLoginModule multiple calls to login method per transaction I am pretty new to all of this, so excuse me if this question is poorly worded. I working on a project where we have a class that extends RedHats Wildfly application server org.jboss.security.auth.spi.Databas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Export from Acces to Excel Run-time error '2302': Microsoft Acces can't save the output data to the file you've selected I'm having trouble with exporting a query to Excel from my acces database. the weird thing is that on my own laptop the code is working but in my work enviroment i'm getting the run-time error '23...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582640", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to specify the session timeout settings for the guest user Can I set the session timeout settings for the Guest User,What is the role of Session timeout settings in Guest User Profile? Guest User has no session,Is the Session Settings in Guest User Profile meaningless?
{ "language": "en", "url": "https://stackoverflow.com/questions/75582641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to monitor/alert on any changes to the private IP address of an ALB in AWS? I'm aware that AWS Application Load Balancers occasionally change their private IP addresses due to maintenance, from what I understand customers are unable to receive prior warning of these changes. I'm currently trying to fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Write a conditional Recursive SQL query to find the item which is not available in one retailer but can be available in other Table t1 contains data of those product which is not available to those retailer for a given company while table t2 contains master data of retailer-item and its availability status. I want t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: python requests package adding another proxy to my request When I call python's requests.get with a proxy, it's adding another one. import requests proxies = { "http": 'userexample:passexample@ipexample:portexample', } response = requests.get('http://jsonip.com', proxies=proxies) # output >>> print(proxies) {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure deployment fails EF .NET 6 I created my deployment profile on Visual Studio, have added my connection string and everything but I get an http 500 error when accessing my azure deployed ASP.NET Core 6 application. In the publishing settings there is an Entity Framework migrations setting which is failing: dotne...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582650", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does this piece of code for a calculator not work? I am a beginner and I took on the challenge to code a calculator, with a UI, in C#. It contains 9 numeric buttons, 4 operator buttons and 1 calculate button. When I run it, It does not run correctly. For example, when doing 12 x 12, I get 14,544 and when doing 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Problem debug Blazor Webassembly after VS 2022 17.6 update After updating VS 2022 to version 17.6 this morning, I cannot run my Blazor Webassembly project with debug. I have the launchSettings.json configured to "launchBrowser : true", the same as before the update and when I launch my app with debug I get this erro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change the default metric plot in SageMaker from time to epoch using CloudWatch? I am using Amazon SageMaker to train a machine learning model, and I have noticed that by default, the CloudWatch plots metrics such as accuracy and loss against time. However, I would like to plot these metrics against the epoch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Simplifying a for loop with purrr::map or any of its variants in R I am working on some multiple regression problem that has different outcomes and different predictors. I have a written a script that takes the outcomes and predictors and iterates over a function in a for loop. What I am looking for is something l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make correct template specialization which saves members I have an issue with specialization. I want to make a struct with specific type template specialization. But, the issue is that when I am trying to specialize the struct, then struct members are not declared. So, I have a struct: template<typename T> st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How Can I develope a Python MachineLearning Project? I want to make a program, where I can give it several questions following some methodologies, and the program return to me the question most predictable to be the next question. if there are some models of machine learning that can help me?
{ "language": "en", "url": "https://stackoverflow.com/questions/75582666", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: I'm unable to write regular expression for capturing mount options from fstab I'm trying capture mount options in fstab config with python regex module for /tmp LV. This is how the config looks like: /dev/mapper/rootvg-lv_home /home ext4 nosuid,nodev 1 2 /dev/mapper/rootvg-lv_opt /opt ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: S3 lifecycle policy directories I want to set a S3 lifecycle policy. I have bucket with several objects like: * *MYBUCKET/file1/.trash/ *MYBUCKET/file2/.trash/ *MYBUCKET/file3/.trash/ I have set a life cycle policy with prefix /file1/.trash it works but I want to set for all of them like */.trash/ did not work. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React stay on current page after refresh I have 3 Tables in my app that are displayed one at a time Branches, Services and Guichets. constructor(){ super() this.state = { Branches: [], Services: [], Guichets: [], context: "Branches", Bra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Play Audio with python without dependencies for a while now i have been trying to figure out how to play audio in python without pygame, and PyAudio and PortAudio just do not work on some devices. is there any way i can play audio answer is below A: you could use this class i made, Its ready to be used instantly, i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582672", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python webscraper, looping through object list and dynamically changing URLs I have this code that fetches data from an URL: import requests from bs4 import BeautifulSoup import pandas as pd headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to show particular div section when I select the dropdown option by clicking the submit button in jQuery I'm trying to showcase the particular div section when I choose the select option from dropdown and I have written below code but that's not working anyone can please help on that. how to do actual requiremen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582678", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to resolve TypeScript error for "Property does not exist on type 'unknown'" on destructuring in Sanity? New to TypeScript but in a Sanity validation rule if I have the code: validation: Rule => Rule.custom((value: string, { document: { fooBar } }) => someFunction(fooBar.itemBool, value) ) and on itemBoo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connection refused to localhost I am trying to create a method un rust that could call a webserver. I have a server running on 127.0.0.1:8000. In command line, I receive an answer to curl -XGET http://127.0.0.1:8000/data and to curl -XGET http://localhost:8000/data In rust, I have the following methods, implemented ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to change GroupBox background color in Python VCL GUI app I'm using the DelphiVCL GUI library for Python and trying to change the background color on a GroupBox component, but it's not working I have the following code to create the Form and the GroupBox on my Form: from delphivcl import * class frmMain(Form): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How chrome extension can get content from request without opening devtools? I found solution, but the issue is script doesn't work if devtools are closed. `chrome.devtools.panels.create("Request interception", "icon.png", "panel.html", panel => { chrome.devtools.network.onRequestFinished.addListener( function(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to transform an array to an object in JavaScript? Your task is to add the missing logic to a transformToObjects() function that transforms a list of numbers into a list of JavaScript objects. For the provided input [1, 2, 3] the transformToObjects() function should return [{val: 1}, {val: 2}, {val: 3}]. Is it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Delphi 11.2 + IOS Simulator I have: Window 10 with Delphi 11.2 as working platform MacOS 12.6 with PAServer 22.0 installed on VMWare. I am trying to write a cross platform application. Everything works on windows and android. The project is also launched on a virtual macbook. But when I try to record the Iphone Simu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i get the max 2 column names by values sorting row wise in python I have a dataframe like: A_ZZ_CR B_YY_CR C_WW_CR D_XX_CR E_VV_CR F_OO_CR 0.51 0.12 0.69 0.72 0.04 0.78 0.65 0.53 0.18 0.68 0.70 0.08 0.63 0.45 0.20 0.73 0.72 -0.02 0.59 0.41 0.17 0.72 0.69 0.10 0.66 0.43 0.23 0.74 0.71 0.16 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Install metric-sever in EKS I'm trying to install metric-server in Amazon EKS. Server is version 1.24 and kubectl version 1.25. Here is the result:  kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml Warning: resource serviceaccounts/metrics-server is missin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: delete button is only deleting last item in array of objects instead of the specified object in redux toolkit need help deleting an object in an array in redux toolkit Hi, the trouble im facing is that I have a delete button on the Ui of my application. This is my code, and whenever I click the delete button, it onl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Select first record in group where no overlap I have a set of rows which looks like this, ordered by First_Date Id First_Date Second_Date ABC12345 2022-05-18 2022-08-16 ABC12345 2022-05-23 2022-08-29 ABC12345 2022-06-06 2022-11-23 ABC12345 2022-06-16 2022-11-23 ABC12345 2022-08-16 2022-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: displayName and photoUrl is null in firebase authentication (android) I am using email and password authentication of firebase and saving the name, email photourl etc. But It is showing null in photo url and displaName field. It is showing the email and the uid. firebaseAuth.createUserWithEmailAndPassword(email, pas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: lambda binding upon call is causing issue in my generated code As the author of Pythonizer, I'm translating some perl code to python that defines a function FETCH in 2 different packages in the same source file, like: package Env; sub FETCH {...} package Env::Array; sub FETCH {...} and my generated code needs to in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: No access to CreationDate metadata using PyPDF2 From the documentation PyPDF2 Metadata from PyPDF2 import PdfReader reader = PdfReader("example.pdf") meta = reader.metadata print(len(reader.pages)) # All of the following could be None! print(meta.author) print(meta.creator) print(meta.producer) print(meta.subjec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75582706", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }