text
string
meta
dict
Q: I can't use already installed python modules I'm trying, to write a script that will automate moving player for example in minecraft. I installed library (or whatever you call it) called keyboard but when i try to use my code it says: Traceback (most recent call last): File "C:\Users\samcio\Desktop\py\main.py", li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Selenium sometimes selects the incorrect page feature I am attempting to scrape the prices of various items of produce from UK supermarket websites. On the Asda website, I occasionally get the correct value, and occasionally the incorrect value. I believe that there is more than one instance of the class I am search...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571971", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ejs syntax error with object keys that include multiple spaces or special characters longer than 19 characters I am using a loop to generate sliders in my app using ejs templates. The object passed to this screen has spaces in its keys so I am using bracket notation to get the required values to parse to the slider....
{ "language": "en", "url": "https://stackoverflow.com/questions/75571972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SwiftUI, change the TextField string from the toolbar button In SwiftUI, how can I insert a string at the current cursor position of the TextField? In below example, I want to change the string from 1234 to 12+34 in the toolbar button event. @State private var inputText: String = "1234" public var body: some View {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to filter a dropdown field for specific categories when using categories of TheEvents Calendar plugin on a wordpress website? I'm using TheEventsCalendar Plugin together with the WPForms Plugin on a wordpress website. I have a dropdown field that displays my events (there is an option for that in WPForms when us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571980", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to assign a timbre from a wav file to midi using python? I will try to clearly explain the essence of the issue. Suppose there is a midi file, well, for example, take such a midi, example https://www.youtube.com/watch?v=dAupqV3Mgwk Piano Synthesia As you can hear, the timbre of the piano is playing here. Suppose...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Implementing a Map Template with Member Function Pointers as Values in C++ I have implemented a class called MethodMap that allows me to store member function pointers of a class and call them at runtime using a key string. The member function can take any parameters or not at all. The class looks like this: templat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: DJango eror: TypeError, Exception Value:__call__(): incompatible function arguments I was trying to develop facial based attendance system, where user enter name,email and image in the database . tO Recognize, user enter image which recognise face endpoints using Python's face recognition library (https://pypi.org/p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Navbar layout shifting in flexbox using tailwind css on hover bold, text is shifting layout. I am using tailwind css. this is my code https://play.tailwindcss.com/fAUieA44OB I don't want to use position absolute or anything which disturbs responsiveness. <div class="mx-12 flex items-center justify-around"> <nav> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571986", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PostgreSQL doesn't work in ubuntu 20.04 Django Docker My docker-compose works fine and runs on Windows 10 but when i tried to run it from ubuntu 20.04 i get the DB errors. My django settings.py file: DATABASES = { 'default': { 'ENGINE': env('SQL_ENGINE'), 'NAME': env('SQL_DATABASE'), 'USE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: OpenCV + CUDA: Different outcomes on CPU vs GPU The Problem I was coding an image processing application to identify unicolor circular objects in an image. I'm doing this using OpenCV 4.7.0 for C++. To develop the necessary functionality, I perform the following operations: * *Thresholding: Filtering out the obj...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: When to use types and when interfaces in TS? Lately, I'm studying Typescript more deeply. I'm trying to understand the difference of types and interfaces, when its more effective to use one of them. In general, I can use either both... I saw similar questions but yet, didn't understood... So if someone can simplify ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571992", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Generating different website for every item I want to build a marketplace(index.php) website where a user can click on a item and then a separate website will be open where there will be information about this item. This website will be the same for all items, but only some text and image will be different. My idea ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Should I call REST API when processing a message from Message Queue? I need some advice on the architecture for a background job. I am using Azure Service Bus with at least once gurantee(peek-lock) feature but question is in general for any message queue. Below is the flow: * *Producer sends a message in the servi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75571999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Confluency of 3 indicators strategy can someone assist me with strategy build problem. I have strategy built in pine v4 and that works with 3 indicators. Problem i have: Long is set only when all 3 indicators are met at same time. That is fine but i want to have option where i cover situation of waiting One on Anoth...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572001", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Disable auto import optimization on refactor in PyCharm I'm using PyCharm's refactor (Refactor -> Move File...), and I want him to just change all usages in import statements, but beside that the moving also trigger the Import optimization and delete other imports. Is there a way to disable the auto import optimizat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Load Model of tacotron into Categories hello i have a template site i just wanna know how to load model of tacotron training inside that categories (https://i.stack.imgur.com/UShjx.jpg)
{ "language": "en", "url": "https://stackoverflow.com/questions/75572003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Taking Multiple User Input from a Class I'm making multiple user input from the class called Employee. My task is that I need to input at least 6 employees and print them all at once. What should be done to fix the problem? `class Employee: def __init__ (self, number, first, middle, last, address, rate, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to send email vis SMTP in my Laravel project I am a beginner with Laravel. I am developing a Website with Laravel now and I face a difficult problem. I tried to solve this issue but I can't do. I already made login and registration logic and I need to reset the password so I am going to send email link to user t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572008", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unable to create List object in powershell I am trying to create list in power shell using below statements [System.Collections.ArrayList]$list= @() #list.Add($MonitorName); Cannot convert value to type "System.Collections.ArrayList". Only core types are supported in this language mode. Please provide the solution,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I would like to know how can I output a number with 2 decimal places, without rounding the original number, in c++ I tried to use setprecision() but not working properly I have this exercise: * *Is given the radius of a sphere. Find the area and volume of the sphere. *The program reads from the keyboard the numbe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: clang-format: designated initializer: One member per line I have a struct in C: struct A { int a; int b; int c; } When initializing the struct clang-format reformats the code as follows: struct A name = {.a = 1, .b = 2, .c = 3}; How can I tell clang-format to put any member in its own line? Like so: st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: My panels are not showing up in my frame when I run the code I have written the below code, it is not complete yet. However, when I try to run the code to see the components I've added so far, they do not show up. Only the bg colour of the frame is there. import java.awt.BorderLayout; import java.awt.Color; import j...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: fuzzy question :In the clustering mean-c algorithm, we choose the parameter m as close to one in case we want partitioning hard? fuzzy question :In the clustering mean-c algorithm, we choose the parameter m as close to one in case we want partitioning hard? In the Kessel-Gustufson algorithm, we choose the mahalanobi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572016", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CORS error on React deployed on Vercel and Express on AWS with Nginx I have a React frontend app which is deployed on Vercel and a backend express server on AWS EC2 with NGINX reverse-proxy. Now since Vercel does not allow sending http requests, I went ahead and got a SSL certificate as well using Certbot. Here is m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unexpected timing result after micro-optimization I've been doing some experiments with some micro-optimizations and got an unexpected timing result, which I couldn't wrap around my head. I would be very thankful for your suggestions. Following the code : def findSmallest(arr): smallest = arr[0] smallest_ind...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572028", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: JSONDecodeError when trying to read and format multiple json files in a directory in Python I am trying to read and format multiple json files in a directory using Python. I have created a function load_json_to_dataframe to load and format the json data into a pandas dataframe, and another function read_json_files t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Allow only single selection on RadioListTile options flutter My radioListTile is allowing multiple selections instead of single selection. class _OptionsCardState extends State<OptionsCard> { String? groupedValue = ""; @override Widget build(BuildContext context) { return Card( color: AppColors.lightBlue...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572030", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cascading dropdown asynchronously using riverpod2 in flutter Please is there any example of flutter cascading dropdown that have items picked from cloud service using riverpod v2 AsyncNotifier. I have probleme that the two dropdown must dispaly initial data. For example first drop is country and second is city. I ha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why no data returns when I use unnest in bigquery? SELECT date, count(visitNumber) as visits, product.v2ProductName, sum(productRevenue) as Revenue, product.v2ProductCategory, concat(trafficSource.source,'/', trafficSource.medium) as source_medium, promo.promoName FROM `bigquery-public-data.google_analytics_sample...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572037", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MySQL less than or greater than not working when getting specific records with limit I have a table as shown below with 5 records. I wanted to get rest of all records with amount less than 2000. Except last/latest two records. invoiceId Date Amount 1156 2023-02-26 12:59 PM 28500.00 1157 2023-02-26 01:01 PM...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: list updating when i make another click after a longpress I am a beginner in flutter and dart and was following the flutter tutorial. I wanted to try to remove an item from Favourites page on long press of the heart icon. The function is executing but the screen gets updated only when i interact 2nd time(a tap or an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: use python library for custom filter analyzer in elasticsearch I want to create an index for persian-language text and I want to create stemmer for that, this is english-stemming for description field PUT my_index { "mappings": { "properties": { "description": { "type": "text", ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572044", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Validation input checkbox at least one with Laravel 8 does anyone know how to make validation checkbox to validate if the checkbox is checked at least one? My Store method public function store(CounselingRequest $request) { $counseling = new Counseling(); $counseling->student_id = $request->student_id; $...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Huge performance drop for LIKE statement if column order changes in composite index Edit: EXPLAIN result for the first two queries when using src_cus_lang: EXPLAIN result for the last two queries when using cust_lang_src: Original post: I'm using MySQL and have a table as follows: CREATE TABLE tm( id INT AUTO_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Linq: Selecting specific columns using DTO I know that in manual way I can choose what columns are fetched from database (simplified examples): db.Products.Where(...).Select(p => new {p.Id, p.Name...}) But, when i have DTO object: public class ProductDTO { public int Id { get; set; } public string Name { g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying 2 answer: What is the average time (days) between the first and second dose allocated in each jurisdiction/ TABLE: COVID19_ALLOCATION) enter image description here select avg(ALLOCATION_DATE), JURISDICTION_ID, from hc848.COVID19_ALLOCATION; --AS FAR AS I GOTTEN so far :-/
{ "language": "en", "url": "https://stackoverflow.com/questions/75572051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: macro with variadic arguments, I get a macro like this: #define REGIS(...) \ extern "C" { \ void libPort() \ { \ APPLY_TO_VARIADIC_ARGS(GENERATE_BUILDER, __VA_ARGS__) \ }} #define GENERATE_BUILDER(FOO, FUNC) \ FOO::setFunc(FUNC); \ FOO::register_<FOO>(); #define APPLY_TO_VARIADIC_AR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Extracting an attribute from a Box inside an enum #[derive(Clone, Debug)] pub struct Node<T> { value: T, left: Addr<T>, right: Addr<T>, } #[derive(Clone, Debug)] pub enum Addr<T> { Addr(Box<Node<T>>), None, } impl<T> Addr<T> { pub fn is_none(&self) -> bool { matches!(&*self, Addr::N...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to structure partial types using clean architecture? I am trying to apply Uncle Bob's Clean Architecture to a fullstack recipe application using a Node.js backend. I have some confusion on how and where to structure partial types of my domain entities. I have a domain entity called Recipe that has a bunch of pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to retrieve a value from firebase within a table? Let me start by showing what I have and what I have tried so far: var database = firebase.database().ref().child('Datah/Real'); database.orderByChild("result").equalTo("RUNNING").once('value', function(snapshot){ var content = ''; snapshot.for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: use dotted world map in jqvmap How can I put and modify jqvmap world map, with a dotted world map or changing the world map with a custom dotted map, I want to make it like as below picture <!DOCTYPE html> <html lang="en"> <head> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jvectormap/2....
{ "language": "en", "url": "https://stackoverflow.com/questions/75572061", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Template responsive issue in elementor page builder (wordpress) I have create a global tebplate in elementor like CTA, Testimonial etc. Everything was fine but when i called the global template in another page sometime showing responsive issue. any suggession..?? I'm trying this in wordpress and page builder is elem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: did u face that error while installing PHP on your mac? Error: php: Failed to download resource "freetds" Download failed: Homebrew-installed curl is not installed for: https://www.freetds.org/files/stable/freetds-1.3.17.tar.bz2 I faced that error while trying to install php on my mac as it is an old one how can i a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572073", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: I'm using Jenkins with Kubernetes plugin and I want to combine JNLP image with my slave image I want my default JNLP container to run with my image. Therefore, I need to overrite the JNLP with my image, but to keep the JNLP data to be able to connect to my master. * *The jnlp image I should have as base is inbound...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572075", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Send Multipart form-data resttemplate? I am trying to send the multipart-form data using resttemplate, but it is not working and seems data it is not reaching on server. public ResponseEntity<Map> postImage(URI postURL, String base64) { HttpHeaders headers = new HttpHeaders(); headers.add("Authorization"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sort and aggregation result in CriteriaBuilder JPA in the following CriteriaBuilder query, I can sort all the entries except the sums of majorFindings / minorFindings. But I need to sort them too. Is it possible? Because to sort in db level all the properties must be in the given entities. public Page<ConfigurationR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572079", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Webflux : Difference between .map() and .flatMap() behavior in a kafka receiver I have gone through the project reactor documentation for map() and flatMap() method and also a good explanation in this answer. But my query is regarding when we use the reactor KafkaReceiver. Following code example I have : //start...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572080", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why app is not responding with discord.js? I wanted to write a code that will send an embed with all the commands so I wrote a code that works but after sending the embed it shows an error above the embed: embed. Here's the code: const { Client, GatewayIntentBits, CommandInteraction, EmbedBuilder } = require('discor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572081", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Problem with static variable initialization C I am facing a problem with my static variable which take a random value at the startup of the program and not initialized to 0 as I am expecting it to work. I have this function in a first file 1: void setInput() { /*.... Code ...*/ sysUpdate(SysOutput.u16_state)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572082", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to better style a AMP form? I am trying to create a simple contact form using AMP form, for my Google Site. I am using the base example available here - https://amp.dev/documentation/components/websites/amp-form under Usage. How can I better style this form? Are there any readily AMP compatible Google stylesheet...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't able to get the value from textbox outside the function I have a simple JS code that finds the value of textbox that is entered by the user. var input= document.getElementsByClassName("textbox_properties"); var click_button=document.getElementsByClassName("button_properties"); var animal="Platypus"; var te...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spline interpolation plot in Matlab i'm trying to output few graphs in the same plot using different interpolations in order to find the y when x = 5 and mark that point with a red asterisk. I did the linear and it's working good (means i get a good plot) but when i'm trying to output the spline plot it doesn't work...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Functions in Python's math module and equivalents in NumPy library: What are the fundamental differences? What are the fundamental differences between the functions in Python's math module and their equivalents in the NumPy library? A: numpy works with vectors (or scalars, or matrices, or arbitrary n-dimensional ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572088", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: IMAP Subject UTF-8 with german umlauts I use the imap with nodejs and fetch some E-Mails. All works fine. The imap is a low level lib and gives all the data without any encoding to my application. The subject correctly is "GMX Täßt". I received this =?UTF-8?Q?GMX_T=C3=A4=C3=9Ft?= from the lib. All fine at this time....
{ "language": "en", "url": "https://stackoverflow.com/questions/75572089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access AWS resources created by secondary root account? Background: A year and a half ago my company purchased a web development project from a software company. Now I try to access the recourses in the AWS console, but I can't see any of the created and running resources. E.g. I see no active EC2's using the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572093", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How much data does kafka send to a consumer? let's say i have a data source that send data to the kafka cluster, the msgs are stored in a kafka topic (with one partition to simplify) and waiting to be consumed, a consumer in the other side (spark for example) is set to receive that data, my question is how much data...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL: Select distinct while ignoring only one column I have a table like this. input table name age amount xyz dip 3 12 22a dip 3 12 23a oli 4 34 23b mou 5 56 23b mou 5 56 23a maa 7 68 24c I want to find distinct rows but want to ignore the column 'xyz' ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Expo SDK 48 broke Firebase Auth I have just upgraded to Expo SDK 48 and it seems I am logged out after every refresh. I downgraded back to SDK 47, and everything works as expected. I am using firebase v9 (v9.17.1), installed with expo install not with yarn. Steps I followed for upgrading to Expo 48: * *Update to t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to access caller function's return data in CherryPy custom decorators' tools? I want to write a simple serializer in Cherrypy framework to be called on each hander to process the final result before sending out as a response. With normal decorators you access the return value of the inner caller function and out...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572100", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create an edge object without an implicit bias towards a side in Python Python noob here. I am trying to create a network object in Python that contains both node and edge objects. Edges are constructed from two nodes. Networks are constructed from lists of nodes and edges. My problem arises where the network someti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572102", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: got some error in code need some else in it //# Initialize boolean variable to False alert_triggered = False //# Check if alert condition is met and if the alert has not already been triggered if (alert_triggered=False) and Final_shortCondition0 and longCondition0 and not longCondition and ((last_open_longConditi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to Convert Get Method to Post Method in PHP <form action="<? bloginfo('url'); ?>" method="get"> <select name="page_id" id="page_id"> <?php $related = get_posts( array( 'post_type' => 'Episode', 'category__in' => wp_get_post_categories( $post->ID ), 'numberpos...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: MySQL Server 8.0 - Increase innodb_buffer_pool_size I have a question regarding MySQL Server 8.0 Configuration. I don't know, if this question is maybe to broad. If so, please let me know, then I can delete it, but I would be happy about any comments, hints or links to my question. I have a Windows Server 2022 with ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I was trying to login but I'm not sure why bcrypt.compare failing and throwing error At line bcrypt.compare in Login user. const jwt = require('jsonwebtoken'); const bcrypt = require('bcryptjs'); const User = require('../models/User'); const config = require('../config'); // Register a new user const register = asy...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is this Encoding? What can be this encryption or hash? 2%11%0B%01%13%04%1C6%26%04%0D%09%23%00%02%143%01%00%1C%15%1B%1D%0APQV%19%18H%B6%B8%BB%B6%E6%B2%E4%B1%ED%BE%B8%BA%B9%BC%BA%B7%A0%A3%F0%F2%A4%AD%F4%A3%AA%FB%A3%AE%A4%AB%AA%FA%94%94%C1%90%94%90%C3%9F%CC%CA%CB%9A%99%9E%96%CD%80%81%83%84%84%86%86%8F%DE%81%89%D8%...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572109", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Where to host .ro domain with Google indexing automated I have a .ro domain and I use GitHub to host and Netlify to deploy my website: https://sportinglupeni.ro. I tried to submit it to Google Search Console, but since Novermber it is not being indexed. Recently I tried to add a sitemap.xml file generated from XML S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ways to tag characters in tkinter text widget Is there an alternative way to index characters in text other than the one in the example below? text.tag_add('highlightline', '1.1', '1.2') For example, it would be useful to index them as if they were in a list or a 2D matrix. Where each row in the text corresponds to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572111", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP 5.4 String comparison issue I have a question. I faced really strange problem while comparing strings. Two identical strings from human view (*411 XML coldcompany.velantro.net) are different in PHP. Both strings are in same encoding (ASCII). Strings comparison using 'strcmp' function gives negative result (shou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to create an Array from Variables How to create an Array from Variables?! Console.WriteLine("Please enter a min number"); int minNumber = int.Parse(Console.ReadLine()); Console.WriteLine("Please enter a max number"); int maxNumber = int.Parse(Console.ReadLine());
{ "language": "en", "url": "https://stackoverflow.com/questions/75572118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Spring rest controller got 404 error code in Spring boot 3.x There is a sample spring boot(version 3.0.3) web application like this: The part of pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.0.3</version> <...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572119", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: STM32 elegant way to parse NMEA sentences without allocating to much memory I'm writing a parser for NMEA sentences. They can look like this: $GPBWC,220516,5130.02,N,00046.34,W,213.8,T,218.0,M,0004.6,N,EGLM*11 $GPRMC,081836,A,3751.65,S,14507.36,E,000.0,360.0,130998,011.3,E*62 $GPVTG,360.0,T,348.7,M,000.0,N,000.0,K*4...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to connect to a WearOS companion watch app using Kotlin? For days now I have been trying to connect a Jetpack Compose app to an WearOS watch (simulator), and I just can't figure it out. I have successfully paired the simulators (Wear OS app shows Connected to emulator), but I can't get them to connect in my app....
{ "language": "en", "url": "https://stackoverflow.com/questions/75572122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calculating SUM of price between two dates in different months So im trying to create a monthly report for an apartment based on bookings. I have a table called bookings with ID, arrival_date, departure_date, price_per_night. ID arrival_date departure_date price_per_night 1 29.1.2023 2.2.2023 50 Everythi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: npm error when using npm i react-qr-reader, npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: kiosk-system@0.1.0 npm ERR! Found: react@18.2.0 npm ERR! node_modules/react npm ERR! react@"^18.2.0" from the root project npm ERR! npm ERR! Could not resolve de...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to programmatically control play/pause button in MPNowPlayingInfoCenter (Xamarin.iOS) I'm working on an app written in Xamarin.iOS/Forms that plays music. We want to be able to control the playback of the song/songlist from within the app or from the now playing info center. Everything is working as expected exc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding custom extension to forked version of mozilla mobile's reference browser I'm interested in developing my own Android web browser and have been looking at https://github.com/mozilla-mobile/reference-browser as a starting point. I'm wondering if it would be possible to add an extension to the browser that is en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572129", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why my html form in ejs can't post chackboxes and selection to my express server? So I have this form: <form method="post" action="/post" enctype="multipart/form-data"> <input type="text" name="name" placeholder="name"><br> <textarea name="description" cols="30" rows="10" placeholder="description of product"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572130", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error 500 internal server error in the Springboot-thymeleaf While running it shows There was an unexpected error (type=Internal Server Error, status=500). My Controller page package com.dbcon.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ui.Model; import org...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Errors when running mflow run I am trying to apply the example of the book Machine Learning Engineering with MLFlow , specifically this simple example After building the docker image I do mlflow run . but I get 2023/02/26 20:08:57 INFO mlflow.projects.docker: === Building docker image stockpred:acfc5c8 === Tracebac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Debug configuration select options in vscode appearing twice * *I don't live in an English-speaking country. I'm sorry for my poor English skills. 1st = 4th, 2nd = 5th, 3rd = 6th in this picture Debug configuration select options in vscode appearing twice! How can I fix this error? I changed mingw once and restar...
{ "language": "ko", "url": "https://stackoverflow.com/questions/75572140", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find and format all prices in a string with PHP I'd like to fetch api and reformat numbers in JSON data. { "data": [ { "title": "Discount 1", "code": "SDFH", "description": "Save ¥199 for orders over ¥1,999" }, { "title": "Discount 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572141", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Why are my variables declared globally in one file not working in another file of the same project? The output expressions give V = 24; and U = 12. These are correct. When I used U and V in another file, it says they are undefined. Please help - I am a newbie here. `float32 U = 0; // Initialisation` `float32 V = 0; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572143", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What is HttpContext and Session? In ASP.NET Core, can I know what is HttpContext and Session, as in HttpContext.Session.SetString("a","Welcome"); Are they classes or objects? I went to definition and found that HttpContext is an abstract class, but I can't find what session is, and in some websites they saying th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572148", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Do I need to define firebase security rules for my app which stores all stickers image in database and its url in cloud firestore? I am storing images in firebase storage and its url and download count in cloud firestore under imageurl and downloadCount field respectively. I am fetching all the images from firebase ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: AWS RDS & Datagrip - can't connect to DB with IAM auth "case sensitivity plain=mixed" I have an existing RDS database on AWS that I want to connect to through Datagrip using IAM authentication. I've followed the instructions to a tee. I've enabled IAM auth on the DB, I installed the AWS Toolkit plugin and setup the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run Outlook GUI app via a Docker container I have been googling and learning Docker, how to create a Dockerfile, then build it into an image and finally run it. The vast majority of docker containers I see run non-GUI applications. Now I am on the need of installing Office suite into a Docker container and th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572153", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is the constructor or the code the problem? I am new to learning C++. I tried to create a code that is meant to tell time and add minutes to it by using a constructor. However, upon building the code with CodeBlocks, an error is displayed under the scope resolution 'time::time()'. I tried creating parameters within ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572154", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Changed exif data does not get written to new file i'm currently trying to dynamically add exifdata to images on a laravel project. I got the following code which causes 0 errors and creates a second image named test.jpg like it supposed to $imagePath = public_path('images/' . $request['filename']); $iptcDat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Discord bot using OpenAI API getting DiscordAPIError 50006 I am working on a Discord bot that uses OpenAI's GPT-3 engine to respond to user messages. The goal is to create a chatbot with long-term memory and access to the internet for updated information about certain topics. The bot was working fine for a while, bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572158", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Testing a Vaadin view in a unit test yields VaadinService.getCurrent()" is null I'm trying to test a Vaadin view. One of the Components is a div containing an ApexCharts. While I'm testing another component of the page (some Grid) I'm getting the following error: java.lang.NullPointerException: Cannot invoke "com.v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does user need to sign in to edit document in Office Online Server through WOPI? We have a successful integration between our product and Office Online Server through WOPI. In the past, there was a behavior that user needs to sign-in to Office365 before editing documents in the Office Online Server through WOPI. But...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572160", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Checking Metal texture is valid from shader I'm using Metal 3 and have an Argument buffers with structures of Materials. Each material may have diffuse texture field texture2d<float> diffuseTexture; But some materials could don't have one. How can I check from metal shader if specific metal texture is valid (initia...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572162", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How do you make faster A.P.I calls using multithreading without using requests in Python? I'm trying to receive historical stock data for every company in the S&P 500. The problem is that it is taking a really longtime to get the data. from ApiStuff import ApiStuff import fundamentalanalysis as fa import pickle tic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572163", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to pass EMR Serverless PySpark entryPointArguments as variable I have an EMR Serverless PySpark job I am launching from a step function. I am trying to pass arguments to SparkSubmit from the entryPointArguments in the form of variables set in the beginning of the step function i.e. today_date, source, tuned_para...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572165", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Quote revision makes all the child location incomplete I have a completed quote which have one product and two child product to it. When i make a revision the child product is becoming incomplete but when I make a change in to one of the attribute like 10.20 to 10.2 the product become complete. Is there a method in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ZOD validation based on another field Imagine I have an object like { field1: 'test', field2: 'test1' } How I can create the following validation: If field1 and field2 both are empty - it is not valid If field1 and field2 both are not empty - it is not valid Other cases are valid. A: you can use .refine() cons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The environment variables obtained by splicing in linux are not parsed As we all know, we can use $HOME to print the current directory just like: $ echo $HOME And it will print: /home/tsingshui But if I use: $ __="$""H""O""M""E";echo ${__} It just print: $HOME Is there any way to make it continue parsing out the cu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572171", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TensorFlow how to train a text model that will rephrase the text which copy my style using my personal chat data list? My goal is to convert normal string to my style. Like Input: "hi who is this" Output: "do i know you" ( this is something that is like my style of saying things. ) What I have: I have exactly 5,139 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572172", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Describe how realtime database sdk is bandwidth conscious? While learning firebase realtime database with flutter, I find out that the realtime database sdk is bandwidth conscious. Can anybody describe how it is bandwidth conscious with a proper example? I have tried to find this answer but didn't find it till now. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75572174", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }