text
string
meta
dict
Q: Adding $ sign for amount field using xml and sql I having a xml file wherein I have written a sql query to fetch the amount values from the database.Now I want that the amount field should also have a $sign in the beginning. I have made use of to_char(to_number(amount,'L99999','NLS_CURRENCY=''$''')) and to_char(rpt....
{ "language": "en", "url": "https://stackoverflow.com/questions/75555122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: REGEXP_SUBSTR throws 'pcre_exec: match limit exceeded' from regexp I have a table account with a login field I want to extract clean email from this login field My test is : DROP TABLE IF EXISTS tmp_test; CREATE TABLE tmp_test AS ( SELECT id, REGEXP_SUBSTR(login, '[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C passing struct type to function inside that same structure I've been experimenting with structs in C and tried to make a simple struct with students where a struct is created and then we put some data inside the struct and so on this is the code. The goal is to inside the struct Estudante have a function pointer t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555126", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: WooCommerce rename taxanomy I need move all terms in the "product_cat" to custom taxanomy "product_country" The important is I need keep all relations with product. It's possible to bulk edit in database? Or create 1 by 1 new terms and link with product ?
{ "language": "en", "url": "https://stackoverflow.com/questions/75555129", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: err_insufficient_resources with Promise.all and Axios I am building a React app that fetches and aggregates data from API calls and calculates/shows some stats. I am using axios to make the API calls in export const getData = async (name) => { const element_list = await structuredRequest(name) const agg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555130", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django signal was not triggered after Apscheduler job updates Model record I have an Apscheduler job that updates the active field in my subscription model and sets it to False. I created a post_save signal that should be triggered when the subscription model is updated, but it doesn't work. Here's my code. --job.py...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555131", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Opentelemetry Java agent Not Send Span after config Like tittle said after i set Vm Option -Dotel.traces.exporter=jaeger -Dotel.metrics.exporter=none -Dotel.exporter.jaeger.endpoint=http://localhost:14250 -Dotel.instrumentation.common.default-enabled=false -Dotel.instrumentation.opentelemetry-api.enabled=true -Dotel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555133", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: flutter routing not routing I'm building an amazon clone app, currently building the sign up function of the app. I run into the following problem is when I as a user sign up for an account and click on sign up there happen's nothing. How the code is setup it should reroute back to the sign in page: this is the code...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Admob website Stuck on infinite loading Screen I don't know if I can post this type of problem here or not. But I'm facing a loading screen problem in Admob Website in the console it's giving me these errors. Uncaught SyntaxError: illegal character U+0001 | create:1:6 Script from “https://apps.admob.com/cam/JsPrefe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555135", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I use LSTM for tabular data? I'm working on an LSTM model for network intrusion detection. My dataset is a table with 48 features and 8 labels, each row represents an instance of network traffic, labels indicate whether the instance is benign (0) or a type of attack (1-7). I have created an LSTM model for tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: What is the purpose of the "landmark" accessibility container type? The UIAccessibilityContainerType.landmark enumeration case is described as "Landmark data." This description leaves much to the imagination and I have struggled to find information about this enumeration case elsewhere. I tried setting the accessibi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to populate vector of structs from threads? I try to reproduce https://doc.rust-lang.org/rust-by-example/std_misc/threads/testcase_mapreduce.html but for structs. let mut data: Vec<SomeStruct> = Vec::new(); further I iterate over csv file, map result to SomeStruct and try to populate vector from threads: for re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555141", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Bidirectional relationships and referencing problem with JSON I'm working on a problem with bidirectional relation ship, here I have created POC application to demonstrate the problem and removing extra code. I have three classes Foo, Bar and Baz. Foo has a OneToMany relation with both of them and Bar has a OneToMan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555142", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Attach select2 to new elements Please tell me how to connect the select2 handler to new elements that are append or load. $("body").append('<select class="js-example-basic-single"><option>1</option><option>2</option><option>3</option></select>'); $(".js-example-basic-single").select2(); $("body").append('<select c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555143", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Linkedin API Request fails with "Unpermitted fields present in PARAMETER: Data Pro (truncated...)" (TYPO3) I am trying to retrieve the posts from my companies linekdin page using the linkedin api. I basically just copied the api documentations curl example and fitted it to typo3s requestFatory: $requestUrl = "https:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to show image slider and webcam side by side in same application using PyQt I am building an application wherein I am analyzing the emotion of a person using facial expressions based on the image he sees. For that, I have created a Qt app using Qt designer. I have two buttons that are used to change the image. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555149", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to test if array contains item, as is, not some subset of it So it seems that I fell for contains function definition, since: yq -n '["hyper"]|contains(["pe"])' 'surprisingly' returns true. I don't know what usecase this have, still new to funcitolan world but it's clearly shown in docs as: jq 'contains(["baz",...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555150", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flutter - How to set initial value in multiselect dropdown? Widget _buildEquipmentCategoriesDropdown() { return Column( // children: [ Align( alignment: Alignment.centerLeft, child: RichText( text: TextSpan(text: 'Equipment Categories: ', style: Styles.blackBold16, children:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why mlkit cannot detect a face with Honor X9a 5g I try to use Honor X9a 5g to do my face detection, but it is fail. I have allowed permission and keep cannot process to next. Any suggestion?enter image description here Expect the ml kit is function and able to detect the face to finish registration
{ "language": "en", "url": "https://stackoverflow.com/questions/75555154", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to pass an array in $match that I got from a $lookup operation in the same aggregation query I ran the aggregate query mentioned below [{ $match: { type_of_booking: "fcl" } }, { $addFields: { blacklist_arr: "$blacklist_company.blacklists", } }, { $project: { _id: 1, company_id: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555157", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why do the editor templates nest when they are used in view components? I got a weird problem that I can not explain. In my ASP.NET Core MVC application I have a ViewComponent. Async Invoke: public async Task<IViewComponentResult> InvokeAsync(Guid discussionId) { var discussion = await this.context.Discussions ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555158", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding elements to sublists within a list in Python I have lists D and E with sublists. I want to add element in E to the sublists in D and generate a new sublist. For example, D[0]=[0,4] and 1 should be added to 4 to generate 5 and create a new sublist [0,4,5]. But I am getting an error. I present the expected outp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Cannot plot stacked parlot with matplotlib I have a data frame where column 1 represents bacteria names and the rest of the columns are samples. I would like to plot a stacked barplot illustrating the bacterial community composition of each sample. This is what my data frame looks like (ignore extremely small percen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555160", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pentaho data alimention I have a large KJB that feeds DMT and DWH. I want to know how a job, which contains a KTR or KJB, can be set up to require completion of another job before it starts its work. I am looking for a generic test to determine whether one function needs another, even if I change tables, so that I d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555161", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fetching data from Firebase in React.js I am confused about the fetching data from Firebase using React.js, someone can explain me plase step by step what happens in the code? export const getCategoriesAndDocuments = async () => { const collectionRef = collection(db, "categories"); const q = query(collectionRef...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: failed to install jekyll on macos I am trying to install jekyll on mac os (10.15.7) I am following this blog . It seems I could successfully install ruby, however, I am failing to install jekyll. Here is the error: macos/Building native extensions. This could take a while... ERROR: Error installing jekyll: ERROR: F...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Testing with Mockito fluent WebClient API I'm stuck in writing a Junit test using Mockito to test a call to WebClient like this: `ClientResponse clientResponse = WebClient .builder() .baseUrl(<url>) .build() ....
{ "language": "en", "url": "https://stackoverflow.com/questions/75555171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fetch/read the multiple sheets from the excel(.xlsx, .xls) file. spark in java We are using above approach We are making use of sparkSql These the screen shots of excel. * *Department *Marks *Student format("org.zuinnote.spark.office.excel") .option("hadoopoffice.read.header.read", "true") .option("read...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555174", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to write Presto Query to get the latest date from when a item has non zero inventory? I have a table named item_inventory which include items and day on day inventory. like below City inventory invDate Item1 0 3/1/2021 Item1 0 4/1/2021 Item1 1 5/1/2021 Item1 1 6/1/2021 Item1 0 7/1/2021 Item1 0 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot resolve symbol 'gargoylesoftware' even when htmlunit dependancy is present under pom.xml pom.xml <dependency> <groupId>net.sourceforge.htmlunit</groupId> <artifactId>htmlunit</artifactId> <version>2.70.0</version> </dependency> Usage in test.java file import com.gargoylesoftwa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am getting An argument named "topic" is not expected here I have basic terraform pubsub module, when i am calling the module and passing value, I am getting error, An argument named "topic" is not expected here .I tried with different parameters ,still getting same error, can any one please look into this issue! m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555184", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL - Do all SELECT variables written as functions need to be referenced in GROUP BY? -- Would this still run correctly without all 3 GROUP BY variables included? E.g., if clause was only GROUP BY start_station_name? SELECT usertype, CONCAT(start_station_name, " to ", end_station_name) AS route, COUNT(*) AS n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555186", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Query BigQuery Spreadsheet external table and copy to Cloud Storage with Workflows I'm working on a workflow to query a BigQuery table and export the result directly in Google Cloud Storage bucket. I have authentication access issue because the table I want to query is an external table from Google Sheet. There is a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Copying Hive Data to S3(Hadoop Version:3.3.4) I tried to copy hive table data to s3 but I am getting the error like "No FileSystem for scheme "s3"". So far I have tried CREATE EXTERNAL TABLE emp (    emp_name string   )  row format delimited fields terminated by ','  lines terminated by '\n'  STORED AS TEXTFILE LOCA...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555191", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android studio Recyclerview using ListAdapter crash because IndexOutOfBoundsException: Inconsistency detected I'm using ListAdapter in my Recyclerview, most time it work normally, but when currentList size is 0, and I submitList(new ArrayList(myNewList)), my app crash, but if I use submitList(new ArrayList(myNewList...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555193", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Homescreen Widget Problem In Android - Android Studio I am experiencing some issues with recording audio. I have created a widget with start and stop button that is supposed to initiate audio recording when clicked on start and stop recording when clicked on stop. However, We are getting the output but the output au...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555194", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get first date of current year in Amazon Redshift How do I go about getting the first date of current year using Redshift? I am familiar with T-SQL/SQL in SSMS but I am not entirely sure how to do this in Redshift. In SSMS I would have done: SELECT DATEADD(yy, DATEDIFF(yy, 0, GETDATE()), 0) AS StartOfYear Howeve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's wrong in that query - JOIN I have two tables, and my goal is to retrive all fields from Table1 + create a new field by concatenation of T1.Column + T2.Column. First table currently has only 4 rows, the other one has like 1000, but I can find those 4 in there (joined via LOC_ACC_ID) So my initial though was se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to parse yaml conditional fields in rust? In the yaml files below: // 1. book yaml kind: book title: Someone's life publisher: someone published_at: 2023-02-24T09:31:00Z+09:00 // 2. movie yaml kind: movie title: Someone's life director: someone else kind is key for recognizing that yaml is what for. If kind ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555204", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Port forward through OpenVPN tunnel with server running on Azure I have a basic setup like this. I want the user to connect to the Azure VM (The OpenVPN server) and use its port as the Client's port. I tried adding iptables rules, which did not resolve my problem. iptables -t nat -I PREROUTING 1 -d {SERVER_LOCAL_IP_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555207", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Community Connector metrics and dimensions not working I try to wrote a Google Community Connector and I have a problem with metrics and dimensions. I have many configurations with with a list of available metrics and dimension. Inside function getSchema I call an external API and fetch proper reportt condigu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555209", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How BottomNavigationView applies ColorStateList to the text color of TextView I have a nav_text_color.xml where the color changes to white when state_checked is specified as true, otherwise (default) to red <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555211", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to filter the people picker control for permission groups(administrator, manager, contributor, viewer) in Django and fronted reactjs? I am trying get all relevant groups (administrator, manager, contributor, viewer) in the current tenant with ExtendedGroup.objects.all(). ExtendedGroup.objects.all() gro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555212", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to convert fractions of a binary into a decimal fraction, but my program keeps on giving wrong output The formula for solving binary point into decimal point is... if 10.110 then: 1x10\*\*-1, 1x10\*\*-2, ... but my code is so messed idk... The output of this should be .75 string a = "10.110"; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555214", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MongoDB NodeJS : Client must be connected before running operations Here is a small app, using Express and MongoDB. When the GET is called, it will query the database. Nothing fancy, but I got this exception : /Users/nicolas/Desktop/projets/js/testmongo/node_modules/mongodb/lib/operations/execute_operation.js:23 thr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Midnight Commander Chmod command I dont know, how working difference between Set all, Set marked and Marked all. Because every buttons do same things. enter image description here For change in multiple files. Thank you. Multiple permission in files. A: From man mc: …to set the attributes exactly to those specifie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: CORS blocking access to an image Access to image at 'https://i.pinimg.com/564x/e1/ec/d7/eab8c5281.jpg' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Getting this error while cropping this image in React . I have us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555217", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I have a can't find answer for PySpark Final Hands-on : DataFrame Operations * *More operations in PySpark In this hands-on, you will start working on PySpark basics. Follow the below instructions to complete the hands-on: STEPS: Step 1: Import the SparkSession package. Step 2: Create a SparkSession object. Step ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555219", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the function of the directory attribute in the html input tag? I was looking for a way to enable users to upload folders to a webpage. While I have already found out that this can be achieved with the webkitdirectory attribute of the input tag, I stumbled across something I don't understand. Many answers (li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555222", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to perform request coalescing with .net middleware Firstly, I know there are options for request coalescing, like using an Origin Shield, Varnish, etc. But those are architectural changes and I was looking for something more straight forward. My thought was to use some middleware that would first determine if th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Typescript type extends any given type I am trying to build a custom table in Angular, and I wanted to create a TableItem type that ensure that every type you insert into the table, it has a label property. Here there is an example of usage: <app-my-table [items]="items"></app-my-table> For example here items c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555224", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JSF rendered methods executed on ajax requests I need some light about something strange we have noticed in our project. We have a Primefaces 10 (Omnifaces) + JSF 2 project and we see that when we click a button (or trigger an AJAX request) log shows a lot of DB queries. After tracing one of them I've seen that corr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555227", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Select df and variables from a list with a reference df for variables selection I've got a list of df , with different variables. At the end, I want to get a synthesis dataframe, from a sub-selection of dataframes and variables, joined into one. I have another df with the list of variables of interest and the corres...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555228", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MongoDB: lookup into nested foreign field I have the following scenario: A collection of guests who need to choose which bus stop they will take the bus from. Then I have the busescollection. Each bus have multiple trips, and each trip has multiple stops, and each stop has a location. I need to make a mongo query wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555232", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Maven build jar file with Class-Path included in MANIFEST.MF cannot resolve library classes This is my pom.xml file: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555233", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Return a reactive property from store in a callback? I'm trying to make the 'modal' that is returned to the callback, reactive. Is there a way? The underlying model in the state[] does not get updated when I call modal.isOpen = false for example. Store: const store = () => { const state: [] const { subscribe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555234", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to filter the response of opensearch API in the request? I want to query an opensearch index and to retrieve only the _source inside the hits tag. I tried to make the request in Postman like: GET: http://localhost:9200/my_index/_search?q="product1234"?format=json?filter_path=hits.hits._source but this also gets...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555235", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: sum of two linked lists always starts with 0 I want to create two linked lists by taking user input, and then add them and store the sum in a third linked list. However, when I print the third linked list, it always prints 0 as the first value, followed by the correct sum values. Tried to debug and step through the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555236", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Applied filters in dax is not working when we supplies multiple values here for each quoteId I have multiple quotes panels. if I match mandatory panels to quote panels - (using Power query - left join) - if the mandatory panels don't match, i will get nulls for a few panels here the problem is - when I supply multi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555239", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS Athena: Unknown type: float I tried to CREATE TABLE xxx AS SELECT cast(1.0 as float) as my_float ... but I got the error: TYPE_MISMATCH: line 1:15: Unknown type: float When I check the AWS Data types documentation and the float type does exist! A: The tricky part of this AWS doc mentions: use float in DDL s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555244", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to apply JS object CSS in React datepicker? Following is my JS object of css const converted = { ".datePicker input": { width: "100%", padding: "0.7em", borderRadius: "4px", borderWidth: "thin", borderColor: "#d9d9d9", fontFamily: "Roboto", fontSize: "14px", fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555247", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ChartJs: Unable to set same X -axis value in different chart despite of same data at X-axis I have two different charts. The first chart code looks like the below: function createLineGraph(chartId,data,labels,xLabel,yLabel,title) { // Create a new Chart.js instance var ctx = document.getElementById(chartId)....
{ "language": "en", "url": "https://stackoverflow.com/questions/75555248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Update state of all Blazor pages I'm building a Blazor client side app (WebAssembly). Is there a way to trigger an update of the current state on all pages currently displayed? In my application I change language from the sidebar and I want that change to refresh the currently displayed components and pages. Reloadi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555251", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: React/Typescript self-referencing interface for nested components I've created a simple Text component: const Text: React.FC<TextProps> = ({ children }: TextProps) => { return ( <span> <>{children}</> </span> ); }; The component should accept a string or a string + another Text component as its ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555256", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Disable ripple effect on Spinner dropdown item Android I have Spinner with custom layout for its dropdown view using CheckedTextView. The checkedtextview have custom background to use custom color and corner radius. But the ripple effect kinda ruin its UI. How to disable the ripple? I have tried using set rippleColo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555261", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring @ModelAttribute calendar type mismatch I'm passing the date in formDate as ISO date string yyyy-mm-ddThh:mm:ss.uuuZ @PostMapping @ResponseStatus(HttpStatus.CREATED) public void create(@Valid @ModelAttribute PersonRequest request, BindingResult bindingResult) { for( FieldError fieldError : ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555262", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why I could not get the real object from decoded token in express? I used jsonwebtoken package in my express app. Here is the related codes of two routes of my app: the codes: router.post('/set-token', function(req, res, next) { let userName = req.body.userName; let email= req.body.userEmail const to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555269", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: If multiple columns contains several characters simultaneously then return True For the following data df: id k1 k2 0 1 re_setup oo_setup 1 2 oo_setup oo_setup 2 3 alerting bounce 3 4 bounce re_oversetup 4 5 re_oversetup ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555270", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Javascript || In sert object conditionally into array array object I have following data, const array1 = [{id:1,name:'john'},{id:2,name:'peter'}]; const userObject={}; and I am forming new array of object like , const newarray =[...array1, userObject]; My requirement is ,if userObject is empty {},then i dont want ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555272", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to resolve a promise with useMemo? im trying to convert an image to base64. herewith my code below const validateUpload = useMemo(() => { return documentUpload?.map(async (item) => { const imgBase64 = await RNFS.readFile(item?.photo, 'base64'); return { documentCode: item?.documentCode, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: manage access to youtube videos to groups of people I am building a knowledge base in a google workspace business that is accessible not only to that company but also to external individuals. I need to give access to some videos. I was thinking of an easy way to share them : * *I have created a google group. *I c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555278", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Visual Studio asking for poetry generated virtual environment every time I have switched to managing my virtual environments with poetry and chose to configure it so that it installs each virtual environment in the root of each project. I usually go to my project folder and issue a poetry shell command, The virtual ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555279", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Forcely delete odoo contact with invoices cascaded I want delete all contact with there invoices and orders, i deleted invoices and orders manually and when trying delete contacts Shows the error. The partner cannot be deleted because it is used in Accounting. How i can delete them? Thanks
{ "language": "en", "url": "https://stackoverflow.com/questions/75555280", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to reproduce sample dataset from a given regression model in R I am trying to generate sample data from the following regression model with given parameters. y = 2.6306 * exp(0.0536 * x) R^2 = 0.7811, n = 100, 3 < x < 15 I used the following code to generate the data: gen_sample <- function(a, b, r_sq, n, xmin, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555281", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Down loading 70 k research papers information from the web of science ( WOS) I'm currently working on text classification, but I'm facing a challenge with downloading information for a query that involves around 70k research papers. Unfortunately, I'm having persistent connectivity issues with the Web of Science web...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I import a pyd file in spyder from anaconda? I'm using spyder from Anaconda. I'm trying to import a pyd file but this message appeared: 'DLL load failed while importing _py_bbt_driver: No se puede encontrar el módulo especificado.'. How can I fix this problem? Thanks. I tried to use pip install in the anacon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: XlsxWriter, Pandas - can't format datetime to 'dd/mm/yy' based on the Working with Dates and Time page, I can format datetime to 'dd/mm/yy' and others format, but it does not change anything: df = pd.read_excel("\\test.xlsx", sheet_name='test') df['Col1'] = pd.to_datetime(df['Col1']) #dtype: datetime64[ns] writer =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555288", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting Date only not Time from Oracle Database in PHP I have following Oracle View: View Data: And I am using PHP as a backend to fetch data from the above view. PHP code for fetching data from Oracle database: <?php include 'dbconn/dblims.php'; $output=array(); $sql = "select HEAT_ID,HEAT_NO,SAMPLE_NO...
{ "language": "ko", "url": "https://stackoverflow.com/questions/75555291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Maps Satellite View increase zoom like on the website and rasterize tiles I need to have a Satellite view zoom equal to 21, but on some places the Api only allow zoom to 19 because they don't have the imagery for the place at this zoom level. BUT on their googlemaps website they allow this zoom level and just...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555292", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: An error was thrown in afterAll; Cannot read properties of undefined After upgrading from Angular 15 to 15.1 I'm encountering an error when executing tests in my angular project. I could reproduce this by simply setting up a new Angular 15.1 project via the CLI and generating a service using the same semantic as the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555293", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Unknown column 'ea.employee_id1' in 'where clause' `package com.seleniumexpress.addressservice.controller.repo; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.query.Param; import com.seleniumexpress.addr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555294", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to increase element opacity incrementally as user scrolls I'm working on a svelte project and I'm trying to increase the opacity of a logo as user scrolls down... what is the best method to achieve this? I haven't tried much to this solution.. A: For viewport based interactions, you can use an IntersectionObser...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555296", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can ClickHouse ignore & return failed rows when batch inserting? Occasionally we get failed inserts, and I was wondering if it's possible to get clickhouse to ignore the failing inserts and return them, rather than failing the entire batch. This may be a dumb requirement. You could argue that there should be no fail...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: add nested feature for Accordion component I have a project with Next.js and typescript and in this project, I have an accordion component like this import React, { useEffect, useState } from 'react'; import classes from './Accordion.module.scss'; import { IAccordion, IAccordionItem } from './IAccordion'; const Acc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555299", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: C# Smooth Scrolling I'm just wondering how I could achieve smooth scrolling with my custom control in C#. It seems that everytime the user scrolls the control the onPaint event is being called and the whole control is repainted. I've got no dedicated onPaint or onScroll Handler yet. I've enabled DoubleBuffered Mode ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555301", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL Server error The procedure requires a "@params" parameter of type "ntext/nchar/nvarchar" I am getting errors while executing this code please help me Msg 214, level: 16, state: 175, Procedure: sp_execute_external_script, line: 1 [package start line: 0] The procedure requires a "@params" parameter of type "ntext...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Clarification Regarding Pip Package Sub Dependencies Getting Upgraded I have a doubt regarding pip installation. Suppose i have a requirements.txt file in python project as below Django==4.1.7 While downloading Django it also downloads sub dependencies. └─$ pip show Django Name: Django Version: 4.1.7 Summary: A hig...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555303", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: C# TCPLISTENER not working if not localhost I am creating a C# Windows application that needs to listen for incoming requests. If the request is a specific command, such as "screenshot," the application should capture a screenshot and perform some action. These requests will come from an Android app that has a butto...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i open folium map to pycharm I can't open map to webbrower (import webbrower) How do i open folium map..? Is it code True?enter image description here
{ "language": "en", "url": "https://stackoverflow.com/questions/75555309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: re-run failed dagRun in airflow I have few failed dagRuns related to a dag. I want to re-run them programatically later. below is my code. dag_runs_list=dr.find(dag_id=env_dag_id, run_id = dag_run_id) print(dag_runs_list) assert len(dag_runs_list) == 1 if ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the action for a reducer built with createAsyncThunk I'm not really good at posting an accurate title for my question because I'm still fairly new to Redux, but here's what I'm trying to do: I'm trying to create a middleware using createListenerMiddleware that basically carries out some logic when a certain ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Import all sheets for multiple excel files and append into one dataframe in python I have three .XLS file, for first file I have total 2 sheets, for second file I have 9 sheets, for third file I have 11 sheets, I need to read all these files and all their sheets, The method which I knew is not efficient. what I have...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555319", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to convert a single json file to multiple json files for each image convert a single json file to multiple json_files for ms_coco dataset. In ms_coco dataset we have single json files for each train2017, train2014, val2017, or val2014. Datasets structure datasets ms_coco annotations images train2017_ann...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555320", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: subtracting data from a quarter to previous quarter My dataset contains information about the amount in the corresponding quarter.(year 2016-2020 actually) I require a change in the amount previous quarter.[Column G] Method used by me : I tried to add 'pervious quarter' field to it and subtract it by matching the '...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555321", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cognito AWS: Token is not from a supported provider of this identity pool I'm currently grabbing the idToken from an authenticated cognito user to use as credentials for making a s3Client command. I receive the idToken which looks correct when decoded, and pass it to new CognitoIdentityClient but when I reach the s3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AttributeError: module 'socket' has no attribute 'gethostbyname' import socket import pandas as pd xls = pd.ExcelFile(r"/Users/bprabu/Documents/net-scripts/juniper_inventory.xls") # use r before absolute file path device_hostname = xls.parse(0) #2 is the sheet number+1 thus if the file has only 1 sheet write 0 in pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555326", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can you make notification pops up without refreshing the page? Hi everyone I have a problem that my notification with Laravel Notify (https://github.com/mckenziearts/laravel-notify) only appears when I refreshed the page, here's how I used it: I made a button with a link(a) that when clicked will route to a controll...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555328", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to resolve Android App Bundle which has an activity, activity alias, service or receiver with intent filter can't be installed on Android 12+ You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the 'android:exported' prop...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Error moving from Mongoose 5 to Mongoose 6 in preparation for MongoDB version 6 upgrade I'm currently using Mongoose 5.13.16 for some deployed server software with no problem (connecting to MongoDB Atlas). I install Mongoose 6 and get the error below, and the software fails to run. I can't see the suggested syntax e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555334", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to use NavigationRailView with Navigation Components in Kotlin I am using BottomNavigationView with Navigation Components like below: activity_main.xml <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75555335", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }