text
string
meta
dict
Q: Why doesn't my article send after I wrote two mixins? I have written a view to send my form, but I had to level users, so I wrote two mixins, but now my author user can't send an article. View: from .mixins import FieldsMixin, FromValidMixin class ArticleCreate(LoginRequiredMixin, FromValidMixin , FieldsMixin , Crea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: .Net MAUI Debugging on Android Device: The system cannot find the file specified When I want to debug my newly created .Net MAUI Blazor application on my Android Emulator I get this error Error(Translation: The system cannot find the file specified.) The device is running. I have changed the storage location of the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561706", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I clear a blur photo or raise its resolution so I can see the blur number clerarer I have a low quality phot almost pixels and I want you clear some number so I can read them Is there a way? I tried android apps and got nowhere
{ "language": "en", "url": "https://stackoverflow.com/questions/75561707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Auto automated testing Hi does anyone know if there is any tool/framework that can support automated testing over AndroidAuto/Car play? meaning I need to test the behavior of my mobile app on a head unit (device or emulator) I was looking at this tool: https://www.nextgen-technology.com/Content/download/Next...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to sum value of specific key with the same ID inside array in PHP I have an array like this: Array ( [3] => Array ( [0] => Array ( [revenue_generated] => 4.5 [month_no] => 1 [client_id] => 428 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Istio DestinationRule consistentHash for sticky session not working We have a service that runs on 3 to 5 pods that connect to a database. Every time the user enters the domain, and once logged in, shortly, we are forced to reload and go back to the login screen. It does not happen with 1 pod. Without multiple pods,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using an expression in the body of $round in a Mongodb aggregate using Studio 3T I would like to cut out the numbers after the decimal point in a MongoDB aggregate using Studio 3T. This expression is what is currently used. { "_id": "$vroom", "aveTime": { "$avg": "$time" } } I thought of doing t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: update flask with new json data I'm new to flask and my goal is to have a ui web page that edits json data and the other page "/json" is supposed to update without me refreshing the page. I wonder if there is a simple solution to do this. This is my code so far. from flask import Flask, render_template app = Flask...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: JWT & PHP accent in payload I am using JWT in my PHP API When I enter values with accents (as username), I can't login.. But when I don't use accents in the user profile, it works fine.. Here is my jwt.php <?php function generate_jwt($headers, $payload, $secret = 'xxx') { // var_dump($payload); $headers_enco...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 'int' object has no attribute 'sort' in puthon 3 I am new to Python and I have this question appears error : here the program needs to get 2 inputs from the user, * *the type of input it's a single integer number. *second input will be a string. The user must enter one of these two letters,'a' for ascending order...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Load flexslider after load more post with ajax call I tried many methods, but it did not work out to download the flex slider in the modal window after clicking on the load more button. I understand I need to make a second request to call the script, but I don't understand how to do it, my knowledge is clearly not e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561730", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Matplotlib displaying RGB pixels weirdly I have a set of RGB pixels I gathered from an image, but when I try to save them and display them, they come out very weirdly, as 3 separate colors. It seems like it's not reading my array as a list of RGB values. I have an abbreviated version of my code, with a short list of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I display an error message bellow the password field using node js? I am simply trying to display an error message saying "Incorrect password" every time a user enters a wrong password. I am using HTML, CSS, Node.js and mysql as my database. I tried to do this by using res.render, but I do not know either if ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how do i fix "import dns ModuleNotFoundError: No module named 'dns'" on my macbook using vscode, i am new to programming import dns.resolver ModuleNotFoundError: No module named 'dns' my code wont run, until i fix this and dns python is already installed in the environment i use I have tried uninstalling an.pd inst...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to insert multiple rows in MS SQL from a second table I have a sql table called InputTable with the following elements: CaseID Note1 Note2 UpdatedBy UpdatedDate I need to copy the data from InputTable into a second table (called OutputTable) that has the following elements: CaseKey Note LastModi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Any way I can get around this issue using BeautifulSoup4? I have created a Python script using BeautifulSoup4 to check for different Companies' websites (main website, LinkedIn, and Facebook). import requests import bs4 import csv # Print starting message print("Starting script...") print("------") # Open input an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Having both .filter() on query_param and .all() functionality without adding another ViewSet and end-point I'm trying to avoid making another end-point to handle this query, but thinking there isn't a way around it. Wanted to run it by ya'll before doing so. Basically, I have Documents related to Customers and Produ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Create an issue on GitHub with log contents I am trying to make my yaml file create a GitHub issue when the unit testing fails. It does create an issue but I cannot append the log file into the issue body to clarify why it failed. Β Β Β Β Β Β #Β RunΒ theΒ PythonΒ APIΒ testingΒ scriptΒ andΒ checkΒ theΒ exitΒ status Β Β Β Β Β Β -Β name:Β R...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Peewee: How to Use an IN Operator with Tuples I'm wondering how I would build the following postgresql query using Python Peewee syntax: select * from tbl where (tbl.a, tbl.b) in ((val1_1, val1_2), (val2_1, val2_2) ... ) A: The main thing is to write Tuple(Tbl.a, Tbl.b).in_(...): class Reg(db.Model): key = Tex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to move paddle in 2d Breakout Game by touch I am making a 2d breakout game in Javascript which will work on laptop and mobile both but I want help in moving paddle in Breakout game by touch. let leftPressed = false; let rightPressed = false; // CONTROL THE PADDLE document.addEventListener("keydown", keyDownHand...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Make R Shiny app as a package fail to run I tried to make my R shiny app into a package. I created one package called rwdexpull following the package instructions from Hadley Wickham's book. The app and one function to call the shiny app were created in the structure as suggested in make R shiny as a package. . Shin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reducing effect of a tag that most of the items have This is more of a general data question. Suppose you had a few items each with an id and a list of tags item0 = { id: 0, tags: [t0,t1,t2] } item1 = { id: 1, tags: [t0,t2,t3,t4] } item2 = { id: 0, tags: [t0,t3,t4] } and you are trying to find related...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why can't I catch NullpointException from android camera framework We are using 3rd party sdk which internally use androidx.camera framework. Here is the stacktrace for it. Our implementation is App -> 3rd party SDK -> androidx.camera I don't think the SDK handles the exception, and we are seeing this crash report. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript error when mocking React functional component with jest fn I created a fake component inside my test to track if it’s getting called correctly, the test is running ok. But my Visual Studio Code keeps returning the following error for the code above: MockedComponent' cannot be used as a JSX component. Its ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Reference a different sheet in Excel based on the text in a cell I am trying to figure out how to make a drop down list in a cell in Excel that a formula in VBA will reference. For instance, this is my code: Worksheets("Input").Range("name").Select ActiveCell = Application.Xlookup(Worksheets("Input").Range("...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I change the fontsize of a scalebar in matplotlib? I know how to set the 'location', 'box_color', 'box_alpha' parameters, etc. in the scalebar argements, using matplotlib_scalebar.scalebar module that I imported. However, when I try to change the fontsize of the scalebar, I don't know how to use the 'font_pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Frontdoor WAF policy is blocking requests even though I have rule disabled I have a Microsoft.Network/FrontDoorWebApplicationFirewallPolicies@2019-10-01 policy for my web app. I pass in a token via the URL for some requests and sometimes this token has a double hyphen -- which means that Azure thinks this is a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django queryset show english translations This is my Django models.py: from django.db import models class Blog(models.Model): pub_date = models.DateTimeField('date published') def __str__(self): return self.pub_date class LanguagesCode(models.Model): code = models.CharField(max_length=5) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Define a typescript array of object with uniqueness inside I defined the following Columns type to type Columns<C extends string> = { key: C; header: string }[] const c: Columns<"foo" | "bar"> = [ { key: "foo", header: "foo header" }, { key: "bar", header: "bar header"} ] This works: I cannot put something tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AJAX post data not parsed correctly I'm having trouble posting data to my Razor Pages page handler using an AJAX post. var $container = $('.railcars'); var $rows = $container.children('.row'); var sources = []; //data = { storage = [], railcars = [] }; for (var i = 0; i < $rows.length; i++) { var $sourceType =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NGINX reverse proxy - https://my.org/SERVICE<-> http://192.168.0.x/ possible? Let's say **Service1 **is wordpress, nextcloud, some DMS or other nice stuff in a private network. Service1 is installed on NGINX at http://localip:1234**/** The url to access service1 has to be https://my.org/**service1** Nothing special ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I enable an input after selecting an option? How do I enable an input after selecting an option? I want to enable the input of "campoOne" after selecting an option of "campoZero". <div id="one"> <table> <tr> <td class="honeydew">Produt</td> <td class="honeydew"><select type="text" name="c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SUMIF with UNIQUE criteria for multiple columns, adding all values with same name I have a table with multiple rows and columns (hundreds), and to make it simple, it looks pretty much like this: Name/Date 01/22 02/22 03/22 04/22 05/22 Jack 10 4 7 1 10 Rose 6 4 2 3 3 Mary 2 6 7 2 9 Juan 9 8 1 5 10 Ros...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Simple Python 'Graphic Design?' Simple outlining ring for visual appeal I am making a very simple program in Python (a budget list where I take various inputs and make a list showing my monthly spending). Recently I've started polishing up the program because it's nearing completion, and wanted to try my hand at som...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Stemming texts separates words into letters I am trying to process my text using tokenization, stemming, normalization and stop-word/punctuation removal, etc. When I use snowball stemming technique, my text gets separated into letters with commas in between. def processed_tweets(text): punctuate_text= str.maketra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cut off axis while still displaying errorbar ggplot If I use xlim() with geom_errorbar(), and limit the upper axis to somewhere below the upper limit of the error bar, ggplot seems to default to not showing the bar at all (see image below). Is there another way for me to simply have the axis be restricted and allow ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dockerfile - How to fix update CA root certificate list error? Following this post to add the certificate and update the trust in my debian image, I applied the following to my dockerfile... COPY ca-cert.crt /usr/local/share/ca-certificates/ COPY ca-cert1.crt /usr/local/share/ca-certificates/ RUN chmod 644 /usr/loca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pandas rolling command erases column I'm running into an issues with the pandas .rolling() function and I'm not sure quite how to fix the issue. Here's the dataframe and code dictionary = {'TimeStamp': {0: '2023-02-23 08:01:50.701', 1: '2023-02-23 08:01:50.798', 2: '2023-02-23 08:01:50.798', 3: '2023-02-23 08:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pass Django template language variables to JavaScript files The question is partially related to this one here. In addition it should be noted that the notation used below is no safe. For more details see this blog post. I have a Django project that references multiple JS files. Initial the contents of those...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I customized the Registration Form in Laravel Breeze, but it does not allow me to Register a User Install Laravel 10.1.3 with PHP 8.2.3 on a Docker Desktop. To handle App authentication, install Breeze and modify the "register.blade.php and login.blade.php" views to customize the user registration and login forms. T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561790", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Activate CharactersValidationBehavior after a Button was clicked how is it possible to activate or re-evaluate the result of a CharactersValidationBehavior, which was set for an Entry, just after a Button was clicked? <Entry.Behaviors> <toolkit:CharactersValidationBehavior IsValid="{Binding InputValid}" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add variance to df.summary() pyspark? In Pyspark I have this dataframe, I need to work out the mean, max min, standard deviation, variance, 25th, 50th and 75th percentile. +----+-----------+------+----------+------------------+ |x| y |z |a | b | +----+-----------+------+-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: FutureWarning: 'BeautifulTable.__getitem__' has been deprecated in 'v1.0.0' and will be removed in 'v1.2.0'. Use 'BeautifulTable.{columns|rows}[key]' This is my first question on StackOverflow. I am very nervous. I am new to programming, and doing my best to learn and improve. I am currently working on a project usi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: S3 bucket playlist metadata fetch (metadata:{}) I'm developing a music player on Nextjs and it has a playlist. I'm pulling music from s3 bucket and using AWS SDK, I can pull music, url but not metadata.Apart from these, when I check the network tab from the console, I can see that these user defined metadata are in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why the Flutter (Dart) code below doesn't display a scroll bar? We can scroll the text up and down but no scroll bar is shown. My purpose in showing the scroll bar was to make the user aware that there is more text below. showDialog( context: context, builder: (BuildContext context) { return AlertDialog( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Robocopy and files starting with "." dot I'm starting to use robocopy for my daily backups from my computer to my NAS (Openmediavault, with a Samba sharing). The target is create a mirror of my Z:\ disk into the NAS. To make it possible I use this line into a batch file: robocopy "Z:\ " ^ "\\OMV\Backup\ " ^...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I Make a snap scrolling page in HTML with 2 halves in it? Hey I'm trying to make a snap scrolling page like on the Tesla website but I am running into some issues. For starters I can't get it to work with my current page here is the code I have. I'm trying to have both halves snap scroll to the next section....
{ "language": "en", "url": "https://stackoverflow.com/questions/75561801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calling a function with fewer parameters than it provides let z:(s:string)=>void = () => alert("HI"); z("HI") Link to TS Playground Could someone help me understand why the above code compiles ? I expected the compiler to complain about a type mismatch error in line 1, since I am assigning () => void and the specif...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Transform multi level header into long format data in excel to create a pivot table My data in excel spreadsheet contains multi level headers and it is becoming difficult with those headers to create a pivot table. Is there a simple way by which I can transform my original data in the excel in a possibly long format...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Im trying to make my target move after its been cloned? I cant find a way to move it after it gets cloned, and I dont know what to try now? heres the code public class Send : MonoBehaviour { Rigidbody rb; public GameObject Target; // Start is called before the first frame update void Start() { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561805", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: there is an text overflow in my css project I'm making a food & restaurant website with html & css only and my body is overflowing in responsive design. I tried several ways to detect which element is overflowing ex:- overflow-x:hidden & overflow-wrap:break-word. but i didn't reach anto anything can any one help me ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to integrate Fluent Validation into an ASP.Net Core MVC project? I'm trying to integrate Fluent Validation 11 into an ASP.Net Core MVC 7 project, but I'm having trouble getting it to work properly. I've installed the FluentValidation.AspNetCore package and added the necessary services in Program.cs file. ... var...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: "Get" is undefined in my dart code. Any solution to this? enter image description here Please 'Get' is undefined and i can't find the solution to this. I expect no error. I tried GetMaterialApp in my main.dart. but still doesn't work A: Add this package to your project: https://pub.dev/packages/get
{ "language": "en", "url": "https://stackoverflow.com/questions/75561810", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to Convert the Simple Integer Key of a Kafka Stream to a Complex Avro Type Key I have a streaming app topology which consumes from a simple topic with an Integer key and an AVRO body. I would like to manipulate the stream and write to a topic with a complex AVRO key. But I can't find the the "key" equivalent to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The bot does not join the voice channel The bot refuses to connect to the voice channel, while there is no error in the console or anywhere, it seems to me that it just hangs on voice_clients = await msg.author.voic.channel.connect() please help to solve this. import discord import os import asyncio import youtube_d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically change user roles/authentication state blazor server I am using blazor server. I have a structure where Each User can be part of Multiple organizations and they have a separate roles/claims set based on the organization. When they first login, the loading of roles based on the default organization works ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fluent Validation C# obsolete I have a problem with a fluent validation command line, currently the library marks the execution line as obsolete. services.AddMvc(options => options.Filters.Add<ValidationFilter>()).AddFluentValidation(options => options.RegisterValidatorsFromAssemblies(AppDomain.CurrentDomain.GetAsse...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Protected Route Not Working with Backend/Redux Hey so my new protected route for users trying to view certain details about their business is not working. The backend verifies if the user is a "member" and if true will let them continue. The backend is sending the correct payload and I can see that in the redu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how can we send a Voicemail for outbound calls in case of no-answer using TWILIO voice? I cannot find a way to send a no-answer outbound call to go straight to mailbox. I tried to use AMD to handle the flow of call but it didnot work for me. If a call is declined, I get a voicemail on an answering machine. If I let...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to make unity movement stop when animation is being played So I am making a 3rd person "sword weilding" character controller and now I am dealing with now being able to move when preforming an animation. I know it has somehting to do with the line if (GetComponent<Animator>().GetCurrentAnimatorStateInfo(0).Is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I pass a Java String[] array as arguments to a translation in Thymeleaf I'm trying to use the #{} from Thymeleaf to translate a string and some arguments passed from my Spring Boot controller. Currently I tried doing it like this: <td th:text="#{__${notification.title}__(__${#strings.arrayToString(notificatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: My Github deployments to IONIS are not updating on the published site I'm working on my first Bootstrap website for a client. They need a functioning contact form that emails them Name, Email, Service etc. I'm using Form Submit to send all contact info in the form. I committed my changes and pushed it all to Github,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: List details of a order someone's here knows why happened this? enter image description here I'm trying to list the details of a order this is the block html <div class="row"> <h1>Lista de Pedidos</h1> </div> <table class="table table-striped table-bordered" id="myTable"> <thead class="ta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561832", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to include tests from root project directory in pip package, such that other pip packages can call it? Context After creating a project directory with the following folder structure: src/snnalgorithms__main__.py tests/some_test.py tests/some_dir/other_test.py and publishing it as a pip package, I receive the er...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to configure vs code prettier extension I have configured the HTML prettier.printWidth": 200, but its still breaking the buttons like below <div classNameName="col-lg-12 text-center my-3 btn-group-div" style={{ textAlign: "center" }}> <div className="btn-group mx-auto" role="group"> <button ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to Publish an uwp application with sqlite database in it? when publishing the application and trying to access the database, the app crashes and nothing is saved. when i run in debug the changes (in debug run) are saved. here is a different project i built to see if it works and it doesn't: app.config <?xml vers...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Join arrays in numba I am having trouble neatly joining numpy arrays that are in a list or from a generator in numba jited functions. The simplest example is as follows: import numpy as np from numba import njit @njit def my_program(): array_1 = np.array([0,3]) array_2 = np.array([0,4,2,3]) array_3 = np...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Efficiently joining selected columns from multiple tables in Athena based on a unique item_id key Given three tables as follows, Table item_attributes: item_id store color brand 123 ABC red kings 456 ABC blue kings 111 XYZ green queens Table item_cost: item_id store currency price 123 ABC usd...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hosting asp.net core Web API in Windows Service I completed ASP.NET Core Web API application running as console. Now I need to add ability to run it as Windows Service. I was able to successfully run generic ASP.NET Core application (not Web API) as a Windows Service. But no luck with luck with Web API. Target platf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Alternative to assigning multiple Tables to Users in SQL? I'm making an inventory system for a hospital that will contain data about biological samples. I'm using SQLite as a database. This system should ideally be used for all sorts of studies. Since each study and each user will have different fields, and differen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: VM10:182 crbug/1173575, non-JS module files deprecated VM10:182 crbug/1173575, non-JS module files deprecated. i try to run but gave error : VM10:182 crbug/1173575, non-JS module files deprecated.
{ "language": "en", "url": "https://stackoverflow.com/questions/75561852", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Returns None when I execute the play command twice quickly I'm currently making a discord.py music bot. It works great, however i got a annoying bug >:( ! When I execute the play command twice quickly (which query youtube videos with yt_dlp), the first command crashes cause it returns None for some reasons but the s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GA recorded SKU ID as transaction ID and show 0 quantity I'm experiencing an unusual occurrence in the GA Conversion Report. Specifically, I am following the instructions provided in the Google Developer Guide for Data Layer Set Up (https://developers.google.com/analytics/devguides/collection/ua/gtm/enhanced-ecommer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Swift Tableview Cell button isn't working I'm having issues getting buttons to work in a tableview cell in Swift. I've looked around at several solutions here and other places around, but nothing has seemed to work. I'm probably missing a simple thing to get it to work properly. Here's the cell: import UIKit class...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Persist user options, React I am using JWT in a React-Django app to handle user authentication. I can register, login, and logout successfully. However, user data does not persist on the frontend. All of the tutorials and articles I've seen online suggest storing user data in local storage to persist the data, but I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get async function return in nodejs when the data is returned via method function (jest test) I have an application and I am trying to write jest test for function in it. Function looks like: function standup(userId, client, triggerId) { //some calcs db_query(key, user_id) .then(db_result => { retur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: BeautifulSoup parsing to find specific links I am attempting to extract a number of specific links that exist within a drop down menu How would I go about using soup.find_all to extract only the 'a'/href links in this specific location? I have only managed to extract all the 'a' links from the html using the code b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why I get no gains during parallelizing K-means? I am learning parallel programming in Haskell using Simon Marlow's book. I am on Chapter 3. I don't understand why launching this code on 6 core machine with -N6 flag changes nothing about performance. I got similar problem and then just realized that adding more data...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Swift [weak self] in Task and do/catch block Task { /*[weak self] in*/ do { let cacheSize = try await cacheService.calculateImageCacheSize() self.doTheJob(cacheSize) } catch { self.handleError(error) } } Taking into account this article where should I usually write [weak self] an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: MySQL - Split strings by "|" delimiter into new rows I am trying to prep some data before using it in Tableau. There's a field that I need to clean-up and split out into unique line items. Using the Custom SQL options I'd like to split the string up with each substring duplicating all other values into a new row. He...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to share common code between .Net6 and .Net Framework Nuget Packages I develop mostly for .Net Framework 4.6.2. Lately we have decided to start developing for .Net 6. I have my own Nuget Server. I would like to develop a suite of Utilities and publish them to our Nuget Server. These Utilities should b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: deleting a string from screen in assembly 8086 emulator im writing a game in asembly 8086 for a school project. i am using graphics mode since its a game. in the game i want to print to the screen a string and then erase it from the screen. assuming i know the strings position is there a better way of doing this rat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: tdmsread function not working on m1 mac - unrecognized function mexTDMS The function tdmsread doesn't work for me on my M1 mac. I'm using 2022b. The function requires either the DAQ toolbox or the communications toolbox. The DAQ toolbox apparently doesn't work on M1 macs (won't install, indicates not supported). I i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561866", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: EDGE network/Single host setup /Manual installaltion.UFS registration fails /euare-accountcreate error: No iam endpoint to connect to was given UFS registration fails [root@localhost ~]# euserv-register-service -t user-api -h user-api-1 euserv-register-service: error: No bootstrap endpoint to connect to was given. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Boot serving static css with content type application/json Updated from Spring Boot 2.4.5 to 2.7.7. My login page references bootstrap CSS as follows: <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}" type="text/css" /> With an empty browser cache and no cookies, this is served to me as application/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Configure Users and Roles for Embedded Tomcat with Spring Boot for integration tests I am using Spring security JeeConfigurer for my Spring Boot Web application. I would like to perform some @SpringBootTest integration tests against an embedded tomcat, and I need to configure the embedded tomcat authentication. I wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Running kubernetes job as part of deployment in istio sevice mesh cannot reach service errors with http status 503 I am deploying a keycloak helm chart to kubernetes. I have also installed istio helm charts and labeled my namespace for istio-injection. Most pods deploy with a sidecar as per istio's documentation. Ho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I made edits to /etc/sysconfig/network-scripts/ifcfg-eth3 file. My goal was to assign a static IP address I have made the following edits to /etc/sysconfig/network-scripts/ifcfg-eth3 file My goal was to assign a static IP address that will not change what am I doing wrong? BOOTPROTO I changed from DHCP to static and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can i add reactions to messages with discord py? Im trying to add a reaction to a message the bot has previously sent, i have this code so far: @client.command() @commands.is_owner() async def reactionmessage(ctx): msg = await ctx.send("test") emoji = client.get_emoji(1078793534909452389) # <-- idk why b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Entity Framework self referenced values returns null I have the following model: public class User { public int Id { get; set; } public int? SupervisorId { get; set; } [ForeignKey(nameof(SupervisorId))] public User? Supervisor { get; set; } } It seems to work fine, I can, in DbBeaver, set the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561879", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create a nested object through a POST request (RoR) I am very very new to Ruby on Rails, so sorry, if something is obviosly wrong or stupid :( But as a part of my university project I am supposed to create an app that uses RoR API. Everything was quite fine till this day. I have a model Game that has many nested Pla...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: the difference between two "for loops" to change a list of strings to a list of integers in python I have a list of string as below and want to convert it to a list of integers. heights = input("Input heights : ").split() I searched and found the solution for my problem, but I still don't know why the code I wrote ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot access a scoped thread local variable without calling `set` first I'm new to Rust and puzzled by the error caused by the following code: use std::{io::Result, rc::Rc}; use clap::Parser; use futures_lite::{AsyncReadExt, AsyncWriteExt, StreamExt}; use glommio::{ net::{TcpListener, TcpStream}, prelude::*...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561888", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to draw a filled circle like a point on the mouse x,y coordinated in pictureBox mouse down event.? What should I do in the AddPoint method and what to do in the pictureBox2 paint event? I want to add the point on the mouse cursor position. private void pictureBox2_MouseDown(object sender, MouseEventArgs e) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Exchange 365 does relay emails from my postfix even if it shouldn't I tried to configure an linux machine as mail relay to forward all emails send by my servers to the exchange 365 instance i am using via smtp. I have experimented with Connectors before but I was not satisfied with the options. IP matching seems lik...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Symfony Mercure "unable to parse JWT: signature is invalid" or "Failed to send an update" When I start symfony mercure I get 401 response and message that unable to parse JWT: signature is invalid. Or you can have the following error after sort out this one: mercure use '[""]' as value to allow publishing on all top...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561894", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to convert HMENU to TMenu in Delphi? We have very old code that uses HMENU for a menu system. The menu is loaded from a resource file using the Win32 LoadMenu() function. Is it possible to easily convert an HMENU to a TMenu?
{ "language": "en", "url": "https://stackoverflow.com/questions/75561895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Setting Reminders and Expirations for envelope (embedded signing) We have integrated Docusign in our app. I am using docusign sdk to set reminders to bulk envelopes. The recipients do not have docusign accounts. They are basically following an embedded signing flow (meaning they don't receive emails to sign document...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I expand row width to make the input fields in one row? how can I make the input fields in one single row on a page like this? These fields are inside a form container. A: Try something like this, look at full page <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561898", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Viewpager2 zoom into content/Image Basically, Im currently working on an comic reader app. So far I have created an ViewPager2 and set it up to scroll. The main problem is that most images are very long and because of that you can see the whole image in very small because it tries to fit in the screen, is there a wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75561900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }